/*
Theme Name: Element47 Aesop Inspired
Theme URI: https://example.local/element47-aesop
Author: Element47
Author URI: https://example.local
Description: A clean WooCommerce-ready theme inspired by minimalist premium retail design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: element47-aesop
*/

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

html,
body {
  margin: 0;
  padding: 0;
}

/* Hide vertical scrollbar globally; scrolling still works (keyboard, touch, wheel). */
html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* legacy Edge */
}

html::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  scrollbar-width: none;
  -ms-overflow-style: none;
  font-family: var(--e47-font-body);
  color: var(--e47-color-text);
  background: var(--e47-color-bg-page);
  line-height: var(--e47-leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--e47-font-heading);
}

h2 {
  font-weight: 500;
  font-size: 1.5rem;
}

button,
input[type="button"],
input[type="submit"] {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(var(--e47-container-max), calc(100% - var(--e47-container-gutter)));
  margin: 0 auto;
}

/*
 * Announcement Bar
 */
.announcement-bar {
  height: 34px;
  overflow: hidden;
  background: #e9e2d4;
  color: #2c2721;
  display: flex;
  align-items: center;
}

.announcement-bar__track {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  white-space: nowrap;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-width: max-content;
  padding-left: 100%;
  animation: e47-announcement-scroll 20s linear infinite;
}

@keyframes e47-announcement-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/*
 * Header
 */
.site-header {
  background: #fff;
  border-bottom: 1px solid #d8d0c3;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.2s linear;
  padding: 1rem 0;
  overflow: visible;
}

.site-header.is-scrolled {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.2s linear;
  box-shadow: 0 2px 10px 2px #0000000f !important;
  background: #fff;
}

.site-header__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  overflow: visible;
}

.site-branding a {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-branding img,
.site-branding .custom-logo {
  height: 75px;
  width: auto;
}

.site-branding .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
  justify-content: flex-start;
}

.main-nav a {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 1px;
  background: #24201b;
  transition: width 220ms ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Aesop-style: parent stays underlined while mega is open (hover / keyboard). */
@media (min-width: 769px) {
  .main-nav > ul > li.e47-has-mega:hover > a::after,
  .main-nav > ul > li.e47-has-mega:focus-within > a::after {
    width: 100%;
  }

  .main-nav > ul > .menu-item-has-children:not(.e47-has-mega):hover > a::after,
  .main-nav > ul > .menu-item-has-children:not(.e47-has-mega):focus-within > a::after {
    width: 100%;
  }
}

.main-nav > ul > li {
  position: relative;
}

@media (min-width: 769px) {
  /* Open dropdown stacks above other top-level items so the panel does not cover them */
  .main-nav > ul > .menu-item-has-children:not(.e47-has-mega):hover,
  .main-nav > ul > .menu-item-has-children:not(.e47-has-mega):focus-within {
    z-index: 80;
  }

  /* Trigger label stays above the submenu edge; extra hit area without overlapping text */
  .main-nav > ul > .menu-item-has-children:not(.e47-has-mega) > a {
    position: relative;
    z-index: 2;
    padding-bottom: 10px;
    margin-bottom: -10px;
  }
}

/*
 * Skincare mega menu (Aesop-inspired: full-bleed panel, soft motion, editorial type)
 */
.e47-mega {
  --e47-mega-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --e47-mega-dur: 0.38s;
  position: absolute;
  z-index: 500;
  padding: 0;
  background: #fffef9;
  border-top: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3e3;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--e47-mega-dur) var(--e47-mega-ease),
    transform var(--e47-mega-dur) var(--e47-mega-ease),
    visibility 0s linear var(--e47-mega-dur);
}

.e47-has-mega:hover > .e47-mega,
.e47-has-mega:focus-within > .e47-mega,
.e47-has-mega.is-open > .e47-mega {
  transition:
    opacity var(--e47-mega-dur) var(--e47-mega-ease),
    transform var(--e47-mega-dur) var(--e47-mega-ease),
    visibility 0s linear 0s;
}

@media (min-width: 769px) {
  .main-nav > ul > li.e47-has-mega {
    position: static;
  }

  /* Hover gap filler only — must not capture clicks over the mega panel. */
  .main-nav > ul > li.e47-has-mega > a::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.45rem;
    width: min(200px, 90vw);
    height: 20px;
    pointer-events: none;
  }

  .e47-mega {
    top: 100%;
    left: 50%;
    right: auto;
    transform: translate3d(-50%, -10px, 0);
    width: 100vw;
    max-width: 100vw;
    margin-top: -25px;
    padding-top: 0;
    box-sizing: border-box;
  }

  .e47-has-mega:hover > .e47-mega,
  .e47-has-mega:focus-within > .e47-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 768px) {
  .e47-mega {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    width: 100vw;
    max-width: none;
    transform: translate3d(0, -8px, 0);
    margin-top: 0;
    padding-top: 0;
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    z-index: 250;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  }

  .e47-has-mega.is-open .e47-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }
}

/* WordPress submenu rows are not used for the mega layout. */
.e47-has-mega > .sub-menu {
  display: none !important;
}

/* Standard dropdowns — sit below trigger; anchor z-index keeps parent label visible */
.main-nav > ul > .menu-item-has-children:not(.e47-has-mega) > .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0.65rem 0;
  min-width: 17.5rem;
  list-style: none;
  background: #fffef9;
  border: 1px solid #e3e3e3;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, -4px, 0);
  transition: opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.22s;
  display: grid;
  gap: 0;
}

.main-nav > ul > .menu-item-has-children:not(.e47-has-mega):hover > .sub-menu,
.main-nav > ul > .menu-item-has-children:not(.e47-has-mega):focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

.main-nav > ul > .menu-item-has-children:not(.e47-has-mega) .sub-menu a {
  display: block;
  padding: 0.4rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
}

.main-nav > ul > .menu-item-has-children:not(.e47-has-mega) .sub-menu a::after {
  display: none;
}

/* Nested flyouts when Primary menu has depth > 1 (WordPress custom menus). */
@media (min-width: 769px) {
  .main-nav .sub-menu .menu-item-has-children {
    position: relative;
  }

  .main-nav .sub-menu .menu-item-has-children:hover,
  .main-nav .sub-menu .menu-item-has-children:focus-within {
    z-index: 10;
  }

  .main-nav .sub-menu .menu-item-has-children > .sub-menu {
    position: absolute;
    top: 0;
    left: calc(100% - 10px);
    margin: 0;
    padding: 0.65rem 0;
    min-width: 15rem;
    list-style: none;
    background: #fffef9;
    border: 1px solid #e3e3e3;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
    z-index: 460;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(-6px, 0, 0);
    transition:
      opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0.22s;
  }

  .main-nav .sub-menu .menu-item-has-children:hover > .sub-menu,
  .main-nav .sub-menu .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition:
      opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0s;
  }

  .main-nav .sub-menu .menu-item-has-children > .sub-menu a {
    display: block;
    padding: 0.4rem 1.15rem;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .main-nav > ul > .menu-item-has-children:not(.e47-has-mega) > .sub-menu {
    position: static;
    margin: 0.35rem 0 0;
    padding: 0 0 0 0.75rem;
    min-width: 0;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    display: none;
    pointer-events: auto;
  }

  .main-nav > ul > .menu-item-has-children:not(.e47-has-mega).is-open > .sub-menu {
    display: block;
  }

  .main-nav > ul > .menu-item-has-children:not(.e47-has-mega) .sub-menu a {
    white-space: normal;
    padding: 0.35rem 0;
  }
}

.e47-mega__inner {
  width: min(1320px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 340px;
}

.e47-mega__featured {
  background: #252322;
  color: #faf8f4;
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.e47-mega__featured-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
  color: #faf8f4;
}

.e47-mega__featured-title span {
  display: block;
}

.e47-mega__featured-copy {
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: rgba(250, 248, 244, 0.82);
  margin: 0 0 1.75rem;
  max-width: 24rem;
  font-weight: 400;
}

.e47-mega__featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.e47-mega__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  font-family: var(--e47-button-font-family);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--e47-button-radius);
  transition: background 0.28s var(--e47-mega-ease, ease),
    color 0.28s var(--e47-mega-ease, ease),
    border-color 0.28s var(--e47-mega-ease, ease);
}

.e47-mega__btn--solid {
  background: var(--e47-button-mega-solid-bg);
  color: var(--e47-button-mega-solid-fg);
  border-color: var(--e47-button-mega-solid-bg);
}

.e47-mega__btn--solid:hover {
  background: var(--e47-button-mega-solid-bg-hover);
  border-color: var(--e47-button-mega-solid-bg-hover);
}

.e47-mega__btn--outline {
  background: transparent;
  color: var(--e47-button-on-dark-ghost-fg);
  border-color: var(--e47-button-on-dark-ghost-border);
}

.e47-mega__btn--outline:hover {
  border-color: var(--e47-button-on-dark-ghost-border-solid-hover);
  background: var(--e47-button-on-dark-ghost-bg-hover-strong);
}

.e47-mega__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem 3rem;
  padding: 2.5rem 2.5rem 2.75rem 3rem;
  background: #fffef9;
}

@media (max-width: 960px) {
  .e47-mega__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .e47-mega__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1.5rem 1.25rem 1.75rem;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .e47-mega__columns {
    grid-template-columns: 1fr;
  }
}

.e47-mega__col {
  min-width: 0;
}

.e47-mega__heading {
  margin: 0 0 1.15rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.e47-mega__col:first-child .e47-mega__heading {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.e47-mega__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav ul.e47-mega__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-grid !important;
  gap: 0;
}

.e47-mega__list li {
  margin: 0 0 0.55rem;
}

.e47-mega__list a {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #333231;
  line-height: 1.45;
  display: inline-block;
  text-decoration: none;
  border-bottom: none;
  text-underline-offset: 0.22em;
  transition: color 0.22s var(--e47-mega-ease, ease),
    text-decoration-color 0.22s var(--e47-mega-ease, ease);
  text-decoration-color: transparent;
}

.e47-mega__list a:hover {
  color: #0d0d0d;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: currentColor;
}

.e47-mega__list--spaced {
  margin-top: 0.65rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e8e4dc;
}

.e47-mega__list--spaced a {
  max-width: 11rem;
}

/* Hub mega: four columns (Hand & Body, Hair, About Us, Blogs & Literature) */
.e47-mega--hub {
  background: #fff;
}

.e47-mega-hub__inner {
  width: min(1320px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  padding: 2.25rem 0 2.85rem;
  box-sizing: border-box;
}

.e47-mega-hub__heading {
  margin: 0 0 1.05rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.e47-mega--hub .e47-mega__list--spaced--hub {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e8e4dc;
  list-style: none;
}

.e47-mega--hub .e47-mega__list--spaced--hub a {
  max-width: none;
}

@media (max-width: 1100px) {
  .e47-mega-hub__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .e47-mega-hub__inner {
    grid-template-columns: 1fr;
    padding: 1.25rem 0 1.5rem;
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .e47-mega {
    --e47-mega-dur: 0.01ms;
  }

  @media (min-width: 769px) {
    .e47-mega {
      transform: translate3d(-50%, 0, 0);
    }
  }

  @media (max-width: 768px) {
    .e47-mega {
      transform: none;
    }

    .e47-has-mega.is-open .e47-mega {
      transform: none;
    }
  }
}

.site-header__utilities {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-branding,
.main-nav,
.site-header__utilities {
  display: flex;
  align-items: center;
}

.main-nav {
  margin: 0 auto;
  overflow: visible;
}

.site-branding {
  margin-left: 0;
  position: static;
  transform: none;
  z-index: auto;
}

.site-header__search input[type="search"] {
  width: 160px;
  height: 34px;
  padding: 0.35rem 0.55rem;
  border: 0;
  background: #ece7dc;
  color: #29251f;
  font-size: 0.82rem;
}

.site-header__search input[type="search"]:focus {
  outline: none;
  background: #e6e0d3;
}

.home-video-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: min(88vh, 860px);
  overflow: hidden;
  background: #0b0b0c;
}

.home-video-banner__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.home-video-banner__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 8, 9, 0.93) 0%, rgba(8, 8, 9, 0.8) 40%, rgba(8, 8, 9, 0.42) 68%, rgba(8, 8, 9, 0.22) 100%),
    radial-gradient(ellipse 85% 65% at 58% 38%, rgba(255, 255, 255, 0.045), transparent 58%);
  pointer-events: none;
}

.home-video-banner__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(4.5rem, 10vw, 7rem) 0 clamp(1.25rem, 3vw, 2rem);
}

.home-video-banner__grid {
  flex: 1;
  display: block;
}

.home-video-banner__content {
  text-align: left;
  max-width: 34rem;
}

.home-video-banner__eyebrow {
  margin: 0 0 1.1rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.home-video-banner__title {
  margin: 0 0 1.25rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  line-height: 1.02;
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  letter-spacing: 0.01em;
  color: #faf8f4;
}

.home-video-banner__title-line {
  display: block;
}

.home-video-banner__title-line--accent {
  color: #c4b08e;
}

.home-video-banner__lead {
  margin: 0 0 1.85rem;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  line-height: 1.65;
  color: rgba(250, 248, 244, 0.88);
  max-width: 38ch;
}

.home-video-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
}

.home-video-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.55rem 1.35rem;
  font-family: var(--e47-button-font-family);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: var(--e47-tracking-button);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--e47-button-radius);
  transition: var(--e47-button-transition);
}

.home-video-banner__btn--primary {
  background: var(--e47-button-on-dark-primary-bg);
  color: var(--e47-button-on-dark-primary-fg);
  border: 1px solid var(--e47-button-on-dark-primary-border);
}

.home-video-banner__btn--primary:hover {
  background: var(--e47-button-on-dark-primary-bg-hover);
  border-color: var(--e47-button-on-dark-primary-bg-hover);
  color: var(--e47-button-on-dark-primary-fg-hover);
}

.home-video-banner__btn--ghost {
  background: transparent;
  color: var(--e47-button-on-dark-ghost-fg);
  border: 1px solid var(--e47-button-on-dark-ghost-border);
}

.home-video-banner__btn--ghost:hover {
  border-color: var(--e47-button-on-dark-ghost-border-hover);
  background: var(--e47-button-on-dark-ghost-bg-hover);
}

.home-video-banner__strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "DM Sans", sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.42);
}

.home-video-banner__content > * {
  opacity: 0;
  transform: translateY(14px);
  animation: homeBannerTextIn 760ms ease forwards;
}

.home-video-banner__content > *:nth-child(1) {
  animation-delay: 80ms;
}

.home-video-banner__content > *:nth-child(2) {
  animation-delay: 200ms;
}

.home-video-banner__content > *:nth-child(3) {
  animation-delay: 320ms;
}

.home-video-banner__content > *:nth-child(4) {
  animation-delay: 440ms;
}

@keyframes homeBannerTextIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-video-banner__content > * {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .home-video-banner__content {
    margin: 0 auto;
    text-align: center;
    max-width: 36rem;
  }

  .home-video-banner__actions {
    justify-content: center;
  }

  .home-video-banner__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .home-video-banner__strip {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .home-video-banner {
    min-height: auto;
  }

  .home-video-banner__body {
    padding-top: 5.25rem;
  }
}

/* Homepage: Our philosophy */
.home-philosophy {
  padding: 8rem 0 8rem;
  background: #fffef9;
}

.home-philosophy__kicker {
  margin: 0 0 1rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b09a78;
}

.home-philosophy__title {
  margin: 0 0 1.25rem;
  max-width: 22ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #2a2622;
}

.home-philosophy__title-line {
  display: block;
}

.home-philosophy__lead {
  margin: 0 0 2.75rem;
  max-width: 52rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #5c574e;
}

.home-philosophy__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #e3e3e3;
}

.home-philosophy__cell {
  margin: 0;
  padding: 2rem 1.35rem 2.25rem;
  text-align: center;
}

.home-philosophy__cell + .home-philosophy__cell {
  border-left: 1px solid #e3e3e3;
}

.home-philosophy__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #b09a78;
}

.home-philosophy__icon--ag {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
}

.home-philosophy__svg {
  display: block;
}

.home-philosophy__cell-title {
  margin: 0 0 0.85rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #2a2622;
}

.home-philosophy__cell-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #5c574e;
}

@media (max-width: 960px) {
  .home-philosophy__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-philosophy__cell {
    border-left: 0;
  }

  .home-philosophy__cell:nth-child(2),
  .home-philosophy__cell:nth-child(4) {
    border-left: 1px solid #e3e3e3;
  }

  .home-philosophy__cell:nth-child(3),
  .home-philosophy__cell:nth-child(4) {
    border-top: 1px solid #e3e3e3;
  }
}

@media (max-width: 560px) {
  .home-philosophy {
    padding: 2.75rem 0 3rem;
  }

  .home-philosophy__grid {
    grid-template-columns: 1fr;
  }

  .home-philosophy__cell {
    border-left: 0 !important;
  }

  .home-philosophy__cell + .home-philosophy__cell {
    border-top: 1px solid #e3e3e3;
  }
}

/* Homepage: The science of Element 47 */
.home-science {
  padding: 8rem 0 8rem;
  background: #141312;
  color: #e8e6e3;
}

.home-science__header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem 3rem;
  align-items: start;
  margin-bottom: 2.75rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.home-science__kicker {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 230, 227, 0.55);
}

.home-science__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0.02em;
  color: #f5f2ed;
}

.home-science__title-accent {
  display: inline;
  font-style: italic;
  font-weight: 400;
}

.home-science__header-aside {
  align-self: end;
  padding-bottom: 0.15rem;
}

.home-science__rule {
  margin: 0 0 1.15rem;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.home-science__tagline {
  margin: 0;
  max-width: 32ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(232, 230, 227, 0.72);
}

.home-science__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 2.5rem;
}

.home-science__cell {
  margin: 0;
  padding: 2rem 1.75rem 2.35rem;
  transition: background-color 260ms ease;
}

.home-science__cell:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

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

.home-science__cell:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.home-science__cell:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.home-science__num {
  display: block;
  margin: 0 0 0.35rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.25rem, 7vw, 4.75rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.07);
}

.home-science__cell-title {
  margin: 0 0 0.9rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f5f2ed;
}

.home-science__cell-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.58;
  color: rgba(232, 230, 227, 0.78);
}

.home-science__callout {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  padding: 1.75rem 1.85rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.home-science__callout-mark {
  flex-shrink: 0;
  width: 4.25rem;
  height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #f5f2ed;
}

.home-science__callout-body {
  min-width: 0;
}

.home-science__callout-title {
  margin: 0 0 0.65rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f5f2ed;
  line-height: 1.3;
}

.home-science__callout-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.58;
  color: rgba(232, 230, 227, 0.76);
}

@media (max-width: 820px) {
  .home-science__header {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-bottom: 2rem;
    margin-bottom: 2.25rem;
  }

  .home-science__header-aside {
    align-self: start;
    padding-bottom: 0;
  }

  .home-science__rule {
    max-width: 12rem;
  }
}

@media (max-width: 560px) {
  .home-science {
    padding: 2.75rem 0 3.25rem;
  }

  .home-science__grid {
    grid-template-columns: 1fr;
  }

  .home-science__cell:nth-child(odd) {
    border-right: 0;
  }

  .home-science__cell:nth-child(-n + 2) {
    border-bottom: 0;
  }

  .home-science__cell + .home-science__cell {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .home-science__callout {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

.eyebrow {
  display: inline;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: #5e584f;
  padding: 5px 8px;
  margin-bottom: 10px;
  display: inline-block;
}

.btn {
  display: inline-block;
  border: 1px solid var(--e47-button-banner-border);
  padding: 0.85rem 1.1rem;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--e47-button-banner-bg);
  font-weight: 800;
  line-height: normal;
  border-radius: var(--e47-button-radius);
  transition: var(--e47-button-transition);
}

.btn:hover {
  background: var(--e47-button-banner-bg-hover);
  color: var(--e47-button-banner-fg-hover);
  transform: translateY(-1px);
}

/*
 * Content
 */
.site-main {
  flex: 1;
  padding: 0rem 0 0rem;
}

body:not(.home) .site-main > .container {
  width: min(var(--e47-container-max), calc(100% - var(--e47-container-gutter)));
}

body:not(.home) .site-main .container {
  text-align: left;
}

body:not(.home) .site-main .container p,
body:not(.home) .site-main .container ul,
body:not(.home) .site-main .container ol {
  max-width: 100%;
}

body:not(.home) .site-main .container ul,
body:not(.home) .site-main .container ol {
  margin: 0 0 2.4rem;
  padding-left: 1.35rem;
}

body:not(.home) .site-main .container li + li {
  margin-top: 0.35rem;
}

.page-title-banner {
  padding: 1.35rem 0 1.15rem;
  border-bottom: 1px solid #ddd5c8;
  background: #f9f8f6;
  margin-bottom: 2rem;
}

.page-title-banner__title {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 500;
  color: #1f1c18;
  line-height: 1.2;
}

.single-product .page-title-banner .woocommerce-breadcrumb {
  margin: 0;
}

.single-product .page-title-banner {
  padding: 1.35rem 0 1.15rem;
  border-bottom: none;
  background: #f9f8f6;
  margin-bottom: 0;
}

.section-title {
  margin: 0 0 1.2rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 500;
}

/* Homepage: collection (new arrivals) grid */
.home-collection {
  padding: 8rem 0 8rem;
  background: #faf8f4;
}

.home-collection__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.home-collection__intro {
  max-width: 36rem;
  text-align: left;
}

.home-collection__kicker {
  margin: 0 0 0.65rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a38f6e;
}

.home-collection__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: #2a2622;
  font-style: normal;
}

.home-collection__title-line {
  display: block;
  margin-top: 0.08em;
}

.home-collection__title-line em {
  font-family: inherit;
  font-style: italic;
  font-weight: 400;
  color: #6b655c;
}

.home-collection__link-all {
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0.15rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3a342c;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.home-collection__link-all:hover {
  opacity: 0.75;
}

.home-collection__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.1rem;
}

.home-collection__card {
  margin: 0;
  display: flex;
  flex-direction: column;
  /* background: #fff; */
  border-left: 1px #e5e2db solid;
  border-bottom: 1px #e5e2db solid;
}

.home-collection__card:first-child {
  border-left: none;
}

.home-collection__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f0ebe3;
}

.home-collection__image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.home-collection__image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 380ms ease;
}

.home-collection__card:hover .home-collection__image-link img {
  transform: scale(1.03);
}

.home-collection__badges {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  z-index: 1;
}

.home-collection__badges li {
  font-family: "DM Sans", sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2a2622;
  background: #d4c4a8;
  padding: 0.28rem 0.45rem;
  line-height: 1.2;
}

.home-collection__body {
  padding: 1.15rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.home-collection__name {
  margin: 0 0 0.4rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: #14110e;
}

.home-collection__name a {
  color: inherit;
  text-decoration: none;
}

.home-collection__name a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-collection__tagline {
  margin: 0 0 0.65rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #5c574e;
}

.home-collection__features {
  margin: 0 0 0.85rem;
  padding: 0 0 0 1rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #4a453d;
}

.home-collection__features li {
  margin-bottom: 0.2rem;
}

.home-collection__features li:last-child {
  margin-bottom: 0;
}

.home-collection__price {
  margin: 0 0 1rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #14110e;
}

.home-collection__price del {
  opacity: 0.65;
  font-weight: 500;
}

.home-collection__actions {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  margin-top: auto;
}

.home-collection__actions a.button,
.home-collection__actions a.add_to_cart_button,
.home-collection__actions .added_to_cart {
  flex: 1;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 !important;
  padding: 0.72rem 0.6rem !important;
  font-family: var(--e47-button-font-family) !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  border-radius: var(--e47-button-radius) !important;
  background: var(--e47-button-shop-dark-bg) !important;
  color: var(--e47-button-shop-dark-fg) !important;
  border: 1px solid var(--e47-button-shop-dark-border) !important;
  text-align: center;
}

.home-collection__actions a.button:hover,
.home-collection__actions a.add_to_cart_button:hover {
  background: var(--e47-button-shop-dark-bg-hover) !important;
  border-color: var(--e47-button-shop-dark-border-hover) !important;
  color: var(--e47-button-shop-dark-fg-hover) !important;
}

.home-collection__add::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  background-color: currentcolor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 6h15l-1.5 9h-11L6 6z'/%3E%3Ccircle cx='10' cy='20' r='1' fill='white'/%3E%3Ccircle cx='17' cy='20' r='1' fill='white'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 6h15l-1.5 9h-11L6 6z'/%3E%3Ccircle cx='10' cy='20' r='1' fill='white'/%3E%3Ccircle cx='17' cy='20' r='1' fill='white'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.home-collection__icon-btn {
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: auto;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1a1816;
  background: #fff;
  color: #1a1816;
  transition: background-color 180ms ease, color 180ms ease;
}

.home-collection__icon-btn:hover {
  background: #f4efe6;
}

.home-collection__icon-btn svg {
  display: block;
}

@media (max-width: 1100px) {
  .home-collection__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .home-collection {
    padding: 2.5rem 0 2.75rem;
  }

  .home-collection__header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.75rem;
  }

  .home-collection__grid {
    grid-template-columns: 1fr;
  }
}

/*
 * WooCommerce
 */
.home-why {
  padding: 8rem 0 8rem;
  background: #f3f2eb;
}

.home-why__header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.75rem;
}

.home-why__kicker {
  margin: 0 0 0.85rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a08f6e;
}

.home-why__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #2a2622;
}

.home-why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.2rem 0.2rem;
}

.home-why__cell {
  margin: 0;
  text-align: center;
  background: #fffdf9;
  padding: 2.5rem;
  transition: background-color 240ms ease;
}

.home-why__cell:hover {
  background-color: #0e0f12;
}

.home-why__cell:hover .home-why__cell-title {
  color: #faf8f4;
}

.home-why__cell:hover .home-why__cell-text {
  color: rgba(240, 237, 232, 0.82);
}

.home-why__cell:hover .home-why__icon-wrap {
  color: #b09a78;
}

.home-why__cell:hover .home-why__svg {
  border-color: rgba(250, 248, 244, 0.28);
}

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

  .home-why__cell-title,
  .home-why__cell-text,
  .home-why__icon-wrap,
  .home-why__svg {
    transition: none;
  }
}

.home-why__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  color: #a08f6e;
  border: none;
  outline: none;
  box-shadow: none;
  transition: color 240ms ease;
}

.home-why__svg {
  display: block;
  border: 2px solid #e5e4e0;
  transition: border-color 240ms ease;
}

.home-why__cell-title {
  margin: 0 0 0.45rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #2a2622;
  transition: color 240ms ease;
}

.home-why__cell-text {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #5c574e;
  transition: color 240ms ease;
}

@media (max-width: 960px) {
  .home-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.2rem 0.2rem;
  }
}

@media (max-width: 560px) {
  .home-why {
    padding: 2.75rem 0 3rem;
  }

  .home-why__header {
    margin-bottom: 2rem;
  }

  .home-why__grid {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

/* Homepage: founder note */
.home-founder-note {
  padding: 8rem 0 8rem;
  background: #0e0f12;
  color: #f0ede8;
}

.home-founder-note__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: stretch;
}

.home-founder-note__media {
  min-height: 22rem;
}

.home-founder-note__img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-founder-note__placeholder {
  height: 100%;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #15161c;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.home-founder-note__placeholder-letter {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: rgba(240, 237, 232, 0.45);
}

.home-founder-note__placeholder-label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.35);
}

.home-founder-note__content {
  text-align: left;
  padding: 5rem 2rem;
}

.home-founder-note__kicker {
  margin: 0 0 0.85rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b09a78;
}

.home-founder-note__rule {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0 0 1.5rem;
}

.home-founder-note__quote {
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #faf8f4;
}

.home-founder-note__body {
  margin: 0 0 1.1rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(240, 237, 232, 0.82);
}

.home-founder-note__body + .home-founder-note__rule {
  margin: 1.75rem 0 1.25rem;
}

.home-founder-note__sign-name {
  margin: 0 0 0.35rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #faf8f4;
}

.home-founder-note__sign-line {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.45);
}

@media (max-width: 900px) {
  .home-founder-note__layout {
    grid-template-columns: 1fr;
  }

  .home-founder-note__media {
    min-height: 18rem;
    max-height: 28rem;
  }

  .home-founder-note__img,
  .home-founder-note__placeholder {
    min-height: 18rem;
    max-height: 28rem;
  }

  .home-founder-note__img {
    object-position: center top;
  }
}

@media (max-width: 560px) {
  .home-founder-note {
    padding: 2.75rem 0 3rem;
  }
}

/* Homepage: testimonials */
.home-testimonials {
  background: #fcfbf9;
  color: #1f1c18;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(3.5rem, 8vw, 5.25rem);
}

.home-testimonials__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem 2.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.home-testimonials__intro {
  max-width: 32rem;
}

.home-testimonials__label {
  margin: 0 0 0.65rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a38f6e;
}

.home-testimonials__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  color: #1a1816;
  font-style: normal;
}

.home-testimonials__title-line {
  display: block;
  margin-top: 0.08em;
}

.home-testimonials__title-line em {
  font-family: inherit;
  font-style: italic;
}

.home-testimonials__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0.2rem 0 0;
}

.home-testimonials__summary-stars {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #b89f6e;
}

.home-testimonials__summary-text {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: #2a2622;
}

.home-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: none;
}

.home-testimonials__card {
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.35rem) clamp(1.25rem, 2.5vw, 2rem);
  border-right: 1px solid #e5e0d6;
  border-bottom: 1px solid #e5e0d6;
  display: flex;
  flex-direction: column;
  min-height: 0;
  font-family: "DM Sans", sans-serif;
}

.home-testimonials__card:nth-child(2n) {
  border-right: none;
}

.home-testimonials__card:nth-child(n + 3) {
  border-bottom: none;
}

.home-testimonials__card-stars {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: #b89f6e;
}

.home-testimonials__quote {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #25201c;
}

.home-testimonials__card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem 1.5rem;
  margin-top: 1.35rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e8e4dc;
}

.home-testimonials__cite {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0;
  font-style: normal;
}

.home-testimonials__cite-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: #1f1c18;
}

.home-testimonials__cite-city {
  font-size: 0.8rem;
  color: #454037;
}

.home-testimonials__product {
  flex: 0 0 auto;
  max-width: 50%;
  text-align: right;
  font-family: "DM Sans", sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
  color: #a38f6e;
}

a.home-testimonials__product {
  text-decoration: none;
  color: #a38f6e;
}

a.home-testimonials__product:hover,
a.home-testimonials__product:focus-visible {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .home-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .home-testimonials__card {
    border-right: none;
  }

  .home-testimonials__card:nth-child(n + 3) {
    border-bottom: 1px solid #e5e0d6;
  }

  .home-testimonials__card:last-child {
    border-bottom: none;
  }
}

/* Homepage: bottom reset CTA */
@keyframes home-reset-cta-rings-breathe {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.92;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.045);
    opacity: 1;
  }
}

.home-reset-cta {
  position: relative;
  padding: 10rem 0 10.25rem;
  background: #000;
  color: #f5f2ed;
  overflow: hidden;
  text-align: center;
}

.home-reset-cta__rings {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(110vw, 920px);
  height: min(110vw, 920px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: home-reset-cta-rings-breathe 16s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .home-reset-cta__rings {
    animation: none;
    opacity: 1;
  }
}

.home-reset-cta__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.055);
  inset: 0;
}

.home-reset-cta__ring--2 {
  inset: 11%;
  border-color: rgba(255, 255, 255, 0.045);
}

.home-reset-cta__ring--3 {
  inset: 22%;
  border-color: rgba(255, 255, 255, 0.038);
}

.home-reset-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  margin: 0 auto;
}

.home-reset-cta__kicker {
  margin: 0 0 1rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 242, 237, 0.45);
}

.home-reset-cta__title {
  margin: 0 0 1.1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: #faf8f4;
}

.home-reset-cta__lead {
  margin: 0 auto 2.25rem;
  max-width: 32ch;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(232, 230, 227, 0.72);
}

.home-reset-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.home-reset-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.5rem;
  font-family: var(--e47-button-font-family);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: var(--e47-tracking-button);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--e47-button-radius);
  transition: var(--e47-button-transition);
}

.home-reset-cta__btn--primary {
  background: var(--e47-button-on-dark-primary-bg-soft);
  color: var(--e47-button-on-dark-primary-fg-soft);
  border: 1px solid var(--e47-button-on-dark-primary-border-soft);
}

.home-reset-cta__btn--primary:hover {
  background: var(--e47-button-on-dark-primary-bg);
  border-color: var(--e47-button-on-dark-primary-bg);
  color: var(--e47-button-on-dark-primary-fg-hover-soft);
}

.home-reset-cta__btn--ghost {
  background: transparent;
  color: var(--e47-button-on-dark-ghost-fg);
  border: 1px solid var(--e47-button-on-dark-ghost-border-muted);
}

.home-reset-cta__btn--ghost:hover {
  border-color: var(--e47-button-on-dark-ghost-border-hover-muted);
  background: var(--e47-button-on-dark-ghost-bg-hover);
}

@media (max-width: 560px) {
  .home-reset-cta {
    padding: 3.25rem 0 3.5rem;
  }

  .home-reset-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .home-reset-cta__btn {
    width: 100%;
    max-width: 20rem;
  }
}

.editorial {
  padding: 2rem 0 3rem;
}

.editorial__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.2rem;
}

.editorial__panel {
  border: 1px solid #d6d1c6;
  background: #f1ece1;
  padding: 1.6rem;
}

.editorial__panel h3 {
  margin: 0 0 0.9rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.editorial__panel ul {
  margin: 0;
  padding-left: 1rem;
}

.editorial__panel li {
  margin-bottom: 0.5rem;
  color: #49443d;
}

/*
 * WooCommerce
 */
.woocommerce-result-count,
.woocommerce-ordering {
  margin-bottom: 1.4rem;
  font-size: 0.9rem;
}

.woocommerce .woocommerce-result-count {
  float: left;
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #494339;
}

.woocommerce .woocommerce-ordering {
  float: right;
  margin: 0;
}

.woocommerce .woocommerce-ordering .orderby {
  min-height: 42px;
  border: 1px solid #d8cfbf;
  background: #fff;
  color: #1f1c18;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #2d2923 50%), linear-gradient(135deg, #2d2923 50%, transparent 50%);
  background-position: calc(100% - 14px) calc(50% - 3px), calc(100% - 9px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.woocommerce .woocommerce-ordering::after,
.woocommerce .woocommerce-ordering::before {
  content: "";
  display: table;
  clear: both;
}

.woocommerce ul.products {
  clear: both;
  padding-top: 2rem;
}

.woocommerce .star-rating {
  position: relative;
  display: inline-block;
  width: 5.8em;
  height: 1em;
  line-height: 1;
  overflow: hidden;
  font-size: 0.85rem;
  color: #f4a63a;
}

.woocommerce .star-rating::before {
  content: "★★★★★";
  color: #cfc8bc;
  position: absolute;
  left: 0;
  top: 0;
  letter-spacing: 0.08em;
}

.woocommerce .star-rating > span {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  overflow: hidden;
  height: 100%;
  color: #f4a63a;
  text-indent: -9999px;
}

.woocommerce .star-rating > span::before {
  content: "★★★★★";
  position: absolute;
  left: 0;
  top: 0;
  text-indent: 0;
  letter-spacing: 0.08em;
}

.woocommerce-Reviews {
  margin-top: 0.6rem;
}

.woocommerce-Reviews-title {
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: #211d18;
}

.woocommerce-Reviews ol.commentlist {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.woocommerce-Reviews ol.commentlist li.review {
  margin: 0;
  padding: 0.9rem;
  border: 1px solid #e4dbcf;
  background: #fff;
}

.woocommerce-Reviews ol.commentlist li.review img.avatar {
  width: 42px !important;
  height: 42px !important;
  border-radius: 999px;
  border: 1px solid #ddd3c5;
  background: #f2ebdf;
}

.woocommerce-Reviews ol.commentlist li.review .comment-text {
  margin-left: 20px !important;
  border: 0 !important;
  padding: 0 !important;
}

.comment_container {
  display: inline-flex;
}

.woocommerce-Reviews ol.commentlist li.review .meta {
  margin: 0.25rem 0 0.35rem !important;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #61594e;
}

.woocommerce-Reviews ol.commentlist li.review .description p {
  margin: 0;
  color: #39342c;
  line-height: 1.65;
}

#review_form_wrapper {
  margin-top: 1rem;
  border: 1px solid #e4dbcf;
  background: #faf6ef;
  padding: 1rem;
}

#review_form .comment-reply-title {
  display: block;
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 500;
}

#review_form .comment-form-rating,
#review_form .comment-form-comment,
#review_form .comment-form-author,
#review_form .comment-form-email {
  margin-bottom: 0.7rem;
}

#review_form label {
  display: inline-block;
  margin-bottom: 0.3rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5f574c;
}

#review_form input[type="text"],
#review_form input[type="email"],
#review_form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d8cfbf;
  background: #fff;
  padding: 0.55rem 0.65rem;
}

#review_form textarea {
  min-height: 120px;
}

#review_form .form-submit {
  margin: 0.3rem 0 0;
}

#review_form .submit {
  min-height: 42px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  padding: 0.65rem 1rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

#review_form .submit:hover {
  background: #fff;
  color: #111;
}

#review_form p.stars {
  margin: 0.25rem 0 0.8rem;
}

#review_form p.stars span {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.12rem;
}

#review_form p.stars a {
  position: relative;
  width: 1.2em;
  height: 1.2em;
  overflow: hidden;
  text-indent: -9999px;
  color: #d2cabd;
}

#review_form p.stars a::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  text-indent: 0;
  font-size: 1.15rem;
  line-height: 1;
}

#review_form p.stars:hover a,
#review_form p.stars.selected a {
  color: #d2cabd;
}

#review_form p.stars:hover a:hover,
#review_form p.stars:hover a:hover ~ a,
#review_form p.stars.selected a.active,
#review_form p.stars.selected a.active ~ a {
  color: #f4a63a;
}

ul.products {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

ul.products li.product {
  border: 1px solid #e5dfd4;
  background: #fff;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-radius: 0;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
  position: relative;
  overflow: hidden;
}

ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 18, 14, 0.09);
  border-color: #d7d0c2;
  background: #fffdfa;
}

ul.products li.product a.woocommerce-LoopProduct-link {
  display: block;
}

ul.products li.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.7rem;
}

ul.products li.product .onsale {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  margin: 0;
  min-height: auto;
  line-height: 1;
  border-radius: 999px;
  padding: 0.35rem 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #111;
  color: #fff;
}

ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.98rem;
  font-weight: 500;
  margin: 0 0 0.45rem;
  line-height: 1.35;
}

ul.products li.product .price {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #2f2a24;
  margin-bottom: 0.45rem;
}

ul.products li.product .price del {
  color: #8a8377;
  opacity: 0.85;
}

ul.products li.product .price ins {
  text-decoration: none;
  color: #111;
  font-weight: 600;
}

ul.products li.product a.button {
  width: 100%;
  text-align: center;
  margin-top: auto;
  padding: 0.72rem 0.9rem;
  font-size: 0.76rem;
  background: var(--e47-button-shop-dark-bg);
  color: var(--e47-button-shop-dark-fg);
  border: 1px solid var(--e47-button-shop-dark-border);
  border-radius: var(--e47-button-radius);
  transition: var(--e47-button-transition);
}

ul.products li.product a.button:hover {
  background: var(--e47-button-shop-grid-invert-bg);
  color: var(--e47-button-shop-grid-invert-fg);
  border-color: var(--e47-button-shop-grid-invert-border);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: var(--e47-button-radius);
  border: 1px solid var(--e47-button-shop-outline-border);
  background: var(--e47-button-shop-outline-bg);
  color: var(--e47-button-shop-outline-fg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  padding: 0.75rem 1rem;
  transition: var(--e47-button-transition);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--e47-button-shop-outline-bg-hover);
  color: var(--e47-button-shop-outline-fg-hover);
  transform: translateY(-1px);
}

.woocommerce-cart .site-main > .container {
  width: min(var(--e47-container-max), calc(100% - var(--e47-container-gutter)));
  margin-left: auto;
  margin-right: auto;
}

.woocommerce-cart .woocommerce {
  display: grid;
  gap: 1.5rem;
}

.woocommerce-cart table.shop_table {
  width: 100%;
}

.woocommerce-cart .cart_totals {
  margin-left: auto;
  width: min(420px, 100%);
}

.wp-block-woocommerce-cart {
  container-type: inline-size;
  width: 100%;
  padding-top: 0;
}

.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem !important;
  background: #fff;
  border: 1px solid #e6ddcf;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li + li {
  border-top: 1px solid #f0e8dc;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0.7rem 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2b2620;
  transition: background-color 160ms ease, color 160ms ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background: #f7f2e9;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: #111;
  color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content {
  background: #fff;
  border: 1px solid #e6ddcf;
  padding: 1.3rem;
}

.woocommerce-account .woocommerce-MyAccount-content p {
  margin: 0 0 1rem;
  color: #3f392f;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content button.button {
  min-height: 42px;
}

.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.woocommerce-account .woocommerce-Address {
  border: 1px solid #e3dcca;
  background: #f8f3ea;
  padding: 0.95rem;
}

.woocommerce-account table.shop_table {
  border: 1px solid #e6ddcf;
  border-collapse: collapse;
  background: #fff;
}

.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td {
  border-color: #eee6da;
  padding: 0.75rem;
}

.woocommerce-account form .form-row input.input-text,
.woocommerce-account form .form-row textarea,
.woocommerce-account form .form-row select {
  border: 1px solid #d9d0c0;
  min-height: 44px;
  background: #fff;
  padding: 0.58rem 0.7rem;
  width: 100%;
}

.woocommerce-account .woocommerce-EditAccountForm {
  border: 1px solid #e7ded1;
  background: #fcf9f3;
  padding: 1.3rem;
}

.woocommerce-account .woocommerce-EditAccountForm .form-row {
  margin-bottom: 1rem;
}

.woocommerce-account .woocommerce-EditAccountForm label {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #5b5448;
}

.woocommerce-account .woocommerce-EditAccountForm fieldset {
  margin: 1.2rem 0 0.2rem;
  border: 1px solid #e7dfd1;
  background: #fff;
  padding: 1rem 1rem 0.25rem;
}

.woocommerce-account .woocommerce-EditAccountForm fieldset legend {
  padding: 0 0.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a6256;
}

.woocommerce-account .woocommerce-EditAccountForm .form-row input.input-text,
.woocommerce-account .woocommerce-EditAccountForm .form-row textarea {
  border: 1px solid #d9d0c0;
  background: #fff;
  padding: 0.6rem 0.7rem;
}

.woocommerce-account .woocommerce-EditAccountForm .button[type="submit"] {
  min-height: 44px;
  background: var(--e47-button-shop-dark-bg);
  color: var(--e47-button-shop-dark-fg);
  border: 1px solid var(--e47-button-shop-dark-border);
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--e47-button-radius);
  transition: var(--e47-button-transition);
}

.woocommerce-account .woocommerce-EditAccountForm .button[type="submit"]:hover {
  background: var(--e47-button-shop-grid-invert-bg);
  color: var(--e47-button-shop-grid-invert-fg);
  border-color: var(--e47-button-shop-grid-invert-border);
}

.woocommerce-account .password-input {
  position: relative;
  width: 100%;
}

.woocommerce-account .password-input input.input-text {
  padding-right: 2.4rem;
}

.woocommerce-account .password-input .show-password-input {
  position: absolute;
  right: 0;
  top: 0;
  width: 42px;
  height: 100%;
  border: 0;
  background: transparent;
  color: #635b4f;
  cursor: pointer;
}

.woocommerce-account .password-input .show-password-input::after {
  content: "👁";
  font-size: 1rem;
  line-height: 1;
}

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

.wc-block-components-button:not(.is-link) {
  align-items: center;
  display: inline-flex;
  height: auto;
  justify-content: center;
  position: relative;
  text-align: center;
  transition: box-shadow 0.1s linear;
  background: var(--e47-button-shop-dark-bg);
  color: var(--e47-button-shop-dark-fg);
  border-radius: var(--e47-button-radius);
}

.woocommerce-account .password-input .show-password-input:hover {
  color: #111;
}

.single-product .woocommerce-breadcrumb {
  margin: 0 0 1.35rem;
  padding: 0;
  font-family: var(--e47-font-body);
  font-size: var(--e47-text-xs);
  font-weight: var(--e47-weight-medium);
  letter-spacing: var(--e47-tracking-label);
  text-transform: uppercase;
  color: var(--e47-color-text-muted);
}

.single-product .woocommerce-breadcrumb a {
  color: var(--e47-color-text-soft);
  text-decoration: none;
}

.single-product .woocommerce-breadcrumb a:hover {
  color: var(--e47-color-text-strong);
}

.single-product .e47-product__eyebrow {
  margin: 0 0 0.75rem;
  padding: 0;
  background: transparent;
  border: 0;
  font-family: var(--e47-button-font-family);
  font-size: var(--e47-text-xs);
  font-weight: var(--e47-weight-semibold);
  letter-spacing: var(--e47-tracking-label-wide);
  text-transform: uppercase;
  color: var(--e47-color-accent);
}

.single-product div.product {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.3fr 1fr;
}

.single-product div.product .summary .product_title {
  font-family: var(--e47-font-heading);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 500;
  color: var(--e47-color-text-heading);
}

.single-product div.product .summary .price {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: var(--e47-weight-extrabold);
  color: var(--e47-color-text-strong);
}

.single-product .e47-product__top {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 2rem;
}

.single-product .e47-product__gallery-col {
  grid-column: 1;
  min-width: 0;
}

.single-product .e47-product__summary-col {
  grid-column: 2;
  min-width: 0;
}

.single-product .e47-product .woocommerce-product-gallery {
  margin: 0;
  position: relative;
}

.single-product .e47-product .woocommerce-product-gallery .onsale {
  position: absolute;
  top: 1rem;
  right: 1rem;
  left: auto;
  z-index: 3;
  margin: 0;
  min-height: auto;
  line-height: 1.15;
  border-radius: var(--e47-button-radius);
  padding: 0.45rem 0.7rem;
  font-family: var(--e47-button-font-family);
  font-size: var(--e47-text-2xs);
  font-weight: var(--e47-weight-bold);
  letter-spacing: var(--e47-tracking-label);
  text-transform: uppercase;
  border: 1px solid var(--e47-color-accent-muted);
  background: var(--e47-color-accent);
  color: var(--e47-color-text-strong);
  box-shadow: none;
  backdrop-filter: none;
}

.single-product .e47-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
  margin: 0;
}

.single-product .e47-product .e47-gallery__viewport {
  overflow: hidden;
  border: 1px solid var(--e47-color-border);
  background: var(--e47-color-bg-cream-warm);
  box-shadow: none;
}

.single-product .e47-product .e47-gallery__track {
  display: flex;
  transition: transform 320ms ease;
  will-change: transform;
}

.single-product .e47-product .e47-gallery__slide {
  min-width: 100%;
  flex: 0 0 100%;
}

.single-product .e47-product .e47-gallery__slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.single-product .e47-product .e47-gallery__controls {
  position: absolute;
  top: auto;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.45rem;
}

.single-product .e47-product .e47-gallery__control {
  border: 1px solid var(--e47-color-border-subtle);
  background: rgba(255, 253, 249, 0.92);
  color: var(--e47-color-text-strong);
  font-family: var(--e47-button-font-family);
  font-size: var(--e47-text-xs);
  letter-spacing: var(--e47-tracking-label);
  text-transform: uppercase;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  border-radius: var(--e47-button-radius);
  transition: var(--e47-button-transition);
}

.single-product .e47-product .e47-gallery__control:hover {
  background: var(--e47-button-shop-outline-bg-hover);
  color: var(--e47-button-shop-outline-fg-hover);
  border-color: var(--e47-button-shop-outline-bg-hover);
}

.single-product .e47-product .e47-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.single-product .e47-product .e47-gallery__thumb {
  border: 1px solid var(--e47-color-border);
  background: var(--e47-color-bg-cream);
  padding: 0;
  cursor: pointer;
  transition: border-color var(--e47-transition-fast), transform var(--e47-transition-fast);
  border-radius: var(--e47-button-radius);
}

.single-product .e47-product .e47-gallery__thumb:hover {
  border-color: var(--e47-color-text-muted);
  transform: translateY(-1px);
}

.single-product .e47-product .e47-gallery__thumb.is-active {
  border-color: var(--e47-button-shop-dark-bg);
}

.single-product .e47-product .e47-gallery__thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.single-product .e47-product__summary {
  border: none;
  background: transparent;
  padding: 0;
  position: sticky;
  top: 95px;
  box-shadow: none;
}

.single-product .e47-product__summary .woocommerce-product-rating {
  margin: 0 0 0.65rem;
}

.single-product .e47-product__summary .woocommerce-product-details__short-description {
  margin: 0 0 1.15rem;
  font-family: var(--e47-font-body);
  font-size: var(--e47-text-md);
  line-height: var(--e47-leading-relaxed);
  color: var(--e47-color-text-muted);
}

.single-product .e47-product__summary .woocommerce-product-details__short-description p {
  margin: 0 0 0.6rem;
}

.single-product .e47-product__summary .woocommerce-product-details__short-description p:last-child {
  margin-bottom: 0;
}

.single-product .e47-product__summary .product_title {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-family: var(--e47-font-heading);
  font-size: clamp(1.85rem, 2.8vw, 2.55rem);
  line-height: var(--e47-leading-tight);
  font-weight: 500;
  color: var(--e47-color-text-heading);
}

.single-product .e47-product__summary .price {
  margin: 0 0 1.1rem;
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  color: var(--e47-color-text-strong);
  font-weight: var(--e47-weight-extrabold);
}

.single-product .e47-product__net-contents {
  margin: -0.65rem 0 1.05rem;
  font-family: var(--e47-font-body);
  font-size: var(--e47-text-sm);
  font-weight: var(--e47-weight-medium);
  letter-spacing: 0.03em;
  color: var(--e47-color-text-muted);
  line-height: 1.35;
}

.single-product .e47-product__summary .price del {
  opacity: 0.55;
  font-weight: var(--e47-weight-medium);
  font-size: 0.85em;
}

.single-product .e47-product__summary form.cart {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  margin-bottom: 0.35rem;
}

.single-product .e47-product__summary form.cart .quantity {
  margin: 0;
}

.single-product .e47-product__summary form.cart .quantity .qty {
  border: 1px solid var(--e47-color-border);
  background: var(--e47-color-bg-card);
  min-height: 44px;
  width: 5rem;
  font-family: var(--e47-font-body);
  color: var(--e47-color-text);
  border-radius: var(--e47-button-radius);
}

.single-product .e47-product__summary form.cart .single_add_to_cart_button,
.single-product .e47-product__summary form.cart button.single_add_to_cart_button,
.single-product .e47-product__summary form.cart input.single_add_to_cart_button {
  width: 100%;
  min-height: 3rem;
  margin: 0;
  padding: 0.85rem 1.25rem;
  font-family: var(--e47-button-font-family);
  font-size: var(--e47-text-sm);
  font-weight: var(--e47-weight-bold);
  letter-spacing: var(--e47-tracking-button);
  text-transform: uppercase;
  border-radius: var(--e47-button-radius);
  border: 1px solid var(--e47-button-shop-dark-border);
  background: var(--e47-button-shop-dark-bg);
  color: var(--e47-button-shop-dark-fg);
  transition: var(--e47-button-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1.2;
  cursor: pointer;
}

.single-product .e47-product__summary form.cart button.single_add_to_cart_button::before {
  content: "";
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
  background-color: currentcolor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 6h15l-1.5 9h-11L6 6z'/%3E%3Ccircle cx='10' cy='20' r='1' fill='white'/%3E%3Ccircle cx='17' cy='20' r='1' fill='white'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 6h15l-1.5 9h-11L6 6z'/%3E%3Ccircle cx='10' cy='20' r='1' fill='white'/%3E%3Ccircle cx='17' cy='20' r='1' fill='white'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.single-product .e47-product__summary form.cart .single_add_to_cart_button:hover,
.single-product .e47-product__summary form.cart button.single_add_to_cart_button:hover,
.single-product .e47-product__summary form.cart input.single_add_to_cart_button:hover {
  background: var(--e47-button-shop-dark-bg-hover);
  border-color: var(--e47-button-shop-dark-border-hover);
  color: var(--e47-button-shop-dark-fg-hover);
  transform: none;
}

.single-product .e47-product__summary .variations {
  margin-bottom: 0.65rem;
}

.single-product .e47-product__summary .variations td,
.single-product .e47-product__summary .variations th {
  padding: 0.35rem 0;
  border: 0;
  vertical-align: middle;
}

.single-product .e47-product__summary .variations select {
  min-height: 44px;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--e47-color-border);
  background: var(--e47-color-bg-card);
  border-radius: var(--e47-button-radius);
  font-family: var(--e47-font-body);
  font-size: var(--e47-text-sm);
  color: var(--e47-color-text);
}

.single-product .e47-product-claims {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
  margin: 2rem 0 2rem !important;
  padding: 0 !important;
  list-style: none;
}

.single-product .e47-product-claims li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.38rem 0.55rem;
  font-family: var(--e47-button-font-family);
  font-size: var(--e47-text-2xs);
  font-weight: var(--e47-weight-semibold);
  letter-spacing: var(--e47-tracking-label);
  text-transform: uppercase;
  color: var(--e47-color-text-muted);
  border: 1px solid var(--e47-color-border);
  background: var(--e47-color-bg-card);
  border-radius: var(--e47-button-radius);
  line-height: 1.2;
}

.single-product .e47-product-science {
  background: #f0eeeb;
  border-top: none;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.single-product .e47-product-science__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.single-product .e47-product-science__kicker {
  margin: 0 0 0.65rem;
  font-family: var(--e47-button-font-family);
  font-size: var(--e47-text-xs);
  font-weight: var(--e47-weight-semibold);
  letter-spacing: var(--e47-tracking-label-wide);
  text-transform: uppercase;
  color: var(--e47-color-accent);
}

.single-product .e47-product-science__title {
  margin: 0;
  font-family: var(--e47-font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: var(--e47-leading-snug);
  color: var(--e47-color-text-heading);
}

.single-product .e47-product-science__body {
  font-family: var(--e47-font-body);
  font-size: var(--e47-text-md);
  line-height: var(--e47-leading-relaxed);
  color: var(--e47-color-text-soft);
}

.single-product .e47-product-science__body p {
  margin: 0 0 0.85rem;
}

.single-product .e47-product-science__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 782px) {
  .single-product .e47-product-science__inner {
    grid-template-columns: 1fr;
  }

  .single-product .e47-product-who-for__inner {
    grid-template-columns: 1fr;
  }

  .single-product .e47-product-ingredients__grid {
    grid-template-columns: 1fr;
  }

  .single-product .e47-product-benefits__grid {
    grid-template-columns: 1fr;
  }
}

.single-product .e47-product-ingredients {
  background: var(--e47-color-bg-page);
  border-top: none;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.single-product .e47-product-ingredients__header {
  margin-bottom: clamp(1.5rem, 2.8vw, 2.35rem);
}

.single-product .e47-product-ingredients__kicker {
  margin: 0 0 0.55rem;
  font-family: var(--e47-button-font-family);
  font-size: var(--e47-text-xs);
  font-weight: var(--e47-weight-semibold);
  letter-spacing: var(--e47-tracking-label-wide);
  text-transform: uppercase;
  color: var(--e47-color-accent);
}

.single-product .e47-product-ingredients__title {
  margin: 0;
  font-family: var(--e47-font-heading);
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 500;
  line-height: var(--e47-leading-snug);
  color: var(--e47-color-text-heading);
}

.single-product .e47-product-ingredients__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--e47-color-border);
  border: none;
}

.single-product .e47-product-ingredients__cell {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: clamp(2.1rem, 2vw, 2.35rem) clamp(1rem, 2vw, 2.4rem);
  background: #f9f8f6;
}

.single-product .e47-product-ingredients__icon {
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: var(--e47-color-accent);
}

.single-product .e47-product-ingredients__copy {
  min-width: 0;
}

.single-product .e47-product-ingredients__name {
  margin: 0 0 0.35rem;
  font-family: var(--e47-font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: var(--e47-leading-snug);
  color: var(--e47-color-text-strong);
}

.single-product .e47-product-ingredients__desc {
  margin: 0;
  font-family: var(--e47-font-body);
  font-size: var(--e47-text-md);
  line-height: var(--e47-leading-relaxed);
  color: var(--e47-color-text-muted);
}

.single-product .e47-product-ingredients__desc p {
  margin: 0 0 0.5rem;
}

.single-product .e47-product-ingredients__desc p:last-child {
  margin-bottom: 0;
}

.single-product .e47-product-who-for {
  background: #f0eeeb;
  border-top: none;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.single-product .e47-product-who-for__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.single-product .e47-product-who-for__kicker {
  margin: 0 0 0.65rem;
  font-family: var(--e47-button-font-family);
  font-size: var(--e47-text-xs);
  font-weight: var(--e47-weight-semibold);
  letter-spacing: var(--e47-tracking-label-wide);
  text-transform: uppercase;
  color: var(--e47-color-accent);
}

.single-product .e47-product-who-for__title {
  margin: 0;
  font-family: var(--e47-font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: var(--e47-leading-snug);
  color: var(--e47-color-text-heading);
}

.single-product .e47-product-who-for__title-line {
  display: block;
}

.single-product .e47-product-who-for__title-line--italic {
  font-style: italic;
}

.single-product .e47-product-who-for__body {
  font-family: var(--e47-font-body);
  font-size: var(--e47-text-md);
  line-height: var(--e47-leading-relaxed);
  color: var(--e47-color-text-soft);
}

.single-product .e47-product-who-for__body p {
  margin: 0 0 0.85rem;
}

.single-product .e47-product-who-for__body p:last-child {
  margin-bottom: 0;
}

.single-product .e47-product-who-for__directions {
  margin-top: 1rem;
  font-family: var(--e47-font-body);
  font-size: var(--e47-text-sm);
  line-height: var(--e47-leading-relaxed);
  font-style: italic;
  color: var(--e47-color-text-muted);
}

.single-product .e47-product-who-for__directions p {
  margin: 0 0 0.5rem;
}

.single-product .e47-product-who-for__directions p:last-child {
  margin-bottom: 0;
}

.single-product .e47-product-clinical {
  background: var(--e47-color-bg-page);
  border-top: none;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.single-product .e47-product-clinical__inner {
  max-width: 100%;
}

.single-product .e47-product-clinical__header {
  margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
}

.single-product .e47-product-clinical__kicker {
  margin: 0 0 0.65rem;
  font-family: var(--e47-button-font-family);
  font-size: var(--e47-text-xs);
  font-weight: var(--e47-weight-semibold);
  letter-spacing: var(--e47-tracking-label-wide);
  text-transform: uppercase;
  color: var(--e47-color-accent);
}

.single-product .e47-product-clinical__title {
  margin: 0;
  font-family: var(--e47-font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: var(--e47-leading-snug);
  color: var(--e47-color-text-heading);
}

.single-product .e47-product-clinical__title-line {
  display: block;
}

.single-product .e47-product-clinical__title-line--italic {
  font-style: italic;
}

.single-product .e47-product-clinical__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--e47-color-border);
  border-bottom: 1px solid var(--e47-color-border);
}

.single-product .e47-product-clinical__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  margin: 0;
  padding: clamp(0.95rem, 1.8vw, 1.2rem) 0;
  border-bottom: 1px solid var(--e47-color-border);
}

.single-product .e47-product-clinical__item:last-child {
  border-bottom: none;
}

.single-product .e47-product-clinical__bullet {
  display: block;
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border: 1px solid var(--e47-color-text-soft);
  border-radius: 50%;
  opacity: 0.85;
}

.single-product .e47-product-clinical__text {
  margin: 0;
  font-family: var(--e47-font-body);
  font-size: var(--e47-text-md);
  font-weight: var(--e47-weight-medium);
  line-height: var(--e47-leading-relaxed);
  color: var(--e47-color-text-strong);
}

.single-product .e47-product-clinical__text p {
  margin: 0 0 0.35rem;
}

.single-product .e47-product-clinical__text p:last-child {
  margin-bottom: 0;
}

.single-product .e47-product-benefits {
  background: #f5f3f0;
  border-top: none;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.single-product .e47-product-benefits__inner {
  max-width: 100%;
}

.single-product .e47-product-benefits__header {
  margin: 0 0 clamp(1.5rem, 2.8vw, 2.35rem);
}

.single-product .e47-product-benefits__kicker {
  margin: 0 0 0.65rem;
  font-family: var(--e47-button-font-family);
  font-size: var(--e47-text-xs);
  font-weight: var(--e47-weight-semibold);
  letter-spacing: var(--e47-tracking-label-wide);
  text-transform: uppercase;
  color: var(--e47-color-accent);
}

.single-product .e47-product-benefits__title {
  margin: 0;
  font-family: var(--e47-font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: var(--e47-leading-snug);
  color: var(--e47-color-text-heading);
}

.single-product .e47-product-benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem) clamp(2rem, 4vw, 3.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-product .e47-product-benefits__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
}

.single-product .e47-product-benefits__icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--e47-color-accent);
}

.single-product .e47-product-benefits__text {
  margin: 0;
  font-family: var(--e47-font-body);
  font-size: var(--e47-text-md);
  font-weight: var(--e47-weight-medium);
  line-height: var(--e47-leading-relaxed);
  color: var(--e47-color-text-strong);
}

.single-product .e47-product-full-ingredients {
  background: var(--e47-color-bg-page);
  border-top: none;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.single-product .e47-product-full-ingredients__inner {
  max-width: 100%;
}

.single-product .e47-product-full-ingredients__header {
  margin: 0 0 clamp(1.5rem, 2.8vw, 2.35rem);
}

.single-product .e47-product-full-ingredients__kicker {
  margin: 0 0 0.65rem;
  font-family: var(--e47-button-font-family);
  font-size: var(--e47-text-xs);
  font-weight: var(--e47-weight-semibold);
  letter-spacing: var(--e47-tracking-label-wide);
  text-transform: uppercase;
  color: var(--e47-color-accent);
}

.single-product .e47-product-full-ingredients__title {
  margin: 0;
  font-family: var(--e47-font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: var(--e47-leading-snug);
  color: var(--e47-color-text-heading);
}

.single-product .e47-product-full-ingredients__copy {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  padding: clamp(1.35rem, 2.5vw, 1.85rem) clamp(1.25rem, 2.4vw, 1.75rem);
  background: #f3f2f0;
  border: 1px solid var(--e47-color-border);
  font-family: var(--e47-font-body);
  font-size: var(--e47-text-sm);
  line-height: var(--e47-leading-relaxed);
  color: var(--e47-color-text-soft);
}

.single-product .e47-product-full-ingredients__copy p {
  margin: 0;
}

.single-product .e47-product-full-ingredients__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-product .e47-product-full-ingredients__badge {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--e47-color-border);
  background: var(--e47-color-bg-card);
  font-family: var(--e47-button-font-family);
  font-size: var(--e47-text-xs);
  font-weight: var(--e47-weight-semibold);
  letter-spacing: var(--e47-tracking-label-wide);
  text-transform: uppercase;
  color: var(--e47-color-text-muted);
  line-height: 1.2;
}

.single-product .e47-product-faqs {
  background: #f5f3f0;
  border-top: none;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.single-product .e47-product-faqs__inner {
  max-width: 100%;
}

.single-product .e47-product-faqs__header {
  margin: 0 0 clamp(1.5rem, 2.8vw, 2.35rem);
}

.single-product .e47-product-faqs__kicker {
  margin: 0 0 0.65rem;
  font-family: var(--e47-button-font-family);
  font-size: var(--e47-text-xs);
  font-weight: var(--e47-weight-semibold);
  letter-spacing: var(--e47-tracking-label-wide);
  text-transform: uppercase;
  color: var(--e47-color-accent);
}

.single-product .e47-product-faqs__title {
  margin: 0;
  font-family: var(--e47-font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: var(--e47-leading-snug);
  color: var(--e47-color-text-heading);
}

.single-product .e47-product-faqs__title-line {
  display: block;
}

.single-product .e47-product-faqs__title-line--italic {
  font-style: italic;
}

.single-product .e47-product-faqs__accordion {
  border-top: 1px solid var(--e47-color-border);
}

.single-product .e47-product-faqs__item {
  border-bottom: 1px solid var(--e47-color-border);
}

.single-product .e47-product-faqs__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: clamp(1rem, 2vw, 1.25rem) 0;
  list-style: none;
  cursor: pointer;
}

.single-product .e47-product-faqs__trigger::-webkit-details-marker {
  display: none;
}

.single-product .e47-product-faqs__trigger::marker {
  content: '';
}

.single-product .e47-product-faqs__question {
  font-family: var(--e47-font-body);
  font-size: var(--e47-text-md);
  font-weight: var(--e47-weight-semibold);
  line-height: var(--e47-leading-snug);
  color: var(--e47-color-text-strong);
}

.single-product .e47-product-faqs__chevron {
  flex-shrink: 0;
  color: var(--e47-color-text-soft);
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.single-product .e47-product-faqs__item[open] .e47-product-faqs__chevron {
  transform: rotate(180deg);
}

.single-product .e47-product-faqs__panel-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

.single-product .e47-product-faqs__item[open] .e47-product-faqs__panel-wrap {
  grid-template-rows: 1fr;
}

.single-product .e47-product-faqs__panel {
  overflow: hidden;
  min-height: 0;
}

.single-product .e47-product-faqs__answer {
  max-width: 52rem;
  padding: 0 0 clamp(1rem, 2vw, 1.25rem);
  font-family: var(--e47-font-body);
  font-size: var(--e47-text-sm);
  line-height: var(--e47-leading-relaxed);
  color: var(--e47-color-text-soft);
  opacity: 0;
  transform: translateY(-0.35rem);
  transition:
    opacity 280ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.single-product .e47-product-faqs__item[open] .e47-product-faqs__answer {
  opacity: 1;
  transform: translateY(0);
}

.single-product .e47-product-faqs__answer p {
  margin: 0 0 0.75rem;
}

.single-product .e47-product-faqs__answer p:last-child {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .single-product .e47-product-faqs__panel-wrap,
  .single-product .e47-product-faqs__answer,
  .single-product .e47-product-faqs__chevron {
    transition: none;
  }

  .single-product .e47-product-faqs__answer {
    opacity: 1;
    transform: none;
  }
}

.single-product .e47-product-reviews {
  background: var(--e47-color-bg-page);
  border-top: none;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.single-product .e47-product-reviews__inner {
  max-width: 100%;
}

.single-product .e47-product-reviews__header {
  margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
}

.single-product .e47-product-reviews__kicker {
  margin: 0 0 0.65rem;
  font-family: var(--e47-button-font-family);
  font-size: var(--e47-text-xs);
  font-weight: var(--e47-weight-semibold);
  letter-spacing: var(--e47-tracking-label-wide);
  text-transform: uppercase;
  color: var(--e47-color-accent);
}

.single-product .e47-product-reviews__title {
  margin: 0;
  font-family: var(--e47-font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: var(--e47-leading-snug);
  color: var(--e47-color-text-heading);
}

.single-product .e47-product-reviews__title-line {
  display: block;
}

.single-product .e47-product-reviews__title-line--italic {
  font-style: italic;
}

.single-product .e47-product-reviews__content .woocommerce-Reviews-title {
  display: none;
}

.single-product .e47-product-reviews__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--e47-color-border);
}

.single-product .e47-product-reviews__item {
  margin: 0;
  padding: clamp(1.35rem, 2.4vw, 1.75rem) 0;
  border-bottom: 1px solid var(--e47-color-border);
}

.single-product .e47-product-reviews__item:last-child {
  border-bottom: none;
}

.single-product .e47-product-reviews__stars {
  display: flex;
  align-items: center;
  gap: 0.08em;
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--e47-color-accent);
}

.single-product .e47-product-reviews__star {
  display: inline-block;
}

.single-product .e47-product-reviews__star--empty {
  opacity: 0.28;
}

.single-product .e47-product-reviews__quote {
  margin: 0 0 0.85rem;
  max-width: 52rem;
  font-family: var(--e47-font-body);
  font-size: var(--e47-text-md);
  font-weight: var(--e47-weight-medium);
  line-height: var(--e47-leading-relaxed);
  color: var(--e47-color-text-strong);
}

.single-product .e47-product-reviews__quote p {
  margin: 0 0 0.75rem;
}

.single-product .e47-product-reviews__quote p:last-child {
  margin-bottom: 0;
}

.single-product .e47-product-reviews__attribution {
  margin: 0;
  font-family: var(--e47-font-body);
  font-size: var(--e47-text-sm);
  line-height: var(--e47-leading-normal);
  color: var(--e47-color-text-muted);
}

.single-product .e47-product-reviews__pending {
  margin: 0;
  font-family: var(--e47-font-body);
  font-size: var(--e47-text-sm);
  color: var(--e47-color-text-soft);
}

.single-product .e47-product-reviews__content .woocommerce-noreviews {
  margin: 0;
  padding: clamp(1.35rem, 2.4vw, 1.75rem) 0;
  border-top: 1px solid var(--e47-color-border);
  font-family: var(--e47-font-body);
  font-size: var(--e47-text-md);
  color: var(--e47-color-text-soft);
}

.single-product .e47-product-reviews__content #review_form_wrapper {
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--e47-color-border);
  background: var(--e47-color-bg-card);
  padding: clamp(1rem, 2vw, 1.25rem);
}

.single-product .e47-product-reviews__content .woocommerce-verification-required {
  margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0;
  font-family: var(--e47-font-body);
  font-size: var(--e47-text-sm);
  color: var(--e47-color-text-soft);
}

.single-product .e47-product__summary .product_meta {
  border-top: 1px solid var(--e47-color-border);
  margin-top: 1.15rem;
  padding-top: 1rem;
  font-size: var(--e47-text-sm);
  color: var(--e47-color-text-muted);
}

.single-product .e47-product__note {
  margin: 1rem 0 0;
  font-size: var(--e47-text-sm);
  color: var(--e47-color-text-muted);
  line-height: var(--e47-leading-normal);
}

.single-product .e47-product__details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.single-product .e47-product__detail-card {
  border: 1px solid var(--e47-color-border);
  background: var(--e47-color-bg-card);
  padding: 1.2rem;
  border-radius: var(--e47-button-radius);
}

.single-product .e47-product__detail-card h2 {
  margin: 0 0 0.55rem;
  font-family: var(--e47-font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--e47-color-text-heading);
}

.single-product .e47-product__detail-card p {
  margin: 0;
  color: var(--e47-color-text-muted);
  font-size: var(--e47-text-md);
}

.single-product .woocommerce-tabs {
  border: 1px solid var(--e47-color-border);
  background: var(--e47-color-bg-cream);
  margin-top: 1.8rem;
  padding: 1.2rem 1.2rem 0.8rem;
  box-shadow: none;
  border-radius: var(--e47-button-radius);
}

.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  align-items: stretch;
  gap: 0.25rem 1.25rem;
  list-style: none;
  padding: 0 !important;
  margin: 0 0 1rem !important;
  border-bottom: 1px solid var(--e47-color-border);
  overflow-x: auto;
  scrollbar-width: thin;
}

.single-product .woocommerce-tabs ul.tabs li {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  white-space: nowrap;
}

.single-product .woocommerce-tabs ul.tabs li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 0 !important;
  margin-bottom: -1px;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--e47-button-font-family);
  font-size: var(--e47-text-xs);
  font-weight: var(--e47-weight-semibold);
  letter-spacing: var(--e47-tracking-label);
  text-transform: uppercase;
  color: var(--e47-color-text-muted) !important;
  background: transparent !important;
  border-radius: 0;
  transition: color var(--e47-transition-fast), border-color var(--e47-transition-fast);
}

.single-product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--e47-color-text-strong) !important;
  border-bottom-color: var(--e47-color-border);
}

.single-product .woocommerce-tabs ul.tabs li.active a {
  border-bottom-color: var(--e47-color-accent) !important;
  color: var(--e47-color-text-strong) !important;
}

.single-product .woocommerce-tabs .panel {
  margin: 0 0 0.6rem !important;
  padding: 0.5rem 0 0.9rem;
  color: var(--e47-color-text-soft);
  font-size: var(--e47-text-md);
  line-height: var(--e47-leading-relaxed);
}

.single-product .woocommerce-tabs .panel h2,
.single-product .woocommerce-tabs .panel h3 {
  margin-top: 0;
  font-family: var(--e47-font-heading);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--e47-color-text-heading);
}

.single-product .wc-tabs-wrapper,
.single-product .woocommerce-tabs {
  border-radius: var(--e47-button-radius);
}

.single-product-support {
  padding: 1rem 0 2.4rem;
}

.support-card {
  max-width: 560px;
  padding: 0.5rem 0;
}

.support-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #312c25;
  margin-bottom: 0.45rem;
}

.support-card h5 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.support-card p {
  margin: 0;
  color: #4a453e;
  font-size: 0.95rem;
}

.support-card a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.support-card a:hover {
  opacity: 0.75;
}

/*
 * XOO Side Cart (xoo-wsc-modal)
 */
.xoo-wsc-modal .xoo-wsc-container {
  background: #f4efe6;
  color: #201c17;
  border-left: 1px solid #ddd4c6;
}

.xoo-wsc-header {
  background: #f7f2e9;
  border-bottom: 1px solid #ddd4c6;
  padding: 1rem 1rem 0.9rem;
}

.xoo-wsc-header .xoo-wsc-title {
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 500;
}

.xoo-wsc-header .xoo-wsc-close {
  border: 0;
  background: transparent;
  color: #1f1c18;
}

.xoo-wsc-body {
  padding: 0.4rem 0.9rem 0.8rem;
}

.xoo-wsc-body .xoo-wsc-product {
  border-bottom: 1px solid #e4dccf;
  padding: 0.85rem 0;
}

.xoo-wsc-body .xoo-wsc-product:last-child {
  border-bottom: 0;
}

.xoo-wsc-body .xoo-wsc-pname {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
}

.xoo-wsc-body .xoo-wsc-pprice {
  font-size: 0.86rem;
  color: #3e392f;
}

.xoo-wsc-footer {
  border-top: none;
  background: #fff;
  padding: 0.9rem;
}

.xoo-wsc-footer .xoo-wsc-subtotal {
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  color: #2e2a24;
}

.xoo-wsc-footer .xoo-wsc-buttons {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.xoo-wsc-footer .xoo-wsc-btn {
  border-radius: 0;
  border: 1px solid #111;
  min-height: 42px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.xoo-wsc-footer .xoo-wsc-btn-checkout,
.xoo-wsc-footer .xoo-wsc-btn.xoo-wsc-btn-primary {
  background: #111;
  color: #fff;
}

.xoo-wsc-footer .xoo-wsc-btn-cart,
.xoo-wsc-footer .xoo-wsc-btn.xoo-wsc-btn-secondary {
  background: transparent;
  color: #111;
}

.xoo-wsc-footer .xoo-wsc-btn:hover {
  transform: translateY(-1px);
}

.xoo-wsc-body .quantity,
.xoo-wsc-body .xoo-wsc-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfc8bc;
  background: #fff;
  min-height: 38px;
}

.xoo-wsc-body .quantity input.qty,
.xoo-wsc-body .xoo-wsc-qty input[type="number"] {
  width: 44px;
  min-height: 38px;
  border: 0;
  text-align: center;
  font-size: 0.84rem;
  color: #2b2721;
  background: transparent;
  padding: 0;
}

.xoo-wsc-body .quantity .minus,
.xoo-wsc-body .quantity .plus,
.xoo-wsc-body .xoo-wsc-qty button,
.xoo-wsc-body .xoo-wsc-qty-btn {
  width: 34px;
  min-height: 38px;
  border: 0;
  background: #f2ece1;
  color: #1f1c18;
  font-size: 0.86rem;
  line-height: 1;
  cursor: pointer;
}

.xoo-wsc-body .quantity .minus:hover,
.xoo-wsc-body .quantity .plus:hover,
.xoo-wsc-body .xoo-wsc-qty button:hover,
.xoo-wsc-body .xoo-wsc-qty-btn:hover {
  background: #e8e0d2;
}

.xoo-wsc-btn .amount {
  color: initial;
  font-weight: 700;
  font-style: normal;
}

.xoo-wsc-footer,
.xoo-wsc-footer a,
.xoo-wsc-footer .amount {
  font-size: 16px;
}

.xoo-wsc-products:not(.xoo-wsc-pattern-card),
.xoo-wsc-products:not(.xoo-wsc-pattern-card) span.amount,
.xoo-wsc-products:not(.xoo-wsc-pattern-card) a {
  font-size: 0.8rem;
  color: #000000;
}

.xoo-wsch-text {
  font-size: 1rem;
  font-weight: 600;
  padding-left: 15px;
}

/*
 * Footer
 */
.site-footer {
  border-top: 0;
  padding: 2.8rem 0 1.8rem;
  background: #000;
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
  color: #534f48;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 1fr 1fr;
  gap: 2rem;
  padding: 1rem 0 3rem;
  border-top: none;
  border-bottom: 1px solid #1f1f1f;
  /* margin-top: 1rem; */
}

.footer-title {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer-heading {
  margin: 0 0 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  color: #cfcfcf;
  font-family: var(--e47-font-body);
}

.footer-copy {
  margin: 0 0 0.5rem;
  color: #d8d8d8;
  max-width: 42ch;
  font-size: 0.9rem;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.55rem;
  break-inside: avoid;
}

.footer-links a {
  color: #fff;
  font-size: 0.88rem;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.footer-contact-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.45rem 0.6rem;
  border: 0;
  color: #fff;
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-contact-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 0.12rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-contact-item path {
  fill: none;
  stroke: currentColor;
}

.footer-contact-item:hover {
  border: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-follow {
  margin-top: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: #c7c7c7;
}

.footer-follow__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid #262626;
  color: #fff;
  opacity: 0.9;
}

.footer-social-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-social-link path {
  fill: currentColor;
  stroke: none;
}

.footer-social-link span {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.footer-follow a {
  color: #fff;
  opacity: 0.9;
}

.footer-follow a:hover {
  opacity: 1;
  text-decoration: none;
  border: 0;
}

.footer-bottom {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 0;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #bdbdbd;
}

/*
 * Responsive
 */
@media (max-width: 1024px) {
  .container {
    width: calc(100% - 2rem);
  }

  .site-branding img,
  .site-branding .custom-logo {
    height: 56px;
  }

  .main-nav ul {
    gap: 0.9rem;
  }

  .main-nav a {
    font-size: 0.76rem;
  }

  .site-header__utilities {
    gap: 0.55rem;
  }

  .site-header__search input[type="search"] {
    width: 120px;
  }

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

@media (max-width: 768px) {
  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering {
    float: none;
    width: 100%;
  }

  .woocommerce .woocommerce-result-count {
    margin-bottom: 0.55rem;
  }

  .woocommerce .woocommerce-ordering .orderby {
    width: 100%;
  }

  .announcement-bar {
    height: 32px;
  }

  .announcement-bar__track {
    font-size: 0.72rem;
    gap: 1.4rem;
    animation-duration: 16s;
  }

  .site-header__inner {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    padding: 0.7rem 0;
  }

  .site-branding {
    position: static;
    transform: none;
    margin: 0;
    width: 100%;
    justify-content: center;
  }

  .site-branding img,
  .site-branding .custom-logo {
    height: 48px;
  }

  .main-nav {
    margin: 0;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav ul {
    flex-wrap: nowrap;
    gap: 0.75rem;
    min-width: max-content;
    padding-bottom: 0.2rem;
  }

  .main-nav a {
    font-size: 0.74rem;
  }

  .site-header__utilities {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .site-header__utilities a {
    font-size: 0.8rem;
  }

  .site-header__search input[type="search"] {
    width: min(260px, 78vw);
  }

  .home-video-banner {
    min-height: min(78vh, 720px);
  }

  .single-product div.product {
    grid-template-columns: 1fr;
  }

  .single-product .e47-product__top {
    grid-template-columns: 1fr;
  }

  .single-product .e47-product__gallery-col,
  .single-product .e47-product__summary-col {
    grid-column: auto;
  }

  .single-product .e47-product .e47-gallery__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .single-product .e47-product__summary {
    position: static;
  }

  .single-product .e47-product__details {
    grid-template-columns: 1fr;
  }

  .single-product .woocommerce-tabs {
    padding: 1rem 0.9rem 0.7rem;
  }

  .single-product .woocommerce-tabs ul.tabs {
    gap: 0.45rem;
  }

  .single-product .woocommerce-tabs ul.tabs li a {
    min-height: 38px;
    padding: 0.45rem 0.7rem !important;
    font-size: 0.74rem;
  }

  .single-product-support {
    padding-bottom: 2rem;
  }

  .editorial__grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    padding: 2rem 0;
  }

  .footer-contact-item,
  .footer-social-link {
    padding-left: 0;
    padding-right: 0;
  }

  .woocommerce-cart table.shop_table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .woocommerce-cart .cart_totals {
    width: 100%;
  }

  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
    padding: 0.45rem;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul li + li {
    border-top: 0;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    padding: 0.55rem 0.5rem;
    text-align: center;
    border: 1px solid #e2d8c9;
    background: #fff;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .woocommerce-account .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 1.4rem);
  }

  .site-main {
    overflow-x: hidden;
  }

  .page-title-banner {
    padding: 1rem 0 0.9rem;
  }

  ul.products {
    grid-template-columns: 1fr;
  }

  .single-product .e47-product .e47-gallery__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .single-product .e47-product .e47-gallery__controls {
    top: 0.6rem;
    right: 0.6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .woocommerce-Reviews ol.commentlist li.review .comment-text {
    margin-left: 0 !important;
    margin-top: 0.55rem;
  }

  #review_form_wrapper {
    padding: 0.8rem;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    padding: 0.85rem;
  }
}

/*
 * Flat UI overrides (header, footer, shop grid cards only — PDP keeps hairlines).
 */
.site-header,
.site-footer,
ul.products li.product {
  border: 0 !important;
  box-shadow: none !important;
}
