/* UrbanWears storefront theme */

:root {
  --accent: #83b735;
  --accent-dark: #6a9a29;
  --black: #111111;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f4f4f3;
  --gray-200: #e8e8e6;
  --gray-300: #d8d8d5;
  --gray-500: #8a8a86;
  --gray-600: #666663;
  --gray-800: #2b2b29;
  --red: #d1372a;
  --radius: 6px;
  --max-width: 1280px;

  /* Editorial palette — shared by cards, product detail, cart, wishlist and checkout.
     Must stay global: .pd-btn and friends are used well outside .product-detail. */
  --ink: #16130f;
  --muted: #6f675c;
  --line: #efeae2;
  --paper: #fffefb;
  --stone: #eae5dd;
  --sale: #a63d2f;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .section-title, .hero h1, .btn {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 56px 0; }
.section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-outline { background: transparent; border-color: var(--gray-300); color: var(--black); }
.btn-outline:hover { border-color: var(--black); }
.btn-outline-dark { background: transparent; border-color: var(--black); color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--black); }
.btn-block { display: flex; width: 100%; }
.link-btn { background: none; border: none; cursor: pointer; font-size: 13px; color: inherit; padding: 0; }

/* Announcement + header */
.announcement {
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}

.announcement-track {
  display: inline-flex;
  width: max-content;
}

.announcement-track.is-scrolling {
  animation: announcement-scroll 16s linear infinite;
}

.announcement:hover .announcement-track {
  animation-play-state: paused;
}

.announcement-track span {
  padding: 0 48px;
  white-space: nowrap;
}

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

@media (prefers-reduced-motion: reduce) {
  .announcement-track,
  .announcement-track.is-scrolling {
    animation: none;
  }
  .announcement {
    text-align: center;
    overflow: visible;
    white-space: normal;
  }
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo { font-size: 20px; font-weight: 800; font-family: 'Poppins', sans-serif; }
.logo img { height: 40px; width: auto; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.main-nav { display: flex; gap: 28px; flex: 1; }
.main-nav a { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--gray-800); }
.main-nav a:hover, .main-nav a.active { color: var(--accent-dark); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-icon-link {
  display: flex; align-items: center; justify-content: center; position: relative;
  width: 40px; height: 40px; border-radius: 50%; color: var(--ink);
  transition: background .18s ease, color .18s ease;
}
.header-icon-link:hover { background: var(--stone); }
.header-icon-link .icon { transition: transform .18s ease; }
.header-icon-link:hover .icon { transform: scale(1.06); }
.header-icon-label { text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap; }

/* Count badge on the wishlist / cart icons */
.header-badge {
  position: absolute; top: 2px; right: 1px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--ink); color: var(--paper); border: 2px solid var(--white);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 9.5px; font-weight: 600; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.header-badge.is-empty { display: none; }

/* Account dropdown */
.header-account { position: relative; }
.header-account-btn { background: none; border: none; padding: 0; cursor: pointer; color: inherit; }
.header-dropdown {
  position: absolute; top: calc(100% + 14px); right: 0; min-width: 208px; z-index: 60;
  background: var(--paper); border: 1px solid var(--line); padding: 6px;
  box-shadow: 0 12px 32px rgba(22, 19, 15, 0.1);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.header-account.open .header-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.header-dropdown-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; display: flex; flex-direction: column; gap: 3px; }
.header-dropdown-eyebrow {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.header-dropdown-name { font-family: Georgia, "Times New Roman", serif; font-size: 15px; color: var(--ink); }
.header-dropdown a,
.header-dropdown button {
  display: block; width: 100%; text-align: left; padding: 9px 12px; font-size: 13.5px;
  color: var(--ink); background: none; border: none; cursor: pointer; font-family: inherit;
}
.header-dropdown a:hover, .header-dropdown button:hover { background: var(--stone); }
.header-dropdown-sep { height: 1px; background: var(--line); margin: 6px 0; }

/* Mobile slide-in nav */
.mobile-nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4); opacity: 0; pointer-events: none;
  transition: opacity .2s ease; z-index: 95;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-nav {
  position: fixed; top: 0; left: 0; height: 100%; width: 300px; max-width: 84vw; z-index: 96;
  background: var(--paper); transform: translateX(-100%); transition: transform .28s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.mobile-nav-close { background: none; border: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); padding: 0; }
.mobile-nav-links { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-nav-links a {
  padding: 13px 20px; font-family: Georgia, "Times New Roman", serif; font-size: 17px; color: var(--ink);
}
.mobile-nav-links a.active { background: var(--stone); }
.mobile-nav-section { display: flex; flex-direction: column; padding: 14px 0; }
.mobile-nav-eyebrow {
  padding: 4px 20px 10px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.mobile-nav-section a,
.mobile-nav-section button {
  padding: 11px 20px; font-size: 14px; color: var(--ink); text-align: left;
  background: none; border: none; cursor: pointer; font-family: inherit; width: 100%;
}
.mobile-nav-section a:hover, .mobile-nav-section button:hover { background: var(--stone); }
.mobile-nav-whatsapp {
  margin-top: auto; display: flex; align-items: center; gap: 9px;
  padding: 16px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink);
}
.icon { display: block; }
/* Hero carousel */
.hero-carousel {
  position: relative;
  background: var(--gray-100);
  overflow: hidden;
  height: calc(100vh - 100px);
  min-height: 520px;
  max-height: 880px;
}
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden; z-index: 0;
  transition: opacity .6s ease;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 48px 6%;
  background: linear-gradient(90deg, rgba(255,255,255,0.94) 55%, rgba(255,255,255,0));
}
.hero-content h1 { font-size: 42px; font-weight: 800; line-height: 1.15; margin: 0 0 16px; }
.hero-content p { font-size: 15px; color: var(--gray-600); line-height: 1.6; margin: 0 0 24px; max-width: 440px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-actions-standalone { position: absolute; left: 6%; bottom: 14%; }
.hero-dots { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2; display: flex; gap: 8px; }
.hero-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(0,0,0,0.25); cursor: pointer; padding: 0; }
.hero-dot.active { background: var(--accent); }

/* Trust strip */
.trust-strip { background: var(--black); color: var(--white); }
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 24px;
}
.trust-item { text-align: center; font-size: 12px; }
.trust-item strong { display: block; font-size: 13px; margin-bottom: 2px; }
.trust-item span { color: var(--gray-500); }

/* Shop by fit / category */
.fit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fit-tile { position: relative; border-radius: var(--radius); overflow: hidden; display: block; aspect-ratio: 16/9; }
.fit-tile img { width: 100%; height: 100%; object-fit: cover; }
.fit-tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 45%);
}
.fit-tile-label {
  position: absolute; left: 20px; bottom: 18px; z-index: 1;
  color: var(--white); font-size: 18px; font-weight: 800; text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cat-tile { display: block; border-radius: var(--radius); overflow: hidden; }
.cat-tile img { width: 100%; aspect-ratio: 37/20; object-fit: cover; display: block; }

/* Promo banner */
.promo-banner { position: relative; border-radius: var(--radius); overflow: hidden; }
.promo-banner img { width: 100%; }
.promo-text { position: absolute; left: 24px; bottom: 24px; }
.promo-text h2 { color: var(--white); font-size: 24px; margin: 0; text-shadow: 0 2px 6px rgba(0,0,0,0.4); }

/* Product grid + card (editorial style) */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 34px 18px; }
.product-card {
  position: relative; padding: 10px; background: var(--paper);
  border: 1px solid var(--line); box-shadow: none; cursor: pointer;
  transition: box-shadow .35s ease;
}
.product-card:hover { box-shadow: 0 10px 26px rgba(22,19,15,0.1); }

.pc-media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--stone); }
.pc-media-link { display: block; width: 100%; height: 100%; }
.pc-img { position: absolute; inset: 0; transition: opacity .45s ease; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-img-back { opacity: 0; }
.product-card:hover .pc-media.has-back .pc-img-front { opacity: 0; }
.product-card:hover .pc-media.has-back .pc-img-back { opacity: 1; }

.pc-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 8px; color: #f7f5f2;
}
.pc-badge-ink { background: var(--ink); }
.pc-badge-sale { background: var(--sale); }

.pc-save {
  position: absolute; top: 8px; right: 8px; z-index: 2;
}
.pc-save button {
  width: 32px; height: 32px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); background: rgba(247,245,242,0.8);
  opacity: 0; transition: opacity .3s ease;
}
.product-card:hover .pc-save button { opacity: 1; }
.pc-save button.pc-save-active { opacity: 1; color: var(--sale); }
@media (hover: none) {
  .pc-save button { opacity: 1; }
}

.pc-info { text-align: left; padding-top: 11px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.pc-eyebrow {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 9.5px; letter-spacing: 0.17em; text-transform: uppercase; color: var(--muted);
}
.pc-title-link { text-decoration: none; }
.pc-title { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.25; font-weight: 400; color: var(--ink); }
.pc-price { display: flex; gap: 9px; align-items: baseline; font-size: 13.5px; color: var(--ink); }
.pc-price-sale { color: var(--sale); }
.pc-price-compare { color: var(--muted); text-decoration: line-through; font-size: 12px; }
.pc-swatches { display: flex; gap: 6px; padding-top: 2px; align-items: center; }
.pc-swatch {
  width: 13px; height: 13px; padding: 0; border-radius: 50%; border: 1px solid rgba(22,19,15,0.18);
  outline-offset: 2px; cursor: pointer; -webkit-appearance: none; appearance: none;
}
.pc-swatch-active { outline: 1px solid var(--ink); }
.pc-swatch-count {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 9.5px; letter-spacing: 0.1em; color: var(--muted); margin-left: 2px;
}

/* Contact form */
.contact-form { background: var(--white); padding: 28px; border-radius: var(--radius); border: 1px solid var(--gray-200); }
.contact-form h3 { margin: 0 0 16px; font-size: 18px; }
.form-label, .contact-form label, .auth-form label {
  display: block; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.3px; margin: 14px 0 6px;
}
.form-input,
.contact-form input, .contact-form textarea, .auth-form input {
  width: 100%; padding: 11px 13px; border: 1px solid var(--gray-300);
  border-radius: 4px; font-size: 14px; font-family: inherit;
}
.form-error, .field-error { color: var(--red); font-size: 12px; margin-top: 4px; }
.auth-error { color: #9c2f28; font-size: 13px; margin-bottom: 16px; background: #fdecea; border: 1px solid #f5c2c0; border-radius: 4px; padding: 10px 14px; }
.contact-form button { margin-top: 20px; }

/* FAQ */
.faq-section { background: var(--white); }
.faq { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 16px 4px; font-size: 15px; font-weight: 700; display: flex;
  justify-content: space-between; align-items: center;
}
.faq-icon { font-size: 18px; color: var(--accent-dark); font-weight: 400; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .2s ease; font-size: 14px; color: var(--gray-600); line-height: 1.6; }
.faq-item.open .faq-a { max-height: 240px; padding-bottom: 16px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* Newsletter */
.newsletter { background: var(--black); color: var(--white); text-align: center; padding: 48px 24px; }
.newsletter h2 { margin: 0 0 8px; font-size: 22px; }
.newsletter p { color: var(--gray-500); margin: 0 0 20px; }

/* Footer */
.site-footer { background: var(--gray-800); color: var(--gray-300); padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 32px; }
.footer-grid h3 { color: var(--white); font-size: 14px; text-transform: uppercase; margin: 0 0 14px; }
.footer-grid p { font-size: 13px; line-height: 1.7; margin: 0 0 6px; color: var(--gray-300); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; font-size: 13px; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding: 18px 0; font-size: 12px; color: var(--gray-500); }

/* Shop page */
.shop-hero { background: var(--black); color: var(--white); padding: 40px 0 0; }
.shop-hero h1 { font-size: 34px; font-weight: 800; margin: 0 0 24px; }
.shop-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-top: 1px solid rgba(255,255,255,0.12); }
.shop-tabs a {
  display: flex; align-items: center; gap: 8px; padding: 16px 16px 14px;
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--gray-500); border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .2s ease, border-color .2s ease;
}
.shop-tabs a span {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0; color: var(--gray-500);
  background: rgba(255,255,255,0.08); border-radius: 20px; padding: 2px 7px;
  transition: color .2s ease, background .2s ease;
}
.shop-tabs a:hover { color: var(--white); }
.shop-tabs a:hover span { color: var(--white); background: rgba(255,255,255,0.16); }
.shop-tabs a.active { color: var(--white); border-bottom-color: var(--accent); }
.shop-tabs a.active span { color: var(--black); background: var(--accent); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.shop-breadcrumb { font-size: 12px; color: var(--gray-500); }
.shop-breadcrumb a { text-decoration: underline; }
.shop-sort { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.shop-sort select { padding: 8px 10px; border: 1px solid var(--gray-300); border-radius: 4px; font-size: 13px; }
.empty-state { text-align: center; padding: 60px 0; color: var(--gray-500); }

/* Product detail */
.product-detail {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; padding: 8px 0 56px;
}

.pd-breadcrumbs {
  display: flex; align-items: center; gap: 8px; padding: 18px 0 14px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #6f675c;
  white-space: nowrap; overflow: hidden;
}
.pd-breadcrumbs a { color: #6f675c; text-decoration: none; }
.pd-breadcrumbs a:hover { color: #16130f; }
.pd-breadcrumbs span[aria-hidden] { color: #d8d3cc; }
.pd-breadcrumbs-current { color: #16130f; overflow: hidden; text-overflow: ellipsis; }

.pd-gallery { position: sticky; top: 24px; align-self: start; }
.pd-gallery-main {
  position: relative; background: var(--stone); overflow: hidden; aspect-ratio: 1/1;
  margin-bottom: 10px; border: 1px solid var(--line);
}
.pd-gallery-main img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .25s ease-out;
}
@media (hover: hover) {
  .pd-gallery-main { cursor: zoom-in; }
  .pd-gallery-main:hover img { transform: scale(1.9); }
}
.pd-flag {
  position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--ink); color: #f7f5f2;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px;
}
.pd-flag-sale { background: var(--sale); }
.pd-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-thumbs img {
  width: 68px; height: 68px; object-fit: cover; cursor: pointer;
  border: 1px solid var(--line); opacity: 0.75; transition: opacity .2s, border-color .2s;
}
.pd-thumbs img:hover { opacity: 1; }
.pd-thumbs img.active { border-color: var(--ink); opacity: 1; }

.pd-cat {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10.5px; letter-spacing: 0.17em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 10px;
}
.pd-title {
  font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 400;
  margin: 0 0 10px; line-height: 1.15; color: var(--ink); letter-spacing: -0.01em;
}
.pd-rating { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; text-decoration: none; }
.pd-stars { color: #b98a2f; font-size: 14px; letter-spacing: 2px; }
.pd-stars-sm { font-size: 12px; }
.pd-rating-count { font-size: 12.5px; color: var(--muted); }
.pd-rating:hover .pd-rating-count { text-decoration: underline; }

.pd-price { font-size: 21px; margin-bottom: 14px; color: var(--ink); }
.pd-price-sale { color: var(--sale); }
.pd-price-compare { color: var(--muted); text-decoration: line-through; font-size: 15px; margin-left: 8px; }

.pd-stock {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted);
  margin-bottom: 20px;
}
.pd-stock-dot { width: 7px; height: 7px; border-radius: 50%; background: #4a7c46; }
.pd-stock-low { color: var(--sale); }
.pd-stock-low .pd-stock-dot { background: var(--sale); }

.pd-option { margin-bottom: 18px; }
.pd-option-label {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 9px;
}
.pd-option-values { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-swatch {
  min-width: 46px; padding: 10px 14px; border: 1px solid var(--stone); background: var(--paper);
  font-size: 13px; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.pd-swatch:hover { border-color: var(--ink); }
.pd-swatch.active { border-color: var(--ink); background: var(--ink); color: #f7f5f2; }
.pd-swatch-color {
  min-width: 0; width: 34px; height: 34px; padding: 3px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; background: var(--paper);
}
.pd-swatch-color span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(0,0,0,0.08); }
.pd-swatch-color.active { background: var(--paper); border-color: var(--ink); }

.pd-buy-row { display: flex; gap: 10px; margin: 6px 0 10px; }
.pd-btn {
  display: block; width: 100%; padding: 14px 20px; border: 1px solid var(--ink); cursor: pointer;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background .2s, color .2s, opacity .2s;
}
.pd-btn-primary { background: var(--ink); color: #f7f5f2; }
.pd-btn-primary:hover { background: #2b2622; }
.pd-btn-outline { background: transparent; color: var(--ink); }
.pd-btn-outline:hover { background: var(--ink); color: #f7f5f2; }
.pd-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.pd-reviews .pd-btn { display: inline-block; width: auto; }
.pd-bulk { margin-bottom: 20px; }
.pd-qty { display: inline-flex; align-items: center; border: 1px solid #16130f; flex-shrink: 0; }
.pd-qty button { width: 38px; height: 47px; border: none; background: none; font-size: 16px; cursor: pointer; color: #16130f; }
.pd-qty button:hover { background: #efeae2; }
.pd-qty input { width: 36px; text-align: center; border: none; font-size: 14px; background: transparent; -moz-appearance: textfield; }
.pd-qty input::-webkit-outer-spin-button, .pd-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pd-wishlist-form { margin: 14px 0 22px; }
.pd-wishlist-btn {
  background: none; border: none; padding: 0; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: #6f675c; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.pd-wishlist-btn:hover { color: #16130f; }
.pd-wishlist-btn.pd-wishlist-active { color: #a63d2f; }

.pd-trust {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px;
  padding: 18px 0; border-top: 1px solid #efeae2; border-bottom: 1px solid #efeae2;
  font-size: 12.5px; color: #6f675c;
}
.pd-trust div { display: flex; align-items: center; gap: 9px; }
.pd-trust svg { flex-shrink: 0; color: #16130f; }

.pd-accordions { margin-top: 4px; }
.pd-accordion { border-bottom: 1px solid #efeae2; }
.pd-accordion summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; cursor: pointer;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #16130f;
}
.pd-accordion summary::-webkit-details-marker { display: none; }
.pd-accordion summary::after { content: "+"; font-size: 15px; font-weight: 400; color: #6f675c; }
.pd-accordion[open] summary::after { content: "\2212"; }
.pd-accordion-body { padding: 0 0 18px; font-size: 14px; line-height: 1.7; color: #444; }
.pd-accordion-body p { margin: 0; }
.pd-accordion-body ul { margin: 0; padding-left: 18px; }

.pd-alert { margin-bottom: 20px; padding: 11px 14px; font-size: 13px; border: 1px solid; }
.pd-alert-success { background: #f2f7ee; border-color: #cfe0c3; color: #3c5a33; }
.pd-alert-error { background: #faf0ee; border-color: #e6c8c2; color: #8a3227; }

.pd-review-summary { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.pd-review-avg { font-family: Georgia, "Times New Roman", serif; font-size: 44px; line-height: 1; color: #16130f; }
.pd-review-form { max-width: 480px; margin-bottom: 32px; padding: 22px; border: 1px solid #efeae2; background: #fffefb; }
.pd-review-form label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; color: #16130f; }
.pd-review-form select, .pd-review-form textarea {
  width: 100%; padding: 9px 11px; border: 1px solid #d8d3cc; background: #fff;
  font-size: 13.5px; font-family: inherit; margin-bottom: 14px;
}
.pd-review-note { color: #6f675c; font-size: 13.5px; margin-bottom: 24px; }
.pd-review-list { display: flex; flex-direction: column; gap: 22px; max-width: 680px; }
.pd-review { display: flex; gap: 14px; border-bottom: 1px solid #efeae2; padding-bottom: 22px; }
.pd-review-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; background: #eae5dd; color: #16130f;
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, "Times New Roman", serif; font-size: 16px;
}
.pd-review-author { font-size: 13px; font-weight: 600; margin-top: 3px; color: #16130f; }
.pd-review-verified {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #6f675c; font-weight: 400; margin-left: 6px;
}
.pd-review p { margin: 7px 0 0; color: #444; font-size: 14px; line-height: 1.65; }

/* Shared empty state (cart, wishlist) */
.empty-state {
  text-align: center; padding: 80px 20px; max-width: 420px; margin: 0 auto; color: #6f675c;
}
.empty-state svg { color: #b8b0a4; margin-bottom: 18px; }
.empty-state h1 {
  font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-weight: 400;
  color: #16130f; margin: 0 0 10px;
}
.empty-state p { font-size: 14px; line-height: 1.6; margin: 0 0 24px; }
.empty-state .pd-btn { display: inline-block; width: auto; padding: 13px 32px; }

/* Cart */
.cart-head { display: flex; align-items: baseline; gap: 12px; padding: 28px 0 18px; border-bottom: 1px solid #efeae2; }
.cart-head h1 {
  font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 400;
  color: #16130f; margin: 0; line-height: 1.1;
}
.cart-head-count {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #6f675c;
}
.cart-alert {
  margin-top: 18px; padding: 12px 14px; border: 1px solid #e6c8c2; background: #faf0ee;
  color: #8a3227; font-size: 13px;
}

.cart-page-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 44px; padding: 24px 0 56px; align-items: start; }
.cart-page-row {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 18px;
  padding: 22px 0; border-bottom: 1px solid #efeae2; align-items: start;
}
.cart-page-row-warn { background: #fdf8f7; }
.cart-item-thumb { display: block; }
.cart-page-row img { width: 92px; height: 110px; object-fit: cover; display: block; border: 1px solid #efeae2; }
.cart-item-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-item-title {
  font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-weight: 400;
  color: #16130f; text-decoration: none; line-height: 1.3;
}
a.cart-item-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.cart-item-variant {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #6f675c;
}
.cart-item-unit { font-size: 12.5px; color: #6f675c; }
.cart-item-stock { font-size: 12px; color: #8a6d1f; margin-top: 2px; }
.cart-item-stock-out { color: #a63d2f; }
.cart-item-controls { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.cart-item-qty { display: inline-flex; align-items: center; border: 1px solid #d8d3cc; }
.cart-item-qty button { width: 30px; height: 32px; border: none; background: none; cursor: pointer; color: #16130f; font-size: 14px; }
.cart-item-qty button:hover:not(:disabled) { background: #efeae2; }
.cart-item-qty button:disabled { opacity: 0.3; cursor: not-allowed; }
.cart-item-qty span { padding: 0 10px; font-size: 13px; min-width: 20px; text-align: center; }
.cart-item-price { font-size: 15px; color: #16130f; white-space: nowrap; }
.cart-item-remove {
  background: none; border: none; padding: 0; color: #6f675c; font-size: 12px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.cart-item-remove:hover { color: #a63d2f; }

.cart-page-summary, .checkout-summary {
  background: #fffefb; border: 1px solid #efeae2; padding: 24px; position: sticky; top: 24px;
}
.cart-page-summary h2, .checkout-summary h2 {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: #16130f; margin: 0 0 18px;
}
.cart-coupon { display: flex; gap: 8px; margin-bottom: 18px; }
.cart-coupon input { flex: 1; min-width: 0; padding: 9px 11px; border: 1px solid #d8d3cc; background: #fff; font-size: 13px; font-family: inherit; }
.cart-coupon button {
  padding: 9px 16px; border: 1px solid #16130f; background: transparent; cursor: pointer; color: #16130f;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
}
.cart-coupon button:hover { background: #16130f; color: #f7f5f2; }
.cart-coupon-applied { justify-content: space-between; align-items: center; font-size: 13px; color: #16130f; }
.cart-coupon-applied button { border: none; padding: 0; text-decoration: underline; text-underline-offset: 3px; color: #6f675c; }
.cart-coupon-applied button:hover { background: none; color: #a63d2f; }

.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 10px 0; border-bottom: 1px solid #efeae2; color: #16130f; }
.summary-muted { color: #6f675c; font-size: 12.5px; }
.summary-total { font-size: 16px; border-bottom: none; padding-top: 14px; }
.cart-checkout-btn { margin-top: 16px; text-align: center; text-decoration: none; }
.cart-summary-note { font-size: 12px; color: #a63d2f; text-align: center; margin: 8px 0 0; }
.cart-continue {
  display: block; text-align: center; font-size: 12.5px; margin-top: 14px;
  text-decoration: underline; text-underline-offset: 3px; color: #6f675c;
}
.cart-continue:hover { color: #16130f; }
.cart-reassure {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid #efeae2;
  display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; color: #6f675c;
}
.cart-reassure div { display: flex; align-items: center; gap: 9px; }
.cart-reassure svg { flex-shrink: 0; color: #16130f; }

/* Wishlist */
.wishlist-grid { padding-top: 28px; }
.wishlist-notice {
  margin-top: 18px; padding: 12px 14px; border: 1px solid #efeae2; background: #fffefb;
  font-size: 13px; color: #6f675c;
}
.wishlist-notice a { color: #16130f; text-underline-offset: 3px; }

/* Cart drawer */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 90; }
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 380px; max-width: 92vw;
  background: var(--white); z-index: 91; transform: translateX(100%);
  transition: transform .25s ease; display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--gray-200); }
.cart-header h2 { font-size: 16px; margin: 0; }
.cart-close { background: none; border: none; font-size: 22px; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-empty { text-align: center; color: var(--gray-500); padding: 40px 0; font-size: 13px; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.cart-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; }
.cart-footer { padding: 16px 20px; border-top: 1px solid var(--gray-200); }
.cart-subtotal { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 12px; }

/* Checkout */
.required { color: var(--sale); }
.checkbox-row { display: flex; align-items: center; gap: 9px; font-size: 13.5px; margin: 18px 0 0; cursor: pointer; color: var(--ink); }
.checkbox-row input { width: auto; accent-color: var(--ink); }
.hidden-form { display: none; }
.field-error { font-size: 12px; color: var(--sale); }

.co-page { padding: 32px 0 64px; }
.co-returning {
  padding: 14px 16px; margin-bottom: 28px; font-size: 13.5px; color: var(--muted);
  background: var(--paper); border: 1px solid var(--line);
}
.co-returning a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.co-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.9fr); gap: clamp(40px, 5vw, 90px); align-items: start; }
.co-main { display: flex; flex-direction: column; gap: 32px; }
.co-title {
  margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400;
  font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; color: var(--ink); letter-spacing: -0.01em;
}

.co-steps { display: flex; flex-direction: column; }
.co-step { border-top: 1px solid var(--line); padding: 26px 0; }
.co-step:first-child { border-top: none; padding-top: 0; }
.co-step-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.co-step-num { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }
.co-step-label {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.co-step-body { display: flex; flex-direction: column; gap: 16px; }

.co-field { display: flex; flex-direction: column; gap: 6px; }
.co-field-label { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.co-field input, .co-field select, .co-field textarea {
  padding: 11px 12px; border: 1px solid #d8d3cc; font-size: 14px; font-family: inherit;
  background: #fff; color: var(--ink); transition: border-color .15s;
}
.co-field input:focus, .co-field select:focus, .co-field textarea:focus { outline: none; border-color: var(--ink); }
.co-field select:disabled { color: var(--muted); background: var(--gray-50); }
.co-field-row { display: flex; gap: 16px; flex-wrap: wrap; }
.co-field-row .co-field { flex: 1 1 160px; }
.co-field-row .co-field-narrow { flex: 0.6 1 110px; }

.co-toggle-panel { margin-top: 8px; padding: 18px; border: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; gap: 16px; }

.co-delivery { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }

.co-radio-list { display: flex; flex-direction: column; }
.co-radio-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.co-radio-row-static { cursor: default; }
.co-radio-input { position: absolute; opacity: 0; width: 0; height: 0; }
.co-radio-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid #d8d3cc; display: grid; place-items: center; flex-shrink: 0; }
.co-radio-input:checked + .co-radio-dot { border-color: var(--ink); }
.co-radio-input:checked + .co-radio-dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.co-radio-input:focus-visible + .co-radio-dot { outline: 2px solid var(--ink); outline-offset: 2px; }
.co-radio-name { font-size: 14px; color: var(--ink); flex: 1; }
.co-radio-price { font-size: 13px; color: var(--muted); }

.co-payment-instructions {
  display: none; font-size: 13px; color: var(--muted); background: var(--paper);
  border: 1px solid var(--line); padding: 14px; margin: 4px 0 10px; line-height: 1.6;
  /* Account details are entered as multiple lines in admin — keep those breaks. */
  white-space: pre-line;
}
.co-payment-instructions.active { display: block; }

.co-terms { align-items: flex-start; font-size: 13px; margin-top: 20px; color: var(--ink); }
.co-terms a { color: var(--ink); text-underline-offset: 3px; }
.co-place-order {
  margin-top: 24px; width: 100%; padding: 16px 0; background: var(--ink); color: #f7f5f2;
  border: 1px solid var(--ink); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; transition: background .2s;
}
.co-place-order:hover { background: #2b2622; }
.co-footnote { font-size: 12px; color: var(--muted); line-height: 1.7; border-top: 1px solid var(--line); padding-top: 20px; margin: 0; }
.co-footnote a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }

.co-summary { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 22px; background: var(--paper); border: 1px solid var(--line); padding: 24px; }
.co-summary-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.co-summary-lines { display: flex; flex-direction: column; gap: 16px; }
.co-summary-line { display: flex; align-items: center; gap: 12px; }
.co-summary-line img { width: 48px; height: 60px; object-fit: cover; flex-shrink: 0; background: var(--stone); border: 1px solid var(--line); }
.co-summary-line-info { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.co-summary-line-title { font-family: Georgia, "Times New Roman", serif; font-size: 14px; line-height: 1.3; color: var(--ink); }
.co-summary-line-meta { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.co-summary-line-price { font-size: 13px; color: var(--ink); white-space: nowrap; }
.co-summary-line-remove { background: none; border: none; color: var(--muted); font-size: 17px; line-height: 1; cursor: pointer; padding: 2px 0 2px 8px; }
.co-summary-line-remove:hover { color: var(--sale); }

.co-promo { display: flex; gap: 8px; border-top: 1px solid var(--line); padding-top: 18px; }
.co-promo input { flex: 1; min-width: 0; padding: 9px 11px; border: 1px solid #d8d3cc; font-size: 13px; font-family: inherit; background: #fff; }
.co-promo input:focus { outline: none; border-color: var(--ink); }
.co-promo-btn {
  padding: 9px 16px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  background: transparent; color: var(--ink); border: 1px solid var(--ink); cursor: pointer;
}
.co-promo-btn:hover { background: var(--ink); color: #f7f5f2; }
.co-promo-applied { align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink); }
.co-promo-applied .co-promo-btn { border: none; padding: 0; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); flex-shrink: 0; }
.co-promo-applied .co-promo-btn:hover { background: none; color: var(--sale); }

.co-totals { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 13.5px; }
.co-totals-row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.co-totals-row span:last-child { color: var(--ink); }
.co-totals-total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 2px; font-size: 16px; color: var(--ink); }
.co-totals-total span:last-child { font-size: 17px; color: var(--ink); }

.co-line { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; font-size: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.co-line img { width: 44px; height: 44px; object-fit: cover; }

/* Auth / account / order-confirmation / misc pages */
.page-header { padding: 40px 0 8px; }
.page-header h1 { font-size: 28px; font-weight: 800; }
.auth-wrap { max-width: 960px; margin: 0 auto; padding: 48px 24px 64px; }
.auth-single { max-width: 440px; margin: 0 auto; }
.auth-hint { font-size: 13px; color: var(--gray-500); margin: 0 0 20px; line-height: 1.6; text-align: center; }
.auth-actions { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 20px; font-size: 13px; }
.auth-actions .checkbox-row { margin: 0; font-size: 13px; }
.auth-switch { margin-top: 24px; font-size: 13px; color: var(--gray-600); text-align: center; }
.auth-switch a { color: var(--accent-dark); text-decoration: underline; font-weight: 600; }
/* Account */
.acc-eyebrow { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-500); }
.acc-page { padding: 40px 0 80px; }
.acc-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: start; }

.acc-side { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 24px; }
.acc-side-id { display: flex; flex-direction: column; gap: 6px; }
.acc-name { font-size: 18px; font-weight: 700; }
.acc-meta { font-size: 11px; color: var(--gray-500); }
.acc-nav { display: flex; flex-direction: column; }
.acc-nav-item {
  text-align: left; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 13px 0; border-bottom: 1px solid var(--gray-200);
  color: var(--gray-500); display: flex; justify-content: space-between; align-items: center;
}
.acc-nav-active { color: var(--black); }
.acc-nav-indicator { width: 14px; height: 1px; background: var(--accent-dark); }
.acc-signout {
  text-align: left; background: none; border: none; cursor: pointer; padding: 0;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gray-500);
}
.acc-signout:hover { color: var(--red); }

.acc-main { display: flex; flex-direction: column; gap: 34px; min-width: 0; }
.acc-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.acc-header h1 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; }

.acc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.acc-stat { border: 1px solid var(--gray-200); padding: 22px; background: var(--gray-50); display: flex; flex-direction: column; gap: 8px; }
.acc-stat-value { font-size: 19px; font-weight: 700; }
.acc-stat-sub { font-size: 11.5px; color: var(--gray-500); }
.acc-stat-sub a { color: var(--accent-dark); text-decoration: underline; }

.acc-section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.acc-link { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dark); }

.acc-latest { border-top: 1px solid var(--gray-200); padding-top: 26px; }
.acc-order-summary { display: flex; gap: 20px; align-items: center; margin-bottom: 22px; }
.acc-order-thumbs { display: flex; gap: 6px; }
.acc-order-thumbs img { width: 40px; height: 52px; object-fit: cover; border-radius: 3px; background: var(--gray-100); }
.acc-order-summary-info { display: flex; flex-direction: column; gap: 4px; }
.acc-order-summary-line { font-size: 15px; font-weight: 600; }
.acc-cancelled { font-size: 13px; color: var(--red); background: #fdecea; border: 1px solid #f5c2c0; border-radius: 4px; padding: 12px 14px; margin-bottom: 22px; }

.acc-tracker { display: flex; align-items: center; padding-top: 6px; margin-bottom: 26px; }
.acc-tracker-step { display: flex; flex-direction: column; align-items: center; gap: 9px; width: 78px; flex: 0 0 auto; }
.acc-tracker-dot { width: 9px; height: 9px; border-radius: 50%; background: none; border: 1px solid var(--gray-300); }
.acc-tracker-dot-done { background: var(--accent-dark); border-color: var(--accent-dark); }
.acc-tracker-label { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; color: var(--gray-500); line-height: 1.4; }
.acc-tracker-label-done { color: var(--black); }
.acc-tracker-line { flex: 1; height: 1px; background: var(--gray-200); margin-bottom: 24px; }
.acc-tracker-line-done { background: var(--accent-dark); }

.acc-order-items { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--gray-200); padding-top: 22px; }
.acc-order-item { display: flex; gap: 16px; align-items: center; }
.acc-order-item img { width: 52px; height: 68px; object-fit: cover; border-radius: 3px; background: var(--gray-100); flex-shrink: 0; }
.acc-order-item-info { flex: 1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.acc-order-item-title { font-size: 14px; }
.acc-order-item-meta { font-size: 11px; color: var(--gray-500); }
.acc-order-item-price { font-size: 13px; font-weight: 600; }

.acc-history { border-top: 1px solid var(--gray-200); padding-top: 26px; }
.acc-history-list { display: flex; flex-direction: column; margin-top: 16px; }
.acc-history-row { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--gray-200); }
.acc-history-row-info { display: flex; flex-direction: column; gap: 3px; }
.acc-history-order { font-size: 13px; font-weight: 700; }
.acc-history-meta { font-size: 11px; color: var(--gray-500); }
.acc-history-total { font-size: 13px; font-weight: 600; }
.acc-status { font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; white-space: nowrap; }
.acc-status-pending { background: var(--gray-200); color: var(--gray-600); }
.acc-status-confirmed { background: #e3ecff; color: #2c4a9e; }
.acc-status-shipped { background: #fff2d9; color: #8a5a00; }
.acc-status-delivered { background: var(--accent); color: var(--white); }
.acc-status-cancelled { background: #fdecea; color: var(--red); }
.acc-empty { font-size: 13px; color: var(--gray-500); margin-top: 14px; }
.acc-empty a { color: var(--accent-dark); text-decoration: underline; }
.confirm-wrap { max-width: 560px; margin: 60px auto; padding: 0 24px; text-align: center; }
.confirm-icon { font-size: 48px; color: var(--accent); margin-bottom: 16px; }
.confirm-id { font-weight: 800; font-size: 20px; margin: 8px 0 24px; }
.confirm-summary { text-align: left; background: var(--gray-100); border-radius: var(--radius); padding: 20px; margin-top: 24px; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--black); color: var(--white); padding: 12px 22px; border-radius: 6px;
  font-size: 13px; opacity: 0; transition: all .25s ease; z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Responsive */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-inner { padding: 14px 18px; gap: 14px; }
  .logo img { height: 34px; }
  .hero-carousel { height: 70vh; min-height: 460px; max-height: 640px; }
  .hero-content { max-width: 100%; background: rgba(255,255,255,0.92); }
  .hero-actions-standalone { position: static; margin: 20px 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail, .cart-page-grid { grid-template-columns: 1fr; }
  .product-detail { gap: 28px; padding-bottom: 40px; }
  .pd-gallery { position: static; }
  .pd-title { font-size: 26px; }
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; }
  .acc-grid { grid-template-columns: 1fr; }
  .acc-side { position: static; flex-direction: row; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; }
  .acc-nav { flex-direction: row; gap: 16px; }
  .acc-nav-item { border-bottom: none; padding: 0; }
  .acc-history-row { grid-template-columns: 1fr auto; row-gap: 6px; }
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .fit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 12px; }
  .fit-grid, .cat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { gap: 12px; padding: 12px 14px; }
  .header-icon-label { display: none; }
  /* Wishlist lives in the drawer and account menu on phones — keep the bar uncluttered. */
  .header-hide-sm { display: none; }
  .header-actions { gap: 2px; }
  .logo { font-size: 17px; }
  .logo img { height: 30px; }
  .hero-carousel { height: 60vh; min-height: 400px; max-height: 520px; }
  .hero-content { padding: 32px 6%; }
  .hero-content h1 { font-size: 30px; }
  .hero-content p { font-size: 13px; margin-bottom: 18px; }
  .hero-actions .btn, .hero-actions-standalone .btn { padding: 11px 20px; font-size: 12px; }
}
