:root {
  --page-bg: #FFFFFF;
  --page-bg-soft: #FFFFFF;
  --cream: #FEFCF7;
  --soft-cream: #FAF6EE;
  --warm-white: #FFFDF8;
  --card-bg: #FFFFFF;
  --sage: #7E8868;
  --sage-dark: #5F684E;
  --sage-light: #A8AF96;
  --gold: #B9955B;
  --text: #2F2F2B;
  --muted: #8A8378;
  --border: #EFE7D9;
  --white: #FFFFFF;
  --shadow-soft: 0 18px 42px rgba(126, 136, 104, 0.09);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container-max: 1320px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: "Tajawal", sans-serif;
}

body.is-ltr { font-family: "Inter", system-ui, sans-serif; }
body.xenah-no-scroll { overflow: hidden; touch-action: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.xenah-container {
  width: min(calc(100% - 32px), var(--container-max));
  margin-inline: auto;
}

.xenah-topbar {
  background: var(--sage-dark);
  color: var(--white);
  font-size: 0.93rem;
}

.xenah-topbar-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.xenah-topbar-message { margin: 0; }
.xenah-topbar-links { display: flex; align-items: center; gap: 22px; }

.xenah-main-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 221, 202, 0.92);
}

.xenah-header-grid {
  min-height: 94px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "actions logo nav";
  align-items: center;
  column-gap: 18px;
}

body.is-ltr .xenah-header-grid { grid-template-areas: "nav logo actions"; }

.xenah-nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-width: 0;
}

body.is-ltr .xenah-nav { justify-content: flex-start; }

.xenah-nav-link {
  position: relative;
  padding: 8px 0;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.xenah-nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -4px;
  height: 2px;
  background: var(--sage-dark);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.xenah-nav-link:hover::after,
.xenah-nav-link.is-active::after { transform: scaleX(1); }

.xenah-logo-wrap {
  grid-area: logo;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.xenah-logo-wrap img {
  max-height: 62px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.xenah-header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-width: 0;
}

body.is-ltr .xenah-header-actions { justify-content: flex-end; }

.xenah-search {
  height: 48px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline: 16px;
  box-shadow: 0 8px 20px rgba(185, 149, 91, 0.05);
}

.xenah-search-desktop {
  width: min(100%, 300px);
  flex: 0 1 300px;
}

.xenah-search-icon {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex: 0 0 auto;
}

.xenah-search-icon svg,
.xenah-icon-btn svg { width: 100%; height: 100%; display: block; }

.xenah-search-input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  color: var(--text);
}

.xenah-action-icons { display: flex; align-items: center; gap: 10px; }

.xenah-icon-btn,
.xenah-lang-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--sage-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.xenah-icon-btn:hover,
.xenah-lang-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
  background: var(--warm-white);
}

.xenah-icon-btn svg { width: 20px; height: 20px; }

.xenah-cart-counter {
  position: absolute;
  top: -4px;
  inset-inline-end: -3px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
}

.xenah-header-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

.xenah-lang-toggle {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.xenah-mobile-menu-btn,
.xenah-mobile-search-row,
.xenah-mobile-drawer,
.xenah-search-toggle { display: none; }

.xenah-notification {
  background: linear-gradient(90deg, rgba(246, 241, 232, 0.96), rgba(238, 230, 215, 0.82));
  border-bottom: 1px solid var(--border);
}

.xenah-notification p {
  margin: 0;
  padding: 12px 0;
  text-align: center;
  color: var(--sage-dark);
  font-weight: 600;
}

.xenah-hero {
  padding: 18px 0 28px;
}

.xenah-hero-slider {
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.xenah-slider-track-wrap,
.hero-viewport {
  overflow: hidden;
  border-radius: 12px;
}

.xenah-slider-track,
.hero-track {
  display: flex;
  direction: ltr;
  transform: translateX(0%);
  will-change: transform;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  touch-action: pan-y;
  cursor: grab;
}

.xenah-slider-track.is-dragging,
.hero-track.is-dragging {
  transition: none;
  cursor: grabbing;
}

.xenah-slide,
.hero-slide {
  min-width: 100%;
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: linear-gradient(120deg, #F7F3EA, #EEE6D7, #DDE2D0);
}

.xenah-slide::before,
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 24%, rgba(255, 255, 255, 0.62), transparent 0 18%),
    radial-gradient(circle at 82% 68%, rgba(185, 149, 91, 0.14), transparent 0 24%),
    radial-gradient(circle at 60% 18%, rgba(126, 136, 104, 0.16), transparent 0 18%);
}

.xenah-slide::after,
.hero-slide::after {
  content: "";
  position: absolute;
  inset-inline-start: 8%;
  bottom: -12%;
  width: clamp(160px, 24vw, 280px);
  height: clamp(160px, 24vw, 280px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.54) 0%, rgba(255, 255, 255, 0.08) 64%, transparent 74%);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.xenah-slide[data-banner-index="1"] {
  background: linear-gradient(120deg, #F7F3EA 0%, #EEE6D7 55%, #DDE2D0 100%);
}

.xenah-slide[data-banner-index="2"] {
  background: linear-gradient(120deg, #FBF7EF 0%, #EAE8DB 52%, #E8DECF 100%);
}

.xenah-slide[data-banner-index="3"] {
  background: linear-gradient(120deg, #F8F1E6 0%, #F2E7D8 48%, #DEE6D9 100%);
}

.xenah-slide[data-banner-index="4"] {
  background: linear-gradient(120deg, #FCF8F1 0%, #EFE4D4 46%, #DFE5D6 100%);
}

.hero-banner-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, #F7F3EA, #EEE6D7, #DDE2D0);
}

.hero-banner-media,
.hero-banner-placeholder {
  position: absolute;
  inset: 0;
}

.hero-banner-media {
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.hero-banner-img[hidden] {
  display: none;
}

.hero-banner-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-banner-decor::before,
.hero-banner-decor::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.hero-banner-decor::before {
  width: min(32vw, 320px);
  height: min(32vw, 320px);
  inset-inline-end: 8%;
  top: 10%;
  background: radial-gradient(circle, rgba(255, 253, 248, 0.55) 0%, rgba(255, 253, 248, 0.1) 55%, transparent 72%);
}

.hero-banner-decor::after {
  width: min(22vw, 220px);
  height: min(22vw, 220px);
  inset-inline-end: 22%;
  bottom: 12%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.xenah-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1px solid rgba(232, 221, 202, 0.9);
  border-radius: 50%;
  background: rgba(255, 252, 247, 0.94);
  color: var(--sage-dark);
  box-shadow: var(--shadow-soft);
  z-index: 3;
}

.xenah-slider-prev {
  left: 18px;
}

.xenah-slider-next {
  right: 18px;
}

.xenah-slider-arrow span {
  font-size: 2rem;
  line-height: 1;
}

.xenah-slider-arrow:disabled,
.xenah-slider-arrow[aria-disabled="true"] {
  opacity: 0.38;
  cursor: not-allowed;
  box-shadow: none;
}

.xenah-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 16px;
}

.xenah-slider-dots button {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(126, 136, 104, 0.28);
  padding: 0;
}

.xenah-slider-dots button.is-active {
  background: var(--sage-dark);
  transform: scale(1.18);
}

@media (max-width: 1199px) {
  .xenah-slide,
  .hero-slide {
    min-height: 420px;
  }
}

@media (max-width: 767px) {
  .xenah-hero {
    padding: 14px 0 22px;
  }

  .xenah-slide,
  .hero-slide {
    min-height: auto;
    aspect-ratio: 16 / 9;
    background: var(--page-bg);
  }

  .hero-banner-media {
    background: var(--page-bg);
  }

  .hero-banner-img {
    object-fit: contain;
    object-position: center center;
  }

  .xenah-slider-track-wrap,
  .hero-viewport {
    border-radius: 10px;
  }

  .hero-banner-decor::before {
    width: 170px;
    height: 170px;
    inset-inline-end: 12%;
    top: 12%;
  }

  .hero-banner-decor::after {
    width: 120px;
    height: 120px;
    inset-inline-end: 24%;
    bottom: 10%;
  }

  .xenah-slider-arrow {
    width: 44px;
    height: 44px;
    top: auto;
    bottom: 72px;
    transform: none;
  }

  .xenah-slider-prev {
    left: 12px;
  }

  .xenah-slider-next {
    right: 12px;
  }
}
.xenah-brands-grid,
.xenah-offers-grid,
.xenah-categories-grid,
.xenah-products-grid,
.xenah-reviews-grid,
.xenah-about-cards {
  display: grid;
  gap: 18px;
}

.xenah-brands-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.xenah-brands-carousel-shell {
  position: relative;
  width: min(100vw - 16px, 1480px);
  margin-inline: 50%;
  transform: translateX(50%);
}

html[dir="ltr"] .xenah-brands-carousel-shell {
  transform: translateX(-50%);
}

.xenah-brands-carousel {
  width: 100%;
  overflow: hidden;
  direction: ltr;
  padding: 4px 0 14px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.xenah-brands-carousel.is-dragging {
  cursor: grabbing;
}

.xenah-brands-carousel .xenah-brands-track {
  display: flex;
  width: max-content;
  gap: clamp(18px, 2vw, 28px);
  animation: xenah-brand-marquee 34s linear infinite;
  will-change: transform;
}

.xenah-brands-carousel .xenah-brands-track.is-js-controlled {
  animation: none;
}

.xenah-brands-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(185, 149, 91, 0.22);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.96);
  color: var(--sage-dark);
  box-shadow: 0 12px 26px rgba(95, 104, 78, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.xenah-brands-arrow span {
  display: block;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-1px);
}

.xenah-brands-arrow:hover,
.xenah-brands-arrow:focus-visible {
  border-color: rgba(185, 149, 91, 0.42);
  background: var(--white);
  box-shadow: 0 16px 32px rgba(95, 104, 78, 0.14);
}

.xenah-brands-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.xenah-brands-arrow-prev {
  inset-inline-start: 14px;
}

.xenah-brands-arrow-next {
  inset-inline-end: 14px;
}

.xenah-brand-card,
.xenah-category-card,
.xenah-product-card,
.xenah-review-card,
.xenah-contact-card,
.xenah-offer-card {
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(126, 136, 104, 0.06);
}

.xenah-brand-card {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.xenah-brand-logo-card {
  flex: 0 0 clamp(220px, 18vw, 260px);
  min-height: clamp(118px, 10vw, 140px);
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.xenah-brand-logo-card img,
.xenah-brand-logo-card span {
  pointer-events: none;
}

.xenah-brand-logo {
  display: block;
  width: auto;
  max-width: 82%;
  max-height: 72px;
  object-fit: contain;
  filter: saturate(0.96);
}

.xenah-brand-logo[hidden] {
  display: none !important;
}

.xenah-brand-fallback {
  display: none;
  color: var(--text);
  font-weight: 800;
  line-height: 1.4;
}

.xenah-brand-logo-card.is-image-missing .xenah-brand-fallback {
  display: inline-flex;
}

.xenah-brand-logo-card.is-image-missing {
  background: rgba(255, 255, 255, 0.82);
}

@keyframes xenah-brand-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .xenah-brands-carousel:hover .xenah-brands-track {
    animation-play-state: paused;
  }
}

.xenah-brand-card:hover,
.xenah-category-card:hover,
.xenah-contact-card:hover,
.xenah-product-card:hover {
  transform: translateY(-3px);
  border-color: var(--sage-light);
}

.xenah-offers-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.xenah-offer-card {
  min-height: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
  overflow: visible;
}

.xenah-offer-card::before,
.xenah-offer-card::after {
  display: none;
}

.xenah-offer-link {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  text-decoration: none;
}

.xenah-offer-media {
  display: block;
  min-height: 320px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 14px 34px rgba(33, 35, 38, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.xenah-offer-link:hover .xenah-offer-media,
.xenah-offer-link:focus-visible .xenah-offer-media {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(33, 35, 38, 0.12);
}

.xenah-offer-card-skin .xenah-offer-media {
  background-image:
    url("../images/offers/offer-skin.jpg"),
    linear-gradient(135deg, #f8f2e7, #efe7d8, #dde5d4);
}

.xenah-offer-card-makeup .xenah-offer-media {
  background-image:
    url("../images/offers/offer-makeup.jpg"),
    linear-gradient(135deg, #fdf6ef, #eedfd3, #e6ebde);
}

.xenah-offer-card-perfume .xenah-offer-media {
  background-image:
    url("../images/offers/offer-perfume.jpg"),
    linear-gradient(135deg, #fbf6ef, #efe8da, #e2e8d9);
}

.xenah-offer-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--sage-dark);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  font-weight: 700;
}

.xenah-category-carousel-shell {
  position: relative;
  width: min(100vw - 32px, 1480px);
  margin-inline: 50%;
  transform: translateX(50%);
}

html[dir="ltr"] .xenah-category-carousel-shell {
  transform: translateX(-50%);
}

.xenah-category-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--sage-dark) rgba(126, 136, 104, 0.14);
  touch-action: pan-x pan-y;
  padding: 6px clamp(8px, 1.6vw, 22px) 20px;
  cursor: grab;
}

.xenah-category-viewport::-webkit-scrollbar {
  display: none;
}

.xenah-category-viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.xenah-category-track {
  display: flex;
  gap: clamp(16px, 1.6vw, 24px);
  width: max-content;
  direction: ltr;
}

.xenah-category-slide {
  position: relative;
  flex: 0 0 clamp(280px, 26vw, 390px);
  aspect-ratio: 1.72 / 1;
  min-height: 150px;
  overflow: hidden;
  border-radius: 26px;
  scroll-snap-align: start;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 14px 34px rgba(33, 35, 38, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
  direction: rtl;
}

.xenah-category-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 23, 20, 0.34), rgba(20, 23, 20, 0.04) 48%, rgba(20, 23, 20, 0.18));
  z-index: 1;
  pointer-events: none;
}

.xenah-category-slide span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  margin: 18px;
  color: var(--white);
  font-weight: 800;
  line-height: 1.45;
  font-size: 1.02rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.xenah-category-slide:hover,
.xenah-category-slide:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(33, 35, 38, 0.12);
}

.xenah-category-slide-skin { background-image: url("../images/categories/skincare.jpg"), linear-gradient(135deg, #f7efe7, #dde7dc); }
.xenah-category-slide-hair { background-image: url("../images/categories/hair-care.jpg"), linear-gradient(135deg, #efe7d9, #dfe8d8); }
.xenah-category-slide-makeup { background-image: url("../images/categories/makeup.jpg"), linear-gradient(135deg, #f6e7e0, #e8ded5); }
.xenah-category-slide-cosmetics { background-image: url("../images/categories/cosmetics.jpg"), linear-gradient(135deg, #fbf4ea, #e1e8d7); }
.xenah-category-slide-fragrance { background-image: url("../images/categories/fragrance.jpg"), linear-gradient(135deg, #f5eee3, #dce4d3); }
.xenah-category-slide-oral { background-image: url("../images/categories/oral-care.jpg"), linear-gradient(135deg, #f9f5ee, #dce8e3); }
.xenah-category-slide-baby { background-image: url("../images/categories/baby-care.jpg"), linear-gradient(135deg, #f7efe6, #e5e8d6); }
.xenah-category-slide-feminine { background-image: url("../images/categories/feminine-care.jpg"), linear-gradient(135deg, #f7e6e6, #e8e0d8); }
.xenah-category-slide-sunscreen { background-image: url("../images/categories/sunscreen.jpg"), linear-gradient(135deg, #fff4de, #dfe8d4); }
.xenah-category-slide-medical { background-image: url("../images/categories/medical-supplies.jpg"), linear-gradient(135deg, #f7f5ed, #dfe8e4); }
.xenah-category-slide-bundles { background-image: linear-gradient(135deg, rgba(126, 136, 104, 0.82), rgba(185, 149, 91, 0.58)), url("../images/offers/offer-skin.jpg"); }
.xenah-category-slide-special { background-image: linear-gradient(135deg, rgba(185, 149, 91, 0.62), rgba(126, 136, 104, 0.72)), url("../images/offers/offer-makeup.jpg"); }

.xenah-category-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 253, 248, 0.96);
  color: var(--sage-dark);
  box-shadow: 0 12px 28px rgba(33, 35, 38, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.xenah-category-arrow:hover {
  border-color: var(--gold);
  background: var(--white);
}

.xenah-category-arrow span {
  font-size: 2rem;
  line-height: 1;
}

.xenah-category-arrow-prev { left: 10px; }
.xenah-category-arrow-next { right: 10px; }

html[dir="rtl"] .xenah-category-arrow span,
body.is-rtl .xenah-category-arrow span {
  position: relative;
  color: transparent;
}

html[dir="rtl"] .xenah-category-arrow span::before,
body.is-rtl .xenah-category-arrow span::before {
  position: absolute;
  inset: 0;
  color: var(--sage-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

html[dir="rtl"] .xenah-category-arrow-prev span::before,
body.is-rtl .xenah-category-arrow-prev span::before {
  content: "\2190";
}

html[dir="rtl"] .xenah-category-arrow-next span::before,
body.is-rtl .xenah-category-arrow-next span::before {
  content: "\2192";
}

.xenah-category-icon,
.xenah-contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(185, 149, 91, 0.22);
  background: rgba(255, 253, 248, 0.8);
  color: var(--sage-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.xenah-category-card span:last-child,
.xenah-contact-card span:last-child {
  color: var(--text);
  font-weight: 700;
  line-height: 1.5;
}

.xenah-products-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.xenah-product-card {
  position: relative;
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.xenah-product-badge-stack {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: calc(100% - 72px);
  pointer-events: none;
}

.xenah-product-badge-stack .xenah-product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(126, 136, 104, 0.94);
  color: #fffdf8;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.xenah-product-badge-stack .product-badge--second-offer {
  background: var(--sage-dark);
  color: #ffffff;
}

.xenah-product-badge-stack .product-badge--discount {
  background: var(--sage-dark);
  color: #ffffff;
}

.xenah-product-fav {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 253, 248, 0.95);
  color: var(--sage-dark);
  z-index: 2;
}

.xenah-product-media {
  min-height: 180px;
  border-radius: 0;
  margin-bottom: 16px;
  border: 0;
  background: transparent;
}

.xenah-product-media-2,
.xenah-product-media-3,
.xenah-product-media-4,
.xenah-product-media-5 {
  background: transparent;
}

.xenah-product-brand {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.xenah-product-name {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.1em;
}

.xenah-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  margin-bottom: 14px;
}

.xenah-product-price {
  color: var(--sage-dark);
  white-space: nowrap;
}

.xenah-product-rating {
  color: var(--gold);
  font-size: 0.84rem;
  white-space: nowrap;
}



.xenah-product-category {
  margin: -6px 0 12px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.xenah-product-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.xenah-product-old-price {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: line-through;
}

.xenah-product-media-live {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xenah-product-image-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xenah-product-card--transparent .xenah-product-media {
  border-color: transparent;
  background: transparent;
}

.xenah-product-card--transparent .xenah-product-image-wrap {
  padding: 6px;
}

.xenah-product-card--transparent .xenah-product-image {
  width: auto;
  height: auto;
  max-width: 94%;
  max-height: 100%;
  object-fit: contain;
}

.xenah-product-card--boxed .xenah-product-media {
  background: transparent;
  border-color: transparent;
}

.xenah-product-card--boxed .xenah-product-image-wrap {
  padding: 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.xenah-product-card--boxed .xenah-product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.xenah-product-image {
  display: block;
}

.xenah-product-media-live .xenah-product-placeholder-visual {
  display: none;
}

.xenah-product-media-live.is-fallback {
  border: 1px solid rgba(232, 221, 202, 0.55);
  background:
    radial-gradient(circle at 28% 24%, rgba(255,255,255,0.52), transparent 0 18%),
    linear-gradient(135deg, #f9f4eb, #ede2d2, #dfe5d5);
}

.xenah-product-media-live.is-fallback .xenah-product-image-wrap {
  display: none;
}

.xenah-product-media-live.is-fallback .xenah-product-placeholder-visual {
  display: flex;
}

.xenah-product-placeholder-visual {
  width: 100%;
  height: 100%;
  position: relative;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 24% 22%, rgba(255,255,255,0.55), transparent 0 18%),
    linear-gradient(135deg, #f9f4eb, #eee2d3, #e0e7d8);
}

.xenah-product-bottle {
  width: 62px;
  height: 112px;
  border-radius: 22px 22px 18px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,243,234,0.92));
  border: 1px solid rgba(232, 221, 202, 0.88);
  box-shadow: 0 16px 28px rgba(95, 104, 78, 0.10);
  position: relative;
}

.xenah-product-bottle::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 18px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #d7cfbf, #bda98c);
}

.xenah-product-bottle::after {
  content: "";
  position: absolute;
  inset: 34px 12px 22px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(185,149,91,0.18), rgba(126,136,104,0.12));
}

.xenah-product-shadow {
  position: absolute;
  bottom: 20px;
  width: 92px;
  height: 16px;
  border-radius: 50%;
  background: rgba(95, 104, 78, 0.12);
  filter: blur(5px);
}

.xenah-product-card-skeleton {
  pointer-events: none;
}

.xenah-skeleton-block,
.xenah-skeleton-line {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(232,221,202,0.56), rgba(255,253,248,0.9), rgba(232,221,202,0.56));
  background-size: 200% 100%;
  animation: xenah-skeleton 1.4s infinite linear;
}

.xenah-skeleton-copy {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.xenah-skeleton-line {
  display: block;
  height: 12px;
  border-radius: 999px;
}

.xenah-skeleton-line-sm { width: 34%; }
.xenah-skeleton-line-md { width: 64%; }
.xenah-skeleton-line-lg { width: 88%; }

.xenah-product-media-skeleton {
  min-height: 180px;
  margin-bottom: 16px;
}

.xenah-skeleton-meta {
  margin-top: auto;
}

.xenah-product-btn {
  width: 100%;
  height: 42px;
  margin-top: auto;
  border: none;
  border-radius: 12px;
  background: var(--sage-dark);
  color: var(--white);
  font-weight: 700;
  transition: background 0.22s ease, transform 0.22s ease;
}

.xenah-product-btn:hover {
  background: var(--sage);
}

.xenah-product-btn:active {
  transform: translateY(1px);
}

.xenah-product-btn-skeleton {
  width: 100%;
  min-height: 42px;
  border-radius: 999px;
}

.xenah-products-empty {
  grid-column: 1 / -1;
  min-height: 180px;
  border: 1px dashed var(--border);
  border-radius: 22px;
  background: rgba(255,252,247,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--muted);
}

@keyframes xenah-skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.xenah-reveal {
  --reveal-delay: 0ms;
  opacity: 0;
  transition-delay: var(--reveal-delay);
}

.xenah-reveal--stack {
  transform: translateY(18px);
  will-change: transform, opacity;
  transition:
    opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.xenah-reveal--soft {
  transform: translateY(18px);
  will-change: transform, opacity;
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.xenah-reveal.is-visible,
.xenah-reveal--stack.is-visible,
.xenah-reveal--soft.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.xenah-reveal.is-visible {
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .xenah-reveal,
  .xenah-reveal--stack,
  .xenah-reveal--soft {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .xenah-brands-carousel .xenah-brands-track {
    animation: none !important;
  }
}

.xenah-reviews-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xenah-review-card {
  padding: 24px;
}

.xenah-review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #efe5d6, #dde4d3);
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 14px;
}

.xenah-review-card h3 {
  margin: 0 0 10px;
}

.xenah-review-stars {
  margin: 0 0 10px;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.xenah-review-card p:last-child {
  margin: 0;
  line-height: 1.8;
}

.xenah-about {
  padding-block: clamp(42px, 5vw, 68px);
}

.xenah-about-layout {
  max-width: 760px;
  margin-inline: auto;
  display: block;
  text-align: center;
}

.xenah-section-head-compact {
  margin-bottom: 0;
}

.xenah-about .xenah-section-head-compact {
  max-width: 720px;
  margin-inline: auto;
}

.xenah-about-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.xenah-about-social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(126, 136, 104, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  color: var(--sage-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.xenah-about-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.xenah-about-social-link:hover,
.xenah-about-social-link:focus-visible {
  background: var(--white);
  border-color: rgba(185, 149, 91, 0.38);
  color: var(--sage);
  transform: translateY(-2px);
}

.xenah-about-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xenah-contact-card {
  min-height: 150px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 992px) {
  


  100% { background-position: -200% 0; }
}

@media (max-width: 1199px) {
  .xenah-brands-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xenah-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xenah-about-layout { grid-template-columns: 1fr; }
  .xenah-about-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .xenah-offers-grid,
  .xenah-reviews-grid,
  .xenah-about-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .xenah-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .xenah-brands-grid,
  .xenah-offers-grid,
  .xenah-reviews-grid,
  .xenah-about-cards,
  .xenah-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .xenah-brand-card { min-height: 78px; }
  .xenah-brands-carousel-shell {
    width: calc(100vw - 10px);
  }
  .xenah-brands-carousel {
    padding-bottom: 10px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  }
  .xenah-brands-arrow {
    display: none;
  }
  .xenah-brands-carousel .xenah-brands-track {
    gap: 14px;
    animation-duration: 28s;
  }
  .xenah-brand-logo-card {
    flex-basis: 174px;
    min-height: 104px;
    padding: 18px 20px;
  }
  .xenah-brand-logo { max-height: 56px; }
  .xenah-offer-media { min-height: 240px; }
  .xenah-product-media { min-height: 150px; }
}

@media (max-width: 479px) {
  .xenah-offers-grid,
  .xenah-reviews-grid,
  .xenah-about-cards { grid-template-columns: 1fr; }

  .xenah-products-grid,
  .xenah-brands-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.xenah-section { padding: 84px 0; }
#bestsellers {
  scroll-margin-top: 140px;
  padding-top: 96px;
}
.xenah-section-soft { background: linear-gradient(180deg, rgba(254, 252, 247, 0.84), rgba(255, 253, 248, 0)); }
.xenah-section-head { margin-bottom: 26px; }
.xenah-section-head h2 { margin: 8px 0 14px; font-size: clamp(1.9rem, 3vw, 3rem); }

.xenah-section-head p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.xenah-section-kicker {
  margin: 0;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.xenah-placeholder-grid,
.xenah-placeholder-reviews,
.xenah-about-placeholder {
  display: grid;
  gap: 18px;
}

.xenah-placeholder-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.xenah-placeholder-grid-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.xenah-placeholder-card,
.xenah-placeholder-banner,
.xenah-placeholder-review,
.xenah-about-card {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(254, 252, 247, 0.92)), var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.xenah-placeholder-card,
.xenah-placeholder-review,
.xenah-about-card { background-color: var(--card-bg); }

.xenah-placeholder-card { min-height: 220px; }
.xenah-placeholder-banner {
  min-height: 240px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 238, 0.9));
}
.xenah-placeholder-reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xenah-placeholder-review { min-height: 220px; }
.xenah-about-placeholder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.xenah-about-card { min-height: 220px; }

.xenah-footer {
  background: var(--sage-dark);
  border-top: 0;
  padding-top: 52px;
}

.xenah-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.xenah-footer-brand p,
.xenah-footer-column a {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

.xenah-footer-brand p {
  max-width: 330px;
  margin: 14px 0 0;
}

.xenah-footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.xenah-footer-column h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--white);
}

.xenah-footer-column a:hover { color: rgba(255, 255, 255, 0.96); }

.xenah-footer-bottom {
  margin-top: 30px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.xenah-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.xenah-simple-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 40px 0;
  background: linear-gradient(180deg, var(--page-bg), #FFFFFF);
}

.xenah-simple-card {
  max-width: 720px;
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 24px;
  box-shadow: var(--shadow-soft);
}

.xenah-simple-card h1 { margin: 24px 0 12px; }

.xenah-simple-card p {
  margin: 0 auto 24px;
  max-width: 500px;
  color: var(--muted);
  line-height: 1.8;
}

.xenah-product-page {
  min-height: 100vh;
  padding: 28px 0 70px;
  background: #FFFFFF;
}

.xenah-product-page-container {
  width: min(100% - 32px, var(--container-max));
  margin: 0 auto;
}

.xenah-product-page-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.xenah-product-page-logo img {
  max-height: 58px;
}

.xenah-product-detail {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.xenah-product-not-found {
  border: 1px solid rgba(201, 178, 150, 0.18);
  border-radius: 28px;
  background: rgba(255, 252, 248, 0.76);
  box-shadow: 0 12px 34px rgba(81, 69, 49, 0.06);
}

.xenah-product-detail[hidden],
.xenah-product-not-found[hidden],
.xenah-product-detail-message[hidden] {
  display: none !important;
}

.xenah-product-detail-loading,
.xenah-product-not-found {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 36px;
  color: var(--muted);
}

.xenah-product-not-found h1 {
  margin: 0 0 20px;
  color: var(--text);
}

.xenah-product-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 clamp(16px, 2vw, 22px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.xenah-product-breadcrumb a {
  color: var(--sage-dark);
  text-decoration: none;
}

.xenah-product-breadcrumb a:hover {
  color: var(--sage);
}

.xenah-product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
  padding: 0 0 clamp(28px, 4vw, 46px);
}

.xenah-product-detail-media {
  grid-column: 1;
  min-height: clamp(360px, 40vw, 460px);
  border: 0;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  padding: clamp(8px, 2vw, 18px);
}

.xenah-product-detail-image {
  width: min(88%, 380px);
  max-height: 380px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.xenah-product-detail-media .xenah-product-placeholder-visual {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.xenah-product-detail-media .xenah-product-bottle {
  width: 76px;
  height: 136px;
  box-shadow: 0 18px 38px rgba(95, 104, 78, 0.08);
}

.xenah-product-detail-media .xenah-product-shadow {
  bottom: 22%;
  opacity: 0.55;
}

.xenah-product-detail-media:not(.is-fallback) .xenah-product-placeholder-visual {
  display: none;
}

.xenah-product-detail-content {
  grid-column: 2;
  padding: clamp(18px, 2.4vw, 28px);
  border: 0;
  box-shadow: none;
  background: transparent;
}

.xenah-product-detail-content h1 {
  margin: 10px 0 12px;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.08;
  color: var(--text);
}

.xenah-product-detail-meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.xenah-product-detail-meta-line span + span::before {
  content: "/";
  margin-inline-end: 8px;
  color: rgba(136, 122, 94, 0.55);
}

.xenah-product-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 0;
  margin-bottom: 8px;
}

.xenah-product-detail-badges span {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.xenah-product-detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 16px 0 8px;
}

.xenah-product-detail-price-row strong {
  color: var(--sage-dark);
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.xenah-product-detail-old-price {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 700;
}

.xenah-product-detail-tax {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.xenah-product-detail-stock {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 0;
  border-radius: 0;
  font-weight: 800;
  font-size: 0.92rem;
}

.xenah-product-detail-stock.is-available {
  background: transparent;
  color: var(--sage-dark);
}

.xenah-product-detail-stock.is-unavailable {
  background: transparent;
  color: #8b4f45;
}

.xenah-product-detail-description-wrap {
  margin: 0 0 16px;
}

.xenah-product-detail-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.02rem;
}

.xenah-product-detail-description-wrap.is-collapsible .xenah-product-detail-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.xenah-product-detail-description-wrap.is-expanded .xenah-product-detail-description {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.xenah-product-description-toggle {
  display: inline-flex;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sage-dark);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.xenah-product-description-toggle:hover {
  color: var(--sage);
}

.xenah-bundle-includes {
  margin: 18px 0 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(201, 178, 150, 0.18);
}

.xenah-bundle-includes h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.25;
}

.xenah-bundle-includes-list {
  display: grid;
  gap: 0;
}

.xenah-bundle-includes-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(201, 178, 150, 0.14);
}

.xenah-bundle-includes-item:first-child {
  border-top: 0;
}

.xenah-bundle-item-name {
  display: inline-flex;
  color: var(--text);
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
}

a.xenah-bundle-item-name:hover {
  color: var(--sage-dark);
}

.xenah-bundle-item-brand,
.xenah-bundle-item-description,
.xenah-bundle-item-price {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.xenah-bundle-item-brand {
  font-size: 0.86rem;
  font-weight: 700;
}

.xenah-bundle-item-description {
  max-width: 560px;
  font-size: 0.92rem;
}

.xenah-bundle-includes-meta {
  min-width: 132px;
  text-align: end;
}

.xenah-bundle-item-price strong {
  color: var(--sage-dark);
  font-size: 1rem;
}

.xenah-bundle-item-old-price {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: line-through;
}

.xenah-bundle-item-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--sage-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.xenah-bundle-item-link:hover {
  color: var(--sage);
}

.xenah-product-detail-purchase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  max-width: 360px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-weight: 800;
}

.xenah-product-detail-quantity {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 0;
  border-bottom: 1px solid rgba(201, 178, 150, 0.48);
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.xenah-product-detail-quantity button,
.xenah-product-detail-quantity input {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: center;
  font: inherit;
  font-weight: 800;
}

.xenah-product-detail-quantity button {
  cursor: pointer;
  color: var(--sage-dark);
}

.xenah-product-detail-quantity input {
  appearance: textfield;
}

.xenah-product-detail-quantity input::-webkit-outer-spin-button,
.xenah-product-detail-quantity input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.xenah-product-primary-btn,
.xenah-product-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 10px;
  padding: 12px 22px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.xenah-product-primary-btn {
  border: 1px solid var(--sage-dark);
  background: var(--sage-dark);
  color: var(--white);
}

.xenah-product-primary-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.xenah-product-secondary-btn {
  border: 1px solid rgba(126, 136, 104, 0.32);
  border-radius: 10px;
  background: rgba(255, 253, 249, 0.72);
  color: var(--sage-dark);
  min-height: 50px;
  padding: 12px 22px;
}

.xenah-product-primary-btn:not(:disabled):hover,
.xenah-product-secondary-btn:hover {
  transform: translateY(-1px);
}

.xenah-product-detail-message {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(126, 136, 104, 0.12);
  color: var(--sage-dark);
  font-weight: 800;
}

.xenah-product-page-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  max-width: 620px;
  margin-top: 14px;
}

.xenah-product-page-actions .xenah-product-primary-btn,
.xenah-product-page-actions .xenah-product-secondary-btn {
  flex: 1 1 260px;
  min-width: 230px;
  min-height: 50px;
}

.xenah-product-page-actions .xenah-product-primary-btn {
  box-shadow: 0 14px 28px rgba(80, 92, 67, 0.16);
}

.xenah-product-page-actions .xenah-product-secondary-btn {
  white-space: nowrap;
}

.xenah-product-overview {
  margin: 0 clamp(20px, 3.6vw, 44px) clamp(20px, 3.6vw, 36px);
  padding: clamp(18px, 3vw, 28px);
  border-top: 1px solid rgba(201, 178, 150, 0.18);
}

.xenah-product-overview h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.xenah-product-overview p {
  margin: 0;
  max-width: 820px;
  color: var(--muted);
  line-height: 1.9;
}

.xenah-product-trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 clamp(20px, 3.6vw, 44px) clamp(20px, 3.6vw, 36px);
}

.xenah-product-trust-card {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid rgba(201, 178, 150, 0.18);
  border-radius: 0;
  background: transparent;
  color: var(--sage-dark);
}

.xenah-product-trust-card span {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 0;
  background: transparent;
  font-weight: 900;
}

.xenah-product-trust-card strong {
  font-size: 0.95rem;
}

.xenah-product-related {
  margin-top: 34px;
}

.xenah-product-related[hidden] {
  display: none !important;
}

.xenah-product-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.xenah-product-related-head h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.xenah-product-related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 991px) {
  .xenah-product-detail-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .xenah-product-detail-media,
  .xenah-product-detail-content {
    grid-column: 1;
  }

  .xenah-product-detail-media {
    min-height: 320px;
  }

  .xenah-product-detail-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .xenah-product-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xenah-product-trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .xenah-product-page {
    padding-top: 22px;
    padding-bottom: 46px;
  }

  .xenah-product-page-container {
    width: min(100% - 22px, var(--container-max));
  }

  .xenah-product-page-topbar {
    margin-bottom: 18px;
  }

  .xenah-product-page-logo img {
    max-height: 48px;
  }

  .xenah-product-not-found {
    border-radius: 24px;
  }

  .xenah-product-detail-grid {
    padding: 0 0 24px;
    gap: 18px;
  }

  .xenah-product-detail-media {
    min-height: 240px;
    border-radius: 0;
    padding: 4px 0 10px;
  }

  .xenah-product-detail-image {
    width: min(88%, 260px);
    max-height: 220px;
  }

  .xenah-product-detail-content h1 {
    margin-block: 8px;
    font-size: clamp(1.65rem, 8vw, 2.1rem);
  }

  .xenah-product-detail-price-row {
    margin-top: 14px;
    padding: 12px 14px;
  }

  .xenah-product-detail-description-wrap {
    margin-bottom: 16px;
  }

  .xenah-product-detail-description {
    line-height: 1.75;
  }

  .xenah-bundle-includes {
    margin-block: 16px;
  }

  .xenah-bundle-includes-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 13px 0;
  }

  .xenah-bundle-includes-meta {
    min-width: 0;
    text-align: inherit;
  }

  .xenah-bundle-item-price {
    margin-top: 0;
  }

  .xenah-product-detail-purchase {
    width: 100%;
    max-width: none;
    justify-content: space-between;
    margin-bottom: 12px;
  }

  .xenah-product-page-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: none;
  }

  .xenah-product-page-actions .xenah-product-primary-btn,
  .xenah-product-page-actions .xenah-product-secondary-btn {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    height: auto;
    padding: 12px 18px;
    align-self: stretch;
  }

  .xenah-product-page-actions .xenah-product-secondary-btn {
    background: rgba(255, 253, 249, 0.72);
    border: 1px solid rgba(126, 136, 104, 0.32);
  }

  .xenah-product-related {
    margin-top: 24px;
  }

  .xenah-product-breadcrumb {
    padding: 0 0 14px;
    font-size: 0.84rem;
  }

  .xenah-product-overview {
    margin: 0 14px 18px;
    padding: 18px 0 0;
  }

  .xenah-product-trust-row {
    grid-template-columns: 1fr;
    margin: 0 14px 20px;
    gap: 10px;
  }

  .xenah-product-trust-card {
    min-height: 66px;
    padding: 12px 14px;
  }

  .xenah-product-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 1199px) {
  .xenah-nav { gap: 16px; font-size: 0.94rem; }
  .xenah-search-desktop { flex-basis: 250px; }
  .xenah-logo-wrap img { max-height: 54px; }
  .xenah-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xenah-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
  .xenah-header-grid {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    flex-wrap: nowrap;
    padding-inline: 2px;
  }

  html[dir="ltr"] .xenah-header-grid {
    direction: ltr;
    flex-direction: row;
  }

  html[dir="rtl"] .xenah-header-grid {
    direction: rtl;
    flex-direction: row;
  }

  .xenah-header-actions,
  .xenah-action-icons {
    display: contents;
  }

  .xenah-mobile-menu-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--card-bg);
    padding: 0;
    flex: 0 0 auto;
  }

  .xenah-mobile-menu-btn span {
    width: 18px;
    height: 1.8px;
    margin-inline: auto;
    background: var(--sage-dark);
    border-radius: 999px;
  }

  .xenah-nav,
  .xenah-search-desktop,
  .xenah-header-divider,
  .xenah-desktop-only { display: none; }

  .xenah-mobile-logo,
  .xenah-mobile-lang,
  .xenah-mobile-search,
  .xenah-mobile-cart,
  .xenah-mobile-account {
    flex: 0 0 auto;
  }

  .xenah-mobile-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: max-content;
    margin-inline: 2px 4px;
  }

  .xenah-mobile-logo img {
    max-height: 40px;
    max-width: 92px;
  }

  .xenah-mobile-lang,
  .xenah-mobile-search,
  .xenah-mobile-cart,
  .xenah-mobile-account {
    width: 40px;
    height: 40px;
  }

  .xenah-mobile-cart .xenah-cart-counter {
    top: -3px;
    inset-inline-end: -2px;
  }

  .xenah-search-toggle { display: inline-flex; }

  html[dir="ltr"] .xenah-mobile-menu-toggle { order: 1; }
  html[dir="ltr"] .xenah-mobile-logo { order: 2; }
  html[dir="ltr"] .xenah-mobile-lang { order: 3; }
  html[dir="ltr"] .xenah-mobile-search { order: 4; }
  html[dir="ltr"] .xenah-mobile-cart { order: 5; }
  html[dir="ltr"] .xenah-mobile-account { order: 6; }

  html[dir="rtl"] .xenah-mobile-menu-toggle { order: 1; }
  html[dir="rtl"] .xenah-mobile-logo { order: 2; }
  html[dir="rtl"] .xenah-mobile-lang { order: 3; }
  html[dir="rtl"] .xenah-mobile-search { order: 4; }
  html[dir="rtl"] .xenah-mobile-cart { order: 5; }
  html[dir="rtl"] .xenah-mobile-account { order: 6; }

  .xenah-mobile-search-row { display: block; padding-bottom: 14px; }
  .xenah-mobile-search-row[hidden] { display: none; }

  .xenah-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(47, 47, 43, 0.18);
    align-items: stretch;
  }

  .xenah-mobile-drawer.is-open { display: flex; }
  body.is-ltr .xenah-mobile-drawer { justify-content: flex-start; }
  body.is-rtl .xenah-mobile-drawer { justify-content: flex-end; }

  .xenah-mobile-drawer-panel {
    width: min(86vw, 340px);
    background: var(--warm-white);
    padding: 24px 20px;
    box-shadow: 0 0 0 1px rgba(232, 221, 202, 0.62), 18px 0 40px rgba(95, 104, 78, 0.12);
  }

  .xenah-mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
  }

  .xenah-drawer-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--sage-dark);
    font-size: 1.6rem;
    line-height: 1;
  }

  .xenah-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .xenah-mobile-nav a {
    padding: 13px 14px;
    border-radius: 16px;
    background: rgba(246, 241, 232, 0.84);
    font-weight: 700;
  }

  .xenah-lang-toggle-drawer {
    margin-top: 18px;
    width: 100%;
    border-radius: 999px;
  }

  .xenah-placeholder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xenah-placeholder-grid-categories,
  .xenah-placeholder-reviews,
  .xenah-about-placeholder { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .xenah-container { width: min(calc(100% - 20px), var(--container-max)); }

  .xenah-topbar-inner {
    min-height: 44px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px 0;
  }

  .xenah-topbar-links { gap: 14px; font-size: 0.88rem; }
  .xenah-header-grid { min-height: 72px; column-gap: 10px; }
  .xenah-logo-wrap img { max-height: 44px; }
  .xenah-icon-btn, .xenah-lang-toggle, .xenah-mobile-menu-btn { width: 40px; height: 40px; }
  .xenah-section { padding: 56px 0; }
  .xenah-footer-grid { grid-template-columns: 1fr; gap: 22px; }
}











#bestsellers {
  scroll-margin-top: 140px;
  padding-top: 96px;
}

.xenah-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.xenah-product-media {
  height: 220px;
  min-height: 220px;
}

.xenah-product-image-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

.xenah-product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.xenah-product-card--transparent .xenah-product-media {
  border-color: transparent;
  background: transparent;
}

.xenah-product-card--transparent .xenah-product-image-wrap {
  padding: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.xenah-product-card--transparent .xenah-product-image {
  max-width: 94%;
  max-height: 100%;
  object-fit: contain;
}

.xenah-product-card--boxed .xenah-product-media {
  background: transparent;
  border-color: transparent;
}

.xenah-product-card--boxed .xenah-product-image-wrap {
  padding: 4px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

.xenah-product-card--boxed .xenah-product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.xenah-product-btn {
  margin-top: auto;
}

@media (max-width: 1199px) {
  .xenah-product-media {
    height: 200px;
    min-height: 200px;
  }
}

@media (max-width: 767px) {
  #bestsellers {
    padding-top: 64px;
    scroll-margin-top: 120px;
  }

  .xenah-product-media {
    height: 170px;
    min-height: 170px;
  }
}

:root {
  --page-bg: #FFFDF8;
  --card-bg: #FFFFFF;
  --soft-cream: #FAF6EE;
  --border: rgba(201, 178, 150, 0.18);
}

body,
.site-main,
main,
#bestsellers {
  background: var(--page-bg);
}

.xenah-product-card {
  background: var(--card-bg);
  border: 1px solid rgba(201, 178, 150, 0.22);
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(88, 67, 45, 0.04);
}

.xenah-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(88, 67, 45, 0.065);
  border-color: rgba(126, 136, 104, 0.28);
}

.xenah-product-image-wrap {
  background: transparent;
  border: 0;
  border-radius: 0;
}

.xenah-product-card--transparent .xenah-product-image-wrap {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.xenah-product-card--transparent .xenah-product-image {
  max-width: 94%;
  max-height: 100%;
  object-fit: contain;
}

.xenah-product-card--boxed .xenah-product-image-wrap {
  background: transparent;
  border: 0;
}

.xenah-product-card--boxed .xenah-product-image {
  object-fit: contain;
}

.xenah-product-btn {
  background: var(--sage-dark);
  border-radius: 14px;
  box-shadow: none;
}

.xenah-product-btn:hover {
  background: var(--sage);
}

:root {
  --page-bg: #FFFDF8;
  --card-bg: #FFFFFF;
  --card-border: rgba(201, 178, 150, 0.16);
  --image-wrap-bg: #FFFFFF;
}

body,
.site-main,
main,
#bestsellers {
  background: var(--page-bg);
}

.xenah-product-card {
  background: var(--card-bg);
  border-color: var(--card-border);
  box-shadow: 0 6px 18px rgba(88, 67, 45, 0.025);
}

.xenah-product-card:hover {
  box-shadow: 0 12px 28px rgba(88, 67, 45, 0.05);
  border-color: rgba(126, 136, 104, 0.22);
}

.xenah-product-image-wrap {
  background: transparent;
  border-color: transparent;
}

.xenah-product-card--transparent .xenah-product-image-wrap {
  background: transparent;
  border-color: transparent;
}

.xenah-product-card--boxed .xenah-product-image-wrap {
  background: transparent;
  border-color: transparent;
}

:root {
  --page-bg: #FFFDF8;
  --card-bg: #FFFFFF;
  --card-border: rgba(201, 178, 150, 0.12);
  --image-wrap-bg: #FFFFFF;
}

body,
.site-main,
main,
#bestsellers {
  background: var(--page-bg);
}

.xenah-product-card {
  background: var(--card-bg);
  border-color: var(--card-border);
  box-shadow: 0 4px 12px rgba(88, 67, 45, 0.018);
}

.xenah-product-card:hover {
  box-shadow: 0 10px 22px rgba(88, 67, 45, 0.035);
  border-color: rgba(201, 178, 150, 0.16);
}

.xenah-product-image-wrap {
  background: transparent;
  border-color: transparent;
}

.xenah-product-card--transparent .xenah-product-image-wrap {
  background: transparent;
}

.xenah-product-card--boxed .xenah-product-image-wrap {
  background: transparent;
  border-color: transparent;
}

@media (max-width: 767px) {
  .xenah-product-card {
    padding: 12px 12px 14px;
  }

  .xenah-product-brand {
    margin-bottom: 6px;
  }

  .xenah-product-name {
    margin-bottom: 10px;
  }

  .xenah-product-category {
    margin: -4px 0 10px;
  }

  .xenah-product-meta {
    gap: 8px;
    margin-bottom: 10px;
  }

  .xenah-product-rating {
    font-size: 0.78rem;
  }

  .xenah-product-card__cart-btn {
    width: 42px;
    min-width: 42px;
    height: 42px;
    margin-inline-start: auto;
    padding: 0;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: 1;
  }

  .xenah-product-card__cart-btn::before {
    content: "??";
    font-size: 1rem;
    line-height: 1;
  }

  .xenah-product-card__cart-btn .xenah-product-btn-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

.xenah-product-cart-icon {
  display: none;
  width: 18px;
  height: 18px;
}

.xenah-product-cart-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 767px) {
  .xenah-product-card {
    padding-bottom: 12px;
  }

  .xenah-product-meta {
    margin-bottom: 0;
    align-items: flex-end;
  }

  .xenah-product-card__floating-cart {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    inset-inline-end: auto;
    z-index: 2;
    width: 34px;
    min-width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(201, 178, 150, 0.18);
    background: rgba(255, 253, 249, 0.96);
    color: var(--sage-dark);
    box-shadow: 0 6px 14px rgba(88, 67, 45, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: 1;
  }

  .xenah-product-card__floating-cart:hover {
    background: rgba(255, 253, 249, 0.98);
    color: var(--sage-dark);
    border-color: rgba(126, 136, 104, 0.22);
    box-shadow: 0 8px 16px rgba(88, 67, 45, 0.05);
  }

  .xenah-product-card__floating-cart .xenah-product-btn-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .xenah-product-card__floating-cart .xenah-product-cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .xenah-product-card__floating-cart {
    border-color: var(--sage);
    background: #ffffff;
    color: var(--sage);
    box-shadow: 0 3px 10px rgba(88, 67, 45, 0.025);
  }

  .xenah-product-card__floating-cart:hover {
    background: #ffffff;
    color: var(--sage);
    border-color: var(--sage);
    box-shadow: 0 5px 12px rgba(88, 67, 45, 0.035);
  }

  .xenah-product-card__floating-cart .xenah-product-cart-icon {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 767px) {
  .xenah-product-card__floating-cart {
    border-color: var(--sage);
    background: #ffffff;
    color: var(--sage);
    box-shadow: 0 2px 8px rgba(88, 67, 45, 0.018);
  }

  .xenah-product-card__floating-cart:hover {
    background: #ffffff;
    color: var(--sage);
    border-color: var(--sage);
    box-shadow: 0 3px 10px rgba(88, 67, 45, 0.024);
  }

  .xenah-product-card__floating-cart .xenah-product-cart-icon {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 767px) {
  .xenah-product-card__floating-cart {
    width: 30px;
    min-width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--sage);
    color: var(--sage);
    box-shadow: 0 1px 4px rgba(88, 67, 45, 0.02);
  }

  .xenah-product-card__floating-cart:hover {
    background: rgba(255, 255, 255, 0.92);
    border-color: var(--sage);
    color: var(--sage);
    box-shadow: 0 2px 6px rgba(88, 67, 45, 0.028);
  }

  .xenah-product-card__floating-cart .xenah-product-cart-icon {
    width: 17px;
    height: 17px;
  }

  .xenah-product-card__floating-cart .xenah-product-cart-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: var(--sage);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

@media (max-width: 767px) {
  .xenah-product-card__cart-btn::before,
  .xenah-product-card__cart-btn::after,
  .xenah-product-card__floating-cart::before,
  .xenah-product-card__floating-cart::after {
    content: none !important;
    display: none !important;
  }
}

@media (max-width: 767px) {
  .xenah-product-meta {
    margin-bottom: 8px;
  }

  .xenah-product-card__floating-cart {
    position: static;
    inset: auto;
    align-self: flex-start;
    margin-top: 0;
    width: 32px;
    min-width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--sage);
    color: var(--sage);
    box-shadow: 0 1px 4px rgba(88, 67, 45, 0.018);
  }

  .xenah-product-card__floating-cart:hover {
    background: rgba(255, 255, 255, 0.94);
    border-color: var(--sage);
    color: var(--sage);
    box-shadow: 0 2px 5px rgba(88, 67, 45, 0.022);
  }

  .xenah-product-card__floating-cart .xenah-product-cart-icon,
  .xenah-product-card__floating-cart .xenah-product-cart-icon svg {
    width: 16px;
    height: 16px;
  }

  .xenah-product-card__floating-cart .xenah-product-cart-icon svg {
    fill: none;
    stroke: var(--sage);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

.xenah-product-meta {
  flex-wrap: wrap;
}

.xenah-product-card__floating-cart {
  order: 3;
  flex: 0 0 100%;
  width: 100%;
  margin-top: 2px;
}

@media (max-width: 767px) {
  .xenah-product-meta {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
  }

  .xenah-product-price-wrap {
    flex: 0 1 auto;
  }

  .xenah-product-rating {
    flex: 0 1 auto;
    text-align: center;
  }

  .xenah-product-card__floating-cart {
    order: 0;
    flex: 0 0 auto;
    width: 32px;
    min-width: 32px;
    height: 32px;
    margin-top: 0;
    margin-inline-start: auto;
    align-self: center;
    position: static;
    inset: auto;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--sage);
    color: var(--sage);
    box-shadow: 0 1px 4px rgba(88, 67, 45, 0.018);
  }

  .xenah-product-card__floating-cart:hover {
    background: rgba(255, 255, 255, 0.94);
    border-color: var(--sage);
    color: var(--sage);
    box-shadow: 0 2px 5px rgba(88, 67, 45, 0.022);
  }

  .xenah-product-card__floating-cart .xenah-product-cart-icon,
  .xenah-product-card__floating-cart .xenah-product-cart-icon svg {
    width: 16px;
    height: 16px;
  }

  .xenah-product-card__floating-cart .xenah-product-cart-icon svg {
    fill: none;
    stroke: var(--sage);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

@media (max-width: 767px) {
  .xenah-product-meta {
    display: grid;
    align-items: start;
    gap: 2px 8px;
    margin-bottom: 0;
  }

  body.is-ltr .xenah-product-meta {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "price cart"
      "price rating";
  }

  body.is-rtl .xenah-product-meta {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "cart price"
      "rating price";
  }

  .xenah-product-price-wrap {
    grid-area: price;
    align-self: center;
    min-width: 0;
  }

  .xenah-product-card__floating-cart {
    grid-area: cart;
    justify-self: center;
    align-self: end;
    width: 30px;
    min-width: 30px;
    height: 30px;
    margin: 0;
  }

  .xenah-product-rating {
    grid-area: rating;
    align-self: start;
    justify-self: center;
    font-size: 0.76rem;
    line-height: 1.1;
    text-align: center;
    margin: 0;
  }
}

@media (max-width: 767px) {
  .xenah-product-card {
    display: grid;
    align-content: start;
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 0;
  }

  body.is-rtl .xenah-product-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .xenah-product-media,
  .xenah-product-brand,
  .xenah-product-name,
  .xenah-product-meta {
    grid-column: 1 / -1;
  }

  .xenah-product-media {
    grid-row: 1;
  }

  .xenah-product-brand {
    grid-row: 2;
  }

  .xenah-product-name {
    grid-row: 3;
  }

  .xenah-product-category {
    grid-row: 4;
    align-self: center;
    margin: -4px 0 8px;
  }

  body.is-ltr .xenah-product-category {
    grid-column: 1;
    text-align: left;
  }

  body.is-rtl .xenah-product-category {
    grid-column: 2;
    text-align: right;
  }

  .xenah-product-card__floating-cart {
    grid-row: 4;
    position: static;
    inset: auto;
    width: 30px;
    min-width: 30px;
    height: 30px;
    margin: 0 0 8px;
    padding: 0;
    align-self: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--sage);
    color: var(--sage);
    box-shadow: 0 1px 4px rgba(88, 67, 45, 0.018);
  }

  body.is-ltr .xenah-product-card__floating-cart {
    grid-column: 2;
    justify-self: end;
  }

  body.is-rtl .xenah-product-card__floating-cart {
    grid-column: 1;
    justify-self: start;
  }

  .xenah-product-meta {
    grid-row: 5;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin: 0;
  }
}

@media (max-width: 767px) {
  .xenah-product-card {
    display: flex;
    flex-direction: column;
  }

  .xenah-product-category {
    margin: -4px 0 8px;
    text-align: start;
  }

  .xenah-product-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "price cart"
      "rating rating";
    align-items: center;
    gap: 4px 8px;
    margin: 0;
  }

  body.is-rtl .xenah-product-meta {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "cart price"
      "rating rating";
  }

  .xenah-product-price-wrap {
    grid-area: price;
    min-width: 0;
    align-self: center;
  }

  .xenah-product-card__floating-cart {
    grid-area: cart;
    position: static;
    inset: auto;
    order: 0;
    flex: 0 0 auto;
    align-self: center;
    justify-self: end;
    width: 30px;
    min-width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--sage);
    color: var(--sage);
    box-shadow: 0 1px 4px rgba(88, 67, 45, 0.018);
  }

  body.is-rtl .xenah-product-card__floating-cart {
    justify-self: start;
  }

  .xenah-product-card__floating-cart:hover {
    background: rgba(255, 255, 255, 0.94);
    border-color: var(--sage);
    color: var(--sage);
    box-shadow: 0 2px 5px rgba(88, 67, 45, 0.022);
  }

  .xenah-product-card__floating-cart .xenah-product-cart-icon,
  .xenah-product-card__floating-cart .xenah-product-cart-icon svg {
    width: 16px;
    height: 16px;
  }

  .xenah-product-card__floating-cart .xenah-product-cart-icon svg {
    fill: none;
    stroke: var(--sage);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .xenah-product-rating {
    grid-area: rating;
    justify-self: start;
    margin: 0;
    font-size: 0.76rem;
    line-height: 1.1;
    text-align: start;
  }

  body.is-rtl .xenah-product-rating {
    justify-self: end;
    text-align: end;
  }
}

.xenah-product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  margin-bottom: 8px;
}

@media (max-width: 767px) {
  .xenah-product-category {
    margin: -4px 0 8px;
  }

  .xenah-product-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 4px;
  }

  .xenah-product-price-wrap {
    min-width: 0;
    flex: 0 1 auto;
  }

  .xenah-product-card__floating-cart {
    position: static;
    inset: auto;
    order: 0;
    flex: 0 0 auto;
    width: 30px;
    min-width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--sage);
    color: var(--sage);
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .xenah-product-card__floating-cart:hover,
  .xenah-product-card__floating-cart:active {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--sage);
    color: var(--sage);
    box-shadow: none;
  }

  .xenah-product-card__floating-cart .xenah-product-cart-icon,
  .xenah-product-card__floating-cart .xenah-product-cart-icon svg {
    width: 16px;
    height: 16px;
  }

  .xenah-product-card__floating-cart .xenah-product-cart-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .xenah-product-meta {
    display: block;
    margin: 0;
  }

  .xenah-product-rating {
    display: block;
    margin: 0;
    font-size: 0.76rem;
    line-height: 1.1;
    text-align: start;
  }

  body.is-rtl .xenah-product-rating {
    text-align: right;
  }
}

@media (max-width: 767px) {
  .xenah-product-name {
    margin-bottom: 6px;
  }

  .xenah-product-category {
    margin-top: 0;
    margin-bottom: 6px;
  }

  .xenah-product-meta-row {
    margin-top: 6px;
    margin-bottom: 4px;
  }

  .xenah-product-meta {
    text-align: center;
  }

  .xenah-product-rating {
    text-align: center;
    justify-self: center;
    margin-top: 4px;
  }

  body.is-rtl .xenah-product-rating,
  body.is-ltr .xenah-product-rating {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .xenah-product-card {
    display: flex;
    flex-direction: column;
  }

  .xenah-product-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3em;
    margin-bottom: 4px;
  }

  .xenah-product-category {
    margin-top: 0;
    margin-bottom: 6px;
  }

  .xenah-product-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
    margin-bottom: 0;
  }

  body.is-rtl .xenah-product-meta-row {
    flex-direction: row;
  }

  body.is-ltr .xenah-product-meta-row {
    flex-direction: row;
  }

  .xenah-product-price-wrap {
    min-width: 0;
    flex: 0 1 auto;
  }

  .xenah-product-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4px;
  }

  .xenah-product-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 0;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .xenah-product-name {
    margin-bottom: 3px;
  }

  .xenah-product-category {
    margin-bottom: 5px;
  }

  .xenah-product-meta-row {
    margin-top: 3px;
  }

  .xenah-product-meta {
    margin-top: 2px;
  }

  .xenah-product-card__floating-cart {
    width: 29px;
    min-width: 29px;
    height: 29px;
  }

  .xenah-product-card__floating-cart .xenah-product-cart-icon,
  .xenah-product-card__floating-cart .xenah-product-cart-icon svg {
    width: 15px;
    height: 15px;
  }
}

@media (min-width: 768px) {
  .xenah-product-meta-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: auto;
    margin-bottom: 10px;
  }

  .xenah-product-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
  }

  .xenah-product-card__floating-cart {
    position: static;
    inset: auto;
    order: initial;
    width: 100%;
    min-width: 0;
    height: 42px;
    margin: 0;
    padding: 0 14px;
    border-radius: 14px;
    background: var(--sage-dark);
    border: none;
    color: var(--white);
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease;
  }

  .xenah-product-card:hover .xenah-product-card__floating-cart {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .xenah-product-card__floating-cart .xenah-product-cart-icon {
    display: none;
  }

  .xenah-product-card__floating-cart .xenah-product-btn-text {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
    border: 0;
    font-size: 0.95rem;
    line-height: 1;
  }

  .xenah-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 0;
    margin-bottom: 0;
    text-align: initial;
  }

  .xenah-product-rating {
    display: inline-flex;
    width: auto;
    margin-top: 0;
    text-align: initial;
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  .xenah-product-card__floating-cart .xenah-product-btn-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .xenah-product-card__floating-cart .xenah-product-cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .xenah-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    background: rgba(34, 36, 30, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: stretch;
  }

  .xenah-mobile-drawer.is-open {
    display: flex;
  }

  body.is-ltr .xenah-mobile-drawer {
    justify-content: flex-start;
  }

  body.is-rtl .xenah-mobile-drawer {
    justify-content: flex-end;
  }

  .xenah-mobile-drawer-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 121;
    width: min(86vw, 340px);
    background: rgba(255, 253, 248, 0.98);
    padding: 24px 20px;
    box-shadow: 0 0 0 1px rgba(232, 221, 202, 0.62), 0 24px 60px rgba(47, 47, 43, 0.18);
    overflow-y: auto;
  }

  body.is-ltr .xenah-mobile-drawer-panel {
    left: 0;
  }

  body.is-rtl .xenah-mobile-drawer-panel {
    right: 0;
  }

  .xenah-mobile-drawer-head {
    position: sticky;
    top: 0;
    z-index: 1;
    background: rgba(255, 253, 248, 0.98);
    padding-bottom: 14px;
    margin-bottom: 20px;
  }

  .xenah-mobile-nav a {
    display: block;
  }
}

@media (max-width: 991px) {
  .xenah-mobile-drawer {
    z-index: 140;
    background: rgba(30, 20, 16, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .xenah-mobile-drawer-panel {
    z-index: 141;
    width: min(88vw, 348px);
    background: #FFFCF8;
    padding: 22px 18px 24px;
    box-shadow: 0 0 0 1px rgba(201, 178, 150, 0.16), 0 28px 70px rgba(30, 20, 16, 0.18);
  }

  .xenah-mobile-drawer-head {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(201, 178, 150, 0.18);
    background: #FFFCF8;
  }

  .xenah-mobile-drawer-logo {
    justify-content: flex-start;
  }

  .xenah-mobile-nav {
    gap: 10px;
  }

  .xenah-mobile-nav a {
    display: block;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(201, 178, 150, 0.22);
    color: var(--text);
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(88, 67, 45, 0.03);
  }

  .xenah-mobile-nav a:hover,
  .xenah-mobile-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(126, 136, 104, 0.22);
    outline: none;
  }

  .xenah-drawer-close {
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(88, 67, 45, 0.03);
  }

  .xenah-lang-toggle-drawer {
    margin-top: 16px;
    background: #ffffff;
  }
}

@media (max-width: 991px) {
  .xenah-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: none;
    background: rgba(24, 18, 15, 0.56);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 260ms ease;
  }

  .xenah-mobile-drawer.is-open {
    display: block;
    opacity: 1;
  }

  .xenah-mobile-drawer-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 141;
    width: 86vw;
    max-width: 340px;
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #FFFCF8;
    padding: 18px 16px 20px;
    box-shadow: 0 0 0 1px rgba(201, 178, 150, 0.14), 0 24px 58px rgba(30, 20, 16, 0.2);
    overflow: hidden;
    transition: transform 260ms ease;
  }

  body.is-rtl .xenah-mobile-drawer-panel {
    right: 0;
    transform: translateX(100%);
  }

  body.is-ltr .xenah-mobile-drawer-panel {
    left: 0;
    transform: translateX(-100%);
  }

  .xenah-mobile-drawer.is-open .xenah-mobile-drawer-panel {
    transform: translateX(0);
  }

  .xenah-mobile-drawer-head {
    position: sticky;
    top: 0;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding: 4px 0 14px;
    border-bottom: 1px solid rgba(201, 178, 150, 0.18);
    background: #FFFCF8;
  }

  .xenah-mobile-drawer-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: 6px;
  }

  .xenah-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .xenah-mobile-nav-row {
    width: 100%;
    min-height: 51px;
    padding: 13px 15px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(201, 178, 150, 0.22);
    color: var(--text);
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(88, 67, 45, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: start;
  }

  .xenah-mobile-nav-row:hover,
  .xenah-mobile-nav-row:focus-visible {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(126, 136, 104, 0.22);
    outline: none;
  }

  .xenah-mobile-nav-toggle {
    appearance: none;
  }

  .xenah-mobile-nav-chevron {
    width: 18px;
    height: 18px;
    color: var(--sage-dark);
    transition: transform 260ms ease;
    flex: 0 0 auto;
  }

  .xenah-mobile-nav-chevron svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  .xenah-mobile-nav-accordion.is-open .xenah-mobile-nav-chevron {
    transform: rotate(180deg);
  }

  .xenah-mobile-subnav {
    display: grid;
    gap: 7px;
    padding: 8px 8px 2px 14px;
  }

  .xenah-mobile-subnav[hidden] {
    display: none !important;
  }

  .xenah-mobile-subnav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 13px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(201, 178, 150, 0.14);
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 600;
  }

  .xenah-mobile-subnav a:hover,
  .xenah-mobile-subnav a:focus-visible {
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
    outline: none;
  }

  .xenah-drawer-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(201, 178, 150, 0.22);
    background: #ffffff;
    color: var(--sage-dark);
    font-size: 1.6rem;
    line-height: 1;
    box-shadow: 0 1px 2px rgba(88, 67, 45, 0.03);
  }

  .xenah-lang-toggle-drawer {
    margin-top: 14px;
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
    background: #ffffff;
  }
}







@media (min-width: 992px) {
  .xenah-header-grid {
    display: flex;
    align-items: center;
    min-height: 94px;
    column-gap: 18px;
  }

  html[dir="ltr"] .xenah-header-grid {
    direction: ltr;
    flex-direction: row;
  }

  html[dir="rtl"] .xenah-header-grid {
    direction: rtl;
    flex-direction: row;
  }

  .xenah-nav {
    order: 1;
    flex: 1 1 0;
    justify-content: flex-start;
    min-width: 0;
  }

  .xenah-logo-wrap {
    order: 2;
    flex: 0 0 auto;
    justify-content: center;
  }

  .xenah-header-actions {
    order: 3;
    flex: 1 1 0;
    justify-content: flex-start;
    gap: 14px;
    min-width: 0;
  }

  .xenah-search-desktop {
    width: min(100%, 300px);
    flex: 0 1 300px;
  }

  .xenah-action-icons {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .xenah-search-toggle {
    display: none;
  }
}

.xenah-shop-page {
  background: var(--page-bg);
}

.xenah-shop-hero {
  padding-top: 56px;
}

.xenah-shop-head {
  margin-bottom: 28px;
}

.xenah-shop-toolbar {
  border: 1px solid rgba(201, 178, 150, 0.16);
  background: rgba(255, 253, 248, 0.78);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(88, 67, 45, 0.04);
  margin-bottom: 22px;
}

.xenah-shop-toolbar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.xenah-shop-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.xenah-shop-field label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sage-dark);
}

.xenah-shop-input,
.xenah-shop-select {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(201, 178, 150, 0.24);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  padding: 0 14px;
  outline: none;
}

.xenah-shop-input:focus,
.xenah-shop-select:focus {
  border-color: rgba(126, 136, 104, 0.4);
  box-shadow: 0 0 0 3px rgba(126, 136, 104, 0.08);
}

.xenah-shop-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 16px;
}

.xenah-shop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.xenah-shop-toggle input {
  accent-color: var(--sage-dark);
}

.xenah-shop-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.xenah-shop-results-count,
.xenah-shop-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.xenah-shop-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.xenah-shop-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.xenah-shop-load-more[hidden] {
  display: none;
}

@media (max-width: 1199px) {
  .xenah-shop-toolbar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xenah-shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .xenah-shop-hero {
    padding-top: 44px;
  }

  .xenah-shop-toolbar {
    padding: 16px;
    border-radius: 20px;
  }

  .xenah-shop-toolbar-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .xenah-shop-results-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .xenah-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.xenah-shop-hero {
  padding-top: 48px;
}

.xenah-shop-head {
  margin-bottom: 22px;
}

.xenah-shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.xenah-shop-sidebar,
.xenah-shop-content {
  min-width: 0;
}

.xenah-shop-toolbar {
  border: 1px solid rgba(201, 178, 150, 0.16);
  background: rgba(255, 253, 248, 0.88);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(88, 67, 45, 0.04);
}

.xenah-shop-toolbar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.xenah-shop-toolbar-title {
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text);
}

.xenah-shop-toolbar-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.xenah-shop-reset {
  border: 0;
  background: transparent;
  color: var(--sage-dark);
  font-weight: 700;
  padding: 0;
}

.xenah-shop-toolbar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.xenah-shop-toggles {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(201, 178, 150, 0.14);
}

.xenah-shop-toggle {
  min-height: 24px;
}

.xenah-shop-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.xenah-shop-results-count {
  color: var(--sage-dark);
  font-weight: 700;
}

.xenah-shop-status {
  color: var(--muted);
}

.xenah-shop-load-more-wrap {
  margin-top: 30px;
}

.xenah-shop-load-more {
  min-width: 190px;
  min-height: 50px;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(88, 67, 45, 0.08);
}

@media (min-width: 992px) {
  .xenah-shop-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
    gap: 32px;
  }

  .xenah-shop-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
  }

  .xenah-shop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .xenah-shop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .xenah-shop-toolbar {
    padding: 18px;
    border-radius: 20px;
  }

  .xenah-shop-toolbar-head {
    margin-bottom: 14px;
  }

  .xenah-shop-toolbar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .xenah-shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .xenah-shop-hero {
    padding-top: 42px;
  }

  .xenah-shop-layout {
    gap: 18px;
  }

  .xenah-shop-toolbar {
    padding: 16px;
    border-radius: 18px;
  }

  .xenah-shop-toolbar-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .xenah-shop-toolbar-grid {
    grid-template-columns: 1fr;
  }

  .xenah-shop-results-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .xenah-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xenah-shop-load-more {
    width: 100%;
  }
}

/* Shop page visual polish */
.xenah-shop-page {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.56), transparent 0 32%),
    linear-gradient(180deg, var(--page-bg) 0%, var(--page-bg-soft) 100%);
}

.xenah-shop-page .xenah-container {
  position: relative;
}

.xenah-shop-head {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 28px;
}

.xenah-shop-page .xenah-section-kicker {
  color: var(--gold);
  letter-spacing: 0.12em;
}

.xenah-shop-page .xenah-section-head h1 {
  margin-bottom: 12px;
}

.xenah-shop-page .xenah-section-head p:last-child {
  max-width: 640px;
  margin-inline: auto;
  color: var(--muted);
}

.xenah-shop-layout {
  gap: 26px;
}

.xenah-shop-toolbar {
  position: relative;
  border: 1px solid rgba(201, 178, 150, 0.18);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 251, 245, 0.96) 100%);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 16px 36px rgba(88, 67, 45, 0.05);
}

.xenah-shop-toolbar::after {
  content: "";
  position: absolute;
  inset-inline: 22px;
  top: 76px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 178, 150, 0.2), transparent);
}

.xenah-shop-toolbar-head {
  margin-bottom: 24px;
  padding-bottom: 18px;
}

.xenah-shop-toolbar-title {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.xenah-shop-toolbar-text {
  max-width: 23ch;
  line-height: 1.8;
}

.xenah-shop-reset {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(201, 178, 150, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: var(--sage-dark);
  font-weight: 800;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.xenah-shop-reset:hover,
.xenah-shop-reset:focus-visible {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(126, 136, 104, 0.24);
  color: var(--sage-dark);
  transform: translateY(-1px);
}

.xenah-shop-toolbar-grid {
  gap: 16px;
}

.xenah-shop-field {
  gap: 9px;
}

.xenah-shop-field label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--sage-dark);
}

.xenah-shop-input,
.xenah-shop-select {
  min-height: 50px;
  border-radius: 17px;
  border: 1px solid rgba(201, 178, 150, 0.22);
  background: rgba(255, 255, 255, 0.96);
  padding-inline: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.xenah-shop-select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(126, 136, 104, 0.9) 50%),
    linear-gradient(135deg, rgba(126, 136, 104, 0.9) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-inline-end: 38px;
}

html[dir="rtl"] .xenah-shop-select {
  background-position:
    20px calc(50% - 3px),
    14px calc(50% - 3px);
  padding-inline-start: 38px;
  padding-inline-end: 16px;
}

.xenah-shop-input::placeholder {
  color: color-mix(in srgb, var(--muted) 78%, white);
}

.xenah-shop-input:hover,
.xenah-shop-select:hover {
  border-color: rgba(201, 178, 150, 0.32);
}

.xenah-shop-input:focus,
.xenah-shop-select:focus {
  border-color: rgba(126, 136, 104, 0.34);
  box-shadow: 0 0 0 4px rgba(126, 136, 104, 0.08);
  background: #fffefa;
}

.xenah-shop-toggles {
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
}

.xenah-shop-toggle {
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 16px;
  border: 1px solid rgba(201, 178, 150, 0.16);
  background: rgba(255, 255, 255, 0.78);
  justify-content: space-between;
}

.xenah-shop-toggle span {
  flex: 1 1 auto;
}

.xenah-shop-toggle input {
  inline-size: 17px;
  block-size: 17px;
  margin: 0;
  accent-color: var(--sage-dark);
}

.xenah-shop-results-bar {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(201, 178, 150, 0.16);
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 12px 28px rgba(88, 67, 45, 0.035);
}

.xenah-shop-results-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.xenah-shop-results-count {
  font-size: 1rem;
  font-weight: 800;
  color: var(--sage-dark);
}

.xenah-shop-status {
  font-size: 0.9rem;
  color: var(--muted);
}

.xenah-shop-active-state {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.xenah-shop-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(201, 178, 150, 0.2);
  background: var(--white);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.xenah-shop-active-chip:hover {
  border-color: var(--sage-dark);
  background: var(--card-bg);
}

.xenah-shop-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  color: inherit;
  font-size: 1.1rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  margin: 0 -4px 0 0;
  transition: background 0.2s ease;
}

[dir="rtl"] .xenah-shop-chip-remove {
  margin: 0 0 0 -4px;
}

.xenah-shop-chip-remove:hover {
  background: var(--sage-dark);
  color: var(--white);
}

.xenah-shop-clear-all {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  color: var(--sage-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.xenah-shop-clear-all:hover {
  background: rgba(201, 178, 150, 0.1);
}

@media (max-width: 767.98px) {
  .xenah-shop-active-state {
    gap: 8px;
    margin-bottom: 20px;
  }
}

.xenah-shop-grid {
  gap: 20px;
}

.xenah-shop-page .xenah-product-card {
  padding: 16px 16px 18px;
  border-radius: 24px;
  border-color: rgba(201, 178, 150, 0.14);
  box-shadow: 0 10px 26px rgba(88, 67, 45, 0.03);
  overflow: hidden;
}

.xenah-shop-page .xenah-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 136, 104, 0.18);
  box-shadow: 0 18px 34px rgba(88, 67, 45, 0.06);
}

.xenah-shop-page .xenah-product-fav {
  top: 14px;
  inset-inline-end: 14px;
}

.xenah-shop-page .xenah-product-media {
  border-radius: 0;
  margin-bottom: 16px;
  background: transparent;
}

.xenah-shop-page .xenah-product-image-wrap {
  border-radius: 0;
}

.xenah-shop-page .xenah-product-brand {
  margin-bottom: 7px;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.xenah-shop-page .xenah-product-name {
  margin-bottom: 7px;
  font-size: 1rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.55em * 2);
}

.xenah-shop-page .xenah-product-category {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.83rem;
}

.xenah-shop-page .xenah-product-meta-row {
  margin-top: 6px;
  margin-bottom: 8px;
}

.xenah-shop-page .xenah-product-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--sage-dark);
}

.xenah-shop-page .xenah-product-old-price {
  opacity: 0.8;
}

.xenah-shop-page .xenah-product-meta {
  margin: 0;
}

.xenah-shop-page .xenah-product-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.95);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
}

.xenah-shop-page .xenah-product-btn {
  border-radius: 14px;
}

.xenah-shop-page .xenah-product-card__floating-cart {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(126, 136, 104, 0.18);
}

@media (min-width: 768px) {
  .xenah-shop-page .xenah-product-card__floating-cart {
    min-width: 100%;
    width: 100%;
    min-height: 44px;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 220ms ease, transform 220ms ease, background-color 180ms ease, border-color 180ms ease;
  }

  .xenah-shop-page .xenah-product-card:hover .xenah-product-card__floating-cart,
  .xenah-shop-page .xenah-product-card:focus-within .xenah-product-card__floating-cart {
    opacity: 1;
    transform: translateY(0);
  }

  .xenah-shop-page .xenah-product-card__floating-cart .xenah-product-cart-icon {
    display: none;
  }

  .xenah-shop-page .xenah-product-card__floating-cart .xenah-product-btn-text {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;
    white-space: nowrap;
  }
}

.xenah-shop-feedback {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 280px;
  padding: 32px 20px;
  border-radius: 28px;
  border: 1px solid rgba(201, 178, 150, 0.16);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(251, 246, 238, 0.92) 100%);
  text-align: center;
}

.xenah-shop-feedback-badge {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.9), transparent 0 34%),
    linear-gradient(180deg, rgba(176, 149, 91, 0.16), rgba(126, 136, 104, 0.12));
}

.xenah-shop-feedback-title {
  margin: 0;
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 800;
}

.xenah-shop-feedback-text {
  max-width: 36ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.xenah-shop-feedback-action {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(126, 136, 104, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--sage-dark);
  font-weight: 800;
}

.xenah-shop-page .xenah-product-card-skeleton {
  border-radius: 24px;
  border: 1px solid rgba(201, 178, 150, 0.12);
  box-shadow: 0 10px 26px rgba(88, 67, 45, 0.024);
}

.xenah-shop-page .xenah-skeleton-block,
.xenah-shop-page .xenah-skeleton-line {
  background: linear-gradient(90deg, rgba(248, 241, 231, 0.9) 25%, rgba(255, 255, 255, 0.98) 50%, rgba(248, 241, 231, 0.9) 75%);
  background-size: 200% 100%;
}

.xenah-shop-load-more-wrap {
  margin-top: 34px;
}

.xenah-shop-load-more {
  min-width: 210px;
  min-height: 52px;
  border-radius: 999px;
  padding-inline: 24px;
  box-shadow: 0 14px 28px rgba(88, 67, 45, 0.08);
}

.xenah-shop-load-more:hover,
.xenah-shop-load-more:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(88, 67, 45, 0.1);
}

@media (min-width: 992px) {
  .xenah-shop-layout {
    gap: 32px;
  }

  .xenah-shop-sidebar {
    top: 122px;
  }
}

@media (max-width: 991px) {
  .xenah-shop-layout {
    gap: 20px;
  }

  .xenah-shop-toolbar {
    padding: 20px;
    border-radius: 22px;
  }

  .xenah-shop-toolbar::after {
    inset-inline: 18px;
    top: 72px;
  }

  .xenah-shop-results-copy {
    flex-direction: column;
    align-items: flex-start;
  }

  .xenah-shop-page .xenah-product-card {
    padding: 15px 15px 16px;
  }
}

@media (max-width: 767px) {
  .xenah-shop-head {
    margin-bottom: 20px;
  }

  .xenah-shop-toolbar {
    padding: 18px;
    border-radius: 20px;
  }

  .xenah-shop-toolbar::after {
    display: none;
  }

  .xenah-shop-toolbar-head {
    margin-bottom: 16px;
    padding-bottom: 0;
  }

  .xenah-shop-field label {
    font-size: 0.8rem;
  }

  .xenah-shop-toggle {
    min-height: 46px;
  }

  .xenah-shop-results-bar {
    padding: 16px;
    border-radius: 20px;
  }

  .xenah-shop-active-state {
    gap: 6px;
  }

  .xenah-shop-active-chip {
    min-height: 30px;
    padding: 5px 10px;
    font-size: 0.76rem;
  }

  .xenah-shop-grid {
    gap: 16px;
  }

  .xenah-shop-page .xenah-product-card {
    padding: 13px 13px 14px;
    border-radius: 20px;
  }

  .xenah-shop-page .xenah-product-media {
    margin-bottom: 14px;
  }

  .xenah-shop-page .xenah-product-name {
    font-size: 0.94rem;
  }

  .xenah-shop-feedback {
    min-height: 220px;
    padding: 28px 16px;
    border-radius: 22px;
  }

  .xenah-shop-load-more {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .xenah-shop-page .xenah-product-meta-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
  }

  .xenah-shop-page .xenah-product-price-wrap {
    align-items: flex-start;
  }
}

/* Shop page final polish */
.xenah-shop-page .xenah-shop-hero {
  padding-bottom: 72px;
}

.xenah-shop-page .xenah-shop-head .xenah-section-kicker {
  margin-bottom: 14px;
}

.xenah-shop-page .xenah-shop-head h1 {
  line-height: 1.18;
}

.xenah-shop-page .xenah-shop-head p:last-child {
  line-height: 1.85;
}

.xenah-shop-toggle {
  position: relative;
}

.xenah-shop-toggle input {
  appearance: none;
  -webkit-appearance: none;
  inline-size: 18px;
  block-size: 18px;
  border-radius: 6px;
  border: 1px solid rgba(126, 136, 104, 0.34);
  background: rgba(255, 255, 255, 0.96);
  display: inline-grid;
  place-items: center;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.xenah-shop-toggle input::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--sage-dark);
  transform: scale(0);
  transition: transform 160ms ease;
}

.xenah-shop-toggle input:checked {
  border-color: rgba(126, 136, 104, 0.5);
  box-shadow: 0 0 0 3px rgba(126, 136, 104, 0.08);
}

.xenah-shop-toggle input:checked::after {
  transform: scale(1);
}

.xenah-shop-toggle input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(126, 136, 104, 0.1);
}

.xenah-shop-page .xenah-product-media-live.is-fallback {
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.98) 0%, rgba(245, 236, 224, 0.82) 100%);
}

.xenah-shop-page .xenah-product-media-live.is-fallback .xenah-product-placeholder-visual {
  opacity: 0.9;
}

.xenah-shop-page .xenah-product-bottle {
  filter: saturate(0.88);
}

.xenah-shop-feedback-action:hover,
.xenah-shop-feedback-action:focus-visible {
  background: #fffdfa;
  border-color: rgba(126, 136, 104, 0.24);
  transform: translateY(-1px);
}

@media (min-width: 992px) {
  .xenah-shop-results-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .xenah-shop-active-state {
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  .xenah-shop-page .xenah-shop-hero {
    padding-bottom: 56px;
  }

  .xenah-shop-page .xenah-shop-head p:last-child {
    line-height: 1.78;
  }
}

/* Shop cards compact refinement */
.xenah-shop-page .xenah-shop-grid {
  gap: 18px;
}

.xenah-shop-page .xenah-product-card {
  padding: 14px 14px 15px;
  border-radius: 22px;
  box-shadow: 0 8px 20px rgba(88, 67, 45, 0.028);
}

.xenah-shop-page .xenah-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(88, 67, 45, 0.05);
}

.xenah-shop-page .xenah-product-fav {
  top: 12px;
  inset-inline-end: 12px;
}

.xenah-shop-page .xenah-product-media {
  height: 196px;
  min-height: 196px;
  border-radius: 0;
  margin-bottom: 13px;
}

.xenah-shop-page .xenah-product-image-wrap {
  border-radius: 0;
}

.xenah-shop-page .xenah-product-media-live.is-fallback .xenah-product-placeholder-visual {
  transform: scale(0.94);
  transform-origin: center;
}

.xenah-shop-page .xenah-product-brand {
  margin-bottom: 5px;
  font-size: 0.76rem;
}

.xenah-shop-page .xenah-product-name {
  margin-bottom: 5px;
  font-size: 0.96rem;
  line-height: 1.48;
  min-height: calc(1.48em * 2);
}

.xenah-shop-page .xenah-product-category {
  margin-bottom: 8px;
  font-size: 0.81rem;
}

.xenah-shop-page .xenah-product-meta-row {
  margin-top: 4px;
  margin-bottom: 6px;
}

.xenah-shop-page .xenah-product-price-wrap {
  gap: 2px;
}

.xenah-shop-page .xenah-product-price {
  font-size: 1rem;
}

.xenah-shop-page .xenah-product-old-price {
  font-size: 0.78rem;
}

.xenah-shop-page .xenah-product-meta {
  min-height: 28px;
}

.xenah-shop-page .xenah-product-rating {
  min-height: 28px;
  padding: 4px 9px;
  font-size: 0.79rem;
}

@media (min-width: 768px) {
  .xenah-shop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .xenah-shop-page .xenah-product-card__floating-cart {
    min-height: 42px;
    margin-top: 6px;
  }
}

@media (min-width: 992px) {
  .xenah-shop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .xenah-shop-page .xenah-product-card {
    padding: 15px 15px 16px;
  }

  .xenah-shop-page .xenah-product-media {
    height: 208px;
    min-height: 208px;
  }
}

@media (min-width: 1200px) {
  .xenah-shop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .xenah-shop-page .xenah-product-media {
    height: 198px;
    min-height: 198px;
  }
}

@media (max-width: 991px) {
  .xenah-shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .xenah-shop-page .xenah-product-card {
    padding: 13px 13px 14px;
  }

  .xenah-shop-page .xenah-product-media {
    height: 184px;
    min-height: 184px;
  }
}

@media (max-width: 767px) {
  .xenah-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .xenah-shop-page .xenah-product-card {
    padding: 12px 12px 13px;
    border-radius: 18px;
  }

  .xenah-shop-page .xenah-product-media {
    height: 162px;
    min-height: 162px;
    margin-bottom: 12px;
  }

  .xenah-shop-page .xenah-product-brand {
    margin-bottom: 4px;
    font-size: 0.72rem;
  }

  .xenah-shop-page .xenah-product-name {
    margin-bottom: 4px;
    font-size: 0.9rem;
    line-height: 1.42;
    min-height: calc(1.42em * 2);
  }

  .xenah-shop-page .xenah-product-category {
    margin-bottom: 6px;
    font-size: 0.77rem;
  }

  .xenah-shop-page .xenah-product-meta-row {
    margin-top: 2px;
    margin-bottom: 4px;
  }

  .xenah-shop-page .xenah-product-price {
    font-size: 0.94rem;
  }

  .xenah-shop-page .xenah-product-old-price {
    font-size: 0.74rem;
  }

  .xenah-shop-page .xenah-product-rating {
    min-height: 26px;
    padding: 3px 8px;
    font-size: 0.75rem;
  }
}

/* Stable shop sidebar direction fix handled at the end of file */
@media (min-width: 992px) {
  .xenah-shop-sidebar,
  .xenah-shop-content {
    min-width: 0;
    overflow: visible;
  }
}

/* Shop sidebar soft premium refinement */
.xenah-shop-toolbar {
  border: 1px solid rgba(201, 178, 150, 0.14);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98) 0%, rgba(252, 248, 241, 0.96) 100%);
  border-radius: 30px;
  padding: 28px 24px;
  box-shadow: 0 14px 34px rgba(88, 67, 45, 0.04);
}

.xenah-shop-toolbar::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.36), transparent 24%);
  pointer-events: none;
}

.xenah-shop-toolbar::after {
  inset-inline: 24px;
  top: 86px;
  background: linear-gradient(90deg, transparent, rgba(201, 178, 150, 0.16), transparent);
}

.xenah-shop-toolbar-head {
  position: relative;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 26px;
  padding-bottom: 18px;
}

.xenah-shop-toolbar-title {
  margin-bottom: 7px;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--text);
}

.xenah-shop-toolbar-text {
  max-width: 24ch;
  font-size: 0.9rem;
  line-height: 1.82;
  color: color-mix(in srgb, var(--muted) 92%, white);
}

.xenah-shop-reset {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(201, 178, 150, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--sage-dark);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(88, 67, 45, 0.025);
}

.xenah-shop-reset:hover,
.xenah-shop-reset:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(126, 136, 104, 0.2);
  box-shadow: 0 6px 14px rgba(88, 67, 45, 0.035);
}

.xenah-shop-toolbar-grid {
  gap: 18px;
}

.xenah-shop-field {
  gap: 10px;
}

.xenah-shop-field label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  color: var(--sage-dark);
  opacity: 0.92;
}

.xenah-shop-input,
.xenah-shop-select {
  min-height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(201, 178, 150, 0.18);
  background: rgba(255, 255, 255, 0.94);
  padding-inline: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 1px 2px rgba(88, 67, 45, 0.015);
}

.xenah-shop-select {
  background-size: 5px 5px, 5px 5px;
}

.xenah-shop-input:hover,
.xenah-shop-select:hover {
  border-color: rgba(201, 178, 150, 0.26);
  background: rgba(255, 255, 255, 0.98);
}

.xenah-shop-input:focus,
.xenah-shop-select:focus {
  border-color: rgba(126, 136, 104, 0.28);
  box-shadow:
    0 0 0 4px rgba(126, 136, 104, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.xenah-shop-toggles {
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(201, 178, 150, 0.12);
}

.xenah-shop-toggle {
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(201, 178, 150, 0.12);
  background: rgba(255, 255, 255, 0.7);
  gap: 12px;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.xenah-shop-toggle:hover {
  border-color: rgba(201, 178, 150, 0.2);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 16px rgba(88, 67, 45, 0.025);
}

.xenah-shop-toggle span {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.xenah-shop-toggle input {
  inline-size: 18px;
  block-size: 18px;
  border-radius: 5px;
  border-color: rgba(126, 136, 104, 0.3);
  background: rgba(255, 255, 255, 0.96);
  flex: 0 0 auto;
}

.xenah-shop-toggle input::after {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

@media (min-width: 992px) {
  .xenah-shop-toolbar {
    padding: 30px 24px 24px;
  }
}

@media (max-width: 991px) {
  .xenah-shop-toolbar {
    padding: 22px 20px;
    border-radius: 24px;
  }

  .xenah-shop-toolbar::after {
    inset-inline: 20px;
    top: 82px;
  }
}

@media (max-width: 767px) {
  .xenah-shop-toolbar {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .xenah-shop-toolbar-head {
    margin-bottom: 18px;
    gap: 10px;
  }

  .xenah-shop-toolbar-text {
    max-width: none;
  }

  .xenah-shop-input,
  .xenah-shop-select {
    min-height: 48px;
    border-radius: 16px;
  }

  .xenah-shop-toggle {
    min-height: 46px;
    border-radius: 16px;
  }
}

/* Shop custom dropdowns - Absolute Floating version */
.xenah-shop-native-select {
  position: absolute !important;
  inline-size: 1px !important;
  block-size: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.xenah-shop-field {
  position: relative;
  /* Remove global z-index to allow custom-select state to control stacking */
}

/* Ensure sidebar items don't clip the floating menus */
.xenah-shop-sidebar, 
.xenah-shop-toolbar {
  overflow: visible !important;
}

.xenah-shop-custom-select {
  position: relative;
  width: 100%;
  z-index: 10; /* Base stacking level */
}

/* When open, this specific select moves to the very top of the sidebar stack */
.xenah-shop-custom-select.is-open {
  z-index: 400;
}

.xenah-shop-custom-select-trigger {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(201, 178, 150, 0.18);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: start;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 1px 2px rgba(88, 67, 45, 0.015);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, transform 180ms ease;
  cursor: pointer;
}

.xenah-shop-custom-select-trigger:hover {
  border-color: rgba(201, 178, 150, 0.26);
  background: rgba(255, 255, 255, 0.98);
}

.xenah-shop-custom-select.is-open .xenah-shop-custom-select-trigger,
.xenah-shop-custom-select-trigger:focus-visible {
  outline: none;
  border-color: rgba(126, 136, 104, 0.28);
  box-shadow:
    0 0 0 4px rgba(126, 136, 104, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  background: #fffefa;
}

.xenah-shop-custom-select-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.96rem;
}

.xenah-shop-custom-select-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--sage-dark);
  transition: transform 220ms ease, opacity 180ms ease;
}

.xenah-shop-custom-select-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.xenah-shop-custom-select.is-open .xenah-shop-custom-select-icon {
  transform: rotate(180deg);
}

.xenah-shop-custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline: 0;
  z-index: 450;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid rgba(201, 178, 150, 0.16);
  background: #FFFCF8;
  box-shadow: 0 20px 48px rgba(47, 47, 43, 0.16);
  transform: translateY(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 220ms ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.xenah-shop-custom-select.is-open .xenah-shop-custom-select-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.xenah-shop-custom-select-options {
  display: grid;
  gap: 4px;
  max-height: min(240px, 38vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 12px;
}

.xenah-shop-custom-select-option {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  text-align: start;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease;
  cursor: pointer;
}

.xenah-shop-custom-select-option:hover,
.xenah-shop-custom-select-option:focus-visible {
  outline: none;
  background: rgba(176, 149, 91, 0.08);
  color: var(--sage-dark);
}

.xenah-shop-custom-select-option.is-selected {
  background: rgba(126, 136, 104, 0.1);
  color: var(--sage-dark);
  font-weight: 700;
}

html[dir="rtl"] .xenah-shop-custom-select-trigger,
html[dir="rtl"] .xenah-shop-custom-select-option,
html[dir="rtl"] .xenah-shop-custom-select-menu {
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] .xenah-shop-custom-select-trigger,
html[dir="ltr"] .xenah-shop-custom-select-option,
html[dir="ltr"] .xenah-shop-custom-select-menu {
  direction: ltr;
  text-align: left;
}

@media (max-width: 767px) {
  .xenah-shop-custom-select-trigger {
    min-height: 48px;
    border-radius: 16px;
  }

  .xenah-shop-custom-select-menu {
    border-radius: 18px;
    z-index: 150;
  }

  .xenah-shop-custom-select-options {
    max-height: min(260px, 40vh);
  }
}

/* Consolidated shop layout rules are handled at the end of the file */


/* Shop refinement: desktop Add to Cart + compact toolbar + sidebar rhythm */
@media (min-width: 768px) {
  .xenah-shop-page .xenah-product-meta-row {
    margin-bottom: 6px;
  }

  .xenah-shop-page .xenah-product-card__floating-cart {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    margin-top: 6px;
    border: none;
    background: var(--sage-dark);
    color: var(--white);
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease, background-color 220ms ease;
  }

  .xenah-shop-page .xenah-product-card:hover .xenah-product-card__floating-cart,
  .xenah-shop-page .xenah-product-card:focus-within .xenah-product-card__floating-cart {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .xenah-shop-page .xenah-product-card__floating-cart:hover,
  .xenah-shop-page .xenah-product-card__floating-cart:focus-visible {
    background: var(--sage);
  }

  .xenah-shop-page .xenah-product-card__floating-cart .xenah-product-btn-text {
    color: var(--white);
    font-weight: 700;
  }
}

@media (min-width: 992px) {
  .xenah-shop-toolbar {
    padding: 24px 20px 20px;
  }

  .xenah-shop-toolbar-head {
    margin-bottom: 18px;
    padding-bottom: 12px;
  }

  .xenah-shop-toolbar-grid {
    gap: 14px;
  }

  .xenah-shop-toggles {
    margin-top: 16px;
    padding-top: 16px;
    gap: 10px;
  }

  .xenah-shop-toggle {
    min-height: 46px;
    padding: 10px 12px;
  }

  .xenah-shop-results-bar {
    padding: 8px 0 10px;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    gap: 0;
    margin-bottom: 14px;
  }

  .xenah-shop-results-copy {
    display: block;
  }

  .xenah-shop-results-count {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
  }
}

/* Shop reset button one-line premium refinement */
.xenah-shop-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  width: auto;
  min-width: max-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(201, 178, 150, 0.18);
  background: rgba(255, 255, 255, 0.84);
  color: var(--sage-dark);
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
  letter-spacing: 0;
  box-shadow: 0 2px 8px rgba(88, 67, 45, 0.02);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.xenah-shop-reset:hover,
.xenah-shop-reset:focus-visible {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(126, 136, 104, 0.24);
  color: var(--sage-dark);
  box-shadow: 0 4px 10px rgba(88, 67, 45, 0.03);
  transform: translateY(-1px);
}

/* Shop Pagination & Load More Wrap */
.xenah-shop-load-more-wrap {
  width: 100%;
  display: flex !important;
  justify-content: center;
  align-items: center;
  grid-column: 1 / -1;
  margin-top: 48px;
  margin-bottom: 48px;
}

.xenah-shop-load-more-wrap[hidden] {
  display: none !important;
}

.xenah-shop-page .xenah-shop-load-more {
  display: none !important;
}

.xenah-shop-pagination {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(201, 178, 150, 0.22);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.96);
  box-shadow: var(--shadow-soft);
}

.xenah-shop-pagination-pages {
  display: flex;
  align-items: center;
  gap: 8px;
}

.xenah-shop-pagination-btn,
.xenah-shop-pagination-number {
  appearance: none;
  -webkit-appearance: none;
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(201, 178, 150, 0.28);
  border-radius: 999px;
  background: var(--white);
  color: var(--sage-dark);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.xenah-shop-pagination-btn:hover:not(:disabled),
.xenah-shop-pagination-number:hover:not(.is-active) {
  transform: translateY(-1px);
  border-color: rgba(94, 108, 76, 0.32);
  box-shadow: 0 8px 18px rgba(94, 108, 76, 0.12);
}

.xenah-shop-pagination-number.is-active {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(94, 108, 76, 0.16);
}

.xenah-shop-pagination-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.xenah-shop-pagination-ellipsis {
  min-width: 24px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

/* Mobile Filter Toggle */
.xenah-mobile-filter-toggle {
  display: none;
}

.xenah-mobile-filter-overlay,
.xenah-mobile-filter-close,
.xenah-mobile-filter-actions,
.xenah-mobile-shop-toolbar {
  display: none;
}

@media (max-width: 767.98px) {
  .xenah-mobile-filter-toggle {
    position: sticky;
    top: 82px;
    z-index: 12;
    min-width: 104px;
    min-height: 42px;
    margin: 0 0 12px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 178, 150, 0.22);
    border-radius: 999px;
    background: var(--sage-dark);
    color: var(--white);
    box-shadow: 0 12px 24px rgba(94, 108, 76, 0.18);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
  }

  .xenah-mobile-filter-label {
    display: inline-block;
    white-space: nowrap;
    color: var(--white);
  }

  .xenah-mobile-filter-overlay {
    position: fixed;
    inset: 0;
    z-index: 86;
    display: block;
    border: 0;
    background: rgba(47, 47, 43, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .xenah-shop-layout.is-mobile-filter-open .xenah-mobile-filter-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  body.is-shop-filter-open {
    overflow: hidden;
  }

  .xenah-shop-sidebar {
    position: fixed;
    inset-block: 0;
    z-index: 87;
    width: min(88vw, 360px);
    max-width: 360px;
    padding: 14px;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    background: var(--page-bg);
    box-shadow: 0 18px 42px rgba(47, 47, 43, 0.18);
    transition: transform 220ms ease;
  }

  html[dir="rtl"] .xenah-shop-sidebar,
  body.is-rtl .xenah-shop-sidebar {
    inset-inline-end: 0;
    inset-inline-start: auto;
    transform: translateX(105%);
  }

  html[dir="ltr"] .xenah-shop-sidebar,
  body.is-ltr .xenah-shop-sidebar {
    inset-inline-start: 0;
    inset-inline-end: auto;
    transform: translateX(-105%);
  }

  .xenah-shop-layout.is-mobile-filter-open .xenah-shop-sidebar {
    transform: translateX(0);
  }

  .xenah-shop-sidebar .xenah-shop-toolbar {
    margin: 0;
    padding: 18px 16px;
    border-radius: 22px;
    box-shadow: none;
  }

  .xenah-mobile-filter-close {
    width: 36px;
    min-width: 36px;
    height: 36px;
    border: 1px solid rgba(201, 178, 150, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--sage-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    line-height: 1;
  }

  .xenah-mobile-filter-actions {
    position: sticky;
    bottom: -18px;
    z-index: 2;
    margin: 18px -16px -18px;
    padding: 12px 16px 16px;
    display: block;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0), var(--page-bg) 28%);
  }

  .xenah-mobile-filter-apply {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    background: var(--sage-dark);
    color: var(--white);
    font-weight: 800;
  }

  .xenah-shop-results-bar {
    margin-top: 4px;
  }

  .xenah-shop-load-more-wrap {
    margin-top: 32px;
    margin-bottom: 96px;
    padding-inline: 12px;
  }

  .xenah-shop-pagination {
    width: 100%;
    max-width: 330px;
    border-radius: 24px;
    gap: 6px;
    padding: 10px;
  }

  .xenah-shop-pagination-btn,
  .xenah-shop-pagination-number {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .xenah-shop-pagination-pages {
    gap: 6px;
  }

  .xenah-shop-pagination-prev,
  .xenah-shop-pagination-next {
    flex: 1 1 auto;
    min-width: 92px;
  }

  .xenah-shop-page {
    padding-bottom: 96px !important;
  }
}

/* Shop filter dropdown bottom polish */
.xenah-shop-sidebar .xenah-shop-custom-select-menu {
  border-radius: 24px;
  overflow: hidden;
  padding-bottom: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(95, 104, 78, 0.12);
}

.xenah-shop-sidebar .xenah-shop-custom-select-options {
  padding: 10px 10px 24px;
  gap: 6px;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(126, 136, 104, 0.3) transparent;
}

.xenah-shop-sidebar .xenah-shop-custom-select-options::-webkit-scrollbar {
  width: 6px;
}

.xenah-shop-sidebar .xenah-shop-custom-select-options::-webkit-scrollbar-track {
  background: transparent;
}

.xenah-shop-sidebar .xenah-shop-custom-select-options::-webkit-scrollbar-thumb {
  background: rgba(126, 136, 104, 0.3);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.xenah-shop-sidebar .xenah-shop-custom-select-option:last-child {
  margin-bottom: 16px;
}

.xenah-shop-sidebar .xenah-shop-custom-select-menu::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 32px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 252, 247, 0), rgba(255, 252, 247, 1) 95%);
  z-index: 2;
  border-radius: 0 0 24px 24px;
}

/* Sidebar scroll polish */
.xenah-shop-toolbar {
  scrollbar-width: thin;
  scrollbar-color: rgba(126, 136, 104, 0.2) transparent;
  padding-bottom: 32px !important;
}

.xenah-shop-toolbar::-webkit-scrollbar {
  width: 5px;
}

.xenah-shop-toolbar::-webkit-scrollbar-thumb {
  background: rgba(126, 136, 104, 0.2);
  border-radius: 10px;
}

html[dir="rtl"] .xenah-shop-sidebar .xenah-shop-custom-select-options {
  padding-inline: 8px 10px;
}

html[dir="ltr"] .xenah-shop-sidebar .xenah-shop-custom-select-options {
  padding-inline: 10px 8px;
}

@media (max-width: 767px) {
  .xenah-shop-sidebar .xenah-shop-custom-select-menu {
    border-radius: 18px;
  }

  .xenah-shop-sidebar .xenah-shop-custom-select-options {
    padding-bottom: 12px;
  }
}

/* 
   Shop Desktop Alignment Fix (Final Stable Snippet)
   Ensures Sidebar is on RIGHT for Arabic (RTL) and LEFT for English (LTR)
*/
@media (min-width: 992px) {
  .xenah-shop-layout {
    display: grid !important;
    gap: 32px !important;
    align-items: start !important;
    direction: ltr !important; /* Force LTR container for predictable grid areas */
  }

  /* English / LTR: Sidebar LEFT, Content RIGHT */
  html[dir="ltr"] .xenah-shop-layout,
  body.is-ltr .xenah-shop-layout {
    grid-template-columns: 300px minmax(0, 1fr) !important;
    grid-template-areas: "sidebar content" !important;
  }

  /* Arabic / RTL: Content LEFT, Sidebar RIGHT */
  html[dir="rtl"] .xenah-shop-layout,
  body.is-rtl .xenah-shop-layout {
    grid-template-columns: minmax(0, 1fr) 300px !important;
    grid-template-areas: "content sidebar" !important;
  }

  .xenah-shop-sidebar {
    grid-area: sidebar !important;
    position: sticky !important;
    top: 120px !important;
    height: fit-content !important;
    z-index: 10 !important;
  }

  .xenah-shop-content {
    grid-area: content !important;
    min-width: 0 !important;
  }

  /* Restore text direction inside items */
  html[dir="rtl"] .xenah-shop-sidebar,
  html[dir="rtl"] .xenah-shop-content,
  body.is-rtl .xenah-shop-sidebar,
  body.is-rtl .xenah-shop-content {
    direction: rtl !important;
  }

  html[dir="ltr"] .xenah-shop-sidebar,
  html[dir="ltr"] .xenah-shop-content,
  body.is-ltr .xenah-shop-sidebar,
  body.is-ltr .xenah-shop-content {
    direction: ltr !important;
  }

.xenah-shop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* Cart page */
.xenah-cart-page {
  min-height: 100vh;
  padding: 56px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.62), transparent 0 30%),
    linear-gradient(180deg, var(--page-bg) 0%, var(--page-bg-soft) 100%);
}

.xenah-cart-header {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.xenah-cart-logo {
  margin-bottom: 18px;
}

.xenah-cart-page .xenah-cart-logo {
  margin-bottom: 0;
}

.xenah-cart-page .xenah-page-top-action {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

html[dir="rtl"] .xenah-cart-page .xenah-page-top-action {
  flex-direction: row;
}

html[dir="ltr"] .xenah-cart-page .xenah-page-top-action {
  flex-direction: row;
}

.xenah-page-top-action {
  display: flex;
  width: 100%;
  margin: 0 auto 24px;
}

html[dir="rtl"] .xenah-page-top-action {
  justify-content: flex-start;
}

html[dir="ltr"] .xenah-page-top-action {
  justify-content: flex-start;
}

html[dir] .xenah-cart-page .xenah-page-top-action {
  justify-content: space-between;
}

.xenah-page-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 40px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid rgba(126, 136, 104, 0.24);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.82);
  color: var(--sage-dark);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.xenah-page-home-link:hover {
  background: #fffdf9;
  border-color: rgba(126, 136, 104, 0.36);
  color: var(--sage);
  transform: translateY(-1px);
}

.xenah-cart-header h1 {
  margin: 8px 0 12px;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  color: var(--text);
}

.xenah-cart-header p:last-child {
  margin: 0 auto;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.8;
}

.xenah-cart-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.xenah-cart-content[hidden],
.xenah-cart-summary[hidden] {
  display: none !important;
}

html[dir="rtl"] .xenah-cart-content {
  grid-template-columns: 340px minmax(0, 1fr);
}

html[dir="rtl"] .xenah-cart-items {
  grid-column: 2;
}

html[dir="rtl"] .xenah-cart-summary {
  grid-column: 1;
  grid-row: 1;
}

.xenah-cart-items {
  display: grid;
  gap: 16px;
}

.xenah-cart-item,
.xenah-cart-summary,
.xenah-cart-empty-card {
  border: 1px solid rgba(201, 178, 150, 0.16);
  background: rgba(255, 253, 249, 0.96);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(88, 67, 45, 0.04);
}

.xenah-cart-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.xenah-cart-item-media {
  width: 112px;
  aspect-ratio: 1;
  border-radius: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.xenah-cart-item-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 2px;
}

.xenah-cart-item-placeholder {
  display: none;
  width: 42px;
  height: 72px;
  border-radius: 18px 18px 14px 14px;
  border: 1px solid rgba(201, 178, 150, 0.3);
  background: linear-gradient(180deg, #ffffff, #f5eee3);
}

.xenah-cart-item-media.is-fallback .xenah-cart-item-placeholder {
  display: block;
}

.xenah-cart-item-brand {
  margin: 0 0 5px;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.xenah-cart-item-name {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.xenah-cart-item-price {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.cart-item__promo {
  margin: -2px 0 8px;
}

.cart-promo-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(95, 104, 78, 0.24);
  border-radius: 999px;
  background: rgba(126, 136, 104, 0.12);
  color: var(--sage-dark);
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.cart-promo-badge--discount,
.cart-promo-badge--second-offer {
  border-color: rgba(95, 104, 78, 0.26);
  background: rgba(126, 136, 104, 0.12);
  color: var(--sage-dark);
}

.cart-offer-group {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(95, 104, 78, 0.22);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(126, 136, 104, 0.08), rgba(255, 253, 249, 0.96));
  box-shadow: 0 12px 30px rgba(88, 67, 45, 0.04);
  padding: 16px;
}

.cart-offer-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cart-offer-group__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: var(--sage-dark);
  color: #ffffff;
  padding: 7px 12px;
  font-size: 0.84rem;
  font-weight: 900;
}

.cart-offer-group__saving {
  color: var(--sage-dark);
  font-weight: 900;
}

.cart-offer-group__items,
.cart-offer-group__pair {
  display: grid;
  gap: 12px;
}

.cart-offer-group__pair {
  grid-template-columns: 1fr;
}

.cart-offer-group__item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(201, 178, 150, 0.18);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.84);
  padding: 12px;
  width: 100%;
}

.cart-offer-group__pair .cart-offer-group__item + .cart-offer-group__item {
  border-top-color: rgba(95, 104, 78, 0.24);
}

.cart-offer-group__item--discounted {
  border-color: rgba(95, 104, 78, 0.28);
  background: rgba(126, 136, 104, 0.1);
}

.cart-offer-group__item-body {
  min-width: 0;
}

.cart-offer-group__item .xenah-cart-item-controls,
.cart-offer-group__item .xenah-cart-remove {
  grid-area: auto;
}

.cart-offer-group__item .xenah-cart-item-controls {
  justify-self: end;
}

html[dir="rtl"] .cart-offer-group__item .xenah-cart-item-controls {
  justify-self: start;
}

.cart-offer-group__discount-marker {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(95, 104, 78, 0.14);
  color: var(--sage-dark);
  padding: 4px 9px;
  font-size: 0.74rem;
  font-weight: 900;
}

.cart-offer-summary {
  border-color: rgba(95, 104, 78, 0.18);
  background: rgba(126, 136, 104, 0.08);
}

.xenah-cart-item-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(201, 178, 150, 0.18);
  border-radius: 999px;
  background: #fffdf9;
}

.xenah-cart-qty-btn {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(126, 136, 104, 0.1);
  color: var(--sage-dark);
  font-weight: 800;
}

.xenah-cart-qty-value {
  min-width: 24px;
  text-align: center;
  font-weight: 800;
  color: var(--text);
}

.xenah-cart-item-subtotal {
  color: var(--sage-dark);
  white-space: nowrap;
}

.xenah-cart-remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  padding: 8px;
}

.xenah-cart-remove:hover {
  color: var(--sage-dark);
}

.xenah-cart-summary {
  position: sticky;
  top: 110px;
  padding: 24px;
}

.xenah-cart-summary h2 {
  margin: 0 0 18px;
  font-size: 1.2rem;
}

.xenah-cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(201, 178, 150, 0.14);
  color: var(--muted);
}

.xenah-cart-summary-row strong {
  color: var(--text);
}

.xenah-cart-summary-total {
  border-bottom: 0;
  color: var(--text);
  font-weight: 800;
}

.xenah-cart-checkout {
  width: 100%;
  margin-top: 18px;
}

.xenah-cart-continue {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 14px;
  color: var(--sage-dark);
  font-weight: 800;
}

.xenah-cart-empty-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 36px 28px;
  text-align: center;
}

.xenah-cart-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 1px solid rgba(201, 178, 150, 0.22);
  background: linear-gradient(135deg, #fffdf9, #f4ecdf);
  display: block;
}

.xenah-cart-empty-card h2 {
  margin: 0 0 10px;
}

.xenah-cart-empty-card p {
  margin: 0 auto 22px;
  max-width: 440px;
  color: var(--muted);
  line-height: 1.8;
}

.xenah-cart-empty-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 170px;
  padding: 0 26px;
  border: 1px solid rgba(126, 136, 104, 0.28);
  border-radius: 999px;
  background: var(--sage-dark);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(88, 67, 45, 0.08);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.xenah-cart-empty-action:hover {
  background: var(--sage);
  border-color: rgba(126, 136, 104, 0.36);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(88, 67, 45, 0.1);
}

/* Cart empty state: frameless premium treatment. */
.xenah-cart-empty {
  display: block;
  min-height: 36vh;
  padding: 10px 0 34px;
}

.xenah-cart-empty[hidden] {
  display: none !important;
}

.xenah-cart-page.is-cart-empty .xenah-cart-header {
  display: none;
}

.xenah-cart-empty-card {
  position: relative;
  max-width: 560px;
  padding: 22px 24px 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.xenah-cart-empty-card::before {
  content: "";
  position: absolute;
  inset: -8px 50% auto auto;
  width: 148px;
  height: 148px;
  transform: translateX(50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 136, 104, 0.11), rgba(126, 136, 104, 0) 68%);
  pointer-events: none;
}

.xenah-cart-empty-icon {
  display: none;
}

.xenah-cart-empty-card h2 {
  position: relative;
  margin-bottom: 8px;
  color: var(--text);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.25;
}

.xenah-cart-empty-card p {
  position: relative;
  max-width: 380px;
  margin-bottom: 20px;
  color: rgba(43, 43, 39, 0.58);
  font-size: 0.98rem;
  line-height: 1.75;
}

.xenah-cart-empty-action {
  position: relative;
  min-height: 44px;
  min-width: 152px;
  padding: 0 22px;
  background: var(--sage-dark);
  box-shadow: 0 12px 26px rgba(88, 67, 45, 0.09);
}

@media (max-width: 991px) {
  .xenah-cart-content,
  html[dir="rtl"] .xenah-cart-content {
    grid-template-columns: 1fr;
  }

  html[dir="rtl"] .xenah-cart-items,
  html[dir="rtl"] .xenah-cart-summary {
    grid-column: auto;
    grid-row: auto;
  }

  .xenah-cart-summary {
    position: static;
  }
}

@media (max-width: 767px) {
  .xenah-cart-page {
    padding: 42px 0 56px;
  }

  .xenah-cart-item {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
  }

  .xenah-cart-item-media {
    width: 88px;
  }

  .xenah-cart-item-controls,
  .xenah-cart-item-subtotal,
  .xenah-cart-remove {
    grid-column: 1 / -1;
  }

  .xenah-cart-item-controls {
    justify-self: start;
  }

  html[dir="rtl"] .xenah-cart-item-controls {
    justify-self: end;
  }

  .xenah-cart-item-subtotal {
    justify-self: start;
  }

  html[dir="rtl"] .xenah-cart-item-subtotal {
    justify-self: end;
  }
}

/* Cart UI polish */
.xenah-cart-item {
  grid-template-columns: minmax(360px, 1fr) 140px 130px 80px;
  grid-template-areas:
    "product controls subtotal remove";
  align-items: center;
  padding: 16px 18px;
  gap: 20px;
}

.xenah-cart-item-product {
  grid-area: product;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.xenah-cart-item-media {
  width: 92px;
  flex: 0 0 92px;
  border-radius: 0;
  border: 0;
  background: transparent;
}

.xenah-cart-item-info {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
}

.xenah-cart-item-controls {
  grid-area: controls;
  justify-self: center;
  align-self: center;
  min-height: 42px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.xenah-cart-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.xenah-cart-qty-btn:hover {
  background: var(--sage-dark);
  color: var(--white);
}

.xenah-cart-qty-btn:active {
  transform: translateY(1px);
}

.xenah-cart-item-subtotal {
  grid-area: subtotal;
  justify-self: end;
  text-align: end;
  font-size: 1rem;
  line-height: 1.35;
}

.xenah-cart-remove {
  grid-area: remove;
  justify-self: center;
  align-self: center;
  border: 1px solid rgba(201, 178, 150, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  padding: 8px 12px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.xenah-cart-remove:hover {
  background: #fffdf9;
  border-color: rgba(126, 136, 104, 0.28);
}

.xenah-cart-summary {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(250, 246, 238, 0.98));
  border-radius: 28px;
}

.xenah-cart-summary h2 {
  color: var(--text);
  font-weight: 800;
}

.xenah-cart-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--sage-dark);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(94, 104, 78, 0.16);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.xenah-cart-checkout:hover {
  background: var(--sage);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(94, 104, 78, 0.18);
}

.xenah-cart-continue {
  min-height: 44px;
  align-items: center;
  border: 1px solid rgba(126, 136, 104, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.xenah-cart-continue:hover {
  background: #fffdf9;
  border-color: rgba(126, 136, 104, 0.34);
  transform: translateY(-1px);
}

html[dir="rtl"] .xenah-cart-item {
  grid-template-areas:
    "remove subtotal controls product";
}

html[dir="rtl"] .xenah-cart-item-subtotal {
  justify-self: start;
  text-align: start;
}

html[dir="rtl"] .xenah-cart-remove {
  justify-self: center;
}

@media (min-width: 768px) {
  .xenah-cart-item {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(112px, auto) minmax(118px, auto) minmax(74px, auto);
    grid-template-areas:
      "product controls subtotal remove";
    align-items: center;
    gap: clamp(12px, 1.5vw, 20px);
  }

  html[dir="rtl"] .xenah-cart-item {
    grid-template-areas:
      "remove subtotal controls product";
  }

  .xenah-cart-item-product {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
  }

  .xenah-cart-item-media {
    width: 92px;
    flex: 0 0 92px;
  }

  .xenah-cart-item-info {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }

  .xenah-cart-item-brand,
  .xenah-cart-item-name,
  .xenah-cart-item-price {
    max-width: 100%;
  }

  .xenah-cart-item-name {
    display: block;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    line-height: 1.45;
  }

  .xenah-cart-item-controls {
    width: max-content;
    justify-content: center;
    justify-self: center;
  }

  .xenah-cart-item-subtotal {
    min-width: 0;
    text-align: end;
    justify-self: end;
  }

  html[dir="rtl"] .xenah-cart-item-subtotal {
    text-align: start;
    justify-self: start;
  }

  .xenah-cart-remove {
    min-width: 0;
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .xenah-cart-content {
    gap: 20px;
  }

  .xenah-cart-item {
    grid-template-columns: 94px minmax(0, 1fr);
    grid-template-areas:
      "product product"
      "controls subtotal"
      "remove remove";
    padding: 14px;
    gap: 12px;
    border-radius: 22px;
  }

  html[dir="rtl"] .xenah-cart-item {
    grid-template-columns: minmax(0, 1fr) 94px;
    grid-template-areas:
      "product product"
      "subtotal controls"
      "remove remove";
  }

  .xenah-cart-item-product {
    align-items: flex-start;
    gap: 12px;
  }

  html[dir="rtl"] .xenah-cart-item-product {
    flex-direction: row-reverse;
  }

  .xenah-cart-item-media {
    width: 94px;
    flex-basis: 94px;
    align-self: start;
  }

  .xenah-cart-item-name {
    margin-bottom: 6px;
    font-size: 0.96rem;
  }

  .xenah-cart-item-price {
    font-size: 0.9rem;
  }

  .xenah-cart-item-controls {
    grid-column: auto;
    justify-self: start;
    align-self: center;
  }

  html[dir="rtl"] .xenah-cart-item-controls {
    justify-self: end;
  }

  .xenah-cart-item-subtotal {
    grid-column: auto;
    justify-self: end;
    align-self: center;
    font-size: 0.96rem;
  }

  html[dir="rtl"] .xenah-cart-item-subtotal {
    justify-self: start;
  }

  .xenah-cart-remove {
    grid-column: auto;
    justify-self: stretch;
    text-align: center;
  }

  html[dir="rtl"] .xenah-cart-remove {
    justify-self: stretch;
  }

  .cart-offer-group {
    padding: 14px;
    border-radius: 22px;
  }

  .cart-offer-group__pair,
  .cart-offer-group__item {
    grid-template-columns: 1fr;
  }

  .cart-offer-group__item {
    justify-items: stretch;
  }

  .cart-offer-group__item .xenah-cart-item-media {
    width: 88px;
    justify-self: center;
  }

  .xenah-cart-summary {
    padding: 20px;
    border-radius: 24px;
  }

  .xenah-cart-checkout,
  .xenah-cart-continue {
    min-height: 46px;
  }
}

/* Cart premium frameless refinement */
.xenah-cart-page .xenah-cart-header {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.xenah-cart-page .xenah-cart-header h1 {
  font-size: clamp(2.25rem, 3.6vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.xenah-cart-page .xenah-cart-header p:last-child {
  color: rgba(43, 43, 39, 0.52);
  font-size: 0.98rem;
}

.xenah-cart-page .xenah-cart-content {
  max-width: 1180px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) minmax(286px, 320px);
  gap: clamp(30px, 4vw, 46px);
}

html[dir="rtl"] .xenah-cart-page .xenah-cart-content {
  grid-template-columns: minmax(286px, 320px) minmax(0, 1fr);
}

.xenah-cart-page .xenah-cart-items {
  gap: 0;
}

.xenah-cart-page .xenah-cart-item {
  min-height: 126px;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid rgba(126, 136, 104, 0.13);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.xenah-cart-page .xenah-cart-item:first-child {
  padding-top: 0;
}

.xenah-cart-page .xenah-cart-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.xenah-cart-page .xenah-cart-item-product {
  gap: 20px;
}

.xenah-cart-page .xenah-cart-item-media {
  width: 106px;
  flex-basis: 106px;
}

.xenah-cart-page .xenah-cart-item-brand {
  margin-bottom: 6px;
  color: rgba(95, 104, 78, 0.82);
  font-size: 0.76rem;
  letter-spacing: 0;
}

.xenah-cart-page .xenah-cart-item-name {
  margin-bottom: 7px;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.55;
}

.xenah-cart-page .xenah-cart-item-price {
  color: rgba(43, 43, 39, 0.52);
  font-size: 0.92rem;
}

.xenah-cart-page .xenah-cart-item-controls {
  min-height: 40px;
  padding: 4px;
  border: 1px solid rgba(126, 136, 104, 0.12);
  background: rgba(250, 246, 238, 0.72);
  box-shadow: none;
}

.xenah-cart-page .xenah-cart-qty-btn {
  background: rgba(255, 253, 249, 0.82);
  color: var(--sage-dark);
}

.xenah-cart-page .xenah-cart-qty-value {
  min-width: 28px;
  color: var(--text);
  font-weight: 900;
}

.xenah-cart-page .xenah-cart-item-subtotal {
  color: var(--sage-dark);
  font-size: 1.02rem;
  font-weight: 900;
}

.xenah-cart-page .xenah-cart-remove {
  border: 0;
  background: rgba(250, 246, 238, 0.64);
  color: rgba(43, 43, 39, 0.58);
  padding: 8px 14px;
}

.xenah-cart-page .xenah-cart-remove:hover {
  background: rgba(126, 136, 104, 0.1);
  color: var(--sage-dark);
}

.xenah-cart-page .xenah-cart-summary {
  top: 124px;
  padding: 8px 0 8px 28px;
  border: 0;
  border-left: 1px solid rgba(126, 136, 104, 0.14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html[dir="rtl"] .xenah-cart-page .xenah-cart-summary {
  padding-right: 0;
  padding-left: 28px;
  border-left: 1px solid rgba(126, 136, 104, 0.14);
}

.xenah-cart-page .xenah-cart-summary h2 {
  margin-bottom: 24px;
  font-size: 1.15rem;
  font-weight: 900;
}

.xenah-cart-page .xenah-cart-summary-row {
  padding: 12px 0;
  border-bottom-color: rgba(126, 136, 104, 0.12);
}

.xenah-cart-page .xenah-cart-summary-row span {
  color: rgba(43, 43, 39, 0.56);
}

.xenah-cart-page .xenah-cart-summary-row strong {
  color: var(--sage-dark);
  font-weight: 900;
}

.xenah-cart-page .xenah-cart-checkout {
  min-height: 46px;
  margin-top: 22px;
  box-shadow: 0 16px 34px rgba(94, 104, 78, 0.14);
}

.xenah-cart-page .xenah-cart-continue {
  min-height: 42px;
  background: transparent;
  color: var(--sage-dark);
}

@media (max-width: 991px) {
  .xenah-cart-page .xenah-cart-content,
  html[dir="rtl"] .xenah-cart-page .xenah-cart-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .xenah-cart-page .xenah-cart-summary,
  html[dir="rtl"] .xenah-cart-page .xenah-cart-summary {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(126, 136, 104, 0.14);
  }
}

@media (max-width: 767px) {
  .xenah-cart-page .xenah-cart-header {
    margin-bottom: 24px;
  }

  .xenah-cart-page .xenah-cart-item {
    min-height: 0;
    padding: 18px 0;
    border-radius: 0;
  }

  .xenah-cart-page .xenah-cart-item-product {
    gap: 14px;
  }

  .xenah-cart-page .xenah-cart-item-media {
    width: 88px;
    flex-basis: 88px;
  }

  .xenah-cart-page .xenah-cart-remove {
    justify-self: start;
    width: auto;
    padding-inline: 12px;
  }

  html[dir="rtl"] .xenah-cart-page .xenah-cart-remove {
    justify-self: end;
  }
}

/* Checkout page */
.xenah-checkout-page {
  min-height: 100vh;
  padding: 72px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(201, 178, 150, 0.08), transparent 32%),
    var(--page-bg);
}

.xenah-checkout-container {
  max-width: 1180px;
}

.xenah-checkout-header {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.xenah-checkout-logo {
  margin-bottom: 18px;
}

.xenah-checkout-page .xenah-checkout-logo {
  margin-bottom: 0;
}

.xenah-checkout-page .xenah-page-top-action {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

html[dir] .xenah-checkout-page .xenah-page-top-action {
  justify-content: space-between;
}

.xenah-checkout-header h1 {
  margin: 8px 0 12px;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.xenah-checkout-header p:last-child {
  margin: 0 auto;
  max-width: 620px;
  color: var(--muted);
}

.xenah-checkout-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  direction: ltr;
}

.xenah-checkout-form,
.xenah-checkout-success {
  grid-column: 1;
  min-width: 0;
}

.xenah-checkout-summary {
  grid-column: 2;
  min-width: 0;
}

html[dir="rtl"] .xenah-checkout-form {
  direction: rtl;
}

html[dir="rtl"] .xenah-checkout-summary {
  direction: rtl;
}

html[dir="ltr"] .xenah-checkout-form,
html[dir="ltr"] .xenah-checkout-summary {
  direction: ltr;
}

.xenah-checkout-form {
  display: grid;
  gap: 18px;
}

.xenah-checkout-summary {
  position: sticky;
  top: 110px;
}

.xenah-checkout-card,
.xenah-checkout-summary,
.xenah-checkout-empty-card {
  border: 1px solid rgba(201, 178, 150, 0.16);
  background: rgba(255, 253, 249, 0.96);
  border-radius: 28px;
  box-shadow: 0 14px 34px rgba(88, 67, 45, 0.055);
}

.xenah-checkout-card,
.xenah-checkout-summary {
  padding: 24px;
}

.xenah-checkout-card h2,
.xenah-checkout-summary h2 {
  margin: 0 0 18px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}

.xenah-checkout-field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--text);
  font-weight: 700;
}

.xenah-checkout-field:last-child {
  margin-bottom: 0;
}

.xenah-checkout-field input,
.xenah-checkout-field select,
.xenah-checkout-field textarea {
  width: 100%;
  border: 1px solid rgba(201, 178, 150, 0.22);
  border-radius: 16px;
  background: #fffdf9;
  color: var(--text);
  font: inherit;
  font-weight: 500;
  padding: 13px 14px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.xenah-checkout-field input:focus,
.xenah-checkout-field select:focus,
.xenah-checkout-field textarea:focus {
  border-color: rgba(126, 136, 104, 0.5);
  box-shadow: 0 0 0 4px rgba(126, 136, 104, 0.12);
  background: #ffffff;
}

.xenah-checkout-field textarea {
  resize: vertical;
  min-height: 96px;
}

.xenah-checkout-payment-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid rgba(126, 136, 104, 0.2);
  border-radius: 18px;
  background: rgba(248, 241, 231, 0.52);
}

.xenah-checkout-payment-dot {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 5px solid var(--sage-dark);
  border-radius: 999px;
  background: var(--white);
  flex: 0 0 auto;
}

.xenah-checkout-payment-option strong {
  display: block;
  color: var(--text);
  font-weight: 800;
}

.xenah-checkout-payment-option p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.xenah-checkout-items {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  max-height: min(420px, 48vh);
  overflow-y: auto;
  padding-inline-end: 4px;
  overscroll-behavior: contain;
}

.xenah-checkout-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 178, 150, 0.14);
}

.xenah-checkout-item--loading {
  border-bottom: 0;
}

.xenah-checkout-item:first-child {
  padding-top: 0;
}

.xenah-checkout-item-info {
  min-width: 0;
}

.xenah-checkout-item-brand {
  margin: 0 0 4px;
  color: var(--sage-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xenah-checkout-item-name {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.35;
}

.xenah-checkout-item-meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.xenah-checkout-item-total {
  color: var(--sage-dark);
  white-space: nowrap;
}

.xenah-checkout-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(201, 178, 150, 0.16);
  color: var(--muted);
}

.xenah-checkout-summary-row strong {
  color: var(--text);
}

.xenah-checkout-summary-total {
  border-bottom: 0;
  color: var(--text);
  font-weight: 800;
}

.xenah-checkout-summary-total strong {
  color: var(--sage-dark);
  font-size: 1.15rem;
}

.xenah-checkout-submit,
.xenah-checkout-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.xenah-checkout-submit {
  width: 100%;
  border: 0;
  background: var(--sage-dark);
  color: var(--white);
  cursor: pointer;
  font: inherit;
}

.xenah-checkout-submit:hover {
  background: var(--sage);
  transform: translateY(-1px);
}

.xenah-checkout-submit:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.xenah-checkout-secondary-btn {
  width: 100%;
  margin-top: 16px;
  border: 1px solid rgba(126, 136, 104, 0.24);
  background: rgba(255, 255, 255, 0.62);
  color: var(--sage-dark);
  padding: 0 18px;
}

.xenah-checkout-secondary-btn:hover {
  background: #fffdf9;
  border-color: rgba(126, 136, 104, 0.34);
  transform: translateY(-1px);
}

.xenah-checkout-message {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(126, 136, 104, 0.22);
  border-radius: 18px;
  background: rgba(248, 241, 231, 0.62);
  color: var(--sage-dark);
  font-weight: 700;
  text-align: center;
}

.xenah-checkout-message.is-success {
  border-color: rgba(126, 136, 104, 0.3);
  background: rgba(126, 136, 104, 0.12);
  color: var(--sage-dark);
}

.xenah-checkout-message.is-error {
  border-color: rgba(164, 94, 74, 0.24);
  background: rgba(164, 94, 74, 0.08);
  color: #8f4f3f;
}

.xenah-checkout-success {
  padding: 24px;
  border: 1px solid rgba(126, 136, 104, 0.22);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(248, 241, 231, 0.76)),
    rgba(126, 136, 104, 0.08);
  box-shadow: 0 14px 34px rgba(88, 67, 45, 0.055);
}

html[dir="rtl"] .xenah-checkout-success {
  direction: rtl;
}

.xenah-checkout-success h2 {
  margin: 0 0 8px;
  color: var(--sage-dark);
  font-size: 1.25rem;
  font-weight: 800;
}

.xenah-checkout-success > p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.xenah-checkout-success-details {
  display: grid;
  gap: 14px;
}

.xenah-checkout-success-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.xenah-checkout-success-grid div {
  padding: 13px 14px;
  border: 1px solid rgba(201, 178, 150, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
}

.xenah-checkout-success-grid dt {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.xenah-checkout-success-grid dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.xenah-checkout-success-notice {
  margin: 2px 0 0;
  padding: 13px 14px;
  border: 1px solid rgba(126, 136, 104, 0.18);
  border-radius: 16px;
  background: rgba(126, 136, 104, 0.1);
  color: var(--sage-dark);
  font-weight: 700;
  line-height: 1.6;
}

.xenah-checkout-empty-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 34px;
  text-align: center;
}

.xenah-checkout-empty-icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(126, 136, 104, 0.18), rgba(201, 178, 150, 0.18));
}

.xenah-checkout-empty-card h2 {
  margin: 0 0 10px;
}

.xenah-checkout-empty-card p {
  margin: 0 auto 22px;
  max-width: 440px;
  color: var(--muted);
}

/* Stable checkout layout layer. Keeps the form and summary as separate surfaces while
   preserving the existing data-checkout selectors used by the order logic. */
.checkout-page {
  padding-top: 56px;
}

.checkout-page .xenah-checkout-container {
  max-width: 1180px;
}

.checkout-hero {
  text-align: center;
  margin-bottom: 32px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
  direction: inherit;
}

html[dir="rtl"] .checkout-layout {
  direction: rtl;
}

.checkout-form,
.checkout-summary {
  min-width: 0;
  visibility: visible;
  opacity: 1;
  grid-row: auto;
}

.checkout-form {
  grid-column: 1;
  display: grid;
  gap: 18px;
}

.checkout-summary {
  grid-column: 2;
  display: block;
  position: sticky;
  top: 24px;
}

.checkout-summary-items {
  max-height: 420px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-inline-end: 4px;
}

@media (max-width: 900px) {
  .checkout-layout,
  html[dir="rtl"] .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-form,
  .checkout-summary {
    grid-column: auto;
  }

  .checkout-summary {
    position: static;
  }

  .checkout-summary-items {
    max-height: none;
    overflow-y: visible;
    padding-inline-end: 0;
  }
}

@media (max-width: 991px) {
  .xenah-checkout-content,
  html[dir="rtl"] .xenah-checkout-content {
    grid-template-columns: 1fr;
    direction: inherit;
  }

  html[dir="rtl"] .xenah-checkout-form,
  html[dir="rtl"] .xenah-checkout-summary,
  html[dir="rtl"] .xenah-checkout-success,
  html[dir="ltr"] .xenah-checkout-summary,
  html[dir="ltr"] .xenah-checkout-success {
    grid-column: auto;
    grid-row: auto;
  }

  .xenah-checkout-summary {
    position: static;
  }

  .xenah-checkout-items {
    max-height: none;
    overflow-y: visible;
    padding-inline-end: 0;
  }
}

@media (max-width: 767px) {
  .xenah-checkout-page {
    padding: 56px 0 56px;
  }

  .xenah-checkout-header {
    margin-bottom: 24px;
  }

  .xenah-checkout-page .xenah-page-top-action {
    margin-bottom: 14px;
  }

  .xenah-checkout-page .xenah-page-home-link {
    min-height: 38px;
    padding-inline: 16px;
  }

  .xenah-checkout-logo {
    margin-bottom: 0;
  }

  .xenah-checkout-card,
  .xenah-checkout-summary {
    padding: 20px;
    border-radius: 24px;
  }

  .xenah-checkout-item {
    gap: 10px;
  }

  .xenah-checkout-submit,
  .xenah-checkout-secondary-btn {
    min-height: 46px;
  }

  .xenah-checkout-success {
    padding: 20px;
    border-radius: 24px;
  }

  .xenah-checkout-success-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .xenah-cart-page {
    padding-top: 24px;
  }

  .xenah-cart-page .xenah-container {
    padding-top: 0;
  }

  .xenah-cart-page .xenah-page-top-action {
    margin-bottom: 14px;
  }

  .xenah-cart-page .xenah-page-home-link {
    min-height: 38px;
    padding-inline: 16px;
  }

  .xenah-cart-header {
    margin-bottom: 20px;
  }

  .xenah-cart-logo {
    margin-bottom: 10px;
  }

  .xenah-cart-header .xenah-section-kicker {
    margin-bottom: 6px;
  }

  .xenah-cart-header h1 {
    margin-top: 6px;
    margin-bottom: 8px;
    line-height: 1.1;
  }

  .xenah-cart-header p:last-child {
    margin-bottom: 0;
    line-height: 1.55;
  }

  .xenah-cart-content {
    margin-top: 0;
    gap: 18px;
  }
}

/* Mobile cleanup: keep product CTAs and contact cards compact after global style refinements. */
@media (max-width: 767px) {
  .xenah-product-page .xenah-product-page-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: none;
  }

  .xenah-product-page .xenah-product-page-actions .xenah-product-primary-btn,
  .xenah-product-page .xenah-product-page-actions .xenah-product-secondary-btn {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    height: auto;
    padding: 12px 18px;
    line-height: 1.25;
  }

  .xenah-product-page .xenah-product-detail-quantity button,
  .xenah-product-page .xenah-product-detail-quantity input {
    min-width: 38px;
    height: 38px;
    position: relative;
    z-index: 1;
    touch-action: manipulation;
  }

  .xenah-about .xenah-about-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .xenah-about .xenah-contact-card {
    min-height: 78px;
    padding: 14px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    border-radius: 18px;
  }

  .xenah-about .xenah-contact-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    font-size: 1rem;
  }
}


/* Final mobile offer image cards polish */
@media (max-width: 767px) {
  .xenah-offer-link {
    gap: 12px;
  }

  .xenah-offer-media {
    min-height: 210px;
    border-radius: 22px;
  }

  .xenah-offer-btn {
    width: 100%;
    align-self: stretch;
  }
}


@media (max-width: 767px) {
  .xenah-category-carousel-shell {
    width: calc(100vw - 20px);
    margin-inline: 50%;
    transform: translateX(50%);
  }

  html[dir="ltr"] .xenah-category-carousel-shell {
    transform: translateX(-50%);
  }

  .xenah-category-viewport {
    padding-inline: 12px;
    padding-bottom: 14px;
  }

  .xenah-category-track {
    gap: 14px;
  }

  .xenah-category-slide {
    flex-basis: min(78vw, 300px);
    min-height: 142px;
    border-radius: 22px;
  }

  .xenah-category-slide span {
    margin: 16px;
    font-size: 0.98rem;
  }

  .xenah-category-arrow {
    display: none;
  }
}

/* Home layout phase 1: tighter sections and dynamic offer rows */
body[data-page="home"] .xenah-section {
  padding: clamp(44px, 5vw, 64px) 0;
}

body[data-page="home"] .xenah-section-head {
  margin-bottom: 18px;
}

body[data-page="home"] .xenah-section-head h2 {
  margin: 6px 0 8px;
  font-size: clamp(1.65rem, 2.5vw, 2.45rem);
}

body[data-page="home"] .xenah-section-head p:last-child {
  line-height: 1.55;
  max-width: 620px;
}

body[data-page="home"] .xenah-brands {
  padding-top: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(28px, 4vw, 44px);
}

body[data-page="home"] .xenah-brands-carousel {
  padding-bottom: 8px;
}

body[data-page="home"] .xenah-brands-carousel .xenah-brands-track {
  gap: clamp(14px, 1.5vw, 22px);
}

body[data-page="home"] .xenah-brand-logo-card {
  flex-basis: clamp(176px, 15vw, 220px);
  min-height: clamp(92px, 8vw, 112px);
  padding: 18px 22px;
}

body[data-page="home"] .xenah-brand-logo {
  max-height: 58px;
}

body[data-page="home"] .xenah-home-dynamic-offers {
  padding-top: clamp(30px, 3.5vw, 44px);
  padding-bottom: clamp(8px, 1.5vw, 16px);
}

body[data-page="home"] .xenah-home-dynamic-offers--special {
  padding-top: clamp(4px, 1vw, 10px);
  padding-bottom: clamp(24px, 3vw, 38px);
}


body[data-page="home"] .xenah-home-dynamic-offers.is-empty-offers .xenah-home-offer-products {
  display: block;
  max-width: 640px;
  margin: 0 auto;
}

.xenah-home-offer-empty {
  width: 100%;
  padding: 28px 22px;
  border: 1px dashed rgba(126, 136, 104, 0.32);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  text-align: center;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(126, 136, 104, 0.04);
}

body[data-page="home"] .xenah-home-offer-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body[data-page="home"] #bestsellers .xenah-products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

body[data-page="home"] .xenah-home-dynamic-offers.is-single-offer .xenah-home-offer-products {
  grid-template-columns: minmax(280px, min(100%, 430px));
  justify-content: center;
  max-width: 520px;
  margin-inline: auto;
}

body[data-page="home"] #bestsellers {
  padding-top: clamp(44px, 5vw, 66px);
  padding-bottom: clamp(44px, 5vw, 66px);
}

body[data-page="home"] #bestsellers .xenah-product-card,
body[data-page="home"] .xenah-home-offer-products .xenah-product-card {
  min-height: auto;
  padding: 16px 16px 18px;
}

body[data-page="home"] .xenah-home-offer-products .xenah-product-media {
  height: clamp(190px, 18vw, 240px);
  min-height: clamp(190px, 18vw, 240px);
  margin-bottom: 12px;
}

body[data-page="home"] #bestsellers .xenah-product-media {
  height: clamp(230px, 22vw, 290px);
  min-height: clamp(230px, 22vw, 290px);
}

body[data-page="home"] .xenah-home-dynamic-offers.is-single-offer .xenah-product-media {
  height: clamp(210px, 20vw, 260px);
  min-height: clamp(210px, 20vw, 260px);
}

body[data-page="home"] .xenah-home-offer-products .xenah-product-badge-stack {
  position: static;
  max-width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0 0 8px;
}

body[data-page="home"] .xenah-home-offer-products .xenah-product-badge-stack .xenah-product-badge {
  font-size: 0.68rem;
  padding: 4px 9px;
}

.xenah-home-section-foot {
  margin-top: 18px;
}

.xenah-home-section-link {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-dark);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

body[data-page="home"] .xenah-offers,
body[data-page="home"] .xenah-offers {
  padding-top: clamp(18px, 2vw, 28px);
  padding-bottom: clamp(34px, 4vw, 50px);
}

body[data-page="home"] .xenah-categories,
body[data-page="home"] .xenah-reviews,
body[data-page="home"] .xenah-about {
  padding-top: clamp(38px, 4vw, 56px);
  padding-bottom: clamp(38px, 4vw, 56px);
}

body[data-page="home"] .xenah-offer-media {
  min-height: clamp(240px, 24vw, 300px);
}

@media (max-width: 980px) {
  body[data-page="home"] .xenah-home-offer-products,
  body[data-page="home"] #bestsellers .xenah-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body[data-page="home"] .xenah-section {
    padding: 38px 0;
  }

  body[data-page="home"] .xenah-brand-logo-card {
    flex-basis: 168px;
    min-height: 88px;
    padding: 16px 18px;
  }

  body[data-page="home"] #bestsellers .xenah-product-media,
  body[data-page="home"] .xenah-home-offer-products .xenah-product-media {
    height: 190px;
    min-height: 190px;
  }

  body[data-page="home"] .xenah-home-dynamic-offers.is-single-offer .xenah-home-offer-products {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
  }
}
/* ==============================================================
   Out of Stock Badge & Disabled States
   ============================================================== */

/* تصميم علامة نفدت الكمية */
.xenah-badge-soldout {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background-color: #2f2f2b;
  color: #ffffff;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  z-index: 3;
  pointer-events: none;
  letter-spacing: 0.02em;
}

.xenah-product-badge-stack .xenah-badge-soldout {
  position: static;
  inset: auto;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.72rem;
}

/* تخفيف لون صورة المنتج لما يكون خلصان */
.xenah-product-card.is-sold-out .xenah-product-media {
  opacity: 0.6;
  filter: grayscale(100%);
}

/* شكل الزرار لما يكون المنتج خلصان */
.xenah-product-card.is-sold-out .xenah-product-btn {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #cccccc !important;
  color: #666666 !important;
  border-color: #cccccc !important;
  pointer-events: none;
}
/* ==============================================================
   Toast Notification (Add to cart feedback)
   ============================================================== */
#xenah-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px); /* مخفي تحت الشاشة */
  background-color: var(--sage-dark);
  color: var(--white);
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(95, 104, 78, 0.3);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0.3s ease;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

#xenah-toast.is-visible {
  transform: translateX(-50%) translateY(0); /* يظهر في مكانه */
  opacity: 1;
  visibility: visible;
}

/* تعديل الارتفاع في الموبايل عشان ميبقاش مغطي على قوائم تانية */
@media (max-width: 767px) {
  #xenah-toast {
    bottom: 32px;
    font-size: 0.9rem;
    padding: 10px 22px;
  }
}

/* Checkout rebuild: scoped final layout rules */
body[data-page="checkout"] .xenah-checkout-page {
  min-height: 100vh;
  padding: 48px 20px 80px;
  background: var(--page-bg);
}

body[data-page="checkout"] .xenah-checkout-container {
  width: min(1180px, 100%);
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 0;
}

body[data-page="checkout"] .xenah-page-top-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

body[data-page="checkout"] .checkout-hero {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

body[data-page="checkout"] .checkout-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
  width: 100%;
}

body[data-page="checkout"] .checkout-main {
  min-width: 0;
  display: grid;
  gap: 18px;
  visibility: visible !important;
  opacity: 1 !important;
}

body[data-page="checkout"] .checkout-form {
  min-width: 0;
  display: grid !important;
  gap: 18px;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  position: static !important;
}

body[data-page="checkout"] .checkout-summary {
  min-width: 0;
  display: block !important;
  position: sticky;
  top: 24px;
  padding: 24px;
  border: 1px solid rgba(201, 178, 150, 0.16);
  border-radius: 28px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 14px 34px rgba(88, 67, 45, 0.055);
}

body[data-page="checkout"] .checkout-summary-items {
  display: grid;
  gap: 12px;
  max-height: 420px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-bottom: 18px;
  padding-inline-end: 4px;
}

body[data-page="checkout"] .checkout-form[hidden],
body[data-page="checkout"] .checkout-main[hidden],
body[data-page="checkout"] .checkout-summary[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  body[data-page="checkout"] .checkout-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="checkout"] .checkout-summary {
    position: static;
  }

  body[data-page="checkout"] .checkout-summary-items {
    max-height: none;
    overflow-y: visible;
    padding-inline-end: 0;
  }
}

/* Final stable checkout rebuild */
body[data-page="checkout"] .xenah-checkout-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 20px 80px;
  min-height: 100vh;
  background: var(--page-bg);
}

body[data-page="checkout"] .xenah-checkout-container {
  max-width: none;
  padding: 0;
}

body[data-page="checkout"] .xenah-checkout-hero {
  text-align: center;
  margin-bottom: 32px;
}

body[data-page="checkout"] .xenah-checkout-content {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
  direction: inherit;
}

body[data-page="checkout"] .xenah-checkout-form {
  min-width: 0;
  display: grid !important;
  gap: 18px;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
}

body[data-page="checkout"] .xenah-checkout-summary {
  min-width: 0;
  position: sticky;
  top: 24px;
  display: block !important;
}

body[data-page="checkout"] .xenah-checkout-card,
body[data-page="checkout"] .xenah-checkout-summary {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.04);
}

body[data-page="checkout"] .xenah-checkout-summary-items {
  max-height: 420px;
  overflow-y: auto;
  margin-bottom: 18px;
  display: grid;
  gap: 12px;
}

body[data-page="checkout"] .xenah-checkout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body[data-page="checkout"] .xenah-checkout-total-row {
  border-bottom: 0;
  font-weight: 800;
}

body[data-page="checkout"] .xenah-checkout-total-row strong {
  color: var(--sage-dark);
}

@media (max-width: 900px) {
  body[data-page="checkout"] .xenah-checkout-content {
    grid-template-columns: 1fr;
  }

  body[data-page="checkout"] .xenah-checkout-summary {
    position: static;
  }

  body[data-page="checkout"] .xenah-checkout-summary-items {
    max-height: none;
    overflow-y: visible;
  }
}


/* ==============================================================
   CHECKOUT RECOVERY PATCH - use legacy checkout structure safely
   ============================================================== */
body[data-page="checkout"] .xenah-checkout-page {
  min-height: 100vh;
  padding: 56px 0 72px !important;
  background: radial-gradient(circle at top left, rgba(201, 178, 150, 0.08), transparent 32%), var(--page-bg) !important;
}

body[data-page="checkout"] .xenah-checkout-container {
  width: min(calc(100% - 32px), 1180px) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

body[data-page="checkout"] .xenah-page-top-action {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-bottom: 26px !important;
}

body[data-page="checkout"] .xenah-checkout-header {
  max-width: 760px !important;
  margin: 0 auto 34px !important;
  text-align: center !important;
}

body[data-page="checkout"] .xenah-checkout-header h1 {
  margin: 8px 0 12px !important;
  font-size: clamp(2.1rem, 4vw, 3.6rem) !important;
  line-height: 1.05 !important;
}

body[data-page="checkout"] .xenah-checkout-content {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 24px !important;
  align-items: start !important;
  direction: ltr !important;
  width: 100% !important;
}

body[data-page="checkout"] .xenah-checkout-form,
body[data-page="checkout"] .xenah-checkout-success {
  grid-column: 1 !important;
  min-width: 0 !important;
}

body[data-page="checkout"] .xenah-checkout-summary {
  grid-column: 2 !important;
  min-width: 0 !important;
  position: sticky !important;
  top: 110px !important;
}

html[dir="rtl"] body[data-page="checkout"] .xenah-checkout-form,
html[dir="rtl"] body[data-page="checkout"] .xenah-checkout-summary {
  direction: rtl !important;
}

html[dir="ltr"] body[data-page="checkout"] .xenah-checkout-form,
html[dir="ltr"] body[data-page="checkout"] .xenah-checkout-summary {
  direction: ltr !important;
}

body[data-page="checkout"] .xenah-checkout-form {
  display: grid !important;
  gap: 18px !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
}

body[data-page="checkout"] .xenah-checkout-card,
body[data-page="checkout"] .xenah-checkout-summary,
body[data-page="checkout"] .xenah-checkout-empty-card {
  border: 1px solid rgba(201, 178, 150, 0.16) !important;
  background: rgba(255, 253, 249, 0.96) !important;
  border-radius: 28px !important;
  box-shadow: 0 14px 34px rgba(88, 67, 45, 0.055) !important;
}

body[data-page="checkout"] .xenah-checkout-card,
body[data-page="checkout"] .xenah-checkout-summary {
  padding: 24px !important;
}

body[data-page="checkout"] .xenah-checkout-items {
  display: grid !important;
  gap: 12px !important;
  max-height: 420px !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  margin-bottom: 18px !important;
  padding-inline-end: 4px !important;
}

/* Neutralize the failed rebuild-only classes if an old cached HTML still contains them. */
body[data-page="checkout"] .checkout-layout { display: none !important; }
body[data-page="checkout"] .checkout-main { display: contents !important; }

@media (max-width: 900px) {
  body[data-page="checkout"] .xenah-checkout-content {
    grid-template-columns: 1fr !important;
    direction: inherit !important;
  }
  body[data-page="checkout"] .xenah-checkout-form,
  body[data-page="checkout"] .xenah-checkout-success,
  body[data-page="checkout"] .xenah-checkout-summary {
    grid-column: auto !important;
  }
  body[data-page="checkout"] .xenah-checkout-summary {
    position: static !important;
  }
  body[data-page="checkout"] .xenah-checkout-items {
    max-height: none !important;
    overflow-y: visible !important;
    padding-inline-end: 0 !important;
  }
}

/* Isolated checkout implementation. This page does not use js/cart.js renderers. */
.checkout-page-clean {
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto;
  padding: 48px 0 80px;
}

.checkout-hero-clean {
  margin-bottom: 32px;
  text-align: center;
}

.checkout-hero-clean > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.checkout-logo-img {
  display: block;
  width: auto;
  height: 58px;
  object-fit: contain;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.checkout-logo-link,
.checkout-logo-link:hover,
.checkout-logo-link:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  text-decoration: none;
}

.checkout-back-btn,
.checkout-summary-clean a,
[data-checkout-empty-clean] a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid rgba(91, 108, 70, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: #5b6c46;
  font-weight: 700;
  text-decoration: none;
}

.checkout-hero-clean p:first-of-type {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 800;
}

.checkout-hero-clean h1 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(2.35rem, 6vw, 4.25rem);
  line-height: 1.05;
}

.checkout-hero-clean p:last-child {
  margin: 0 auto;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.8;
}

.checkout-grid-clean {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.checkout-form-clean,
.checkout-summary-clean,
[data-checkout-empty-clean] {
  min-width: 0;
  border: 1px solid rgba(201, 178, 150, 0.16);
  border-radius: 28px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 14px 34px rgba(88, 67, 45, 0.055);
}

.checkout-form-clean {
  display: grid;
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.checkout-form-clean > section,
.checkout-summary-clean,
[data-checkout-empty-clean] {
  padding: 24px;
}

.checkout-form-clean h2,
.checkout-summary-clean h2,
[data-checkout-empty-clean] h2 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 800;
}

.checkout-form-clean label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--text);
  font-weight: 800;
}

.checkout-form-clean label:last-child {
  margin-bottom: 0;
}

.checkout-form-clean input,
.checkout-form-clean select,
.checkout-form-clean textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(201, 178, 150, 0.22);
  border-radius: 16px;
  background: #fffdf9;
  color: var(--text);
  font: inherit;
  font-weight: 500;
  padding: 13px 14px;
  outline: none;
}

.checkout-form-clean textarea {
  min-height: 104px;
  resize: vertical;
}

.checkout-form-clean section:nth-of-type(2) > div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid rgba(126, 136, 104, 0.2);
  border-radius: 18px;
  background: rgba(248, 241, 231, 0.52);
}

.checkout-form-clean section:nth-of-type(2) > div > span {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 5px solid var(--sage-dark);
  border-radius: 999px;
  background: var(--white);
  flex: 0 0 auto;
}

.checkout-form-clean section:nth-of-type(2) p {
  margin: 5px 0 0;
  color: var(--muted);
}

.checkout-form-clean button {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: var(--sage-dark);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.checkout-form-clean button:disabled {
  opacity: 0.68;
  cursor: not-allowed;
}

.checkout-summary-clean {
  position: sticky;
  top: 24px;
}

.checkout-items-clean {
  display: grid;
  gap: 12px;
  max-height: 420px;
  margin-bottom: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-inline-end: 4px;
}

.checkout-items-clean article {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 178, 150, 0.14);
}

.checkout-items-clean article:first-child {
  padding-top: 0;
}

.checkout-items-clean article[data-checkout-item-error] {
  display: block;
  color: #8f4f3f;
  font-weight: 800;
  line-height: 1.7;
}

.checkout-items-clean p {
  margin: 0 0 4px;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.checkout-items-clean h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.35;
}

.checkout-items-clean span {
  color: var(--muted);
  font-size: 0.9rem;
}

.checkout-discount-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 8px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(91, 108, 70, 0.10);
  color: #5b6c46;
}

.checkout-price-old {
  text-decoration: line-through;
  opacity: 0.55;
  font-size: 12px;
}

.checkout-price-new {
  font-weight: 800;
  color: #5b6c46;
}

.checkout-items-clean strong {
  color: var(--sage-dark);
  white-space: nowrap;
}

.checkout-row-clean {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(201, 178, 150, 0.16);
  color: var(--muted);
}

.checkout-row-clean strong {
  color: var(--text);
}

.checkout-total-clean {
  border-bottom: 0;
  color: var(--text);
  font-weight: 800;
}

.checkout-total-clean strong {
  color: var(--sage-dark);
  font-size: 1.15rem;
}

.checkout-summary-clean a {
  width: 100%;
  margin-top: 16px;
}

.checkout-form-clean [data-checkout-message-clean],
.checkout-form-clean [data-checkout-success-clean] {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(126, 136, 104, 0.22);
  border-radius: 18px;
  background: rgba(248, 241, 231, 0.62);
  color: var(--sage-dark);
  font-weight: 800;
  text-align: center;
}

.checkout-form-clean [data-checkout-message-clean][data-message-type="error"] {
  border-color: rgba(164, 94, 74, 0.24);
  background: rgba(164, 94, 74, 0.08);
  color: #8f4f3f;
}

.checkout-form-clean [data-checkout-message-clean][data-message-type="success"],
.checkout-form-clean [data-checkout-success-clean] {
  border-color: rgba(126, 136, 104, 0.3);
  background: rgba(126, 136, 104, 0.12);
  color: var(--sage-dark);
}

[data-checkout-success][hidden] {
  display: none !important;
}

.checkout-success-clean {
  max-width: 820px;
  margin: 48px auto 80px;
  background: #fff;
  border: 1px solid rgba(91, 108, 70, 0.16);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.checkout-success-title {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 800;
  color: #2f332b;
}

.checkout-success-clean > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.checkout-success-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.checkout-success-item {
  background: rgba(91, 108, 70, 0.06);
  border-radius: 16px;
  padding: 12px;
  text-align: start;
}

.checkout-success-item span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.checkout-success-item strong {
  display: block;
  color: var(--text);
  overflow-wrap: anywhere;
}

.checkout-success-products {
  margin-top: 20px;
  text-align: start;
}

.checkout-success-products > h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
}

.checkout-success-products article {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(91, 108, 70, 0.12);
}

.checkout-success-products h3,
.checkout-success-products p {
  margin: 0;
}

.checkout-success-products p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.checkout-success-products strong {
  color: var(--sage-dark);
  white-space: nowrap;
}

.checkout-success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.checkout-success-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.checkout-success-actions a:first-child {
  background: var(--sage-dark);
  color: var(--white);
}

.checkout-success-actions a:last-child {
  border: 1px solid rgba(91, 108, 70, 0.22);
  background: rgba(255, 255, 255, 0.65);
  color: #5b6c46;
}

[data-checkout-empty-clean] {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

[data-checkout-empty-clean] p {
  margin: 0 auto 22px;
  max-width: 440px;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 900px) {
  .checkout-grid-clean {
    grid-template-columns: 1fr;
  }

  .checkout-summary-clean {
    position: static;
  }
}

@media (max-width: 700px) {
  .checkout-success-grid {
    grid-template-columns: 1fr;
  }

  .checkout-success-products article {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .checkout-page-clean {
    width: min(calc(100% - 20px), 1180px);
    padding: 28px 0 56px;
  }

  .checkout-hero-clean > div {
    align-items: flex-start;
  }

  .checkout-hero-clean img {
    width: 96px;
  }

  .checkout-form-clean > section,
  .checkout-summary-clean,
  [data-checkout-empty-clean] {
    padding: 20px;
    border-radius: 24px;
  }

  .checkout-items-clean {
    max-height: none;
    overflow-y: visible;
    padding-inline-end: 0;
  }
}


/* ==============================================================
   Mobile product grid refinement - larger images / tighter spacing
   ============================================================== */
@media (max-width: 767px) {
  /* Product grids on home + shop: keep 2 columns but reduce wasted space */
  .xenah-products-grid,
  .xenah-shop-grid,
  body[data-page="home"] .xenah-home-offer-products,
  body[data-page="home"] #bestsellers .xenah-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  /* Wider usable area on mobile without touching desktop */
  .xenah-products-grid,
  .xenah-shop-grid {
    width: 100%;
  }

  /* Smaller card padding so the image gets more space */
  .xenah-product-card,
  body[data-page="home"] #bestsellers .xenah-product-card,
  body[data-page="home"] .xenah-home-offer-products .xenah-product-card {
    padding: 8px 8px 10px;
    border-radius: 16px;
  }

  /* Larger product image area on mobile */
  .xenah-product-media,
  body[data-page="home"] #bestsellers .xenah-product-media,
  body[data-page="home"] .xenah-home-offer-products .xenah-product-media,
  body[data-page="home"] .xenah-home-dynamic-offers.is-single-offer .xenah-product-media {
    height: clamp(175px, 45vw, 205px);
    min-height: clamp(175px, 45vw, 205px);
    margin-bottom: 8px;
  }

  .xenah-product-image-wrap,
  .xenah-product-card--transparent .xenah-product-image-wrap,
  .xenah-product-card--boxed .xenah-product-image-wrap {
    padding: 2px;
  }

  .xenah-product-image,
  .xenah-product-card--transparent .xenah-product-image,
  .xenah-product-card--boxed .xenah-product-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  /* Compact text area so cards look closer to the reference */
  .xenah-product-brand {
    margin-bottom: 4px;
    font-size: 0.72rem;
  }

  .xenah-product-name {
    margin-bottom: 7px;
    font-size: 0.86rem;
    line-height: 1.45;
    min-height: 2.9em;
    -webkit-line-clamp: 2;
  }

  .xenah-product-category {
    margin: -2px 0 7px;
    font-size: 0.74rem;
  }

  .xenah-product-meta {
    gap: 6px;
    margin-bottom: 6px;
  }

  .xenah-product-price,
  .xenah-product-old-price {
    font-size: 0.82rem;
  }

  .xenah-product-rating {
    font-size: 0.72rem;
  }

  .xenah-product-fav,
  .xenah-product-card__floating-cart {
    top: 8px;
    width: 30px;
    min-width: 30px;
    height: 30px;
  }

  .xenah-product-fav { inset-inline-end: 8px; }
  .xenah-product-card__floating-cart { inset-inline-start: 8px; }

  .xenah-product-badge-stack {
    top: 8px;
    inset-inline-start: 8px;
    max-width: calc(100% - 46px);
    gap: 4px;
  }

  .xenah-product-badge-stack .xenah-product-badge {
    padding: 4px 7px;
    font-size: 0.62rem;
    line-height: 1.15;
  }
}

@media (max-width: 390px) {
  .xenah-products-grid,
  .xenah-shop-grid,
  body[data-page="home"] .xenah-home-offer-products,
  body[data-page="home"] #bestsellers .xenah-products-grid {
    gap: 7px;
  }

  .xenah-product-media,
  body[data-page="home"] #bestsellers .xenah-product-media,
  body[data-page="home"] .xenah-home-offer-products .xenah-product-media,
  body[data-page="home"] .xenah-home-dynamic-offers.is-single-offer .xenah-product-media {
    height: clamp(160px, 44vw, 185px);
    min-height: clamp(160px, 44vw, 185px);
  }
}

/* Phase 1.5: stabilized home offer sliders */
body[data-page="home"] {
  overflow-x: hidden;
}

body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products {
  display: flex;
  grid-template-columns: none;
  flex-wrap: nowrap;
  gap: 16px;
  width: 100%;
  max-width: min(100%, var(--container-max));
  margin-inline: auto;
  padding: 8px 4px 24px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(126, 136, 104, 0.78) transparent;
  -webkit-overflow-scrolling: touch;
}

html[dir="rtl"] body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products,
body.rtl[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products {
  direction: rtl;
}

html[dir="ltr"] body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products,
body.ltr[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products {
  direction: ltr;
}

body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products::-webkit-scrollbar {
  height: 6px;
}

body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products::-webkit-scrollbar-track {
  background: transparent;
}

body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products::-webkit-scrollbar-thumb {
  background: rgba(126, 136, 104, 0.78);
  border-radius: 999px;
}

body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-section-foot::before {
  content: "";
  display: block;
  width: min(132px, 38vw);
  height: 5px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(126, 136, 104, 0.18),
    rgba(126, 136, 104, 0.82),
    rgba(126, 136, 104, 0.18)
  );
}

body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products .xenah-product-card {
  flex: 0 0 clamp(250px, calc((100% - 32px) / 3), 360px);
  max-width: clamp(250px, calc((100% - 32px) / 3), 360px);
  min-width: 0;
  scroll-snap-align: start;
}

html[dir="rtl"] body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products .xenah-product-card,
body.rtl[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products .xenah-product-card {
  direction: rtl;
}

html[dir="ltr"] body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products .xenah-product-card,
body.ltr[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products .xenah-product-card {
  direction: ltr;
}

body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers).is-single-offer .xenah-home-offer-products {
  justify-content: center;
  overflow-x: visible;
}

body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers).is-single-offer .xenah-home-offer-products .xenah-product-card {
  flex-basis: min(430px, 100%);
  max-width: min(430px, 100%);
}

body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products .xenah-product-media {
  height: clamp(220px, 19vw, 270px);
  min-height: clamp(220px, 19vw, 270px);
}

@media (max-width: 980px) {
  body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products {
    gap: 14px;
  }

  body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products .xenah-product-card {
    flex-basis: clamp(230px, calc((100% - 14px) / 2), 340px);
    max-width: clamp(230px, calc((100% - 14px) / 2), 340px);
  }
}

@media (max-width: 767px) {
  body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products {
    gap: 10px;
    padding: 6px 2px 22px;
    scroll-padding-inline: 2px;
  }

  body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products::-webkit-scrollbar {
    height: 5px;
  }

  body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products .xenah-product-card {
    flex-basis: clamp(158px, calc((100% - 10px) / 2), 240px);
    max-width: clamp(158px, calc((100% - 10px) / 2), 240px);
    padding: 10px 10px 12px;
    border-radius: 16px;
  }

  body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products .xenah-product-media {
    height: 170px;
    min-height: 170px;
    margin-bottom: 8px;
  }

  body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products .xenah-product-name {
    font-size: 0.9rem;
    line-height: 1.45;
    min-height: 2.9em;
    margin-bottom: 8px;
  }

  body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products .xenah-product-category,
  body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products .xenah-product-brand {
    font-size: 0.76rem;
  }

  body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products .xenah-product-price {
    font-size: 0.92rem;
  }
}

@media (max-width: 420px) {
  body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products .xenah-product-media {
    height: 160px;
    min-height: 160px;
  }
}

/* Phase 2A: mobile header and shop drawer refinements */
@media (max-width: 767.98px) {
  .xenah-topbar-inner {
    min-height: 30px;
    padding: 4px 0;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .xenah-topbar-links {
    display: none;
  }

  .xenah-topbar-message {
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .xenah-main-header {
    padding: 0;
  }

  .xenah-header-grid {
    min-height: 58px;
    column-gap: 6px;
  }

  .xenah-logo-wrap img {
    max-height: 34px;
  }

  .xenah-header-actions {
    gap: 6px;
  }

  .xenah-icon-btn,
  .xenah-lang-toggle,
  .xenah-mobile-menu-btn {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }

  .xenah-mobile-search-row {
    padding-bottom: 8px;
  }

  .xenah-mobile-search-row .xenah-search {
    min-height: 40px;
  }

  /* Phase 2B: Alfouad-like mobile header structure */
  .xenah-main-header {
    padding: 0 0 10px;
  }

  .xenah-header-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: "start logo end";
    min-height: 54px;
    align-items: center;
    column-gap: 8px;
    padding-inline: 0;
  }

  .xenah-mobile-menu-toggle,
  .xenah-mobile-logo,
  .xenah-mobile-lang,
  .xenah-mobile-cart,
  .xenah-mobile-account,
  .xenah-mobile-search {
    order: initial;
  }

  html[dir="ltr"] .xenah-mobile-menu-toggle,
  html[dir="ltr"] .xenah-mobile-logo,
  html[dir="ltr"] .xenah-mobile-lang,
  html[dir="ltr"] .xenah-mobile-cart,
  html[dir="ltr"] .xenah-mobile-account,
  html[dir="ltr"] .xenah-mobile-search,
  html[dir="rtl"] .xenah-mobile-menu-toggle,
  html[dir="rtl"] .xenah-mobile-logo,
  html[dir="rtl"] .xenah-mobile-lang,
  html[dir="rtl"] .xenah-mobile-cart,
  html[dir="rtl"] .xenah-mobile-account,
  html[dir="rtl"] .xenah-mobile-search {
    order: initial;
  }

  html[dir="ltr"] .xenah-header-grid,
  body.is-ltr .xenah-header-grid,
  html[dir="rtl"] .xenah-header-grid,
  body.is-rtl .xenah-header-grid {
    position: static;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: none;
    direction: inherit;
    flex-direction: initial;
  }

  .xenah-mobile-menu-toggle,
  .xenah-mobile-logo,
  .xenah-header-actions {
    position: static;
    transform: none;
    top: auto;
    left: auto;
    right: auto;
    inset-inline-start: auto;
    inset-inline-end: auto;
    grid-area: auto;
    align-self: center;
  }

  .xenah-mobile-logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    display: flex;
    margin: 0;
  }

  html[dir="ltr"] .xenah-mobile-menu-toggle,
  body.is-ltr .xenah-mobile-menu-toggle {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    display: inline-flex;
  }

  html[dir="ltr"] .xenah-header-actions,
  body.is-ltr .xenah-header-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    direction: ltr;
  }

  html[dir="rtl"] .xenah-mobile-menu-toggle,
  body.is-rtl .xenah-mobile-menu-toggle {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: inline-flex;
  }

  html[dir="rtl"] .xenah-header-actions,
  body.is-rtl .xenah-header-actions {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    direction: ltr;
  }

  .xenah-search-desktop,
  .xenah-header-divider,
  .xenah-mobile-search,
  .xenah-mobile-account,
  .xenah-wishlist-link {
    display: none !important;
  }

  .xenah-mobile-lang,
  .xenah-mobile-cart {
    display: inline-flex;
  }

  html[dir="ltr"] .xenah-mobile-lang {
    order: 1;
  }

  html[dir="ltr"] .xenah-mobile-cart {
    order: 2;
  }

  html[dir="rtl"] .xenah-mobile-lang {
    order: 1;
  }

  html[dir="rtl"] .xenah-mobile-cart {
    order: 2;
  }

  .xenah-mobile-search-row,
  .xenah-mobile-search-row[hidden] {
    display: block !important;
    padding-bottom: 0;
  }

  .xenah-mobile-search-row .xenah-search {
    width: 100%;
    height: 44px;
    min-height: 44px;
    border-radius: 999px;
    background: var(--white);
  }

  .xenah-mobile-drawer {
    justify-content: flex-start;
  }

  html[dir="rtl"] .xenah-mobile-drawer,
  body.is-rtl .xenah-mobile-drawer {
    justify-content: flex-end;
  }

  .xenah-mobile-drawer-panel {
    transform: translateX(-100%);
  }

  html[dir="rtl"] .xenah-mobile-drawer-panel,
  body.is-rtl .xenah-mobile-drawer-panel {
    transform: translateX(100%);
  }

  .xenah-mobile-drawer.is-open .xenah-mobile-drawer-panel {
    transform: translateX(0);
  }

  body[data-page="shop"] .xenah-shop-hero {
    padding-top: 28px;
  }

  body[data-page="shop"] .xenah-shop-layout {
    gap: 12px;
  }

  body[data-page="shop"] .xenah-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body[data-page="shop"] .xenah-shop-page .xenah-product-card {
    padding: 8px 8px 10px;
    border-radius: 16px;
  }

  body[data-page="shop"] .xenah-shop-page .xenah-product-media {
    height: clamp(176px, 46vw, 210px);
    min-height: clamp(176px, 46vw, 210px);
    margin-bottom: 8px;
  }

  body[data-page="shop"] .xenah-shop-page .xenah-product-name {
    margin-bottom: 6px;
    font-size: 0.86rem;
    line-height: 1.45;
    min-height: 2.9em;
  }

  body[data-page="shop"] .xenah-shop-page .xenah-product-brand,
  body[data-page="shop"] .xenah-shop-page .xenah-product-category {
    font-size: 0.72rem;
  }

  body[data-page="shop"] .xenah-shop-page .xenah-product-meta-row {
    gap: 6px;
  }
}

@media (max-width: 390px) {
  body[data-page="shop"] .xenah-shop-page .xenah-product-media {
    height: clamp(160px, 44vw, 185px);
    min-height: clamp(160px, 44vw, 185px);
  }
}

/* Phase 2A fix: mobile filter bar placement and drawer direction */
@media (max-width: 767.98px) {
  html.is-shop-filter-open,
  body.is-shop-filter-open {
    overflow: hidden;
  }

  body[data-page="shop"] .xenah-shop-hero {
    padding-top: 8px;
  }

  body[data-page="shop"] .xenah-shop-head {
    display: none;
  }

  body[data-page="shop"] .xenah-shop-results-bar {
    display: block;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body[data-page="shop"] .xenah-shop-results-copy {
    display: none;
  }

  body[data-page="shop"] .xenah-shop-active-state {
    position: static;
    margin: 0 0 10px;
  }

  body[data-page="shop"] .xenah-shop-active-state[hidden] {
    display: none;
  }

  body[data-page="shop"] .xenah-mobile-shop-toolbar {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    margin: 0 0 10px;
    padding: 7px 10px;
    border: 1px solid rgba(201, 178, 150, 0.16);
    border-radius: 16px;
    background: var(--page-bg);
    box-shadow: 0 10px 20px rgba(88, 67, 45, 0.06);
  }

  html[dir="rtl"] body[data-page="shop"] .xenah-mobile-shop-toolbar,
  body[data-page="shop"].is-rtl .xenah-mobile-shop-toolbar {
    direction: rtl;
    flex-direction: row;
  }

  html[dir="ltr"] body[data-page="shop"] .xenah-mobile-shop-toolbar,
  body[data-page="shop"].is-ltr .xenah-mobile-shop-toolbar {
    direction: ltr;
    flex-direction: row;
  }

  body[data-page="shop"] .xenah-mobile-shop-toolbar-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
  }

  body[data-page="shop"] .xenah-mobile-shop-breadcrumb,
  body[data-page="shop"] .xenah-mobile-shop-count {
    margin: 0;
    line-height: 1.25;
  }

  body[data-page="shop"] .xenah-mobile-shop-breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    color: var(--muted);
    font-size: 0.74rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  html[dir="rtl"] body[data-page="shop"] .xenah-mobile-shop-breadcrumb,
  body[data-page="shop"].is-rtl .xenah-mobile-shop-breadcrumb {
    justify-content: flex-start;
    text-align: right;
  }

  html[dir="ltr"] body[data-page="shop"] .xenah-mobile-shop-breadcrumb,
  body[data-page="shop"].is-ltr .xenah-mobile-shop-breadcrumb {
    justify-content: flex-start;
    text-align: left;
  }

  body[data-page="shop"] .xenah-mobile-shop-breadcrumb span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text);
    font-weight: 800;
  }

  body[data-page="shop"] .xenah-mobile-shop-count {
    color: var(--sage-dark);
    font-size: 0.78rem;
    font-weight: 800;
  }

  body[data-page="shop"] .xenah-mobile-shop-toolbar-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
  }

  body[data-page="shop"] .xenah-mobile-shop-toolbar + .xenah-shop-grid {
    margin-top: 8px;
  }

  body[data-page="shop"] .xenah-shop-results-bar + .xenah-shop-grid {
    margin-top: 8px;
  }

  body[data-page="shop"] .xenah-mobile-filter-toggle {
    position: static;
    z-index: auto;
    width: auto;
    min-width: 86px;
    min-height: 36px;
    margin: 0;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: none;
    transform: none;
    box-shadow: none;
  }

  body[data-page="shop"] .xenah-shop-layout {
    overflow: visible;
  }

  body[data-page="shop"] .xenah-mobile-filter-overlay {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  body[data-page="shop"] .xenah-shop-layout.is-mobile-filter-open .xenah-mobile-filter-overlay {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  body[data-page="shop"] .xenah-shop-sidebar {
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(calc(100% + 24px), 0, 0);
    transition: transform 220ms ease, visibility 0s linear 220ms;
    will-change: transform;
  }

  html[dir="rtl"] body[data-page="shop"] .xenah-shop-sidebar,
  body[data-page="shop"].is-rtl .xenah-shop-sidebar {
    inset-inline-end: 0;
    inset-inline-start: auto;
    right: 0;
    left: auto;
    transform: translate3d(calc(100% + 24px), 0, 0);
  }

  html[dir="ltr"] body[data-page="shop"] .xenah-shop-sidebar,
  body[data-page="shop"].is-ltr .xenah-shop-sidebar {
    inset-inline-start: 0;
    inset-inline-end: auto;
    left: 0;
    right: auto;
    transform: translate3d(calc(-100% - 24px), 0, 0);
  }

  body[data-page="shop"] .xenah-shop-layout.is-mobile-filter-open .xenah-shop-sidebar {
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition: transform 220ms ease, visibility 0s linear 0s;
  }
}

/* Mobile header side zones: real DOM selectors, kept at EOF to win old mobile overrides. */
@media (max-width: 767.98px) {
  .xenah-site-header .xenah-main-header > .xenah-container.xenah-header-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    grid-template-areas: none !important;
    align-items: center !important;
    direction: ltr;
  }

  .xenah-site-header .xenah-mobile-menu-btn.xenah-mobile-menu-toggle,
  .xenah-site-header .xenah-logo-wrap.xenah-mobile-logo,
  .xenah-site-header .xenah-header-actions {
    position: static !important;
    transform: none !important;
    inset: auto !important;
    grid-area: auto !important;
    grid-row: 1 !important;
    align-self: center !important;
  }

  .xenah-site-header .xenah-logo-wrap.xenah-mobile-logo {
    grid-column: 2 !important;
    justify-self: center !important;
    margin: 0 !important;
  }

  html[dir="ltr"] .xenah-site-header .xenah-mobile-menu-btn.xenah-mobile-menu-toggle,
  body.is-ltr .xenah-site-header .xenah-mobile-menu-btn.xenah-mobile-menu-toggle {
    grid-column: 1 !important;
    justify-self: start !important;
    display: inline-flex !important;
  }

  html[dir="ltr"] .xenah-site-header .xenah-header-actions,
  body.is-ltr .xenah-site-header .xenah-header-actions {
    grid-column: 3 !important;
    justify-self: end !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    direction: ltr;
  }

  html[dir="rtl"] .xenah-site-header .xenah-mobile-menu-btn.xenah-mobile-menu-toggle,
  body.is-rtl .xenah-site-header .xenah-mobile-menu-btn.xenah-mobile-menu-toggle {
    grid-column: 3 !important;
    justify-self: end !important;
    display: inline-flex !important;
  }

  html[dir="rtl"] .xenah-site-header .xenah-header-actions,
  body.is-rtl .xenah-site-header .xenah-header-actions {
    grid-column: 1 !important;
    justify-self: start !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    direction: ltr;
  }

  .xenah-site-header .xenah-header-actions .xenah-mobile-lang,
  .xenah-site-header .xenah-header-actions .xenah-mobile-cart {
    display: inline-flex !important;
  }

  html[dir="ltr"] .xenah-site-header .xenah-header-actions .xenah-mobile-lang,
  body.is-ltr .xenah-site-header .xenah-header-actions .xenah-mobile-lang,
  html[dir="rtl"] .xenah-site-header .xenah-header-actions .xenah-mobile-lang,
  body.is-rtl .xenah-site-header .xenah-header-actions .xenah-mobile-lang {
    order: 1 !important;
  }

  html[dir="ltr"] .xenah-site-header .xenah-header-actions .xenah-mobile-cart,
  body.is-ltr .xenah-site-header .xenah-header-actions .xenah-mobile-cart,
  html[dir="rtl"] .xenah-site-header .xenah-header-actions .xenah-mobile-cart,
  body.is-rtl .xenah-site-header .xenah-header-actions .xenah-mobile-cart {
    order: 2 !important;
  }
}

/* Keep shop sticky controls below any open mobile drawer/menu. */
@media (max-width: 767.98px) {
  body[data-page="shop"].xenah-no-scroll .xenah-mobile-shop-toolbar,
  body[data-page="shop"].xenah-no-scroll .xenah-shop-results-bar,
  html.is-shop-filter-open body[data-page="shop"] .xenah-mobile-shop-toolbar,
  html.is-shop-filter-open body[data-page="shop"] .xenah-shop-results-bar,
  body[data-page="shop"].is-shop-filter-open .xenah-mobile-shop-toolbar,
  body[data-page="shop"].is-shop-filter-open .xenah-shop-results-bar {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body[data-page="shop"] .xenah-mobile-drawer,
  body[data-page="shop"] .xenah-mobile-drawer.is-open {
    z-index: 220;
  }
}

/* Phase 3B: cleaner home titles and tighter section rhythm. */
body[data-page="home"] .xenah-section-kicker {
  display: none;
}

body[data-page="home"] .xenah-section {
  padding-top: clamp(32px, 3.8vw, 50px);
  padding-bottom: clamp(32px, 3.8vw, 50px);
}

body[data-page="home"] .xenah-section-head {
  margin-bottom: clamp(14px, 2vw, 20px);
}

body[data-page="home"] .xenah-section-head h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

body[data-page="home"] .xenah-section-head p:last-child {
  margin-top: 0;
}

body[data-page="home"] .xenah-brands {
  padding-top: clamp(24px, 3vw, 36px);
  padding-bottom: clamp(24px, 3vw, 36px);
}

body[data-page="home"] .xenah-home-dynamic-offers {
  padding-top: clamp(20px, 2.6vw, 32px);
  padding-bottom: clamp(18px, 2.5vw, 30px);
}

body[data-page="home"] .xenah-home-dynamic-offers--special {
  padding-top: clamp(8px, 1.4vw, 16px);
  padding-bottom: clamp(22px, 2.8vw, 34px);
}

body[data-page="home"] .xenah-categories,
body[data-page="home"] #bestsellers,
body[data-page="home"] .xenah-reviews,
body[data-page="home"] .xenah-about {
  padding-top: clamp(30px, 3.4vw, 44px);
  padding-bottom: clamp(30px, 3.4vw, 44px);
}

body[data-page="home"] #bestsellers {
  padding-top: clamp(34px, 3.8vw, 48px);
}

@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  body[data-page="home"] .xenah-section-head {
    margin-bottom: 14px;
  }

  body[data-page="home"] .xenah-brands,
  body[data-page="home"] .xenah-home-dynamic-offers,
  body[data-page="home"] .xenah-home-dynamic-offers--special,
  body[data-page="home"] .xenah-categories,
  body[data-page="home"] #bestsellers,
  body[data-page="home"] .xenah-reviews,
  body[data-page="home"] .xenah-about {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  body[data-page="home"] .xenah-home-dynamic-offers--special {
    padding-top: 8px;
  }
}

/* Phase 3C: mobile hero/banner display refinement only. */
@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-hero {
    padding: 10px 0 18px;
  }

  body[data-page="home"] .xenah-hero-slider {
    width: min(calc(100% - 20px), var(--container-max));
    margin-inline: auto;
    overflow: visible;
  }

  body[data-page="home"] .xenah-slider-track-wrap,
  body[data-page="home"] .hero-viewport {
    aspect-ratio: 16 / 7.8;
    min-height: 0;
    height: auto;
    border-radius: 18px;
    overflow: hidden;
  }

  body[data-page="home"] .xenah-slider-track,
  body[data-page="home"] .hero-track,
  body[data-page="home"] .xenah-slide,
  body[data-page="home"] .hero-slide {
    min-height: 0;
    height: 100%;
  }

  body[data-page="home"] .hero-banner-media,
  body[data-page="home"] .hero-banner-placeholder {
    inset: 0;
    min-height: 0;
    height: 100%;
  }

  body[data-page="home"] .hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  body[data-page="home"] .xenah-slider-dots {
    position: static;
    min-height: 16px;
    margin: 8px 0 0;
    display: flex;
    justify-content: center;
    gap: 5px;
  }

  body[data-page="home"] .xenah-slider-dots button {
    width: 6px;
    height: 6px;
    min-width: 6px;
    min-height: 6px;
    border-radius: 999px;
    opacity: 0.38;
  }

  body[data-page="home"] .xenah-slider-dots button.is-active {
    width: 18px;
    opacity: 1;
    background: var(--sage-dark);
  }

  body[data-page="home"] .xenah-slider-arrow {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    top: calc((100% - 24px) / 2);
    opacity: 0.78;
    box-shadow: 0 8px 18px rgba(58, 48, 33, 0.12);
  }

  body[data-page="home"] .xenah-slider-arrow span {
    font-size: 1.15rem;
    line-height: 1;
  }

  body[data-page="home"] .xenah-slider-prev {
    inset-inline-start: 8px;
  }

  body[data-page="home"] .xenah-slider-next {
    inset-inline-end: 8px;
  }

  body[data-page="home"] .xenah-hero + .xenah-section,
  body[data-page="home"] .xenah-hero + #brands {
    padding-top: 22px;
  }
}

/* Phase 3D: home page premium visual polish only. */
body[data-page="home"] .xenah-section-head,
body[data-page="home"] .xenah-section-head-compact {
  max-width: 760px;
  margin-bottom: clamp(12px, 1.8vw, 18px);
}

body[data-page="home"] .xenah-section-head h2,
body[data-page="home"] .xenah-section-head-compact h2 {
  margin: 0 0 6px;
  font-size: clamp(1.55rem, 2.35vw, 2.25rem);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: 0;
}

body[data-page="home"] .xenah-section-head p:last-child,
body[data-page="home"] .xenah-section-head-compact p:last-child {
  max-width: 560px;
  margin-top: 0;
  color: rgba(78, 72, 62, 0.72);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.65;
}

body[data-page="home"] .xenah-brands .xenah-section-head {
  margin-bottom: clamp(10px, 1.6vw, 16px);
}

body[data-page="home"] .xenah-brands .xenah-section-head h2 {
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  line-height: 1.14;
}

body[data-page="home"] .xenah-brands-carousel {
  padding: 2px 0 8px;
}

body[data-page="home"] .xenah-brands-carousel .xenah-brands-track {
  gap: clamp(12px, 1.8vw, 18px);
}

body[data-page="home"] .xenah-brand-logo-card {
  min-height: clamp(92px, 8vw, 118px);
  padding: clamp(18px, 2vw, 26px);
  border-radius: 18px;
  border-color: rgba(201, 178, 150, 0.22);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 12px 28px rgba(58, 48, 33, 0.07);
}

body[data-page="home"] .xenah-brand-logo-card:hover,
body[data-page="home"] .xenah-brand-logo-card:focus-visible {
  box-shadow: 0 16px 34px rgba(58, 48, 33, 0.1);
}

body[data-page="home"] .xenah-brand-logo {
  max-width: min(82%, 170px);
  max-height: 68px;
  object-fit: contain;
}

body[data-page="home"] .xenah-section {
  padding-top: clamp(28px, 3.2vw, 42px);
  padding-bottom: clamp(28px, 3.2vw, 42px);
}

body[data-page="home"] .xenah-brands {
  padding-top: clamp(22px, 2.8vw, 34px);
  padding-bottom: clamp(22px, 2.8vw, 34px);
}

body[data-page="home"] .xenah-home-dynamic-offers {
  padding-top: clamp(18px, 2.2vw, 28px);
  padding-bottom: clamp(18px, 2.2vw, 28px);
}

body[data-page="home"] .xenah-home-dynamic-offers--special {
  padding-top: clamp(6px, 1vw, 12px);
}

body[data-page="home"] .xenah-categories,
body[data-page="home"] #bestsellers,
body[data-page="home"] .xenah-reviews,
body[data-page="home"] .xenah-about {
  padding-top: clamp(28px, 3vw, 40px);
  padding-bottom: clamp(28px, 3vw, 40px);
}

body[data-page="home"] .xenah-home-section-foot {
  padding-top: clamp(10px, 1.4vw, 16px);
}

body[data-page="home"] .xenah-home-section-link {
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--sage-dark);
  border-color: rgba(91, 108, 70, 0.28);
  background: rgba(255, 253, 248, 0.84);
}

body[data-page="home"] .xenah-home-section-link:hover,
body[data-page="home"] .xenah-home-section-link:focus-visible {
  color: var(--white);
  background: var(--sage-dark);
  border-color: var(--sage-dark);
}

@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-section-head,
  body[data-page="home"] .xenah-section-head-compact {
    margin-bottom: 12px;
  }

  body[data-page="home"] .xenah-section-head h2,
  body[data-page="home"] .xenah-section-head-compact h2 {
    font-size: clamp(1.25rem, 5.2vw, 1.55rem);
    line-height: 1.18;
  }

  body[data-page="home"] .xenah-brands .xenah-section-head h2 {
    max-width: 19ch;
    margin-inline: auto;
    font-size: clamp(1.22rem, 4.8vw, 1.45rem);
    line-height: 1.18;
  }

  body[data-page="home"] .xenah-section-head p:last-child,
  body[data-page="home"] .xenah-section-head-compact p:last-child {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  body[data-page="home"] .xenah-section,
  body[data-page="home"] .xenah-brands,
  body[data-page="home"] .xenah-home-dynamic-offers,
  body[data-page="home"] .xenah-categories,
  body[data-page="home"] #bestsellers,
  body[data-page="home"] .xenah-reviews,
  body[data-page="home"] .xenah-about {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  body[data-page="home"] .xenah-home-dynamic-offers--special {
    padding-top: 6px;
  }

  body[data-page="home"] .xenah-brands-carousel .xenah-brands-track {
    gap: 10px;
  }

  body[data-page="home"] .xenah-brand-logo-card {
    min-height: 92px;
    padding: 16px 18px;
    border-radius: 16px;
  }

  body[data-page="home"] .xenah-brand-logo {
    max-width: min(86%, 145px);
    max-height: 58px;
  }

  body[data-page="home"] .xenah-home-section-link {
    min-height: 32px;
    padding: 7px 13px;
    font-size: 0.8rem;
  }
}

/* Phase 3D fix: smoother mobile brand title and softer transition to offers. */
body[data-page="home"] .xenah-brands {
  border-bottom: 0;
  background: transparent;
}

body[data-page="home"] .xenah-brands + .xenah-home-dynamic-offers {
  border-top: 0;
  margin-top: 0;
}

body[data-page="home"] .xenah-brands + .xenah-home-dynamic-offers::before,
body[data-page="home"] .xenah-brands + .xenah-home-dynamic-offers::after {
  display: none;
}

@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-brands {
    padding-bottom: 18px;
  }

  body[data-page="home"] .xenah-brands .xenah-section-head {
    margin-bottom: 10px;
  }

  body[data-page="home"] .xenah-brands .xenah-section-head h2 {
    max-width: min(330px, 92vw);
    font-size: clamp(1.18rem, 4.5vw, 1.42rem);
    line-height: 1.24;
    font-weight: 700;
    text-wrap: balance;
  }

  body[data-page="home"] .xenah-brands .xenah-section-head p:last-child {
    max-width: 320px;
    margin-inline: auto;
    font-size: 0.82rem;
  }

  body[data-page="home"] .xenah-brands + .xenah-home-dynamic-offers {
    padding-top: 14px;
  }
}

/* Phase 3D fix 2: remove extra green line below home offer slider scrollbar only. */
body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-section-foot::before {
  content: none;
  display: none;
}

body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-section-foot {
  border-bottom: 0;
  box-shadow: none;
  background-image: none;
}

/* Phase 3E: unified home slider direction across RTL/LTR. */
html[dir="rtl"] body[data-page="home"] .xenah-hero-slider,
html[dir="rtl"] body[data-page="home"] .hero-viewport,
html[dir="rtl"] body[data-page="home"] .xenah-slider-dots,
html[dir="rtl"] body[data-page="home"] .xenah-brands-carousel,
html[dir="rtl"] body[data-page="home"] .xenah-brands-track,
html[dir="rtl"] body[data-page="home"] .xenah-home-offer-products,
html[dir="rtl"] body[data-page="home"] .xenah-category-viewport,
html[dir="rtl"] body[data-page="home"] .xenah-category-track {
  direction: rtl;
}

html[dir="ltr"] body[data-page="home"] .xenah-hero-slider,
html[dir="ltr"] body[data-page="home"] .hero-viewport,
html[dir="ltr"] body[data-page="home"] .xenah-slider-dots,
html[dir="ltr"] body[data-page="home"] .xenah-brands-carousel,
html[dir="ltr"] body[data-page="home"] .xenah-brands-track,
html[dir="ltr"] body[data-page="home"] .xenah-home-offer-products,
html[dir="ltr"] body[data-page="home"] .xenah-category-viewport,
html[dir="ltr"] body[data-page="home"] .xenah-category-track {
  direction: ltr;
}

html[dir="rtl"] body[data-page="home"] .xenah-brand-card,
html[dir="rtl"] body[data-page="home"] .xenah-home-offer-products .xenah-product-card,
html[dir="rtl"] body[data-page="home"] .xenah-category-slide {
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] body[data-page="home"] .xenah-brand-card,
html[dir="ltr"] body[data-page="home"] .xenah-home-offer-products .xenah-product-card,
html[dir="ltr"] body[data-page="home"] .xenah-category-slide {
  direction: ltr;
  text-align: left;
}

body[data-page="home"] .xenah-slider-prev {
  left: auto;
  right: auto;
  inset-inline-start: 18px;
}

body[data-page="home"] .xenah-slider-next {
  left: auto;
  right: auto;
  inset-inline-end: 18px;
}

html[dir="rtl"] body[data-page="home"] .xenah-slider-arrow span,
html[dir="rtl"] body[data-page="home"] .xenah-brands-arrow span {
  transform: translateY(-1px) scaleX(-1);
}

html[dir="rtl"] body[data-page="home"] .xenah-category-arrow-prev {
  left: auto;
  right: 10px;
}

html[dir="rtl"] body[data-page="home"] .xenah-category-arrow-next {
  right: auto;
  left: 10px;
}

html[dir="rtl"] body[data-page="home"] .xenah-category-arrow-prev span::before {
  content: "\2192";
}

html[dir="rtl"] body[data-page="home"] .xenah-category-arrow-next span::before {
  content: "\2190";
}

@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-slider-prev {
    inset-inline-start: 8px;
  }

  body[data-page="home"] .xenah-slider-next {
    inset-inline-end: 8px;
  }
}

/* Phase 3E small fix: mobile shop toolbar physical order by language. */
@media (max-width: 767.98px) {
  body[data-page="shop"] .xenah-mobile-shop-toolbar {
    direction: ltr;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  html[dir="rtl"] body[data-page="shop"] .xenah-mobile-shop-toolbar-copy,
  body[data-page="shop"].is-rtl .xenah-mobile-shop-toolbar-copy {
    grid-column: 2;
    order: 2;
    direction: rtl;
    text-align: right;
    justify-items: end;
  }

  html[dir="rtl"] body[data-page="shop"] .xenah-mobile-shop-toolbar-actions,
  body[data-page="shop"].is-rtl .xenah-mobile-shop-toolbar-actions {
    grid-column: 1;
    order: 1;
    justify-content: flex-start;
  }

  html[dir="ltr"] body[data-page="shop"] .xenah-mobile-shop-toolbar-copy,
  body[data-page="shop"].is-ltr .xenah-mobile-shop-toolbar-copy {
    grid-column: 1;
    order: 1;
    direction: ltr;
    text-align: left;
    justify-items: start;
  }

  html[dir="ltr"] body[data-page="shop"] .xenah-mobile-shop-toolbar-actions,
  body[data-page="shop"].is-ltr .xenah-mobile-shop-toolbar-actions {
    grid-column: 2;
    order: 2;
    justify-content: flex-end;
  }
}

/* Phase 3E final correction: Arabic layout is the source. English layout mirrors Arabic. */
@media (max-width: 767.98px) {
  html[dir="rtl"] body[data-page="shop"] .xenah-mobile-shop-toolbar,
  body[data-page="shop"].is-rtl .xenah-mobile-shop-toolbar,
  html[dir="ltr"] body[data-page="shop"] .xenah-mobile-shop-toolbar,
  body[data-page="shop"].is-ltr .xenah-mobile-shop-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    direction: ltr !important;
  }

  html[dir="rtl"] body[data-page="shop"] .xenah-mobile-shop-toolbar-actions,
  body[data-page="shop"].is-rtl .xenah-mobile-shop-toolbar-actions {
    grid-column: 2 !important;
    order: 2 !important;
    justify-self: end !important;
    justify-content: flex-end !important;
  }

  html[dir="rtl"] body[data-page="shop"] .xenah-mobile-shop-toolbar-copy,
  body[data-page="shop"].is-rtl .xenah-mobile-shop-toolbar-copy {
    grid-column: 1 !important;
    order: 1 !important;
    direction: rtl !important;
    justify-self: start !important;
    text-align: left !important;
    justify-items: start !important;
  }

  html[dir="rtl"] body[data-page="shop"] .xenah-mobile-filter-toggle,
  body[data-page="shop"].is-rtl .xenah-mobile-filter-toggle {
    justify-self: end !important;
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
  }

  html[dir="ltr"] body[data-page="shop"] .xenah-mobile-shop-toolbar-copy,
  body[data-page="shop"].is-ltr .xenah-mobile-shop-toolbar-copy {
    grid-column: 2 !important;
    order: 2 !important;
    direction: ltr !important;
    justify-self: end !important;
    text-align: right !important;
    justify-items: end !important;
  }

  html[dir="ltr"] body[data-page="shop"] .xenah-mobile-shop-toolbar-actions,
  body[data-page="shop"].is-ltr .xenah-mobile-shop-toolbar-actions {
    grid-column: 1 !important;
    order: 1 !important;
    justify-self: start !important;
    justify-content: flex-start !important;
  }

  html[dir="ltr"] body[data-page="shop"] .xenah-mobile-filter-toggle,
  body[data-page="shop"].is-ltr .xenah-mobile-filter-toggle {
    justify-self: start !important;
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
  }
}

/* Phase 3F: desktop shop full-width grid with reusable filter drawer. */
@media (min-width: 768px) {
  body[data-page="shop"] .xenah-shop-page .xenah-container {
    width: min(calc(100% - 48px), 1600px);
    max-width: none;
  }

  body[data-page="shop"] .xenah-shop-layout {
    display: block !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
    gap: 0 !important;
    direction: inherit !important;
    overflow: visible;
  }

  body[data-page="shop"] .xenah-shop-content {
    width: 100% !important;
    min-width: 0 !important;
  }

  body[data-page="shop"] .xenah-shop-sidebar {
    position: fixed !important;
    inset-block: 0 !important;
    z-index: 240 !important;
    width: clamp(360px, 30vw, 440px) !important;
    max-width: min(92vw, 440px) !important;
    height: auto !important;
    padding: 18px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    background: var(--page-bg);
    box-shadow: 0 22px 58px rgba(47, 47, 43, 0.18);
    visibility: hidden;
    pointer-events: none;
    transition: transform 240ms ease, visibility 0s linear 240ms;
    will-change: transform;
  }

  html[dir="rtl"] body[data-page="shop"] .xenah-shop-sidebar,
  body[data-page="shop"].is-rtl .xenah-shop-sidebar {
    inset-inline-end: 0 !important;
    inset-inline-start: auto !important;
    right: 0 !important;
    left: auto !important;
    direction: rtl !important;
    transform: translate3d(calc(100% + 28px), 0, 0);
  }

  html[dir="ltr"] body[data-page="shop"] .xenah-shop-sidebar,
  body[data-page="shop"].is-ltr .xenah-shop-sidebar {
    inset-inline-start: 0 !important;
    inset-inline-end: auto !important;
    left: 0 !important;
    right: auto !important;
    direction: ltr !important;
    transform: translate3d(calc(-100% - 28px), 0, 0);
  }

  body[data-page="shop"] .xenah-shop-layout.is-mobile-filter-open .xenah-shop-sidebar {
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition: transform 240ms ease, visibility 0s linear 0s;
  }

  body[data-page="shop"] .xenah-mobile-filter-overlay {
    position: fixed;
    inset: 0;
    z-index: 230;
    display: block;
    border: 0;
    background: rgba(47, 47, 43, 0.24);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 0s linear 180ms;
  }

  body[data-page="shop"] .xenah-shop-layout.is-mobile-filter-open .xenah-mobile-filter-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 180ms ease, visibility 0s linear 0s;
  }

  html.is-shop-filter-open,
  body.is-shop-filter-open {
    overflow: hidden;
  }

  body[data-page="shop"] .xenah-shop-sidebar .xenah-shop-toolbar {
    margin: 0;
    min-height: 100%;
    padding: 22px 20px 76px !important;
    border-radius: 26px;
    box-shadow: none;
  }

  body[data-page="shop"] .xenah-shop-sidebar .xenah-shop-toolbar-head {
    align-items: center;
  }

  body[data-page="shop"] .xenah-mobile-filter-close {
    width: 38px;
    min-width: 38px;
    height: 38px;
    border: 1px solid rgba(201, 178, 150, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--sage-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    line-height: 1;
  }

  body[data-page="shop"] .xenah-mobile-filter-actions {
    position: sticky;
    bottom: -22px;
    z-index: 2;
    margin: 22px -20px -76px;
    padding: 14px 20px 20px;
    display: block;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0), var(--page-bg) 30%);
  }

  body[data-page="shop"] .xenah-mobile-filter-apply {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    background: var(--sage-dark);
    color: var(--white);
    font-weight: 800;
  }

  body[data-page="shop"] .xenah-desktop-shop-toolbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid rgba(201, 178, 150, 0.16);
    border-radius: 18px;
    background: rgba(255, 253, 249, 0.92);
    box-shadow: 0 10px 24px rgba(88, 67, 45, 0.035);
    direction: ltr;
  }

  html[dir="rtl"] body[data-page="shop"] .xenah-desktop-shop-filter-slot,
  body[data-page="shop"].is-rtl .xenah-desktop-shop-filter-slot {
    grid-column: 3;
    justify-self: end;
  }

  html[dir="rtl"] body[data-page="shop"] .xenah-desktop-shop-count-slot,
  body[data-page="shop"].is-rtl .xenah-desktop-shop-count-slot {
    grid-column: 2;
    justify-self: center;
    direction: rtl;
    text-align: center;
  }

  html[dir="rtl"] body[data-page="shop"] .xenah-desktop-shop-sort-slot,
  body[data-page="shop"].is-rtl .xenah-desktop-shop-sort-slot {
    grid-column: 1;
    justify-self: start;
    direction: rtl;
  }

  html[dir="ltr"] body[data-page="shop"] .xenah-desktop-shop-filter-slot,
  body[data-page="shop"].is-ltr .xenah-desktop-shop-filter-slot {
    grid-column: 1;
    justify-self: start;
  }

  html[dir="ltr"] body[data-page="shop"] .xenah-desktop-shop-count-slot,
  body[data-page="shop"].is-ltr .xenah-desktop-shop-count-slot {
    grid-column: 2;
    justify-self: center;
    direction: ltr;
    text-align: center;
  }

  html[dir="ltr"] body[data-page="shop"] .xenah-desktop-shop-sort-slot,
  body[data-page="shop"].is-ltr .xenah-desktop-shop-sort-slot {
    grid-column: 3;
    justify-self: end;
    direction: ltr;
  }

  body[data-page="shop"] .xenah-desktop-filter-toggle,
  body[data-page="shop"] .xenah-desktop-shop-sort {
    min-height: 40px;
    border: 1px solid rgba(201, 178, 150, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--sage-dark);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
  }

  body[data-page="shop"] .xenah-desktop-filter-toggle {
    min-width: 104px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sage-dark);
    color: var(--white);
  }

  body[data-page="shop"] .xenah-desktop-shop-sort-slot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
  }

  body[data-page="shop"] .xenah-desktop-shop-sort {
    min-width: 180px;
    padding: 0 14px;
  }

  body[data-page="shop"] .xenah-desktop-shop-count {
    margin: 0;
    color: var(--sage-dark);
    font-size: 0.95rem;
    font-weight: 800;
  }

  body[data-page="shop"] .xenah-shop-results-bar {
    margin-bottom: 14px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body[data-page="shop"] .xenah-shop-results-copy {
    display: none;
  }

  body[data-page="shop"] .xenah-shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
}

@media (min-width: 1200px) {
  body[data-page="shop"] .xenah-shop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  body[data-page="shop"] .xenah-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body[data-page="shop"] .xenah-desktop-shop-toolbar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  body[data-page="shop"] .xenah-desktop-shop-sort-slot {
    display: none;
  }
}


/* =========================================================
   Xénah shop polish — remove top title gap + taller desktop cards
   Added after previous shop rules so it safely overrides them.
   Mobile styles are intentionally untouched.
   ========================================================= */
.xenah-shop-page .xenah-shop-head {
  display: none !important;
}

.xenah-shop-page .xenah-shop-hero {
  padding-top: 22px;
}

@media (min-width: 768px) {
  .xenah-shop-page .xenah-shop-grid {
    align-items: stretch;
  }

  .xenah-shop-page .xenah-product-card {
    min-height: 470px;
    display: flex;
    flex-direction: column;
    padding: 18px 18px 20px;
  }

  .xenah-shop-page .xenah-product-media {
    height: 250px;
    min-height: 250px;
    margin-bottom: 18px;
  }

  .xenah-shop-page .xenah-product-image-wrap {
    height: 100%;
  }

  .xenah-shop-page .xenah-product-image {
    max-height: 100%;
    object-fit: contain;
  }

  .xenah-shop-page .xenah-product-brand {
    margin-bottom: 8px;
  }

  .xenah-shop-page .xenah-product-name {
    min-height: calc(1.52em * 2);
    margin-bottom: 7px;
    font-size: 1rem;
    line-height: 1.52;
  }

  .xenah-shop-page .xenah-product-category {
    margin-bottom: 12px;
  }

  .xenah-shop-page .xenah-product-meta-row {
    margin-top: auto;
    margin-bottom: 8px;
  }

  .xenah-shop-page .xenah-product-meta {
    min-height: 32px;
  }

  .xenah-shop-page .xenah-product-rating {
    min-height: 32px;
  }
}

@media (min-width: 992px) {
  .xenah-shop-page .xenah-product-card {
    min-height: 500px;
    padding: 20px 20px 22px;
  }

  .xenah-shop-page .xenah-product-media {
    height: 280px;
    min-height: 280px;
  }
}

@media (min-width: 1200px) {
  .xenah-shop-page .xenah-product-card {
    min-height: 520px;
  }

  .xenah-shop-page .xenah-product-media {
    height: 300px;
    min-height: 300px;
  }
}


/* =========================================================
   Xénah shop toolbar direction fix — desktop
   Arabic: Filter right / count center / sort left
   English: Filter left / count center / sort right
   ========================================================= */
@media (min-width: 768px) {
  body[data-page="shop"] .xenah-desktop-shop-toolbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    min-height: 68px !important;
    padding: 12px 14px !important;
    direction: ltr !important;
  }

  html[dir="rtl"] body[data-page="shop"] .xenah-desktop-shop-toolbar,
  body[data-page="shop"].is-rtl .xenah-desktop-shop-toolbar {
    flex-direction: row-reverse !important;
  }

  html[dir="ltr"] body[data-page="shop"] .xenah-desktop-shop-toolbar,
  body[data-page="shop"].is-ltr .xenah-desktop-shop-toolbar {
    flex-direction: row !important;
  }

  body[data-page="shop"] .xenah-desktop-shop-filter-slot,
  body[data-page="shop"] .xenah-desktop-shop-sort-slot {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    align-self: center !important;
    grid-column: auto !important;
  }

  body[data-page="shop"] .xenah-desktop-shop-count-slot {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    grid-column: auto !important;
    text-align: center !important;
  }

  html[dir="rtl"] body[data-page="shop"] .xenah-desktop-shop-sort-slot,
  body[data-page="shop"].is-rtl .xenah-desktop-shop-sort-slot {
    direction: rtl !important;
  }

  html[dir="ltr"] body[data-page="shop"] .xenah-desktop-shop-sort-slot,
  body[data-page="shop"].is-ltr .xenah-desktop-shop-sort-slot {
    direction: ltr !important;
  }

  body[data-page="shop"] .xenah-desktop-shop-count {
    margin: 0 !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  body[data-page="shop"] .xenah-desktop-shop-toolbar {
    display: flex !important;
  }

  body[data-page="shop"] .xenah-desktop-shop-sort-slot {
    display: none !important;
  }
}


/* Reviews section premium refresh - cumulative v3 */
body[data-page="home"] .xenah-reviews {
  position: relative;
  overflow: hidden;
  padding-top: clamp(34px, 4vw, 54px);
  padding-bottom: clamp(30px, 3.6vw, 48px);
  background:
    radial-gradient(circle at 18% 12%, rgba(185, 149, 91, 0.10), transparent 28%),
    radial-gradient(circle at 86% 74%, rgba(126, 136, 104, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(250, 246, 238, 0.62), rgba(255, 253, 248, 0.96));
}

body[data-page="home"] .xenah-reviews .xenah-container {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .xenah-reviews-head {
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: clamp(18px, 2.2vw, 28px);
  text-align: center;
}

body[data-page="home"] .xenah-reviews-head .xenah-section-kicker {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="home"] .xenah-reviews-head h2 {
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.14;
}

body[data-page="home"] .xenah-reviews-head p:last-child {
  max-width: 520px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

body[data-page="home"] .xenah-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

body[data-page="home"] .xenah-review-card {
  position: relative;
  min-height: 210px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  border: 1px solid rgba(239, 231, 217, 0.92);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 44px rgba(95, 104, 78, 0.07);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

body[data-page="home"] .xenah-review-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, rgba(185, 149, 91, 0.7), rgba(126, 136, 104, 0.28));
  opacity: 0.72;
}

body[data-page="home"] .xenah-review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 149, 91, 0.32);
  box-shadow: 0 24px 54px rgba(95, 104, 78, 0.11);
}

body[data-page="home"] .xenah-review-quote {
  position: absolute;
  top: 12px;
  inset-inline-end: 20px;
  color: rgba(185, 149, 91, 0.18);
  font-family: Georgia, serif;
  font-size: 4.8rem;
  line-height: 1;
  pointer-events: none;
}

body[data-page="home"] .xenah-review-stars {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

body[data-page="home"] .xenah-review-text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text);
  font-size: clamp(0.96rem, 1.2vw, 1.05rem);
  line-height: 1.85;
  font-weight: 500;
}

body[data-page="home"] .xenah-review-author {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

body[data-page="home"] .xenah-review-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  margin: 0;
  border: 1px solid rgba(185, 149, 91, 0.18);
  background: linear-gradient(135deg, rgba(250, 246, 238, 0.95), rgba(221, 228, 211, 0.9));
  color: var(--sage-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

body[data-page="home"] .xenah-review-author h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.2;
  font-weight: 800;
}

body[data-page="home"] .xenah-about {
  padding-top: clamp(28px, 3vw, 42px);
}

@media (max-width: 980px) {
  body[data-page="home"] .xenah-reviews-grid {
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    padding: 2px 2px 14px;
    margin-inline: -2px;
    scrollbar-width: none;
  }

  body[data-page="home"] .xenah-reviews-grid::-webkit-scrollbar {
    display: none;
  }

  body[data-page="home"] .xenah-review-card {
    scroll-snap-align: center;
  }
}

@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-reviews {
    padding-top: 30px;
    padding-bottom: 24px;
  }

  body[data-page="home"] .xenah-reviews-head {
    text-align: start;
    margin-bottom: 14px;
  }

  body[data-page="home"] .xenah-reviews-head h2 {
    font-size: clamp(1.35rem, 5.4vw, 1.65rem);
  }

  body[data-page="home"] .xenah-reviews-head p:last-child {
    margin-inline: 0;
    font-size: 0.86rem;
    line-height: 1.6;
  }

  body[data-page="home"] .xenah-reviews-grid {
    grid-template-columns: repeat(3, minmax(286px, 82vw));
    gap: 12px;
    padding-bottom: 10px;
  }

  body[data-page="home"] .xenah-review-card {
    min-height: 190px;
    padding: 20px 20px 18px;
    border-radius: 20px;
  }

  body[data-page="home"] .xenah-review-text {
    font-size: 0.94rem;
    line-height: 1.7;
  }
}

/* V4: Premium About / Contact section refinement */
body[data-page="home"] .xenah-about {
  position: relative;
  overflow: hidden;
  padding-top: clamp(38px, 4.6vw, 72px);
  padding-bottom: clamp(42px, 4.8vw, 76px);
  background:
    radial-gradient(circle at 15% 18%, rgba(185, 149, 91, 0.08), transparent 34%),
    radial-gradient(circle at 88% 80%, rgba(126, 136, 104, 0.11), transparent 32%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(250, 246, 238, 0.74));
}

body[data-page="home"] .xenah-about::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 149, 91, 0.22), transparent);
}

body[data-page="home"] .xenah-about-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  align-items: stretch;
  gap: clamp(22px, 4vw, 58px);
  width: min(100%, 1120px);
  margin-inline: auto;
  padding: clamp(22px, 3.2vw, 42px);
  border: 1px solid rgba(232, 221, 202, 0.92);
  border-radius: 34px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 28px 72px rgba(95, 104, 78, 0.10);
  backdrop-filter: blur(14px);
}

body[data-page="home"] .xenah-about-layout {
  max-width: none;
}

body[data-page="home"] .xenah-about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: start;
}

body[data-page="home"] .xenah-about .xenah-section-head-compact {
  max-width: 620px;
  margin: 0;
}

body[data-page="home"] .xenah-about .xenah-section-kicker {
  color: var(--gold);
  letter-spacing: 0.08em;
}

body[data-page="home"] .xenah-about .xenah-section-head-compact h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.04;
  margin-bottom: 14px;
}

body[data-page="home"] .xenah-about .xenah-section-head-compact p:last-child {
  max-width: 56ch;
  color: rgba(47, 47, 43, 0.66);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.9;
}

body[data-page="home"] .xenah-about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

body[data-page="home"] .xenah-about-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(126, 136, 104, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--sage-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

body[data-page="home"] .xenah-about-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

body[data-page="home"] .xenah-about-primary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--sage-dark);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(95, 104, 78, 0.18);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

body[data-page="home"] .xenah-about-primary:hover,
body[data-page="home"] .xenah-about-primary:focus-visible {
  transform: translateY(-2px);
  background: var(--sage);
  box-shadow: 0 18px 36px rgba(95, 104, 78, 0.22);
}

body[data-page="home"] .xenah-about-socials {
  margin-top: 0;
  justify-content: flex-start;
}

body.is-ltr[data-page="home"] .xenah-about-socials,
html[dir="ltr"] body[data-page="home"] .xenah-about-socials {
  justify-content: flex-start;
}

body[data-page="home"] .xenah-about-social-link {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 22px rgba(95, 104, 78, 0.07);
}

body[data-page="home"] .xenah-about-visual {
  position: relative;
  min-height: 320px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.72), transparent 20%),
    radial-gradient(circle at 74% 74%, rgba(185, 149, 91, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(221, 226, 208, 0.86), rgba(250, 246, 238, 0.95));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(126, 136, 104, 0.08);
}

body[data-page="home"] .xenah-about-visual::before,
body[data-page="home"] .xenah-about-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

body[data-page="home"] .xenah-about-visual::before {
  width: 230px;
  height: 230px;
  inset-inline-start: -64px;
  bottom: -78px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

body[data-page="home"] .xenah-about-visual::after {
  width: 138px;
  height: 138px;
  inset-inline-end: -36px;
  top: -32px;
  background: rgba(255, 253, 248, 0.30);
}

body[data-page="home"] .xenah-about-logo-card {
  position: absolute;
  inset-inline-start: 50%;
  top: 50%;
  width: min(72%, 270px);
  min-height: 172px;
  transform: translate(50%, -50%);
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 50px rgba(95, 104, 78, 0.13);
  text-align: center;
  z-index: 2;
}

html[dir="ltr"] body[data-page="home"] .xenah-about-logo-card {
  transform: translate(-50%, -50%);
}

body[data-page="home"] .xenah-about-logo-card img {
  width: min(170px, 88%);
  height: auto;
  object-fit: contain;
}

body[data-page="home"] .xenah-about-logo-card span {
  color: var(--sage-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="home"] .xenah-about-mini-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 3px;
  min-width: 128px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 0 18px 36px rgba(95, 104, 78, 0.12);
  backdrop-filter: blur(10px);
}

body[data-page="home"] .xenah-about-mini-card strong {
  color: var(--sage-dark);
  font-size: 1.05rem;
  line-height: 1;
}

body[data-page="home"] .xenah-about-mini-card span {
  color: rgba(47, 47, 43, 0.58);
  font-size: 0.78rem;
  font-weight: 700;
}

body[data-page="home"] .xenah-about-mini-card--one {
  inset-inline-start: 18px;
  top: 24px;
}

body[data-page="home"] .xenah-about-mini-card--two {
  inset-inline-end: 18px;
  bottom: 24px;
}

@media (max-width: 900px) {
  body[data-page="home"] .xenah-about-panel {
    grid-template-columns: 1fr;
    padding: 22px;
    border-radius: 28px;
  }

  body[data-page="home"] .xenah-about-copy,
  body[data-page="home"] .xenah-about .xenah-section-head-compact {
    text-align: center;
    margin-inline: auto;
  }

  body[data-page="home"] .xenah-about-points,
  body[data-page="home"] .xenah-about-actions,
  body[data-page="home"] .xenah-about-socials {
    justify-content: center;
  }

  body[data-page="home"] .xenah-about-visual {
    min-height: 260px;
  }
}

@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-about {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  body[data-page="home"] .xenah-about-panel {
    width: min(100%, 420px);
    gap: 20px;
    padding: 20px 16px;
  }

  body[data-page="home"] .xenah-about .xenah-section-head-compact h2 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  body[data-page="home"] .xenah-about .xenah-section-head-compact p:last-child {
    font-size: 0.9rem;
    line-height: 1.75;
  }

  body[data-page="home"] .xenah-about-points {
    gap: 8px;
    margin-top: 18px;
  }

  body[data-page="home"] .xenah-about-points span {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 0.78rem;
  }

  body[data-page="home"] .xenah-about-primary {
    width: 100%;
  }

  body[data-page="home"] .xenah-about-visual {
    min-height: 230px;
    border-radius: 24px;
  }

  body[data-page="home"] .xenah-about-logo-card {
    width: min(78%, 240px);
    min-height: 145px;
    padding: 22px;
    border-radius: 24px;
  }

  body[data-page="home"] .xenah-about-mini-card {
    min-width: 110px;
    padding: 11px 12px;
    border-radius: 16px;
  }
}

/* V5: Frameless full-width About section - keeps all previous shop/reviews edits */
body[data-page="home"] .xenah-about {
  padding-block: clamp(54px, 6.5vw, 104px);
  background:
    radial-gradient(circle at 10% 18%, rgba(185, 149, 91, 0.09), transparent 30%),
    radial-gradient(circle at 88% 70%, rgba(126, 136, 104, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(250, 246, 238, 0.62));
}

body[data-page="home"] .xenah-about::before {
  opacity: 0.7;
}

body[data-page="home"] .xenah-about > .xenah-container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

body[data-page="home"] .xenah-about-panel {
  width: min(calc(100% - 48px), 1380px);
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(42px, 7vw, 118px);
  align-items: center;
}

body[data-page="home"] .xenah-about-copy {
  position: relative;
  z-index: 2;
}

body[data-page="home"] .xenah-about .xenah-section-head-compact h2 {
  font-size: clamp(2.35rem, 5vw, 5.15rem);
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

body[data-page="home"] .xenah-about .xenah-section-head-compact p:last-child {
  max-width: 62ch;
  font-size: clamp(1rem, 1.18vw, 1.14rem);
  line-height: 2;
}

body[data-page="home"] .xenah-about-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  width: fit-content;
  gap: clamp(14px, 2vw, 24px);
  margin-top: 30px;
}

body[data-page="home"] .xenah-about-points span {
  min-height: auto;
  padding: 0 0 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sage-dark);
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
}

body[data-page="home"] .xenah-about-points span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-inline-end: 9px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(185, 149, 91, 0.10);
  vertical-align: middle;
}

body[data-page="home"] .xenah-about-actions {
  margin-top: 32px;
  gap: 18px;
}

body[data-page="home"] .xenah-about-primary {
  min-height: 48px;
  padding-inline: 26px;
  box-shadow: 0 18px 38px rgba(95, 104, 78, 0.18);
}

body[data-page="home"] .xenah-about-social-link {
  background: rgba(255, 253, 248, 0.78);
  border-color: rgba(126, 136, 104, 0.14);
}

body[data-page="home"] .xenah-about-visual {
  min-height: clamp(310px, 32vw, 470px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  isolation: isolate;
}

body[data-page="home"] .xenah-about-visual::before {
  width: clamp(280px, 33vw, 520px);
  height: clamp(280px, 33vw, 520px);
  inset-inline-start: 50%;
  top: 50%;
  bottom: auto;
  transform: translate(50%, -50%);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.74) 0 34%, rgba(221, 226, 208, 0.58) 35% 62%, rgba(185, 149, 91, 0.10) 63% 100%);
  border: 1px solid rgba(232, 221, 202, 0.72);
  box-shadow: 0 34px 90px rgba(95, 104, 78, 0.12);
  z-index: -2;
}

html[dir="ltr"] body[data-page="home"] .xenah-about-visual::before {
  transform: translate(-50%, -50%);
}

body[data-page="home"] .xenah-about-visual::after {
  width: clamp(160px, 18vw, 285px);
  height: clamp(160px, 18vw, 285px);
  inset-inline-end: 4%;
  top: 8%;
  background: radial-gradient(circle, rgba(185, 149, 91, 0.12), transparent 68%);
  z-index: -3;
}

body[data-page="home"] .xenah-about-logo-card {
  width: min(64%, 430px);
  min-height: auto;
  inset-inline-start: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-align: center;
}

html[dir="ltr"] body[data-page="home"] .xenah-about-logo-card {
  transform: translate(-50%, -50%);
}

body[data-page="home"] .xenah-about-logo-card img {
  width: min(320px, 100%);
  filter: drop-shadow(0 20px 34px rgba(95, 104, 78, 0.12));
}

body[data-page="home"] .xenah-about-logo-card span {
  display: inline-flex;
  margin-top: 16px;
  padding: 0;
  background: transparent;
  color: rgba(95, 104, 78, 0.78);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

body[data-page="home"] .xenah-about-mini-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
  min-width: auto;
}

body[data-page="home"] .xenah-about-mini-card strong {
  color: var(--sage-dark);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  letter-spacing: -0.03em;
}

body[data-page="home"] .xenah-about-mini-card span {
  color: rgba(47, 47, 43, 0.54);
  font-size: 0.82rem;
  font-weight: 800;
}

body[data-page="home"] .xenah-about-mini-card--one {
  inset-inline-start: 8%;
  top: 12%;
}

body[data-page="home"] .xenah-about-mini-card--two {
  inset-inline-end: 8%;
  bottom: 12%;
}

@media (max-width: 900px) {
  body[data-page="home"] .xenah-about-panel {
    width: min(calc(100% - 32px), 720px);
    grid-template-columns: 1fr;
    gap: 34px;
  }

  body[data-page="home"] .xenah-about-points {
    grid-template-columns: 1fr;
    width: auto;
    justify-items: center;
    gap: 12px;
  }

  body[data-page="home"] .xenah-about-visual {
    min-height: 280px;
    order: -1;
  }
}

@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-about {
    padding-block: 42px;
  }

  body[data-page="home"] .xenah-about-panel {
    width: min(calc(100% - 28px), 440px);
    padding: 0;
  }

  body[data-page="home"] .xenah-about .xenah-section-head-compact h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  body[data-page="home"] .xenah-about-actions {
    gap: 12px;
  }

  body[data-page="home"] .xenah-about-primary {
    width: auto;
    min-width: 190px;
  }

  body[data-page="home"] .xenah-about-visual {
    min-height: 250px;
  }

  body[data-page="home"] .xenah-about-logo-card {
    width: min(72%, 280px);
  }

  body[data-page="home"] .xenah-about-mini-card--one {
    inset-inline-start: 0;
  }

  body[data-page="home"] .xenah-about-mini-card--two {
    inset-inline-end: 0;
  }
}


/* =========================
   V6 - Integrated frameless Reviews + About
   ========================= */
body[data-page="home"] .xenah-story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  padding: clamp(74px, 7vw, 118px) 0 clamp(78px, 8vw, 132px);
  background:
    radial-gradient(circle at 18% 44%, rgba(126, 136, 104, 0.13), transparent 0 25%),
    radial-gradient(circle at 86% 24%, rgba(185, 149, 91, 0.12), transparent 0 24%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.88) 0%, rgba(250, 246, 238, 0.9) 48%, rgba(255, 253, 248, 0.96) 100%);
}

body[data-page="home"] .xenah-story::before,
body[data-page="home"] .xenah-story::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}

body[data-page="home"] .xenah-story::before {
  width: min(52vw, 720px);
  height: min(52vw, 720px);
  inset-inline-start: -12%;
  top: 24%;
  border: 1px solid rgba(185, 149, 91, 0.12);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.62) 0%, rgba(126, 136, 104, 0.07) 52%, transparent 70%);
}

body[data-page="home"] .xenah-story::after {
  width: min(34vw, 460px);
  height: min(34vw, 460px);
  inset-inline-end: -8%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(185, 149, 91, 0.12) 0%, rgba(255, 255, 255, 0.02) 58%, transparent 72%);
}

body[data-page="home"] .xenah-story-inner {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .xenah-story-reviews,
body[data-page="home"] .xenah-story-about,
body[data-page="home"] .xenah-story .xenah-reviews,
body[data-page="home"] .xenah-story .xenah-about {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body[data-page="home"] .xenah-story-reviews {
  position: relative;
  z-index: 3;
  padding: 0;
}

body[data-page="home"] .xenah-story .xenah-reviews-head {
  width: min(760px, 100%);
  margin: 0 auto clamp(26px, 3vw, 42px);
  text-align: center;
}

body[data-page="home"] .xenah-story .xenah-reviews-head h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4.2vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

body[data-page="home"] .xenah-story .xenah-reviews-head p:last-child {
  width: min(560px, 100%);
  margin: 12px auto 0;
  color: rgba(47, 47, 43, 0.54);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
}

body[data-page="home"] .xenah-story .xenah-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  align-items: stretch;
  margin: 0 auto clamp(-38px, -3vw, -24px);
  overflow: visible;
  padding: 0;
  position: relative;
  z-index: 4;
}

body[data-page="home"] .xenah-story .xenah-review-card {
  min-height: 176px;
  padding: clamp(22px, 2vw, 30px);
  border: 1px solid rgba(185, 149, 91, 0.15) !important;
  border-radius: 0 28px 28px 28px;
  background: rgba(255, 253, 248, 0.7) !important;
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 70px rgba(47, 47, 43, 0.055) !important;
  transform: translateY(0);
}

body[data-page="home"] .xenah-story .xenah-review-card:nth-child(1) {
  transform: translateY(14px);
}

body[data-page="home"] .xenah-story .xenah-review-card:nth-child(2),
body[data-page="home"] .xenah-story .xenah-review-card--lifted {
  transform: translateY(-10px);
}

body[data-page="home"] .xenah-story .xenah-review-card:nth-child(3) {
  transform: translateY(18px);
}

body[data-page="home"] .xenah-story .xenah-review-card::before {
  display: none;
}

body[data-page="home"] .xenah-story .xenah-review-quote {
  top: 12px;
  inset-inline-start: 20px;
  color: rgba(185, 149, 91, 0.18);
  font-size: 4.6rem;
}

body[data-page="home"] .xenah-story .xenah-review-stars {
  margin: 0 0 16px;
  letter-spacing: 0.18em;
}

body[data-page="home"] .xenah-story .xenah-review-text {
  min-height: 54px;
  margin: 0 0 28px;
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.8;
}

body[data-page="home"] .xenah-story .xenah-review-author {
  margin-top: auto;
}

body[data-page="home"] .xenah-story-about-anchor {
  position: relative;
  top: -86px;
  height: 0;
}

body[data-page="home"] .xenah-story-about {
  position: relative;
  z-index: 2;
  padding: clamp(110px, 10vw, 170px) 0 0;
}

body[data-page="home"] .xenah-story .xenah-about-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 1.02fr);
  align-items: center;
  gap: clamp(36px, 7vw, 104px);
  min-height: clamp(430px, 44vw, 610px);
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible;
}

body.is-ltr[data-page="home"] .xenah-story .xenah-about-panel,
html[dir="ltr"] body[data-page="home"] .xenah-story .xenah-about-panel {
  grid-template-columns: minmax(320px, 1.02fr) minmax(0, 0.98fr);
}

body.is-ltr[data-page="home"] .xenah-story .xenah-about-copy,
html[dir="ltr"] body[data-page="home"] .xenah-story .xenah-about-copy {
  order: 2;
}

body.is-ltr[data-page="home"] .xenah-story .xenah-about-visual,
html[dir="ltr"] body[data-page="home"] .xenah-story .xenah-about-visual {
  order: 1;
}

body[data-page="home"] .xenah-story .xenah-about-copy {
  max-width: 610px;
  text-align: start;
}

body[data-page="home"] .xenah-story .xenah-about .xenah-section-head-compact {
  text-align: start;
  margin: 0;
}

body[data-page="home"] .xenah-story .xenah-about .xenah-section-head-compact h2 {
  margin: 0;
  font-size: clamp(3.2rem, 6.6vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

body[data-page="home"] .xenah-story .xenah-about .xenah-section-head-compact p:last-child {
  width: min(610px, 100%);
  margin: 22px 0 0;
  color: rgba(47, 47, 43, 0.6);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 2;
}

body[data-page="home"] .xenah-story .xenah-about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 30px 0 0;
}

body[data-page="home"] .xenah-story .xenah-about-points span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(47, 47, 43, 0.72);
  font-size: 0.98rem;
  font-weight: 800;
  box-shadow: none;
}

body[data-page="home"] .xenah-story .xenah-about-points span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(185, 149, 91, 0.11);
}

body[data-page="home"] .xenah-story .xenah-about-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
}

body[data-page="home"] .xenah-story .xenah-about-primary {
  min-height: 48px;
  padding: 0 28px;
}

body[data-page="home"] .xenah-story .xenah-about-visual {
  position: relative;
  min-height: clamp(360px, 39vw, 560px);
  overflow: visible;
}

body[data-page="home"] .xenah-story .xenah-about-visual::before {
  content: "";
  position: absolute;
  width: min(42vw, 610px);
  height: min(42vw, 610px);
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(185, 149, 91, 0.12);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 253, 248, 0.72) 0%, rgba(255, 253, 248, 0.72) 29%, rgba(126, 136, 104, 0.1) 30%, rgba(126, 136, 104, 0.08) 68%, rgba(255, 255, 255, 0) 70%);
}

html[dir="ltr"] body[data-page="home"] .xenah-story .xenah-about-visual::before,
body.is-ltr[data-page="home"] .xenah-story .xenah-about-visual::before {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

body[data-page="home"] .xenah-story .xenah-about-logo-card {
  position: absolute;
  width: min(31vw, 430px);
  min-height: 180px;
  inset-inline-start: 10%;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

html[dir="ltr"] body[data-page="home"] .xenah-story .xenah-about-logo-card,
body.is-ltr[data-page="home"] .xenah-story .xenah-about-logo-card {
  inset-inline-start: auto;
  inset-inline-end: 10%;
}

body[data-page="home"] .xenah-story .xenah-about-logo-card img {
  max-width: min(100%, 360px);
  max-height: 150px;
  opacity: 0.88;
}

body[data-page="home"] .xenah-story .xenah-about-logo-card span {
  margin-top: 18px;
  color: rgba(47, 47, 43, 0.48);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="home"] .xenah-story .xenah-about-mini-card {
  position: absolute;
  display: grid;
  gap: 3px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--sage-dark);
}

body[data-page="home"] .xenah-story .xenah-about-mini-card strong {
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
}

body[data-page="home"] .xenah-story .xenah-about-mini-card span {
  color: rgba(47, 47, 43, 0.48);
  font-weight: 800;
}

body[data-page="home"] .xenah-story .xenah-about-mini-card--one {
  inset-inline-end: 12%;
  top: 18%;
}

body[data-page="home"] .xenah-story .xenah-about-mini-card--two {
  inset-inline-start: 18%;
  bottom: 16%;
}

@media (max-width: 991px) {
  body[data-page="home"] .xenah-story {
    padding-top: 64px;
  }

  body[data-page="home"] .xenah-story .xenah-reviews-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2px 4px 28px;
    margin-inline: calc((100vw - 100%) / -2);
    padding-inline: max(18px, calc((100vw - 100%) / 2));
    -webkit-overflow-scrolling: touch;
  }

  body[data-page="home"] .xenah-story .xenah-review-card,
  body[data-page="home"] .xenah-story .xenah-review-card:nth-child(1),
  body[data-page="home"] .xenah-story .xenah-review-card:nth-child(2),
  body[data-page="home"] .xenah-story .xenah-review-card:nth-child(3) {
    flex: 0 0 min(82vw, 360px);
    transform: none;
    scroll-snap-align: center;
  }

  body[data-page="home"] .xenah-story .xenah-about-panel,
  body.is-ltr[data-page="home"] .xenah-story .xenah-about-panel,
  html[dir="ltr"] body[data-page="home"] .xenah-story .xenah-about-panel {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
  }

  body[data-page="home"] .xenah-story .xenah-about-copy,
  body.is-ltr[data-page="home"] .xenah-story .xenah-about-copy,
  html[dir="ltr"] body[data-page="home"] .xenah-story .xenah-about-copy,
  body.is-ltr[data-page="home"] .xenah-story .xenah-about-visual,
  html[dir="ltr"] body[data-page="home"] .xenah-story .xenah-about-visual {
    order: initial;
  }

  body[data-page="home"] .xenah-story .xenah-about-copy,
  body[data-page="home"] .xenah-story .xenah-about .xenah-section-head-compact {
    max-width: 100%;
    text-align: center;
  }

  body[data-page="home"] .xenah-story .xenah-about .xenah-section-head-compact p:last-child {
    margin-inline: auto;
  }

  body[data-page="home"] .xenah-story .xenah-about-points,
  body[data-page="home"] .xenah-story .xenah-about-actions,
  body[data-page="home"] .xenah-story .xenah-about-socials {
    justify-content: center;
  }

  body[data-page="home"] .xenah-story .xenah-about-visual {
    min-height: 300px;
  }

  body[data-page="home"] .xenah-story .xenah-about-visual::before {
    width: min(86vw, 460px);
    height: min(86vw, 460px);
    inset-inline-start: 50%;
    transform: translate(-50%, -50%);
  }

  html[dir="rtl"] body[data-page="home"] .xenah-story .xenah-about-visual::before,
  body.is-rtl[data-page="home"] .xenah-story .xenah-about-visual::before {
    transform: translate(50%, -50%);
  }

  body[data-page="home"] .xenah-story .xenah-about-logo-card,
  html[dir="ltr"] body[data-page="home"] .xenah-story .xenah-about-logo-card,
  body.is-ltr[data-page="home"] .xenah-story .xenah-about-logo-card {
    width: min(74vw, 340px);
    inset-inline-start: 50%;
    inset-inline-end: auto;
    transform: translate(-50%, -50%);
  }

  html[dir="rtl"] body[data-page="home"] .xenah-story .xenah-about-logo-card,
  body.is-rtl[data-page="home"] .xenah-story .xenah-about-logo-card {
    transform: translate(50%, -50%);
  }
}

@media (max-width: 767px) {
  body[data-page="home"] .xenah-story {
    padding: 54px 0 76px;
  }

  body[data-page="home"] .xenah-story .xenah-reviews-head h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  body[data-page="home"] .xenah-story .xenah-story-about {
    padding-top: 82px;
  }

  body[data-page="home"] .xenah-story .xenah-about .xenah-section-head-compact h2 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  body[data-page="home"] .xenah-story .xenah-about-points {
    display: grid;
    justify-items: center;
  }

  body[data-page="home"] .xenah-story .xenah-about-actions {
    flex-direction: column;
  }

  body[data-page="home"] .xenah-story .xenah-about-primary {
    width: min(100%, 280px);
  }

  body[data-page="home"] .xenah-story .xenah-about-mini-card--one {
    inset-inline-end: 4%;
    top: 18%;
  }

  body[data-page="home"] .xenah-story .xenah-about-mini-card--two {
    inset-inline-start: 5%;
    bottom: 12%;
  }
}

/* =========================
   V7 - Desktop fix for integrated frameless Reviews + About
   Keeps mobile V6 behavior, fixes desktop overlap/clipping
   ========================= */
@media (min-width: 992px) {
  body[data-page="home"] .xenah-story {
    overflow: visible;
    padding-top: clamp(72px, 6vw, 104px);
    padding-bottom: clamp(82px, 7vw, 120px);
  }

  body[data-page="home"] .xenah-story-inner {
    width: min(calc(100% - 64px), 1380px);
    max-width: 1380px;
    margin-inline: auto;
  }

  body[data-page="home"] .xenah-story .xenah-reviews-head {
    margin-bottom: clamp(30px, 3vw, 44px);
  }

  body[data-page="home"] .xenah-story .xenah-reviews-grid {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto clamp(54px, 5vw, 86px);
    padding: 0;
    overflow: visible;
    position: relative;
    z-index: 5;
  }

  body[data-page="home"] .xenah-story .xenah-review-card {
    min-height: 188px;
    display: flex;
    flex-direction: column;
  }

  body[data-page="home"] .xenah-story .xenah-review-card:nth-child(1) {
    transform: translateY(10px);
  }

  body[data-page="home"] .xenah-story .xenah-review-card:nth-child(2),
  body[data-page="home"] .xenah-story .xenah-review-card--lifted {
    transform: translateY(-8px);
  }

  body[data-page="home"] .xenah-story .xenah-review-card:nth-child(3) {
    transform: translateY(12px);
  }

  body[data-page="home"] .xenah-story-about {
    padding-top: 0;
  }

  body[data-page="home"] .xenah-story .xenah-about-panel {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    min-height: clamp(390px, 32vw, 520px);
    gap: clamp(46px, 6vw, 96px);
    align-items: center;
  }

  body[data-page="home"] .xenah-story .xenah-about .xenah-section-head-compact h2 {
    font-size: clamp(3.2rem, 5vw, 5.8rem);
    line-height: 0.92;
  }

  body[data-page="home"] .xenah-story .xenah-about .xenah-section-head-compact p:last-child {
    max-width: 580px;
    line-height: 1.9;
  }

  body[data-page="home"] .xenah-story .xenah-about-visual {
    min-height: clamp(360px, 32vw, 500px);
  }

  body[data-page="home"] .xenah-story .xenah-about-visual::before {
    width: min(36vw, 520px);
    height: min(36vw, 520px);
  }

  body[data-page="home"] .xenah-story .xenah-about-logo-card {
    width: min(28vw, 390px);
  }

  body[data-page="home"] .xenah-story .xenah-about-logo-card img {
    max-width: min(100%, 320px);
  }

  body[data-page="home"] .xenah-story .xenah-about-mini-card--one {
    inset-inline-end: 10%;
    top: 15%;
  }

  body[data-page="home"] .xenah-story .xenah-about-mini-card--two {
    inset-inline-start: 14%;
    bottom: 14%;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  body[data-page="home"] .xenah-story-inner {
    width: min(calc(100% - 44px), 1120px);
  }

  body[data-page="home"] .xenah-story .xenah-reviews-grid {
    gap: 16px;
  }

  body[data-page="home"] .xenah-story .xenah-review-card {
    padding: 22px;
  }
}

/* v8: Hero + Brands visual polish only — cumulative with all previous edits. */
body[data-page="home"] .xenah-hero {
  padding-top: clamp(14px, 1.8vw, 24px);
  padding-bottom: clamp(10px, 1.4vw, 18px);
  background:
    radial-gradient(circle at 12% 18%, rgba(185, 149, 91, 0.08), transparent 30%),
    radial-gradient(circle at 84% 8%, rgba(126, 136, 104, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(250, 246, 238, 0.34), rgba(255, 253, 248, 0));
}

body[data-page="home"] .xenah-hero-slider {
  width: min(calc(100% - 32px), 1680px);
  margin-inline: auto;
}

body[data-page="home"] .xenah-slider-track-wrap,
body[data-page="home"] .hero-viewport {
  border-radius: clamp(16px, 1.35vw, 24px);
  box-shadow:
    0 20px 56px rgba(58, 48, 33, 0.075),
    0 1px 0 rgba(255, 255, 255, 0.82) inset;
  border: 1px solid rgba(232, 221, 202, 0.42);
  background: rgba(255, 253, 248, 0.55);
}

body[data-page="home"] .hero-banner-img {
  filter: saturate(0.98) contrast(1.01);
}

body[data-page="home"] .xenah-slider-arrow {
  width: 46px;
  height: 46px;
  border-color: rgba(232, 221, 202, 0.58);
  background: rgba(255, 253, 248, 0.68);
  color: rgba(95, 104, 78, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(58, 48, 33, 0.08);
  opacity: 0.82;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

body[data-page="home"] .xenah-slider-arrow:hover,
body[data-page="home"] .xenah-slider-arrow:focus-visible {
  opacity: 1;
  background: rgba(255, 253, 248, 0.94);
  border-color: rgba(185, 149, 91, 0.38);
}

body[data-page="home"] .xenah-slider-arrow span {
  font-size: 1.62rem;
  line-height: 1;
}

body[data-page="home"] .xenah-slider-dots {
  padding-top: 12px;
  gap: 7px;
}

body[data-page="home"] .xenah-slider-dots button {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(126, 136, 104, 0.22);
  opacity: 1;
  transition: width 180ms ease, background 180ms ease, transform 180ms ease;
}

body[data-page="home"] .xenah-slider-dots button.is-active {
  width: 24px;
  transform: none;
  background: linear-gradient(90deg, var(--sage-dark), rgba(185, 149, 91, 0.88));
}

body[data-page="home"] .xenah-hero + .xenah-brands,
body[data-page="home"] .xenah-hero + #brands {
  margin-top: 0;
  padding-top: clamp(20px, 2.2vw, 30px);
}

body[data-page="home"] .xenah-brands {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 0%, rgba(185, 149, 91, 0.055), transparent 30%),
    radial-gradient(circle at 85% 16%, rgba(126, 136, 104, 0.05), transparent 28%),
    linear-gradient(180deg, rgba(255, 253, 248, 0), rgba(250, 246, 238, 0.38) 54%, rgba(255, 253, 248, 0));
}

body[data-page="home"] .xenah-brands .xenah-section-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

body[data-page="home"] .xenah-brands .xenah-section-head::after {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(185, 149, 91, 0.9), transparent);
}

body[data-page="home"] .xenah-brands .xenah-section-head h2 {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(47, 47, 43, 0.94);
}

body[data-page="home"] .xenah-brands .xenah-section-head p:last-child {
  margin-inline: auto;
  color: rgba(78, 72, 62, 0.62);
}

body[data-page="home"] .xenah-brands-carousel-shell {
  margin-top: clamp(8px, 1.4vw, 16px);
}

body[data-page="home"] .xenah-brands-carousel {
  padding: 8px 0 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

body[data-page="home"] .xenah-brand-logo-card {
  min-height: clamp(104px, 8.5vw, 130px);
  border-radius: 22px;
  border: 1px solid rgba(232, 221, 202, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(250, 246, 238, 0.72));
  box-shadow:
    0 16px 36px rgba(58, 48, 33, 0.055),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

body[data-page="home"] .xenah-brand-logo-card:hover,
body[data-page="home"] .xenah-brand-logo-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(185, 149, 91, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(250, 246, 238, 0.86));
  box-shadow:
    0 22px 44px rgba(58, 48, 33, 0.085),
    0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

body[data-page="home"] .xenah-brand-logo {
  max-width: min(78%, 178px);
  max-height: 70px;
  filter: saturate(0.96) contrast(1.02);
  opacity: 0.95;
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

body[data-page="home"] .xenah-brand-logo-card:hover .xenah-brand-logo,
body[data-page="home"] .xenah-brand-logo-card:focus-visible .xenah-brand-logo {
  opacity: 1;
  transform: scale(1.015);
  filter: saturate(1.02) contrast(1.04);
}

body[data-page="home"] .xenah-brands-arrow {
  border-color: rgba(232, 221, 202, 0.58);
  background: rgba(255, 253, 248, 0.72);
  color: rgba(95, 104, 78, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(58, 48, 33, 0.075);
}

body[data-page="home"] .xenah-brands-arrow:hover,
body[data-page="home"] .xenah-brands-arrow:focus-visible {
  background: rgba(255, 253, 248, 0.96);
  border-color: rgba(185, 149, 91, 0.34);
}

@media (min-width: 768px) {
  body[data-page="home"] .xenah-hero-slider:hover .xenah-slider-arrow {
    opacity: 0.96;
  }
}

@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-hero {
    padding-top: 8px;
    padding-bottom: 14px;
  }

  body[data-page="home"] .xenah-hero-slider {
    width: min(calc(100% - 22px), var(--container-max));
  }

  body[data-page="home"] .xenah-slider-track-wrap,
  body[data-page="home"] .hero-viewport {
    border-radius: 16px;
    box-shadow: 0 12px 26px rgba(58, 48, 33, 0.07);
  }

  body[data-page="home"] .xenah-slider-arrow {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    opacity: 0.68;
    box-shadow: 0 8px 18px rgba(58, 48, 33, 0.09);
  }

  body[data-page="home"] .xenah-slider-arrow span {
    font-size: 1.05rem;
  }

  body[data-page="home"] .xenah-slider-dots {
    margin-top: 7px;
    min-height: 13px;
    gap: 5px;
  }

  body[data-page="home"] .xenah-slider-dots button {
    width: 5px;
    height: 5px;
    min-width: 5px;
    min-height: 5px;
  }

  body[data-page="home"] .xenah-slider-dots button.is-active {
    width: 17px;
  }

  body[data-page="home"] .xenah-hero + .xenah-brands,
  body[data-page="home"] .xenah-hero + #brands {
    padding-top: 18px;
  }

  body[data-page="home"] .xenah-brands .xenah-section-head::after {
    width: 42px;
    margin-top: 9px;
  }

  body[data-page="home"] .xenah-brands-carousel-shell {
    margin-top: 6px;
  }

  body[data-page="home"] .xenah-brands-carousel {
    padding: 6px 0 11px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  }

  body[data-page="home"] .xenah-brand-logo-card {
    min-height: 88px;
    padding: 14px 16px;
    border-radius: 18px;
    box-shadow: 0 10px 22px rgba(58, 48, 33, 0.052);
  }

  body[data-page="home"] .xenah-brand-logo {
    max-width: min(84%, 142px);
    max-height: 56px;
  }
}

/* =========================================================
   v9 - Frameless refinement: restore wide hero desktop + reduce heavy frames
   ========================================================= */
@media (min-width: 768px) {
  body[data-page="home"] .xenah-hero {
    padding-top: 18px;
    padding-bottom: 8px;
    background: transparent;
  }

  body[data-page="home"] .xenah-hero-slider {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
  }

  body[data-page="home"] .xenah-slider-track-wrap,
  body[data-page="home"] .hero-viewport {
    border-radius: 6px;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  body[data-page="home"] .hero-banner-img {
    filter: none;
  }

  body[data-page="home"] .xenah-slider-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(232, 221, 202, 0.46);
    background: rgba(255, 253, 248, 0.58);
    box-shadow: none;
    opacity: 0.7;
  }

  body[data-page="home"] .xenah-slider-arrow:hover,
  body[data-page="home"] .xenah-slider-arrow:focus-visible {
    opacity: 0.95;
    background: rgba(255, 253, 248, 0.86);
    border-color: rgba(185, 149, 91, 0.28);
  }

  body[data-page="home"] .xenah-hero + .xenah-brands,
  body[data-page="home"] .xenah-hero + #brands {
    padding-top: 18px;
  }

  body[data-page="home"] .xenah-brands {
    background:
      radial-gradient(circle at 50% 0%, rgba(185, 149, 91, 0.04), transparent 28%),
      linear-gradient(180deg, rgba(255, 253, 248, 0), rgba(255, 253, 248, 0.82));
  }

  body[data-page="home"] .xenah-brands .xenah-section-head::after {
    display: none;
  }

  body[data-page="home"] .xenah-brands-carousel-shell {
    margin-top: 14px;
  }

  body[data-page="home"] .xenah-brand-logo-card {
    min-height: clamp(96px, 7.2vw, 116px);
    border-radius: 18px;
    border-color: rgba(232, 221, 202, 0.26);
    background: rgba(255, 253, 248, 0.42);
    box-shadow: none;
  }

  body[data-page="home"] .xenah-brand-logo-card:hover,
  body[data-page="home"] .xenah-brand-logo-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(185, 149, 91, 0.28);
    background: rgba(255, 253, 248, 0.68);
    box-shadow: 0 12px 28px rgba(58, 48, 33, 0.045);
  }

  body[data-page="home"] .xenah-brands-arrow {
    box-shadow: none;
    background: rgba(255, 253, 248, 0.62);
  }
}

@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-brands .xenah-section-head::after {
    opacity: 0.55;
  }

  body[data-page="home"] .xenah-brand-logo-card {
    border-color: rgba(232, 221, 202, 0.32);
    background: rgba(255, 253, 248, 0.62);
    box-shadow: none;
  }
}

/* =========================================================
   v11 — Safe frameless polish rollback
   Built on v9, without the aggressive v10 product/section changes.
   Goal: cleaner look, no heavy frames, no broken desktop spacing.
   ========================================================= */

/* Keep the page flow clean without turning sections into isolated blocks. */
body[data-page="home"] .xenah-home-dynamic-offers,
body[data-page="home"] .xenah-categories,
body[data-page="home"] #bestsellers {
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Softer section rhythm: less boxed, but not overly compressed. */
body[data-page="home"] .xenah-home-dynamic-offers {
  padding-top: clamp(30px, 3.8vw, 54px);
  padding-bottom: clamp(28px, 3.5vw, 48px);
}

body[data-page="home"] .xenah-home-dynamic-offers--special {
  padding-top: clamp(18px, 2.6vw, 34px);
}

body[data-page="home"] .xenah-section-head,
body[data-page="home"] .xenah-section-head-compact {
  margin-bottom: clamp(16px, 2vw, 24px);
}

body[data-page="home"] .xenah-section-head h2,
body[data-page="home"] .xenah-section-head-compact h2 {
  color: rgba(47, 47, 43, 0.94);
  letter-spacing: -0.01em;
}

body[data-page="home"] .xenah-section-head p:not(.xenah-section-kicker),
body[data-page="home"] .xenah-section-head-compact p:not(.xenah-section-kicker) {
  color: rgba(47, 47, 43, 0.48);
}

/* Product rows: keep the old working sizes, only soften the visual weight. */
body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products {
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(126, 136, 104, 0.28) transparent;
}

body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products::-webkit-scrollbar {
  height: 3px;
}

body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products::-webkit-scrollbar-track {
  background: transparent;
}

body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(126, 136, 104, 0.28);
}

body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products:hover::-webkit-scrollbar-thumb {
  background: rgba(126, 136, 104, 0.42);
}

/* Remove the heavy green divider/progress feeling under product carousels. */
body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-section-foot::before {
  content: none !important;
  display: none !important;
}

body[data-page="home"] .xenah-home-section-foot {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 8px;
  margin-top: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

body[data-page="home"] .xenah-home-section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(126, 136, 104, 0.18);
  background: rgba(255, 253, 248, 0.55);
  color: rgba(95, 104, 78, 0.92);
  box-shadow: none;
  font-size: 0.84rem;
  font-weight: 700;
}

body[data-page="home"] .xenah-home-section-link:hover,
body[data-page="home"] .xenah-home-section-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(185, 149, 91, 0.28);
  background: rgba(255, 253, 248, 0.9);
  color: var(--sage-dark);
}

/* Softer product card finish without changing card layout/height. */
body[data-page="home"] .xenah-product-card,
body[data-page="home"] .xenah-home-offer-products .xenah-product-card {
  border-color: rgba(239, 231, 217, 0.72);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 10px 24px rgba(47, 47, 43, 0.025);
}

body[data-page="home"] .xenah-product-card:hover,
body[data-page="home"] .xenah-home-offer-products .xenah-product-card:hover {
  border-color: rgba(185, 149, 91, 0.22);
  box-shadow: 0 14px 30px rgba(47, 47, 43, 0.045);
}

body[data-page="home"] .xenah-product-badge,
body[data-page="home"] .xenah-product-badge-stack .xenah-product-badge {
  box-shadow: none;
}

body[data-page="home"] .xenah-product-wishlist,
body[data-page="home"] .xenah-product-card__floating-cart {
  border-color: rgba(126, 136, 104, 0.16);
  background: rgba(255, 253, 248, 0.62);
  box-shadow: none;
}

/* Categories: remove heavy frame feeling while keeping readable image cards. */
body[data-page="home"] .xenah-category-slide {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

body[data-page="home"] .xenah-category-slide::before {
  background: linear-gradient(180deg, rgba(47, 47, 43, 0.08), rgba(47, 47, 43, 0.22));
}

/* Keep desktop hero close to the wider original feel. */
@media (min-width: 768px) {
  body[data-page="home"] .xenah-hero {
    padding-top: 18px;
    padding-bottom: 26px;
  }

  body[data-page="home"] .xenah-slider-track-wrap,
  body[data-page="home"] .hero-viewport {
    border-radius: 6px;
    box-shadow: none;
  }
}

@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-home-dynamic-offers {
    padding-top: 24px;
    padding-bottom: 26px;
  }

  body[data-page="home"] .xenah-home-dynamic-offers--special {
    padding-top: 12px;
  }

  body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-offer-products {
    padding-bottom: 14px;
  }

  body[data-page="home"] .xenah-home-section-foot {
    padding-top: 6px;
  }

  body[data-page="home"] .xenah-home-section-link {
    min-height: 30px;
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  body[data-page="home"] .xenah-product-card,
  body[data-page="home"] .xenah-home-offer-products .xenah-product-card {
    box-shadow: 0 8px 18px rgba(47, 47, 43, 0.025);
  }
}

/* =========================================================
   v12 — Home product buttons + Category section refinement
   Built on v11. Keeps all previous shop/home fixes.
   - Restores visible add-to-cart button on home product cards.
   - Refines "Shop by category" visually without changing order/layout.
   ========================================================= */

/* Restore home product add-to-cart visibility after frameless polish. */
body[data-page="home"] .xenah-product-meta-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

body[data-page="home"] .xenah-product-card__floating-cart {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
  transform: none !important;
  border: 1px solid rgba(95, 104, 78, 0.18) !important;
  background: var(--sage-dark) !important;
  color: var(--white) !important;
  box-shadow: none !important;
}

body[data-page="home"] .xenah-product-card__floating-cart:hover,
body[data-page="home"] .xenah-product-card__floating-cart:focus-visible {
  background: var(--sage) !important;
  border-color: rgba(95, 104, 78, 0.24) !important;
  color: var(--white) !important;
}

@media (min-width: 768px) {
  body[data-page="home"] .xenah-product-card__floating-cart {
    position: static !important;
    inset: auto !important;
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    height: 42px;
    min-height: 42px;
    margin-top: 8px;
    padding: 0 16px;
    border-radius: 14px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
  }

  body[data-page="home"] .xenah-product-card__floating-cart .xenah-product-btn-text {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: nowrap;
    border: 0;
  }

  body[data-page="home"] .xenah-product-card__floating-cart .xenah-product-cart-icon {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-product-card__floating-cart {
    position: static !important;
    inset: auto !important;
    flex: 0 0 34px;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0;
  }

  body[data-page="home"] .xenah-product-card__floating-cart .xenah-product-btn-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap;
    border: 0;
  }

  body[data-page="home"] .xenah-product-card__floating-cart .xenah-product-cart-icon {
    display: inline-flex !important;
    width: 17px;
    height: 17px;
    align-items: center;
    justify-content: center;
  }

  body[data-page="home"] .xenah-product-card__floating-cart .xenah-product-cart-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

/* Category section: softer editorial cards, no heavy scrollbar/divider feeling. */
body[data-page="home"] .xenah-categories {
  padding-top: clamp(34px, 4.5vw, 68px);
  padding-bottom: clamp(34px, 4.5vw, 68px);
  background:
    radial-gradient(circle at 12% 10%, rgba(126, 136, 104, 0.055), transparent 0 24%),
    radial-gradient(circle at 92% 68%, rgba(185, 149, 91, 0.045), transparent 0 26%);
}

body[data-page="home"] .xenah-categories .xenah-section-head {
  margin-bottom: clamp(18px, 2.2vw, 28px);
}

body[data-page="home"] .xenah-category-carousel-shell {
  width: min(calc(100vw - 28px), 1440px);
}

body[data-page="home"] .xenah-category-viewport {
  padding: 4px clamp(10px, 1.4vw, 20px) 8px;
  scrollbar-width: none;
}

body[data-page="home"] .xenah-category-viewport::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body[data-page="home"] .xenah-category-track {
  gap: clamp(12px, 1.35vw, 20px);
}

body[data-page="home"] .xenah-category-slide {
  flex-basis: clamp(270px, 24vw, 370px);
  aspect-ratio: 2.08 / 1;
  min-height: 138px;
  border-radius: 20px;
  border: 1px solid rgba(255, 253, 248, 0.22);
  box-shadow: none;
  filter: saturate(0.94) contrast(0.98);
  transition: transform 200ms ease, filter 200ms ease, opacity 200ms ease;
}

body[data-page="home"] .xenah-category-slide::before {
  background:
    linear-gradient(90deg, rgba(47, 47, 43, 0.34), rgba(47, 47, 43, 0.08) 58%, rgba(47, 47, 43, 0.16)),
    linear-gradient(180deg, rgba(255, 253, 248, 0.06), rgba(47, 47, 43, 0.16));
}

body[data-page="home"] .xenah-category-slide span {
  position: absolute;
  inset-inline-start: 18px;
  inset-block-start: 16px;
  margin: 0;
  max-width: calc(100% - 36px);
  font-size: clamp(0.92rem, 1.02vw, 1.04rem);
  font-weight: 800;
  color: #fffdf8;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

html[dir="rtl"] body[data-page="home"] .xenah-category-slide span,
body.is-rtl[data-page="home"] .xenah-category-slide span {
  inset-inline-start: auto;
  inset-inline-end: 18px;
  text-align: right;
}

body[data-page="home"] .xenah-category-slide:hover,
body[data-page="home"] .xenah-category-slide:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1) contrast(1.01);
  box-shadow: none;
}

body[data-page="home"] .xenah-category-arrow {
  width: 40px;
  height: 40px;
  border-color: rgba(232, 221, 202, 0.52);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: none;
}

body[data-page="home"] .xenah-category-arrow:hover,
body[data-page="home"] .xenah-category-arrow:focus-visible {
  background: rgba(255, 253, 248, 0.96);
  border-color: rgba(185, 149, 91, 0.28);
}

body[data-page="home"] .xenah-category-arrow span {
  font-size: 1.65rem;
}

@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-categories {
    padding-top: 28px;
    padding-bottom: 30px;
  }

  body[data-page="home"] .xenah-category-carousel-shell {
    width: min(calc(100vw - 14px), 100%);
  }

  body[data-page="home"] .xenah-category-viewport {
    padding-inline: 8px;
    padding-bottom: 4px;
  }

  body[data-page="home"] .xenah-category-track {
    gap: 10px;
  }

  body[data-page="home"] .xenah-category-slide {
    flex-basis: min(78vw, 290px);
    aspect-ratio: 1.78 / 1;
    min-height: 132px;
    border-radius: 18px;
  }

  body[data-page="home"] .xenah-category-slide span {
    inset-block-start: 14px;
    inset-inline-start: 14px;
    font-size: 0.92rem;
  }

  html[dir="rtl"] body[data-page="home"] .xenah-category-slide span,
  body.is-rtl[data-page="home"] .xenah-category-slide span {
    inset-inline-start: auto;
    inset-inline-end: 14px;
  }

  body[data-page="home"] .xenah-category-arrow {
    width: 36px;
    height: 36px;
  }
}

/* =========================================================
   v13 — Match home product add-to-cart button with Shop cards
   Built on v12. Keeps category refinements and all previous fixes.
   ========================================================= */

/* Desktop: same behavior as shop cards — clean full button inside card, appears on hover/focus only. */
@media (min-width: 768px) {
  body[data-page="home"] .xenah-product-card .xenah-product-meta-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    margin-top: auto !important;
    margin-bottom: 10px !important;
  }

  body[data-page="home"] .xenah-product-card .xenah-product-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 !important;
    text-align: initial !important;
  }

  body[data-page="home"] .xenah-product-card__floating-cart {
    position: static !important;
    inset: auto !important;
    order: initial !important;
    flex: initial !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 8px 0 0 !important;
    padding: 0 16px !important;
    border-radius: 14px !important;
    border: 0 !important;
    background: var(--sage-dark) !important;
    color: var(--white) !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: visible !important;
    transform: translateY(6px) !important;
    pointer-events: none !important;
    font-size: 0.94rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    transition: opacity 220ms ease, transform 220ms ease, background-color 180ms ease !important;
  }

  body[data-page="home"] .xenah-product-card:hover .xenah-product-card__floating-cart {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  body[data-page="home"] .xenah-product-card__floating-cart:hover,
  body[data-page="home"] .xenah-product-card__floating-cart:focus-visible {
    background: var(--sage) !important;
    color: var(--white) !important;
  }

  body[data-page="home"] .xenah-product-card__floating-cart .xenah-product-cart-icon {
    display: none !important;
  }

  body[data-page="home"] .xenah-product-card__floating-cart .xenah-product-btn-text {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: nowrap !important;
    border: 0 !important;
    font-size: inherit !important;
    line-height: 1 !important;
  }
}

/* Mobile: keep the same compact cart icon style as product/shop cards. */
@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-product-card__floating-cart {
    position: static !important;
    inset: auto !important;
    flex: 0 0 32px !important;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 999px !important;
    border: 1px solid rgba(95, 104, 78, 0.34) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--sage-dark) !important;
    box-shadow: 0 2px 8px rgba(88, 67, 45, 0.025) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
}


/* =========================================================
   v14 — Home Add-to-Cart should hide again after click
   Keep Shop card logic untouched; home desktop reveals by hover only.
   ========================================================= */
@media (min-width: 768px) {
  body[data-page="home"] .xenah-product-card:not(:hover) .xenah-product-card__floating-cart {
    opacity: 0 !important;
    transform: translateY(6px) !important;
    pointer-events: none !important;
  }
}

/* =========================================================
   v15 — Stronger Shop-by-Need category section
   Builds on v14. Bigger visual area, still frameless and clean.
   ========================================================= */
body[data-page="home"] .xenah-categories {
  position: relative;
  padding-top: clamp(56px, 6.2vw, 104px) !important;
  padding-bottom: clamp(54px, 6vw, 98px) !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(126, 136, 104, 0.08), transparent 0 28%),
    radial-gradient(circle at 86% 70%, rgba(185, 149, 91, 0.06), transparent 0 30%),
    linear-gradient(180deg, rgba(255, 253, 248, 0), rgba(250, 246, 238, 0.38) 48%, rgba(255, 253, 248, 0));
}

body[data-page="home"] .xenah-categories::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 149, 91, 0.18), transparent);
  opacity: 0.45;
  pointer-events: none;
}

body[data-page="home"] .xenah-categories .xenah-section-head {
  margin-bottom: clamp(28px, 3.2vw, 48px) !important;
}

body[data-page="home"] .xenah-categories .xenah-section-head h2 {
  font-size: clamp(2rem, 3.35vw, 3.85rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.025em;
}

body[data-page="home"] .xenah-categories .xenah-section-head p:not(.xenah-section-kicker) {
  max-width: 560px;
  margin-inline: auto;
  color: rgba(47, 47, 43, 0.52);
  font-size: clamp(0.95rem, 1.05vw, 1.08rem);
}

body[data-page="home"] .xenah-category-carousel-shell {
  width: min(calc(100vw - 32px), 1540px) !important;
}

body[data-page="home"] .xenah-category-viewport {
  padding: 8px clamp(10px, 1.25vw, 20px) 14px !important;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}

body[data-page="home"] .xenah-category-viewport::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

body[data-page="home"] .xenah-category-track {
  gap: clamp(18px, 1.6vw, 28px) !important;
  align-items: stretch;
}

body[data-page="home"] .xenah-category-slide {
  flex: 0 0 clamp(360px, 31vw, 520px) !important;
  min-height: clamp(218px, 17vw, 285px) !important;
  aspect-ratio: 1.72 / 1 !important;
  border: 0 !important;
  border-radius: 30px !important;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
  box-shadow: 0 24px 70px rgba(47, 47, 43, 0.08) !important;
  filter: saturate(0.98) contrast(1) !important;
  transform: translateZ(0);
}

body[data-page="home"] .xenah-category-slide:nth-child(1),
body[data-page="home"] .xenah-category-slide:nth-child(2) {
  flex-basis: clamp(410px, 34vw, 580px) !important;
}

body[data-page="home"] .xenah-category-slide::before {
  background:
    linear-gradient(90deg, rgba(20, 22, 18, 0.58) 0%, rgba(20, 22, 18, 0.22) 48%, rgba(20, 22, 18, 0.06) 100%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.02) 0%, rgba(20, 22, 18, 0.34) 100%) !important;
  opacity: 0.92;
  transition: opacity 220ms ease, background 220ms ease;
}

html[dir="rtl"] body[data-page="home"] .xenah-category-slide::before,
body.is-rtl[data-page="home"] .xenah-category-slide::before {
  background:
    linear-gradient(270deg, rgba(20, 22, 18, 0.58) 0%, rgba(20, 22, 18, 0.22) 48%, rgba(20, 22, 18, 0.06) 100%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.02) 0%, rgba(20, 22, 18, 0.34) 100%) !important;
}

body[data-page="home"] .xenah-category-slide span {
  inset-block-start: auto !important;
  inset-block-end: 24px !important;
  inset-inline-start: 26px !important;
  max-width: min(78%, 330px) !important;
  padding: 0 !important;
  font-size: clamp(1.25rem, 1.75vw, 1.85rem) !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
  color: #fffdf8 !important;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.32) !important;
}

body[data-page="home"] .xenah-category-slide span::after {
  content: attr(data-shop-label);
}

body[data-page="home"] .xenah-category-slide span::before {
  content: "تسوقي الآن";
  display: block;
  width: max-content;
  margin-bottom: 11px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 253, 248, 0.35);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.16);
  color: rgba(255, 253, 248, 0.94);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: none;
  backdrop-filter: blur(10px);
}

html[dir="ltr"] body[data-page="home"] .xenah-category-slide span::before,
body.is-ltr[data-page="home"] .xenah-category-slide span::before {
  content: "Shop now";
}

html[dir="rtl"] body[data-page="home"] .xenah-category-slide span,
body.is-rtl[data-page="home"] .xenah-category-slide span {
  inset-inline-start: auto !important;
  inset-inline-end: 26px !important;
  text-align: right;
}

body[data-page="home"] .xenah-category-slide:hover,
body[data-page="home"] .xenah-category-slide:focus-visible {
  transform: translateY(-4px) scale(1.006) !important;
  filter: saturate(1.04) contrast(1.02) !important;
  box-shadow: 0 30px 90px rgba(47, 47, 43, 0.12) !important;
}

body[data-page="home"] .xenah-category-slide:hover::before,
body[data-page="home"] .xenah-category-slide:focus-visible::before {
  opacity: 0.82;
}

body[data-page="home"] .xenah-category-arrow {
  width: 48px !important;
  height: 48px !important;
  border: 1px solid rgba(255, 253, 248, 0.68) !important;
  background: rgba(255, 253, 248, 0.84) !important;
  color: var(--sage-dark) !important;
  box-shadow: 0 14px 36px rgba(47, 47, 43, 0.10) !important;
  backdrop-filter: blur(12px);
}

body[data-page="home"] .xenah-category-arrow:hover,
body[data-page="home"] .xenah-category-arrow:focus-visible {
  background: rgba(255, 253, 248, 0.98) !important;
  border-color: rgba(185, 149, 91, 0.34) !important;
  transform: translateY(-50%) scale(1.03);
}

body[data-page="home"] .xenah-category-arrow span {
  font-size: 1.85rem !important;
}

@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-categories {
    padding-top: 40px !important;
    padding-bottom: 48px !important;
  }

  body[data-page="home"] .xenah-categories::before {
    display: none;
  }

  body[data-page="home"] .xenah-categories .xenah-section-head {
    margin-bottom: 22px !important;
    padding-inline: 18px;
  }

  body[data-page="home"] .xenah-categories .xenah-section-head h2 {
    font-size: clamp(1.75rem, 9vw, 2.35rem) !important;
    line-height: 1.08 !important;
  }

  body[data-page="home"] .xenah-categories .xenah-section-head p:not(.xenah-section-kicker) {
    font-size: 0.92rem;
  }

  body[data-page="home"] .xenah-category-carousel-shell {
    width: 100vw !important;
    margin-inline: 50% !important;
    transform: translateX(50%) !important;
  }

  html[dir="ltr"] body[data-page="home"] .xenah-category-carousel-shell,
  body.is-ltr[data-page="home"] .xenah-category-carousel-shell {
    transform: translateX(-50%) !important;
  }

  body[data-page="home"] .xenah-category-viewport {
    padding-inline: 18px !important;
    padding-bottom: 10px !important;
    -webkit-mask-image: none;
    mask-image: none;
  }

  body[data-page="home"] .xenah-category-track {
    gap: 14px !important;
  }

  body[data-page="home"] .xenah-category-slide,
  body[data-page="home"] .xenah-category-slide:nth-child(1),
  body[data-page="home"] .xenah-category-slide:nth-child(2) {
    flex-basis: min(82vw, 330px) !important;
    min-height: 178px !important;
    aspect-ratio: 1.62 / 1 !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 46px rgba(47, 47, 43, 0.10) !important;
  }

  body[data-page="home"] .xenah-category-slide span {
    inset-inline-start: 18px !important;
    inset-block-end: 18px !important;
    max-width: calc(100% - 36px) !important;
    font-size: 1.2rem !important;
  }

  html[dir="rtl"] body[data-page="home"] .xenah-category-slide span,
  body.is-rtl[data-page="home"] .xenah-category-slide span {
    inset-inline-start: auto !important;
    inset-inline-end: 18px !important;
  }

  body[data-page="home"] .xenah-category-slide span::before {
    margin-bottom: 9px;
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  body[data-page="home"] .xenah-category-arrow {
    width: 40px !important;
    height: 40px !important;
    box-shadow: 0 10px 28px rgba(47, 47, 43, 0.10) !important;
  }
}

/* =========================================================
   v16 — Category slider cleanup + spacing fix
   Built on v15. Keeps all previous shop/home fixes.
   - Removes visible category arrows; keeps swipe/drag slider behavior.
   - Moves “Shop now / تسوقي الآن” to the opposite side of the category title.
   - Reduces the large desktop gap above the category section.
   - Removes the thin divider line that was visually cutting the flow.
   ========================================================= */

/* Hide the category arrows only; the carousel remains draggable/swipeable like the offers sliders. */
body[data-page="home"] .xenah-category-arrow {
  display: none !important;
}

/* Remove heavy/awkward separator lines around home carousel footers and the category section. */
body[data-page="home"] .xenah-home-dynamic-offers:not(.is-empty-offers) .xenah-home-section-foot::before,
body[data-page="home"] .xenah-categories::before {
  display: none !important;
  content: none !important;
}

/* Pull the category section closer to the offers above it without changing order/layout. */
body[data-page="home"] .xenah-categories {
  margin-top: clamp(4px, 1.4vw, 18px) !important;
  padding-top: clamp(34px, 4vw, 64px) !important;
  padding-bottom: clamp(46px, 5.2vw, 86px) !important;
  background:
    radial-gradient(circle at 18% 18%, rgba(126, 136, 104, 0.055), transparent 0 28%),
    radial-gradient(circle at 86% 70%, rgba(185, 149, 91, 0.045), transparent 0 30%),
    linear-gradient(180deg, rgba(255, 253, 248, 0), rgba(250, 246, 238, 0.26) 52%, rgba(255, 253, 248, 0)) !important;
}

body[data-page="home"] .xenah-categories .xenah-section-head {
  margin-bottom: clamp(22px, 2.4vw, 36px) !important;
}

body[data-page="home"] .xenah-categories .xenah-section-head h2 {
  font-size: clamp(1.9rem, 3vw, 3.35rem) !important;
}

/* Make the category carousel feel like a natural slider, not a framed block. */
body[data-page="home"] .xenah-category-viewport {
  padding-top: 4px !important;
  padding-bottom: 10px !important;
  scroll-snap-type: x mandatory;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%) !important;
  mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%) !important;
}

body[data-page="home"] .xenah-category-slide {
  scroll-snap-align: center;
}

/* Put CTA on the opposite side from the category name. */
body[data-page="home"] .xenah-category-slide span {
  inset-inline: clamp(18px, 2vw, 30px) !important;
  inset-block-end: clamp(18px, 1.9vw, 28px) !important;
  max-width: none !important;
  width: auto !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: clamp(14px, 1.6vw, 26px) !important;
  text-align: start !important;
}

html[dir="rtl"] body[data-page="home"] .xenah-category-slide span,
body.is-rtl[data-page="home"] .xenah-category-slide span {
  inset-inline-start: clamp(18px, 2vw, 30px) !important;
  inset-inline-end: clamp(18px, 2vw, 30px) !important;
  text-align: right !important;
}

body[data-page="home"] .xenah-category-slide span::after {
  content: none !important;
}

body[data-page="home"] .xenah-category-slide span::before {
  order: 2;
  flex: 0 0 auto;
  margin: 0 !important;
  align-self: center;
  padding: 8px 13px !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  white-space: nowrap;
  opacity: 0.94;
}

/* Extra desktop tightening so the category section no longer floats far from the offers above. */
@media (min-width: 992px) {
  body[data-page="home"] .xenah-home-dynamic-offers + .xenah-categories,
  body[data-page="home"] #legacy-offers + .xenah-categories,
  body[data-page="home"] .xenah-categories {
    margin-top: clamp(0px, 0.8vw, 12px) !important;
  }
}

@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-categories {
    padding-top: 30px !important;
    padding-bottom: 42px !important;
  }

  body[data-page="home"] .xenah-categories .xenah-section-head {
    margin-bottom: 18px !important;
  }

  body[data-page="home"] .xenah-category-viewport {
    padding-inline: 18px !important;
    padding-bottom: 8px !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  body[data-page="home"] .xenah-category-slide span {
    inset-inline: 18px !important;
    inset-block-end: 18px !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 1.08rem !important;
  }

  html[dir="rtl"] body[data-page="home"] .xenah-category-slide span,
  body.is-rtl[data-page="home"] .xenah-category-slide span {
    inset-inline-start: 18px !important;
    inset-inline-end: 18px !important;
  }

  body[data-page="home"] .xenah-category-slide span::before {
    padding: 7px 11px !important;
    font-size: 0.72rem !important;
  }
}

/* =========================================================
   v17 — Category slider drag line
   Built on v16. Keeps all previous fixes.
   - Restores the subtle horizontal drag/scroll line for Shop-by-Need.
   - Matches the Special Offers carousel logic without bringing arrows back.
   ========================================================= */

body[data-page="home"] .xenah-category-viewport {
  padding-bottom: 18px !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(126, 136, 104, 0.30) transparent !important;
}

body[data-page="home"] .xenah-category-viewport::-webkit-scrollbar {
  display: block !important;
  width: auto !important;
  height: 3px !important;
}

body[data-page="home"] .xenah-category-viewport::-webkit-scrollbar-track {
  background: transparent !important;
}

body[data-page="home"] .xenah-category-viewport::-webkit-scrollbar-thumb {
  border-radius: 999px !important;
  background: rgba(126, 136, 104, 0.30) !important;
}

body[data-page="home"] .xenah-category-viewport:hover::-webkit-scrollbar-thumb,
body[data-page="home"] .xenah-category-viewport:focus-within::-webkit-scrollbar-thumb {
  background: rgba(126, 136, 104, 0.46) !important;
}

@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-category-viewport {
    padding-bottom: 14px !important;
    scrollbar-color: rgba(126, 136, 104, 0.26) transparent !important;
  }

  body[data-page="home"] .xenah-category-viewport::-webkit-scrollbar {
    height: 3px !important;
  }

  body[data-page="home"] .xenah-category-viewport::-webkit-scrollbar-thumb {
    background: rgba(126, 136, 104, 0.26) !important;
  }
}

/* =========================================================
   v18 — Give Brands section more presence
   Stronger frameless brand stage, no heavy boxes.
   ========================================================= */
body[data-page="home"] .xenah-hero + .xenah-brands,
body[data-page="home"] .xenah-hero + #brands {
  padding-top: clamp(28px, 3.4vw, 54px);
}

body[data-page="home"] .xenah-brands {
  isolation: isolate;
  padding-bottom: clamp(42px, 5vw, 76px);
  background:
    radial-gradient(circle at 50% 8%, rgba(185, 149, 91, 0.055), transparent 28%),
    radial-gradient(circle at 18% 74%, rgba(126, 136, 104, 0.045), transparent 24%),
    linear-gradient(180deg, rgba(255, 253, 248, 0) 0%, rgba(250, 246, 238, 0.42) 58%, rgba(255, 253, 248, 0) 100%);
}

body[data-page="home"] .xenah-brands .xenah-section-head {
  max-width: 820px;
  margin-bottom: clamp(14px, 1.8vw, 26px);
}

body[data-page="home"] .xenah-brands .xenah-section-head h2 {
  font-size: clamp(1.65rem, 2.55vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.018em;
}

body[data-page="home"] .xenah-brands .xenah-section-head p:last-child {
  max-width: 560px;
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.75;
}

body[data-page="home"] .xenah-brands-carousel-shell {
  width: min(100vw - 28px, 1520px);
  margin-top: clamp(18px, 2.1vw, 30px);
}

body[data-page="home"] .xenah-brands-carousel {
  padding: 10px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4.5%, #000 95.5%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4.5%, #000 95.5%, transparent 100%);
}

body[data-page="home"] .xenah-brands-carousel .xenah-brands-track {
  gap: clamp(14px, 1.25vw, 22px);
}

body[data-page="home"] .xenah-brand-logo-card {
  position: relative;
  overflow: hidden;
  min-width: clamp(190px, 15vw, 250px);
  min-height: clamp(118px, 9vw, 152px);
  padding: clamp(22px, 2vw, 32px);
  border-radius: 26px;
  border: 1px solid rgba(232, 221, 202, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.72), rgba(250, 246, 238, 0.42));
  box-shadow: none;
}

body[data-page="home"] .xenah-brand-logo-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

body[data-page="home"] .xenah-brand-logo-card::after {
  content: "";
  position: absolute;
  inset-inline: 20%;
  bottom: 10px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(185, 149, 91, 0.36), transparent);
  opacity: 0.45;
  pointer-events: none;
}

body[data-page="home"] .xenah-brand-logo-card:hover,
body[data-page="home"] .xenah-brand-logo-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(185, 149, 91, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(250, 246, 238, 0.58));
  box-shadow: 0 18px 36px rgba(58, 48, 33, 0.06);
}

body[data-page="home"] .xenah-brand-logo-card:hover::before,
body[data-page="home"] .xenah-brand-logo-card:focus-visible::before {
  opacity: 1;
}

body[data-page="home"] .xenah-brand-logo {
  max-width: min(82%, 190px);
  max-height: 76px;
  object-fit: contain;
}

body[data-page="home"] .xenah-brands-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(232, 221, 202, 0.48);
  background: rgba(255, 253, 248, 0.72);
  color: rgba(95, 104, 78, 0.9);
  box-shadow: none;
}

body[data-page="home"] .xenah-brands-arrow:hover,
body[data-page="home"] .xenah-brands-arrow:focus-visible {
  background: rgba(255, 253, 248, 0.95);
  border-color: rgba(185, 149, 91, 0.34);
}

@media (min-width: 1200px) {
  body[data-page="home"] .xenah-brands-carousel-shell {
    width: min(100vw - 80px, 1540px);
  }
}

@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-hero + .xenah-brands,
  body[data-page="home"] .xenah-hero + #brands {
    padding-top: 20px;
  }

  body[data-page="home"] .xenah-brands {
    padding-bottom: 34px;
    background:
      radial-gradient(circle at 50% 8%, rgba(185, 149, 91, 0.05), transparent 34%),
      linear-gradient(180deg, rgba(255, 253, 248, 0), rgba(250, 246, 238, 0.28), rgba(255, 253, 248, 0));
  }

  body[data-page="home"] .xenah-brands .xenah-section-head {
    width: min(100% - 26px, 420px);
    text-align: center;
  }

  body[data-page="home"] .xenah-brands .xenah-section-head h2 {
    font-size: clamp(1.25rem, 6vw, 1.8rem);
    line-height: 1.22;
  }

  body[data-page="home"] .xenah-brands .xenah-section-head p:last-child {
    font-size: 0.82rem;
    line-height: 1.65;
  }

  body[data-page="home"] .xenah-brands-carousel-shell {
    width: min(100vw - 14px, 430px);
    margin-top: 12px;
  }

  body[data-page="home"] .xenah-brands-carousel {
    padding: 6px 0 14px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  }

  body[data-page="home"] .xenah-brands-carousel .xenah-brands-track {
    gap: 10px;
  }

  body[data-page="home"] .xenah-brand-logo-card {
    min-width: 154px;
    min-height: 88px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 253, 248, 0.64);
  }

  body[data-page="home"] .xenah-brand-logo-card::before,
  body[data-page="home"] .xenah-brand-logo-card::after {
    display: none;
  }

  body[data-page="home"] .xenah-brand-logo {
    max-width: min(84%, 132px);
    max-height: 54px;
  }

  body[data-page="home"] .xenah-brands-arrow {
    width: 34px;
    height: 34px;
  }
}


/* =========================================================
   v24 CLEAN — Shop-by-Need alignment fix only
   Based on stable v18. Keeps About and product sections untouched.
   Goal: header/text and slider share the same start edge in RTL/LTR.
   ========================================================= */
@media (min-width: 768px) {
  body[data-page="home"] .xenah-categories .xenah-section-head,
  body[data-page="home"] .xenah-category-carousel-shell {
    width: min(calc(100vw - 64px), 1540px) !important;
    max-width: 1540px !important;
    margin-inline: auto !important;
  }

  body[data-page="home"] .xenah-categories .xenah-section-head {
    text-align: start !important;
    margin-bottom: clamp(22px, 2.4vw, 34px) !important;
  }

  body[data-page="home"] .xenah-categories .xenah-section-head h2 {
    margin-inline: 0 !important;
    text-align: start !important;
  }

  body[data-page="home"] .xenah-categories .xenah-section-head p:not(.xenah-section-kicker) {
    max-width: 620px !important;
    margin-inline: 0 !important;
    text-align: start !important;
    line-height: 1.75 !important;
  }

  html[dir="rtl"] body[data-page="home"] .xenah-categories .xenah-section-head,
  body.is-rtl[data-page="home"] .xenah-categories .xenah-section-head,
  html[dir="rtl"] body[data-page="home"] .xenah-categories .xenah-section-head h2,
  body.is-rtl[data-page="home"] .xenah-categories .xenah-section-head h2,
  html[dir="rtl"] body[data-page="home"] .xenah-categories .xenah-section-head p:not(.xenah-section-kicker),
  body.is-rtl[data-page="home"] .xenah-categories .xenah-section-head p:not(.xenah-section-kicker) {
    text-align: right !important;
  }

  html[dir="ltr"] body[data-page="home"] .xenah-categories .xenah-section-head,
  body.is-ltr[data-page="home"] .xenah-categories .xenah-section-head,
  html[dir="ltr"] body[data-page="home"] .xenah-categories .xenah-section-head h2,
  body.is-ltr[data-page="home"] .xenah-categories .xenah-section-head h2,
  html[dir="ltr"] body[data-page="home"] .xenah-categories .xenah-section-head p:not(.xenah-section-kicker),
  body.is-ltr[data-page="home"] .xenah-categories .xenah-section-head p:not(.xenah-section-kicker) {
    text-align: left !important;
  }

  body[data-page="home"] .xenah-category-viewport {
    padding-inline: clamp(10px, 1.25vw, 20px) !important;
  }
}

@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-categories .xenah-section-head,
  body[data-page="home"] .xenah-categories .xenah-section-head h2,
  body[data-page="home"] .xenah-categories .xenah-section-head p:not(.xenah-section-kicker) {
    text-align: center !important;
  }
}

/* =========================================================
   v25 CLEAN — Contained Shop-by-Need carousel
   Built on v24 clean. Fixes the full-bleed offset only.
   - Slider now lives inside the same .xenah-container as the heading.
   - LTR starts with the heading on the left.
   - RTL starts with the heading on the right.
   - About/product sections untouched.
   ========================================================= */
@media (min-width: 768px) {
  body[data-page="home"] .xenah-categories > .xenah-container {
    width: min(calc(100% - 64px), var(--container-max)) !important;
    max-width: var(--container-max) !important;
    margin-inline: auto !important;
  }

  body[data-page="home"] .xenah-categories .xenah-section-head,
  body[data-page="home"] .xenah-category-carousel-shell {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    transform: none !important;
  }

  body[data-page="home"] .xenah-categories .xenah-section-head {
    text-align: start !important;
  }

  html[dir="rtl"] body[data-page="home"] .xenah-categories .xenah-section-head,
  body.is-rtl[data-page="home"] .xenah-categories .xenah-section-head,
  html[dir="rtl"] body[data-page="home"] .xenah-categories .xenah-section-head h2,
  body.is-rtl[data-page="home"] .xenah-categories .xenah-section-head h2,
  html[dir="rtl"] body[data-page="home"] .xenah-categories .xenah-section-head p:not(.xenah-section-kicker),
  body.is-rtl[data-page="home"] .xenah-categories .xenah-section-head p:not(.xenah-section-kicker) {
    text-align: right !important;
  }

  html[dir="ltr"] body[data-page="home"] .xenah-categories .xenah-section-head,
  body.is-ltr[data-page="home"] .xenah-categories .xenah-section-head,
  html[dir="ltr"] body[data-page="home"] .xenah-categories .xenah-section-head h2,
  body.is-ltr[data-page="home"] .xenah-categories .xenah-section-head h2,
  html[dir="ltr"] body[data-page="home"] .xenah-categories .xenah-section-head p:not(.xenah-section-kicker),
  body.is-ltr[data-page="home"] .xenah-categories .xenah-section-head p:not(.xenah-section-kicker) {
    text-align: left !important;
  }

  body[data-page="home"] .xenah-category-viewport {
    width: 100% !important;
    padding-inline: 0 !important;
    margin-inline: 0 !important;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 96%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, #000 0, #000 96%, transparent 100%) !important;
  }

  html[dir="rtl"] body[data-page="home"] .xenah-category-viewport,
  body.is-rtl[data-page="home"] .xenah-category-viewport {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 100%) !important;
  }
}

/* =========================================================
   v26 — Categories title + overlay polish
   - Match section heading size with other home sections
   - Unify the category card overlay tint
   - Lighten the overlay and add a softer blur treatment
   ========================================================= */
body[data-page="home"] .xenah-categories .xenah-section-head h2 {
  font-size: clamp(1.85rem, 2.75vw, 2.85rem) !important;
  line-height: 1.12 !important;
  margin-bottom: 12px !important;
}

body[data-page="home"] .xenah-categories .xenah-section-head p:not(.xenah-section-kicker) {
  line-height: 1.78 !important;
}

body[data-page="home"] .xenah-category-slide::before {
  background: linear-gradient(
    180deg,
    rgba(83, 94, 80, 0.18) 0%,
    rgba(83, 94, 80, 0.11) 48%,
    rgba(83, 94, 80, 0.24) 100%
  ) !important;
  backdrop-filter: blur(1.5px) saturate(102%) !important;
  -webkit-backdrop-filter: blur(1.5px) saturate(102%) !important;
}

body[data-page="home"] .xenah-category-slide-bundles {
  background-image: url("../images/offers/offer-skin.jpg"), linear-gradient(135deg, #f4efe6, #e0e7db) !important;
}

body[data-page="home"] .xenah-category-slide-special {
  background-image: url("../images/offers/offer-makeup.jpg"), linear-gradient(135deg, #f4efe6, #e0e7db) !important;
}

/* =========================================================
   v27 — Category cards CTA + overlay softening
   - Lighten and unify overlay/blur on category cards
   - Make Shop now / تسوقي الآن use the site's sage-green icon tone
   ========================================================= */
body[data-page="home"] .xenah-category-slide::before {
  background:
    linear-gradient(180deg, rgba(95, 104, 78, 0.10) 0%, rgba(95, 104, 78, 0.16) 58%, rgba(95, 104, 78, 0.24) 100%),
    linear-gradient(90deg, rgba(95, 104, 78, 0.16) 0%, rgba(95, 104, 78, 0.08) 42%, rgba(95, 104, 78, 0.03) 100%) !important;
  opacity: 0.88 !important;
  backdrop-filter: blur(0.8px) saturate(101%) !important;
  -webkit-backdrop-filter: blur(0.8px) saturate(101%) !important;
}

html[dir="rtl"] body[data-page="home"] .xenah-category-slide::before,
body.is-rtl[data-page="home"] .xenah-category-slide::before {
  background:
    linear-gradient(180deg, rgba(95, 104, 78, 0.10) 0%, rgba(95, 104, 78, 0.16) 58%, rgba(95, 104, 78, 0.24) 100%),
    linear-gradient(270deg, rgba(95, 104, 78, 0.16) 0%, rgba(95, 104, 78, 0.08) 42%, rgba(95, 104, 78, 0.03) 100%) !important;
}

body[data-page="home"] .xenah-category-slide:hover::before,
body[data-page="home"] .xenah-category-slide:focus-visible::before {
  opacity: 0.80 !important;
}

body[data-page="home"] .xenah-category-slide span::before {
  border: 1px solid rgba(95, 104, 78, 0.34) !important;
  background: rgba(95, 104, 78, 0.92) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(95, 104, 78, 0.18) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body[data-page="home"] .xenah-category-slide:hover span::before,
body[data-page="home"] .xenah-category-slide:focus-visible span::before {
  background: rgba(95, 104, 78, 0.97) !important;
}

/* =========================================================
   v28 — Home vertical spacing polish
   - Reduces the desktop gap after Shop-by-Need and before Best Sellers
   - Keeps mobile comfortable
   - CSS-only, no shop/product logic changes
   ========================================================= */
@media (min-width: 768px) {
  body[data-page="home"] .xenah-categories {
    padding-bottom: clamp(28px, 3.2vw, 54px) !important;
  }

  body[data-page="home"] .xenah-categories + .xenah-section,
  body[data-page="home"] #bestsellers {
    padding-top: clamp(30px, 3.6vw, 60px) !important;
  }

  body[data-page="home"] .xenah-category-viewport {
    padding-bottom: 6px !important;
  }

  body[data-page="home"] .xenah-category-carousel-shell {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 767.98px) {
  body[data-page="home"] .xenah-categories {
    padding-bottom: 42px !important;
  }

  body[data-page="home"] .xenah-categories + .xenah-section,
  body[data-page="home"] #bestsellers {
    padding-top: 42px !important;
  }
}


/* =========================
   v29 - About section polish (AR + EN)
   Desktop and mobile visual/content balance only.
   ========================= */
body[data-page="home"] .xenah-story-about {
  padding-top: clamp(76px, 7vw, 116px);
}

body[data-page="home"] .xenah-story .xenah-about-panel {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  grid-template-columns: minmax(340px, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(34px, 4.8vw, 82px);
  min-height: clamp(370px, 31vw, 500px);
  align-items: center;
}

body.is-ltr[data-page="home"] .xenah-story .xenah-about-panel,
html[dir="ltr"] body[data-page="home"] .xenah-story .xenah-about-panel {
  grid-template-columns: minmax(340px, 0.96fr) minmax(0, 1.04fr);
}

body[data-page="home"] .xenah-story .xenah-about-copy {
  max-width: 590px;
}

body[data-page="home"] .xenah-story .xenah-about .xenah-section-head-compact {
  gap: 0;
}

body[data-page="home"] .xenah-story .xenah-about .xenah-section-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  color: rgba(95, 104, 78, 0.88);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="home"] .xenah-story .xenah-about .xenah-section-head-compact h2 {
  font-size: clamp(3rem, 4.9vw, 5.35rem);
  line-height: 0.94;
  letter-spacing: -0.048em;
}

body[data-page="home"] .xenah-story .xenah-about .xenah-section-head-compact p:last-child {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(47, 47, 43, 0.64);
  font-size: clamp(1rem, 1.08vw, 1.08rem);
  line-height: 1.95;
}

body[data-page="home"] .xenah-story .xenah-about-points {
  gap: 14px 24px;
  margin: 24px 0 0;
}

body[data-page="home"] .xenah-story .xenah-about-points span {
  font-size: 0.96rem;
}

body[data-page="home"] .xenah-story .xenah-about-points span::before {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 6px rgba(185, 149, 91, 0.10);
}

body[data-page="home"] .xenah-story .xenah-about-actions {
  margin-top: 28px;
  gap: 14px;
}

body[data-page="home"] .xenah-story .xenah-about-primary {
  min-height: 50px;
  padding: 0 30px;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(95, 104, 78, 0.14);
}

body[data-page="home"] .xenah-story .xenah-about-social-link {
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(95, 104, 78, 0.12);
}

body[data-page="home"] .xenah-story .xenah-about-visual {
  min-height: clamp(340px, 31vw, 470px);
}

body[data-page="home"] .xenah-story .xenah-about-visual::before {
  width: min(35vw, 500px);
  height: min(35vw, 500px);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 253, 248, 0.8) 0%, rgba(255, 253, 248, 0.8) 29%, rgba(126, 136, 104, 0.085) 30%, rgba(126, 136, 104, 0.065) 68%, rgba(255, 255, 255, 0) 70%);
}

body[data-page="home"] .xenah-story .xenah-about-logo-card {
  width: min(27vw, 372px);
  inset-inline-start: 11%;
}

html[dir="ltr"] body[data-page="home"] .xenah-story .xenah-about-logo-card,
body.is-ltr[data-page="home"] .xenah-story .xenah-about-logo-card {
  inset-inline-end: 11%;
}

body[data-page="home"] .xenah-story .xenah-about-logo-card img {
  max-width: min(100%, 312px);
}

body[data-page="home"] .xenah-story .xenah-about-logo-card span {
  margin-top: 16px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}

body[data-page="home"] .xenah-story .xenah-about-mini-card strong {
  font-size: clamp(1.18rem, 1.65vw, 1.68rem);
}

body[data-page="home"] .xenah-story .xenah-about-mini-card span {
  font-size: 0.92rem;
}

body[data-page="home"] .xenah-story .xenah-about-mini-card--one {
  inset-inline-end: 10%;
  top: 17%;
}

body[data-page="home"] .xenah-story .xenah-about-mini-card--two {
  inset-inline-start: 16%;
  bottom: 15%;
}

@media (max-width: 991px) {
  body[data-page="home"] .xenah-story-about {
    padding-top: 70px;
  }

  body[data-page="home"] .xenah-story .xenah-about-panel,
  body.is-ltr[data-page="home"] .xenah-story .xenah-about-panel,
  html[dir="ltr"] body[data-page="home"] .xenah-story .xenah-about-panel {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 100%;
  }

  body[data-page="home"] .xenah-story .xenah-about .xenah-section-kicker {
    justify-content: center;
    margin-bottom: 10px;
  }

  body[data-page="home"] .xenah-story .xenah-about .xenah-section-head-compact h2 {
    font-size: clamp(2.9rem, 10vw, 4.4rem);
  }

  body[data-page="home"] .xenah-story .xenah-about .xenah-section-head-compact p:last-child {
    max-width: min(100%, 620px);
    margin-inline: auto;
    line-height: 1.85;
  }

  body[data-page="home"] .xenah-story .xenah-about-points {
    gap: 12px 18px;
    margin-top: 22px;
  }

  body[data-page="home"] .xenah-story .xenah-about-actions {
    margin-top: 24px;
  }

  body[data-page="home"] .xenah-story .xenah-about-visual {
    min-height: 310px;
  }
}

@media (max-width: 767px) {
  body[data-page="home"] .xenah-story-about {
    padding-top: 62px;
  }

  body[data-page="home"] .xenah-story .xenah-about .xenah-section-kicker {
    font-size: 0.76rem;
    letter-spacing: 0.12em;
  }

  body[data-page="home"] .xenah-story .xenah-about .xenah-section-head-compact h2 {
    font-size: clamp(2.5rem, 13vw, 3.7rem);
  }

  body[data-page="home"] .xenah-story .xenah-about-points {
    display: grid;
    justify-items: center;
    gap: 12px;
  }

  body[data-page="home"] .xenah-story .xenah-about-points span {
    justify-content: center;
  }

  body[data-page="home"] .xenah-story .xenah-about-actions {
    flex-direction: column;
  }

  body[data-page="home"] .xenah-story .xenah-about-primary {
    width: min(100%, 280px);
  }
}

/* v39: polished shop empty state */
.xenah-shop-feedback {
  position: relative;
  overflow: hidden;
  gap: 14px;
  min-height: 340px;
  padding: 38px 24px;
  border-radius: 32px;
  border: 1px solid rgba(201, 178, 150, 0.18);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.96), rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(251, 246, 238, 0.92) 100%);
  box-shadow: 0 18px 42px rgba(104, 82, 59, 0.05);
}

.xenah-shop-feedback::before,
.xenah-shop-feedback::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.xenah-shop-feedback::before {
  width: 180px;
  height: 180px;
  inset-inline-end: -42px;
  top: -42px;
  background: radial-gradient(circle, rgba(126, 136, 104, 0.08) 0%, rgba(126, 136, 104, 0) 72%);
}

.xenah-shop-feedback::after {
  width: 220px;
  height: 220px;
  inset-inline-start: -88px;
  bottom: -110px;
  background: radial-gradient(circle, rgba(201, 178, 150, 0.11) 0%, rgba(201, 178, 150, 0) 72%);
}

.xenah-shop-feedback-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: 4px;
}

.xenah-shop-feedback-badge {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.98), rgba(255,255,255,0) 38%),
    linear-gradient(180deg, rgba(176, 149, 91, 0.16), rgba(126, 136, 104, 0.18));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 10px 24px rgba(104, 82, 59, 0.08);
}

.xenah-shop-feedback-badge::before,
.xenah-shop-feedback-badge::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.xenah-shop-feedback-badge::before {
  width: 28px;
  height: 20px;
  border: 2px solid rgba(94, 103, 75, 0.75);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  top: 56%;
}

.xenah-shop-feedback-badge::after {
  width: 14px;
  height: 10px;
  border: 2px solid rgba(94, 103, 75, 0.75);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  top: 36%;
}

.xenah-shop-feedback-glow {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 70%);
  filter: blur(8px);
}

.xenah-shop-feedback-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(201, 178, 150, 0.2);
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.xenah-shop-feedback-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage-dark);
  opacity: 0.75;
}

.xenah-shop-feedback-title {
  font-size: clamp(1.2rem, 1.4vw, 1.4rem);
}

.xenah-shop-feedback-text {
  max-width: 44ch;
  line-height: 1.9;
}

.xenah-shop-feedback-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 680px;
}

.xenah-shop-feedback-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(201, 178, 150, 0.2);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
}

.xenah-shop-feedback-hints {
  width: min(100%, 560px);
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(201, 178, 150, 0.16);
}

.xenah-shop-feedback-hints h4 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
}

.xenah-shop-feedback-hints ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.xenah-shop-feedback-hints li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.93rem;
}

.xenah-shop-feedback-hints li::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(126, 136, 104, 0.78);
}

.xenah-shop-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.xenah-shop-feedback-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(126, 136, 104, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--sage-dark);
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.xenah-shop-feedback-action.is-primary {
  background: linear-gradient(180deg, rgba(126, 136, 104, 0.98), rgba(106, 117, 86, 0.98));
  border-color: rgba(126, 136, 104, 0.22);
  color: #fff;
  box-shadow: 0 12px 24px rgba(106, 117, 86, 0.18);
}

.xenah-shop-feedback-action.is-primary:hover,
.xenah-shop-feedback-action.is-primary:focus-visible {
  background: linear-gradient(180deg, rgba(117, 128, 95, 0.98), rgba(96, 108, 76, 0.98));
}

.xenah-shop-feedback-textlink {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.xenah-shop-feedback-textlink:hover,
.xenah-shop-feedback-textlink:focus-visible {
  color: var(--text);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .xenah-shop-feedback {
    min-height: 0;
    padding: 28px 16px;
    border-radius: 24px;
  }

  .xenah-shop-feedback-visual {
    width: 74px;
    height: 74px;
  }

  .xenah-shop-feedback-badge {
    width: 64px;
    height: 64px;
  }

  .xenah-shop-feedback-hints {
    padding: 14px;
    border-radius: 18px;
  }

  .xenah-shop-feedback-actions {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .xenah-shop-feedback-action {
    width: 100%;
  }
}

/* =========================================================
   v40 — Frameless shop filter header + empty state
   Removes the big boxed containers while keeping premium spacing.
   ========================================================= */

/* Desktop filter bar: flat / frameless */
@media (min-width: 768px) {
  body[data-page="shop"] .xenah-desktop-shop-toolbar {
    margin: 0 0 18px;
    padding: 10px 0 16px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(201, 178, 150, 0.14) !important;
  }

  body[data-page="shop"] .xenah-desktop-shop-toolbar::before,
  body[data-page="shop"] .xenah-desktop-shop-toolbar::after {
    display: none !important;
  }

  body[data-page="shop"] .xenah-desktop-filter-toggle {
    min-height: 42px;
    min-width: 108px;
    padding: 0 22px;
    border: 0;
    background: var(--sage-dark);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(95, 104, 78, 0.13);
  }

  body[data-page="shop"] .xenah-desktop-shop-sort {
    min-height: 42px;
    border-color: rgba(201, 178, 150, 0.18);
    background: rgba(255, 255, 255, 0.62);
    box-shadow: none;
  }

  body[data-page="shop"] .xenah-desktop-shop-count {
    color: var(--sage-dark);
    font-weight: 900;
  }
}

/* Results/active filters row: keep chips only, no container feel */
body[data-page="shop"] .xenah-shop-results-bar {
  padding: 0 0 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-page="shop"] .xenah-shop-active-filters,
body[data-page="shop"] .xenah-active-filters,
body[data-page="shop"] [data-active-filters] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Empty state: frameless / airy */
.xenah-shop-feedback {
  min-height: 330px;
  padding: 48px 16px 54px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.xenah-shop-feedback::before,
.xenah-shop-feedback::after {
  opacity: 0.46;
  filter: blur(8px);
}

.xenah-shop-feedback::before {
  inset-inline-end: 18%;
  top: 22px;
  width: 150px;
  height: 150px;
}

.xenah-shop-feedback::after {
  inset-inline-start: 18%;
  bottom: 14px;
  width: 190px;
  height: 190px;
}

.xenah-shop-feedback-visual {
  margin-bottom: 2px;
}

.xenah-shop-feedback-kicker {
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: rgba(95, 104, 78, 0.86);
  box-shadow: none !important;
}

.xenah-shop-feedback-title {
  margin-top: 4px;
  font-size: clamp(1.34rem, 1.65vw, 1.65rem);
  letter-spacing: -0.02em;
}

.xenah-shop-feedback-text {
  margin-top: -2px;
  max-width: 48ch;
}

.xenah-shop-feedback-chips {
  margin-top: 2px;
}

.xenah-shop-feedback-chip {
  background: rgba(255,255,255,0.58);
  border-color: rgba(201, 178, 150, 0.16);
  box-shadow: none;
}

.xenah-shop-feedback-hints {
  width: auto;
  max-width: 680px;
  padding: 4px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.xenah-shop-feedback-hints h4 {
  margin-bottom: 12px;
}

.xenah-shop-feedback-hints ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}

.xenah-shop-feedback-hints li {
  color: rgba(47, 47, 43, 0.58);
  font-size: 0.94rem;
}

.xenah-shop-feedback-actions {
  margin-top: 4px;
}

.xenah-shop-feedback-action:not(.is-primary) {
  background: transparent;
  border-color: rgba(126, 136, 104, 0.2);
}

@media (max-width: 767px) {
  .xenah-shop-feedback {
    padding: 34px 10px 42px !important;
  }

  .xenah-shop-feedback-hints ul {
    display: grid;
    gap: 9px;
  }

  .xenah-shop-feedback-action {
    width: min(100%, 290px);
  }
}


.xenah-footer .xenah-logo-wrap img { opacity: 0.98; }


/* =========================================================
   v42 — Home bundle cards image width polish
   Scope: bundle offers only. Keeps product/shop cards untouched.
   ========================================================= */
body[data-page="home"] [data-home-bundle-section] .xenah-home-offer-products .xenah-product-media,
body[data-page="home"] [data-home-bundle-section] .xenah-home-offer-products .xenah-product-media-live {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 0.86;
  width: calc(100% + (var(--xenah-bundle-card-pad) * 2));
  margin: calc(var(--xenah-bundle-card-pad) * -1) calc(var(--xenah-bundle-card-pad) * -1) 14px;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
}

body[data-page="home"] [data-home-bundle-section] .xenah-home-offer-products .xenah-product-image-wrap,
body[data-page="home"] [data-home-bundle-section] .xenah-home-offer-products .xenah-product-card--transparent .xenah-product-image-wrap,
body[data-page="home"] [data-home-bundle-section] .xenah-home-offer-products .xenah-product-card--boxed .xenah-product-image-wrap {
  width: 100%;
  height: 100%;
  padding: 0 !important;
  display: block;
}

body[data-page="home"] [data-home-bundle-section] .xenah-home-offer-products .xenah-product-image,
body[data-page="home"] [data-home-bundle-section] .xenah-home-offer-products .xenah-product-card--transparent .xenah-product-image,
body[data-page="home"] [data-home-bundle-section] .xenah-home-offer-products .xenah-product-card--boxed .xenah-product-image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center top;
}

body[data-page="home"] [data-home-bundle-section] .xenah-home-offer-products .xenah-product-card {
  --xenah-bundle-card-pad: 16px;
  overflow: hidden;
}

body[data-page="home"] [data-home-bundle-section] .xenah-home-offer-products .xenah-product-badge-stack {
  position: absolute;
  top: var(--xenah-bundle-card-pad);
  inset-inline-start: var(--xenah-bundle-card-pad);
  z-index: 5;
  max-width: calc(100% - 72px);
  margin: 0;
}

@media (max-width: 767.98px) {
  body[data-page="home"] [data-home-bundle-section] .xenah-home-offer-products .xenah-product-card {
    --xenah-bundle-card-pad: 10px;
  }

  body[data-page="home"] [data-home-bundle-section] .xenah-home-offer-products .xenah-product-media,
  body[data-page="home"] [data-home-bundle-section] .xenah-home-offer-products .xenah-product-media-live {
    margin-bottom: 10px;
    border-radius: 16px;
  }

  body[data-page="home"] [data-home-bundle-section] .xenah-home-offer-products .xenah-product-badge-stack {
    max-width: calc(100% - 54px);
  }
}

/* =========================================================
   v43 — Shop bundle-offer image fit only
   Scope: shop bundle views. Keeps normal shop/special/bestseller cards untouched.
   ========================================================= */
body[data-page="shop"].is-shop-bundle-view .xenah-shop-grid .xenah-product-card {
  --xenah-shop-bundle-card-pad: 18px;
  overflow: hidden;
}

body[data-page="shop"].is-shop-bundle-view .xenah-shop-grid .xenah-product-media,
body[data-page="shop"].is-shop-bundle-view .xenah-shop-grid .xenah-product-media-live {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 0.86;
  width: calc(100% + (var(--xenah-shop-bundle-card-pad) * 2));
  margin: calc(var(--xenah-shop-bundle-card-pad) * -1) calc(var(--xenah-shop-bundle-card-pad) * -1) 18px;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
}

body[data-page="shop"].is-shop-bundle-view .xenah-shop-grid .xenah-product-image-wrap,
body[data-page="shop"].is-shop-bundle-view .xenah-shop-grid .xenah-product-card--transparent .xenah-product-image-wrap,
body[data-page="shop"].is-shop-bundle-view .xenah-shop-grid .xenah-product-card--boxed .xenah-product-image-wrap {
  width: 100%;
  height: 100%;
  padding: 0 !important;
  display: block;
}

body[data-page="shop"].is-shop-bundle-view .xenah-shop-grid .xenah-product-image,
body[data-page="shop"].is-shop-bundle-view .xenah-shop-grid .xenah-product-card--transparent .xenah-product-image,
body[data-page="shop"].is-shop-bundle-view .xenah-shop-grid .xenah-product-card--boxed .xenah-product-image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 992px) {
  body[data-page="shop"].is-shop-bundle-view .xenah-shop-grid .xenah-product-card {
    --xenah-shop-bundle-card-pad: 20px;
  }
}

@media (max-width: 767.98px) {
  body[data-page="shop"].is-shop-bundle-view .xenah-shop-grid .xenah-product-card {
    --xenah-shop-bundle-card-pad: 8px;
  }

  body[data-page="shop"].is-shop-bundle-view .xenah-shop-grid .xenah-product-media,
  body[data-page="shop"].is-shop-bundle-view .xenah-shop-grid .xenah-product-media-live {
    margin-bottom: 10px;
    border-radius: 16px;
  }
}

/* =========================================================
   v44 — Product detail bundle image fit only
   Scope: bundle product pages. Keeps normal product detail images untouched.
   ========================================================= */
body[data-page="product"].is-product-bundle-view .xenah-product-detail-media {
  min-height: auto;
  padding: 0;
  place-items: start center;
  align-self: start;
}

body[data-page="product"].is-product-bundle-view .xenah-product-detail-image {
  display: block;
  width: min(100%, 560px);
  max-width: none;
  max-height: none;
  aspect-ratio: 1 / 0.86;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 1200px) {
  body[data-page="product"].is-product-bundle-view .xenah-product-detail-image {
    width: min(100%, 620px);
  }
}

@media (max-width: 991px) {
  body[data-page="product"].is-product-bundle-view .xenah-product-detail-media {
    width: 100%;
  }

  body[data-page="product"].is-product-bundle-view .xenah-product-detail-image {
    width: min(100%, 520px);
  }
}

@media (max-width: 575px) {
  body[data-page="product"].is-product-bundle-view .xenah-product-detail-image {
    width: 100%;
    aspect-ratio: 1 / 0.86;
  }
}

/* =========================================================
   v45 — Product detail image preview / zoom
   Scope: product detail page only.
   ========================================================= */
body[data-page="product"] .xenah-product-detail-image-button {
  display: inline-grid;
  place-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: zoom-in;
}

body[data-page="product"] .xenah-product-detail-image-button:focus-visible {
  outline: 3px solid rgba(95, 104, 78, 0.28);
  outline-offset: 6px;
}

body[data-page="product"].is-product-bundle-view .xenah-product-detail-image-button {
  width: min(100%, 620px);
}

body[data-page="product"].is-product-bundle-view .xenah-product-detail-image-button .xenah-product-detail-image {
  width: 100%;
}

body.is-product-image-preview-open {
  overflow: hidden;
}

.xenah-product-image-preview {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(32, 36, 29, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.xenah-product-image-preview[hidden] {
  display: none;
}

.xenah-product-image-preview__image {
  display: block;
  max-width: min(94vw, 1180px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  background: #fffdf8;
}

.xenah-product-image-preview__close {
  position: fixed;
  top: clamp(14px, 3vw, 28px);
  inset-inline-end: clamp(14px, 3vw, 28px);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 253, 248, 0.56);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--sage-dark);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.xenah-product-image-preview__close:focus-visible {
  outline: 3px solid rgba(255, 253, 248, 0.45);
  outline-offset: 4px;
}

/* =========================================================
   v46 — Bundle related products image fit only
   Scope: related products on bundle product pages.
   ========================================================= */
body[data-page="product"].is-product-bundle-view .xenah-product-related-grid .xenah-product-card {
  --xenah-related-bundle-card-pad: 14px;
  overflow: hidden;
}

body[data-page="product"].is-product-bundle-view .xenah-product-related-grid .xenah-product-media,
body[data-page="product"].is-product-bundle-view .xenah-product-related-grid .xenah-product-media-live {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 0.86;
  width: calc(100% + (var(--xenah-related-bundle-card-pad) * 2));
  margin: calc(var(--xenah-related-bundle-card-pad) * -1) calc(var(--xenah-related-bundle-card-pad) * -1) 14px;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
}

body[data-page="product"].is-product-bundle-view .xenah-product-related-grid .xenah-product-image-wrap,
body[data-page="product"].is-product-bundle-view .xenah-product-related-grid .xenah-product-card--transparent .xenah-product-image-wrap,
body[data-page="product"].is-product-bundle-view .xenah-product-related-grid .xenah-product-card--boxed .xenah-product-image-wrap {
  width: 100%;
  height: 100%;
  padding: 0 !important;
  display: block;
}

body[data-page="product"].is-product-bundle-view .xenah-product-related-grid .xenah-product-image,
body[data-page="product"].is-product-bundle-view .xenah-product-related-grid .xenah-product-card--transparent .xenah-product-image,
body[data-page="product"].is-product-bundle-view .xenah-product-related-grid .xenah-product-card--boxed .xenah-product-image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 767.98px) {
  body[data-page="product"].is-product-bundle-view .xenah-product-related-grid .xenah-product-card {
    --xenah-related-bundle-card-pad: 8px;
  }

  body[data-page="product"].is-product-bundle-view .xenah-product-related-grid .xenah-product-media,
  body[data-page="product"].is-product-bundle-view .xenah-product-related-grid .xenah-product-media-live {
    margin-bottom: 10px;
    border-radius: 16px;
  }
}

/* Final white background override. Keep this after legacy theme blocks. */
:root {
  --page-bg: #FFFFFF;
  --page-bg-soft: #FFFFFF;
}

body,
.site-main,
main,
#bestsellers,
.xenah-shop-page,
.xenah-cart-page,
.xenah-product-page {
  background: #FFFFFF !important;
  background-image: none !important;
}

.xenah-main-header,
.xenah-site-header .xenah-main-header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom-color: rgba(126, 136, 104, 0.18) !important;
}

.xenah-notification {
  background: #FFFFFF !important;
  border-top-color: rgba(126, 136, 104, 0.12) !important;
  border-bottom-color: rgba(126, 136, 104, 0.12) !important;
}

body[data-page="home"] .xenah-section-soft,
body[data-page="home"] .xenah-home-dynamic-offers,
body[data-page="home"] .xenah-brands,
body[data-page="home"] .xenah-brands-premium,
body[data-page="home"] .xenah-categories,
body[data-page="home"] .xenah-reviews,
body[data-page="home"] .xenah-about {
  background: #FFFFFF !important;
  background-image: none !important;
}

.xenah-product-card,
.xenah-brand-logo-card,
.xenah-review-card,
body[data-page="home"] .xenah-story .xenah-review-card,
.xenah-cart-item,
.xenah-cart-summary,
.xenah-checkout-card,
.xenah-checkout-summary {
  background: #FFFFFF !important;
  background-image: none !important;
  border-color: rgba(95, 104, 78, 0.14) !important;
  box-shadow: 0 16px 36px rgba(95, 104, 78, 0.055) !important;
}

body[data-page="home"] .xenah-story,
body[data-page="home"] .xenah-story-reviews,
body[data-page="home"] .xenah-story-about,
body[data-page="home"] .xenah-story .xenah-reviews,
body[data-page="home"] .xenah-story .xenah-about,
body[data-page="home"] .xenah-story .xenah-about-panel {
  background: #FFFFFF !important;
  background-image: none !important;
}

body[data-page="home"] .xenah-story .xenah-about-visual::before,
body[data-page="home"] .xenah-story .xenah-about-visual::after,
body[data-page="home"] .xenah-story .xenah-about::before {
  opacity: 0.28 !important;
}

/* Keep product cards crisp white, but keep the About visual frameless. */
body[data-page="home"] .xenah-story .xenah-about-visual {
  min-height: clamp(360px, 34vw, 520px) !important;
}

body[data-page="home"] .xenah-story .xenah-about-logo-card {
  width: min(30vw, 390px) !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body[data-page="home"] .xenah-story .xenah-about-logo-card img {
  width: min(100%, 340px) !important;
  max-height: 170px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 24px 42px rgba(95, 104, 78, 0.16)) !important;
}

body[data-page="home"] .xenah-story .xenah-about-logo-card span {
  display: inline-flex !important;
  margin-top: 18px !important;
  padding: 0 !important;
  background: transparent !important;
  color: rgba(47, 47, 43, 0.42) !important;
  letter-spacing: 0.16em !important;
}

body[data-page="home"] .xenah-story .xenah-about-mini-card {
  display: none !important;
}

@media (max-width: 767px) {
  body[data-page="home"] .xenah-story .xenah-about-visual {
    min-height: 250px !important;
  }

  body[data-page="home"] .xenah-story .xenah-about-logo-card {
    width: min(70vw, 270px) !important;
  }
}

/* Remove the heavy decorative rings from About after switching to mint background. */
body[data-page="home"] .xenah-story .xenah-about-visual::before,
body[data-page="home"] .xenah-story .xenah-about-visual::after {
  content: none !important;
  display: none !important;
}

body[data-page="home"] .xenah-story .xenah-about-logo-card {
  opacity: 0.96 !important;
}

/* Subtle mint cosmetic accents on white background. */
body[data-page="home"] .xenah-brands,
body[data-page="home"] .xenah-home-dynamic-offers,
body[data-page="home"] #bestsellers,
body[data-page="home"] .xenah-story {
  position: relative;
}

body[data-page="home"] .xenah-brands::after,
body[data-page="home"] [data-home-bundle-section]::before,
body[data-page="home"] [data-home-special-section]::after,
body[data-page="home"] #bestsellers::before,
body[data-page="home"] .xenah-story::after {
  content: "" !important;
  position: absolute;
  z-index: 0;
  pointer-events: none;
  display: block !important;
  width: clamp(34px, 4vw, 62px);
  height: clamp(34px, 4vw, 62px);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.34;
  filter: drop-shadow(0 14px 26px rgba(140, 188, 157, 0.13));
}

body[data-page="home"] .xenah-brands::after {
  inset-inline-end: max(24px, 7vw);
  top: clamp(28px, 4vw, 54px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'%3E%3Cpath d='M49 12C30 13 17 25 16 42c15 1 31-9 33-30Z' stroke='%239BCBAB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M18 42c8-10 17-16 28-22' stroke='%239BCBAB' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  transform: rotate(-8deg);
}

body[data-page="home"] [data-home-bundle-section]::before {
  inset-inline-start: max(22px, 6vw);
  top: 18%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'%3E%3Cpath d='M25 7h14v9c0 2 3 4 3 8v26c0 5-4 9-9 9h-2c-5 0-9-4-9-9V24c0-4 3-6 3-8V7Z' stroke='%239BCBAB' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M25 18h14M22 34h20M22 48h20' stroke='%239BCBAB' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  transform: rotate(7deg);
}

body[data-page="home"] [data-home-special-section]::after {
  inset-inline-end: max(22px, 6vw);
  bottom: 12%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'%3E%3Cpath d='M32 6c-9 12-15 21-15 32a15 15 0 0 0 30 0c0-11-6-20-15-32Z' stroke='%239BCBAB' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M25 39c1 5 4 8 9 9' stroke='%239BCBAB' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  transform: rotate(-10deg);
}

body[data-page="home"] #bestsellers::before {
  inset-inline-start: max(20px, 5vw);
  top: 14%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'%3E%3Cpath d='M32 8l5 17 17 5-17 5-5 17-5-17-17-5 17-5 5-17Z' stroke='%239BCBAB' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M50 8l2 7 7 2-7 2-2 7-2-7-7-2 7-2 2-7Z' stroke='%239BCBAB' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E");
}

body[data-page="home"] .xenah-story::after {
  inset-inline-end: max(24px, 8vw);
  top: 18%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'%3E%3Cpath d='M39 12c8 3 13 11 13 20 0 12-9 22-21 22S9 44 9 32c0-9 5-17 13-20' stroke='%239BCBAB' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M23 12c4-4 14-4 18 0M24 24h16M22 34h20' stroke='%239BCBAB' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  opacity: 0.22;
}

body[data-page="home"] .xenah-section > .xenah-container,
body[data-page="home"] .xenah-story-inner {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  body[data-page="home"] .xenah-brands::after,
  body[data-page="home"] [data-home-bundle-section]::before,
  body[data-page="home"] [data-home-special-section]::after,
  body[data-page="home"] #bestsellers::before,
  body[data-page="home"] .xenah-story::after {
    width: 32px;
    height: 32px;
    opacity: 0.2;
  }

  body[data-page="home"] [data-home-bundle-section]::before,
  body[data-page="home"] #bestsellers::before {
    display: none !important;
  }
}

/* Cart premium layout pass - visual only. */
.xenah-cart-page {
  padding-top: clamp(34px, 4vw, 54px) !important;
}

.xenah-cart-page .xenah-cart-header {
  margin-bottom: clamp(24px, 3vw, 36px) !important;
}

.xenah-cart-page .xenah-cart-header h1 {
  font-size: clamp(2.2rem, 3.3vw, 3.05rem) !important;
}

.xenah-cart-page .xenah-cart-content {
  max-width: 1200px !important;
  align-items: start !important;
  gap: clamp(28px, 3.6vw, 44px) !important;
}

.xenah-cart-page .xenah-cart-items {
  padding: clamp(14px, 2vw, 22px) clamp(18px, 2.6vw, 30px) !important;
  border: 1px solid rgba(95, 104, 78, 0.09) !important;
  border-radius: 30px !important;
  background: #FFFFFF !important;
  box-shadow: 0 22px 54px rgba(95, 104, 78, 0.06) !important;
}

.xenah-cart-page .xenah-cart-item {
  min-height: 118px !important;
  padding: 18px 0 !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(95, 104, 78, 0.1) !important;
  box-shadow: none !important;
}

.xenah-cart-page .xenah-cart-item:last-child {
  border-bottom: 0 !important;
}

.xenah-cart-page .xenah-cart-item-product {
  gap: 18px !important;
}

.xenah-cart-page .xenah-cart-item-media {
  width: 96px !important;
  flex-basis: 96px !important;
  aspect-ratio: 0.82 / 1 !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(247, 252, 248, 0.98), rgba(255, 255, 255, 0.98)) !important;
  box-shadow: inset 0 0 0 1px rgba(95, 104, 78, 0.06) !important;
}

.xenah-cart-page .xenah-cart-item-image {
  padding: 8px !important;
}

.xenah-cart-page .xenah-cart-item-brand {
  margin-bottom: 5px !important;
  color: rgba(95, 104, 78, 0.75) !important;
}

.xenah-cart-page .xenah-cart-item-name {
  max-width: 280px !important;
  margin-bottom: 8px !important;
}

.xenah-cart-page .xenah-cart-item-price {
  color: rgba(43, 43, 39, 0.58) !important;
}

.xenah-cart-page .xenah-cart-item-controls {
  background: #FFFFFF !important;
  border-color: rgba(95, 104, 78, 0.14) !important;
  box-shadow: 0 10px 24px rgba(95, 104, 78, 0.055) !important;
}

.xenah-cart-page .xenah-cart-qty-btn {
  background: #F6FAF7 !important;
}

.xenah-cart-page .xenah-cart-remove {
  border: 1px solid rgba(95, 104, 78, 0.1) !important;
  background: #FFFFFF !important;
  box-shadow: 0 8px 22px rgba(95, 104, 78, 0.045) !important;
}

.xenah-cart-page .xenah-cart-summary {
  padding: 26px !important;
  border: 1px solid rgba(95, 104, 78, 0.1) !important;
  border-radius: 30px !important;
  background: #FFFFFF !important;
  box-shadow: 0 24px 58px rgba(95, 104, 78, 0.07) !important;
}

html[dir="rtl"] .xenah-cart-page .xenah-cart-summary {
  padding: 26px !important;
  border: 1px solid rgba(95, 104, 78, 0.1) !important;
}

.xenah-cart-page .xenah-cart-summary h2 {
  margin-bottom: 22px !important;
  text-align: center !important;
}

.xenah-cart-page .xenah-cart-checkout {
  min-height: 50px !important;
  border-radius: 999px !important;
}

.xenah-cart-page .xenah-cart-continue {
  border-radius: 999px !important;
}

@media (min-width: 992px) {
  html[dir="rtl"] .xenah-cart-page .xenah-cart-content {
    grid-template-columns: minmax(0, 1fr) minmax(286px, 324px) !important;
  }

  html[dir="rtl"] .xenah-cart-page .xenah-cart-items {
    grid-column: 1 !important;
  }

  html[dir="rtl"] .xenah-cart-page .xenah-cart-summary {
    grid-column: 2 !important;
  }
}

@media (max-width: 767px) {
  .xenah-cart-page {
    padding-top: 28px !important;
  }

  .xenah-cart-page .xenah-cart-content {
    gap: 22px !important;
  }

  .xenah-cart-page .xenah-cart-items {
    padding: 12px 16px !important;
    border-radius: 24px !important;
  }

  .xenah-cart-page .xenah-cart-item {
    padding: 16px 0 !important;
  }

  .xenah-cart-page .xenah-cart-item-media {
    width: 86px !important;
    flex-basis: 86px !important;
  }

  .xenah-cart-page .xenah-cart-item-name {
    max-width: none !important;
  }

  .xenah-cart-page .xenah-cart-summary {
    padding: 22px !important;
    border-radius: 24px !important;
  }
}

/* Arabic desktop cart: keep the approved layout, but make product names readable. */
@media (min-width: 768px) {
  html[dir="rtl"] .xenah-cart-page .xenah-cart-item {
    grid-template-columns: minmax(360px, 1fr) minmax(120px, auto) minmax(130px, auto) minmax(76px, auto) !important;
    grid-template-areas: "product controls subtotal remove" !important;
  }

  html[dir="rtl"] .xenah-cart-page .xenah-cart-item-product {
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
    text-align: right !important;
  }

  html[dir="rtl"] .xenah-cart-page .xenah-cart-item-info {
    min-width: 0 !important;
    max-width: 320px !important;
    text-align: right !important;
  }

  html[dir="rtl"] .xenah-cart-page .xenah-cart-item-brand,
  html[dir="rtl"] .xenah-cart-page .xenah-cart-item-name,
  html[dir="rtl"] .xenah-cart-page .xenah-cart-item-price {
    text-align: right !important;
  }

  html[dir="rtl"] .xenah-cart-page .xenah-cart-item-name {
    max-width: 320px !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-wrap: pretty;
  }

  html[dir="rtl"] .xenah-cart-page .xenah-cart-item-subtotal {
    justify-self: end !important;
    text-align: end !important;
  }

  html[dir="rtl"] .xenah-cart-page .xenah-cart-remove {
    justify-self: center !important;
  }
}

/* Checkout premium layout pass - visual only. */
body[data-page="checkout"] .xenah-checkout-page {
  padding-top: clamp(34px, 4vw, 54px) !important;
  padding-bottom: 80px !important;
  background: #FFFFFF !important;
  background-image: none !important;
}

body[data-page="checkout"] .xenah-checkout-header {
  margin-bottom: clamp(24px, 3vw, 36px) !important;
}

body[data-page="checkout"] .xenah-checkout-header h1 {
  margin-bottom: 8px !important;
  font-size: clamp(2.25rem, 3.3vw, 3.15rem) !important;
  line-height: 1.08 !important;
}

body[data-page="checkout"] .xenah-checkout-header p:last-child {
  color: rgba(43, 43, 39, 0.52) !important;
}

body[data-page="checkout"] .xenah-checkout-content {
  max-width: 1180px !important;
  margin-inline: auto !important;
  gap: clamp(30px, 4vw, 48px) !important;
  align-items: start !important;
}

body[data-page="checkout"] .xenah-checkout-form {
  gap: 18px !important;
}

body[data-page="checkout"] .xenah-checkout-card,
body[data-page="checkout"] .xenah-checkout-summary,
body[data-page="checkout"] .xenah-checkout-empty-card {
  background: #FFFFFF !important;
  background-image: none !important;
  border: 1px solid rgba(95, 104, 78, 0.075) !important;
  border-radius: 30px !important;
  box-shadow: 0 24px 58px rgba(95, 104, 78, 0.045) !important;
}

body[data-page="checkout"] .xenah-checkout-card,
body[data-page="checkout"] .xenah-checkout-summary {
  padding: clamp(22px, 2.4vw, 30px) !important;
}

body[data-page="checkout"] .xenah-checkout-card h2,
body[data-page="checkout"] .xenah-checkout-summary h2 {
  margin-bottom: 22px !important;
  font-size: 1.18rem !important;
  font-weight: 900 !important;
}

body[data-page="checkout"] .xenah-checkout-card label {
  color: rgba(43, 43, 39, 0.78) !important;
  font-weight: 800 !important;
}

body[data-page="checkout"] .xenah-checkout-card input,
body[data-page="checkout"] .xenah-checkout-card select,
body[data-page="checkout"] .xenah-checkout-card textarea {
  min-height: 48px !important;
  border-color: rgba(95, 104, 78, 0.1) !important;
  border-radius: 16px !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
}

body[data-page="checkout"] .xenah-checkout-card textarea {
  min-height: 92px !important;
}

body[data-page="checkout"] .xenah-checkout-card input:focus,
body[data-page="checkout"] .xenah-checkout-card select:focus,
body[data-page="checkout"] .xenah-checkout-card textarea:focus {
  border-color: rgba(95, 104, 78, 0.38) !important;
  box-shadow: 0 0 0 4px rgba(155, 203, 171, 0.16) !important;
  outline: 0 !important;
}

body[data-page="checkout"] .xenah-payment-option {
  border-color: rgba(95, 104, 78, 0.1) !important;
  border-radius: 18px !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
}

/* Checkout true-white fix: target the real legacy field/payment selectors. */
body[data-page="checkout"] .xenah-checkout-field input,
body[data-page="checkout"] .xenah-checkout-field select,
body[data-page="checkout"] .xenah-checkout-field textarea,
body[data-page="checkout"] .checkout-form-clean input,
body[data-page="checkout"] .checkout-form-clean select,
body[data-page="checkout"] .checkout-form-clean textarea {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  background-image: none !important;
  border-color: rgba(95, 104, 78, 0.1) !important;
  box-shadow: none !important;
}

body[data-page="checkout"] .xenah-checkout-payment-option,
body[data-page="checkout"] .xenah-payment-option,
body[data-page="checkout"] .checkout-form-clean .xenah-checkout-payment-option {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  background-image: none !important;
  border-color: rgba(95, 104, 78, 0.1) !important;
  box-shadow: none !important;
}

body[data-page="checkout"] .xenah-checkout-card,
body[data-page="checkout"] .xenah-checkout-summary,
body[data-page="checkout"] .xenah-checkout-empty-card {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  background-image: none !important;
}

body[data-page="checkout"] .xenah-checkout-summary {
  top: 120px !important;
}

body[data-page="checkout"] .xenah-checkout-summary-items {
  gap: 0 !important;
  max-height: 420px !important;
  padding: 0 !important;
}

body[data-page="checkout"] .xenah-checkout-item {
  padding: 13px 0 !important;
  border-bottom: 1px solid rgba(95, 104, 78, 0.1) !important;
}

body[data-page="checkout"] .xenah-checkout-item:first-child {
  padding-top: 0 !important;
}

body[data-page="checkout"] .xenah-checkout-item:last-child {
  border-bottom: 0 !important;
}

body[data-page="checkout"] .xenah-checkout-summary-row {
  padding: 12px 0 !important;
  border-bottom-color: rgba(95, 104, 78, 0.1) !important;
}

body[data-page="checkout"] .xenah-checkout-summary-row span {
  color: rgba(43, 43, 39, 0.56) !important;
}

body[data-page="checkout"] .xenah-checkout-summary-row strong,
body[data-page="checkout"] .xenah-checkout-summary-total strong {
  color: var(--sage-dark) !important;
  font-weight: 900 !important;
}

body[data-page="checkout"] .xenah-submit-order,
body[data-page="checkout"] button[type="submit"] {
  min-height: 50px !important;
  border-radius: 999px !important;
  box-shadow: 0 18px 38px rgba(94, 104, 78, 0.15) !important;
}

body[data-page="checkout"] .xenah-checkout-back,
body[data-page="checkout"] .xenah-checkout-summary a,
body[data-page="checkout"] .xenah-page-home-link {
  border-radius: 999px !important;
}

@media (max-width: 991px) {
  body[data-page="checkout"] .xenah-checkout-content {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  body[data-page="checkout"] .xenah-checkout-summary {
    position: static !important;
  }
}

/* Cart mobile RTL: Arabic mirrors the approved English layout. */
@media (max-width: 767px) {
  html[dir="rtl"] .xenah-cart-page .xenah-cart-item-product,
  body.is-rtl .xenah-cart-page .xenah-cart-item-product {
    flex-direction: row !important;
    justify-content: flex-start !important;
    text-align: right !important;
  }

  html[dir="rtl"] .xenah-cart-page .xenah-cart-item-media,
  body.is-rtl .xenah-cart-page .xenah-cart-item-media {
    order: 0 !important;
  }

  html[dir="rtl"] .xenah-cart-page .xenah-cart-item-info,
  body.is-rtl .xenah-cart-page .xenah-cart-item-info {
    order: 1 !important;
    text-align: right !important;
  }

  html[dir="rtl"] .xenah-cart-page .xenah-cart-item-brand,
  html[dir="rtl"] .xenah-cart-page .xenah-cart-item-name,
  html[dir="rtl"] .xenah-cart-page .xenah-cart-item-price,
  body.is-rtl .xenah-cart-page .xenah-cart-item-brand,
  body.is-rtl .xenah-cart-page .xenah-cart-item-name,
  body.is-rtl .xenah-cart-page .xenah-cart-item-price {
    text-align: right !important;
  }
}

/* Final cart mobile mirror rule: English is approved, Arabic mirrors it. */
@media (max-width: 767px) {
  html[dir="rtl"] .xenah-cart-page .xenah-cart-item,
  body.is-rtl .xenah-cart-page .xenah-cart-item {
    grid-template-columns: minmax(0, 1fr) 94px !important;
    grid-template-areas:
      "product product"
      "controls subtotal"
      "remove ." !important;
  }

  html[dir="rtl"] .xenah-cart-page .xenah-cart-item-product,
  body.is-rtl .xenah-cart-page .xenah-cart-item-product {
    direction: rtl !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    text-align: right !important;
  }

  html[dir="rtl"] .xenah-cart-page .xenah-cart-item-media,
  body.is-rtl .xenah-cart-page .xenah-cart-item-media {
    order: 0 !important;
    flex: 0 0 86px !important;
  }

  html[dir="rtl"] .xenah-cart-page .xenah-cart-item-info,
  body.is-rtl .xenah-cart-page .xenah-cart-item-info {
    order: 1 !important;
    min-width: 0 !important;
    text-align: right !important;
  }

  html[dir="rtl"] .xenah-cart-page .xenah-cart-item-controls,
  body.is-rtl .xenah-cart-page .xenah-cart-item-controls {
    grid-area: controls !important;
    justify-self: start !important;
  }

  html[dir="rtl"] .xenah-cart-page .xenah-cart-item-subtotal,
  body.is-rtl .xenah-cart-page .xenah-cart-item-subtotal {
    grid-area: subtotal !important;
    justify-self: end !important;
    text-align: end !important;
  }

  html[dir="rtl"] .xenah-cart-page .xenah-cart-remove,
  body.is-rtl .xenah-cart-page .xenah-cart-remove {
    grid-area: remove !important;
    justify-self: start !important;
    width: auto !important;
  }
}

@media (max-width: 767px) {
  body[data-page="checkout"] .xenah-checkout-page {
    padding-top: 28px !important;
  }

  body[data-page="checkout"] .xenah-checkout-card,
  body[data-page="checkout"] .xenah-checkout-summary {
    padding: 20px !important;
    border-radius: 24px !important;
  }

  body[data-page="checkout"] .xenah-checkout-header {
    margin-bottom: 22px !important;
  }
}

/* The mint background no longer needs the oversized story rings. */
body[data-page="home"] .xenah-story::before,
body[data-page="home"] .xenah-story::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 767px) {
  body[data-page="home"] .xenah-story-about {
    padding-top: 38px !important;
  }

  body[data-page="home"] .xenah-story .xenah-about-panel,
  body.is-ltr[data-page="home"] .xenah-story .xenah-about-panel,
  html[dir="ltr"] body[data-page="home"] .xenah-story .xenah-about-panel {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    text-align: center !important;
  }

  body[data-page="home"] .xenah-story .xenah-about-visual {
    order: -1 !important;
    min-height: 160px !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .xenah-story .xenah-about-logo-card,
  html[dir="rtl"] body[data-page="home"] .xenah-story .xenah-about-logo-card,
  body.is-rtl[data-page="home"] .xenah-story .xenah-about-logo-card,
  html[dir="ltr"] body[data-page="home"] .xenah-story .xenah-about-logo-card,
  body.is-ltr[data-page="home"] .xenah-story .xenah-about-logo-card {
    width: min(58vw, 210px) !important;
    inset-inline-start: 50% !important;
    inset-inline-end: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  body.is-rtl[data-page="home"] .xenah-story .xenah-about-logo-card,
  html[dir="rtl"] body[data-page="home"] .xenah-story .xenah-about-logo-card {
    transform: translate(50%, -50%) !important;
  }

  body[data-page="home"] .xenah-story .xenah-about-logo-card img {
    width: 100% !important;
    max-height: 96px !important;
  }

  body[data-page="home"] .xenah-story .xenah-about-logo-card span {
    margin-top: 10px !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.12em !important;
  }
}

/* =====================================================
XENAH CSS STABILIZATION MAP
Approved visual baseline: current design
Purpose: organize future changes without visual drift
===================================================== */

/* 00 Tokens - future cleanup only */
/* 01 Base / Global Surfaces - future cleanup only */
/* 02 Header Desktop - future cleanup only */
/* 03 Header Mobile - future cleanup only */
/* 04 Footer Desktop - future cleanup only */
/* 05 Footer Mobile - future cleanup only */

/* 06 Home Desktop - future cleanup only */
/* 07 Home Mobile - future cleanup only */

/* 08 Shop Desktop - future cleanup only */
/* 09 Shop Mobile - future cleanup only */

/* 10 Product Desktop - future cleanup only */
/* 11 Product Mobile - future cleanup only */

/* 12 Cart Desktop - future cleanup only */
/* 13 Cart Mobile - future cleanup only */

/* 14 Checkout Desktop - future cleanup only */
/* 15 Checkout Mobile - future cleanup only */

/* 16 RTL/LTR Helpers - future cleanup only */

/* =====================================================
FUTURE CHANGE RULES

1. Any page change must be scoped with body[data-page].
2. Any layout change must be inside desktop or mobile media query.
3. No global .xenah-product-card changes unless intended site-wide.
4. No !important unless overriding a known legacy rule.
5. No deleting legacy CSS before proving it is unused.
6. Arabic is visual base, English is mirror.
   ===================================================== */
