@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700&family=Gilda+Display&display=swap");

/* ==========================================================================
   Xena & Compagnie — design system
   Scoped homepage for the Kids Cloth Super Store child theme.
   ========================================================================== */

.xena-home {
  --x-bg: #fbf9f4;
  --x-cream: #fdf4eb;
  --x-sage: #739481;
  --x-sage-dark: #5b7a68;
  --x-sage-deep: #476254;
  --x-mint: #cfe7e4;
  --x-stone: #f1f4f2;
  --x-navy: #222131;
  --x-ink: #151313;
  --x-muted: #5f625f;
  --x-line: rgba(21, 19, 19, 0.14);
  --x-white: #ffffff;
  --x-display: "Gilda Display", Georgia, "Times New Roman", serif;
  --x-body: "Cairo", "Helvetica Neue", Arial, sans-serif;
  --x-radius: 16px;
  --x-radius-sm: 10px;
  --x-container: 1520px;
  --x-gutter: 48px;
  --x-shadow: 0 18px 40px rgba(34, 33, 49, 0.08);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

.xena-home *,
.xena-home *::before,
.xena-home *::after {
  box-sizing: border-box;
}

.xena-home {
  overflow-x: clip;
  background: var(--x-bg);
  color: var(--x-ink);
  font-family: var(--x-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.xena-home h1,
.xena-home h2,
.xena-home h3,
.xena-home h4,
.xena-home h5,
.xena-home h6,
.xena-home .h1,
.xena-home .h2,
.xena-home .h3 {
  color: var(--x-ink);
  font-family: var(--x-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.08;
}

.xena-home p {
  margin-bottom: 1rem;
}

.xena-home a {
  color: inherit;
  text-decoration: none;
}

.xena-home a:hover,
.xena-home a:focus {
  color: inherit;
  text-decoration: none;
}

.xena-home img {
  height: auto;
  max-width: 100%;
}

.xena-home button,
.xena-home input,
.xena-home select,
.xena-home textarea {
  font-family: inherit;
}

.xena-home ::selection {
  background: var(--x-sage);
  color: var(--x-white);
}

.xena-home :focus-visible {
  outline: 2px solid var(--x-sage-deep);
  outline-offset: 3px;
}

.xena-home {
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--x-white);
}

.xena-container {
  width: 100%;
  max-width: var(--x-container);
  margin: 0 auto;
  padding-right: var(--x-gutter);
  padding-left: var(--x-gutter);
}

.xena-icon {
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: middle;
}

.xena-skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 3000;
  padding: 12px 18px;
  border-radius: 0 0 8px 8px;
  background: var(--x-ink);
  color: var(--x-white);
  font-size: 14px;
  transition: top 0.2s ease;
}

.xena-skip-link:focus {
  top: 0;
  color: var(--x-white);
}

.xena-home .sr-only {
  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 !important;
  border: 0 !important;
}

/* --------------------------------------------------------------------------
   Buttons, labels, section headings
   -------------------------------------------------------------------------- */

.xena-eyebrow {
  margin: 0 0 18px;
  color: var(--x-ink);
  font-family: var(--x-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.xena-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.xena-actions--center {
  justify-content: center;
}

.xena-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--x-ink);
  font-family: var(--x-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease;
}

.xena-button:hover {
  transform: translateY(-1px);
}

.xena-button--sage {
  background: var(--x-sage);
  color: var(--x-white);
}

.xena-button--sage:hover,
.xena-button--sage:focus {
  background: var(--x-sage-dark);
  color: var(--x-white);
}

.xena-button--outline {
  border-color: rgba(21, 19, 19, 0.2);
  background: transparent;
  color: var(--x-ink);
}

.xena-button--outline:hover,
.xena-button--outline:focus {
  border-color: var(--x-sage);
  background: var(--x-sage);
  color: var(--x-white);
}

.xena-button--ghost-light {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
  color: var(--x-white);
}

.xena-button--ghost-light:hover,
.xena-button--ghost-light:focus {
  border-color: var(--x-white);
  background: var(--x-white);
  color: var(--x-ink);
}

.xena-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: none;
  color: var(--x-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.xena-text-link svg {
  transition: transform 0.2s ease;
}

.xena-text-link:hover svg {
  transform: translateX(3px);
}

.xena-section {
  padding: 104px 0;
  background: var(--x-white);
}

.xena-section--mint {
  background: var(--x-mint);
}

.xena-section--stone {
  background: var(--x-stone);
}

.xena-section--cream {
  background: var(--x-cream);
}

.xena-section-head {
  max-width: 850px;
}

.xena-section-head--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.xena-section-head h2 {
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
}

.xena-section-head .xena-lede {
  margin: 24px auto 0;
}

.xena-lede {
  max-width: 780px;
  margin: 0;
  color: var(--x-ink);
  font-size: 18px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.xena-hero {
  position: relative;
  display: flex;
  min-height: clamp(700px, 87vh, 840px);
  overflow: hidden;
  align-items: stretch;
  background: #31372c;
  color: var(--x-white);
}

.xena-hero__bg {
  position: absolute;
  inset: 0;
  background-position: center 42%;
  background-size: cover;
  transform: scale(1.01);
}

.xena-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(25, 31, 25, 0.9) 0%, rgba(25, 31, 25, 0.58) 42%, rgba(25, 31, 25, 0.04) 78%),
    linear-gradient(0deg, rgba(22, 27, 22, 0.72) 0%, rgba(22, 27, 22, 0) 54%);
}

.xena-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  padding-top: 96px;
  padding-bottom: 70px;
}

.xena-hero__content {
  display: flex;
  width: 100%;
  min-height: 580px;
  flex-direction: column;
  justify-content: space-between;
}

.xena-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--x-white);
  font-size: clamp(3rem, 4.8vw, 4.6rem);
  line-height: 1.05;
  text-wrap: balance;
}

.xena-hero__bottom {
  width: 100%;
  max-width: 570px;
  align-self: flex-end;
  margin-top: 64px;
}

.xena-hero__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.65;
}

.xena-hero .xena-actions {
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   Three pillars / service tabs
   -------------------------------------------------------------------------- */

.xena-service-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 38px;
  margin-top: 54px;
}

.xena-service-tabs__tab {
  position: relative;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--x-ink);
  font-family: var(--x-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.xena-service-tabs__tab:not(.is-active) {
  opacity: 0.82;
}

.xena-service-tabs__tab.is-active {
  border-bottom-color: var(--x-ink);
}

.xena-service-panels {
  margin-top: 56px;
}

.xena-service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 96px;
}

.xena-service-panel[hidden] {
  display: none;
}

.xena-service-panel__copy {
  max-width: 610px;
}

.xena-service-panel__copy h3 {
  margin: 0 0 26px;
  font-size: clamp(2.1rem, 3.1vw, 2.9rem);
  line-height: 1.12;
}

.xena-service-panel__copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}

.xena-service-panel__media {
  overflow: hidden;
  margin: 0;
  border-radius: var(--x-radius);
  background: rgba(255, 255, 255, 0.3);
  aspect-ratio: 662 / 675;
}

.xena-service-panel__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Founders split
   -------------------------------------------------------------------------- */

.xena-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 96px;
}

.xena-split__media {
  overflow: hidden;
  margin: 0;
  border-radius: var(--x-radius);
  aspect-ratio: 667 / 680;
}

.xena-split__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xena-split__copy {
  max-width: 670px;
}

.xena-split__copy h2 {
  margin: 0 0 26px;
  font-size: clamp(2.5rem, 4vw, 3.7rem);
}

.xena-split__copy > p:not(.xena-eyebrow) {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}

.xena-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 620px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.xena-values li {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--x-sage);
}

.xena-values svg {
  width: 52px;
  height: 52px;
}

.xena-values span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Product selection
   -------------------------------------------------------------------------- */

.xena-selection-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.xena-selection-head > div {
  max-width: 870px;
}

.xena-selection-head h2 {
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
}

.xena-selection-head .xena-lede {
  margin-top: 22px;
}

.xena-selection-head__cta {
  flex: 0 0 auto;
  margin-bottom: 4px;
}

.xena-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 46px;
}

.xena-filter__button {
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--x-white);
  color: var(--x-ink);
  font-family: var(--x-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.xena-filter__button:hover {
  background: var(--x-cream);
}

.xena-filter__button.is-active {
  background: var(--x-ink);
  color: var(--x-white);
}

.xena-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.xena-product {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 10px;
  border: 1px solid rgba(21, 19, 19, 0.06);
  border-radius: 14px;
  background: var(--x-white);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.xena-product:hover {
  box-shadow: 0 14px 30px rgba(34, 33, 49, 0.07);
  transform: translateY(-2px);
}

.xena-product[hidden] {
  display: none;
}

.xena-product__media {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border-radius: var(--x-radius-sm);
  background: #ebebeb;
  aspect-ratio: 1 / 1.24;
}

.xena-product__media a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.xena-product__media img {
  display: block;
  max-width: 100%;
  max-height: 210px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.xena-product:hover .xena-product__media img {
  transform: scale(1.035);
}

.xena-product__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--x-white);
  color: var(--x-ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.xena-product__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 16px 10px 10px;
}

.xena-product__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.xena-product__row h3 {
  margin: 0;
  font-family: var(--x-body);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

.xena-product__row h3 a:hover {
  color: var(--x-sage-deep);
}

.xena-product__price {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.xena-product__meta {
  display: -webkit-box;
  overflow: hidden;
  margin: 5px 0 0;
  color: var(--x-muted);
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.xena-product__add {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 10px 14px;
  border: 1px solid rgba(21, 19, 19, 0.18);
  border-radius: 8px;
  color: var(--x-ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.xena-product__add:hover,
.xena-product__add:focus {
  border-color: var(--x-sage);
  background: var(--x-sage);
  color: var(--x-white);
}

.xena-product-grid__empty {
  margin: 32px 0 0;
  color: var(--x-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Community / wide image
   -------------------------------------------------------------------------- */

.xena-community-head {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.xena-community-head h2 {
  margin: 0;
  font-size: clamp(2.7rem, 4.2vw, 4rem);
}

.xena-community-head p {
  margin: 18px 0 0;
  font-size: 18px;
}

.xena-wide-image {
  overflow: hidden;
  margin: 52px 0 0;
  border-radius: var(--x-radius);
  aspect-ratio: 1424 / 760;
}

.xena-wide-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Testimonial
   -------------------------------------------------------------------------- */

.xena-testimonial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 96px;
}

.xena-testimonial__media {
  overflow: hidden;
  margin: 0;
  border-radius: var(--x-radius);
  aspect-ratio: 667 / 680;
}

.xena-testimonial__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xena-testimonial__quote {
  max-width: 660px;
  margin: 0;
  padding: 0;
  border: 0;
}

.xena-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 28px;
  color: var(--x-ink);
}

.xena-testimonial__quote > p {
  margin: 0;
  font-family: var(--x-display);
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1.24;
}

.xena-testimonial__quote footer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  font-size: 16px;
  line-height: 1.45;
}

.xena-testimonial__quote cite {
  font-style: normal;
  font-weight: 500;
}

.xena-testimonial__quote footer span {
  padding-left: 24px;
  border-left: 1px solid var(--x-line);
  color: var(--x-ink);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.xena-faq {
  max-width: 860px;
  margin: 58px auto 0;
}

.xena-faq__item {
  border-top: 1px solid var(--x-line);
}

.xena-faq__item:last-child {
  border-bottom: 1px solid var(--x-line);
}

.xena-faq__item h3 {
  margin: 0;
  font-family: var(--x-body);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
}

.xena-faq__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 0;
  border: 0;
  background: transparent;
  color: var(--x-ink);
  font-family: var(--x-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.xena-faq__icon {
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.xena-faq__trigger[aria-expanded="true"] .xena-faq__icon {
  transform: rotate(180deg);
}

.xena-faq__panel {
  padding: 0 48px 30px 0;
}

.xena-faq__panel[hidden] {
  display: none;
}

.xena-faq__panel p {
  max-width: 790px;
  margin: 0;
  color: var(--x-ink);
  font-size: 16px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Contact CTA
   -------------------------------------------------------------------------- */

.xena-contact {
  padding-top: 96px;
  padding-bottom: 96px;
}

.xena-contact__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.xena-contact h2 {
  margin: 0;
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
}

.xena-contact p {
  margin: 18px 0 0;
  font-size: 18px;
}

.xena-contact .xena-button {
  margin-top: 30px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1280px) {
  .xena-home {
    --x-gutter: 40px;
  }

  .xena-header__bar {
    gap: 24px;
  }

  .xena-nav__list {
    gap: 26px;
  }

  .xena-service-panel,
  .xena-split,
  .xena-testimonial {
    gap: 64px;
  }

  .xena-footer__top {
    gap: 60px;
  }
}

@media (max-width: 1100px) {
  .xena-header__bar {
    min-height: 80px;
    justify-content: space-between;
  }

  .xena-brand {
    flex-basis: 76px;
    width: 76px;
  }

  .xena-brand img {
    width: 76px;
  }

  .xena-nav-toggle {
    display: flex;
  }

  .xena-cart__label {
    display: none;
  }

  .xena-cart {
    padding: 8px 11px;
  }

  .xena-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1095;
    width: min(390px, 92vw);
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    padding: 96px 30px 36px;
    background: var(--x-cream);
    box-shadow: -20px 0 50px rgba(21, 19, 19, 0.18);
    transform: translateX(102%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .xena-nav.is-open {
    transform: translateX(0);
  }

  .xena-nav__list {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .xena-nav__item {
    border-bottom: 1px solid rgba(21, 19, 19, 0.12);
  }

  .xena-nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 21px;
  }

  .xena-nav__link::after {
    display: none;
  }

  .xena-nav__sub {
    position: static;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.25s ease;
  }

  .xena-nav__item--has-sub:hover .xena-nav__sub,
  .xena-nav__item--has-sub:focus-within .xena-nav__sub {
    max-height: 0;
  }

  .xena-nav__item--has-sub.is-open .xena-nav__sub {
    max-height: 320px;
    padding-bottom: 12px;
  }

  .xena-nav__sub a {
    padding: 10px 0;
    font-size: 16px;
  }

  .xena-nav__sub a:hover {
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .xena-nav__mobile-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 36px;
  }

  .xena-nav__mobile-link {
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .xena-hero__content {
    min-height: 540px;
  }

  .xena-service-panel,
  .xena-split,
  .xena-testimonial {
    gap: 52px;
  }

  .xena-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .xena-section {
    padding: 82px 0;
  }

  .xena-hero {
    min-height: 720px;
  }

  .xena-hero__inner {
    padding-top: 74px;
    padding-bottom: 54px;
  }

  .xena-hero__content {
    min-height: 590px;
  }

  .xena-hero h1 {
    max-width: 620px;
    font-size: clamp(2.7rem, 7vw, 4rem);
  }

  .xena-service-panel,
  .xena-split,
  .xena-testimonial {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .xena-service-panel__media {
    order: 2;
    aspect-ratio: 16 / 10;
  }

  .xena-service-panel__copy {
    order: 1;
  }

  .xena-service-panel__copy,
  .xena-split__copy,
  .xena-testimonial__quote {
    max-width: 100%;
  }

  .xena-split__media {
    order: 2;
    aspect-ratio: 16 / 11;
  }

  .xena-split__copy {
    order: 1;
  }

  .xena-testimonial__media {
    order: 2;
    aspect-ratio: 16 / 11;
  }

  .xena-testimonial__quote {
    order: 1;
  }

  .xena-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xena-selection-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .xena-selection-head__cta {
    margin-bottom: 0;
  }

  .xena-footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
  }

  .xena-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .xena-footer__copyright {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .xena-home {
    --x-gutter: 22px;
  }

  .xena-header__bar {
    min-height: 72px;
    gap: 12px;
  }

  .xena-brand {
    flex-basis: 68px;
    width: 68px;
  }

  .xena-brand img {
    width: 68px;
  }

  .xena-cart__count {
    display: none;
  }

  .xena-cart {
    background: transparent;
    color: var(--x-ink);
    padding: 8px;
  }

  .xena-cart:hover,
  .xena-cart:focus {
    background: var(--x-stone);
    color: var(--x-ink);
  }

  .xena-cart__icon {
    width: 22px;
    height: 22px;
  }

  .xena-nav {
    padding-top: 88px;
  }

  .xena-hero {
    min-height: 760px;
  }

  .xena-hero__bg {
    background-position: 58% 30%;
  }

  .xena-hero__shade {
    background:
      linear-gradient(90deg, rgba(25, 31, 25, 0.82) 0%, rgba(25, 31, 25, 0.4) 70%, rgba(25, 31, 25, 0.15) 100%),
      linear-gradient(0deg, rgba(22, 27, 22, 0.82) 0%, rgba(22, 27, 22, 0) 70%);
  }

  .xena-hero__inner {
    padding-top: 58px;
    padding-bottom: 44px;
  }

  .xena-hero__content {
    min-height: 650px;
  }

  .xena-hero h1 {
    font-size: clamp(2.6rem, 10.5vw, 3.3rem);
    line-height: 1.08;
  }

  .xena-hero__bottom {
    margin-top: 48px;
  }

  .xena-hero__bottom p {
    font-size: 16px;
  }

  .xena-hero .xena-actions {
    gap: 12px;
    margin-top: 24px;
  }

  .xena-hero .xena-button {
    min-height: 46px;
    padding: 10px 18px;
    font-size: 15px;
  }

  .xena-section {
    padding: 68px 0;
  }

  .xena-section-head h2,
  .xena-selection-head h2,
  .xena-split__copy h2 {
    font-size: clamp(2.15rem, 9.5vw, 2.8rem);
  }

  .xena-lede,
  .xena-split__copy > p:not(.xena-eyebrow),
  .xena-service-panel__copy p,
  .xena-community-head p {
    font-size: 16px;
  }

  .xena-service-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 28px;
    margin-top: 38px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .xena-service-tabs::-webkit-scrollbar {
    display: none;
  }

  .xena-service-tabs__tab {
    flex: 0 0 auto;
  }

  .xena-service-panels {
    margin-top: 36px;
  }

  .xena-service-panel__media {
    aspect-ratio: 1 / 1;
  }

  .xena-service-panel__copy h3 {
    font-size: 2rem;
  }

  .xena-values {
    gap: 6px;
    margin-top: 30px;
  }

  .xena-values svg {
    width: 44px;
    height: 44px;
  }

  .xena-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-top: 34px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .xena-filter::-webkit-scrollbar {
    display: none;
  }

  .xena-filter__button {
    flex: 0 0 auto;
    padding: 10px 18px;
    font-size: 15px;
  }

  .xena-product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 28px;
  }

  .xena-product__media {
    aspect-ratio: 1 / 1.02;
  }

  .xena-product__media img {
    max-height: 250px;
  }

  .xena-wide-image {
    margin-top: 36px;
    aspect-ratio: 1 / 1;
  }

  .xena-wide-image img {
    object-position: 52% center;
  }

  .xena-testimonial__quote > p {
    font-size: 2rem;
  }

  .xena-testimonial__quote footer {
    gap: 16px;
    font-size: 15px;
  }

  .xena-testimonial__quote footer span {
    padding-left: 16px;
  }

  .xena-faq {
    margin-top: 38px;
  }

  .xena-faq__trigger {
    padding: 24px 0;
    font-size: 16px;
  }

  .xena-faq__panel {
    padding: 0 0 24px;
  }

  .xena-faq__panel p {
    font-size: 15px;
  }

  .xena-contact {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .xena-footer {
    padding: 60px 0 28px;
  }

  .xena-footer__logo {
    width: 110px;
    margin-bottom: 26px;
  }

  .xena-footer__logo img {
    width: 110px;
  }

  .xena-footer__nav {
    gap: 18px 24px;
  }

  .xena-newsletter-form {
    flex-direction: column;
  }

  .xena-newsletter-form__submit {
    width: 100%;
  }

  .xena-footer__bottom {
    margin-top: 38px;
  }

  .xena-footer__legal {
    gap: 18px;
  }
}

@media (max-width: 390px) {
  .xena-hero h1 {
    font-size: 2.45rem;
  }

  .xena-actions {
    gap: 14px;
  }

  .xena-button {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xena-home *,
  .xena-home *::before,
  .xena-home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Parent-theme integration (homepage only)
   -------------------------------------------------------------------------- */
body#index .breadcrumb {
  display: none !important;
}

body#index #main > .container,
body#index #content,
body#index .page-content {
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}