/* =========================================================
   TRIMEN — Premium Attar Frontend
   Brand palette aligned to official identity guide
   ========================================================= */

:root {
  --forest: #0E3B2E;
  --forest-deep: #0A2C22;
  --gold: #C8A24D;
  --gold-soft: #D4B56A;
  --sage: #7BA17F;
  --ivory: #F5F5F2;
  --ivory-warm: #EFEFEA;
  --black: #111111;
  --charcoal: #1A1A1A;
  --muted: #6B6B66;
  --border-gold: rgba(200, 162, 77, 0.35);
  --header-h: 80px;
  --announcement-h: 36px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

::selection {
  background: var(--forest);
  color: var(--ivory);
}

.font-display {
  font-family: var(--font-display);
}

.container-trimen {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container-trimen {
    padding-inline: 2rem;
  }
}

@media (min-width: 1200px) {
  .container-trimen {
    padding-inline: 2.5rem;
  }
}

/* ---------- Announcement ---------- */
.announcement-bar {
  background: var(--forest);
  color: rgba(245, 245, 242, 0.88);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  height: var(--announcement-h);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 60;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.announcement-bar.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
}

.announcement-bar .close-announcement {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(245, 245, 242, 0.7);
  transition: color 0.2s;
}

.announcement-bar .close-announcement:hover {
  color: var(--gold);
}

body.announcement-dismissed {
  --announcement-h: 0px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 245, 242, 0.92);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}

.site-header.is-scrolled {
  background: rgba(245, 245, 242, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(14, 56, 46, 0.08);
  box-shadow: 0 8px 30px rgba(17, 17, 17, 0.04);
}

.header-inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* Specificity note: WooCommerce's own stylesheet ships a global
   `.woocommerce img, .woocommerce-page img { height:auto; max-width:100% }`
   reset. Because that selector pairs a class with an element, it outranks a
   bare `.logo-img` class selector and blows the logo up to its native pixel
   size on every WooCommerce template (shop, single product, cart, checkout,
   my-account). Every logo rule below is qualified by its container so it
   always wins that fight. */
.site-header .logo-img,
.mobile-nav-panel .logo-img {
  height: 48px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.mobile-nav-panel .logo-img {
  height: 56px;
  max-width: 170px;
}

.logo-img--on-dark {
  height: 56px;
  max-width: 170px;
}

.footer-brand .logo-img {
  height: 56px;
  max-width: 170px;
}

.hero-logo-mark {
  width: 3.5rem;
  height: auto;
  margin-bottom: 1.25rem;
  opacity: 0.95;
}

.brand-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.brand-divider::before,
.brand-divider::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
}

.brand-divider .diamond {
  width: 0.45rem;
  height: 0.45rem;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.brand-values-bar {
  background: var(--ivory);
  border-block: 1px solid rgba(14, 59, 46, 0.08);
  padding: 1.1rem 1rem;
}

.brand-values-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--forest);
}

.brand-values-bar li {
  position: relative;
}

@media (min-width: 768px) {
  .brand-values-bar li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -1.15rem;
    top: 50%;
    width: 0.3rem;
    height: 0.3rem;
    background: var(--gold);
    transform: translateY(-50%) rotate(45deg);
  }
}

.logo-text-fallback {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.35em;
  color: var(--forest);
  font-weight: 500;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.35em;
  color: var(--forest);
  font-weight: 500;
  line-height: 1;
}

.logo span {
  display: none;
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
  position: relative;
  padding-block: 0.25rem;
  transition: color 0.2s;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav-desktop a:hover {
  color: var(--gold);
}

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

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
}

.icon-btn {
  color: var(--forest);
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: color 0.2s;
}

.icon-btn:hover {
  color: var(--gold);
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 1rem;
  height: 1rem;
  padding-inline: 0.2rem;
  background: var(--forest);
  color: var(--ivory);
  font-size: 0.5625rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.menu-toggle {
  display: inline-flex;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.logo-mobile-center {
  justify-self: center;
}

@media (min-width: 1024px) {
  .logo-mobile-center {
    justify-self: start;
  }

  .header-actions .cart-mobile-only {
    display: none;
  }
}

@media (max-width: 1023px) {
  .header-actions .search-btn,
  .header-actions .account-btn {
    display: none;
  }

  .header-inner {
    grid-template-columns: 2.5rem 1fr 2.5rem;
  }
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(88vw, 360px);
  height: 100%;
  background: var(--ivory);
  padding: 1.5rem;
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.mobile-nav.is-open {
  pointer-events: auto;
}

.mobile-nav.is-open .mobile-nav-backdrop {
  opacity: 1;
}

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.mobile-nav-links a {
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest);
  border-bottom: 1px solid rgba(14, 56, 46, 0.08);
  padding-bottom: 0.85rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.95rem 1.75rem;
  transition: background 0.3s var(--ease), color 0.3s, border-color 0.3s, transform 0.25s;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--forest);
  color: var(--ivory);
  border-color: var(--forest);
}

.btn-primary:hover {
  background: var(--forest-deep);
  border-color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(200, 162, 77, 0.55);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-dark {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}

.btn-outline-dark:hover {
  background: var(--forest);
  color: var(--ivory);
}

.btn-gold {
  background: var(--gold);
  color: var(--forest-deep);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-soft);
}

.btn-full {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - var(--announcement-h));
  min-height: max(640px, calc(100svh - var(--header-h) - var(--announcement-h)));
  background: var(--forest);
  color: var(--ivory);
  overflow: hidden;
}

.hero-attar {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(200, 162, 77, 0.12), transparent 50%),
    var(--forest);
}

.hero-logo-mark {
  width: 3.25rem;
  height: auto;
  margin-bottom: 1.25rem;
  opacity: 0.95;
}

.hero-grid {
  display: grid;
  height: 100%;
  align-items: stretch;
  position: relative;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 45% 55%;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 1.25rem 3.5rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 5rem 2.5rem 5rem 3rem;
  }
}

@media (min-width: 1200px) {
  .hero-content {
    padding-left: max(2.5rem, calc((100vw - 1400px) / 2 + 2.5rem));
  }
}

.hero-label {
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin: 0 0 1.25rem;
}

.hero-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(245, 245, 242, 0.78);
  max-width: 28rem;
  margin-bottom: 2.25rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero-media {
    min-height: 100%;
  }
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 56, 46, 0.65) 0%,
    rgba(14, 56, 46, 0.45) 45%,
    rgba(14, 56, 46, 0.75) 100%
  );
  pointer-events: none;
}

@media (min-width: 1024px) {
  .hero-media::after {
    background: linear-gradient(
      to right,
      rgba(14, 56, 46, 0.55) 0%,
      rgba(14, 56, 46, 0.1) 35%,
      transparent 60%
    );
  }
}

@media (max-width: 1023.98px) {
  .hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
  }

  .hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    min-height: 100%;
  }
}

.hero-side-text {
  display: none;
}

@media (min-width: 1100px) {
  .hero-side-text {
    display: block;
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    font-size: 0.625rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(200, 162, 77, 0.7);
    white-space: nowrap;
  }
}

.hero-gold-line {
  width: 3rem;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  animation: lineIn 0.8s var(--ease) 0.2s forwards;
}

.hero-animate > * {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.9s var(--ease) forwards;
}

.hero-animate > *:nth-child(1) { animation-delay: 0.1s; }
.hero-animate > *:nth-child(2) { animation-delay: 0.2s; }
.hero-animate > *:nth-child(3) { animation-delay: 0.3s; }
.hero-animate > *:nth-child(4) { animation-delay: 0.4s; }
.hero-animate > *:nth-child(5) { animation-delay: 0.5s; }
.hero-animate > *:nth-child(6) { animation-delay: 0.6s; }

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

@keyframes lineIn {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* ---------- Hero slider ---------- */
.hero-slides {
  display: grid;
  min-height: inherit;
}

.hero-slide {
  grid-area: 1 / 1;
  min-height: inherit;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0s linear 0.9s;
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s var(--ease);
  z-index: 2;
}

.hero-slide:not(.is-active) .hero-animate > * {
  animation: none;
  opacity: 0;
}

.hero-slide.is-active .hero-animate > * {
  animation: fadeUp 0.9s var(--ease) forwards;
}

.hero-slider-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .hero-slider-nav {
    bottom: 2rem;
    justify-content: flex-start;
    left: 2.5rem;
  }
}

@media (min-width: 1200px) {
  .hero-slider-nav {
    left: max(2.5rem, calc((100vw - 1400px) / 2 + 2.5rem));
  }
}

.hero-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(245, 245, 242, 0.3);
  color: var(--ivory);
  transition: border-color 0.3s, color 0.3s;
  flex-shrink: 0;
}

.hero-arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
}

.hero-dot::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(245, 245, 242, 0.35);
  transition: background 0.3s, transform 0.3s;
}

.hero-dot.is-active::after {
  background: var(--gold);
  transform: scale(1.25);
}

/* ---------- Quick category strip ---------- */
.quick-categories-section {
  padding-block: 2.5rem;
  background: var(--ivory);
}

.quick-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .quick-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .quick-categories {
    grid-template-columns: repeat(4, 1fr);
  }
}

.quick-category-tile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(14, 59, 46, 0.08);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.quick-category-tile:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(14, 59, 46, 0.08);
}

.quick-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  background: var(--forest);
  color: var(--gold);
}

.quick-category-icon i {
  width: 1.25rem;
  height: 1.25rem;
}

.quick-category-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.quick-category-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--forest);
  letter-spacing: 0.02em;
}

.quick-category-desc {
  font-size: 0.75rem;
  color: var(--muted);
}

.quick-category-arrow {
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.quick-category-tile:hover .quick-category-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Deal banners ---------- */
.deal-banners {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .deal-banners {
    grid-template-columns: repeat(2, 1fr);
  }
}

.deal-banner {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--forest);
}

.deal-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.deal-banner:hover img {
  transform: scale(1.05);
}

.deal-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(10, 44, 34, 0.88) 30%, rgba(10, 44, 34, 0.15) 75%);
}

.deal-banner-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.75rem 2rem;
  max-width: 22rem;
  color: var(--ivory);
}

.deal-banner-badge {
  align-self: flex-start;
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  background: var(--gold);
  color: var(--forest-deep);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.deal-banner-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  margin: 0;
}

.deal-banner-price {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.deal-banner-price del {
  color: rgba(245, 245, 242, 0.55);
  opacity: 1;
  margin-right: 0.5rem;
}

.deal-banner-price ins {
  text-decoration: none;
  color: var(--gold-soft);
}

.deal-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.5rem;
  transition: gap 0.3s var(--ease);
}

.deal-banner:hover .deal-banner-cta {
  gap: 0.65rem;
}

/* ---------- Section commons ---------- */
.section {
  padding-block: 5rem;
}

@media (min-width: 768px) {
  .section {
    padding-block: 6.5rem;
  }
}

@media (min-width: 1200px) {
  .section {
    padding-block: 7.5rem;
  }
}

.section-eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--forest);
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 32rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-subtitle {
  margin-inline: auto;
}

.gold-rule {
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
  margin: 1.25rem auto 0;
  position: relative;
}

.gold-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 0.85rem;
}

@media (min-width: 640px) {
  .product-grid {
    gap: 2rem 1.25rem;
  }
}

@media (min-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 1.5rem;
  }
}

.product-card {
  position: relative;
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f5f2 0%, #e8ebe4 100%);
  margin-bottom: 1.15rem;
  border: 1px solid rgba(14, 59, 46, 0.06);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--ease);
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.05);
}

.wishlist-btn {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 245, 242, 0.9);
  color: var(--forest);
  z-index: 2;
  transition: color 0.2s, background 0.2s;
}

.wishlist-btn.is-active,
.wishlist-btn:hover {
  color: var(--gold);
}

.wishlist-btn.is-active svg {
  fill: currentColor;
}

.product-card-actions {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  z-index: 2;
}

.product-card:hover .product-card-actions {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1023px) {
  .product-card-actions {
    opacity: 1;
    transform: none;
    position: static;
    margin-top: 0.85rem;
  }

  .product-card-actions .btn {
    width: 100%;
  }
}

.product-category {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.35rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--forest);
  margin: 0 0 0.35rem;
}

.product-desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0.65rem;
}

.product-price {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--black);
  font-weight: 500;
}

@media (max-width: 639px) {
  .product-name {
    font-size: 1.05rem;
  }

  .product-desc {
    font-size: 0.75rem;
  }
}

/* ---------- Brand story ---------- */
.story-section {
  background: var(--ivory);
}

.story-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4.5rem;
  }
}

.story-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--forest);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.15rem;
  font-size: 0.95rem;
  max-width: 32rem;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.25rem;
  transition: color 0.2s, gap 0.25s;
}

.story-link:hover {
  color: var(--gold);
  gap: 0.75rem;
}

/* ---------- Attar ---------- */
.attar-section {
  background: var(--forest);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.attar-section::before {
  content: "";
  position: absolute;
  inset: 2rem;
  border: 1px solid var(--border-gold);
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 767px) {
  .attar-section::before {
    inset: 1rem;
  }
}

.attar-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .attar-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.attar-section .section-title {
  color: var(--ivory);
}

.attar-section .section-subtitle {
  color: rgba(245, 245, 242, 0.72);
}

.attar-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.attar-bottle-frame {
  width: min(100%, 340px);
  aspect-ratio: 3 / 4;
  position: relative;
  border: 1px solid var(--border-gold);
  padding: 1rem;
}

.attar-bottle-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.attar-notes {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0 2.5rem;
}

.note-group h4 {
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.4rem;
  font-weight: 500;
}

.note-group p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(245, 245, 242, 0.8);
  letter-spacing: 0.04em;
}

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.25rem;
}

@media (min-width: 640px) {
  .values-grid {
    gap: 2.5rem 2rem;
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-item {
  text-align: center;
  padding: 0.5rem;
}

.value-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 1.25rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-item h3 {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.value-item p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  max-width: 16rem;
  margin-inline: auto;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
  }
}

@media (min-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--forest);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.35s;
}

.gallery-item:hover img {
  transform: scale(1.06);
  opacity: 0.7;
}

.gallery-item .ig-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.gallery-item:hover .ig-icon {
  opacity: 1;
}

@media (min-width: 768px) {
  .gallery-item:last-child {
    display: block;
  }
}

@media (max-width: 767px) {
  .gallery-item:nth-child(5) {
    display: none;
  }
}

/* ---------- Testimonials ---------- */
.testimonials-section {
  background: var(--ivory);
}

.testimonial-slider {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s var(--ease);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.55;
  color: var(--forest);
  font-style: italic;
  margin: 0 0 1.5rem;
}

.testimonial-stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 2.5rem;
}

.testimonial-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(14, 56, 46, 0.2);
  transition: background 0.25s, width 0.25s;
}

.testimonial-dot.is-active {
  background: var(--gold);
  width: 1.25rem;
  border-radius: 2px;
}

/* ---------- Newsletter ---------- */
.newsletter-section {
  background: var(--forest);
  color: var(--ivory);
  text-align: center;
}

.newsletter-section .section-title {
  color: var(--ivory);
}

.newsletter-section .section-subtitle {
  color: rgba(245, 245, 242, 0.72);
  margin-inline: auto;
}

.newsletter-form {
  max-width: 480px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(200, 162, 77, 0.4);
  color: var(--ivory);
  padding: 0.95rem 1.15rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.25s;
}

.newsletter-form input::placeholder {
  color: rgba(245, 245, 242, 0.45);
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

.newsletter-form input.is-error {
  border-color: #c45c5c;
}

.newsletter-message {
  margin-top: 1rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  min-height: 1.25rem;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.3s;
}

.newsletter-message.is-visible {
  opacity: 1;
}

.newsletter-message.is-error {
  color: #e8a0a0;
}

/* ---------- Footer ---------- */
.footer-newsletter {
  background: var(--forest);
  color: var(--ivory);
  padding-block: 2.75rem;
}

.footer-newsletter-inner {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 900px) {
  .footer-newsletter-inner {
    grid-template-columns: 1fr 26rem;
    gap: 3rem;
  }
}

.footer-newsletter h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0.35rem 0 0.5rem;
}

.footer-newsletter-subtitle {
  color: rgba(245, 245, 242, 0.72);
  font-size: 0.875rem;
  margin: 0;
  max-width: 30rem;
}

.footer-newsletter .newsletter-form {
  margin: 0;
  max-width: none;
}

.footer-newsletter .newsletter-message {
  text-align: left;
}

.footer-trust {
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(245, 245, 242, 0.08);
  border-bottom: 1px solid rgba(245, 245, 242, 0.08);
}

.footer-trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.5rem;
  padding-block: 1.1rem;
}

.footer-trust-inner span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 245, 242, 0.75);
}

.footer-trust-inner i {
  color: var(--gold);
}

.site-footer {
  background: var(--forest-deep);
  color: rgba(245, 245, 242, 0.78);
  padding-top: 4.5rem;
}

.footer-brand {
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--ivory);
  font-size: 1.75rem;
}

.footer-brand .logo span {
  background: var(--gold);
}

.footer-tagline {
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.85rem;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.footer-col h4 {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  margin: 0 0 1.25rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(245, 245, 242, 0.65);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-col p {
  font-size: 0.875rem;
  margin: 0 0 0.55rem;
  color: rgba(245, 245, 242, 0.65);
}

.footer-bottom {
  margin-top: 3.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(200, 162, 77, 0.18);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-copy {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(245, 245, 242, 0.45);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: rgba(245, 245, 242, 0.7);
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--gold);
}

/* ---------- Overlays: Search ---------- */
.search-overlay,
.cart-drawer-root {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.search-overlay.is-open,
.cart-drawer-root.is-open {
  pointer-events: auto;
}

.search-backdrop,
.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.5);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.search-overlay.is-open .search-backdrop,
.cart-drawer-root.is-open .cart-backdrop {
  opacity: 1;
}

.search-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--ivory);
  padding: 2.5rem 1.25rem 3rem;
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease);
}

@media (min-width: 768px) {
  .search-panel {
    padding: 3.5rem 2rem 4rem;
  }
}

.search-overlay.is-open .search-panel {
  transform: translateY(0);
}

.search-panel-inner {
  max-width: 720px;
  margin: 0 auto;
}

.search-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: var(--forest);
}

.search-heading {
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  text-align: center;
}

.search-input-wrap {
  border-bottom: 1px solid rgba(14, 56, 46, 0.2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  margin-bottom: 2rem;
}

.search-input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.25rem;
  font-family: var(--font-display);
  color: var(--forest);
  outline: none;
}

.search-input-wrap input::placeholder {
  color: rgba(14, 56, 46, 0.35);
}

.popular-searches h4 {
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.popular-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.popular-searches .chip {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(14, 56, 46, 0.15);
  color: var(--forest);
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.popular-searches .chip:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---------- Cart drawer ---------- */
.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 400px);
  height: 100%;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: -12px 0 40px rgba(17, 17, 17, 0.08);
}

.cart-drawer-root.is-open .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.35rem;
  border-bottom: 1px solid rgba(14, 56, 46, 0.08);
}

.cart-header h2 {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--forest);
  margin: 0;
  font-weight: 600;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.35rem;
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(14, 56, 46, 0.08);
}

.cart-item img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  background: var(--ivory-warm);
}

.cart-item-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--forest);
  letter-spacing: 0.04em;
  margin: 0 0 0.2rem;
}

.cart-item-meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(14, 56, 46, 0.18);
}

.qty-control button {
  width: 1.85rem;
  height: 1.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
}

.qty-control span {
  min-width: 1.75rem;
  text-align: center;
  font-size: 0.8125rem;
}

.cart-item-price {
  font-size: 0.875rem;
  color: var(--black);
  font-weight: 500;
}

.cart-remove {
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.55rem;
  transition: color 0.2s;
}

.cart-remove:hover {
  color: var(--forest);
}

.cart-footer {
  padding: 1.35rem;
  border-top: 1px solid rgba(14, 56, 46, 0.1);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.15rem;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
}

.cart-demo-msg {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: var(--sage);
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.cart-demo-msg.is-visible {
  opacity: 1;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--forest);
  color: var(--ivory);
  border: 1px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--forest-deep);
  color: var(--gold);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay);
}

.reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Cart icon feedback when an item is added */
.cart-btn.is-bumped {
  animation: cart-bump 0.5s var(--ease);
}

@keyframes cart-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.28); }
  60% { transform: scale(0.94); }
  100% { transform: scale(1); }
}

.cart-count.is-bumped {
  animation: cart-count-pop 0.5s var(--ease);
}

@keyframes cart-count-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); background: var(--gold); }
  100% { transform: scale(1); }
}

/* Buttons: a touch of lift on hover, site-wide */
.btn {
  transform: translateY(0);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(20px);
  background: var(--forest);
  color: var(--ivory);
  padding: 0.85rem 1.35rem;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  border: 1px solid var(--border-gold);
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Utility ---------- */
.text-forest { color: var(--forest); }
.text-gold { color: var(--gold); }
.bg-ivory { background: var(--ivory); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Inner page hero ---------- */
.page-hero {
  background: var(--forest);
  color: var(--ivory);
  padding: 4.5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 1.25rem;
  border: 1px solid var(--border-gold);
  pointer-events: none;
}

@media (min-width: 768px) {
  .page-hero {
    padding: 5.5rem 0 5rem;
  }

  .page-hero::before {
    inset: 1.75rem;
  }
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero .section-eyebrow {
  color: var(--gold);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.06em;
  margin: 0 0 0.85rem;
  line-height: 1.1;
}

.page-hero p {
  max-width: 32rem;
  margin: 0 auto;
  color: rgba(245, 245, 242, 0.72);
  line-height: 1.7;
  font-size: 0.95rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 245, 242, 0.5);
}

.breadcrumb a {
  color: rgba(245, 245, 242, 0.65);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span {
  color: var(--gold);
}

.nav-desktop a.is-active,
.mobile-nav-links a.is-active {
  color: var(--gold);
}

.nav-desktop a.is-active::after {
  width: 100%;
}

/* ---------- Shop filters ---------- */
.shop-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .shop-toolbar {
    flex-direction: row;
    align-items: center;
  }
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-btn {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(14, 56, 46, 0.18);
  color: var(--forest);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.filter-btn:hover {
  border-color: var(--gold);
}

.filter-btn.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--ivory);
}

.shop-count {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card.is-hidden {
  display: none;
}

/* ---------- Collection cards ---------- */
.collection-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 1100px) {
  .collection-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.collection-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--forest);
  color: var(--ivory);
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.4s;
  opacity: 0.85;
}

.collection-card:hover img {
  transform: scale(1.05);
  opacity: 0.65;
}

.collection-card-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(to top, rgba(10, 42, 34, 0.92), transparent);
}

.collection-card-content .label {
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.collection-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
  font-weight: 400;
}

.collection-card-content p {
  font-size: 0.85rem;
  color: rgba(245, 245, 242, 0.75);
  margin: 0;
  line-height: 1.55;
}

.collection-featured {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  margin-top: 4rem;
}

@media (min-width: 1024px) {
  .collection-featured {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.collection-featured-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  padding: 0.75rem;
  background: var(--forest);
}

.collection-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- About page ---------- */
.about-timeline {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .about-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.timeline-item {
  border-top: 1px solid var(--border-gold);
  padding-top: 1.25rem;
}

.timeline-item .year {
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.timeline-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--forest);
  margin: 0 0 0.65rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.timeline-item p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ---------- Journal / Blog ---------- */
.blog-grid {
  display: grid;
  gap: 2.5rem 1.75rem;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ivory-warm);
  margin-bottom: 1.15rem;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-date {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.5rem;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--forest);
  margin: 0 0 0.6rem;
}

.blog-card-title a {
  color: inherit;
  transition: color 0.2s;
}

.blog-card-title a:hover {
  color: var(--gold);
}

.blog-card-excerpt {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0 0 0.85rem;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  border-bottom: 1px solid rgba(14, 56, 46, 0.25);
  padding-bottom: 0.2rem;
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}

.blog-card-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  gap: 0.6rem;
}

.blog-pagination {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}

.blog-pagination .nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
}

.blog-pagination a:hover {
  color: var(--gold);
}

.blog-pagination .current {
  color: var(--gold);
}

.blog-empty {
  text-align: center;
  color: var(--muted);
  padding: 3rem 0;
}

/* ---------- Single post ---------- */
.single-post-header {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 3rem;
}

.single-post-header .section-eyebrow {
  color: var(--gold);
}

.single-post-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.15;
  margin: 0.75rem 0 1rem;
}

.single-post-meta {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.single-post-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 3rem;
}

.single-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-post-content {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.single-post-content p {
  margin: 0 0 1.5rem;
}

.single-post-content a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-post-content a:hover {
  color: var(--gold);
}

.single-post-footer {
  max-width: 42rem;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(14, 56, 46, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.single-post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
}

.single-post-back:hover {
  color: var(--gold);
}

.craft-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .craft-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.craft-block {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(14, 56, 46, 0.1);
}

.craft-block h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--forest);
  margin: 0 0 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.craft-block p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
  font-size: 0.925rem;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4.5rem;
  }
}

.contact-details {
  display: grid;
  gap: 1.75rem;
}

.contact-detail h3 {
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.contact-detail p,
.contact-detail a {
  color: var(--forest);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.contact-detail a:hover {
  color: var(--gold);
}

.contact-form {
  display: grid;
  gap: 1.15rem;
}

.form-row {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field label {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(14, 56, 46, 0.18);
  color: var(--forest);
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
}

.form-field input.is-error,
.form-field select.is-error,
.form-field textarea.is-error {
  border-color: #c45c5c;
}

.contact-message {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  min-height: 1.25rem;
  color: var(--sage);
  opacity: 0;
  transition: opacity 0.3s;
}

.contact-message.is-visible {
  opacity: 1;
}

.contact-message.is-error {
  color: #b05050;
}

.map-placeholder {
  margin-top: 3.5rem;
  border: 1px solid var(--border-gold);
  background: var(--forest);
  color: var(--ivory);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.map-placeholder p {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 245, 242, 0.7);
}

.map-placeholder span {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: none;
}

/* ---------- Product detail page ---------- */
.pdp-section {
  padding-block: 2.5rem 5rem;
  background: var(--ivory);
}

@media (min-width: 768px) {
  .pdp-section {
    padding-block: 3rem 6.5rem;
  }
}

.pdp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.pdp-breadcrumb a {
  color: var(--muted);
  transition: color 0.2s;
}

.pdp-breadcrumb a:hover {
  color: var(--gold);
}

.pdp-breadcrumb .current {
  color: var(--forest);
}

.pdp-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .pdp-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
}

.pdp-gallery {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.pdp-main-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ivory-warm);
  border: 1px solid rgba(14, 56, 46, 0.06);
  margin-bottom: 0.75rem;
}

.pdp-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s var(--ease);
}

.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.pdp-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--ivory-warm);
  padding: 0;
  transition: border-color 0.25s;
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-thumb.is-active,
.pdp-thumb:hover {
  border-color: var(--gold);
}

.pdp-type {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
}

.pdp-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--forest);
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

.pdp-price {
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  color: var(--black);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.pdp-short {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  max-width: 32rem;
}

.pdp-sizes {
  margin-bottom: 1.5rem;
}

.pdp-sizes-label {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.pdp-size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pdp-size-btn {
  min-width: 4.5rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(14, 56, 46, 0.18);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.pdp-size-btn:hover {
  border-color: var(--gold);
}

.pdp-size-btn.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--ivory);
}

.pdp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

.pdp-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(14, 56, 46, 0.18);
  height: 3rem;
}

.pdp-qty button {
  width: 2.75rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
}

.pdp-qty span {
  min-width: 2.5rem;
  text-align: center;
  font-size: 0.875rem;
}

.pdp-actions .btn {
  flex: 1;
  min-width: 10rem;
  height: 3rem;
}

.pdp-wishlist {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(14, 56, 46, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  transition: color 0.2s, border-color 0.2s;
}

.pdp-wishlist:hover,
.pdp-wishlist.is-active {
  color: var(--gold);
  border-color: var(--gold);
}

.pdp-wishlist.is-active svg {
  fill: currentColor;
}

.pdp-meta {
  display: grid;
  gap: 0.65rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(14, 56, 46, 0.1);
  font-size: 0.8125rem;
  color: var(--muted);
}

.pdp-meta strong {
  color: var(--forest);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.pdp-tabs {
  margin-top: 4.5rem;
  border-top: 1px solid rgba(14, 56, 46, 0.1);
  padding-top: 2.5rem;
}

.pdp-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(14, 56, 46, 0.08);
}

.pdp-tab-btn {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 0.85rem;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.pdp-tab-btn.is-active {
  color: var(--forest);
  border-bottom-color: var(--gold);
}

.pdp-tab-panel {
  display: none;
  max-width: 48rem;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.pdp-tab-panel.is-active {
  display: block;
}

.pdp-notes {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .pdp-notes {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.pdp-note h4 {
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.pdp-note p {
  margin: 0;
  color: var(--forest);
  font-size: 0.9rem;
}

.pdp-related {
  margin-top: 1rem;
}

/* ---------- PDP: real WooCommerce markup skin ----------
   The classes below (.woocommerce-product-gallery, .summary, .quantity,
   .single_add_to_cart_button, .woocommerce-tabs, ...) are WooCommerce's own
   output — kept as-is for full functionality (zoom, lightbox, variations,
   AJAX add-to-cart, structured data) and restyled here to match the
   .pdp-* design tokens above instead of being replaced with new markup. */
.pdp-gallery-col {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery__image {
  margin: 0;
}

.woocommerce-product-gallery__image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ivory-warm);
  border: 1px solid rgba(14, 56, 46, 0.06);
}

.woocommerce-product-gallery__image a,
.woocommerce-product-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.flex-control-thumbs li {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--ivory-warm);
  transition: border-color 0.25s;
}

.flex-control-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.25s;
}

.flex-control-thumbs img.flex-active,
.flex-control-thumbs li:hover img {
  opacity: 1;
}

.flex-control-thumbs li:has(img.flex-active) {
  border-color: var(--gold);
}

.pdp-summary .product_title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--forest);
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

.pdp-summary .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.pdp-summary .star-rating {
  color: var(--gold);
}

.pdp-summary .price {
  display: block;
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  color: var(--black);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.pdp-summary .price del {
  color: var(--muted);
  opacity: 0.7;
  margin-right: 0.5rem;
}

.pdp-summary .price ins {
  text-decoration: none;
  color: var(--forest);
}

.pdp-summary .woocommerce-product-details__short-description {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  max-width: 32rem;
}

.pdp-summary .stock {
  display: none;
}

.pdp-summary form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.pdp-summary .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(14, 56, 46, 0.18);
  height: 3rem;
}

.pdp-summary .quantity .qty {
  width: 3.5rem;
  height: 100%;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--forest);
}

.pdp-summary .single_add_to_cart_button {
  flex: 1;
  min-width: 10rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), border-color 0.3s;
}

.pdp-summary .single_add_to_cart_button.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ---------- WooCommerce buttons, everywhere ----------
   WooCommerce ships a strong `.woocommerce ... button.button.alt` selector
   (3 classes) as a built-in purple fallback so unstyled themes are never
   left with invisible buttons. It intentionally outranks a same-weight
   theme selector, so `!important` here isn't a hack fighting the plugin —
   it's the supported way to swap in the brand palette. Covers add-to-cart,
   cart/checkout actions, coupon, login/register, address forms, etc. */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--forest) !important;
  color: var(--ivory) !important;
  border: 1px solid var(--forest) !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-size: 0.6875rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  padding: 0.95rem 1.75rem !important;
  height: auto !important;
  line-height: 1 !important;
  transition: background 0.3s var(--ease), border-color 0.3s, opacity 0.3s !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--forest-deep) !important;
  border-color: var(--gold) !important;
  color: var(--ivory) !important;
}

.woocommerce a.button.disabled,
.woocommerce button.button.disabled,
.woocommerce input.button.disabled,
.woocommerce a.button:disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled {
  opacity: 0.45 !important;
  pointer-events: none;
}

.woocommerce a.button.loading,
.woocommerce button.button.loading {
  opacity: 0.65 !important;
}

.woocommerce a.button.btn-outline,
.woocommerce a.wc-forward.btn-outline {
  background: transparent !important;
  color: var(--forest) !important;
  border-color: var(--forest) !important;
}

.pdp-summary .product_meta {
  display: grid;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(14, 56, 46, 0.1);
  font-size: 0.8125rem;
  color: var(--muted);
}

.pdp-summary .product_meta a {
  color: var(--muted);
  transition: color 0.2s;
}

.pdp-summary .product_meta a:hover {
  color: var(--gold);
}

.pdp-after {
  margin-top: 4.5rem;
}

.woocommerce-tabs.wc-tabs-wrapper {
  border-top: 1px solid rgba(14, 56, 46, 0.1);
  padding-top: 2.5rem;
}

.woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid rgba(14, 56, 46, 0.08);
}

.woocommerce-tabs ul.tabs li {
  margin: 0;
}

.woocommerce-tabs ul.tabs li a {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.woocommerce-tabs ul.tabs li.active a {
  color: var(--forest);
  border-bottom-color: var(--gold);
}

.woocommerce-tabs .panel {
  max-width: 48rem;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.woocommerce-tabs .panel h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--forest);
  font-weight: 400;
  margin: 0 0 1rem;
}

.related.products > h2,
.upsells.products > h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--forest);
  letter-spacing: 0.03em;
  margin: 0 0 1.75rem;
}

.product-card .product-name a,
.product-card .product-image-link {
  color: inherit;
}

.product-card .product-name a:hover {
  color: var(--gold);
}

.product-card .product-image-link {
  display: block;
  height: 100%;
}

.product-card .product-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Reviews ---------- */
.reviews-section {
  background: var(--ivory-warm);
}

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.reviews-summary-score {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--forest);
}

.reviews-summary-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.reviews-summary-count {
  font-size: 0.8125rem;
  color: var(--muted);
}

.reviews-summary-count strong {
  color: var(--forest);
  font-weight: 600;
}

.reviews-slider {
  position: relative;
}

.reviews-grid {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}

.reviews-grid::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .reviews-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 1100px) {
  .reviews-grid {
    gap: 1.75rem;
  }
}

.review-card {
  background: var(--ivory);
  border: 1px solid rgba(14, 56, 46, 0.1);
  padding: 1.75rem;
  flex: 0 0 85%;
  scroll-snap-align: start;
}

@media (min-width: 560px) {
  .review-card {
    flex-basis: calc(50% - 0.625rem);
  }
}

@media (min-width: 768px) {
  .review-card {
    flex-basis: calc(50% - 0.75rem);
  }
}

@media (min-width: 1100px) {
  .review-card {
    flex-basis: calc(33.333% - 1.17rem);
  }
}

.reviews-slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.reviews-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(14, 56, 46, 0.2);
  color: var(--forest);
  background: transparent;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  flex-shrink: 0;
}

.reviews-arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 162, 77, 0.08);
}

.reviews-arrow:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.review-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  flex-shrink: 0;
}

.review-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.15rem;
}

.review-name i {
  color: var(--gold);
  width: 0.9rem;
  height: 0.9rem;
}

.review-product {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

.review-stars {
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ---------- Policy pages ---------- */
.policy-content {
  max-width: 46rem;
  margin: 0 auto;
}

/* My Account / Cart / Checkout render through the same generic page
   template as legal pages, so they inherit .policy-content's 46rem cap —
   too narrow for the account nav + content grid below. Widen only when
   this wrapper actually holds WooCommerce account/cart markup. */
.policy-content:has(.woocommerce-MyAccount-navigation),
.policy-content:has(.wp-block-woocommerce-cart),
.policy-content:has(.wp-block-woocommerce-checkout),
.policy-content:has(.about-break) {
  max-width: none;
}

/* The About page's lead paragraphs (from the_content) should stay a
   comfortable reading width even though the wrapper above is now full
   width for the sections that follow them. */
.policy-content:has(.about-break) > p {
  max-width: 46rem;
  margin-inline: auto;
}

.policy-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--forest);
  letter-spacing: 0.03em;
  font-weight: 400;
  margin: 2.5rem 0 0.85rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.9375rem;
  margin: 0 0 1rem;
}

.policy-content ul {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.9375rem;
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.policy-content li {
  margin-bottom: 0.4rem;
}

.policy-content .updated-note {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
}

/* ---------- USP / trust bar ---------- */
.usp-bar {
  background: var(--ivory);
  border-block: 1px solid rgba(14, 59, 46, 0.08);
  padding: 1.15rem 1rem;
}

.usp-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
}

@media (min-width: 900px) {
  .usp-bar ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2.5rem;
  }
}

.usp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  white-space: normal;
}

@media (min-width: 900px) {
  .usp-item {
    flex-direction: row;
    text-align: left;
    white-space: nowrap;
  }
}

.usp-item i {
  color: var(--gold);
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

/* ---------- Product badges ---------- */
.product-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  background: var(--forest);
  color: var(--ivory);
  font-weight: 600;
}

.product-badge.badge-new {
  background: var(--gold);
  color: var(--forest-deep);
}

.pdp-type-badge {
  display: inline-block;
  margin-left: 0.65rem;
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  background: var(--forest);
  color: var(--ivory);
  font-weight: 600;
  vertical-align: middle;
}

.pdp-type-badge.badge-new {
  background: var(--gold);
  color: var(--forest-deep);
}

.product-badge.badge-sale {
  left: auto;
  right: 0.85rem;
  background: var(--black);
  color: var(--ivory);
}

/* ---------- Shop by scent (category tiles) ---------- */
.category-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .category-tiles {
    grid-template-columns: repeat(4, 1fr);
  }
}

.category-tile {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--forest);
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}

.category-tile:hover img {
  transform: scale(1.06);
  opacity: 0.95;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 44, 34, 0) 40%, rgba(10, 44, 34, 0.75) 100%);
}

.category-tile-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  z-index: 1;
  text-align: center;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.category-tile-count {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ---------- WhatsApp floating contact ---------- */
.whatsapp-float {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--ivory);
  box-shadow: 0 8px 24px rgba(10, 44, 34, 0.35);
  border: 1px solid var(--border-gold);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.whatsapp-float:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
  color: var(--gold-soft);
}

/* ---------- PDP stock note ---------- */
.pdp-stock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--sage);
  margin: -0.75rem 0 1.5rem;
}

.pdp-stock i {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* ---------- About: photo break + quote ---------- */
.about-break {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: 4rem;
}

@media (min-width: 900px) {
  .about-break {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    margin-top: 5rem;
  }
}

.about-break-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.about-break-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-quote {
  margin: 0;
  padding-left: 1.75rem;
  border-left: 2px solid var(--gold);
}

.about-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.45;
  margin: 0 0 1rem;
}

.about-quote cite {
  font-style: normal;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-cta {
  text-align: center;
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(14, 56, 46, 0.1);
}

.about-cta .section-title {
  margin-bottom: 1.75rem;
}

/* ---------- Sourcing (About) ---------- */
.sourcing-grid {
  display: grid;
  gap: 2rem 2.5rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .sourcing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sourcing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sourcing-item {
  border-top: 1px solid var(--border-gold);
  padding-top: 1.25rem;
}

.sourcing-item .material {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--forest);
  letter-spacing: 0.04em;
  margin: 0 0 0.35rem;
}

.sourcing-item .origin {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.65rem;
}

.sourcing-item p.desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ---------- Gift set feature ---------- */
.gift-feature {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border-gold);
}

@media (min-width: 1024px) {
  .gift-feature {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}

.gift-feature-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  padding: 0.75rem;
}

.gift-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gift-feature-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.gift-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.gift-feature-list i {
  color: var(--gold);
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  max-width: 44rem;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(14, 56, 46, 0.12);
  background: var(--ivory);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--forest);
  font-weight: 500;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.15rem;
  color: var(--gold);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 1.35rem 1.35rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* =========================================================
   WooCommerce: cart, checkout, my-account
   Same approach as the PDP skin above — real WooCommerce
   markup/classes, restyled to match the brand instead of
   being replaced with bespoke templates.
   ========================================================= */

/* ---------- Shared form fields ---------- */
.woocommerce form .form-row label,
.woocommerce-account .woocommerce-MyAccount-content label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.woocommerce form .form-row .required {
  color: var(--gold);
  text-decoration: none;
}

.woocommerce ::placeholder {
  color: rgba(107, 107, 102, 0.6);
}

.woocommerce form .input-text,
.woocommerce form textarea,
.woocommerce-page form .input-text,
.woocommerce-page form textarea,
.select2-container .select2-selection--single {
  width: 100%;
  border: 1px solid rgba(14, 56, 46, 0.18) !important;
  background: var(--ivory) !important;
  padding: 0.85rem 1rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  color: var(--forest) !important;
  border-radius: 0 !important;
  height: auto !important;
  transition: border-color 0.25s;
}

.woocommerce form .input-text:focus,
.woocommerce form textarea:focus {
  outline: none;
  border-color: var(--gold) !important;
}

.woocommerce form .form-row {
  margin-bottom: 1.25rem;
}

.woocommerce form .woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.woocommerce a.woocommerce-LostPassword,
.woocommerce .lost_password a {
  font-size: 0.8125rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce a.woocommerce-LostPassword:hover,
.woocommerce .lost_password a:hover {
  color: var(--gold);
}

/* ---------- Login / Register (My Account, logged out) ---------- */
.woocommerce-account .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) {
  max-width: 30rem;
}

.woocommerce-account #customer_login.col2-set {
  display: grid;
  gap: 3rem;
  max-width: none;
}

@media (min-width: 768px) {
  .woocommerce-account #customer_login.col2-set {
    grid-template-columns: 1fr 1fr;
  }
}

.woocommerce-account #customer_login h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--forest);
  margin: 0 0 1.5rem;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
  padding: 2rem;
  border: 1px solid rgba(14, 56, 46, 0.1);
  background: #fff;
}

/* ---------- My Account dashboard ---------- */
/* WooCommerce's core stylesheet lays this out with legacy floats
   (nav 30% float:left, content 68% float:right). Neutralize both before
   applying the grid below, or the float/width pair survives as a grid
   item's own sizing and breaks the two-column layout. */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
  margin-bottom: 3rem;
}

@media (min-width: 900px) {
  .woocommerce-account .woocommerce {
    max-width: none;
    display: grid;
    grid-template-columns: 15rem 1fr;
    gap: 3.5rem;
    align-items: start;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 0;
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    grid-column: 1;
    grid-row: 1;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    margin-bottom: 0;
    min-width: 0;
    grid-column: 2;
    grid-row: 1;
  }
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(14, 56, 46, 0.1);
}

.woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid rgba(14, 56, 46, 0.1);
}

.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 0.95rem 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.woocommerce-MyAccount-navigation a:hover {
  color: var(--forest);
}

.woocommerce-MyAccount-navigation li.is-active a {
  color: var(--gold);
}

.woocommerce-MyAccount-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--forest);
  margin: 0 0 1.25rem;
}

.woocommerce-MyAccount-content mark {
  background: none;
  color: var(--forest);
  font-weight: 600;
}

.woocommerce-MyAccount-content .woocommerce-Message {
  margin-bottom: 1.5rem;
}

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

@media (min-width: 640px) {
  .woocommerce-Addresses {
    grid-template-columns: 1fr 1fr;
  }
}

.woocommerce-Addresses .woocommerce-Address {
  padding: 1.75rem;
  background: #fff;
  border: 1px solid rgba(14, 56, 46, 0.1);
}

.woocommerce-Address-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}

.woocommerce-Address-title h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--forest);
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.woocommerce-Address-title a {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce-Address-title a:hover {
  color: var(--gold);
}

address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.9rem;
}

/* ---------- Notices / messages ---------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--gold);
  background: #fff;
  font-size: 0.875rem;
  color: var(--forest);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
}

.woocommerce-error {
  border-left-color: #b3542f;
}

.woocommerce-message .button,
.woocommerce-info .button {
  order: 2;
}

/* ---------- Order / cart tables ---------- */
table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

table.shop_table th {
  text-align: left;
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(14, 56, 46, 0.15);
}

table.shop_table td {
  padding: 1.25rem 0.75rem;
  border-bottom: 1px solid rgba(14, 56, 46, 0.08);
  font-size: 0.875rem;
  color: var(--forest);
  vertical-align: middle;
}

table.shop_table td.product-name a {
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1rem;
}

table.shop_table td.product-name a:hover {
  color: var(--gold);
}

table.shop_table .product-thumbnail img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border: 1px solid rgba(14, 56, 46, 0.08);
}

table.shop_table td.product-remove a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--muted) !important;
  background: transparent !important;
  border-radius: 50% !important;
  font-size: 1.1rem;
  line-height: 1;
  transition: color 0.2s, background 0.2s;
}

table.shop_table td.product-remove a.remove:hover {
  color: #fff !important;
  background: #b3542f !important;
}

table.shop_table .quantity .qty {
  width: 4rem;
  border: 1px solid rgba(14, 56, 46, 0.18);
  padding: 0.6rem;
  text-align: center;
  font-size: 0.875rem;
}

table.shop_table tr.order-total th,
table.shop_table tr.order-total td {
  border-top: 1px solid rgba(14, 56, 46, 0.15);
  border-bottom: none;
  font-size: 1.05rem;
  color: var(--forest);
  font-weight: 600;
  padding-top: 1.5rem;
}

table.shop_table tr.order-total .amount {
  color: var(--forest);
  font-family: var(--font-display);
}

tr.cart-subtotal .amount,
tr.shipping .amount,
tr.tax-total .amount {
  color: var(--forest);
}

.actions .coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.actions .coupon .input-text {
  width: auto !important;
  min-width: 12rem;
  flex: 1;
}

@media (max-width: 767px) {
  table.shop_table_responsive thead {
    display: none;
  }

  table.shop_table_responsive tr {
    display: block;
    border-bottom: 1px solid rgba(14, 56, 46, 0.1);
    padding: 1rem 0;
  }

  table.shop_table_responsive td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: none;
    padding: 0.4rem 0;
  }

  table.shop_table_responsive td::before {
    content: attr(data-title) ": ";
    font-size: 0.625rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
  }

  table.shop_table_responsive td.product-remove::before,
  table.shop_table_responsive td.product-thumbnail::before {
    content: "";
  }
}

/* ---------- Cart page layout ---------- */
.woocommerce-cart .woocommerce {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .woocommerce-cart .woocommerce {
    grid-template-columns: 1.6fr 1fr;
    align-items: start;
  }
}

.cart-collaterals {
  background: #fff;
  border: 1px solid rgba(14, 56, 46, 0.1);
  padding: 1.75rem;
}

.cart_totals h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--forest);
  margin: 0 0 1rem;
}

.wc-proceed-to-checkout {
  margin-top: 1rem;
}

.wc-proceed-to-checkout .checkout-button {
  width: 100%;
  text-align: center;
}

.woocommerce-cart .cart-empty {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--forest);
}

.woocommerce-cart .return-to-shop {
  text-align: center;
  margin-bottom: 3rem;
}

/* ---------- Checkout ---------- */
.woocommerce-checkout #customer_details {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
  .woocommerce-checkout .woocommerce {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }

  .woocommerce-checkout #customer_details {
    grid-template-columns: 1fr;
    margin-bottom: 0;
  }
}

#order_review_heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--forest);
  margin: 0 0 1.25rem;
}

.woocommerce-checkout-review-order-table {
  background: #fff;
  border: 1px solid rgba(14, 56, 46, 0.1);
  padding: 0 1.5rem;
}

.woocommerce-checkout-review-order-table thead {
  display: none;
}

#payment {
  background: #fff;
  border: 1px solid rgba(14, 56, 46, 0.1);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

#payment ul.payment_methods {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

#payment .payment_box {
  padding: 1rem 0 0 1.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

#place_order {
  width: 100%;
  margin-top: 0.5rem;
}

.woocommerce-terms-and-conditions-wrapper {
  margin: 1.25rem 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ---------- Cross-sells (cart page "New in Store") ---------- */
.cart-collaterals ~ .cross-sells,
.cross-sells {
  margin-top: 3rem;
}

.cross-sells > h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--forest);
  margin: 0 0 1.75rem;
}
