/* assets/css/app.css - Updated */
@import url("variables.css");

/* --- Reset & Base --- */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-base);
  line-height: var(--line-height-base);
  background-color: var(--color-bg-default);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

html {
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) var(--color-bg-default);
}

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  margin: 0 0 var(--space-4);
  font-weight: var(--weight-regular);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.icon {
  fill: currentColor;
}

.header-actions__search i {
  font-size: var(--font-md);
}

.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  flex-shrink: 0;
  line-height: 0;
}

.header-icon svg {
  display: block;
  width: auto;
  height: 1.3125rem;
}

.header-icon--cart svg {
  height: 1.625rem;
}

.header-actions__cart .header-icon--cart svg {
  height: var(--font-md);
}

.mobile-only {
  display: none;
}

.social-link i {
  font-size: var(--font-xl);
}

.top-bar__container,
.site-header__container {
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.top-bar__container {
  background-color: transparent;
}

.top-bar__text {
  font-size: 9px;
  color: inherit;
}

.site-header.is-sticky .top-bar__container {
  background-color: transparent;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* --- Top Bar --- */
.top-bar {
  width: 100%;
  color: inherit;
  background-color: transparent;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
  position: relative;
  z-index: 10;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  padding: 0.875rem 0;
  color: var(--color-text-white);
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    padding var(--transition-base);
}

.site-header.is-sticky,
.site-header.search-active {
  background-color: var(--color-bg-default);
  color: var(--color-text-black);
  mix-blend-mode: normal;
  padding: 0.875rem 0 var(--space-6); /* Match original padding to prevent "pushing up" jump */
  border-bottom-color: var(--color-border);
}

.site-header.menu-active {
  background-color: var(--color-bg-default);
  color: var(--color-text-black);
  mix-blend-mode: normal;
  border-bottom-color: transparent;
  box-shadow: none;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    padding var(--transition-base);
}

.site-header.menu-active .site-branding img {
  filter: none;
}

.site-header.menu-active .top-bar {
  color: var(--color-text-black);
}

.site-header.menu-active .menu-toggle,
.site-header.menu-active .search-toggle,
.site-header.menu-active .header-actions__item a,
.site-header.menu-active .header-actions__item button {
  color: var(--color-text-black);
}

.site-header.menu-active .header-actions__item i,
.site-header.menu-active .header-icon {
  color: var(--color-text-black);
}

.site-header.is-sticky .site-branding img,
.site-header.search-active .site-branding img {
  filter: invert(1) brightness(0);
}

/* Header Theme Overrides: Dark on light backgrounds (Single Product) */
.single-product
  .site-header:not(.is-sticky):not(.search-active):not(.menu-active) {
  color: var(--color-text-black);
}

.single-product
  .site-header:not(.is-sticky):not(.search-active):not(.menu-active)
  .site-branding
  img {
  filter: none;
}

/* Desktop single product: invert logo only over the gallery — drawer-nav-bar stays normal. */
@media (min-width: 1025px) {
  .single-product
    .site-header:not(.is-sticky):not(.search-active):not(.menu-active)
    .site-branding
    img {
    filter: brightness(1) invert(0);
  }

  .single-product .drawer-nav-bar {
    mix-blend-mode: normal;
  }
}

.site-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.site-branding {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.site-branding img {
  max-width: 160px;
  filter: brightness(0) invert(1);
  transition: filter var(--transition-base);
}

.site-branding img:hover {
  opacity: 0.7;
}

/* Nav Styles */
.main-navigation {
  display: flex;
  align-items: center;
}

.desktop-nav-wrapper ul {
  display: flex;
  gap: 15px;
}

.desktop-nav-wrapper ul li a {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: inherit;
  /* Only opacity: color comes from .site-header (no second color transition on inherit = same speed as top bar / logo) */
  transition: opacity var(--transition-base);
}

.desktop-nav-wrapper ul li a:hover,
.desktop-nav-wrapper ul li a:focus-visible {
  opacity: 0.7;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  padding: var(--space-2);
  transition: opacity var(--transition-base);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-actions__item a,
.header-actions__item button {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: inherit;
  /* Only opacity: sticky text/icon color tracks .site-header; links avoid global `a` color transition. */
  transition: opacity var(--transition-base);
}

.header-actions__item button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.header-actions__item a:hover,
.header-actions__item button:hover {
  opacity: 0.7;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 90svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--color-text-white);
  text-align: left;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero__bg-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__bg-image,
.hero__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero__video,
.hero__bg-desktop-image,
.hero__bg-mobile-image {
  position: absolute;
  inset: 0;
}

.hero__bg-desktop-image,
.hero__bg-mobile-image,
.hero__video {
  display: none;
}

@media (min-width: 769px) {
  .hero--desktop-image .hero__bg-desktop-image {
    display: block;
  }

  .hero--desktop-video.hero--has-video .hero__video {
    display: block;
  }
}

@media (max-width: 768px) {
  .hero--mobile-image .hero__bg-mobile-image {
    display: block;
  }

  .hero--mobile-video.hero--has-video .hero__video {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--has-video .hero__video {
    display: none !important;
  }
}

@media (min-width: 769px) and (prefers-reduced-motion: reduce) {
  .hero--desktop-image .hero__bg-desktop-image,
  .hero--desktop-video .hero__bg-desktop-image {
    display: block;
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .hero--mobile-image .hero__bg-mobile-image,
  .hero--mobile-video .hero__bg-mobile-image {
    display: block;
  }
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(17, 17, 17, 0.92) 0%,
    rgba(17, 17, 17, 0.92) 10%,
    rgba(17, 17, 17, 0.45) 70%,
    transparent 100%
  );
  z-index: 1;
}

.hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-18) var(--space-4) var(--space-4);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
  max-width: 50%;
}

.hero__title {
  font-family: var(--font-body);
  font-size: clamp(var(--font-xl), 4.5vw, var(--font-3xl));
  margin: 0;
  font-weight: var(--weight-regular);
  color: #edefea;
  max-width: 600px;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(var(--font-xs), 1.6vw, var(--font-md));
  margin: 0;
  line-height: var(--line-height-base);
  font-weight: var(--weight-regular);
  color: #edefea;
  max-width: 36rem;
}

.hero__icons {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  max-width: 5.5rem;
}

.hero__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--font-xl);
  height: var(--font-xl);
  color: #edefea;
}

.hero__icon i {
  font-size: var(--font-xl);
  line-height: 1;
}

.hero__icon-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: var(--weight-regular);
  line-height: var(--line-height-tight);
  text-align: center;
  color: #edefea;
}

.hero__actions {
  margin-top: var(--space-2);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--space-12);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  background-color: var(--color-text-white);
  color: var(--color-text-black);
  font-family: var(--font-body);
  font-size: var(--font-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  line-height: var(--line-height-tight);
  text-transform: uppercase;
  transition: opacity var(--transition-fast);
}

.hero__cta:hover,
.hero__cta:focus-visible {
  opacity: 0.85;
  color: var(--color-text-black);
}

@media (max-width: 768px) {
  .hero {
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 100svh;
  }

  .hero__container {
    padding: calc(var(--header-height) + var(--top-bar-height) + var(--space-6))
      var(--space-4) var(--space-8);
  }

  .hero__content {
    max-width: 100%;
    gap: var(--space-5);
  }

  .hero__bg-image,
  .hero__video {
    object-position: center bottom;
  }

  .hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(17, 17, 17, 0.92) 0%,
      rgba(17, 17, 17, 0.92) 15%,
      rgba(17, 17, 17, 0.45) 65%,
      transparent 100%
    );
  }

  .hero__actions {
    display: none;
  }

  .hero__icons {
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    gap: var(--space-6);
    flex-direction: column;
    margin-top: var(--space-6);
  }

  .hero__icon-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    align-items: flex-start;
    flex-direction: row;
  }

  .hero__icon {
    width: var(--font-xl);
    height: var(--font-xl);
  }

  .hero__icon i {
    font-size: var(--font-lg);
  }

  .hero__icon-label {
    font-size: var(--font-sm);
    text-align: left;
  }
}

/* --- Features Bar (below hero) --- */
.features-bar {
  background-color: #1b1a21;
  color: var(--color-text-white);
  padding: var(--space-6) var(--space-4);
}

.features-bar__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.features-bar__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-8) var(--space-12);
  margin: 0;
  padding: 0;
  list-style: none;
}

.features-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.features-bar__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--space-12);
  height: var(--space-12);
}

.features-bar__icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.features-bar__label {
  font-family: var(--font-body);
  font-size: var(--font-sm);
  font-weight: var(--weight-medium);
  letter-spacing: 0.12em;
  line-height: var(--line-height-tight);
  text-transform: uppercase;
  white-space: pre-line;
  max-width: 6.5rem;
}

@media (max-width: 768px) {
  .features-bar {
    padding: var(--space-5) var(--space-4);
  }

  .features-bar__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5) var(--space-4);
    justify-items: center;
  }

  .features-bar__item {
    justify-content: flex-start;
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .features-bar__list {
    gap: var(--space-6) var(--space-4);
  }

  .features-bar__item {
    gap: var(--space-3);
  }

  .features-bar__icon {
    width: var(--space-12);
    height: var(--space-12);
  }

  .features-bar__label {
    max-width: var(--space-12);
  }
}

/* --- Mobile Nav fade-in --- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-sticky);
  visibility: hidden;
  transition: var(--transition-base);
}

.mobile-nav.is-active {
  visibility: visible;
}

.mobile-nav__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-overlay-dark);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-nav.is-active .mobile-nav__overlay {
  opacity: 1;
}

.mobile-nav__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-default);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  flex-direction: column;
  padding: var(--space-8) var(--space-4) var(--space-4);
  color: var(--color-text-black);
}

.mobile-nav.is-active .mobile-nav__content {
  opacity: 1;
}

.mobile-nav__body {
  flex: 1;
  overflow-y: auto;
}

.mobile-navigation ul li {
  margin-bottom: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-navigation ul li a {
  font-size: var(--font-sm);
  font-weight: var(--weight-regular);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mobile-nav__secondary {
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border-dark);
}

.mobile-secondary-menu li {
  margin-bottom: var(--space-4);
}

.mobile-secondary-menu li a {
  font-size: var(--font-sm);
  font-weight: var(--weight-regular);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mobile-nav__footer {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-dark);
}

.mobile-socials {
  display: flex;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-socials__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--space-10);
  min-height: var(--space-10);
  color: var(--color-text-black);
  transition: opacity var(--transition-fast);
}

.mobile-socials__link:hover,
.mobile-socials__link:focus-visible {
  opacity: 0.7;
}

.mobile-socials__link i {
  color: inherit;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
    transition: opacity var(--transition-base);
  }

  .menu-toggle__text--close {
    display: none;
  }

  .menu-toggle.is-open .menu-toggle__text--close {
    display: block;
  }

  .menu-toggle.is-open .menu-toggle__text--open {
    display: none;
  }

  .desktop-nav-wrapper,
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: inline-flex;
  }

  .site-header {
    top: 0;
    padding: var(--space-2) 0;
  }

  .site-branding img {
    max-width: 120px;
    filter: none;
    transition:
      filter var(--transition-base),
      max-width var(--transition-base);
  }

  .site-header.is-sticky .site-branding img,
  .site-header.search-active .site-branding img {
    max-width: 96px;
  }

  .is-home
    .site-header:not(.is-sticky):not(.search-active):not(.menu-active)
    .site-branding
    img,
  .is-shop-hero
    .site-header:not(.is-sticky):not(.search-active):not(.menu-active)
    .site-branding
    img {
    filter: brightness(0) invert(1);
  }

  .top-bar__text {
    color: var(--color-text-black);
  }

  .is-home
    .site-header:not(.is-sticky):not(.search-active):not(.menu-active)
    .top-bar__text,
  .is-shop-hero
    .site-header:not(.is-sticky):not(.search-active):not(.menu-active)
    .top-bar__text {
    color: var(--color-text-white);
  }

  .top-bar {
    font-size: 9px;
    max-height: calc(var(--top-bar-height) + var(--space-5));
    overflow: hidden;
    transition:
      max-height var(--transition-base),
      margin-bottom var(--transition-base),
      opacity var(--transition-base);
  }

  .site-header.is-sticky,
  .site-header.search-active {
    padding: var(--space-2) 0 var(--space-2);
  }

  .site-header.is-sticky .top-bar,
  .site-header.search-active .top-bar {
    max-height: 0;
    margin-bottom: 0;
    opacity: 0;
    pointer-events: none;
  }
}

/* --- Site Footer --- */
.site-footer {
  color: var(--color-text-black);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.site-footer,
.site-footer .footer-bottom__bar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* Footer Main */
.footer-main {
  padding: 0;
  border-bottom: 1px solid var(--color-border);
}

.footer-main__inner {
  display: flex;
  gap: var(--space-12);
}

.footer-main__links {
  padding: var(--space-12) 0;
  flex: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  border-right: 1px solid var(--color-border);
}

.footer-links-col ul li {
  margin-bottom: var(--space-4);
}

.footer-links-col ul li a {
  text-transform: uppercase;
  font-weight: 500;
}

.footer-links-col ul li a:hover {
  opacity: 0.7;
}

/* Footer column toggles: hidden on desktop, full menus visible */
.footer-links-col__toggle {
  display: none;
}

.footer-links-col__title {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.footer-links-col__icon {
  display: block;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.25s ease;
}

.footer-links-col__panel {
  display: block;
}

.footer-links-col__panel-inner {
  padding: 0;
}

.footer-main__newsletter {
  padding: var(--space-12) 0;
  flex: 1;
  text-align: center;
}

.newsletter-title {
  font-family: var(--font-primary);
  font-size: 24px;
  margin-bottom: var(--space-4);
  font-style: italic;
}

.newsletter-title span {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: var(--space-1);
}

.newsletter-desc {
  font-size: 11px;
  line-height: 1.5;
  margin-bottom: var(--space-8);
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  border-bottom: 1px solid var(--color-border-dark);
  max-width: 300px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: var(--space-3) 0;
  font-size: 11px;
  outline: none;
}

.newsletter-form button {
  background: #e1e0d7;
  border: none;
  padding: var(--space-2) var(--space-4);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-base);
}

.newsletter-form button:hover {
  background: var(--color-border-dark);
}

.newsletter-form--coming-soon {
  align-items: center;
  justify-content: center;
  padding: var(--space-3) 0;
  cursor: not-allowed;
}

.newsletter-form__status {
  font-family: var(--font-body);
  font-size: var(--font-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Footer Bottom */
.footer-bottom {
  padding: var(--space-4) 0 var(--space-4);
}

.footer-bottom__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom__bar--no-payment {
  justify-content: center;
}

.footer-bottom__payment {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-bottom__payment-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: auto;
  line-height: 0;
}

.footer-bottom__payment-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.footer-bottom__copyright {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

@keyframes wcb-site-credit-pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.footer-bottom__site-credit {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-bottom__site-credit-link {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex-direction: row;
  text-decoration: none;
  transition: opacity var(--transition-fast);
  background-color: var(--color-text-black);
  padding: var(--space-1) var(--space-2);
  font-family: var(--font-body);
  font-size: var(--font-xs);
  font-weight: var(--weight-regular);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-white);
}

.footer-bottom__site-credit-link:hover {
  opacity: 0.9;
}

.footer-bottom__site-credit-label {
  color: var(--color-text-white);
}

.footer-bottom__site-credit-pulse {
  flex-shrink: 0;
  width: 0.4em;
  height: 0.4em;
  border-radius: var(--radius-full);
  background-color: var(--color-text-white);
  animation: wcb-site-credit-pulse 1.5s ease-in-out infinite;
}

.footer-bottom__site-credit-mark {
  display: block;
  width: var(--space-5);
  height: auto;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
  filter: brightness(0) invert(1);
}

.footer-bottom__site-credit-link:hover .footer-bottom__site-credit-mark {
  opacity: 1;
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-main__inner {
    padding: 0 !important;
  }

  .footer-main__inner {
    flex-direction: column;
  }

  .footer-main__links {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-12);
  }

  .footer-main__newsletter {
    padding: var(--space-12) 0 !important;
  }

  .footer-bottom__bar {
    flex-direction: column;
    gap: var(--space-6);
  }

  .footer-bottom {
    padding: var(--space-4) 0 !important;
  }
}

@media (max-width: 768px) {
  .footer-main {
    border-bottom: none;
  }

  /* Footer menus: accordion row layout */
  .footer-main__links {
    display: block;
    width: 100%;
    padding: 0;
  }

  .footer-links-col:last-child {
    border-bottom: none;
  }

  .footer-links-col__toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin: 0;
    padding: var(--space-4) 0;
    text-align: left;
    color: var(--color-text-black);
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.04em;
    line-height: 1.2;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .footer-links-col__toggle:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }

  .footer-links-col__toggle .footer-links-col__title {
    flex: 1;
  }

  .footer-links-col__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
  }

  .footer-links-col.is-open .footer-links-col__panel {
    grid-template-rows: 1fr;
  }

  .footer-links-col__panel-inner {
    min-height: 0;
    overflow: hidden;
  }

  .footer-links-col.is-open .footer-links-col__panel-inner {
    padding-bottom: var(--space-2);
  }

  .footer-links-col__menu {
    padding-bottom: var(--space-2);
  }

  .footer-links-col.is-open .footer-links-col__icon {
    transform: rotate(45deg);
  }

  .footer-main__inner {
    gap: 0;
  }

  .footer-main__newsletter {
    width: 100%;
    max-width: 100%;
    padding: var(--space-10) var(--space-4) var(--space-12);
  }

  .newsletter-title {
    font-size: 26px;
    line-height: 1.2;
  }

  .newsletter-title span {
    margin-left: var(--space-2);
  }

  .newsletter-desc {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin-bottom: var(--space-8);
  }

  .footer-main__newsletter .wpcf7,
  .footer-main__newsletter .wpcf7-form {
    max-width: 100%;
  }

  .newsletter-form {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }

  .newsletter-form input {
    flex: 1;
    min-width: 0;
  }

  .newsletter-form button {
    flex-shrink: 0;
  }
}

.search-drawer .site-branding img {
  filter: none;
}

/* --- Search Drawer --- */
.search-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 90vh;
  z-index: 5;
  background-color: var(--color-bg-default);
  color: var(--color-text-black);
  visibility: hidden;
  opacity: 0;
  transition:
    opacity var(--transition-base),
    visibility var(--transition-base),
    transform var(--transition-base);
  transform: translateY(-10px);
  overflow-y: auto;
  border-top: 1px solid var(--color-border);
}

.search-drawer.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.search-drawer__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 4;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity var(--transition-base),
    visibility var(--transition-base);
  pointer-events: none;
}

.site-header.search-active + .search-drawer__overlay {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* --- Cart Drawer --- */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 28.125rem;
  height: 100%;
  z-index: var(--z-modal);
  background-color: var(--color-text-white);
  color: var(--color-text-black);
  visibility: hidden;
  transform: translateX(100%);
  transition:
    transform var(--transition-slow),
    visibility var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.cart-drawer.is-active {
  visibility: visible;
  transform: translateX(0);
}

.cart-drawer--sheet {
  top: auto;
  right: auto;
  left: auto;
  width: 100%;
  max-width: none;
  height: auto;
  transform: none;
  overflow: hidden;
  max-height: 0;
  background-color: #edefea;
  opacity: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition:
    max-height var(--transition-slow),
    opacity var(--transition-base),
    visibility var(--transition-slow);
}

.cart-drawer--sheet.is-active {
  transform: none;
  opacity: 1;
  max-height: var(
    --drawer-sheet-max-height-dynamic,
    var(--drawer-sheet-max-height)
  );
}

.has-drawer-nav .cart-drawer--sheet {
  position: absolute;
  top: calc(100% + var(--space-3));
  right: 0;
  left: 0;
  z-index: 1;
  box-sizing: border-box;
}

.has-drawer-nav .cart-drawer--sheet .cart-drawer__header {
  display: none;
}

.has-drawer-nav .cart-drawer--sheet .cart-drawer__content {
  max-height: inherit;
  padding: var(--space-6) var(--space-4);
}

.has-drawer-nav .cart-drawer__overlay {
  display: none;
}

.cart-drawer__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-overlay-dark);
  z-index: var(--z-overlay);
  visibility: hidden;
  opacity: 0;
  transition:
    opacity var(--transition-slow),
    visibility var(--transition-slow);
  pointer-events: none;
}

.cart-drawer__overlay.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-2) var(--space-4) var(--space-4);
  border-bottom: 1px solid var(--color-border-soft);
}

.cart-drawer .cart-drawer__title {
  font-size: var(--font-base) !important;
  font-weight: var(--weight-bold) !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-family: var(--font-secondary) !important;
  margin: 0 !important;
}

.cart-drawer__close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--font-xl);
  padding: 0;
  color: var(--color-text-black);
}

.cart-drawer__content {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-6) var(--space-4) 0;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.cart-drawer__content.is-scrolling {
  scrollbar-color: var(--color-text-muted) var(--color-bg-default);
}

.cart-drawer__content::-webkit-scrollbar {
  width: var(--space-2);
}

.cart-drawer__content.is-scrolling::-webkit-scrollbar {
  width: var(--space-2);
}

.cart-drawer__content::-webkit-scrollbar-track {
  background-color: transparent;
}

.cart-drawer__content::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: var(--radius-full);
}

.cart-drawer__content.is-scrolling::-webkit-scrollbar-track {
  background-color: var(--color-bg-default);
}

.cart-drawer__content.is-scrolling::-webkit-scrollbar-thumb {
  background-color: var(--color-text-muted);
}

.cart-drawer__content.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

/* Mini Cart Item Styling */
.woocommerce-mini-cart {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mini_cart_item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  position: relative;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

.mini_cart_item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mini-cart-item__image {
  width: 7.5rem;
  flex-shrink: 0;
}

.mini-cart-item__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1/1.3;
}

.mini-cart-item__details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mini-cart-item__name {
  font-size: var(--font-sm);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  margin-bottom: var(--space-1);
  letter-spacing: 0.05em;
  display: block;
  line-height: var(--line-height-tight);
}

.mini-cart-item__details .variation {
  margin: 0 0 var(--space-2);
  padding: 0;
  list-style: none;
  font-size: var(--font-xs);
  color: var(--color-text-muted);
}

.mini-cart-item__details .variation dt,
.mini-cart-item__details .variation dd {
  display: inline;
  margin: 0;
}

.mini-cart-item__details .variation dt {
  font-weight: var(--weight-medium);
}

.mini-cart-item__details .variation dd {
  margin-right: var(--space-2);
}

.mini-cart-item__price {
  font-size: var(--font-sm);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-6);
}

.mini-cart-item__actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-cart-item__quantity .quantity {
  display: flex;
  align-items: center;
  padding: var(--space-1);
  margin-bottom: 0;
}

.mini-cart-item__quantity .qty-btn {
  width: var(--space-8);
  height: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--font-md);
  color: var(--color-text-black);
}

.mini-cart-item__quantity input.qty {
  width: var(--space-10);
  border: none;
  background: none;
  text-align: center;
  font-size: var(--font-sm);
  padding: 0;
}

.mini-cart-item__remove {
  font-size: var(--font-xs);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-text-black);
  border-bottom: 1px solid var(--color-text-black);
  letter-spacing: 0.05em;
}

/* Footer & Buttons */
.cart-drawer__content .woocommerce-mini-cart__footer {
  position: sticky;
  bottom: 0;
  z-index: var(--z-raised);
  margin-top: var(--space-4);
}

.woocommerce-mini-cart__footer {
  border-top: 1px solid var(--color-border-faint);
  padding: var(--space-6) 0 var(--space-4);
}

.cart-drawer__content
  .woocommerce-mini-cart__footer.woocommerce-mini-cart__footer--stuck {
  box-shadow: 0 calc(-1 * var(--space-3)) var(--space-6)
    calc(-1 * var(--space-5)) rgba(31, 23, 32, 0.1);
}

.woocommerce-mini-cart__free-shipping {
  margin-bottom: var(--space-8);
}

.woocommerce-mini-cart__free-shipping-message {
  margin: 0 0 var(--space-3);
  text-align: center;
  font-size: var(--font-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-text-black);
}

.woocommerce-mini-cart__free-shipping-track {
  display: block;
  width: 100%;
  height: var(--space-1);
  border: none;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-muted);
  overflow: hidden;
}

.woocommerce-mini-cart__free-shipping-track::-webkit-progress-bar {
  background-color: var(--color-bg-muted);
}

.woocommerce-mini-cart__free-shipping-track::-webkit-progress-value {
  background-color: var(--color-text-black);
}

.woocommerce-mini-cart__free-shipping-track::-moz-progress-bar {
  background-color: var(--color-text-black);
}

.woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
  text-transform: uppercase;
  font-weight: var(--weight-bold);
  font-size: var(--font-sm);
}

.woocommerce-mini-cart__buttons {
  margin: 0;
}

.woocommerce-mini-cart__shipping-note {
  margin: var(--space-2) 0 0;
  text-align: center;
  font-family:
    ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas,
    "Courier New", monospace;
  font-size: var(--font-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-black);
}

.woocommerce-mini-cart__buttons .button,
.cart-drawer .woocommerce-mini-cart__buttons a.button,
.cart-drawer .woocommerce-mini-cart__buttons a.button.checkout,
.cart-drawer .woocommerce-mini-cart__buttons a.wc-forward {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  text-align: center;
  padding: var(--space-3);
  background: var(--color-text-black);
  color: var(--color-text-white);
  -webkit-text-fill-color: var(--color-text-white);
  text-transform: uppercase;
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-decoration: none;
  border: none;
  border: 1px solid var(--color-text-black);
  font-size: var(--font-xs);
}

.woocommerce-mini-cart__checkout-icon {
  display: block;
  width: var(--space-4);
  height: var(--space-4);
  transition: filter var(--transition-fast);
}

.woocommerce-mini-cart__buttons .button:hover,
.cart-drawer .woocommerce-mini-cart__buttons a.button:hover {
  background: transparent;
  color: var(--color-text-black);
  -webkit-text-fill-color: var(--color-text-black);
  border: 1px solid var(--color-text-black);
}

.woocommerce-mini-cart__buttons
  .button:hover
  .woocommerce-mini-cart__checkout-icon {
  filter: invert(1);
}

.woocommerce-mini-cart__payment-options {
  margin-top: var(--space-4);
}

.woocommerce-mini-cart__payment-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-mini-cart__payment-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.woocommerce-mini-cart__payment-item img {
  display: block;
  width: auto;
  height: var(--space-6);
}

.woocommerce-mini-cart__empty-message {
  text-align: center;
  padding: var(--space-10) 0;
  font-size: var(--font-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-drawer__body {
  padding: var(--space-8) 0;
}

.search-drawer__container {
  padding: 0 var(--space-4);
  margin: 0 auto;
  width: 100%;
}

.search-drawer__form {
  margin-bottom: var(--space-8);
}

.search-drawer__input-wrapper {
  position: relative;
  border-bottom: 1px solid var(--color-border-dark);
}

.search-drawer__input {
  width: 100%;
  border: none;
  background: transparent;
  padding: var(--space-4) 40px var(--space-4) 0;
  font-size: var(--font-base);
  font-family: var(--font-secondary);
  outline: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-drawer__submit {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--font-lg);
  color: var(--color-text-black);
}

.search-drawer__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.search-drawer__empty {
  margin: 0;
  font-size: var(--font-sm);
  font-family: var(--font-body);
  line-height: var(--line-height-base);
  color: var(--color-text-muted);
}

.search-drawer__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  color: var(--color-text-black);
  text-transform: uppercase;
  font-family: var(--font-body);
}

.search-drawer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.search-drawer__tag {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-text-black);
  text-decoration: none;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast);
}

.search-drawer__tag:hover {
  border-bottom-color: var(--color-text-black);
}

/* Results Grid */
.search-drawer__results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4) var(--space-2);
}

.search-drawer__product {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.search-drawer__product-image {
  margin-bottom: var(--space-4);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
}

.search-drawer__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-drawer__product-image .placeholder-img {
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-light);
}

.search-drawer__img--primary {
  opacity: 1;
}

.search-drawer__img--secondary {
  opacity: 0;
}

.search-drawer__product:has(.search-drawer__img--secondary):hover
  .search-drawer__img--primary {
  opacity: 0;
}

.search-drawer__product:has(.search-drawer__img--secondary):hover
  .search-drawer__img--secondary {
  opacity: 1;
}

.search-drawer__product-info {
  text-align: left;
}

.search-drawer__product-name {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-black);
  margin-bottom: var(--space-2);
  line-height: 1.4;
}

.search-drawer__product-price {
  font-size: 13px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .search-drawer__results-grid {
    grid-template-columns: repeat(5, minmax(0, 250px));
    gap: var(--space-6) var(--space-4);
    justify-content: start;
  }
}

@media (min-width: 1024px) {
  .search-drawer__body {
    padding: var(--space-10) 0;
  }
}

/* --- Product Gallery Section --- */
.product-gallery {
  /* Horizontal padding so the first/last cards (and .product-gallery__info) align with the page gutter, not the viewport edge */
  padding: var(--space-12) var(--space-4) var(--space-4);
  background-color: var(--color-bg-default);
}

@media (min-width: 768px) {
  .product-gallery {
    padding: var(--space-16) var(--space-4) var(--space-4);
  }
}

.product-gallery__intro {
  max-width: 26rem;
  margin-bottom: var(--space-10);
}

.product-gallery__eyebrow {
  margin: 0 0 var(--space-16);
  font-family: var(--font-body);
  font-size: var(--font-sm);
  font-weight: var(--weight-semibold);
  line-height: var(--line-height-tight);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-black);
}

.product-gallery__description {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--font-md);
  font-weight: var(--weight-regular);
  line-height: var(--line-height-base);
  color: var(--color-text-black);
}

@media (min-width: 768px) {
  .product-gallery__intro {
    margin-bottom: var(--space-12);
  }

  .product-gallery__description {
    font-size: var(--font-lg);
    line-height: var(--line-height-loose);
  }
}

@media (min-width: 1024px) {
  .product-gallery__intro {
    max-width: 36rem;
  }
}

.product-gallery__nav {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-10);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.product-gallery__nav::-webkit-scrollbar {
  display: none;
}

.product-gallery__tabs {
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: var(--space-8);
}

.product-gallery__tab {
  flex-shrink: 0;
}

.product-gallery__tab-link {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-black);
  padding-bottom: var(--space-1);
  border-bottom: 1.5px solid transparent;
  white-space: nowrap;
}

.product-gallery__tab-link:hover {
  opacity: 0.7;
}

.product-gallery__tab.is-active .product-gallery__tab-link {
  border-bottom-color: var(--color-text-black);
}

.product-gallery__carousel-wrapper {
  position: relative;
  width: 100%;
}

.product-gallery__carousel {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding-bottom: var(--space-4);
}

.product-gallery__carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.product-gallery__carousel.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.product-gallery__empty {
  flex: 0 0 100%;
  text-align: center;
  font-size: 11px;
  color: var(--color-text-muted);
  margin: 0;
  padding: var(--space-8) var(--space-4);
}

.product-gallery__item {
  display: flex;
  flex-direction: column;
}

.product-gallery__carousel .product-gallery__item {
  flex: 0 0 25%;
  scroll-snap-align: start;
}

.product-gallery__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.product-gallery__link:hover {
  color: inherit;
  opacity: 1;
}

.product-gallery__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.product-gallery__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__img--primary {
  opacity: 1;
}

.product-gallery__img--secondary {
  opacity: 0;
}

.product-gallery__link:has(.product-gallery__img--secondary):hover
  .product-gallery__img--primary {
  opacity: 0;
}

.product-gallery__link:has(.product-gallery__img--secondary):hover
  .product-gallery__img--secondary {
  opacity: 1;
}

.product-gallery__info {
  padding: 0;
}

.product-gallery__info-main {
  display: flex;
  justify-content: center;
  gap: var(--space-1);
  align-items: center;
  flex-direction: column;
  margin-bottom: var(--space-2);
}

.product-gallery__name {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
  font-family: var(--font-body);
}

.product-gallery__price {
  font-size: 12px;
  font-weight: 400;
}

.product-gallery__desc {
  font-size: 9px;
  color: var(--color-text-black);
  letter-spacing: 0.05em;
  text-align: center;
  margin: 0;
}

.product-gallery__scrollbar {
  height: 1px;
  background-color: var(--color-border);
  width: 80px;
  margin: 0 auto;
  position: relative;
}

.product-gallery__scrollbar-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: var(--color-text-black);
  width: 25%;
  transition: left 0.1s ease-out;
}

.product-gallery__shop-all {
  display: flex;
  justify-content: center;
  margin-top: var(--space-8);
}

.product-gallery__shop-all[hidden] {
  display: none;
}

.product-gallery__shop-all-link {
  font-family: var(--font-body);
  font-size: var(--font-xs);
  font-weight: var(--weight-bold);
  line-height: var(--line-height-base);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  color: var(--color-text-black);
  border-bottom: 1px solid var(--color-text-black);
  padding-bottom: var(--space-2);
  transition: opacity var(--transition-base);
}

.product-gallery__shop-all-link:hover {
  opacity: 0.7;
}

@media (min-width: 769px) {
  .product-gallery__carousel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .product-gallery__carousel .product-gallery__item {
    flex: none;
    scroll-snap-align: unset;
  }

  .product-gallery__scrollbar {
    display: none;
  }
}

@media (max-width: 1200px) {
  .product-gallery__carousel .product-gallery__item {
    flex: 0 0 33.33%;
  }
}

@media (max-width: 768px) {
  .product-gallery__carousel {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .product-gallery__carousel .product-gallery__item {
    flex: 0 0 85%;
    scroll-snap-stop: always;
  }

  .product-gallery__tabs {
    gap: var(--space-4);
  }

  .product-gallery__nav {
    justify-content: flex-start;
  }

  .cart-drawer__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-4);
    border-bottom: 1px solid var(--color-border-soft);
  }
}

/* --- Shop by Concern (homepage) --- */
.shop-by-concern {
  --shop-by-concern-card-basis: calc((100% - (2 * var(--space-4))) / 1);
  --card-overlay-strong: color-mix(
    in srgb,
    var(--color-bg-dark) 88%,
    transparent
  );
  --card-overlay-soft: color-mix(
    in srgb,
    var(--color-bg-dark) 40%,
    transparent
  );
  --card-gradient: linear-gradient(
    to top,
    var(--card-overlay-strong) 0%,
    var(--card-overlay-soft) 52%,
    transparent 78%
  );

  padding: var(--space-18) 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .shop-by-concern {
    --shop-by-concern-card-basis: calc((100% - (3 * var(--space-4))) / 3);
    padding: var(--space-16) 0;
  }
}

.shop-by-concern__container {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: 0 var(--space-4);
}

@media (min-width: 1024px) {
  .shop-by-concern__container {
    display: grid;
    grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
    align-items: start;
    gap: var(--space-10);
    padding-right: 0;
  }
}

.shop-by-concern__intro {
  flex: 0 0 auto;
  max-width: 22rem;
}

@media (min-width: 1024px) {
  .shop-by-concern__intro {
    max-width: none;
    padding-top: var(--space-4);
  }
}

.shop-by-concern__title {
  font-family: var(--font-body);
  font-size: clamp(var(--font-xl), 4vw, var(--font-2xl));
  font-weight: var(--weight-regular);
  line-height: var(--line-height-tight);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--color-text-black);
  margin: 0 0 var(--space-1);
}

.shop-by-concern__subtitle {
  font-family: var(--font-body);
  font-size: var(--font-xs);
  line-height: var(--line-height-base);
  color: var(--color-text-black);
  margin: 0;
  max-width: 18rem;
}

.shop-by-concern__scrollbar {
  height: 1px;
  background-color: var(--color-border);
  width: 5rem;
  margin-top: var(--space-10);
  position: relative;
  overflow: hidden;
}

.shop-by-concern__scrollbar[hidden] {
  display: none;
}

.shop-by-concern__scrollbar-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: var(--color-text-black);
  width: 33.333%;
  transition: left var(--transition-fast);
}

.shop-by-concern__carousel-wrap {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .shop-by-concern__carousel-wrap {
    margin-right: calc(50% - 50vw);
  }
}

.shop-by-concern__carousel {
  display: flex;
  gap: var(--space-4);
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding-bottom: var(--space-2);
  /* Trailing space so the last card can scroll fully into view (peek carousel). */
  padding-inline-end: max(0px, calc(100% - var(--shop-by-concern-card-basis)));
}

.shop-by-concern__carousel::-webkit-scrollbar {
  display: none;
}

/* ~2.25 cards visible on small screens — hints horizontal scroll */
.shop-by-concern__card {
  flex: 0 0 var(--shop-by-concern-card-basis);
  display: block;
  text-decoration: none;
  color: var(--color-text-white);
  scroll-snap-align: start;
}

.shop-by-concern__card:last-child {
  scroll-snap-align: end;
}

.shop-by-concern__card:hover {
  opacity: 0.85;
  cursor: pointer;
}

.shop-by-concern__card-inner {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background-color: var(--color-primary);
}

a.shop-by-concern__card:hover .shop-by-concern__card-bg {
  transform: scale(1.05);
}

.shop-by-concern__card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.shop-by-concern__card-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
}

.shop-by-concern__card-fallback-icon {
  font-size: clamp(var(--font-xl), 4vw, var(--font-2xl));
  color: var(--color-text-black);
  line-height: 1;
}

.shop-by-concern__card-gradient {
  position: absolute;
  inset: 0;
  background: var(--card-gradient);
  pointer-events: none;
}

.shop-by-concern__label {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--z-raised);
  padding: var(--space-8) var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--font-md);
  font-weight: var(--weight-medium);
  line-height: var(--line-height-tight);
  text-align: center;
  color: var(--color-text-white);
}

.shop-by-concern__nav-group {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.shop-by-concern__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  background-color: var(--color-bg-dark);
  color: var(--color-text-white);
  cursor: pointer;
  transition: opacity var(--transition-base);
  border-radius: var(--radius-md);
}

.shop-by-concern__nav.is-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.shop-by-concern__nav:hover:not(.is-disabled),
.shop-by-concern__nav:focus-visible:not(.is-disabled) {
  opacity: 0.85;
}

.shop-by-concern__nav i {
  font-size: var(--font-sm);
  line-height: 1;
}

@media (max-width: 1023px) {
  .shop-by-concern__scrollbar {
    display: none;
  }

  .shop-by-concern__nav-group {
    margin-top: var(--space-4);
  }

  .shop-by-concern__carousel-wrap {
    margin-right: calc(-1 * var(--space-4));
    padding-right: var(--space-4);
  }
}

/* --- Homepage promotional banner (below product gallery) --- */
.home-banner {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: flex-start;
  color: var(--color-text-white);
  overflow: hidden;
}

.home-banner--no-image {
  background-color: var(--color-secondary);
  color: var(--color-text-black);
  min-height: 0;
}

.home-banner--no-image .home-banner__title,
.home-banner--no-image .home-banner__description {
  color: var(--color-text-black);
}

.home-banner--no-image .home-banner__cta {
  color: var(--color-text-black);
  border-bottom-color: var(--color-text-black);
}

.home-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  background: color-mix(in srgb, var(--color-text-black) 45%, transparent);
}

.home-banner__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1 1 auto;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  padding: var(--space-10) var(--space-6);
  box-sizing: border-box;
}

.home-banner__content {
  max-width: 32rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.home-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--font-2xl), 5vw, calc(var(--font-2xl) * 1.35));
  font-weight: var(--weight-regular);
  line-height: var(--line-height-tight);
  margin: 0;
  color: inherit;
  letter-spacing: -0.02em;
}

.home-banner--no-image .home-banner__title {
  font-size: clamp(var(--font-xl), 4vw, var(--font-2xl));
}

.home-banner__description {
  font-family: var(--font-body);
  font-size: var(--font-sm);
  line-height: var(--line-height-loose);
  margin: 0;
  color: inherit;
}

@media (min-width: 768px) {
  .home-banner__description {
    font-size: var(--font-md);
  }
}

.home-banner__action {
  margin: 0;
}

.home-banner__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--font-xs);
  font-weight: var(--weight-bold);
  line-height: var(--line-height-base);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  color: var(--color-text-white);
  border-bottom: 1px solid var(--color-text-white);
  padding-bottom: var(--space-2);
  transition: opacity var(--transition-base);
}

.home-banner__cta:hover {
  opacity: 0.7;
}

@media (max-width: 767px) {
  .home-banner__overlay {
    display: block;
  }

  .home-banner__content {
    max-width: none;
    align-items: center;
    text-align: center;
  }

  .home-banner {
    min-height: 300px;
  }
}

/* --- Homepage newsletter / loyalty banner (above footer) --- */
.home-newsletter {
  position: relative;
  width: 100%;
  min-height: 450px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  background-color: var(--color-bg-cream);
  color: var(--home-newsletter-title-color, var(--color-text-black));
}

.home-newsletter--no-image {
  min-height: 0;
}

.home-newsletter__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-newsletter__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
}

.home-newsletter__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  pointer-events: none;
  /*background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--color-bg-cream) 94%, transparent) 0%,
        color-mix(in srgb, var(--color-bg-cream) 55%, transparent) 42%,
        transparent 72%
    );*/
}

.home-newsletter__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1 1 auto;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  padding: var(--space-10) var(--space-6);
  box-sizing: border-box;
}

.home-newsletter__content {
  max-width: 32rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.home-newsletter__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--font-xl), 4vw, calc(var(--font-2xl) * 1.15));
  font-weight: var(--weight-regular);
  line-height: var(--line-height-tight);
  margin: 0;
  color: var(--home-newsletter-title-color, var(--color-text-black));
  letter-spacing: -0.02em;
}

.home-newsletter__description {
  font-family: var(--font-body);
  font-size: var(--font-sm);
  line-height: var(--line-height-loose);
  margin: 0;
  color: var(--home-newsletter-body-color, var(--color-text-muted));
}

@media (min-width: 768px) {
  .home-newsletter {
    min-height: 300px;
  }
  .home-newsletter__description {
    font-size: var(--font-md);
  }
}

.home-newsletter__action {
  margin: 0;
}

.home-newsletter__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--font-xs);
  font-weight: var(--weight-bold);
  line-height: var(--line-height-base);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--home-newsletter-cta-color, var(--color-text-black));
  border-bottom: 1px solid
    var(--home-newsletter-cta-color, var(--color-text-black));
  padding-bottom: var(--space-2);
  transition: opacity var(--transition-base);
}

.home-newsletter__cta:hover {
  opacity: 0.65;
}

@media (max-width: 767px) {
  .home-newsletter__overlay {
    display: block;
  }

  .home-newsletter__content {
    max-width: none;
    align-items: center;
    text-align: center;
  }
}

/* --- Full-screen promo banner overlay --- */
.promo-banner {
  --promo-banner-bg: #600040;
  --promo-banner-btn-text: #600040;

  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  display: flex;
  align-items: stretch;
  justify-content: center;
  background-color: var(--promo-banner-bg);
  color: var(--color-text-white);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition-base),
    visibility var(--transition-base);
}

.promo-banner.is-active {
  opacity: 1;
  visibility: visible;
}

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

.promo-banner:not([hidden]) {
  display: flex;
}

body.promo-banner-open {
  overflow: hidden;
}

.promo-banner__inner {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.promo-banner__close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--space-10);
  height: var(--space-10);
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-text-white);
  font-size: var(--font-xl);
  line-height: 1;
  cursor: pointer;
  transition: opacity var(--transition-base);
}

.promo-banner__close:hover {
  opacity: 0.7;
}

.promo-banner__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-8);
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: var(--space-12) var(--space-10);
  box-sizing: border-box;
}

.promo-banner__layout--centered {
  grid-template-columns: 1fr;
  justify-items: center;
}

.promo-banner__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  text-align: center;
  padding: var(--space-8) var(--space-6);
}

.promo-banner__eyebrow {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.promo-banner__pretitle {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(var(--font-lg), 3vw, var(--font-2xl));
  font-weight: var(--weight-regular);
  line-height: var(--line-height-tight);
}

.promo-banner__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(var(--font-3xl), 10vw, calc(var(--font-3xl) * 2.2));
  font-weight: var(--weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: -0.02em;
}

.promo-banner__description {
  max-width: 22rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-sm);
  line-height: var(--line-height-loose);
}

@media (min-width: 768px) {
  .promo-banner__description {
    font-size: var(--font-base);
  }
}

.promo-banner__action {
  margin: var(--space-4) 0 0;
}

.promo-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  padding: var(--space-4) var(--space-10);
  border-radius: var(--radius-full);
  background-color: var(--color-text-white);
  color: var(--promo-banner-btn-text);
  font-family: var(--font-body);
  font-size: var(--font-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity var(--transition-base);
}

.promo-banner__btn:hover {
  opacity: 0.85;
}

.promo-banner__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.promo-banner--layout-side .promo-banner__img {
  width: 100%;
  max-width: 36rem;
  height: auto;
  object-fit: contain;
}

.promo-banner--layout-background .promo-banner__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.promo-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--promo-banner-bg);
  opacity: 0.55;
  pointer-events: none;
}

@media (max-width: 767px) {
  .promo-banner--layout-side .promo-banner__layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: var(--space-6);
    padding: var(--space-16) var(--space-6) var(--space-10);
  }

  .promo-banner--layout-side .promo-banner__content {
    order: 2;
    padding: 0;
  }

  .promo-banner--layout-side .promo-banner__media {
    order: 1;
  }

  .promo-banner--layout-side .promo-banner__img {
    max-width: 18rem;
  }

  .promo-banner--layout-background .promo-banner__layout {
    padding: var(--space-16) var(--space-6) var(--space-10);
  }

  .promo-banner__close {
    top: var(--space-4);
    right: var(--space-4);
  }
}

/* --- Shop Page --- */

.shop-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 60svh;
  color: var(--color-text-white);
  overflow: hidden;
}

.shop-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--color-bg-dark);
}

.shop-hero__bg-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.shop-hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.shop-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-18) var(--space-4) var(--space-12);
}

.shop-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  max-width: 36rem;
}

.shop-hero__eyebrow {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.16em;
  line-height: var(--line-height-tight);
  text-transform: uppercase;
  color: #edefea;
}

.shop-hero__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(var(--font-2xl), 5vw, var(--font-3xl));
  font-weight: var(--weight-regular);
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
  color: #edefea;
}

@media (max-width: 768px) {
  .shop-hero__container {
    padding: calc(var(--header-height) + var(--space-10)) var(--space-4)
      var(--space-10);
  }

  .shop-hero__content {
    max-width: 100%;
  }

  .shop-hero__title {
    font-size: clamp(var(--font-xl), 8vw, var(--font-2xl));
  }
}

.shop-filters {
  padding: var(--space-3) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-4);
}

.shop-filters__container {
  max-width: 100%;
  margin: 0;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.shop-filters__left {
  display: flex;
  justify-content: flex-start;
}

.shop-filters__center {
  display: flex;
  justify-content: center;
}

.shop-filters__right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-4);
}

.shop-filters__trigger {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}

.shop-filters__count {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-black);
}

.shop-filters__sort select {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  padding-right: 12px;
}

.shop-filters__view {
  display: flex;
  gap: 8px;
  align-items: center;
}

.shop-filters__view-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  gap: 2px;
}

.shop-filters__view-btn span {
  display: block;
  width: 3px;
  height: 12px;
  background-color: var(--color-border);
}

.shop-filters__view-btn--active span {
  background-color: var(--color-text-black);
}

.shop-filters__view-btn--grid-3 span {
  width: 4px;
}

.shop-filters__view-btn--grid-4 span {
  width: 3px;
}

.shop-main-content ul.products.is-grid-few {
  grid-template-columns: repeat(3, 1fr);
}

.shop-main-content ul.products.is-grid-many {
  grid-template-columns: repeat(4, 1fr);
}

/* --- Filters Modal --- */
.filters-drawer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  background-color: var(--color-text-white);
  color: var(--color-text-black);
  z-index: 2200;
  visibility: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition:
    transform var(--transition-base),
    opacity var(--transition-base),
    visibility var(--transition-base);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-bottom: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.filters-drawer.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.filters-drawer__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(31, 23, 32, 0.4); /* Based on --color-text-black */
  z-index: 2150;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity var(--transition-base),
    visibility var(--transition-base);
  backdrop-filter: blur(2px);
}

.filters-drawer__overlay.is-active {
  visibility: visible;
  opacity: 1;
}

.filters-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-text-white);
}

.filters-drawer__title {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-black);
}

.filters-drawer__close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  padding: var(--space-2);
  color: var(--color-text-black);
  opacity: 0.5;
  transition: opacity var(--transition-base);
}

.filters-drawer__close:hover {
  opacity: 1;
}

.filters-drawer__content {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4);
}

.filters-drawer__section {
  margin-bottom: var(--space-6);
}

.filters-drawer__section-title {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}

.filters-drawer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.filters-drawer__item {
  margin-bottom: 0;
}

.filters-drawer__item a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-black);
  text-decoration: none;
  background-color: var(--color-text-white);
  border: 1px solid var(--color-border);
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base);
}

.filters-drawer__item:hover a {
  border-color: var(--color-text-black);
}

.filters-drawer__item.is-active a {
  background-color: var(--color-text-black);
  color: var(--color-text-white);
  border-color: var(--color-text-black);
}

.filters-drawer__indicator {
  display: block;
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
}

.filters-drawer__section--widgets .widget {
  margin-bottom: var(--space-8);
}

.filters-drawer__section--widgets .widget-title {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-2);
}

.filters-drawer__section--widgets ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.filters-drawer__section--widgets ul li {
  padding: 0;
}

.filters-drawer__section--widgets ul li a {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background-color: var(--color-text-white);
  border: 1px solid var(--color-border);
  color: var(--color-text-black);
  text-decoration: none;
  font-size: 13px;
}

.filters-drawer__section--widgets
  .woocommerce-widget-layered-nav-list__item--chosen
  a {
  background-color: var(--color-text-black);
  color: var(--color-text-white);
  border-color: var(--color-text-black);
}

.shop-main-content {
  max-width: 100%;
  margin: 0;
  padding: 0 0 var(--space-12);
}

.shop-main-content ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-10);
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: none;
}

.shop-main-content ul.products .product-gallery__item {
  padding: 0;
  flex: none;
  width: auto;
  border: none;
}

.shop-main-content ul.products .product-gallery__item:nth-child(4n) {
  border: none;
}

.shop-main-content ul.products .product-gallery__image-wrapper {
  margin-bottom: 0;
}

.shop-main-content ul.products .product-gallery__info {
  padding: var(--space-3) var(--space-2);
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.shop-main-content ul.products .product-gallery__info-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: 2px;
}

.shop-main-content ul.products .product-gallery__name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shop-main-content ul.products .product-gallery__price {
  font-size: 11px;
  font-weight: 400;
}

.shop-main-content ul.products .product-gallery__desc {
  font-size: 11px;
  text-align: left;
  color: var(--color-text-muted);
  text-transform: none;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.woocommerce-ordering {
  margin: 0;
}

.woocommerce-ordering select {
  appearance: none;
  -webkit-appearance: none;
  background: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E")
    no-repeat right 0 center;
  background-size: 8px auto;
  padding-right: 15px;
  border: none;
  font-family: var(--font-body);
  font-size: var(--font-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 1200px) {
  .shop-main-content ul.products {
    grid-template-columns: repeat(3, 1fr);
  }

  .shop-main-content ul.products .product-gallery__item {
    border-right: none;
  }

  .shop-main-content ul.products .product-gallery__item:nth-child(3n) {
    border-right: none;
  }

  .shop-main-content ul.products .product-gallery__item:nth-child(4n) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .shop-filters__container {
    grid-template-columns: 1fr auto 1fr;
    padding: 0 var(--space-4);
  }

  .shop-filters__view-btn--grid-3 span:nth-child(n + 2) {
    display: none;
  }

  .shop-filters__view-btn--grid-4 span:nth-child(n + 3) {
    display: none;
  }

  .shop-main-content ul.products.is-grid-few {
    grid-template-columns: repeat(1, 1fr);
  }

  .shop-main-content ul.products.is-grid-many,
  .shop-main-content ul.products:not(.is-grid-few):not(.is-grid-many) {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-main-content ul.products .product-gallery__item {
    border-right: none;
  }

  .shop-main-content ul.products .product-gallery__item:nth-child(2n) {
    border-right: none;
  }

  .shop-main-content ul.products .product-gallery__item:nth-child(3n) {
    border-right: none;
  }
}

/* Single Product Page Custom Styles */
.single-product-container {
  padding: 0;
  max-width: 100%;
  margin: 0 auto;
}

.product-main-layout {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 0;
  align-items: start;
}

@media (max-width: 1024px) {
  .product-main-layout {
    grid-template-columns: 1fr;
    margin-top: var(--space-8);
  }
}

/* Gallery Side */
.product-gallery-side {
  padding: 0;
}

.product-gallery-carousel {
  position: relative;
}

.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.product-gallery-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-gallery-image__trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
}

.product-gallery-image__trigger:focus-visible {
  outline: var(--space-1) solid var(--color-primary);
  outline-offset: calc(-1 * var(--space-1));
}

.product-gallery-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

/* Single product: mobile-only horizontal carousel (desktop keeps grid above) */
@media (max-width: 768px) {
  .product-gallery-carousel__track.product-gallery-grid {
    display: flex;
    flex-flow: row nowrap;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .product-gallery-carousel__track.product-gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .product-gallery-carousel__track .product-gallery-image {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .product-gallery-carousel__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-4) var(--space-2);
  }

  .product-gallery-carousel__dot {
    width: var(--space-2);
    height: var(--space-2);
    padding: 0;
    border: none;
    border-radius: var(--radius-full);
    background-color: var(--color-border);
    cursor: pointer;
    transition:
      background-color var(--transition-base),
      transform var(--transition-base);
  }

  .product-gallery-carousel__dot.is-active {
    background-color: var(--color-primary);
    transform: scale(1.35);
  }

  .product-gallery-carousel__dot:focus-visible {
    outline: var(--space-1) solid var(--color-primary);
    outline-offset: var(--space-1);
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .product-gallery-carousel__track.product-gallery-grid {
    scroll-behavior: auto;
  }
}

/* Single product: full-screen gallery lightbox */
.product-lightbox {
  position: fixed;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity var(--transition-base),
    visibility var(--transition-base);
  pointer-events: none;
}

.product-lightbox.is-active {
  z-index: var(--z-lightbox);
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.product-lightbox__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-bg-default);
}

.product-lightbox__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: stretch;
  width: 100%;
  height: 100%;
  padding: var(--space-12) var(--space-16);
  pointer-events: none;
}

.product-lightbox__inner > * {
  pointer-events: auto;
}

.product-lightbox__figure {
  margin: 0;
  width: 100%;
  max-width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.product-lightbox__track {
  flex: 1 1 auto;
  display: flex;
  flex-flow: row nowrap;
  gap: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.product-lightbox__track::-webkit-scrollbar {
  display: none;
}

.product-lightbox__slide {
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-lightbox__img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.product-lightbox__counter {
  font-family: var(--font-secondary);
  font-size: var(--font-sm);
  color: var(--color-text-white);
  letter-spacing: 0.08em;
  text-align: center;
  min-width: var(--space-16);
}

.product-lightbox__controls {
  position: absolute;
  right: var(--space-16);
  bottom: var(--space-4);
  left: var(--space-16);
  z-index: var(--z-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  margin: 0;
  mix-blend-mode: difference;
  pointer-events: none;
}

.product-lightbox__controls > * {
  pointer-events: auto;
}

.product-lightbox__close,
.product-lightbox__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: var(--radius-full);
  background-color: transparent;
  color: var(--color-text-white);
  cursor: pointer;
  transition: opacity var(--transition-base);
}

.product-lightbox__close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-raised);
  font-size: var(--font-xl);
  mix-blend-mode: difference;
}

.product-lightbox__nav {
  flex-shrink: 0;
  font-size: var(--font-lg);
}

.product-lightbox__close:hover,
.product-lightbox__nav:hover {
  opacity: 0.75;
}

.product-lightbox__close:focus-visible,
.product-lightbox__nav:focus-visible {
  outline: var(--space-1) solid currentColor;
  outline-offset: var(--space-1);
}

@media (max-width: 768px) {
  .product-lightbox__inner {
    height: 100svh;
    min-height: 100svh;
    padding: 0;
  }

  .product-lightbox__figure {
    flex: 1 1 0;
    min-height: 0;
    height: 100%;
  }

  .product-lightbox__track {
    min-height: 100%;
    height: 100%;
    align-items: stretch;
  }

  .product-lightbox__slide {
    min-height: 100%;
    height: 100%;
    align-self: stretch;
    align-items: stretch;
    justify-content: stretch;
  }

  .product-lightbox__img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
  }

  .product-lightbox__close {
    top: var(--space-4);
    right: var(--space-4);
  }

  .product-lightbox__controls {
    right: 0;
    bottom: var(--space-4);
    left: 0;
    gap: var(--space-4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-lightbox {
    transition: none;
  }

  .product-lightbox__track {
    scroll-behavior: auto;
  }
}

/* Info Side */
.product-info-side {
  padding: var(--space-12) var(--space-4);
  position: sticky;
  top: 80px; /* Adjust based on header height */
}

@media (max-width: 1024px) {
  .product-info-side {
    position: static;
    padding: var(--space-8) var(--space-4);
  }
}

.product-info-header {
  margin-bottom: var(--space-8);
}

.product-brand {
  display: block;
  font-family: var(--font-primary);
  font-size: var(--font-2xl);
  margin-bottom: var(--space-4);
  color: var(--color-text-black);
}

.single-product-container .product-brand {
  display: none;
}

.product-title {
  font-family: var(--font-secondary);
  font-size: var(--font-lg);
  font-weight: var(--weight-regular);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
}

.product-price-wrapper {
  font-size: var(--font-sm);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-2);
}

/* Selection Area */
.product-selection-area {
  margin-bottom: var(--space-10);
}

/* Variations styling */
.single-product-container .variations {
  width: 100%;
  margin-bottom: var(--space-6);
  display: flex;
  flex-direction: column;
}

.single-product-container .variations tbody {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.single-product-container .variations tr {
  display: block;
}

.single-product-container .variations td {
  padding: 0;
  display: block;
  line-height: 1;
}

.single-product-container .variations label {
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  margin-bottom: var(--space-2);
  display: block;
  color: #888;
}

.selected-variation-label {
  color: var(--color-text-black);
  margin-left: var(--space-1);
  font-weight: 400;
}

.custom-variation-select {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.custom-variation-select.is-color {
  gap: var(--space-4);
}

.variation-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    color var(--transition-base),
    opacity var(--transition-base);
}

/* Color Swatches */
.is-color .variation-button {
  width: 32px;
  height: 32px;
  position: relative;
  isolation: isolate;
  border: 0.0625rem solid transparent;
}

.is-color .variation-button.is-active {
  border-color: var(--color-primary);
  box-shadow: inset 0 0 0 0.0625rem var(--color-text-white);
}

/* Size Buttons */
.custom-variation-select.is-size {
  flex-wrap: nowrap;
  gap: var(--space-2);
  width: 100%;
}

.is-size .variation-button {
  flex: 1 1 0;
  position: relative;
  font-family: var(--font-body);
  font-size: var(--font-sm);
  font-weight: var(--weight-regular);
  color: var(--color-text-muted);
  padding: var(--space-1) var(--space-2);
  text-align: center;
  border: 0.0625rem solid var(--color-border);
  background-color: transparent;
}

.is-size .variation-button.is-active {
  font-weight: var(--weight-regular);
  text-decoration: none;
  color: var(--color-text-black);
  border-color: var(--color-primary);
}

/* Unavailable variations (out of stock / not purchasable) */
.variation-button.variation-button--unavailable,
.variation-button[data-unavailable="true"] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.custom-variation-select.is-size
  .variation-button.variation-button--unavailable,
.custom-variation-select.is-size .variation-button[data-unavailable="true"],
.custom-variation-select.is-color
  .variation-button.variation-button--unavailable,
.custom-variation-select.is-color .variation-button[data-unavailable="true"] {
  opacity: 1;
  text-decoration: none;
}

.is-size .variation-button.variation-button--unavailable::before,
.is-size .variation-button[data-unavailable="true"]::before,
.is-size .variation-button.variation-button--unavailable::after,
.is-size .variation-button[data-unavailable="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.is-size .variation-button.variation-button--unavailable::before,
.is-size .variation-button[data-unavailable="true"]::before {
  background: linear-gradient(
    to top right,
    transparent calc(50% - 0.0625rem),
    var(--color-border) 50%,
    transparent calc(50% + 0.0625rem)
  );
}

.is-size .variation-button.variation-button--unavailable::after,
.is-size .variation-button[data-unavailable="true"]::after {
  background: linear-gradient(
    to bottom right,
    transparent calc(50% - 0.0625rem),
    var(--color-border) 50%,
    transparent calc(50% + 0.0625rem)
  );
}

.is-color .variation-button.variation-button--unavailable::before,
.is-color .variation-button[data-unavailable="true"]::before,
.is-color .variation-button.variation-button--unavailable::after,
.is-color .variation-button[data-unavailable="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.is-color .variation-button.variation-button--unavailable::before,
.is-color .variation-button[data-unavailable="true"]::before {
  background: linear-gradient(
    to top right,
    transparent calc(50% - 0.0625rem),
    var(--color-text-white) 50%,
    transparent calc(50% + 0.0625rem)
  );
  mix-blend-mode: difference;
}

.is-color .variation-button.variation-button--unavailable::after,
.is-color .variation-button[data-unavailable="true"]::after {
  background: linear-gradient(
    to bottom right,
    transparent calc(50% - 0.0625rem),
    var(--color-text-white) 50%,
    transparent calc(50% + 0.0625rem)
  );
  mix-blend-mode: difference;
}

/* Dormant: JS tooltips disabled; styles kept for parity */
.variation-unavailable-tip {
  position: absolute;
  z-index: var(--z-tooltip);
  max-width: 12rem;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-body);
  font-size: var(--font-xs);
  line-height: var(--line-height-tight);
  color: var(--color-text-black);
  background-color: var(--color-bg-light);
  border: 0.0625rem solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition-base),
    visibility var(--transition-base);
}

.variation-unavailable-tip--visible {
  opacity: 1;
  visibility: visible;
}

/* Quantity Styling */
.quantity {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-4);
}

.qty-styled {
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  border: 1px solid var(--color-text-black);
  width: fit-content;
}

.qty-styled input.qty {
  width: 50px !important;
  border: none !important;
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 14px;
  padding: 0;
  background: transparent;
  appearance: textfield;
  -webkit-appearance: none;
  -moz-appearance: textfield;
}

.qty-styled input.qty::-webkit-outer-spin-button,
.qty-styled input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-btn {
  width: 40px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-black);
}

.qty-btn:hover {
  opacity: 0.7;
}

.woocommerce-variation-add-to-cart {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.single-product-container .woocommerce-variation-availability {
  display: none;
}

.single-product-container .single_add_to_cart_button {
  width: 100%;
  background: transparent;
  color: var(--color-text-black);
  border: 1px solid var(--color-text-black);
  height: 60px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-lg);
  justify-content: center;
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  margin-bottom: var(--space-2);
}

.single-product-container .single_add_to_cart_button:hover {
  background: var(--color-text-black);
  color: white;
}

.single-product-container .single_add_to_cart_button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.reset_variations {
  display: none !important;
}

/* Accordion */
.product-accordion {
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-10);
}

.product-description .product-accordion {
  border-top: none;
  margin-top: 0;
}

.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.product-accordion--cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  border-top: none;
}

.product-accordion--cards .accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background-color: var(--color-bg-muted);
  overflow: hidden;
}

.product-accordion--cards .accordion-item + .accordion-item {
  border-top: 1px solid var(--color-border);
}

.product-accordion--cards .accordion-header {
  padding: var(--space-4) var(--space-5);
}

.product-accordion--cards .accordion-content__inner {
  padding: 0 var(--space-5) var(--space-5);
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-4) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-secondary);
  font-size: var(--font-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-align: left;
  color: var(--color-text-black);
}

.accordion-header::after,
.product-accordion--cards .accordion-header::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--space-6);
  height: var(--space-6);
  font-size: var(--font-md);
  line-height: 1;
  transition: transform var(--transition-base);
}

.product-accordion--cards .accordion-header .icon {
  display: none;
}

.accordion-item.is-open .accordion-header::after {
  transform: rotate(45deg);
}

.accordion-content {
  height: 0;
  overflow: hidden;
  transition: height var(--transition-base);
}

.accordion-item.is-open .accordion-content {
  height: auto;
}

.accordion-content__inner {
  padding-bottom: var(--space-4);
  font-family: var(--font-primary);
  font-size: var(--font-sm);
  line-height: var(--line-height-loose);
  color: var(--color-text-black);
}

.accordion-content__inner > :first-child {
  margin-top: 0;
}

.accordion-content__inner > :last-child {
  margin-bottom: 0;
}

/* Product description section */
.product-description {
  margin-top: var(--space-10);
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-border);
}

.product-description__title {
  margin: 0 0 var(--space-5);
  font-family: var(--font-secondary);
  font-size: var(--font-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-black);
}

.product-description__intro {
  margin-bottom: var(--space-6);
}

.product-description__excerpt,
.product-description__full {
  margin: 0 0 var(--space-4);
  font-family: var(--font-primary);
  font-size: var(--font-md);
  line-height: var(--line-height-loose);
  color: var(--color-text-black);
}

.product-description__full p {
  margin: 0 0 var(--space-4);
}

.product-description__full p:last-child {
  margin-bottom: 0;
}

.product-description__read-more {
  display: inline-block;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-secondary);
  font-size: var(--font-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: var(--space-1);
  color: var(--color-text-black);
  cursor: pointer;
}

.product-description__read-more:hover,
.product-description__read-more:focus-visible {
  opacity: 0.75;
}

.product-description__accordion {
  margin-bottom: var(--space-6);
}

.product-description__accordion-label {
  display: block;
}

.product-description__footer {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--font-md);
  line-height: var(--line-height-loose);
  color: var(--color-text-black);
}

/* Customers Also Viewed */
.customers-also-viewed {
  padding: var(--space-16) var(--space-4);
  background-color: var(--color-bg-default);
}

.customers-also-viewed .section-title {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-family: var(--font-secondary);
  margin-bottom: var(--space-12);
}

.customers-also-viewed .products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 1200px) {
  .customers-also-viewed .products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .customers-also-viewed .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Ensure product grid items match shop style */
.customers-also-viewed .product-gallery__item {
  border: none !important;
}

/* Mobile/tablet single product: dark header (content sits below header, not over gallery) */
@media (max-width: 1024px) {
  .single-product
    .site-header:not(.is-sticky):not(.search-active):not(.menu-active) {
    color: var(--color-text-black);
  }

  .single-product
    .site-header:not(.is-sticky):not(.search-active):not(.menu-active)
    .main-navigation,
  .single-product
    .site-header:not(.is-sticky):not(.search-active):not(.menu-active)
    .menu-toggle,
  .single-product
    .site-header:not(.is-sticky):not(.search-active):not(.menu-active)
    .header-actions__item
    a,
  .single-product
    .site-header:not(.is-sticky):not(.search-active):not(.menu-active)
    .header-actions__item
    button,
  .single-product
    .site-header:not(.is-sticky):not(.search-active):not(.menu-active)
    .header-actions__item
    i,
  .single-product
    .site-header:not(.is-sticky):not(.search-active):not(.menu-active)
    .header-icon {
    color: var(--color-text-black);
  }
}

/* --- Theme Custom Checkout --- */

.woocommerce-checkout {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

.checkout-column-left {
  flex: 1;
  padding: 40px 60px 40px 0;
  background: #fff;
}

.checkout-column-right {
  width: 42%;
  padding: 40px 0 40px 60px;
  background: #fafafa;
  border-left: 1px solid #e1e1e1;
}

/* Header & Breadcrumbs */
.checkout-header-custom {
  margin-bottom: 40px;
}

.checkout-logo {
  margin-bottom: 20px;
}

.checkout-logo img {
  max-height: 40px;
  width: auto;
}

.checkout-breadcrumbs {
  font-size: 12px;
  color: #707070;
}

.breadcrumbs-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.breadcrumb-item:not(:last-child)::after {
  content: ">";
  margin-left: 8px;
  font-size: 10px;
}

.breadcrumb-item.active {
  color: #333;
  font-weight: 600;
}

.breadcrumb-item a {
  text-decoration: none;
  color: inherit;
}

/* Form Styles */
.woocommerce-checkout h3 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 500;
  color: #333;
}

.wcb-style-field {
  margin-bottom: 12px !important;
}

.woocommerce-checkout .form-row {
  padding: 0;
  margin: 0 0 15px;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  font-size: 14px;
  background: #fff;
  transition: border-color 0.2s;
}

.woocommerce-checkout .form-row input.input-text:focus {
  border-color: var(--color-primary);
  outline: none;
}

/* Column 1 & 2 layout (Billing/Shipping) */
.customer-details {
  margin-bottom: 40px;
}

/* Order Summary Sidebar */
.order-summary-sidebar {
  position: sticky;
  top: 20px;
}

.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-checkout-review-order-table thead {
  display: none; /* Custom style hides table head */
}

.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th {
  padding: 15px 0;
  border-top: 1px solid rgba(175, 175, 175, 0.34);
  text-align: left;
  font-weight: 400;
  font-size: 14px;
}

.woocommerce-checkout-review-order-table tr:first-child td {
  border-top: none;
}

.product-thumbnail {
  position: relative;
  width: 64px;
  height: 64px;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  margin-right: 15px;
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.product-quantity {
  position: absolute;
  top: -10px;
  right: -10px;
  background: rgba(114, 114, 114, 0.9);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.product-name {
  display: flex;
  align-items: center;
}

.product-info {
  display: flex;
  flex-direction: column;
}

.product-total {
  text-align: right !important;
  font-weight: var(--weight-medium);
}

/* Totals */
.order-summary-content tfoot th {
  font-weight: 400;
  color: var(--color-text-black);
}

.order-summary-content tfoot .order-total th,
.order-summary-content tfoot .order-total td {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-black);
  border-top: 1px solid #e1e1e1;
  padding-top: 20px;
}

/* Payment Section */
.checkout-payment-wrapper {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.woocommerce-checkout-payment {
  background: var(--color-text-white);
}

.payment-methods {
  list-style: none;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  overflow: hidden;
}

.payment-methods li {
  padding: 15px;
  border-bottom: 1px solid var(--color-border);
}

.payment-methods li:last-child {
  border-bottom: none;
}

.payment-methods li input {
  margin-right: 10px;
}

.payment-methods li label {
  font-weight: 500;
  cursor: pointer;
}

.payment-box {
  padding: 15px;
  background: #fff;
  margin-top: 10px;
  font-size: 13px;
  color: #666;
  border-top: 1px solid #d9d9d9;
}

/* Place Order Button */
#place_order {
  width: 100%;
  padding: 20px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.2s;
}

#place_order:hover {
  background: var(--color-primary-dark);
}

.wp-block-woocommerce-checkout-order-summary-block {
  background-color: var(--color-text-white);
  scroll-margin-top: var(--space-4);
}

/* WooCommerce Blocks checkout place-order button */
.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained {
  background: transparent;
  color: var(--color-text-black);
  border: 1px solid var(--color-text-black);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    color var(--transition-base);
}

.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:hover {
  background: var(--color-text-black);
  color: var(--color-text-white);
}

/* Responsive */
@media (max-width: 992px) {
  .wp-block-woocommerce-checkout-order-summary-block {
    background-color: var(--color-bg-default);
  }
  .woocommerce-checkout {
    flex-direction: column-reverse;
  }

  .checkout-column-left,
  .checkout-column-right {
    width: 100%;
    padding: 20px;
  }

  .checkout-column-right {
    background: #fff;
    border-left: none;
    border-bottom: 1px solid #e1e1e1;
  }
}

/* Coupon Form Custom Style */
.checkout-sidebar-coupon {
  margin: 20px 0;
  padding: 20px 0;
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
}

.coupon-form-custom {
  display: flex;
  gap: 10px;
}

.coupon-form-custom .input-text {
  flex: 1;
  padding: 12px;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  font-size: 14px;
}

.coupon-form-custom .apply-coupon-button {
  padding: 0 20px;
  background: #e1e1e1;
  color: #333;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.coupon-form-custom .apply-coupon-button:hover {
  background: #d1d1d1;
}

/* Page Checkout Minimal Template */
body.wcb-checkout-page {
  background: #fff;
}

.checkout-footer {
  padding: 40px 0;
  border-top: 1px solid #e1e1e1;
  font-size: 12px;
  color: #707070;
}

.checkout-footer-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
}

.checkout-footer-nav a {
  color: inherit;
  text-decoration: none;
}

.checkout-footer-nav a:hover {
  text-decoration: underline;
}

/* Fix for WooCommerce messages */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  list-style: none;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
  font-size: 14px;
}

.woocommerce-error {
  background: #fff1f1;
  color: #d0021b;
  border: 1px solid #d0021b;
}

.woocommerce-info {
  background: #f0f7ff;
  color: #0052cc;
  border: 1px solid #0052cc;
}

.customer-details .col-1,
.customer-details .col-2 {
  width: 100%;
  margin-bottom: 30px;
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4%;
}

.woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-shipping-fields__field-wrapper .form-row {
  width: 100%;
}

.woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-billing-fields__field-wrapper .form-row-last,
.woocommerce-shipping-fields__field-wrapper .form-row-first,
.woocommerce-shipping-fields__field-wrapper .form-row-last {
  width: 48%;
}

/* Checkbox and radio styling */
.woocommerce-checkout input[type="checkbox"],
.woocommerce-checkout input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  vertical-align: middle;
}

.woocommerce-checkout label.checkbox {
  display: inline-block;
  cursor: pointer;
  font-size: 14px;
}

/* --- Updated Centered Custom Checkout --- */

.checkout-page-wrapper {
  max-width: 1000px; /* Narrower for centered look */
  margin: 0 auto;
  background: #fff;
  padding: var(--space-16);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.woocommerce-checkout {
  display: block; /* Stacked layout */
}

.checkout-column-left,
.checkout-column-right {
  width: 100% !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

.checkout-column-right {
  margin-top: 40px;
  padding-top: 40px !important;
  border-top: 1px solid #e1e1e1 !important;
}

/* Hide the custom checkout header logo/breadcrumbs since we have site header now */
.checkout-header-custom {
  display: none;
}

/* Adjustments for centered layout */
.order-summary-sidebar {
  position: static; /* No longer sticky */
}

.checkout-payment-wrapper {
  margin-top: 30px;
}

/* Ensure the form takes full width of the centered container */
.woocommerce-checkout .customer-details {
  display: block;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
  float: none;
  width: 100%;
}

/* --- Custom Style Summary Top --- */

.checkout-summary-top {
  margin-bottom: 30px;
  border: 1px solid #e1e1e1;
  border-radius: 5px;
  background: #fafafa;
  overflow: hidden;
}

.summary-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background: #fff;
}

.summary-toggle .toggle-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--color-primary);
}

.summary-toggle .total-price {
  font-weight: 600;
  font-size: 16px;
}

.summary-content-dropdown {
  padding: 20px;
  border-top: 1px solid #e1e1e1;
}

/* Ensure the main column is also centered and clean */
.checkout-column-main {
  max-width: 100%;
}

.checkout-column-main h3 {
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-top: 30px;
}

/* Site header/footer centering fixes if needed */

/* --- Final Centering Refinements --- */

.checkout-centered-content {
  width: 100%;
}

.checkout-page-wrapper {
  box-shadow: none; /* Removed shadow for flatter look */
  border: none;
  padding: 0 var(--space-16);
  max-width: 800px; /* Even narrower for that centered focus */
}

.summary-toggle .fa-chevron-down {
  transition: transform 0.3s ease;
}

.checkout-column-main .customer-details h3 {
  font-family: var(--font-primary);
  font-size: var(--font-2xl);
  margin-bottom: var(--space-8);
  border: none;
  padding: 0;
}

.woocommerce-checkout .form-row label {
  font-size: var(--font-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
  display: block;
}

/* Center the site footer links if needed for checkout page */
.wcb-checkout-page .site-footer {
  text-align: center;
}

.woocommerce-checkout
  .site-header:not(.is-sticky):not(.search-active):not(.menu-active)
  .site-branding
  img,
.woocommerce-account
  .site-header:not(.is-sticky):not(.search-active):not(.menu-active)
  .site-branding
  img,
.wcb-checkout-page
  .site-header:not(.is-sticky):not(.search-active):not(.menu-active)
  .site-branding
  img {
  filter: none !important; /* Original logo color */
}

/* Ensure header icons (cart, search, etc.) are black */
.woocommerce-checkout
  .site-header:not(.is-sticky):not(.search-active):not(.menu-active)
  .header-actions__link
  i,
.woocommerce-account
  .site-header:not(.is-sticky):not(.search-active):not(.menu-active)
  .header-actions__link
  i,
.wcb-checkout-page
  .site-header:not(.is-sticky):not(.search-active):not(.menu-active)
  .header-actions__link
  i {
  color: var(--color-text-black) !important;
}

/* Centered Page Layout with Max Width */
.wcb-checkout-page .checkout-centered-content,
.woocommerce-checkout .checkout-centered-content {
  background-color: var(--color-bg-default);
  display: flex;
  justify-content: center;
  padding: var(--space-4) 0;
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Keep header full viewport width; only checkout main content is centered. */
.wcb-checkout-page #page,
.woocommerce-checkout #page {
  width: 100%;
  max-width: none;
}

.wcb-checkout-page #page > .site-header,
.woocommerce-checkout #page > .site-header {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.wcb-checkout-page #page > .site-header .site-header__container,
.wcb-checkout-page #page > .site-header .site-header__container--drawer,
.woocommerce-checkout #page > .site-header .site-header__container,
.woocommerce-checkout #page > .site-header .site-header__container--drawer {
  max-width: none;
  width: 100%;
}

.wcb-checkout-page .checkout-page-wrapper {
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 var(--space-16);
}

.wcb-checkout-page .checkout-centered-content .wp-block-woocommerce-checkout,
.woocommerce-checkout
  .checkout-centered-content
  .wp-block-woocommerce-checkout {
  width: 100%;
  max-width: 1450px;
  margin: var(--space-18) auto;
  padding: var(--space-4) var(--space-4);
}

/* Hide top bar on checkout & account if it's too busy */
.wcb-checkout-page .top-bar,
.woocommerce-account .top-bar {
  display: none;
}

/* Menu toggle inversion for mobile on checkout & account. */
.wcb-checkout-page .menu-toggle,
.woocommerce-account .menu-toggle {
  color: var(--color-text-black) !important;
}

/* Adjust breadcrumbs if they were still visible */
.wcb-checkout-page .checkout-breadcrumbs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  font-family: var(--font-secondary);
}

/* Account Page - Shopify Inspired Style */
.account-centered-content {
  background-color: var(--color-bg-default);
  min-height: 60vh;
}

.account-container {
  max-width: 1200px;
  margin: var(--space-16) auto;
  padding: 0 var(--space-8);
}

@media (max-width: 768px) {
  .wcb-checkout-page .checkout-centered-content .wp-block-woocommerce-checkout,
  .woocommerce-checkout
    .checkout-centered-content
    .wp-block-woocommerce-checkout {
    margin: var(--space-6) auto;
  }

  .account-container {
    margin: var(--space-12) auto;
    padding: 0 var(--space-4);
  }
}

.account-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-12);
  border-bottom: 1px solid var(--color-border-faint);
  padding-bottom: var(--space-6);
}

.account-title {
  font-size: var(--font-2xl);
  font-family: var(--font-primary);
  margin: 0;
  font-weight: var(--weight-regular);
}

.account-logout-link {
  font-size: var(--font-xs);
  color: var(--color-text-muted);
  text-decoration: none;
  font-family: var(--font-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.account-logout-link:hover {
  color: var(--color-text-black);
  text-decoration: underline;
}

.account-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-16);
}

@media (max-width: 1024px) {
  .account-layout {
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  .account-layout {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .account-header {
    flex-direction: column;
    gap: var(--space-4);
    align-items: flex-start;
  }
}

.account-main-title,
.account-sidebar-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
  color: var(--color-text-black);
}

.account-orders-table-wrapper {
  width: 100%;
}

.account-orders-table {
  width: 100%;
  border-collapse: collapse;
}

.account-orders-table th {
  text-align: left;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-text-black);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.account-orders-table td {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-border-faint);
  font-size: var(--font-sm);
  color: var(--color-text-muted);
}

.account-order-row a {
  color: var(--color-text-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-order-row a:hover {
  text-decoration: none;
}

.account-details-content {
  font-size: var(--font-sm);
  line-height: 1.8;
}

.account-customer-name {
  margin-bottom: var(--space-4);
  color: var(--color-text-black);
  font-weight: var(--weight-regular);
}

.account-default-address {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  font-style: normal;
  white-space: pre-line;
}

.account-view-addresses-wrapper,
.account-edit-profile-wrapper {
  margin-top: var(--space-3);
}

.account-view-addresses-link,
.account-edit-profile-link {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: var(--font-xs);
  transition: color var(--transition-fast);
}

.account-view-addresses-link:hover,
.account-edit-profile-link:hover {
  color: var(--color-text-black);
  text-decoration: none;
}

.account-no-orders,
.account-no-address {
  font-size: var(--font-sm);
  color: var(--color-text-muted);
}

/* My Account endpoint navigation */
.woocommerce-account .account-endpoints-nav {
  display: block;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border-faint);
}

.woocommerce-account .account-endpoints-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
}

.woocommerce-account .account-endpoints-nav li {
  margin: 0;
}

.woocommerce-account .account-endpoints-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--font-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.woocommerce-account .account-endpoints-nav a:hover {
  color: var(--color-text-black);
}

.woocommerce-account .account-endpoints-nav .is-active a,
.woocommerce-account .account-endpoints-nav a[aria-current="page"] {
  color: var(--color-text-black);
  text-decoration: underline;
  text-underline-offset: var(--space-1);
}

@media (max-width: 768px) {
  .woocommerce-account .account-endpoints-nav {
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
  }

  .woocommerce-account .account-endpoints-nav ul {
    gap: var(--space-3) var(--space-4);
  }
}

.woocommerce-account .woocommerce-MyAccount-content {
  width: 100% !important;
  float: none !important;
}

.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
  margin-bottom: var(--space-8);
  font-size: var(--font-sm);
}

/* WooCommerce Login/Register Forms */
.account-auth {
  max-width: 450px;
  margin: var(--space-16) auto 0;
  padding: 0 var(--space-4);
  width: 100%;
}

.account-auth__forms {
  width: 100%;
}

.account-auth__panel[hidden] {
  display: none;
}

.account-auth__switch {
  margin-top: var(--space-10);
  padding: var(--space-10) var(--space-6);
  text-align: center;
}

.account-auth__switch-panel[hidden] {
  display: none;
}

.account-auth__switch-text {
  margin: 0 0 var(--space-2);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: var(--weight-semibold);
  font-size: 9px;
  font-family: var(--font-secondary);
}

.account-auth__switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--space-12);
  padding: var(--space-3) var(--space-8);
  border: none;
  background-color: var(--color-text-black);
  color: var(--color-text-white);
  font-family: var(--font-secondary);
  font-size: var(--font-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.account-auth__switch-btn:hover,
.account-auth__switch-btn:focus {
  opacity: 0.85;
}

.woocommerce-form-login,
.woocommerce-form-register {
  max-width: 450px;
  margin: 0 auto;
  width: 100%;
  padding: 0;
}

.woocommerce-account h2 {
  font-family: var(--font-primary);
  font-size: var(--font-xl);
  margin-bottom: var(--space-8);
  font-weight: var(--weight-regular);
}

.account-auth__panel h2 {
  font-family: var(--font-secondary);
  font-size: var(--font-md);
  margin-bottom: var(--space-8);
  font-weight: var(--weight-semibold);
  text-align: center;
  letter-spacing: 0.1em;
}

.woocommerce-form-login__title,
.woocommerce-form-register__title {
  font-family: var(--font-primary);
  font-size: var(--font-2xl);
  text-align: center;
  margin-bottom: var(--space-8);
  font-weight: var(--weight-regular);
}

.woocommerce-form-login .form-row-first,
.woocommerce-form-login .form-row-last,
.woocommerce-form-register .form-row-first,
.woocommerce-form-register .form-row-last {
  width: 100% !important;
  float: none !important;
}

.woocommerce-form-login .woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  display: none;
}

.woocommerce-form-login .woocommerce-form-login__rememberme input {
  width: auto;
  margin: 0;
}

.woocommerce-LostPassword {
  text-align: center;
  margin-top: var(--space-4);
  font-size: var(--font-xs);
}

.woocommerce-LostPassword a {
  color: var(--color-text-muted);
  font-size: var(--font-xs);
  font-family: monospace;
}

.woocommerce-LostPassword a:hover {
  color: var(--color-text-black);
}

/* WooCommerce Forms styling */
.woocommerce-account .form-row {
  margin-bottom: var(--space-6);
}

.woocommerce-account label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
  color: var(--color-text-black);
}

.woocommerce-account input.input-text,
.woocommerce-account select,
.woocommerce-account textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  font-family: var(--font-secondary);
  font-size: var(--font-sm);
  background-color: transparent;
  transition: border-color var(--transition-fast);
}

.woocommerce-account input.input-text:focus,
.woocommerce-account select:focus,
.woocommerce-account textarea:focus {
  outline: none;
  border-color: var(--color-text-black);
}

/* Password Visibility Toggle */
.woocommerce-account .password-input {
  position: relative;
  display: block;
}

.woocommerce-account .password-input input.input-text {
  padding-right: var(--space-12);
}

.woocommerce-account .show-password-input {
  position: absolute;
  top: 50%;
  right: var(--space-4);
  transform: translateY(-50%);
  width: var(--space-6);
  height: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background-color: transparent;
  color: var(--color-text-muted);
  text-indent: -9999px;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.woocommerce-account .show-password-input::after {
  content: "\f06e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: var(--font-sm);
  line-height: 1;
  text-indent: 0;
}

.woocommerce-account .show-password-input:hover,
.woocommerce-account .show-password-input:focus {
  color: var(--color-text-black);
}

.woocommerce-account .show-password-input.display-password::after {
  content: "\f070";
}

.woocommerce-account button.button {
  background-color: var(--color-text-black);
  color: white;
  padding: var(--space-4) var(--space-8);
  border: none;
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.woocommerce-account button.button:hover {
  opacity: 0.8;
}

.woocommerce-form-login .button,
.woocommerce-form-register .button {
  width: 100%;
  margin-top: var(--space-4);
}

/* Responsive Table */
@media (max-width: 600px) {
  .account-orders-table thead {
    display: none;
  }

  .account-orders-table tr {
    display: block;
    padding: var(--space-6) 0;
    border-bottom: 1px solid var(--color-border-faint);
  }

  .account-orders-table td {
    display: flex;
    justify-content: space-between;
    padding: var(--space-2) 0;
    border-bottom: none;
    text-align: right;
  }

  .account-orders-table td::before {
    content: attr(data-label);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--color-text-black);
  }
}

/* WooCommerce Order Received (Thank You) Page */
body.woocommerce-order-received {
  overflow-x: hidden;
}

.woocommerce-order-received .woocommerce {
  max-width: 900px;
  margin: var(--space-12) auto 0;
  padding: 0 var(--space-6) var(--space-12);
}

.woocommerce-order-received
  .woocommerce-notice--success.woocommerce-thankyou-order-received {
  margin: 0 0 var(--space-8);
  padding: var(--space-5) var(--space-6);
  border: 1px solid var(--color-border);
  background-color: var(--color-text-white);
  color: var(--color-text-black);
  font-size: var(--font-sm);
}

.woocommerce-order-received .woocommerce-order-overview {
  list-style: none;
  margin: 0 0 var(--space-10);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  background-color: var(--color-text-white);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4) var(--space-6);
}

.woocommerce-order-received .woocommerce-order-overview li {
  margin: 0;
  font-size: var(--font-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.woocommerce-order-received .woocommerce-order-overview li strong {
  display: block;
  margin-top: var(--space-2);
  font-family: var(--font-secondary);
  font-size: var(--font-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text-black);
}

.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
  margin-top: var(--space-8);
}

.woocommerce-order-received .woocommerce-order-details__title,
.woocommerce-order-received .woocommerce-column__title {
  margin-bottom: var(--space-5);
  font-family: var(--font-primary);
  font-size: var(--font-xl);
  font-weight: var(--weight-regular);
  color: var(--color-text-black);
}

.woocommerce-order-received .woocommerce-table--order-details,
.woocommerce-order-received .woocommerce-table--customer-details,
.woocommerce-order-received .woocommerce-customer-details address {
  width: 100%;
  border: 1px solid var(--color-border);
  border-collapse: collapse;
  background-color: var(--color-text-white);
}

.woocommerce-order-received .woocommerce-table--order-details th,
.woocommerce-order-received .woocommerce-table--order-details td,
.woocommerce-order-received .woocommerce-table--customer-details th,
.woocommerce-order-received .woocommerce-table--customer-details td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--font-sm);
  color: var(--color-text-black);
  text-align: left;
}

.woocommerce-order-received .woocommerce-table--order-details th,
.woocommerce-order-received .woocommerce-table--customer-details th {
  font-size: var(--font-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--weight-semibold);
  color: var(--color-text-muted);
}

.woocommerce-order-received .woocommerce-table--order-details tfoot th,
.woocommerce-order-received .woocommerce-table--order-details tfoot td {
  font-weight: var(--weight-semibold);
}

.woocommerce-order-received .woocommerce-customer-details address {
  margin: 0;
  padding: var(--space-5);
  font-size: var(--font-sm);
  line-height: var(--line-height-loose);
  font-style: normal;
  color: var(--color-text-black);
}

.woocommerce-order-received .woocommerce-order-details a,
.woocommerce-order-received .woocommerce-customer-details a {
  color: var(--color-text-black);
  text-decoration: underline;
  text-underline-offset: var(--space-1);
}

.woocommerce-order-received .woocommerce-order-details a:hover,
.woocommerce-order-received .woocommerce-customer-details a:hover {
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .woocommerce-order-received .woocommerce {
    margin-top: var(--space-8);
    padding: 0 var(--space-4) var(--space-8);
  }

  .woocommerce-order-received .woocommerce-order-overview {
    grid-template-columns: 1fr;
  }

  .woocommerce-order-received .woocommerce-table--order-details th,
  .woocommerce-order-received .woocommerce-table--order-details td,
  .woocommerce-order-received .woocommerce-table--customer-details th,
  .woocommerce-order-received .woocommerce-table--customer-details td {
    padding: var(--space-3) var(--space-4);
  }
}

/* --- Policy / legal pages (Policy Page template) --- */
body.wcb-policy-page {
  background-color: var(--color-bg-light);
}

.wcb-policy-page .top-bar {
  color: var(--color-text-white);
  background-color: var(--color-bg-dark);
  margin-bottom: var(--space-2);
  font-size: var(--font-xs);
  padding-bottom: var(--space-2);
}

.wcb-policy-page .top-bar__text {
  color: var(--color-text-white);
}

.wcb-policy-page .site-header {
  color: var(--color-text-white);
}

.wcb-policy-page .site-header.is-sticky,
.wcb-policy-page .site-header.search-active,
.wcb-policy-page .site-header.menu-active {
  background-color: var(--color-bg-dark);
  color: var(--color-text-white);
  border-bottom-color: var(--color-border-header-inverse);
}

.wcb-policy-page .site-header.menu-active .top-bar {
  color: var(--color-text-white);
}

.wcb-policy-page .site-header.menu-active .menu-toggle,
.wcb-policy-page .site-header.menu-active .search-toggle,
.wcb-policy-page .site-header.menu-active .header-actions__item a,
.wcb-policy-page .site-header.menu-active .header-actions__item button,
.wcb-policy-page .site-header.menu-active .header-actions__item i,
.wcb-policy-page .site-header.menu-active .header-icon {
  color: var(--color-text-white);
}

.wcb-policy-page .site-branding img {
  filter: brightness(0) invert(1);
}

.wcb-policy-page .site-branding img:hover {
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.wcb-policy-page .policy-page {
  padding: calc(var(--header-height) + var(--space-10)) var(--space-4)
    var(--space-16);
  margin-top: var(--space-10);
}

.has-drawer-nav.wcb-policy-page .policy-page {
  padding-top: var(--space-10);
}

.wcb-policy-page .policy-page__inner {
  width: 100%;
  max-width: 78.125rem;
  margin-left: auto;
  margin-right: auto;
}

.wcb-policy-page .policy-page__header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.wcb-policy-page .policy-page__title {
  font-family: var(--font-heading);
  font-size: var(--font-3xl);
  font-weight: var(--weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text-black);
  margin: 0;
}

.wcb-policy-page .policy-page__content {
  text-align: left;
  color: var(--color-text-black);
}

.wcb-policy-page .policy-page__content > *:first-child {
  margin-top: 0;
}

.wcb-policy-page .policy-page__content p,
.wcb-policy-page .policy-page__content li {
  font-size: var(--font-base);
  line-height: var(--line-height-loose);
  color: var(--color-text-black);
}

.wcb-policy-page .policy-page__content p {
  margin-bottom: var(--space-6);
}

.wcb-policy-page .policy-page__content h2,
.wcb-policy-page .policy-page__content h3,
.wcb-policy-page .policy-page__content h4 {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  color: var(--color-text-black);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  text-align: left;
}

.wcb-policy-page .policy-page__content h2 {
  font-size: var(--font-xl);
}

.wcb-policy-page .policy-page__content h3 {
  font-size: var(--font-lg);
}

.wcb-policy-page .policy-page__content ul,
.wcb-policy-page .policy-page__content ol {
  margin: 0 0 var(--space-6);
  padding-left: var(--space-6);
  text-align: left;
}

.wcb-policy-page .policy-page__content ul {
  list-style: disc;
}

.wcb-policy-page .policy-page__content ol {
  list-style: decimal;
}

.wcb-policy-page .policy-page__content li {
  margin-bottom: var(--space-2);
}

.wcb-policy-page .policy-page__content a {
  color: var(--color-text-black);
  text-decoration: underline;
  text-underline-offset: var(--space-1);
}

.wcb-policy-page .policy-page__content a:hover,
.wcb-policy-page .policy-page__content a:focus-visible {
  opacity: 0.7;
}

.wcb-policy-page .policy-page__content .wp-block-separator {
  margin-top: var(--space-10);
  margin-bottom: var(--space-10);
  border-color: var(--color-border);
}

@media (max-width: 1024px) {
  .wcb-policy-page .policy-page {
    padding-top: calc(var(--header-height) + var(--space-10));
  }

  .wcb-policy-page .site-header {
    border-bottom: 1px solid var(--color-border-header-inverse);
  }
}

@media (max-width: 768px) {
  .wcb-policy-page .policy-page {
    padding-top: calc(var(--header-height) + var(--space-6));
    padding-bottom: var(--space-12);
  }

  .wcb-policy-page .policy-page__title {
    font-size: var(--font-2xl);
  }
}

/* --- Drawer navigation layout --- */
.has-drawer-nav {
  --drawer-bar-height: 3.25rem;
  --drawer-menu-width: 26rem;
  --drawer-sheet-max-height: calc(
    100vh - var(--drawer-bar-height) - var(--space-8) - var(--space-4) -
      var(--space-4)
  );
}

.has-drawer-nav #page {
  position: relative;
  padding-bottom: calc(var(--drawer-bar-height) + var(--space-8));
}

.site-header--drawer {
  background-color: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.site-header--drawer.is-sticky,
.site-header--drawer.search-active {
  background-color: transparent;
  color: var(--color-text-white);
  border-bottom-color: transparent;
  box-shadow: none;
}

.site-header--drawer.is-sticky .top-bar,
.site-header--drawer.search-active .top-bar {
  max-height: calc(var(--top-bar-height) + var(--space-5));
  margin-bottom: var(--space-5);
  opacity: 1;
  pointer-events: auto;
}

.has-drawer-nav .drawer-nav-menu__overlay {
  position: fixed;
  inset: 0;
  width: auto;
  height: auto;
  z-index: calc(var(--z-sticky) - 1);
  background-color: var(--color-overlay-dark);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--transition-base),
    visibility var(--transition-base);
}

.has-drawer-nav.drawer-cart-open .drawer-nav-menu__overlay,
.has-drawer-nav.drawer-menu-open .drawer-nav-menu__overlay {
  z-index: 1999;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-header--drawer {
  padding: var(--space-4) 0;
  z-index: 2000;
}

.site-header--drawer .site-header__container--drawer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-6);
}

.site-header--drawer .site-branding {
  position: static;
  left: auto;
  transform: none;
  flex: 1 1 auto;
  min-width: 0;
  max-width: fit-content;
  align-self: flex-start;
}

.custom-logo-link {
  max-width: fit-content;
  display: block;
}

.site-header--drawer .site-branding img {
  max-width: min(54vw, 30rem);
  max-height: 7rem;
  width: auto;
  height: auto;
  filter: none;
}

.is-home
  .site-header--drawer:not(.is-sticky):not(.search-active):not(.menu-active)
  .site-branding
  img,
.is-shop-hero
  .site-header--drawer:not(.is-sticky):not(.search-active):not(.menu-active)
  .site-branding
  img {
  filter: brightness(0) invert(1);
}

.site-header--drawer .site-branding .site-title {
  margin: 0;
  line-height: var(--line-height-tight);
}

.site-header--drawer .site-branding .site-title a {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: var(--weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: inherit;
}

.site-header--drawer.search-active .site-branding img {
  filter: brightness(0) invert(1);
}

.site-header--drawer.menu-active {
  background-color: transparent;
  color: var(--color-text-white);
  border-bottom-color: transparent;
  box-shadow: none;
}

.site-header--drawer.menu-active .site-branding img {
  filter: brightness(0) invert(1);
}

.site-header--drawer.menu-active .top-bar {
  color: inherit;
}

.drawer-nav-bar {
  position: relative;
  z-index: var(--z-raised);
  flex: 0 0 auto;
  align-self: flex-start;
}

.drawer-nav-bar__unit {
  position: relative;
  width: var(--drawer-menu-width);
  max-width: 100%;
}

.drawer-nav-bar__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--drawer-bar-height);
  padding: var(--space-1) var(--space-3) var(--space-1) var(--space-1);
  background-color: #edefea;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.2);
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base);
}

.drawer-nav-bar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: calc(var(--drawer-bar-height) - var(--space-2));
  padding: 0.9375rem 2.1875rem;
  width: 250px;
  max-width: 300px;
  border-radius: var(--radius-lg);
  background-color: #1b1a21;
  color: var(--color-text-white);
  font-family: var(--font-body);
  font-size: var(--font-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast);
}

.drawer-nav-bar__cta:hover,
.drawer-nav-bar__cta:focus-visible {
  opacity: 0.85;
  transform: scale(0.98);
}

.drawer-nav-bar__actions {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
}

.drawer-nav-bar__cart,
.drawer-nav-bar__menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--space-10);
  height: var(--space-10);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-black);
  cursor: pointer;
  transition:
    opacity var(--transition-fast),
    color var(--transition-base);
}

.drawer-nav-bar__cart:hover,
.drawer-nav-bar__cart:focus-visible,
.drawer-nav-bar__menu-toggle:hover,
.drawer-nav-bar__menu-toggle:focus-visible {
  opacity: 0.7;
}

.drawer-nav-bar__menu-toggle {
  position: relative;
  width: var(--space-8);
  height: var(--space-8);
}

.drawer-nav-menu__panel {
  position: absolute;
  top: calc(100% + var(--space-3));
  right: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  background-color: #edefea;
  color: var(--color-text-black);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition:
    max-height var(--transition-slow),
    opacity var(--transition-base),
    visibility var(--transition-base);
}

.drawer-nav-bar.is-open .drawer-nav-menu__panel,
.drawer-nav-menu__panel.is-active {
  opacity: 1;
  visibility: visible;
}

.drawer-nav-menu__scroll {
  overflow-y: auto;
  padding: var(--space-6) var(--space-4) var(--space-8);
  -webkit-overflow-scrolling: touch;
}

.drawer-nav-menu__eyebrow {
  margin: 0 0 var(--space-6);
  font-family: var(--font-body);
  font-size: var(--font-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.drawer-nav-menu__featured {
  list-style: none;
  margin: 0 0 var(--space-6);
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.drawer-nav-menu__featured-item {
  border-bottom: 1px solid var(--color-border);
}

.drawer-nav-menu__featured-link {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  color: inherit;
  transition: opacity var(--transition-fast);
}

.drawer-nav-menu__featured-link:hover,
.drawer-nav-menu__featured-link:focus-visible {
  opacity: 0.75;
}

.drawer-nav-menu__featured-media {
  flex: 0 0 3.5rem;
  width: 3.5rem;
  height: 4.5rem;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-light);
}

.drawer-nav-menu__featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-nav-menu__featured-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.drawer-nav-menu__featured-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--font-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.drawer-nav-menu__featured-title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--font-sm);
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.drawer-nav-menu__featured-title i {
  font-size: var(--font-xs);
}

.drawer-nav-menu__shop-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  margin-bottom: var(--space-6);
  border-radius: var(--radius-lg);
  background-color: var(--color-bg-dark);
  color: var(--color-text-white);
  font-family: var(--font-body);
  font-size: var(--font-sm);
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity var(--transition-fast);
}

.drawer-nav-menu__shop-btn:hover,
.drawer-nav-menu__shop-btn:focus-visible {
  opacity: 0.85;
}

.drawer-nav-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.drawer-nav-menu__list > li {
  border-bottom: 1px solid var(--color-border);
}

.drawer-nav-menu__list > li > a {
  display: block;
  padding: var(--space-4) 0;
  font-family: var(--font-body);
  font-size: var(--font-sm);
  font-weight: var(--weight-regular);
  color: var(--color-text-black);
  transition: opacity var(--transition-fast);
}

.drawer-nav-menu__list > li > a:hover,
.drawer-nav-menu__list > li > a:focus-visible {
  opacity: 0.7;
}

.site-header--drawer.menu-active .site-header__container--drawer {
  align-items: flex-start;
}

.site-header--drawer.menu-active .site-branding {
  align-self: flex-start;
}

.has-drawer-nav.drawer-menu-open .drawer-nav-bar__inner {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.has-drawer-nav.drawer-menu-open .drawer-nav-bar__cta {
  background-color: var(--color-bg-dark);
  color: var(--color-text-white);
}

.has-drawer-nav.drawer-cart-open .drawer-nav-bar__inner {
  box-shadow: var(--shadow-md);
}

@media (min-width: 1025px) {
  .has-drawer-nav #page {
    padding-bottom: 0;
  }

  .site-header--drawer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
  }

  .site-header--drawer.is-sticky,
  .site-header--drawer.search-active {
    color: var(--color-text-white);
    padding: var(--space-4) 0;
  }

  .drawer-nav-bar.is-sticky {
    position: fixed;
    top: var(--space-4);
    right: var(--space-4);
    left: auto;
    z-index: calc(var(--z-sticky) + 1);
  }

  .drawer-nav-bar__unit {
    width: var(--drawer-menu-width);
  }

  .site-header--drawer .site-header__container--drawer {
    align-items: center;
  }

  .has-drawer-nav.drawer-menu-open .drawer-nav-bar__unit {
    overflow: visible;
    box-shadow: none;
  }

  .has-drawer-nav.drawer-menu-open .drawer-nav-bar__inner {
    box-shadow: var(--shadow-md);
  }

  .has-drawer-nav.drawer-cart-open .drawer-nav-bar__unit,
  .has-drawer-nav.drawer-menu-open .drawer-nav-bar__unit {
    overflow: visible;
    box-shadow: none;
  }

  .drawer-nav-bar.is-open .drawer-nav-menu__panel,
  .drawer-nav-menu__panel.is-active {
    max-height: var(
      --drawer-sheet-max-height-dynamic,
      calc(100vh - var(--space-16))
    );
  }

  .has-drawer-nav .cart-drawer--sheet.is-active {
    max-height: var(
      --drawer-sheet-max-height-dynamic,
      calc(100vh - var(--space-16))
    );
  }
}

@media (max-width: 1024px) {
  .has-drawer-nav #page {
    padding-bottom: calc(var(--drawer-bar-height) + var(--space-10));
  }

  .has-drawer-nav:not(.is-home):not(.is-shop-hero) #page {
    padding-top: var(--drawer-mobile-logo-offset);
  }

  .has-drawer-nav.drawer-menu-open .drawer-nav-menu__overlay,
  .has-drawer-nav.drawer-cart-open .drawer-nav-menu__overlay {
    background-color: var(--color-overlay-heavy);
  }

  .site-header--drawer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--space-2) 0 0;
    background-color: transparent;
    border-bottom: 0;
  }

  .site-header--drawer .site-header__container--drawer {
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 0;
    padding-bottom: 0;
  }

  .site-header--drawer .site-branding {
    display: block;
    position: static;
    left: auto;
    transform: none;
    flex: 0 0 auto;
    max-width: min(55vw, var(--drawer-menu-width));
    align-self: flex-start;
  }

  .site-header--drawer .site-branding img {
    max-width: 100%;
    max-height: 4rem;
    filter: none;
  }

  .is-home
    .site-header--drawer:not(.is-sticky):not(.search-active):not(.menu-active)
    .site-branding
    img,
  .is-shop-hero
    .site-header--drawer:not(.is-sticky):not(.search-active):not(.menu-active)
    .site-branding
    img {
    filter: brightness(0) invert(1);
  }

  :not(.is-home):not(.is-shop-hero) .site-header--drawer {
    color: var(--color-text-black);
  }

  .site-header--drawer .drawer-nav-bar {
    position: fixed;
    left: var(--space-4);
    right: var(--space-4);
    bottom: var(--space-4);
    width: auto;
  }

  .site-header--drawer .drawer-nav-bar__unit {
    width: 100%;
  }

  .site-header--drawer .drawer-nav-bar__inner {
    width: 100%;
    padding-inline: var(--space-2);
    min-height: 3.75rem;
  }

  .site-header--drawer .drawer-nav-bar__cta {
    flex: 1;
    max-width: none;
  }

  .has-drawer-nav.drawer-menu-open .drawer-nav-bar__unit {
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
  }

  .has-drawer-nav.drawer-menu-open .drawer-nav-bar__inner {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }

  .drawer-nav-menu__panel {
    position: fixed;
    top: auto;
    right: var(--space-4);
    left: var(--space-4);
    bottom: var(
      --drawer-sheet-bottom,
      calc(var(--drawer-bar-height) + var(--space-8) + var(--space-4))
    );
    width: auto;
    max-height: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    z-index: calc(var(--z-sticky) + 4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transform: none;
    transition:
      max-height var(--transition-slow),
      opacity var(--transition-base),
      visibility var(--transition-slow);
  }

  .drawer-nav-menu__panel.is-active {
    max-height: var(
      --drawer-sheet-max-height-dynamic,
      var(--drawer-sheet-max-height)
    );
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow: hidden;
  }

  .drawer-nav-menu__panel.is-active .drawer-nav-menu__scroll {
    max-height: var(
      --drawer-sheet-max-height-dynamic,
      var(--drawer-sheet-max-height)
    );
  }

  .has-drawer-nav .cart-drawer--sheet {
    position: fixed;
    top: auto;
    right: var(--space-4);
    left: var(--space-4);
    width: auto;
    max-width: none;
    bottom: var(
      --drawer-sheet-bottom,
      calc(var(--drawer-bar-height) + var(--space-8) + var(--space-4))
    );
    z-index: calc(var(--z-sticky) + 4);
    box-sizing: border-box;
  }

  .has-drawer-nav .cart-drawer--sheet.is-active {
    max-height: var(
      --drawer-sheet-max-height-dynamic,
      var(--drawer-sheet-max-height)
    );
  }

  .has-drawer-nav .cart-drawer--sheet .cart-drawer__content {
    max-height: var(
      --drawer-sheet-max-height-dynamic,
      var(--drawer-sheet-max-height)
    );
    overflow-x: hidden;
    min-width: 0;
  }

  .has-drawer-nav .cart-drawer--sheet .mini_cart_item {
    min-width: 0;
  }

  .has-drawer-nav .cart-drawer--sheet .mini-cart-item__details {
    min-width: 0;
  }

  .has-drawer-nav .cart-drawer--sheet .mini-cart-item__image {
    width: 5.5rem;
  }

  .has-drawer-nav.drawer-cart-open .drawer-nav-bar__unit {
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
  }

  .has-drawer-nav.drawer-cart-open .drawer-nav-bar__inner {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }

  .site-header--drawer .drawer-nav-bar {
    z-index: calc(var(--z-sticky) + 3);
  }
}
