/* Site-wide premium UI: equal cards, image fill, testimonials */
:root {
  --bcp-ink: #0b2428;
  --bcp-teal: #0f6f7a;
  --bcp-paper: #faf9f7;
  --bcp-line: rgba(11, 36, 40, 0.08);
  --bcp-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Desktop dropdown menu fix ---- */
.main-header,
.main-header .main-box,
.main-header .outer-container,
.main-header .nav-outer,
.main-menu,
.main-menu .navbar-collapse,
.main-menu .navigation,
.main-menu .navigation > li {
  overflow: visible !important;
}

.main-menu .navigation > li {
  position: relative;
}

.main-menu .navigation > li > ul {
  display: none !important;
  position: absolute !important;
  left: 0;
  top: 100% !important;
  width: 260px;
  margin: 0 !important;
  padding: 8px 0 !important;
  z-index: 100000 !important;
  background: #fff !important;
  border-top: 3px solid #15808d;
  box-shadow: 0 10px 28px rgba(11, 36, 40, 0.12);
  list-style: none;
}

@media (min-width: 992px) {
  .main-menu .navigation > li.dropdown:hover > ul,
  .main-menu .navigation > li.dropdown:focus-within > ul {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto;
  }

  .main-menu .navbar-collapse > ul li.dropdown .dropdown-btn {
    display: none !important;
  }
}

.main-menu .navigation > li > ul > li {
  display: block !important;
  width: 100% !important;
  float: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin: 0 !important;
  padding: 0 !important;
}

.main-menu .navigation > li > ul > li:last-child {
  border-bottom: none;
}

.main-menu .navigation > li > ul > li > a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px !important;
  margin: 0 !important;
  color: #212529 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  background: transparent !important;
}

.main-menu .navigation > li > ul > li > a:hover {
  background: #f7f7f7 !important;
  color: #15808d !important;
}

.main-menu .navigation > li > ul > li > a img,
.main-menu ul li img {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  object-fit: contain !important;
  flex: 0 0 22px;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
  vertical-align: middle;
}

/* CSS hamburger (no Font Awesome needed) */
.main-header .nav-toggler button .icon.fa-bars,
.main-header .nav-toggler button .fa-bars {
  display: block;
  width: 22px;
  height: 2px;
  margin: 10px auto 0;
  background: #15808d;
  position: relative;
  font-size: 0;
  color: transparent;
}
.main-header .nav-toggler button .fa-bars::before,
.main-header .nav-toggler button .fa-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #15808d;
}
.main-header .nav-toggler button .fa-bars::before { top: -7px; }
.main-header .nav-toggler button .fa-bars::after { top: 7px; }
.main-header .header-search-icon .fa-search {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #15808d;
  border-radius: 50%;
  position: relative;
  font-size: 0;
  color: transparent;
}
.main-header .header-search-icon .fa-search::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  background: #15808d;
  right: -5px;
  bottom: -2px;
  transform: rotate(45deg);
}
.hidden-bar-closer .fa-close,
.hidden-bar-closer .fa-times {
  font-size: 0;
  color: transparent;
}
.hidden-bar-closer .fa-close::before,
.hidden-bar-closer .fa-times::before {
  content: "×";
  font-size: 28px;
  color: #fff;
  line-height: 1;
}

/* Footer social SVG icons */
.social ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #fff;
  text-decoration: none;
}

.social ul li .social-icon {
  display: block;
  width: 18px;
  height: 18px;
  color: #fff;
  fill: currentColor;
  transition: transform 0.25s var(--bcp-ease), opacity 0.25s ease;
}

.social ul li a:hover .social-icon {
  transform: scale(1.12);
  opacity: 0.9;
}

/* ---- Product cards (home + inner) ---- */
.product {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  padding: 0 !important;
  margin: 0 0 24px !important;
  min-height: 0 !important;
  height: 100%;
  overflow: hidden;
  border-radius: 12px !important;
  background: #fff;
  border: 1px solid var(--bcp-line) !important;
  box-shadow: 0 4px 18px rgba(11, 36, 40, 0.06) !important;
  transition: transform 0.3s var(--bcp-ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.product:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 111, 122, 0.25) !important;
  box-shadow: 0 12px 28px rgba(11, 36, 40, 0.1) !important;
}

.product > a:first-of-type {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  line-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #f0f2f3;
}

.product img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  transition: transform 0.4s var(--bcp-ease);
}

.product:hover img {
  transform: scale(1.04);
}

.product h3 {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 14px 14px 8px !important;
  font-size: 0.98rem !important;
  font-weight: 700;
  line-height: 1.3 !important;
  color: var(--bcp-ink);
  text-align: center;
}

a#discover {
  display: flex !important;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: calc(100% - 28px);
  margin: 4px 14px 14px !important;
  border-radius: 6px !important;
  background: var(--bcp-teal) !important;
  border: none !important;
  padding: 10px 14px !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff !important;
}

a#discover:hover {
  background: var(--bcp-ink) !important;
  color: #fff !important;
}

#boxstyle .col-lg-3,
#boxstyle .col-md-6,
#cbd-products .col-lg-3,
#cbd-products .col-md-6 {
  display: flex;
  margin-bottom: 8px;
}

/* ---- Feature / offer / solution equal boxes ---- */
.single-feature,
.single-offer-item,
.artwork-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px !important;
  margin: 0 0 24px !important;
  border-radius: 12px;
  box-sizing: border-box;
}

.solustion-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 24px !important;
  border-radius: 12px;
  box-sizing: border-box;
  background: #fff !important;
  border: 1px solid var(--bcp-line);
  box-shadow: 0 4px 16px rgba(11, 36, 40, 0.05);
  transition: transform 0.3s var(--bcp-ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.solustion-box:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 111, 122, 0.3);
  box-shadow: 0 12px 28px rgba(11, 36, 40, 0.08);
}

.solustion-icon {
  width: 56px;
  height: 56px;
  margin: 0 0 16px;
  padding: 10px;
  border-radius: 10px;
  background: #e8f4f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solustion-box img,
.solustion-icon img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  object-fit: contain !important;
  display: block;
  margin: 0 !important;
  filter: none;
}

.solustion-box h4 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  font-size: 1.05rem !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: var(--bcp-ink) !important;
}

.solustion-box p {
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 auto;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  color: rgba(11, 36, 40, 0.68) !important;
}

#solution {
  border-top: none !important;
  background: #f7f8f8;
  padding: 72px 0 !important;
}

#solution .solution-heading {
  margin-bottom: 36px;
}

#solution .solution-heading h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--bcp-ink);
  margin: 0 0 10px;
}

#solution .solution-heading h3 span {
  color: var(--bcp-teal);
}

#solution .solution-heading p {
  margin: 0;
  color: rgba(11, 36, 40, 0.65);
  font-size: 1.05rem;
}

#solution .solution-grid > [class*="col-"] {
  display: flex;
  margin-bottom: 20px;
}

.single-offer-item {
  border: 1px solid var(--bcp-line) !important;
  background: #fff;
  box-shadow: 0 6px 20px rgba(11, 36, 40, 0.05);
  align-items: center;
  text-align: center;
}

.offer-icon {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px !important;
}

.offer-icon img {
  width: 88px !important;
  height: 88px !important;
  object-fit: contain;
  margin: 0 !important;
}

.offer-details {
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  color: inherit !important;
}

.offer-details h3 {
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: var(--bcp-ink) !important;
}

.offer-details p {
  margin: 0 !important;
  flex: 1 1 auto;
  color: rgba(11, 36, 40, 0.68) !important;
}

#offer-section .col-md-4,
#solution .col-md-3,
#buycustompackaging .col-lg-3,
#buycustompackaging .col-md-6 {
  display: flex;
}

/* ---- Testimonials equal height ---- */
#our_clints.owl-carousel .owl-stage {
  display: flex !important;
  align-items: stretch;
}

#our_clints.owl-carousel .owl-item {
  display: flex;
  float: none;
  height: auto !important;
}

#our_clints .item {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 280px;
  padding: 24px !important;
  margin: 0 6px !important;
  border-radius: 12px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

#our_clints .quote {
  width: 56px !important;
  height: 56px !important;
  padding: 0 !important;
  margin: 0 0 14px !important;
  flex-shrink: 0;
}

#our_clints .quote img {
  width: 56px !important;
  height: 56px !important;
  max-width: none !important;
  object-fit: cover;
  border-radius: 50%;
}

#our_clints blockquote {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0 !important;
  margin: 0 !important;
  height: 100%;
}

#our_clints h4 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: #fff !important;
}

#our_clints .rating-stars {
  margin-bottom: 10px;
}

#our_clints p {
  flex: 1 1 auto;
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.55;
}

section#clients {
  background: var(--bcp-ink);
  margin: 0;
  padding: 72px 0;
}

section#clients .our_clints h2 {
  color: #fff;
}

section#clients .clients_txt p {
  color: rgba(255, 255, 255, 0.72);
}

/* ---- CBD / category product grids ---- */
.cbd-product {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 36, 40, 0.07);
  padding: 0 !important;
  margin-bottom: 24px;
}

.cbd-product img,
.cbd-product a > img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  display: block;
  margin: 0 !important;
}

.cbd-product h3 {
  padding: 16px 16px 8px;
  margin: 0;
  flex: 1;
}

.cbd-product h5 {
  padding: 0 16px 16px;
  margin: 0;
}

/* ---- Inner page cat hero polish ---- */
.cat-slide {
  border-radius: 12px;
}

.cat-slide h1 {
  letter-spacing: -0.02em;
}

@media (max-width: 991px) {
  .product img,
  .cbd-product img,
  .cbd-product a > img {
    height: 200px !important;
  }

  #our_clints .item {
    min-height: 240px;
  }
}
