@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink: #22221b;
  --ink-deep: #141410;
  --muted: #747268;
  --paper: #f8f6f1;
  --paper-translucent: rgba(248, 246, 241, 0.90);
  --line: #e6e2d8;
  --line-subtle: rgba(34, 34, 27, 0.08);
  --accent: #5e9619;
  --accent-hover: #4d7c13;
  --accent-glow: rgba(94, 150, 25, 0.22);
  --accent-bright: #81d319;
  --soft: #f0ede5;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }

/* ── Announcement Heritage Bar ───────────────────────────────── */
.announcement, .announcement-bar {
  background: var(--ink-deep);
  color: #edeae3;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .05em;
  padding: 8px 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1010;
}
.announcement-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #f5f4ef;
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}
.announcement-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 8px var(--accent-bright);
  animation: announcementPulse 2s infinite ease-in-out;
}
@keyframes announcementPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}
.announcement-marquee {
  text-align: center;
  flex: 1;
  font-size: 11px;
  color: #dfdbd1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.announcement-marquee strong {
  color: #fff;
  font-weight: 600;
}
.announcement-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  white-space: nowrap;
}
.announcement-link {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}
.announcement-link:hover {
  color: var(--accent-bright);
}
.announcement-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 10px;
}
.announcement-origin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b5b2a8;
  font-size: 10.5px;
  letter-spacing: .04em;
}
.ceylon-leaf-icon {
  color: var(--accent-bright);
}

/* ── Sticky Luxury Header ────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--paper-translucent);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line-subtle);
  transition: background .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s cubic-bezier(.16, 1, .3, 1), border-color .3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px -10px rgba(20, 20, 16, 0.08);
  border-bottom-color: rgba(34, 34, 27, 0.07);
}
.site-header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 4.5%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

/* ── Brand Lockup ────────────────────────────────────────────── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity .2s;
}
.brand-emblem-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  width: auto;
}
.brand-emblem {
  display: block;
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(94, 150, 25, 0.22));
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}
.brand:hover .brand-emblem {
  transform: translateY(-2px) scale(1.05);
}
.brand-identity {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.1;
  color: var(--ink-deep);
  text-transform: uppercase;
  transition: color .2s;
}
.brand:hover .brand-name {
  color: var(--accent);
}
.brand-tagline {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.brand-logo, .footer-logo {
  display: block;
  height: 68px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* ── Center Desktop Navigation ───────────────────────────────── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: color .2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--accent);
}
.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}
.nav-badge {
  display: inline-block;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(94, 150, 25, 0.12);
  color: var(--accent);
  border-radius: 10px;
  line-height: 1;
}
.nav-chevron {
  transition: transform .25s cubic-bezier(.16, 1, .3, 1);
  color: var(--muted);
  width: 9px;
  height: 5px;
}
.has-dropdown:hover .nav-chevron,
.has-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

/* ── Collections Mega-Dropdown Menu ──────────────────────────── */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s cubic-bezier(.16, 1, .3, 1), visibility .25s;
  z-index: 1050;
  padding-top: 14px;
}
.has-dropdown:hover .nav-dropdown-menu,
.has-dropdown.is-open .nav-dropdown-menu,
.has-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-panel {
  min-width: 500px;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  border-radius: 16px;
  border: 1px solid rgba(34, 34, 27, 0.08);
  box-shadow: 0 24px 50px -12px rgba(20, 20, 16, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  padding: 24px;
}
.dropdown-top-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line-subtle);
}
.dropdown-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.dropdown-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-deep);
  letter-spacing: -.02em;
}
.dropdown-all-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .2s;
  white-space: nowrap;
}
.dropdown-all-link:hover {
  color: var(--accent);
}
.dropdown-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.category-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  transition: all .2s ease;
}
.category-tile:hover {
  background: #fff;
  border-color: rgba(94, 150, 25, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(20, 20, 16, 0.06);
}
.category-tile.is-active {
  background: #fff;
  border-color: var(--accent);
}
.category-tile-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  transition: background .2s, transform .2s;
}
.category-tile:hover .category-tile-dot,
.category-tile.is-active .category-tile-dot {
  background: var(--accent);
  transform: scale(1.3);
}
.category-tile-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.category-tile-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-deep);
}
.category-tile-sub {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 1px;
}
.category-tile-arrow {
  color: var(--muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: all .2s ease;
}
.category-tile:hover .category-tile-arrow {
  opacity: 1;
  color: var(--accent);
  transform: translateX(0);
}
.dropdown-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-subtle);
  font-size: 11px;
  color: var(--muted);
}
.dropdown-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.highlight-star {
  color: var(--accent);
  font-size: 13px;
}
.dropdown-craft-link {
  font-weight: 600;
  color: var(--ink);
  transition: color .2s;
  white-space: nowrap;
}
.dropdown-craft-link:hover {
  color: var(--accent);
}

/* ── Header Right Tools & CTAs ───────────────────────────────── */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.tool-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-subtle);
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all .2s ease;
  flex-shrink: 0;
}
.tool-btn:hover {
  background: #fff;
  border-color: rgba(34, 34, 27, 0.18);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 20, 16, 0.05);
}
.bag-counter {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 5px rgba(94, 150, 25, 0.35);
  line-height: 1;
}

/* Search Flyout Widget */
.search-widget {
  position: relative;
}
.header-search-flyout {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 340px;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-radius: 12px;
  border: 1px solid rgba(34, 34, 27, 0.09);
  box-shadow: 0 20px 45px -10px rgba(20, 20, 16, 0.16);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s cubic-bezier(.16, 1, .3, 1), visibility .2s;
  z-index: 1060;
}
.search-widget.is-open .header-search-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.search-flyout-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border-radius: 8px;
  padding: 4px 8px 4px 12px;
  border: 1px solid var(--line);
  transition: border-color .2s;
}
.search-flyout-inner:focus-within {
  border-color: var(--accent);
  background: #fff;
}
.search-flyout-icon {
  color: var(--muted);
  flex-shrink: 0;
}
.header-search-input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-size: 13px;
  color: var(--ink);
  padding: 6px 0;
}
.header-search-input::placeholder {
  color: #9c9990;
}
.header-search-submit {
  border: 0;
  background: var(--ink-deep);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}
.header-search-submit:hover {
  background: var(--accent);
}
.header-search-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color .2s;
}
.header-search-close:hover {
  color: var(--ink);
}

/* Primary Header Action CTA */
.header-cta, .header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 17px;
  border-radius: 19px;
  background: var(--ink-deep);
  color: #fff !important;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(20, 20, 16, 0.1);
  transition: all .25s cubic-bezier(.16, 1, .3, 1);
  white-space: nowrap;
  flex-shrink: 0;
}
.header-cta:hover, .header-action:hover {
  background: var(--accent);
  border-color: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -4px rgba(94, 150, 25, 0.45);
  color: #fff !important;
}
.cta-arrow-icon {
  transition: transform .2s ease;
}
.header-cta:hover .cta-arrow-icon {
  transform: translate(2px, -2px);
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-subtle);
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  padding: 0;
  transition: all .2s;
  flex-shrink: 0;
}
.mobile-toggle-bar {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink-deep);
  border-radius: 2px;
  transition: all .25s ease;
}
.mobile-toggle.is-active .mobile-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mobile-toggle.is-active .mobile-toggle-bar:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.is-active .mobile-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── Interactive Side Drawers (Shopping Bag & Mobile Menu) ──── */
body.drawer-locked {
  overflow: hidden;
}
.bag-drawer-backdrop,
.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 20, 16, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.bag-drawer-backdrop.is-active,
.mobile-drawer-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}
.bag-drawer,
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  height: 100vh;
  background-color: #ffffff !important;
  z-index: 99999;
  box-shadow: -12px 0 45px rgba(20, 20, 16, 0.16);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.bag-drawer.is-open,
.mobile-drawer.is-open {
  transform: translateX(0);
}
.bag-drawer-header,
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-subtle);
}
.bag-drawer-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-deep);
}
.mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink-deep);
}
.drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-subtle);
  background: var(--paper);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
}
.drawer-close:hover {
  background: var(--ink-deep);
  color: #fff;
}
.bag-drawer-shipping-meter {
  display: none !important;
}
.shipping-meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}
.shipping-meter-highlight {
  font-weight: 600;
  color: var(--accent);
}
.shipping-meter-bar {
  height: 4px;
  background: #e2ded5;
  border-radius: 2px;
  overflow: hidden;
}
.shipping-meter-progress {
  height: 100%;
  background: var(--accent);
  transition: width .4s ease;
}
.bag-drawer-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.bag-empty-card {
  text-align: center;
  padding: 40px 16px;
  background: var(--paper);
  border-radius: 14px;
  border: 1px dashed var(--line);
  margin-bottom: 24px;
}
.bag-empty-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(20, 20, 16, 0.04);
}
.bag-empty-card h4 {
  font-family: var(--serif);
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--ink-deep);
}
.bag-empty-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px;
}
.bag-browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink-deep);
  color: #fff;
  padding: 10px 22px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
}
.bag-browse-btn:hover {
  background: var(--accent);
}
.bag-perks-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-subtle);
}
.bag-perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
}
.bag-perk svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.bag-perk strong {
  display: block;
  color: var(--ink-deep);
  font-size: 12px;
}
.bag-perk span {
  color: var(--muted);
  font-size: 11px;
}

/* Mobile Drawer Internal Styling */
.mobile-drawer-search {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line-subtle);
}
.mobile-drawer-search form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
}
.mobile-drawer-search input {
  border: 0;
  background: transparent;
  width: 100%;
  font-size: 13px;
  outline: none;
}
.mobile-drawer-search button {
  border: 0;
  background: transparent;
  font-size: 16px;
  color: var(--accent);
  cursor: pointer;
}
.mobile-drawer-nav {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}
.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink-deep);
  text-decoration: none;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-subtle);
  transition: color .2s;
}
.mobile-nav-item:hover,
.mobile-nav-item.is-active {
  color: var(--accent);
}
.mobile-nav-count {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mobile-nav-group {
  padding: 6px 0 14px;
}
.mobile-group-header {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.mobile-group-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mobile-cat-pill {
  padding: 7px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: all .2s;
}
.mobile-cat-pill:hover,
.mobile-cat-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.mobile-new-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(94, 150, 25, 0.12);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 10px;
}
.mobile-drawer-footer {
  padding: 24px;
  background: var(--paper);
  border-top: 1px solid var(--line-subtle);
}
.mobile-primary-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  background: var(--ink-deep);
  color: #fff;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
  margin-bottom: 12px;
}
.mobile-primary-cta:hover {
  background: var(--accent);
}
.mobile-heritage-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--muted);
  text-align: center;
}
.heritage-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.hero { min-height: 560px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 5%; padding: 42px 7% 55px; }
.hero-copy { max-width: 460px; padding: 20px 0; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 10px; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
.hero h1, .shop-heading h1, .detail-copy h1, .not-found h1 { margin-bottom: 20px; font-family: var(--serif); font-size: clamp(48px, 6.2vw, 82px); font-weight: 400; letter-spacing: -.055em; line-height: .99; }
.hero-copy > p:not(.eyebrow) { max-width: 370px; margin-bottom: 28px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.hero h1 .eyebrow, .shop-heading h1 .eyebrow { display: block; font-family: var(--sans); line-height: 1.5; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 0; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .2s ease, color .2s ease; }
.button:hover { background: var(--accent); color: #fff; }
.button:disabled { cursor: not-allowed; opacity: .55; }
.hero-image { height: min(42vw, 470px); min-height: 330px; overflow: hidden; background: #e8e2d7; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
/* ── Brand Story / Description Section ────────────────────────── */
.brand-story {
  padding: 85px 7% 80px;
  background: #fbf9f5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.brand-story-inner {
  max-width: 1440px;
  margin: 0 auto;
}
.brand-story-header {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 50px 75px;
  align-items: start;
  margin-bottom: 58px;
}
.brand-story-left {
  max-width: 620px;
}
.brand-story-eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-story-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--accent);
}
.brand-story-quote {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.035em;
  color: var(--ink);
  margin: 0;
}
.brand-story-text {
  padding-top: 8px;
}
.brand-story-text p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
  margin-bottom: 18px;
}
.brand-story-text .brand-story-lead {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
}
.story-explore-link {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.story-explore-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateX(3px);
}

/* ── Academic Collaboration / Founded by Creativity & Passion ── */
.site-collaboration {
  padding: 72px 7% 80px;
  background: #fbf9f5;
  border-top: 1px solid var(--line);
}
.site-collaboration-inner {
  max-width: 1440px;
  margin: 0 auto;
}
.site-collaboration .brand-collaboration {
  margin: 0;
}
.brand-collaboration {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 44px 48px;
  margin: 0 0 54px;
  box-shadow: 0 10px 30px rgba(34, 34, 27, 0.035);
  position: relative;
  overflow: hidden;
}
.brand-collaboration::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(94, 150, 25, 0.45) 50%, transparent 100%);
}
.collaboration-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px 56px;
  align-items: center;
}
.collaboration-eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.collaboration-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: var(--accent);
}
.collaboration-heading {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0 0 16px;
}
.collaboration-lead {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 14px;
}
.collaboration-lead strong {
  font-weight: 600;
  color: var(--ink-deep);
}
.collaboration-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 14px;
}
.collaboration-body:last-child {
  margin-bottom: 0;
}

.collaboration-partners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.partner-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(34, 34, 27, 0.05);
  border-color: rgba(94, 150, 25, 0.4);
}
.partner-logo-box {
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  width: 100%;
}
.partner-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .25s ease;
}
.partner-card:hover .partner-logo {
  transform: scale(1.04);
}
.partner-logo-ecu {
  max-height: 75px;
  width: auto;
}
.partner-logo-ruhuna {
  max-height: 100px;
  width: auto;
}
.partner-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.partner-line {
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}
.partner-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.35;
}

.brand-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.brand-pillar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s ease;
}
.brand-pillar:hover {
  transform: translateY(-3px);
}
.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(111, 174, 27, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.brand-pillar:hover .pillar-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.08);
}
.pillar-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0;
}
.pillar-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.categories, .featured-section { padding: 65px 7% 82px; }
.categories { background: var(--soft); }
.featured-section { background: var(--paper); border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2, .category-card h3 { margin-bottom: 0; font-family: var(--serif); font-size: clamp(30px, 4vw, 43px); font-weight: 400; letter-spacing: -.04em; }
.text-link { padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 11px; letter-spacing: .06em; white-space: nowrap; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.category-card { min-width: 0; }
.category-card img { width: 100%; height: clamp(180px, 25vw, 340px); margin-bottom: 15px; object-fit: cover; background: #ddd8cd; }
.category-card h3 { display: flex; justify-content: space-between; font-size: 21px; }
.category-card h3 span { font-family: Arial, sans-serif; font-size: 15px; }
.shop-main { max-width: 1440px; min-height: 70vh; margin: 0 auto; padding: 62px 7% 88px; }
.shop-heading { margin-bottom: 33px; }
.shop-heading h1 { margin-bottom: 12px; font-size: clamp(44px, 6vw, 70px); }
.shop-heading > p:last-child { color: var(--muted); font-size: 14px; line-height: 1.7; }
.shop-filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shop-filters label { flex: 1 1 170px; }
.shop-filters input, .shop-filters select, .size-select select { width: 100%; min-height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); }
.shop-filters .button { min-height: 44px; }
.results-line { margin: 20px 0; color: var(--muted); font-size: 12px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 18px; }
.art-card { min-width: 0; }
.art-image { position: relative; display: grid; height: clamp(220px, 32vw, 420px); place-items: center; overflow: hidden; background: #e9e5dc; }
.art-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.art-image:hover img { transform: scale(1.025); }
.image-placeholder { color: #a8a397; font-family: var(--serif); font-size: 30px; letter-spacing: .12em; }
.stock-badge { position: absolute; top: 12px; left: 12px; padding: 8px 10px; background: var(--paper); color: var(--ink); font-size: 10px; letter-spacing: .04em; }
.art-meta { display: flex; justify-content: space-between; margin: 14px 0 7px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.sale-note { color: var(--accent); }
.art-card h2 { margin: 0 0 7px; font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.25; }
.art-price, .detail-price { margin: 0; font-size: 13px; }
.art-price del, .detail-price del { margin-right: 5px; color: var(--muted); }
.empty-shop { padding: 55px 0; color: var(--muted); text-align: center; }
.pagination { display: flex; justify-content: center; gap: 7px; margin-top: 38px; }
.pagination a { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 12px; }
.pagination a.current, .pagination a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.detail-main { max-width: 1440px; min-height: 65vh; margin: 0 auto; padding: 32px 7% 85px; }
.back-link { display: inline-block; margin-bottom: 25px; color: var(--muted); font-size: 12px; }
.breadcrumbs { margin-bottom: 22px; color: var(--muted); font-size: 12px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; min-width: 0; }
.breadcrumbs li + li::before { content: "/"; margin: 0 9px; color: var(--line); }
.breadcrumbs a { color: var(--muted); transition: color .2s ease; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.product-detail { display: grid; grid-template-columns: 1.1fr .9fr; align-items: start; gap: 7%; }
.detail-main-image { display: grid; min-height: 380px; max-height: 700px; aspect-ratio: 1 / 1.05; place-items: center; overflow: hidden; background: #e9e5dc; }
.detail-main-image img { width: 100%; height: 100%; object-fit: cover; }
.thumb-row { display: flex; gap: 10px; margin-top: 10px; }
.thumb { width: 75px; height: 75px; padding: 0; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-copy { padding-top: 22px; }
.detail-copy h1 { font-size: clamp(40px, 5vw, 62px); }
.detail-price { margin-bottom: 24px; font-size: 16px; }
.short-description { color: var(--muted); font-size: 14px; line-height: 1.7; }
.detail-description { margin: 24px 0; font-size: 13px; line-height: 1.8; white-space: normal; }
.product-facts { margin: 25px 0; border-top: 1px solid var(--line); }
.product-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.product-facts dt { color: var(--muted); }
.product-facts dd { margin: 0; text-align: right; }
.size-select { display: block; max-width: 250px; margin: 20px 0; font-size: 12px; }
.size-select select { display: block; margin-top: 8px; }
.detail-button { width: 100%; margin-top: 8px; }
.enquire-note { margin-top: 15px; color: var(--muted); font-size: 11px; }
.enquire-note a { color: var(--ink); text-decoration: underline; }
.not-found { padding: 90px 0; text-align: center; }
.not-found h1 { font-size: clamp(42px, 6vw, 65px); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ── Rich Footer ────────────────────────────────────────────── */
.site-footer {
  --accent: #81d319;
  --f-line: rgba(255,255,255,.09);
  --f-text: rgba(255,255,255,.58);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 92% 0%, rgba(129,211,25,.10), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(129,211,25,.05), transparent 65%),
    var(--ink);
  color: var(--f-text);
  font-size: 12px;
}
/* Thin accent line across the top */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  opacity: .55;
}

/* Scroll reveal (enabled by footer.js) */
.site-footer.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.site-footer.has-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

/* Perks strip */
.footer-perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0 7%;
  list-style: none;
  border-bottom: 1px solid var(--f-line);
}
.footer-perk {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 34px 24px;
  border-left: 1px solid var(--f-line);
  transition: background .3s ease;
}
.footer-perk:first-child { border-left: 0; }
.footer-perk:hover { background: linear-gradient(180deg, rgba(129,211,25,.06), transparent); }
.footer-perk-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(129,211,25,.3);
  border-radius: 50%;
  background: rgba(129,211,25,.07);
  color: var(--accent);
  transition: background .3s ease, color .3s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.footer-perk:hover .footer-perk-icon { background: var(--accent); color: var(--ink); transform: rotate(-8deg) scale(1.06); }
.footer-perk strong { display: block; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.footer-perk small { display: block; margin-top: 4px; font-size: 12px; color: rgba(255,255,255,.5); }

/* Newsletter */
.footer-newsletter {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 32px 64px;
  padding: 64px 7%;
  border-bottom: 1px solid var(--f-line);
}
.footer-newsletter-copy .eyebrow { color: var(--accent); margin-bottom: 12px; }
.footer-newsletter-copy h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.02;
}
.footer-newsletter-copy h2 em { font-style: italic; color: var(--accent); }
.footer-newsletter-copy p { margin: 0; font-size: 13.5px; line-height: 1.7; }
.footer-newsletter-side { width: 100%; max-width: 520px; justify-self: end; }
.footer-newsletter-form { width: 100%; }
.footer-newsletter-field {
  position: relative;
  display: flex;
  align-items: center;
  padding: 6px 6px 6px 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.footer-newsletter-field:focus-within {
  border-color: var(--accent);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 4px rgba(129,211,25,.14);
}
.footer-newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  letter-spacing: .02em;
  outline: none;
}
.footer-newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,.38); }
.footer-newsletter-form button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s ease, box-shadow .25s ease, transform .2s ease;
}
.footer-newsletter-form button svg { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.footer-newsletter-form button:hover { background: #95e62e; box-shadow: 0 8px 24px -8px rgba(129,211,25,.6); }
.footer-newsletter-form button:hover svg { transform: translateX(4px); }
.footer-newsletter-form button:active { transform: scale(.97); }
.footer-newsletter-form button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.footer-newsletter-msg {
  min-height: 18px;
  margin: 10px 0 0 22px;
  font-size: 12px;
}
.footer-newsletter-form.is-error .footer-newsletter-field { border-color: #e2725b; box-shadow: 0 0 0 4px rgba(226,114,91,.14); animation: footer-shake .35s ease; }
.footer-newsletter-form.is-error .footer-newsletter-msg { color: #f0a08f; }
.footer-newsletter-form.is-success .footer-newsletter-msg { color: var(--accent); }
.footer-newsletter-note { margin: 2px 0 0 22px; font-size: 11px; color: rgba(255,255,255,.35); }
@keyframes footer-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Main columns grid */
.footer-body {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 40px 56px;
  padding: 72px 7% 64px;
}
.footer-brand-col { padding-right: 40px; border-right: 1px solid var(--f-line); }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.footer-brand:hover { transform: translateY(-2px); }
.footer-emblem {
  display: block;
  width: auto;
  height: 54px;
  filter: brightness(1.35) drop-shadow(0 0 14px rgba(129,211,25,.25));
}
.footer-brand-text { display: flex; flex-direction: column; gap: 4px; }
.footer-brand-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .01em;
  color: #fff;
}
.footer-brand-sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}
.footer-tagline {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  color: rgba(255,255,255,.72);
  line-height: 1.45;
  max-width: 300px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  transition: border-color .25s, color .25s, background .25s, transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: var(--accent);
  color: var(--ink);
  background: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 22px -10px rgba(129,211,25,.7);
  outline: none;
}
/* Tooltip label */
.footer-social a::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  padding: 5px 9px;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity .2s ease, transform .2s ease;
}
.footer-social a:hover::after,
.footer-social a:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }

.footer-col h4 { margin: 0 0 24px; }
.footer-col-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: default;
}
.footer-col-toggle::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(129,211,25,.18);
}
.footer-col-chevron { display: none; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-col ul a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: var(--f-text);
  transition: color .25s ease, transform .3s cubic-bezier(.2,.7,.2,1);
}
.footer-col ul a::before {
  content: '';
  width: 0;
  height: 1px;
  margin-right: 0;
  background: var(--accent);
  transition: width .3s cubic-bezier(.2,.7,.2,1), margin-right .3s cubic-bezier(.2,.7,.2,1);
}
.footer-col ul a:hover,
.footer-col ul a:focus-visible { color: #fff; outline: none; }
.footer-col ul a:hover::before,
.footer-col ul a:focus-visible::before { width: 14px; margin-right: 8px; }

/* Contact column */
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-contact-item {
  display: flex;
  flex-direction: column;
}
.footer-contact-link,
.footer-contact-static {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--f-text);
  text-decoration: none;
  transition: color .25s ease;
}
.footer-col ul.footer-contact-list a::before {
  display: none !important;
}
.footer-contact-link:hover,
.footer-contact-link:focus-visible {
  color: #fff;
  outline: none;
}
.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
  transition: transform .25s ease, filter .25s ease;
}
.footer-contact-link:hover .footer-contact-icon {
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px rgba(129,211,25,.5));
}
.footer-contact-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}
.footer-contact-val {
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
  transition: color .25s ease;
}
.footer-contact-link:hover .footer-contact-val {
  color: var(--accent);
}
.footer-contact-static .footer-contact-val {
  color: rgba(255, 255, 255, .9);
}
.footer-contact-tag {
  font-size: 11px;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .42);
}

/* Oversized wordmark with cursor spotlight */
.footer-wordmark {
  --mx: 50%;
  --my: 50%;
  padding: 8px 4% 22px;
  overflow: hidden;
  text-align: center;
  user-select: none;
  border-top: 1px solid var(--f-line);
}
.footer-wordmark span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(38px, 12vw, 200px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.035em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.14);
  background:
    radial-gradient(280px circle at var(--mx) var(--my), rgba(129,211,25,.9), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.015) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  background-repeat: no-repeat;
}
.footer-wordmark:not(:hover) span {
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.015) 85%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Bottom bar */
.footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 22px 7%;
  border-top: 1px solid var(--f-line);
  background: rgba(0,0,0,.18);
  font-size: 11px;
  letter-spacing: .05em;
  color: rgba(255,255,255,.4);
}
.footer-bottom-copy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.footer-dev-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  letter-spacing: .04em;
  line-height: 1.4;
  white-space: nowrap;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.footer-dev-tag:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.9);
}
.footer-dev-tag strong {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.footer-bottom-links { display: flex; gap: 22px; margin-left: auto; }
.footer-bottom-links a { color: inherit; transition: color .2s; }
.footer-bottom-links a:hover { color: var(--accent); }
.footer-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,.7);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .25s, color .25s, background .25s;
}
.footer-to-top svg { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.footer-to-top:hover { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.footer-to-top:hover svg { transform: translateY(-3px); }

@media (max-width: 960px) {
  .footer-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-perk:nth-child(3) { border-left: 0; }
  .footer-perk:nth-child(n+3) { border-top: 1px solid var(--f-line); }
  .footer-newsletter { grid-template-columns: 1fr; }
  .footer-newsletter-side { justify-self: start; }
  .footer-body { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; padding-right: 0; border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer *, .site-footer *::before, .site-footer *::after { transition: none !important; animation: none !important; }
}

@media (max-width: 960px) {
  .brand-story-header { grid-template-columns: 1fr; gap: 32px; }
  .brand-story-left { max-width: 100%; }
  .collaboration-grid { grid-template-columns: 1fr; gap: 32px; }
  .brand-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
}

@media (max-width: 960px) {
  .brand-story-header { grid-template-columns: 1fr; gap: 32px; }
  .brand-story-left { max-width: 100%; }
  .brand-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .site-nav { display: none; }
  .mobile-toggle { display: flex; }
  .header-cta { display: none; }
  .announcement-inner { justify-content: center; }
  .announcement-badge, .announcement-meta { display: none; }
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 25px; padding: 42px 5% 48px; }
  .hero-image { height: 78vw; min-height: 280px; max-height: 440px; }
  .brand-story { padding: 56px 5% 52px; }
  .site-collaboration { padding: 50px 5% 56px; }
  .site-collaboration .brand-collaboration { margin-bottom: 0; }
  .brand-collaboration { padding: 30px 20px; margin-bottom: 38px; }
  .collaboration-partners { gap: 14px; }
  .partner-card { padding: 20px 12px 16px; }
  .partner-logo-box { height: 85px; margin-bottom: 12px; }
  .partner-logo-ecu { max-height: 60px; }
  .partner-logo-ruhuna { max-height: 80px; }
  .partner-name { font-size: 10px; }
  .categories, .featured-section { padding: 48px 5% 58px; }
  .category-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 13px; }
  .category-card img { height: 55vw; max-height: 360px; }
  .art-image { height: 58vw; max-height: 390px; }
  .shop-main, .detail-main { padding-right: 5%; padding-left: 5%; }
  .product-detail { grid-template-columns: 1fr; gap: 20px; }
  .detail-main-image { min-height: 0; }
  .detail-copy { padding-top: 0; }
  .footer-perks { padding: 0 5%; }
  .footer-perk { padding: 20px 14px; }
  .footer-newsletter { padding: 48px 5%; }
  .footer-body { grid-template-columns: 1fr 1fr; gap: 36px 32px; padding: 48px 5% 40px; }
  .footer-bottom { flex-wrap: wrap; padding: 18px 5%; }
  .footer-bottom-links { margin-left: 0; order: 3; width: 100%; }
}

@media (max-width: 560px) {
  .site-header-container { padding: 8px 4%; min-height: 62px; gap: 12px; }
  .collaboration-partners { grid-template-columns: 1fr; gap: 14px; }
  .partner-logo-box { height: 90px; }
  .brand-emblem { height: 34px; }
  .brand-name { font-size: 16px; }
  .brand-tagline { font-size: 7.5px; letter-spacing: .16em; }
  .header-tools { gap: 8px; }
  .tool-btn { width: 34px; height: 34px; }
  .mobile-toggle { width: 34px; height: 34px; }
  .announcement-bar { font-size: 9.5px; padding: 7px 4%; }
  .brand-pillars { grid-template-columns: 1fr; gap: 28px; }
  .section-heading { align-items: start; flex-direction: column; }
  .category-grid, .product-grid { grid-template-columns: 1fr; }
  .category-card img, .art-image { height: 82vw; max-height: 430px; }
  .shop-filters label { flex-basis: 100%; }
  .shop-filters .button { width: 100%; }
  .footer-perks { grid-template-columns: 1fr; }
  .footer-perk, .footer-perk:nth-child(3) { padding: 16px 0; border-left: 0; }
  .footer-perk + .footer-perk { border-top: 1px solid var(--f-line); }
  .footer-newsletter-form button span { display: none; }
  .footer-newsletter-form button { padding: 0 16px; }
  .footer-body { grid-template-columns: 1fr; gap: 0; padding-top: 40px; }
  .footer-brand-col { padding-bottom: 28px; margin-bottom: 8px; }
  .footer-col { border-top: 1px solid var(--f-line); }
  .footer-col h4 { margin: 0; }
  .footer-col-toggle { width: 100%; justify-content: flex-start; padding: 18px 0; cursor: pointer; }
  .footer-col-chevron { display: block; margin-left: auto; transition: transform .3s ease; }
  .footer-col.is-open .footer-col-chevron { transform: rotate(180deg); }
  .footer-col ul { display: block; max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .35s ease, padding .35s ease, visibility 0s linear .35s; }
  .footer-col.is-open ul { max-height: 480px; padding-bottom: 18px; visibility: visible; transition-delay: 0s; }
  .footer-col ul li + li { margin-top: 12px; }
  .footer-bottom-links { flex-wrap: wrap; gap: 10px 16px; }
}

/* ================================================================
   SHOPPING BAG DRAWER & CART INTERACTIONS
   ================================================================ */
.drawer-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.drawer-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-subtle);
  position: relative;
  transition: opacity .25s ease;
}
.drawer-item-img-link {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line-subtle);
  display: block;
}
.drawer-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.drawer-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-family: var(--serif);
  color: var(--muted);
  letter-spacing: .08em;
}
.drawer-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.drawer-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.drawer-item-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-deep);
}
.drawer-item-title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.drawer-item-title a:hover {
  color: var(--accent);
}
.drawer-item-remove {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 4px;
  cursor: pointer;
  line-height: 1;
  border-radius: 4px;
  transition: all .2s;
}
.drawer-item-remove:hover {
  color: #c93b2b;
  background: rgba(201, 59, 43, 0.08);
}
.drawer-item-meta {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.drawer-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  overflow: hidden;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.qty-btn:hover:not(:disabled) {
  background: var(--ink-deep);
  color: #fff;
}
.qty-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.qty-val {
  min-width: 28px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 0 4px;
  color: var(--ink-deep);
}
.drawer-item-price-wrap {
  text-align: right;
}
.drawer-item-price {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-deep);
  display: block;
}
.drawer-item-unit-price {
  font-size: 10.5px;
  color: var(--muted);
  display: block;
}

.drawer-checkout-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.drawer-totals {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}
.drawer-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.drawer-total-row.shipping-row .free-ship-tag {
  color: var(--accent);
  letter-spacing: .08em;
}
.drawer-total-row.grand-total-row {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-deep);
  padding-top: 8px;
  border-top: 1px dashed var(--line-subtle);
}
.drawer-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.drawer-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  background: var(--ink-deep);
  color: #fff !important;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .25s ease;
  box-shadow: 0 4px 14px rgba(20, 20, 16, 0.12);
}
.drawer-checkout-btn:hover {
  background: var(--accent);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -4px rgba(94, 150, 25, 0.45);
}
.drawer-view-bag-btn {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .2s;
  padding: 4px;
}
.drawer-view-bag-btn:hover {
  color: var(--accent);
}
.drawer-guarantee-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 14px;
}
.drawer-guarantee-note svg {
  color: var(--accent);
}

.shipping-qualified {
  color: var(--accent) !important;
  font-weight: 600;
}

/* ================================================================
   PRODUCT PAGE ADD TO CART & OPTIONS
   ================================================================ */
.product-purchase-form {
  margin: 22px 0 16px;
  padding: 20px;
  background: var(--paper);
  border-radius: 14px;
  border: 1px solid var(--line-subtle);
}
.purchase-size-group {
  margin-bottom: 18px;
}
.purchase-field-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-deep);
  margin-bottom: 7px;
}
.size-guide-hint {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  text-transform: none;
  letter-spacing: normal;
}
.purchase-size-select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 0 14px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  outline: none;
  cursor: pointer;
  transition: border-color .2s;
}
.purchase-size-select:focus {
  border-color: var(--accent);
}

.purchase-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.purchase-qty-control {
  display: flex;
  align-items: center;
  gap: 12px;
}
.purchase-qty-control .qty-stepper {
  height: 40px;
  background: #fff;
}
.purchase-qty-control .qty-btn {
  width: 36px;
  height: 40px;
  font-size: 16px;
}
.purchase-qty-control .detail-qty-input {
  width: 44px;
  height: 40px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-deep);
  outline: none;
}
.stock-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: #2b7a2d;
}
.stock-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2b7a2d;
  box-shadow: 0 0 0 3px rgba(43, 122, 45, 0.2);
}
.stock-low .stock-status-dot {
  background: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}
.stock-low {
  color: #d97706;
}

.purchase-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  border-radius: 26px;
  background: var(--ink-deep);
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 4px 16px rgba(20, 20, 16, 0.12);
}
.btn-add-to-cart:hover {
  background: var(--accent);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -4px rgba(94, 150, 25, 0.45);
}
.btn-buy-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  border-radius: 23px;
  background: transparent;
  color: var(--ink-deep);
  border: 1.5px solid var(--ink-deep);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease;
}
.btn-buy-now:hover {
  background: var(--ink-deep);
  color: #fff;
}
.btn-sold-out {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  background: #e5e2da;
  color: #8c887f;
  border: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: not-allowed;
}

.product-assurance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-subtle);
}
.assurance-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
}
.assurance-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ================================================================
   PRODUCT CARD QUICK ADD (SHOP & HOME)
   ================================================================ */
.card-quick-action {
  margin-top: 12px;
}
.btn-card-add-to-bag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 38px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s cubic-bezier(.16, 1, .3, 1);
}
.btn-card-add-to-bag:hover {
  background: var(--ink-deep);
  color: #fff;
  border-color: var(--ink-deep);
  box-shadow: 0 4px 14px rgba(20, 20, 16, 0.12);
  transform: translateY(-1px);
}
.btn-card-add-to-bag.btn-sold-out {
  height: 38px;
  border-radius: 20px;
  font-size: 10.5px;
  cursor: not-allowed;
  opacity: .7;
}

/* ================================================================
   CART PAGE LAYOUT & STYLES (cart.php)
   ================================================================ */
.cart-page-main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 40px 6% 90px;
}
.cart-header-strip {
  margin-bottom: 36px;
}
.cart-header-strip h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 500;
  color: var(--ink-deep);
  margin: 6px 0 10px;
}
.cart-grid-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.cart-items-table {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line-subtle);
  overflow: hidden;
  box-shadow: 0 8px 30px -10px rgba(20, 20, 16, 0.05);
}
.cart-table-head {
  display: grid;
  grid-template-columns: 3.2fr 1.2fr 1.4fr 1.2fr 40px;
  padding: 16px 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line-subtle);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.cart-row {
  display: grid;
  grid-template-columns: 3.2fr 1.2fr 1.4fr 1.2fr 40px;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-subtle);
  transition: background .15s;
}
.cart-row:last-child {
  border-bottom: 0;
}
.cart-product-cell {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cart-product-thumb {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  flex-shrink: 0;
  border: 1px solid var(--line-subtle);
}
.cart-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-product-info h3 {
  font-family: var(--serif);
  font-size: 18px;
  margin: 0 0 4px;
  color: var(--ink-deep);
}
.cart-product-info h3 a {
  color: inherit;
  text-decoration: none;
}
.cart-product-info h3 a:hover {
  color: var(--accent);
}
.cart-product-badge {
  font-size: 11.5px;
  color: var(--muted);
}
.cart-price-cell,
.cart-total-cell {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-deep);
}
.cart-remove-cell button {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: color .2s;
}
.cart-remove-cell button:hover {
  color: #c93b2b;
}

.cart-summary-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line-subtle);
  padding: 28px;
  box-shadow: 0 8px 30px -10px rgba(20, 20, 16, 0.05);
  position: sticky;
  top: 100px;
}
.cart-summary-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--ink-deep);
}
.cart-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-subtle);
  font-size: 13.5px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}
.cart-summary-grand {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 18px;
  margin-bottom: 24px;
}
.cart-summary-grand span:first-child {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-deep);
}
.cart-summary-grand span:last-child {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink-deep);
}
.cart-checkout-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  border-radius: 26px;
  background: var(--ink-deep);
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .25s ease;
  box-shadow: 0 6px 20px rgba(20, 20, 16, 0.12);
}
.cart-checkout-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -4px rgba(94, 150, 25, 0.45);
}
.cart-continue-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.cart-continue-link:hover {
  color: var(--ink-deep);
}

/* ================================================================
   CHECKOUT PAGE (checkout.php)
   ================================================================ */
.checkout-page-main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 36px 6% 90px;
}
.checkout-header {
  margin-bottom: 32px;
}
.checkout-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.checkout-breadcrumb .is-current {
  color: var(--accent);
}
.checkout-header h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
  color: var(--ink-deep);
  margin: 0;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}
.checkout-form-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.checkout-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line-subtle);
  padding: 32px;
  box-shadow: 0 8px 30px -10px rgba(20, 20, 16, 0.05);
}
.checkout-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-subtle);
}
.checkout-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink-deep);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-card-header h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  color: var(--ink-deep);
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group:last-child {
  margin-bottom: 0;
}
.form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-deep);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  padding: 0 14px;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
  transition: all .2s;
}
.form-textarea {
  height: 90px;
  padding: 12px 14px;
  resize: vertical;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(94, 150, 25, 0.12);
}

/* Payment Selection Radio Cards */
.payment-methods-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.payment-method-card {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  background: var(--paper);
  transition: all .2s;
}
.payment-method-card:hover {
  background: #fff;
  border-color: rgba(94, 150, 25, 0.4);
}
.payment-method-card.is-selected {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 14px -2px rgba(94, 150, 25, 0.18);
}
.payment-method-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.payment-method-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-deep);
}
.payment-method-label input[type="radio"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}
.payment-badge-icons {
  display: flex;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.payment-subtext {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0 28px;
  line-height: 1.5;
}
.card-details-fields {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: none;
}
.payment-method-card.is-selected .card-details-fields {
  display: block;
}

/* Checkout Review Box */
.checkout-summary-box {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line-subtle);
  padding: 28px;
  box-shadow: 0 8px 30px -10px rgba(20, 20, 16, 0.05);
  position: sticky;
  top: 100px;
}
.checkout-summary-box h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 18px;
  color: var(--ink-deep);
}
.checkout-items-preview {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 20px;
  padding-right: 4px;
}
.checkout-preview-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.checkout-preview-img {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
  flex-shrink: 0;
  border: 1px solid var(--line-subtle);
}
.checkout-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.checkout-preview-details {
  flex: 1;
  min-width: 0;
}
.checkout-preview-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}
.checkout-preview-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.checkout-preview-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-deep);
}

.checkout-totals-block {
  padding-top: 16px;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
.checkout-total-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}
.checkout-grand-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 16px;
  margin-top: 6px;
  border-top: 1px dashed var(--line);
}
.checkout-grand-total span:first-child {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-deep);
}
.checkout-grand-total span:last-child {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink-deep);
}

.btn-place-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 54px;
  border-radius: 27px;
  background: var(--ink-deep);
  color: #fff;
  border: 0;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 6px 20px rgba(20, 20, 16, 0.15);
}
.btn-place-order:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -4px rgba(94, 150, 25, 0.45);
}
.btn-place-order svg {
  flex-shrink: 0;
}
.checkout-security-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 14px;
}

/* ================================================================
   ORDER CONFIRMATION (order-confirmation.php)
   ================================================================ */
.order-confirm-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 6% 90px;
}
.confirm-hero-card {
  text-align: center;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line-subtle);
  padding: 48px 32px 36px;
  box-shadow: 0 12px 36px -12px rgba(20, 20, 16, 0.06);
  margin-bottom: 32px;
}
.confirm-badge-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(94, 150, 25, 0.12);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 0 8px rgba(94, 150, 25, 0.06);
}
.confirm-hero-card h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  color: var(--ink-deep);
  margin: 0 0 8px;
}
.confirm-hero-card p {
  color: var(--muted);
  font-size: 14px;
  max-width: 540px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.confirm-order-ref {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 1px dashed var(--line);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-deep);
}
.confirm-order-ref strong {
  color: var(--accent);
}

.confirm-details-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
}
.confirm-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line-subtle);
  padding: 28px;
}
.confirm-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-deep);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-subtle);
}
.confirm-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-subtle);
}
.confirm-item-row:last-child {
  border-bottom: 0;
}
.confirm-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.confirm-item-thumb {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
  flex-shrink: 0;
}
.confirm-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.confirm-item-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-deep);
}
.confirm-item-sub {
  font-size: 11px;
  color: var(--muted);
}
.confirm-item-total {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-deep);
}
.confirm-meta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}
.confirm-meta-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.confirm-meta-row span:first-child {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.confirm-meta-row span:last-child {
  color: var(--ink-deep);
}

.confirm-actions-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.btn-print-receipt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-deep);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
}
.btn-print-receipt:hover {
  background: #fff;
  border-color: var(--ink-deep);
}
.btn-continue-shopping {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 22px;
  background: var(--ink-deep);
  color: #fff !important;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .2s;
}
.btn-continue-shopping:hover {
  background: var(--accent);
}

@media print {
  .site-header, .site-footer, .announcement-bar, .confirm-actions-bar, .back-link {
    display: none !important;
  }
  body {
    background: #fff !important;
  }
  .order-confirm-main {
    padding: 0 !important;
  }
}

/* Responsive Overrides for Cart & Checkout */
@media (max-width: 960px) {
  .cart-grid-wrap,
  .checkout-grid,
  .confirm-details-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cart-table-head {
    display: none;
  }
  .cart-row {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 16px;
  }
  .cart-product-cell {
    grid-column: 1 / -1;
  }
  .cart-summary-card,
  .checkout-summary-box {
    position: static;
  }
}

@media (max-width: 640px) {
  .form-grid-2, .form-grid-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .purchase-qty-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-assurance-grid {
    grid-template-columns: 1fr;
  }
}



/* ================================================================
   WHATSAPP ORDER DISPATCH INTEGRATION
   ================================================================ */
.checkout-whatsapp-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.4;
  text-align: center;
}
.checkout-whatsapp-indicator strong {
  color: #1fa855;
  font-weight: 700;
}
.confirm-whatsapp-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border: 1.5px solid #86efac;
  border-radius: 18px;
  padding: 30px 28px;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.15);
  position: relative;
  overflow: hidden;
}
.confirm-whatsapp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.confirm-whatsapp-card h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink-deep);
  margin: 0 0 8px;
}
.confirm-whatsapp-card p {
  font-size: 13.5px;
  color: #374151;
  margin: 0 0 20px;
  line-height: 1.55;
  max-width: 680px;
}
.confirm-whatsapp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.btn-whatsapp-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: #25D366;
  color: #ffffff !important;
  border-radius: 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transition: all .25s ease;
}
.btn-whatsapp-primary:hover {
  background: #1eb954;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}
.btn-whatsapp-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #374151;
  border-radius: 28px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.btn-whatsapp-secondary:hover {
  border-color: #25D366;
  color: #25D366;
}
.confirm-whatsapp-preview {
  margin-top: 14px;
}
.confirm-whatsapp-preview details summary {
  font-size: 12px;
  color: #059669;
  cursor: pointer;
  font-weight: 600;
  user-select: none;
}
.confirm-whatsapp-preview pre {
  margin-top: 10px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-family: inherit;
  font-size: 12px;
  color: #1f2937;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 220px;
  overflow-y: auto;
}
.confirm-whatsapp-hint {
  font-size: 12px;
  color: #4b5563;
  margin: 12px 0 0 !important;
  display: flex;
  align-items: center;
  gap: 6px;
}


/* ================================================================
   AUTOMATIC ORDER RECEIPT DOWNLOAD & BUTTONS
   ================================================================ */
.confirm-receipt-download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fdfbf7;
  border: 1.5px solid #e7ded0;
  border-left: 5px solid #c9a159;
  border-radius: 14px;
  padding: 18px 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.confirm-receipt-download-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #c9a159;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.confirm-receipt-download-info {
  flex: 1;
}
.confirm-receipt-download-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.confirm-receipt-download-title strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-deep);
  letter-spacing: .02em;
}
.confirm-receipt-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  background: #fef3c7;
  color: #92400e;
  letter-spacing: .03em;
  transition: all .3s ease;
}
.confirm-receipt-badge.is-saved {
  background: #dcfce7;
  color: #15803d;
}
.confirm-receipt-download-info p {
  margin: 0 !important;
  font-size: 12.5px;
  color: #555;
  line-height: 1.45;
}
.btn-download-receipt-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 20px;
  background: #1a1a1a;
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s;
}
.btn-download-receipt-now:hover {
  background: #c9a159;
  color: #1a1a1a !important;
}
.btn-download-receipt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 22px;
  background: #1a1a1a;
  color: #fff !important;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.btn-download-receipt:hover {
  background: #c9a159;
  color: #1a1a1a !important;
  transform: translateY(-1px);
}
.spin-icon {
  animation: receiptSpin 0.9s linear infinite;
}
@keyframes receiptSpin {
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .confirm-receipt-download-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .confirm-actions-bar {
    flex-direction: column;
    width: 100%;
  }
  .confirm-actions-bar > * {
    width: 100%;
    justify-content: center;
  }
}

/* ================================================================
   AUTOMATED ORDER ACTIONS CARD & DISPATCH ENGINE
   ================================================================ */
.confirm-auto-status-card {
  background: #ffffff;
  border: 1.5px solid #e7ded0;
  border-left: 5px solid #25D366;
  border-radius: 16px;
  padding: 24px 28px;
  margin: 28px auto 32px;
  max-width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}
.auto-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-subtle);
}
.auto-status-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.auto-status-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: pulseGreen 1.8s infinite;
}
@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.auto-status-title {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-deep);
  margin: 0;
}
.auto-status-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 12px;
  background: #fef3c7;
  color: #92400e;
  transition: all .3s ease;
}
.auto-status-badge.is-completed {
  background: #dcfce7;
  color: #15803d;
}
.auto-status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.auto-status-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fbf9f5;
  border: 1px solid var(--line-subtle);
  border-radius: 12px;
  padding: 16px 18px;
  position: relative;
}
.auto-status-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.auto-status-body {
  flex: 1;
  min-width: 0;
}
.auto-status-label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.auto-status-label-row strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-deep);
}
.status-indicator-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  background: #f3f4f6;
  color: #4b5563;
  letter-spacing: .02em;
  transition: all .25s ease;
}
.status-indicator-tag.is-success {
  background: #dcfce7;
  color: #15803d;
}
.status-indicator-tag.is-warning {
  background: #fee2e2;
  color: #991b1b;
}
.auto-status-body p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.btn-status-action {
  align-self: center;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  background: #1a1a1a;
  color: #ffffff !important;
  white-space: nowrap;
  transition: all .2s ease;
  margin-left: 8px;
  flex-shrink: 0;
}
.btn-status-action:hover {
  background: var(--accent);
  color: #ffffff !important;
}
.btn-status-whatsapp {
  background: #25D366;
  color: #ffffff !important;
}
.btn-status-whatsapp:hover {
  background: #1eb954;
}
.btn-pulse {
  animation: btnPulseGlow 1.5s infinite;
}
@keyframes btnPulseGlow {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { transform: scale(1.03); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.auto-status-hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-subtle);
  font-size: 11.5px;
  color: #6b7280;
}
@media (max-width: 768px) {
  .confirm-auto-status-card {
    padding: 18px 16px;
  }
  .auto-status-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .auto-status-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-status-action {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
  }
}

/* ================================================================
   LEGAL & POLICY PAGES (Privacy, Refund, Terms)
   ================================================================ */
.policy-page-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}
.policy-page-main .breadcrumbs {
  margin-bottom: 24px;
}
.policy-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-subtle);
}
.policy-header .eyebrow {
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.policy-header h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 500;
  color: var(--ink-deep);
  margin: 0 0 12px;
  line-height: 1.2;
}
.policy-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
}
.policy-meta-badge svg {
  color: var(--accent);
  flex-shrink: 0;
}
.policy-lead {
  font-size: 15.5px;
  line-height: 1.75;
  color: #3b3a32;
  max-width: 720px;
  margin: 0 auto;
}

/* Quick switcher pills between policies */
.policy-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.policy-switcher-tab {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  transition: all .2s ease;
  text-decoration: none;
}
.policy-switcher-tab:hover {
  color: var(--ink-deep);
  border-color: var(--accent);
  background: #fdfbf7;
}
.policy-switcher-tab.is-active {
  background: var(--ink-deep);
  color: #fff;
  border-color: var(--ink-deep);
  box-shadow: 0 4px 12px rgba(20, 20, 16, 0.15);
}

/* Main policy content card */
.policy-card {
  background: #fff;
  border: 1px solid var(--line-subtle);
  border-radius: 18px;
  padding: 44px 48px;
  box-shadow: 0 12px 36px -12px rgba(20, 20, 16, 0.05);
}
.policy-section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line-subtle);
}
.policy-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.policy-section-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 14px;
}
.policy-section-num {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  min-width: 26px;
  flex-shrink: 0;
}
.policy-section h2 {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 600;
  color: var(--ink-deep);
  margin: 0;
  line-height: 1.3;
}
.policy-section h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-deep);
  margin: 18px 0 8px;
}
.policy-section p {
  font-size: 14.5px;
  line-height: 1.75;
  color: #3f3e36;
  margin: 0 0 12px;
}
.policy-section p:last-child {
  margin-bottom: 0;
}
.policy-section ul {
  margin: 10px 0 14px;
  padding-left: 22px;
}
.policy-section li {
  font-size: 14.5px;
  line-height: 1.7;
  color: #3f3e36;
  margin-bottom: 8px;
}
.policy-section li:last-child {
  margin-bottom: 0;
}
.policy-subheading {
  font-weight: 600;
  color: var(--ink-deep);
  margin-top: 14px;
  margin-bottom: 4px;
  font-size: 14.5px;
}

/* Contact box inside policy */
.policy-contact-box {
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 22px 24px;
  margin-top: 16px;
}
.policy-contact-box dl {
  display: grid;
  grid-template-columns: 130px 1fr;
  row-gap: 10px;
  column-gap: 16px;
  margin: 0;
  font-size: 14px;
}
.policy-contact-box dt {
  font-weight: 600;
  color: var(--ink-deep);
}
.policy-contact-box dd {
  margin: 0;
  color: #3f3e36;
}
.policy-contact-box a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.policy-contact-box a:hover {
  color: var(--accent-hover);
}

@media (max-width: 768px) {
  .policy-page-main {
    padding: 20px 16px 60px;
  }
  .policy-card {
    padding: 26px 20px;
    border-radius: 14px;
  }
  .policy-switcher-tab {
    padding: 8px 14px;
    font-size: 12px;
  }
  .policy-contact-box dl {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }
  .policy-contact-box dt {
    margin-top: 8px;
  }
  .policy-contact-box dt:first-child {
    margin-top: 0;
  }
}
