/* ==========================================================================
   OXYVIA Life Science — Luxury Gold & Ivory design system
   Loaded last (see includes/head.php) so it overrides the legacy theme CSS.
   ========================================================================== */

:root {
  --oxl-ivory: #FFF9EF;
  --oxl-cream: #F6EBDD;
  --oxl-gold: #B77A2C;
  --oxl-champagne: #D9B46C;
  --oxl-brown: #4A2B17;
  --oxl-text: #6A5645;
  --oxl-white: #FFFFFF;
  --oxl-forest: #142719;

  --oxl-gold-deep: #8C571B;                        /* text-safe gold (AA on ivory/white) */
  --oxl-line: rgba(217, 180, 108, .45);            /* champagne hairline */
  --oxl-btn: linear-gradient(180deg, #B07228 0%, #8C571B 100%);
  --oxl-btn-hover: linear-gradient(180deg, #9E6522 0%, #7A4A15 100%);
  --oxl-shadow: 0 2px 10px rgba(74, 43, 23, .05);
  --oxl-shadow-hover: 0 14px 30px rgba(74, 43, 23, .12);
  --oxl-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --oxl-script: 'Great Vibes', 'Brush Script MT', cursive;
  --oxl-sans: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --oxl-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
body {
  background: var(--oxl-ivory);
  color: var(--oxl-text);
  font-family: var(--oxl-sans);
}
#wrapper { background: transparent; overflow-x: hidden; }
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--oxl-gold-deep);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.oxl-btn,
a.oxl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 0;
  border-radius: 30px;
  background: var(--oxl-btn);
  color: var(--oxl-white);
  font: 600 12.5px/1.2 var(--oxl-sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(140, 87, 27, .22);
  cursor: pointer;
  transition: transform .25s var(--oxl-ease), box-shadow .25s var(--oxl-ease), background .25s;
}
.oxl-btn:hover,
a.oxl-btn:hover {
  background: var(--oxl-btn-hover);
  color: var(--oxl-white);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(140, 87, 27, .28);
  text-decoration: none;
}
.oxl-btn:focus { color: var(--oxl-white); text-decoration: none; }
.oxl-btn .fa { font-size: 14px; }

/* ---------- Section headings (shared .product-custome) ---------- */
h3.product-custome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 34px;
  color: var(--oxl-brown);
  font: 600 15px/1.35 var(--oxl-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
}
h3.product-custome:before,
h3.product-custome:after {
  content: '';
  position: static;
  flex: 0 1 140px;
  width: auto;
  height: 8px;
  margin: 0;
  border: 0;
  background:
    radial-gradient(circle, var(--oxl-gold) 0 2.5px, transparent 3px) right center / 8px 8px no-repeat,
    linear-gradient(90deg, transparent, var(--oxl-champagne)) left center / calc(100% - 10px) 1px no-repeat;
}
h3.product-custome:after {
  background:
    radial-gradient(circle, var(--oxl-gold) 0 2.5px, transparent 3px) left center / 8px 8px no-repeat,
    linear-gradient(90deg, var(--oxl-champagne), transparent) right center / calc(100% - 10px) 1px no-repeat;
}
h3.product-custome span {
  background: transparent !important;
  padding: 0;
  z-index: auto;
}

/* ==========================================================================
   Header & navigation
   ========================================================================== */
#header.type_6 { background: var(--oxl-ivory); }

#header.type_6 .header-top {
  background: linear-gradient(90deg, #87531A 0%, #A56B27 50%, #87531A 100%);
  border-bottom: 0;
}
#header.type_6 .header-top p,
#header.type_6 .header-top-right ul.top-link > li > a {
  color: #FFF4E2 !important;
  font-size: 12px;
  letter-spacing: .03em;
}
#header.type_6 .header-top-right ul.top-link > li > a:hover { color: #fff !important; text-decoration: underline; }

#header.type_6 .header-center {
  background: var(--oxl-ivory);
  border-bottom: 1px solid var(--oxl-line);
  box-shadow: 0 6px 18px rgba(74, 43, 23, .04);
}
#header .navbar-logo a img { max-height: 70px; width: auto; }

#header.type_6 .horizontal ul.megamenu > li > a {
  color: var(--oxl-brown);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 24px;
  padding: 6px 8px;
  margin: 0;
  border-radius: 4px;
  transition: background .2s, color .2s;
}
#header.type_6 .horizontal ul.megamenu > li > a strong { font-weight: 500; }
#header.type_6 .horizontal ul.megamenu > li:hover > a,
#header.type_6 .horizontal ul.megamenu > li > a:focus-visible {
  background: var(--oxl-cream);
  color: var(--oxl-gold-deep);
}
#header.type_6 .horizontal ul.megamenu > li.active > a {
  background: linear-gradient(180deg, #F8EEDF, #EFDDC2);
  color: var(--oxl-brown);
  box-shadow: inset 0 0 0 1px var(--oxl-line);
}
#header.type_6 .horizontal ul.megamenu > li .sub-menu .content {
  background: var(--oxl-white);
  border-top: 2px solid var(--oxl-gold);
  box-shadow: 0 14px 30px rgba(74, 43, 23, .10);
}
#header.type_6 .horizontal ul.megamenu > li .sub-menu a { color: var(--oxl-text); }
#header.type_6 .horizontal ul.megamenu > li .sub-menu a:hover { color: var(--oxl-gold-deep); }

#header .shopcart svg { fill: var(--oxl-brown); }
#header .mobile-top-bar svg { fill: var(--oxl-brown); }
#oxi-cart-badge { background: var(--oxl-gold-deep) !important; }

/* Mobile/tablet bar that carries the vertical menu toggle */
#header.type_6 .header-bottom { background: var(--oxl-ivory); }
@media (max-width: 1199px) {
  #header.type_6 .header-bottom {
    background: linear-gradient(90deg, #87531A, #A56B27 50%, #87531A);
  }
  #header .so-vertical-menu .megamenu > li > a { color: var(--oxl-brown); }
}

/* ==========================================================================
   Hero slider
   ========================================================================== */
.so-spotlight1 { background: var(--oxl-ivory); }
.so-spotlight1 .yt-content-slide img { width: 100%; height: auto; }
.so-spotlight1 .owl2-nav .owl2-prev,
.so-spotlight1 .owl2-nav .owl2-next {
  background: rgba(255, 249, 239, .9) !important;
  color: var(--oxl-gold-deep) !important;
  border: 1px solid var(--oxl-line) !important;
  border-radius: 50% !important;
}

/* ==========================================================================
   Trust strip
   ========================================================================== */
.oxl-trust { background: var(--oxl-ivory); padding: 26px 0 6px; }
.oxl-trust__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.oxl-trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--oxl-white);
  border: 1px solid var(--oxl-line);
  border-radius: 10px;
  color: var(--oxl-brown);
  font: 600 11.5px/1.35 var(--oxl-sans);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.oxl-trust__icon {
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--oxl-champagne);
  background: var(--oxl-ivory);
  color: var(--oxl-gold);
  font-size: 17px;
}

/* ==========================================================================
   Wellness benefit circles (.brand-block)
   ========================================================================== */
.brand-block {
  background: linear-gradient(180deg, var(--oxl-ivory) 0%, var(--oxl-cream) 100%);
  padding: 44px 0 52px;
}
.brand-block .product-custome { margin-bottom: 30px; }
.brand-main-block { margin: 0; padding: 10px 4px; }
.brand-main-block a { display: block; text-decoration: none; }
.brand-main-block .img-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  padding: 0;
  border: 1px solid var(--oxl-champagne);
  border-radius: 50%;
  background: var(--oxl-white);
  box-shadow: 0 0 0 7px rgba(255, 249, 239, .95), 0 0 0 8px rgba(217, 180, 108, .35);
  transition: transform .3s var(--oxl-ease), box-shadow .3s;
}
.brand-main-block a img { width: 56px; margin: 0 auto; }
.brand-main-block a h3 {
  margin: 18px 0 0;
  color: var(--oxl-brown);
  font: 600 14px/1.3 var(--oxl-sans);
  letter-spacing: .03em;
}
.brand-main-block a:hover .img-inner,
.brand-main-block a:focus-visible .img-inner {
  transform: translateY(-4px);
  box-shadow: 0 0 0 7px rgba(255, 249, 239, .95), 0 0 0 8px var(--oxl-gold), 0 12px 24px rgba(74, 43, 23, .10);
}

/* Shared slick arrows */
.brand-block .slick-prev,
.brand-block .slick-next,
.oxl-products .slick-prev,
.oxl-products .slick-next {
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--oxl-white);
  border: 1px solid var(--oxl-line);
  box-shadow: var(--oxl-shadow);
  transition: background .2s;
}
.brand-block .slick-prev,
.oxl-products .slick-prev { left: -6px; }
.brand-block .slick-next,
.oxl-products .slick-next { right: -6px; }
.brand-block .slick-prev:hover,
.brand-block .slick-next:hover,
.oxl-products .slick-prev:hover,
.oxl-products .slick-next:hover,
.brand-block .slick-prev:focus,
.brand-block .slick-next:focus,
.oxl-products .slick-prev:focus,
.oxl-products .slick-next:focus { background: var(--oxl-cream); }
.brand-block .slick-prev:before,
.brand-block .slick-next:before,
.oxl-products .slick-prev:before,
.oxl-products .slick-next:before {
  font-family: 'FontAwesome';
  font-size: 16px;
  color: var(--oxl-gold-deep);
  opacity: 1;
}
.brand-block .slick-prev:before,
.oxl-products .slick-prev:before { content: '\f104'; }
.brand-block .slick-next:before,
.oxl-products .slick-next:before { content: '\f105'; }

/* ==========================================================================
   Split sections (quality + story)
   ========================================================================== */
.oxl-split { position: relative; overflow: hidden; padding: 76px 0; }
.oxl-split__row { display: flex; flex-wrap: wrap; align-items: center; }
.oxl-split h2 {
  margin: 0 0 18px;
  color: var(--oxl-brown);
  font: 700 36px/1.25 var(--oxl-serif);
}
.oxl-split p {
  margin: 0 0 14px;
  color: var(--oxl-text);
  font-size: 15px;
  line-height: 1.8;
}
.oxl-divider {
  display: block;
  width: 84px;
  height: 2px;
  margin: 0 0 22px;
  background: linear-gradient(90deg, var(--oxl-gold), var(--oxl-champagne), transparent);
}

/* Quality */
.oxl-quality {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(217, 180, 108, .22), transparent 55%),
    linear-gradient(120deg, var(--oxl-ivory) 0%, var(--oxl-cream) 100%);
  border-top: 1px solid var(--oxl-line);
  border-bottom: 1px solid var(--oxl-line);
}
.oxl-quality__media {
  position: relative;
  margin: 10px 0 10px 24px;
}
.oxl-quality__media:before {
  content: '';
  position: absolute;
  inset: -14px -14px -14px -14px;
  border: 1.5px solid var(--oxl-champagne);
  border-radius: 260px 24px 24px 260px;
  pointer-events: none;
}
.oxl-quality__media img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: 55% 40%;
  border-radius: 250px 18px 18px 250px;
}
.oxl-quality__media:after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 250px 18px 18px 250px;
  background: linear-gradient(120deg, rgba(255, 249, 239, 0) 40%, rgba(255, 249, 239, .35));
  pointer-events: none;
}
.oxl-quality__script { z-index: 1; }
.oxl-quality__script {
  position: absolute;
  right: 28px;
  top: 26px;
  color: var(--oxl-brown);
  font: 400 46px/1.05 var(--oxl-script);
  text-align: right;
  text-shadow: 0 0 14px rgba(255, 249, 239, .9);
  pointer-events: none;
}

/* Story */
.oxl-story {
  background:
    radial-gradient(circle at 85% 50%, rgba(217, 180, 108, .25), transparent 45%),
    var(--oxl-ivory);
}
.oxl-story h2 .fa { color: var(--oxl-gold); font-size: 24px; margin-left: 8px; vertical-align: middle; }
.oxl-story .oxl-btn { margin-top: 10px; }
.oxl-story__frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  margin: 40px auto 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #FFFFFF 0%, #F6E6CB 65%, #EBD3AA 100%);
  box-shadow: 0 0 0 10px rgba(255, 249, 239, .9), 0 0 0 11.5px var(--oxl-champagne), 0 30px 60px rgba(74, 43, 23, .12);
}
.oxl-story__frame img {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 118%;
  width: auto;
  max-width: none;
  transform: translateX(-50%);
  border-radius: 0 0 50% 50% / 0 0 30% 30%;
}

/* ==========================================================================
   Product cards
   ========================================================================== */
.oxl-products { padding: 54px 0 34px; background: var(--oxl-ivory); }
.oxl-products--alt { background: linear-gradient(180deg, var(--oxl-ivory), var(--oxl-cream)); }
.oxl-products .slick-track { display: flex; }
.oxl-products .slick-slide { height: auto; padding: 6px 10px 18px; }
.oxl-products .slick-slide > div { height: 100%; }
.oxl-products .oxl-slide { height: 100%; }

.oxl-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 16px 20px;
  background: var(--oxl-white);
  border: 1px solid var(--oxl-line);
  border-radius: 10px;
  box-shadow: var(--oxl-shadow);
  text-align: center;
  transition: transform .3s var(--oxl-ease), box-shadow .3s var(--oxl-ease), border-color .3s;
}
.oxl-card:hover {
  transform: translateY(-4px);
  border-color: var(--oxl-champagne);
  box-shadow: var(--oxl-shadow-hover);
}
.oxl-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 8px;
  background: radial-gradient(circle at 50% 62%, var(--oxl-ivory) 0%, var(--oxl-white) 70%);
}
.oxl-card__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .45s var(--oxl-ease);
}
.oxl-card:hover .oxl-card__media img { transform: scale(1.04); }
.oxl-card__title {
  min-height: 2.6em;
  margin: 0 0 6px;
  font: 600 13px/1.3 var(--oxl-sans);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.oxl-card__title a { color: var(--oxl-brown); text-decoration: none; }
.oxl-card__title a:hover { color: var(--oxl-gold-deep); }
.oxl-card__code { margin: 0 0 4px; color: var(--oxl-text); font-size: 12.5px; }
.oxl-card__price { margin: 0 0 14px; color: var(--oxl-text); font-size: 13px; }
.oxl-card__price .price-new { color: #A3301C; font-size: 18px; font-weight: 700; margin: 0 2px; }
.oxl-card__price .price-old { color: #9A8B7E; font-size: 13px; text-decoration: line-through; }
.oxl-card .oxl-btn { margin-top: auto; align-self: center; }
.oxl-empty { padding: 20px; color: var(--oxl-text); text-align: center; }

/* ==========================================================================
   Ingredients
   ========================================================================== */
.oxl-ingredients {
  padding: 56px 0 60px;
  background: var(--oxl-white);
  border-top: 1px solid var(--oxl-line);
}
.oxl-ingredients__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.oxl-ingredient { margin: 0; text-align: center; }
.oxl-ingredient img {
  width: 100%;
  max-width: 132px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--oxl-white);
  box-shadow: 0 0 0 1px var(--oxl-champagne), 0 10px 22px rgba(74, 43, 23, .10);
  transition: transform .35s var(--oxl-ease);
}
.oxl-ingredient:hover img { transform: scale(1.06); }
.oxl-ingredient figcaption {
  margin-top: 14px;
  color: var(--oxl-brown);
  font: 600 13px/1.3 var(--oxl-sans);
}

/* ==========================================================================
   Herbal banner
   ========================================================================== */
.oxl-herbal { position: relative; background: #EEF2E2; }
.oxl-herbal > img { display: block; width: 100%; height: auto; }
.oxl-herbal__features {
  position: absolute;
  left: 50%;
  top: 64%;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateX(-50%);
}
.oxl-herbal__features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #23431F;
  font: 600 12px/1.2 var(--oxl-sans);
  white-space: nowrap;
}
.oxl-herbal__features .fa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--oxl-gold);
  background: rgba(255, 249, 239, .75);
  color: var(--oxl-gold-deep);
  font-size: 19px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.oxl-footer.footer-container {
  padding: 64px 0 0;
  background: var(--oxl-forest) url(../images/footer-bgs-1600.jpg) center / cover no-repeat;
  color: rgba(255, 255, 255, .78);
}
.oxl-footer.footer-container:before {
  background: linear-gradient(180deg, rgba(20, 39, 25, .93), rgba(12, 26, 16, .96));
  opacity: 1;
}
.oxl-footer .footer-top,
.oxl-footer .footer-bottom-block { position: relative; z-index: 1; }
.oxl-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.5fr;
  gap: 30px;
  padding-bottom: 40px;
}
.oxl-footer__logo img { width: 190px; max-width: 100%; height: auto; }
.oxl-footer__social { display: flex; gap: 10px; margin-top: 22px; }
.oxl-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(217, 180, 108, .7);
  color: var(--oxl-champagne);
  font-size: 16px;
  transition: background .2s, color .2s;
}
.oxl-footer__social a:hover,
.oxl-footer__social a:focus-visible { background: var(--oxl-champagne); color: var(--oxl-forest); }

.oxl-footer .footer-top .module h3.modtitle {
  margin: 4px 0 18px;
  padding-bottom: 12px;
  position: relative;
  color: var(--oxl-white);
  font: 600 13.5px/1.3 var(--oxl-sans);
  letter-spacing: .12em;
}
.oxl-footer .footer-top .module h3.modtitle:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--oxl-champagne), transparent);
}
.oxl-footer .footer-top .module ul.menu { margin: 0; padding: 0; list-style: none; }
.oxl-footer.type_footer3 .footer-top ul.menu li > a {
  padding: 4px 0;
  color: rgba(255, 255, 255, .78);
  font-size: 13.5px;
}
.oxl-footer.type_footer3 .footer-top ul.menu li > a:hover { padding-left: 6px; color: var(--oxl-champagne); }
.oxl-footer .footer-top ul.menu li > a:before { display: none; }

.oxl-footer .contact-address { margin: 0; padding: 0; list-style: none; }
.oxl-footer .contact-address li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .78);
  font-size: 13.5px;
  line-height: 1.6;
}
.oxl-footer .contact-address li .fa {
  flex: 0 0 16px;
  margin-top: 4px;
  color: var(--oxl-champagne);
  font-size: 15px;
  text-align: center;
}
.oxl-footer.type_footer3 .contact-address a { color: rgba(255, 255, 255, .85); word-break: break-word; }
.oxl-footer.type_footer3 .contact-address a:hover { color: var(--oxl-champagne); }

.oxl-footer .footer-bottom-block {
  padding: 16px 0;
  border-top: 1px solid rgba(217, 180, 108, .3);
  background: rgba(0, 0, 0, .18);
}
.oxl-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  color: rgba(255, 255, 255, .7);
  font-size: 12.5px;
}
.oxl-footer.type_footer3 .oxl-footer__bottom a { color: var(--oxl-champagne); }
.oxl-footer.type_footer3 .oxl-footer__bottom a:hover { color: var(--oxl-white); }
.oxl-footer__sep { margin: 0 6px; opacity: .5; }

/* Back-to-top button from the theme */
.back-to-top {
  background: var(--oxl-btn) !important;
  border-radius: 50% !important;
  color: var(--oxl-white) !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .oxl-ingredients__grid { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
  .oxl-footer__grid { grid-template-columns: repeat(3, 1fr); }
  .oxl-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
  .oxl-split { padding: 54px 0; }
  .oxl-split h2 { font-size: 28px; }
  .oxl-quality__media { margin: 40px 14px 10px; }
  .oxl-quality__media img { height: 300px; }
  .oxl-quality__script { font-size: 32px; }
  .oxl-story__frame { max-width: 340px; margin-top: 70px; }
  .oxl-herbal__features { gap: 18px; top: 66%; }
  .oxl-herbal__features .fa { width: 38px; height: 38px; font-size: 16px; }
}

@media (max-width: 767px) {
  h3.product-custome { font-size: 13px; letter-spacing: .1em; gap: 10px; margin-bottom: 24px; }
  h3.product-custome:before,
  h3.product-custome:after { flex-basis: 48px; }
  .oxl-trust { padding-top: 18px; }
  .oxl-trust__list { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .oxl-trust__item { padding: 10px; font-size: 10.5px; gap: 8px; }
  .oxl-trust__item:last-child { grid-column: 1 / -1; justify-content: center; }
  .oxl-trust__icon { flex-basis: 34px; width: 34px; height: 34px; font-size: 15px; }
  .brand-main-block .img-inner { width: 92px; height: 92px; }
  .brand-main-block a img { width: 46px; }
  .oxl-split h2 { font-size: 24px; }
  .oxl-split p { font-size: 14px; }
  .oxl-quality__media:before { border-radius: 24px; inset: -10px; }
  .oxl-quality__media img { height: 240px; border-radius: 18px; }
  .oxl-quality__script { font-size: 28px; right: 18px; top: 16px; }
  .oxl-products { padding: 40px 0 24px; }
  .oxl-products .slick-slide { padding: 6px 6px 14px; }
  .oxl-card { padding: 10px 10px 14px; }
  .oxl-card__title { font-size: 11.5px; }
  .oxl-card__code { font-size: 11px; }
  .oxl-card__price { font-size: 12px; }
  .oxl-card__price .price-new { font-size: 15px; }
  .oxl-card .oxl-btn { padding: 9px 12px; font-size: 11px; gap: 6px; }
  .oxl-ingredients__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .oxl-ingredient figcaption { font-size: 12px; margin-top: 10px; }
  .oxl-herbal__features {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 22px;
    padding: 18px 12px 22px;
    transform: none;
  }
  .oxl-footer.footer-container { padding-top: 44px; }
  .oxl-footer__grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .oxl-footer__contact { grid-column: 1 / -1; }
  .oxl-footer__bottom { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .oxl-btn, .oxl-card, .oxl-card__media img, .oxl-ingredient img,
  .brand-main-block .img-inner { transition: none; }
  .oxl-card:hover, .oxl-btn:hover { transform: none; }
}

/* ---------- Legacy overrides found during QA ---------- */
.oxl-ingredient img { height: auto; }

.oxl-footer .contact-address li,
.oxl-footer .contact-address > li:nth-child(2),
.oxl-footer .contact-address > li:last-child { padding: 0; min-height: 0; }
.oxl-footer .contact-address span,
.oxl-footer .contact-address > li span {
  position: static;
  width: auto;
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  text-align: left;
}
.oxl-footer .contact-address li span.fa {
  flex: 0 0 16px;
  margin-top: 4px;
  color: var(--oxl-champagne);
  font-size: 15px;
  text-align: center;
}

/* Let the horizontal menu use the full width of its column (legacy .container was fixed at 1170px) */
#header .horizontal .megamenu-pattern > .container { width: auto; max-width: 100%; padding: 0; }

#header.type_6 .horizontal ul.megamenu { white-space: nowrap; }
#header.type_6 .horizontal ul.megamenu > li { float: none; display: inline-block; white-space: normal; }
@media (min-width: 1200px) and (max-width: 1399px) {
  #header.type_6 .horizontal ul.megamenu > li > a { font-size: 13px; padding: 6px 6px; }
}

/* Hero slider arrows */
.so-spotlight1 .owl2-nav .owl2-prev,
.so-spotlight1 .owl2-nav .owl2-next {
  width: 42px !important;
  height: 42px !important;
  line-height: 40px !important;
  margin-top: -21px !important;
  padding: 0 !important;
  text-align: center;
  box-shadow: 0 4px 14px rgba(74, 43, 23, .15);
}
.so-spotlight1 .owl2-nav .owl2-prev { left: 18px !important; }
.so-spotlight1 .owl2-nav .owl2-next { right: 18px !important; }
.so-spotlight1 .owl2-nav .owl2-prev:before,
.so-spotlight1 .owl2-nav .owl2-next:before {
  font: 18px/40px 'FontAwesome';
  color: var(--oxl-gold-deep);
}
.so-spotlight1 .owl2-nav .owl2-prev:before { content: '\f104'; }
.so-spotlight1 .owl2-nav .owl2-next:before { content: '\f105'; }
.so-spotlight1 .owl2-nav .owl2-prev:hover,
.so-spotlight1 .owl2-nav .owl2-next:hover { background: var(--oxl-white) !important; }

/* Ingredients: flex so an incomplete last row stays centred */
.oxl-ingredients__grid { display: flex; flex-wrap: wrap; justify-content: center; }
.oxl-ingredients__grid > li { flex: 0 0 calc((100% - 6 * 22px) / 7); }

@media (max-width: 1199px) {
  .oxl-ingredients__grid > li { flex-basis: calc((100% - 3 * 22px) / 4); }
}
@media (max-width: 991px) {
  /* Bootstrap 3 col-md-* has no width below 992px; inside a flex row it would shrink to 0 */
  .oxl-split__row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
}
@media (max-width: 767px) {
  .oxl-ingredients__grid > li { flex-basis: calc((100% - 2 * 16px) / 3); }
  .brand-block .slick-arrow,
  .oxl-products .slick-arrow { display: none !important; }
  #header .navbar-logo a img { max-height: 46px; padding: 6px 0; }
}

@media (min-width: 768px) and (max-width: 991px) {
  /* Both logo variants are visible at this width in the legacy markup; keep only the first */
  #header .navbar-logo.hidden-lg { display: none; }
}
@media (max-width: 991px) {
  .oxl-herbal__features {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 26px;
    padding: 18px 12px 22px;
    transform: none;
  }
}

#header .navbar-toggle { border-color: var(--oxl-line); }
#header .navbar-toggle .icon-bar { background: var(--oxl-brown); }
@media (min-width: 768px) and (max-width: 991px) {
  #header .header-center .navbar-logo { width: 40%; text-align: left; }
  #header .header-center .navbar-logo a img { max-height: 56px; }
}

/* ==========================================================================
   Product grid (store.php) — same .oxl-card as the homepage sliders
   ========================================================================== */
#load-more-product-homepage.oxl-grid { display: grid; } /* legacy home6.css sets this id to inline-block */
.oxl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding-bottom: 40px;
}
@media (max-width: 991px) { .oxl-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (max-width: 767px) {
  .oxl-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
