/* ==========================================================================
   CartAdda — Premium Design System
   ========================================================================== */

:root {
  --plum-deep: #14213d;
  --plum-dark: #0a1730;
  --plum-mid: #1f3a68;
  --gold: #f5821f;
  --gold-soft: #ff9d4d;
  --ivory: #faf9f7;
  --ivory-2: #f1efec;
  --ink: #17202e;
  --ink-soft: #57616f;
  --line: #e2e2e2;
  --white: #ffffff;

  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Inter', -apple-system, Segoe UI, sans-serif;

  --radius: 2px;
  --shadow-soft: 0 10px 30px rgba(10, 23, 48, 0.08);
  --shadow-lift: 0 18px 45px rgba(10, 23, 48, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--plum-dark);
  margin: 0;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: var(--radius);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--plum-deep);
  color: var(--ivory);
  border-color: var(--plum-deep);
}
.btn-primary:hover { background: var(--plum-dark); box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.btn-gold {
  background: var(--gold);
  color: var(--plum-dark);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--plum-dark);
  border-color: var(--plum-dark);
}
.btn-outline:hover { background: var(--plum-dark); color: var(--ivory); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 11px; }

/* ---------- Top announcement bar ---------- */
.announce {
  background: var(--plum-dark);
  color: var(--gold-soft);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 9px 16px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--plum-dark);
  letter-spacing: 0.02em;
}
.logo span { color: var(--gold); }
.logo-img { height: 54px; width: auto; display: block; }
.main-nav { display: flex; gap: 36px; }
.main-nav a {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }

/* ---------- Shop dropdown submenu ---------- */
.has-dropdown { position: relative; }
.has-dropdown > a { display: flex; align-items: center; gap: 5px; }
.dd-arrow { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform 0.25s var(--ease); }
.has-dropdown:hover .dd-arrow { transform: rotate(225deg); margin-top: 2px; }
.dropdown-panel {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 10px);
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  border-top: 2px solid var(--gold);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease);
  z-index: 200;
}
.has-dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translate(-50%, 4px); }
.dropdown-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 600;
  color: var(--ink);
}
.dropdown-panel a::after { content: none; }
.dropdown-panel a:hover { background: var(--ivory-2); color: var(--plum-deep); padding-left: 20px; }
.dropdown-panel a .dd-count { font-size: 11px; color: var(--ink-soft); font-weight: 500; }
.dropdown-panel .dd-divider { height: 1px; background: var(--line); margin: 6px 4px; }

/* ---------- Shop mega-menu (image category cards) ---------- */
.mega-panel { padding: 20px; min-width: 400px; max-width: 560px; }
.mega-eyebrow { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-bottom: 14px; padding: 0 4px; }
.mega-cat-grid { display: grid; grid-template-columns: repeat(3, 160px); gap: 14px; max-height: 60vh; overflow-y: auto; }
.mega-cat-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.mega-cat-card::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(10,23,48,0.78) 0%, rgba(10,23,48,0.05) 55%);
  transition: background 0.3s var(--ease);
}
.mega-cat-card:hover::before { background: linear-gradient(0deg, rgba(245,130,31,0.65) 0%, rgba(10,23,48,0.15) 65%); }
.mega-cat-card:hover { transform: none; }
.mega-cat-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.mega-cat-card:hover .mega-cat-img { transform: scale(1.06); }
.mega-cat-icon { position: relative; z-index: 2; display: none; }
.mega-cat-label { position: relative; z-index: 2; color: var(--white); font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.mega-cat-count { position: relative; z-index: 2; color: rgba(255,255,255,0.75); font-size: 11px; margin-top: 2px; }
.mega-links { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 10px; }
.mega-links a { padding: 10px 8px; font-size: 12px; }
.header-icons { display: flex; align-items: center; gap: 22px; }
.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
}
.icon-btn svg { width: 20px; height: 20px; stroke: var(--plum-dark); }
.cart-count {
  position: absolute;
  top: -9px; right: -11px;
  background: var(--gold);
  color: var(--plum-dark);
  font-size: 10px;
  font-weight: 700;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav-toggle { display: none; background: none; border: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(100deg, rgba(10,23,48,0.94) 0%, rgba(10,23,48,0.75) 38%, rgba(10,23,48,0.3) 68%, rgba(10,23,48,0.15) 100%),
    radial-gradient(1200px 600px at 85% 15%, rgba(245,130,31,0.12), transparent 60%),
    url('/assets/img/rk468-2.jpeg');
  background-size: cover;
  background-position: center 20%;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 90px);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 60px 32px;
  color: var(--ivory);
}
.hero-content .eyebrow { color: var(--gold-soft); }
.hero-content h1 {
  color: var(--ivory);
  font-size: 58px;
  line-height: 1.08;
  margin: 18px 0 20px;
}
.hero-content p {
  color: rgba(250,246,240,0.82);
  font-size: 16px;
  max-width: 460px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; }

/* ---------- Section scaffolding ---------- */
.section { padding: 92px 0; }
.section-tight { padding: 64px 0; }
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.section-header h2 { font-size: 38px; margin-top: 14px; }
.section-header p { color: var(--ink-soft); margin-top: 14px; font-size: 15px; }
.section-foot { text-align: center; margin-top: 48px; }
.cat-foot-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.prod-hidden { display: none; }
.alt-bg { background: var(--ivory-2); }

/* ---------- Category strip ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cat-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  transition: transform 0.4s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); }
.cat-card span {
  position: relative;
  z-index: 2;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
}
.cat-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,8,20,0.72) 0%, rgba(20,8,20,0.05) 60%);
  z-index: 1;
}
.swatch-1 { background: linear-gradient(155deg, #6b3560, #3d1c3d); }
.swatch-2 { background: linear-gradient(155deg, #8a5a3e, #4a2e1f); }
.swatch-3 { background: linear-gradient(155deg, #4f5a4a, #232a20); }
.swatch-4 { background: linear-gradient(155deg, #b98a3e, #5c451d); }

/* ---------- Product grid ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.prod-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.prod-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-5px); }
.prod-media {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.prod-media img, .prod-media .ph { width: 100%; height: 100%; object-fit: cover; }
.prod-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold);
  color: var(--plum-dark);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius);
  z-index: 3;
}
.prod-quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
  z-index: 3;
}
.prod-card:hover .prod-quick { opacity: 1; transform: translateY(0); }
.prod-body { padding: 18px 18px 22px; }
.prod-cat { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.prod-name { font-size: 16px; font-family: var(--font-display); font-weight: 600; margin: 6px 0 8px; color: var(--ink); }
.prod-price { display: flex; align-items: baseline; gap: 8px; }
.price-now { font-weight: 700; color: var(--plum-dark); font-size: 16px; }
.price-was { font-size: 13px; color: var(--ink-soft); text-decoration: line-through; }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--white);
  padding: 30px 26px;
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-soft);
}
.testi-stars { color: var(--gold); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-quote { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; font-style: italic; }
.testi-name { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; color: var(--plum-dark); }

/* ---------- Banner ---------- */
.promo-banner {
  background:
    linear-gradient(100deg, rgba(10,23,48,0.92) 0%, rgba(10,23,48,0.72) 45%, rgba(10,23,48,0.35) 100%),
    url('/assets/img/rk476-2.jpeg');
  background-size: cover;
  background-position: center 25%;
  border-radius: var(--radius);
  padding: 64px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.promo-banner::after {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px;
  border: 1px solid rgba(245,130,31,0.4);
  border-radius: 50%;
}
.promo-banner h3 { color: var(--ivory); font-size: 34px; }
.promo-banner p { color: var(--gold-soft); margin-top: 8px; }
.promo-banner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.promo-banner-grid .promo-banner {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 280px;
  padding: 40px 36px;
  gap: 20px;
}
.promo-banner-grid .promo-banner h3 { font-size: 26px; }

/* ---------- Vendor CTA ---------- */
.vendor-cta-box {
  background: linear-gradient(120deg, var(--plum-deep), var(--plum-dark));
  border-radius: var(--radius);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--ivory);
}
.vendor-cta-box h3 { color: var(--ivory); font-size: 26px; margin: 8px 0 12px; }
.vendor-cta-box p { color: rgba(250,246,240,0.75); font-size: 14px; line-height: 1.7; max-width: 480px; }
.vendor-cta-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ---------- Trust badges ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-item { text-align: center; padding: 34px 20px; }
.trust-item .ic { font-size: 28px; color: var(--gold); margin-bottom: 14px; }
.trust-item h4 { font-size: 15px; letter-spacing: 0.04em; }
.trust-item p { color: var(--ink-soft); font-size: 13px; margin-top: 8px; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--plum-dark);
  color: var(--ivory);
  padding: 72px 0;
  text-align: center;
}
.newsletter h3 { color: var(--ivory); font-size: 30px; }
.newsletter p { color: rgba(250,246,240,0.7); margin: 12px 0 30px; }
.nl-form { display: flex; max-width: 440px; margin: 0 auto; gap: 0; }
.nl-form input {
  flex: 1;
  padding: 15px 18px;
  border: 1px solid rgba(250,246,240,0.25);
  background: rgba(255,255,255,0.06);
  color: var(--ivory);
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 14px;
}
.nl-form input::placeholder { color: rgba(250,246,240,0.5); }
.nl-form button { border-radius: 0 var(--radius) var(--radius) 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-dark); color: rgba(250,246,240,0.75); padding: 56px 0 0; }
.footer-newsletter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(250,246,240,0.12);
}
.footer-newsletter-row h4 { color: var(--ivory); font-size: 20px; margin-bottom: 8px; }
.footer-newsletter-row p { font-size: 13px; color: rgba(250,246,240,0.6); margin: 0; }
.footer-nl-form { flex-shrink: 0; width: 380px; }
.footer-nl-form input { background: rgba(255,255,255,0.08); border-color: rgba(250,246,240,0.22); color: var(--ivory); }
.footer-nl-form input::placeholder { color: rgba(250,246,240,0.5); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250,246,240,0.12);
}
.footer-grid-5 { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; }
.footer-grid-6 { grid-template-columns: 1.5fr 0.85fr 0.85fr 0.95fr 0.85fr 1fr; }
.footer-logo { font-family: var(--font-display); font-size: 24px; color: var(--ivory); margin-bottom: 16px; }
.footer-logo span { color: var(--gold); }
.footer-grid p { font-size: 13px; line-height: 1.7; color: rgba(250,246,240,0.55); }
.footer-grid h5 { color: var(--ivory); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px; }
.footer-grid li { margin-bottom: 12px; font-size: 13px; }
.footer-grid a:hover { color: var(--gold-soft); }
.footer-cat-cols { column-count: 2; column-gap: 18px; }
.footer-cat-cols li { break-inside: avoid; }
.footer-searches { padding: 28px 0; border-bottom: 1px solid rgba(250,246,240,0.12); }
.footer-searches h5 { color: var(--ivory); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-searches p { font-size: 12.5px; line-height: 2.1; color: rgba(250,246,240,0.5); }
.footer-searches a { color: rgba(250,246,240,0.6); }
.footer-searches a:hover { color: var(--gold-soft); }
.footer-searches span { color: rgba(250,246,240,0.25); margin: 0 2px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; font-size: 12px; color: rgba(250,246,240,0.45);
}
.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(250,246,240,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.social-row a:hover { background: var(--gold); color: var(--plum-dark); border-color: var(--gold); }
.footer-trust-row { padding: 24px 0; border-bottom: 1px solid rgba(250,246,240,0.12); }
.trust-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(250,246,240,0.75);
  border: 1px solid rgba(250,246,240,0.18);
  border-radius: 20px;
  padding: 7px 16px;
  background: rgba(255,255,255,0.04);
}

/* ---------- Breadcrumb / page header ---------- */
.page-head {
  background: var(--plum-dark);
  color: var(--ivory);
  padding: 46px 0;
  text-align: center;
}
.page-head h1, .page-head-title { color: var(--ivory); font-size: 34px; margin: 0; font-family: var(--font-display); }
.page-head .crumb { color: rgba(250,246,240,0.6); font-size: 13px; margin-top: 10px; }
.page-head .crumb span { color: var(--gold-soft); }
.page-head-intro { color: rgba(250,246,240,0.7); font-size: 14px; max-width: 640px; margin: 16px auto 0; line-height: 1.7; }

/* ---------- Shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.filter-box { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-soft); }
.filter-box h4 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.filter-box + .filter-box { margin-top: 20px; }
.filter-opt { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); padding: 7px 0; cursor: pointer; }
.filter-opt input { accent-color: var(--plum-deep); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; font-size: 13px; color: var(--ink-soft); }
.shop-toolbar select { padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }

/* ---------- Product detail ---------- */
.pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: flex-start; }
.pd-gallery-main { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pd-thumbs .th { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; cursor: pointer; border: 2px solid transparent; }
.pd-thumbs .th.active { border-color: var(--gold); }
.pd-info h1 { font-size: 30px; margin-bottom: 10px; }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 22px; }
.pd-price .now { font-size: 26px; font-weight: 700; color: var(--plum-dark); }
.pd-price .was { font-size: 16px; color: var(--ink-soft); text-decoration: line-through; }
.pd-price .off { font-size: 12px; background: rgba(245,130,31,0.18); color: var(--gold); padding: 4px 10px; border-radius: var(--radius); font-weight: 700; }
.pd-desc { color: var(--ink-soft); font-size: 14px; line-height: 1.8; margin-bottom: 26px; }
.pd-sold-by { font-size: 12.5px; color: var(--ink-soft); margin: -14px 0 22px; }
.pd-sold-by b { color: var(--plum-deep); }
.pd-block { margin-bottom: 24px; }
.pd-block label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--plum-dark); display: block; margin-bottom: 10px; }
.size-row, .color-row { display: flex; gap: 10px; flex-wrap: wrap; }
.size-opt {
  min-width: 46px; height: 44px; padding: 0 14px; border-radius: 22px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--ink);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.size-opt:hover, .size-opt.active { border-color: var(--plum-deep); background: var(--plum-deep); color: var(--ivory); }
.color-opt { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.color-opt.active { box-shadow: 0 0 0 2px var(--gold); }
.qty-row { display: flex; align-items: center; gap: 18px; }
.qty-box { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
.qty-box button { width: 40px; height: 44px; background: none; border: none; font-size: 16px; color: var(--plum-dark); }
.qty-box span { width: 40px; text-align: center; font-weight: 600; }
.pd-actions { display: flex; gap: 14px; margin-top: 28px; }
.pd-meta { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
.pd-meta div { margin-bottom: 8px; }
.pd-meta b { color: var(--ink); }
.pd-meta-table { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.pd-meta-table h4 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; color: var(--plum-dark); }
.pd-meta-row { display: grid; grid-template-columns: 160px 1fr; gap: 14px; font-size: 13px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.pd-meta-row b { color: var(--ink); font-weight: 700; }
.pd-meta-row span { color: var(--ink-soft); }
.reseller-note {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: rgba(245,130,31,0.1); border: 1px solid rgba(245,130,31,0.35);
  border-radius: var(--radius); padding: 14px 18px; margin-top: 18px; font-size: 13px; color: var(--ink);
}
.reseller-note a { color: var(--plum-dark); font-weight: 700; text-decoration: underline; white-space: nowrap; }
.pd-thumbs .th.video-th { position: relative; display: flex; align-items: center; justify-content: center; background: var(--plum-dark); }
.pd-thumbs .th.video-th::after {
  content: '▶'; color: var(--ivory); font-size: 14px;
}
.pd-gallery-main video { width: 100%; height: 100%; object-fit: cover; background: #000; }

/* ---------- Cart page ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; background: var(--white); box-shadow: var(--shadow-soft); border-radius: var(--radius); overflow: hidden; }
.cart-table th { text-align: left; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 20px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.ci-info { display: flex; gap: 16px; align-items: center; }
.ci-thumb { width: 74px; height: 92px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; }
.ci-name { font-weight: 600; color: var(--ink); font-family: var(--font-display); }
.ci-meta { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }
.ci-remove { color: var(--ink-soft); font-size: 12px; text-decoration: underline; margin-top: 6px; display: inline-block; }
.ci-remove:hover { color: #b23b3b; }
.summary-box { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-soft); position: sticky; top: 100px; }
.summary-box h4 { font-size: 17px; margin-bottom: 22px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.sum-row.total { color: var(--ink); font-weight: 700; font-size: 16px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 14px; }
.coupon-row { display: flex; gap: 8px; margin: 20px 0; }
.coupon-row input { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; }
.empty-cart { text-align: center; padding: 100px 20px; }
.empty-cart .ic { font-size: 54px; color: var(--line); margin-bottom: 20px; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.form-box { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-soft); }
.form-box h4 { font-size: 15px; letter-spacing: 0.06em; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; letter-spacing: 0.03em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 14px; background: var(--ivory);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum-deep); background: var(--white); }
.pay-methods { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.pay-opt { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-size: 14px; cursor: pointer; }
.pay-opt.active { border-color: var(--plum-deep); background: rgba(20,33,61,0.03); }
.pay-opt img { height: 20px; }
.order-review { max-height: 320px; overflow-y: auto; margin-bottom: 20px; }
.order-line { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.order-line .qty-tag { color: var(--ink-soft); }
.secure-note { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); margin-top: 18px; justify-content: center; }

/* ---------- Blog teaser ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { display: block; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease); }
.blog-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-5px); }
.blog-media { aspect-ratio: 16/10; }
.blog-body { padding: 22px 24px 26px; }
.blog-date { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.blog-title { font-family: var(--font-display); font-size: 18px; margin: 10px 0 10px; color: var(--ink); }
.blog-excerpt { font-size: 13px; color: var(--ink-soft); }

/* ---------- Blog article ---------- */
.article-media { aspect-ratio: 16/9; border-radius: var(--radius); margin-bottom: 26px; }
.article-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 20px; }
.article-cat { color: var(--gold); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; }
.article-body h2 { font-family: var(--font-display); font-size: 21px; color: var(--ink); margin: 34px 0 14px; }
.article-body p { font-size: 15px; line-height: 1.9; color: var(--ink-soft); margin-bottom: 18px; }
.article-body p:first-of-type { font-size: 16.5px; color: var(--ink); }
.article-body a { color: var(--plum-deep); font-weight: 600; text-decoration: underline; }
.article-body b { color: var(--ink); }
.article-cta { text-align: center; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 40px 30px; margin-top: 44px; }
.article-cta h3 { font-size: 22px; margin-bottom: 8px; }
.article-cta p { color: var(--ink-soft); margin-bottom: 20px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 30px; right: 30px;
  background: var(--plum-dark); color: var(--ivory);
  padding: 16px 24px; border-radius: var(--radius);
  font-size: 13px; letter-spacing: 0.03em;
  box-shadow: var(--shadow-lift);
  transform: translateY(120%); opacity: 0;
  transition: all 0.4s var(--ease);
  z-index: 999;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-soft); }
.faq-item summary { cursor: pointer; font-weight: 600; font-family: var(--font-display); font-size: 15.5px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--gold); flex-shrink: 0; transition: transform 0.25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }

.ca-hidden { display: none; }

/* ---------- Address book ---------- */
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 24px; }
.addr-card { position: relative; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 20px 22px; border: 1px solid transparent; }
.addr-card-default { border-color: var(--gold); }
.addr-default-badge { position: absolute; top: 16px; right: 16px; background: var(--gold); color: var(--plum-dark); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 10px; border-radius: 20px; }
.addr-label { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--plum-deep); margin-bottom: 6px; }
.addr-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.addr-text { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 14px; }
.addr-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.addr-edit-form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.addr-edit-form .form-grid { margin-bottom: 14px; }

/* ---------- Checkout address picker ---------- */
.addr-pick-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.addr-pick-opt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; cursor: pointer; }
.addr-pick-opt input[type="radio"] { margin-top: 3px; flex-shrink: 0; }
.addr-pick-opt:has(input:checked) { border-color: var(--plum-deep); background: rgba(20,33,61,0.03); }
.addr-pick-opt b { color: var(--ink); font-family: var(--font-display); font-size: 13.5px; }
.addr-default-tag { background: var(--gold); color: var(--plum-dark); font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 2px 8px; border-radius: 20px; }

/* ---------- Stat cards (customer/vendor dashboards) ---------- */
.ca-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 24px; }
.ca-stat-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 18px 20px; }
.ca-stat-label { font-size: 11px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.ca-stat-value { font-size: 24px; font-weight: 700; font-family: var(--font-display); color: var(--ink); }
.ca-stat-good .ca-stat-value { color: #1a7d3a; }
.ca-stat-warn .ca-stat-value { color: #b8860b; }
.ca-stat-bad .ca-stat-value { color: #a83226; }

/* ---------- Dashboard tables (vendor/customer) ---------- */
.ca-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ca-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); border-bottom: 2px solid var(--line); padding: 10px 8px; }
.ca-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ca-empty { text-align: center; color: var(--ink-soft); padding: 28px !important; }
.ca-inline-input { width: 100%; padding: 7px 9px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; background: var(--ivory); }
.ca-row-actions { display: flex; gap: 6px; white-space: nowrap; }
.ca-form-inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ca-form-inline input, .ca-form-inline select { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; }
.ca-btn { display: inline-block; padding: 9px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 13px; font-weight: 600; cursor: pointer; }
.ca-btn:hover { background: var(--ivory-2); }
.ca-btn-small { padding: 6px 12px; font-size: 12px; }
.ca-btn-danger { color: #a83226; border-color: #f0c4bc; }
.ca-btn-danger:hover { background: #fdecea; }
.ca-thumb { width: 42px; height: 54px; object-fit: cover; border-radius: var(--radius); background: var(--ivory-2); }
.ca-muted { color: var(--ink-soft); }
.ca-img-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.ca-img-item { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--ink-soft); }
.ca-img-item img { width: 76px; height: 96px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.ca-panel-head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Auth & Account ---------- */
.auth-wrap { max-width: 480px; margin: 0 auto; }
.auth-wrap-narrow { max-width: 420px; }
.form-alert { background: #fbe4e1; color: #a83226; font-size: 13px; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; }
.form-alert-success { background: #e2f4e8; color: #1a7d3a; }
.auth-switch { text-align: center; font-size: 13px; color: var(--ink-soft); margin-top: 18px; }
.auth-switch a { color: var(--plum-deep); font-weight: 600; text-decoration: underline; }
.acct-note { background: var(--ivory-2); font-size: 13px; color: var(--ink-soft); padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px; }
.acct-note a { color: var(--plum-deep); font-weight: 600; text-decoration: underline; }

.acct-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.acct-side { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft); position: sticky; top: 100px; }
.acct-hello { display: flex; gap: 12px; align-items: center; padding-bottom: 20px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.acct-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--plum-deep); color: var(--ivory); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 19px; flex-shrink: 0; }
.acct-hello-name { font-weight: 700; font-family: var(--font-display); font-size: 14px; line-height: 1.3; }
.acct-hello-email { font-size: 11px; color: var(--ink-soft); word-break: break-all; }
.acct-nav { display: flex; flex-direction: column; gap: 3px; }
.acct-nav a { padding: 12px 14px; border-radius: var(--radius); font-size: 14px; color: var(--ink); transition: background 0.2s var(--ease); }
.acct-nav a:hover { background: var(--ivory-2); }
.acct-nav a.active { background: var(--plum-deep); color: var(--ivory); font-weight: 600; }
.acct-count { float: right; background: var(--gold); color: var(--plum-dark); font-size: 10px; padding: 2px 8px; border-radius: 20px; font-weight: 700; }
.acct-logout { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 16px !important; color: #a83226; }
.vd-status-pill { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; }
.vd-status-pending { background: #fdf3d9; color: #b8860b; }
.vd-status-suspended { background: #fbe4e1; color: #a83226; }
.acct-main { min-width: 0; }
.acct-empty { text-align: center; padding: 60px 20px; color: var(--ink-soft); font-size: 14px; }
.acct-empty a { color: var(--plum-deep); font-weight: 600; text-decoration: underline; }
.acct-orders { display: flex; flex-direction: column; gap: 16px; }
.acct-order-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.acct-order-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); gap: 12px; }
.acct-order-ref { font-weight: 700; font-family: var(--font-display); font-size: 15px; }
.acct-order-date { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }
.acct-order-items { font-size: 13px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.acct-order-total { font-weight: 700; font-size: 14px; }
.acct-status { font-size: 11px; font-weight: 700; text-transform: capitalize; padding: 5px 13px; border-radius: 20px; background: #eee; white-space: nowrap; }
.acct-status-paid, .acct-status-confirmed, .acct-status-delivered { background: #e2f4e8; color: #1a7d3a; }
.acct-status-pending { background: #fdf3d9; color: #b8860b; }
.acct-status-shipped { background: #e2ecfd; color: #2a5db0; }
.acct-status-cancelled, .acct-status-refunded { background: #fbe4e1; color: #a83226; }

/* ---------- Order shipment tracker ---------- */
.ord-track { display: flex; align-items: flex-start; margin: 4px 0 16px; }
.ord-track-step { flex: 1; position: relative; text-align: center; }
.ord-track-step::before { content: ''; position: absolute; top: 7px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.ord-track-step:first-child::before { display: none; }
.ord-track-step.done::before { background: #1a7d3a; }
.ord-track-dot { display: block; width: 16px; height: 16px; margin: 0 auto 8px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); position: relative; z-index: 1; }
.ord-track-step.done .ord-track-dot { background: #1a7d3a; border-color: #1a7d3a; }
.ord-track-label { display: block; font-size: 11px; font-weight: 600; color: var(--ink-soft); }
.ord-track-step.done .ord-track-label { color: var(--ink); }
.ord-track-date { display: block; font-size: 10px; color: var(--ink-soft); margin-top: 2px; }
.ord-track-bad { font-size: 13px; color: #a83226; background: #fbe4e1; border-radius: var(--radius); padding: 12px 16px; margin-bottom: 16px; }
.ord-tracking-info { font-size: 12.5px; background: rgba(20,33,61,0.04); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 16px; }
.ord-tracking-info a { color: var(--plum-deep); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cat-grid, .prod-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-banner-grid { grid-template-columns: 1fr; }
  .shop-layout, .pd-layout, .cart-layout, .checkout-layout, .acct-layout { grid-template-columns: 1fr; }
  .acct-side { position: static; }
  .acct-nav { flex-direction: row; overflow-x: auto; }
  .acct-nav a { white-space: nowrap; }
  .acct-logout { margin-top: 0; border-top: none; }
  .footer-grid, .footer-grid-5, .footer-grid-6 { grid-template-columns: 1fr 1fr; }
  .hero-content h1 { font-size: 40px; }
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-newsletter-row { flex-direction: column; align-items: flex-start; }
  .footer-nl-form { width: 100%; }
}
@media (max-width: 560px) {
  .cat-grid, .testi-grid, .trust-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .prod-body { padding: 12px 12px 16px; }
  .prod-name { font-size: 13px; }
  .price-now { font-size: 14px; }
  .price-was { font-size: 11px; }
  .logo-img { height: 44px; }
  .container { padding: 0 18px; }
  .hero-content h1 { font-size: 32px; }
  .promo-banner { flex-direction: column; gap: 24px; text-align: center; padding: 44px 28px; }
  .vendor-cta-box { flex-direction: column; text-align: center; padding: 36px 28px; }
  .vendor-cta-box p { max-width: none; }
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .btn { flex: 1 1 auto; }
  .pd-actions { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .checkout-layout .form-grid, .acct-main .form-grid { grid-template-columns: 1fr; }
  .footer-grid, .footer-grid-5, .footer-grid-6 { grid-template-columns: 1fr; }
  .nl-form, .footer-nl-form { flex-direction: column; }
  .nl-form input, .footer-nl-form input { border-radius: var(--radius); margin-bottom: 10px; }
  .nl-form button, .footer-nl-form button { border-radius: var(--radius); width: 100%; }
}
