/* ==========================================================================
   MartWatches — Native CSS (single file)
   Design: dark luxury (luxe) + gold accents
   Breakpoints: sm 640px / md 768px / lg 1024px / xl 1280px
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --luxe-50:  #f8f9fa;
  --luxe-100: #e9ecef;
  --luxe-200: #dee2e6;
  --luxe-300: #adb5bd;
  --luxe-400: #6c757d;
  --luxe-500: #495057;
  --luxe-600: #343a40;
  --luxe-700: #2c3035;
  --luxe-800: #1a1d20;
  --luxe-900: #111316;
  --luxe-950: #0a0b0d;

  --gold-50:  #f0f9f4;
  --gold-100: #d9f2e3;
  --gold-200: #b3e4c8;
  --gold-300: #7cd1a1;
  --gold-400: #4fb87a;
  --gold-500: #2d9d5c;
  --gold-600: #1a7a42;
  --gold-700: #146134;
  --gold-800: #0f4d29;
  --gold-900: #0b3a1e;

  --navy-900: #102a43;
  --navy-800: #243b53;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --accent-300: #6ee7b7;
  --accent-500: #10b981;
  --accent-600: #059669;
  --emerald-50:  #ecfdf5;
  --emerald-200: #a7f3d0;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --red-50:  #fef2f2;
  --red-200: #fecaca;
  --red-400: #f87171;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --amber-50:  #fffbeb;
  --amber-200: #fde68a;
  --amber-600: #d97706;
  --blue-50:  #eff6ff;
  --blue-200: #bfdbfe;
  --blue-600: #2563eb;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius-sm: 0.5rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,.18);
  --transition: all .2s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--luxe-50);
  color: var(--luxe-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-left: 2rem; padding-right: 2rem; } }

.container-narrow { max-width: 48rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .container-narrow { padding-left: 1.5rem; padding-right: 1.5rem; } }

.section { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .section { padding-top: 7rem; padding-bottom: 7rem; } }
.section-alt { background: var(--luxe-50); }

/* ---------- Grid ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.grid-responsive { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid-responsive { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-responsive { grid-template-columns: repeat(4, 1fr); } }

.grid-responsive-3 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid-responsive-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-responsive-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Flex ---------- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.hidden { display: none !important; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }

/* ---------- Spacing ---------- */
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.pt-6 { padding-top: 1.5rem; }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* ---------- Typography ---------- */
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: .05em; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.text-green { color: var(--emerald-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .875rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  line-height: 1.25;
}
.btn-primary { background: var(--luxe-900); color: #fff; }
.btn-primary:hover { background: var(--luxe-800); transform: scale(1.02); }
.btn-primary-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-white { background: #fff; color: var(--luxe-900); }
.btn-white:hover { background: var(--luxe-50); }
.btn-outline { border: 2px solid var(--luxe-900); color: var(--luxe-900); }
.btn-outline:hover { background: var(--luxe-900); color: #fff; }
.btn-primary-navy { background: var(--navy-900); color: #fff; }
.btn-primary-navy:hover { background: var(--navy-800); transform: scale(1.02); }
.btn-accent { background: var(--accent-600); color: #fff; }
.btn-accent:hover { background: var(--accent-500); transform: scale(1.02); }
.btn-outline-accent { border: 2px solid var(--accent-600); color: var(--accent-600); background: transparent; }
.btn-outline-accent:hover { background: var(--accent-600); color: #fff; }
.btn-outline-navy { border: 2px solid var(--navy-900); color: var(--navy-900); }
.btn-outline-navy:hover { background: var(--navy-900); color: #fff; }
.btn-outline-slate { border: 1px solid var(--slate-200); color: var(--slate-500); }
.btn-outline-slate:hover { color: var(--navy-900); border-color: var(--slate-300); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 1rem 1.5rem; font-size: .875rem; }
.btn-sm { padding: .5rem 1rem; font-size: .75rem; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.1);
  transition: var(--transition);
}
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,.3); }

/* ---------- Badges / Tags ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 9999px;
  letter-spacing: .025em;
}
.badge-sale { background: var(--gold-600); color: #fff; }
.badge-new { background: var(--luxe-900); color: #fff; }
.badge-gold { background: var(--gold-100); color: var(--gold-700); }

.pill {
  display: inline-block;
  font-size: .75rem;
  padding: .25rem .75rem;
  border-radius: 9999px;
  background: var(--luxe-50);
  color: var(--luxe-500);
  border: 1px solid var(--luxe-200);
  transition: var(--transition);
}
.pill:hover { background: var(--luxe-900); color: #fff; border-color: var(--luxe-900); }
/* shop-collection 子分类 pills：固定深色字，避免整卡 hover 继承白字看不清；单独 hover 时配合 .pill:hover 变白字深蓝底 */
.category-card .cat-sub-pill { color: var(--luxe-600); }
.category-card .cat-sub-pill:hover { color: #fff; }

/* ---------- Page Hero / Breadcrumb ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(to right, var(--luxe-900), var(--luxe-800));
  color: #fff;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) { .page-hero { padding-top: 5rem; padding-bottom: 5rem; } }
.page-hero h1 { font-size: 1.875rem; font-weight: 700; }
@media (min-width: 768px) { .page-hero h1 { font-size: 2.25rem; } }
.page-hero p { color: var(--luxe-300); margin-top: .75rem; max-width: 42rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .875rem;
  color: var(--luxe-300);
  margin-bottom: 1rem;
}
.breadcrumb a { transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb .sep { color: var(--luxe-500); }
.breadcrumb .current { color: #fff; }

/* ---------- Section Headings ---------- */
.section-head { margin-bottom: 3.5rem; }
.section-head .eyebrow {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: .2em;
}
.section-head h2 { margin-top: .5rem; font-size: 1.875rem; font-weight: 700; color: var(--luxe-900); }
@media (min-width: 768px) { .section-head h2 { font-size: 2.25rem; } }
.section-head p { margin-top: .75rem; color: var(--luxe-400); }
.section-head-center { text-align: center; }
.section-head-center p { margin-left: auto; margin-right: auto; max-width: 32rem; }
.section-head-between { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) {
  .section-head-between { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.divider-gold { width: 3rem; height: 2px; background: var(--gold-500); border-radius: 9999px; margin: .75rem auto 0; }

/* ---------- Product Cards ---------- */
.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--luxe-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all .3s ease;
}
.product-card:hover {
  border-color: var(--gold-200);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.product-card .card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--luxe-50);
}
.product-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease-out;
}
.product-card:hover .card-media img { transform: scale(1.05); }
.product-card .card-badge { position: absolute; top: .75rem; left: .75rem; }
.product-card .card-body { padding: 1rem 1.25rem 1.25rem; }
.product-card .card-cat {
  font-size: .6875rem;
  color: var(--luxe-300);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .25rem;
}
.product-card .card-title {
  font-weight: 600;
  font-size: .875rem;
  line-height: 1.375;
  color: var(--luxe-900);
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  text-transform: none;
  letter-spacing: normal;
}
.product-card .card-title a:hover { color: var(--gold-600); }
.product-card .card-price { margin-top: .5rem; display: flex; align-items: center; gap: .5rem; }
.product-card .price-current { font-weight: 700; font-size: .875rem; color: var(--luxe-900); }
.product-card .price-current.sale { color: var(--gold-600); }
.product-card .price-old { color: var(--luxe-300); font-size: .75rem; text-decoration: line-through; }

.card-actions {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: .75rem;
  opacity: 0;
  transform: translateY(.5rem);
  transition: all .3s ease;
  display: flex;
  gap: .5rem;
}
.product-card:hover .card-actions { opacity: 1; transform: translateY(0); }
.btn-cart {
  flex: 1;
  background: rgba(17,19,22,.9);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: .625rem;
  border-radius: var(--radius);
  transition: var(--transition);
  text-align: center;
}
.btn-cart:hover { background: var(--luxe-900); }
.btn-wish {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.9);
  color: var(--luxe-700);
  font-size: 1rem;
  font-weight: 600;
  padding: 0;
  border-radius: var(--radius);
  transition: var(--transition);
  flex-shrink: 0;
  align-self: center;
}
.btn-wish:hover { background: #fff; }
.btn-wish.active { background: var(--red-500); color: #fff; }
.btn-wish.active:hover { background: var(--red-600); color: #fff; }

/* ---------- Category Cards ---------- */
.category-card {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--luxe-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all .3s ease;
}
.category-card:hover { border-color: var(--gold-200); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-card .media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--luxe-50); }
.category-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease-out; }
.category-card:hover .media img { transform: scale(1.1); }
.category-card .label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: .75rem;
  text-align: center;
  font-size: .875rem;
  font-weight: 600;
  color: var(--luxe-900);
  transition: color .3s ease;
}
.category-card:hover .label { color: #fff; }

/* Brand showcase grid (homepage) */
.brand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }

.brand-card {
  position: relative;
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--luxe-900);
  transition: transform .35s ease, box-shadow .35s ease;
}
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.brand-card .media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.brand-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease-out;
}
.brand-card:hover .media img { transform: scale(1.08); }
.brand-card .media .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,11,13,.85) 0%, rgba(10,11,13,.25) 45%, transparent 70%);
  transition: background .35s ease;
}
.brand-card:hover .media .overlay {
  background: linear-gradient(to top, rgba(10,11,13,.92) 0%, rgba(10,11,13,.35) 55%, transparent 75%);
}
.brand-card .label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .375rem;
}
.brand-card .label .name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  transition: transform .35s ease;
}
.brand-card .label .explore {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 500;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.brand-card:hover .label .name { transform: translateY(-4px); }
.brand-card:hover .label .explore { opacity: 1; transform: translateY(0); }

/* ---------- Blog Cards ---------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--luxe-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all .3s ease;
}
.blog-card:hover { border-color: var(--gold-200); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card .media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--luxe-50); }
.blog-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease-out; }
.blog-card:hover .media img { transform: scale(1.05); }
.blog-card .body { padding: 1.25rem; }
.blog-card .date { font-size: .75rem; color: var(--luxe-300); margin-bottom: .5rem; }
.blog-card .title { font-weight: 600; font-size: 1rem; color: var(--luxe-900); line-height: 1.375; }
.blog-card .title a:hover { color: var(--gold-600); }
.blog-card .excerpt { margin-top: .75rem; font-size: .875rem; color: var(--luxe-400); }

/* ---------- Sidebar ---------- */
.side-card {
  background: var(--luxe-50);
  border: 1px solid var(--luxe-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}
.side-card h4 {
  font-size: .875rem;
  font-weight: 600;
  color: var(--luxe-900);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .75rem;
}
.side-list li { margin-bottom: .25rem; }
.side-list a {
  display: block;
  font-size: .875rem;
  padding: .375rem .5rem;
  border-radius: var(--radius);
  color: var(--luxe-500);
  transition: var(--transition);
}
.side-list a:hover { color: var(--gold-600); background: var(--luxe-50); }
.side-list a.active { background: var(--gold-50); color: var(--gold-600); font-weight: 500; }

/* ---------- Forms ---------- */
.form-input {
  width: 100%;
  height: 2.75rem;
  padding: .75rem;
  font-size: .875rem;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  color: var(--navy-900);
  transition: var(--transition);
}
.form-input::placeholder { color: var(--slate-400); }
.form-input:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 2px rgba(16,185,129,.2);
}
textarea.form-input { height: auto; resize: none; }
.form-field { display: flex; flex-direction: column; gap: .375rem; }
.form-label {
  font-size: .75rem;
  font-weight: 500;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.form-select {
  font-size: .875rem;
  border: 1px solid var(--luxe-200);
  border-radius: var(--radius);
  padding: .5rem .75rem;
  color: var(--luxe-600);
}
.form-select:focus { outline: none; border-color: var(--gold-500); }

/* ---------- Pagination ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 2.5rem; }
.pagination a, .pagination span {
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  border: 1px solid var(--luxe-200);
  color: var(--luxe-500);
  font-size: .875rem;
  transition: var(--transition);
}
.pagination a:hover { background: var(--luxe-50); color: var(--luxe-900); }
.pagination .current { background: var(--luxe-900); color: #fff; border-color: var(--luxe-900); font-weight: 600; }
.pagination .disabled { color: var(--luxe-300); cursor: not-allowed; }
.pagination .dots { border: none; }

/* ---------- Empty State ---------- */
.empty-state { text-align: center; padding: 5rem 0; }
.empty-state p { color: var(--luxe-300); font-size: 1.125rem; }
.empty-state a { color: var(--gold-600); font-weight: 500; margin-top: 1rem; display: inline-flex; align-items: center; gap: .5rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17,19,22,.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  flex-shrink: 0;
  transition: color .3s ease;
}
.logo:hover { color: var(--gold-400); }

.nav-desktop { display: none; align-items: center; gap: .125rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-link {
  padding: .625rem;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-link:hover { color: var(--gold-400); background: rgba(255,255,255,.05); }

.has-dropdown { position: relative; }
.has-dropdown .dropdown-toggle { display: flex; align-items: center; gap: .25rem; }
.has-dropdown .dropdown-toggle svg { width: .75rem; height: .75rem; opacity: .5; transition: opacity .2s; }
.has-dropdown:hover .dropdown-toggle svg { opacity: 1; }
.dropdown {
  position: absolute;
  top: 100%; left: 0;
  margin-top: .25rem;
  z-index: 50;
  background: var(--luxe-800);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: .5rem 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all .2s ease;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; }
.dropdown a {
  display: block;
  padding: .5rem 1rem;
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
}
.dropdown a:hover { color: var(--gold-400); background: rgba(255,255,255,.05); }
.dropdown .dropdown-heading {
  display: block;
  padding: .5rem 1rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold-400);
}
.dropdown .dropdown-sep { border-top: 1px solid rgba(255,255,255,.1); margin: .25rem 0; }
.dropdown-wide { width: 360px; max-height: 420px; overflow-y: auto; }
.dropdown-wide .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 0 .25rem; padding: 0 .5rem; }
.dropdown-wide a { border-radius: var(--radius); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  position: relative;
  padding: .5rem;
  color: rgba(255,255,255,.7);
  border-radius: var(--radius);
  transition: var(--transition);
}
.icon-btn:hover { color: var(--gold-400); background: rgba(255,255,255,.05); }
.icon-btn svg { width: 1.25rem; height: 1.25rem; }
.icon-btn .count {
  position: absolute;
  top: -2px; right: -2px;
  width: 1rem; height: 1rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-500);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9999px;
}
.icon-btn .count.hidden { display: none; }

.menu-toggle { display: block; position: relative; width: 1.5rem; height: 1.5rem; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle .bar {
  position: absolute; left: 50%; top: 50%;
  width: 1.25rem; height: 2px; border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .3s ease, opacity .2s ease;
}
.menu-toggle .bar:nth-child(1) { transform: translate(-50%, -50%) translateY(-7px); }
.menu-toggle .bar:nth-child(2) { transform: translate(-50%, -50%); }
.menu-toggle .bar:nth-child(3) { transform: translate(-50%, -50%) translateY(7px); }
.menu-toggle.active .bar:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  left: 0; right: 0; top: 100%;
  z-index: 55;
  display: none;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  background: rgba(17,19,22,.98);
  border-top: 1px solid rgba(255,255,255,.05);
}
.mobile-menu.open { display: block; animation: mobMenuIn .25s ease; }
@keyframes mobMenuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 1024px) { .mobile-menu { display: none; } }
.mobile-menu .mob-inner { display: block; height: auto; padding: .75rem 1rem; }
.mobile-menu .mob-link {
  display: block;
  padding: .8rem 1rem;
  font-size: .9375rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  border-radius: var(--radius);
  border-left: 2px solid transparent;
  transition: var(--transition);
}
.mobile-menu .mob-link:hover { color: var(--gold-400); background: rgba(255,255,255,.05); border-left-color: var(--gold-500); }
.mobile-menu .mob-more-toggle {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
}
.mobile-menu .mob-more-toggle .mob-arrow { transition: transform .25s ease; }
.mobile-menu .mob-more-toggle.active .mob-arrow { transform: rotate(90deg); }
.mobile-menu .mob-more { display: none; }
.mobile-menu .mob-more.open { display: block; }
.mobile-menu .mob-more-item { padding-left: 2rem; font-size: .875rem; }

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10,11,13,.85);
  backdrop-filter: blur(6px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6rem;
  opacity: 0;
  transition: opacity .25s ease;
}
.search-overlay.open { display: flex; opacity: 1; }
.search-overlay .box {
  width: 100%; max-width: 44rem; padding: 0 1rem;
  transform: translateY(-1.5rem);
  transition: transform .3s ease;
}
.search-overlay.open .box { transform: translateY(0); }
.search-overlay .close-row { display: flex; justify-content: flex-end; margin-bottom: 1rem; }
.search-overlay .close-row .icon-btn {
  width: 2.75rem; height: 2.75rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 9999px;
  color: rgba(255,255,255,.7);
}
.search-overlay .close-row .icon-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.search-form { position: relative; }
.search-form input {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 1.15rem 3.5rem 1.15rem 1.5rem;
  font-size: 1.125rem;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-form input::placeholder { color: rgba(255,255,255,.35); }
.search-form input:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(45,157,92,.18), 0 20px 50px rgba(0,0,0,.4);
}
.search-form button {
  position: absolute;
  right: .65rem; top: 50%;
  transform: translateY(-50%);
  width: 2.75rem; height: 2.75rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  color: #fff;
  background: var(--gold-600);
  transition: background .2s ease, transform .15s ease;
}
.search-form button:hover { background: var(--gold-500); transform: translateY(-50%) scale(1.05); }
.search-suggest {
  margin-top: 1.25rem;
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  color: rgba(255,255,255,.5); font-size: .875rem;
}
.search-suggest .label { color: rgba(255,255,255,.4); }
.search-suggest a {
  padding: .35rem .85rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9999px;
  color: rgba(255,255,255,.8);
  font-size: .8125rem;
  transition: all .2s ease;
}
.search-suggest a:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--luxe-900);
  border-top: 1px solid rgba(255,255,255,.05);
  color: var(--luxe-300);
}
.site-footer .container { padding-top: 4rem; padding-bottom: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col h4 {
  color: #fff;
  font-weight: 600;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1.25rem;
}
.footer-col p { font-size: .875rem; line-height: 1.625; }
.footer-col ul li { margin-bottom: .75rem; }
.footer-col ul a { font-size: .875rem; color: var(--luxe-300); transition: var(--transition); }
.footer-col ul a:hover { color: var(--gold-400); }
.newsletter { display: flex; gap: .5rem; margin-top: 1.25rem; }
.newsletter input {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: .5rem .75rem;
  font-size: .875rem;
  color: #fff;
}
.newsletter input::placeholder { color: rgba(255,255,255,.3); }
.newsletter button {
  flex-shrink: 0;
  background: var(--gold-600);
  color: #fff;
  font-size: .875rem;
  font-weight: 500;
  padding: .5rem 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.newsletter button:hover { background: var(--gold-500); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.05); }
.footer-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
@media (min-width: 640px) { .footer-bottom .container { flex-direction: row; } }
.footer-bottom .copyright { font-size: .75rem; color: var(--luxe-400); }
.payment-icons { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; justify-content: center; }
.payment-icons span {
  display: flex; align-items: center; gap: .375rem;
  font-size: .75rem; font-weight: 500;
  color: var(--luxe-300);
  opacity: .5;
  transition: opacity .2s;
  letter-spacing: .025em;
}
.payment-icons span:hover { opacity: .8; }

.scroll-top {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 50;
  padding: .75rem;
  background: var(--gold-600);
  color: #fff;
  border-radius: 9999px;
  box-shadow: var(--shadow-lg);
  transition: all .3s ease;
}
.scroll-top:hover { background: var(--gold-500); }
.scroll-top svg { width: 1.25rem; height: 1.25rem; }

.toast {
  position: fixed;
  bottom: 6rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: max-content;
  max-width: calc(100vw - 2rem);
  z-index: 100;
  background: var(--luxe-900);
  color: #fff;
  font-size: .875rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Homepage Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 80% -10%, rgba(45,157,92,.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 110%, rgba(45,157,92,.12), transparent 60%),
    var(--luxe-900);
  color: #fff;
}
.hero .hero-bg { position: absolute; inset: 0; }
.hero .hero-bg .orb { position: absolute; border-radius: 9999px; filter: blur(3rem); }
.hero .hero-bg .orb-1 { top: -5rem; right: -8rem; width: 500px; height: 500px; background: rgba(45,157,92,.16); }
.hero .hero-bg .orb-2 { bottom: -12rem; left: -6rem; width: 420px; height: 420px; background: rgba(20,97,52,.12); }
.hero .hero-bg .grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero .hero-inner { position: relative; padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .hero .hero-inner { padding-top: 8rem; padding-bottom: 8rem; } }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
}

.hero-copy { text-align: center; }
@media (min-width: 1024px) { .hero-copy { text-align: left; } }

.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9999px;
  padding: .375rem 1rem;
  margin-bottom: 2rem;
}
.hero .hero-badge .dot { width: .5rem; height: .5rem; border-radius: 9999px; background: var(--gold-500); animation: pulse 2s infinite; }
.hero .hero-badge span { font-size: .75rem; font-weight: 500; color: rgba(255,255,255,.6); letter-spacing: .05em; text-transform: uppercase; }

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 40rem;
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4rem; } }

.hero .hero-sub {
  margin-top: 1.5rem;
  font-size: 1.0625rem;
  color: rgba(255,255,255,.55);
  max-width: 40rem;
  line-height: 1.7;
}
@media (min-width: 1024px) { .hero .hero-sub { font-size: 1.125rem; } }

.hero .hero-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) { .hero .hero-cta { flex-direction: row; } }
@media (min-width: 1024px) { .hero .hero-cta { justify-content: flex-start; } }

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 1024px) { .hero-stats { justify-content: flex-start; } }
.hero-stats .stat { display: flex; flex-direction: column; gap: .25rem; }
.hero-stats .stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-stats .stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .025em;
}

/* Visual showcase */
.hero-visual {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1024px) { .hero-visual { display: flex; } }
.hero-ring {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.08);
  animation: spin 40s linear infinite;
}
.hero-ring::before {
  content: '';
  position: absolute;
  inset: 28px;
  border-radius: 9999px;
  border: 1px dashed rgba(255,255,255,.1);
}
.hero-ring::after {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  border-radius: 9999px;
  background: var(--gold-500);
  transform: translateX(-50%);
  box-shadow: 0 0 16px 2px rgba(45,157,92,.6);
}
.hero-watch {
  position: relative;
  z-index: 1;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: radial-gradient(circle at 50% 40%, rgba(45,157,92,.12), transparent 70%);
}
.hero-watch svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.4));
  animation: float 6s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.trust-strip {
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: var(--luxe-800);
}
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1.25rem 1rem;
  border-right: 1px solid rgba(255,255,255,.05);
}
.trust-item svg { width: 1.25rem; height: 1.25rem; color: var(--gold-500); flex-shrink: 0; }
.trust-item h5 { color: #fff; font-size: .75rem; font-weight: 600; }
.trust-item p { color: var(--luxe-300); font-size: .6875rem; }

.brand-value {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 60% at 90% 20%, rgba(45,157,92,.12), transparent 60%),
    var(--luxe-900);
  padding-top: 5rem; padding-bottom: 5rem;
}
@media (min-width: 768px) { .brand-value { padding-top: 7rem; padding-bottom: 7rem; } }
.bv-orb { position: absolute; border-radius: 9999px; filter: blur(3rem); }
.bv-orb-1 { top: -8rem; left: -6rem; width: 400px; height: 400px; background: rgba(45,157,92,.1); }
.bv-orb-2 { bottom: -10rem; right: -6rem; width: 360px; height: 360px; background: rgba(20,97,52,.08); }
.bv-inner { position: relative; }
.bv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .bv-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.bv-copy { text-align: center; }
@media (min-width: 1024px) { .bv-copy { text-align: left; } }
.bv-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: 1rem;
}
.bv-copy h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) { .bv-copy h2 { font-size: 2.5rem; } }
.bv-lead {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  max-width: 32rem;
}
@media (min-width: 1024px) { .bv-lead { margin-left: 0; } }
.bv-cta { margin-top: 2rem; display: flex; justify-content: center; }
@media (min-width: 1024px) { .bv-cta { justify-content: flex-start; } }

.bv-features {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.bv-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-xl);
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.bv-feature:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(45,157,92,.3);
  transform: translateX(4px);
}
.bv-icon {
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(45,157,92,.12);
  border: 1px solid rgba(45,157,92,.2);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.bv-icon svg { width: 1.25rem; height: 1.25rem; color: var(--gold-400); }
.bv-text h4 { color: #fff; font-weight: 600; font-size: .9375rem; }
.bv-text p { margin-top: .25rem; color: rgba(255,255,255,.45); font-size: .875rem; line-height: 1.5; }

/* ==========================================================================
   Product Detail
   ========================================================================== */
.product-detail-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .product-detail-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-main {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--luxe-50);
  border: 1px solid var(--luxe-200);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .75rem; margin-top: 1rem; overflow-x: auto; padding-bottom: .5rem; }
.gallery-thumbs button {
  flex-shrink: 0;
  width: 5rem; height: 5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--luxe-50);
  transition: var(--transition);
  padding: 0;
}
.gallery-thumbs button:hover { border-color: var(--gold-300); }
.gallery-thumbs button.active { border-color: var(--gold-500); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 { font-size: 1.875rem; font-weight: 700; color: var(--luxe-900); line-height: 1.25; }
@media (min-width: 768px) { .product-info h1 { font-size: 2.25rem; } }
.product-info .cat-label { margin-top: .5rem; font-size: .875rem; color: var(--luxe-300); text-transform: uppercase; letter-spacing: .05em; }
.price-row { margin-top: 1.5rem; display: flex; align-items: center; gap: .75rem; }
.price-row .price-current { font-size: 1.5rem; font-weight: 700; color: var(--luxe-900); }
.price-row .price-current.sale { color: var(--gold-600); }
.price-row .price-old { font-size: 1.125rem; color: var(--luxe-300); text-decoration: line-through; }

.action-row { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .action-row { flex-direction: row; } }
.btn-add-cart {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--gold-600);
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(26,122,66,.25);
}
.btn-add-cart svg { width: 1.15rem; height: 1.15rem; }
.btn-add-cart:hover { background: var(--gold-500); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(26,122,66,.32); }
.btn-add-cart:active { transform: translateY(0); }
.btn-wishlist {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 2px solid var(--gold-600);
  color: var(--gold-600);
  background: transparent;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.btn-wishlist svg { width: 1.15rem; height: 1.15rem; }
@media (min-width: 640px) { .btn-wishlist { flex: none; } }
.btn-wishlist:hover { background: var(--gold-600); color: #fff; transform: translateY(-1px); }
.btn-wishlist:hover svg { stroke: #fff; }
.btn-wishlist:active { transform: translateY(0); }
.btn-wishlist.active { border-color: var(--red-500); color: var(--red-500); }
.btn-wishlist.active svg { fill: var(--red-500); stroke: var(--red-500); }

.trust-badges { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--luxe-200); }
.trust-badges div { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--luxe-400); }
.trust-badges .check { color: var(--gold-500); }

.spec-block { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--luxe-200); }
.spec-block h3 { font-size: 1.125rem; font-weight: 600; color: var(--luxe-900); margin-bottom: 1rem; }
.spec-table { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--luxe-200); }
.spec-table .row { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; font-size: .875rem; border-bottom: 1px solid var(--luxe-100); }
.spec-table .row:last-child { border-bottom: none; }
.spec-table .k { color: var(--luxe-400); font-weight: 500; }
.spec-table .v { color: var(--luxe-900); font-weight: 600; }

.desc-block { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--luxe-200); }
.desc-block h3 { font-size: 1.125rem; font-weight: 600; color: var(--luxe-900); margin-bottom: .75rem; }
.desc-block .content { color: var(--luxe-500); font-size: .875rem; line-height: 1.625; }
.desc-block .content p { margin-bottom: .75rem; }

/* ==========================================================================
   Category / Listing Layout
   ========================================================================== */
.list-layout { display: flex; flex-direction: column; gap: 2rem; padding-top: 3rem; padding-bottom: 3rem; }
.sidebar { width: 100%; flex-shrink: 0; }
@media (min-width: 1024px) { .sidebar { width: 16rem; } }
.sidebar .side-block { margin-bottom: 2rem; }
.sidebar .side-block h4 {
  font-size: .875rem; font-weight: 600; color: var(--luxe-900);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem;
}
.sidebar .side-block ul li { margin-bottom: .25rem; }
.sidebar .side-block ul a {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .875rem; color: var(--luxe-500);
  padding: .375rem 0;
  transition: var(--transition);
}
.sidebar .side-block ul a:hover { color: var(--gold-600); }
.sidebar .side-block ul a .cnt { font-size: .75rem; color: var(--luxe-300); }
.sidebar .side-block ul a.active { color: var(--gold-600); font-weight: 600; }

.main-content { flex: 1; min-width: 0; }

.filter-toggle-btn {
  display: none;
  width: 100%;
  align-items: center; justify-content: space-between;
  background: var(--luxe-50);
  border: 1px solid var(--luxe-200);
  border-radius: var(--radius-lg);
  padding: .75rem 1.25rem;
  font-size: .875rem; font-weight: 500;
  color: var(--luxe-900);
  margin-bottom: 1.5rem;
}
.filter-toggle-btn svg { width: 1rem; height: 1rem; }
@media (max-width: 1023px) { .filter-toggle-btn { display: flex; } }

.toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.toolbar .count { font-size: .875rem; color: var(--luxe-400); }
.toolbar .count b { color: var(--luxe-900); font-weight: 500; }

.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }

/* ==========================================================================
   Article Content
   ========================================================================== */
.prose { color: var(--luxe-500); font-size: .875rem; line-height: 1.75; max-width: none; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--luxe-900); font-weight: 700; margin: 1.5em 0 .5em; }
.prose h1 { font-size: 1.875rem; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.25rem; }
.prose p { margin-bottom: 1em; }
.prose ul, .prose ol { margin: 0 0 1em 1.5em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--gold-600); text-decoration: underline; }
.prose img { border-radius: var(--radius-lg); margin: 1.5em 0; }
.prose blockquote { border-left: 3px solid var(--gold-400); padding-left: 1rem; color: var(--luxe-600); margin: 1.5em 0; }
.prose code { background: var(--luxe-100); padding: .125rem .375rem; border-radius: .25rem; font-size: .875em; }

.article-layout { display: flex; flex-direction: column; gap: 2.5rem; padding-top: 3rem; padding-bottom: 3rem; }
.article-main { flex: 1; min-width: 0; }
.article-main .cover {
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--luxe-50);
  margin-bottom: 2rem;
  border: 1px solid var(--luxe-200);
}
.article-main .cover img { width: 100%; height: 100%; object-fit: cover; }
.article-main h1 { font-size: 1.875rem; font-weight: 700; color: var(--luxe-900); line-height: 1.25; }
@media (min-width: 768px) { .article-main h1 { font-size: 2.25rem; } }
.article-meta { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; font-size: .875rem; color: var(--luxe-300); }
.article-sidebar { width: 100%; flex-shrink: 0; }
@media (min-width: 1024px) { .article-sidebar { width: 20rem; } }
.article-sidebar .side-card + .side-card { margin-top: 2rem; }

.popular-item { display: flex; gap: .75rem; }
.popular-item + .popular-item { margin-top: 1rem; }
.popular-item .thumb {
  width: 4rem; height: 4rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
  border: 1px solid var(--luxe-200);
}
.popular-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.popular-item .info { min-width: 0; }
.popular-item .info h5 { font-size: .875rem; font-weight: 500; color: var(--luxe-900); line-height: 1.375; }
.popular-item .info h5 a:hover { color: var(--gold-600); }
.popular-item .info .date { font-size: .75rem; color: var(--luxe-300); margin-top: .25rem; }

/* ==========================================================================
   Root Page Components (cart / checkout / search / wishlist / track-order / success)
   ========================================================================== */
.card {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}
.card-title {
  font-size: .75rem;
  font-weight: 600;
  color: var(--navy-900);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--slate-200);
}

.link-muted {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: var(--transition);
}
.link-muted:hover { color: var(--accent-600); }
.link-accent { color: var(--accent-600); font-weight: 500; }
.link-accent:hover { color: var(--accent-500); text-decoration: underline; }
.link-danger {
  font-size: .75rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: var(--transition);
}
.link-danger:hover { color: var(--red-500); }

.two-col-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .two-col-layout { grid-template-columns: 1fr 380px; } }
.two-col-layout-narrow { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .two-col-layout-narrow { grid-template-columns: 1fr 300px; } }
.sticky-summary { position: sticky; top: 6rem; }

.cart-head {
  display: none;
  grid-template-columns: 3fr 1fr .8fr 1fr .3fr;
  gap: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--slate-200);
  font-size: .75rem;
  font-weight: 600;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: .05em;
}
@media (min-width: 768px) { .cart-head { display: grid; } }
.cart-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--slate-100);
}
@media (min-width: 768px) { .cart-row { grid-template-columns: 3fr 1fr .8fr 1fr .3fr; } }
.cart-row .item-cell { display: flex; gap: .75rem; align-items: center; grid-column: 1 / -1; }
@media (min-width: 768px) { .cart-row .item-cell { grid-column: auto; } }

/* Cell (responsive: shows label on mobile via ::before) */
.cell {
  font-size: .875rem;
  color: var(--slate-600);
}
.cell::before {
  content: attr(data-label);
  display: block;
  font-size: .6875rem;
  font-weight: 600;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .125rem;
}
.cell-total {
  font-weight: 600;
  color: var(--navy-900);
}
.cell-remove { justify-self: end; }
@media (max-width: 767px) {
  .cart-row .cell[data-label="Qty"],
  .cart-row .cell-remove { justify-self: end; }
  .cart-row .cell[data-label="Qty"]::before { display: none; }
  .cart-continue-top { display: none; }
}
@media (min-width: 768px) {
  .cell::before { display: none; }
  .cart-row .cell-total { font-weight: 600; }
}
.item-thumb {
  width: 4rem; height: 4rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--slate-100);
  flex-shrink: 0;
}
.item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.item-name {
  font-size: .875rem;
  font-weight: 500;
  color: var(--navy-900);
  transition: var(--transition);
}
.item-name:hover { color: var(--accent-600); }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-stepper button {
  width: 1.75rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-500);
  transition: var(--transition);
}
.qty-stepper button:hover { color: var(--navy-900); }
.qty-stepper span {
  width: 2rem;
  text-align: center;
  font-size: .875rem;
  font-weight: 500;
  color: var(--navy-900);
}

.remove-btn {
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-400);
  font-size: 1.25rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.remove-btn:hover { color: var(--red-500); }

.coupon-toggle {
  font-size: .75rem;
  font-weight: 500;
  color: var(--accent-600);
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: var(--transition);
}
.coupon-toggle:hover { color: var(--accent-500); }
.coupon-box { display: flex; gap: .5rem; margin-top: .75rem; }
.coupon-box input { flex: 1; height: 2.5rem; padding: .75rem; font-size: .875rem; border: 1px solid var(--slate-200); border-radius: var(--radius); }
.coupon-box input:focus { outline: none; border-color: var(--accent-500); }
.coupon-applied {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: .75rem; padding: .5rem 0;
}
.coupon-applied .code {
  font-size: .75rem; font-weight: 600;
  color: var(--accent-600);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.summary-row { display: flex; justify-content: space-between; font-size: .875rem; color: var(--slate-600); }
.summary-row + .summary-row { margin-top: .75rem; }
.summary-row .total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  padding-top: 1rem;
  border-top: 1px solid var(--slate-200);
  margin-top: 1rem;
}

.status-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .25rem .75rem;
  border-radius: 9999px;
  border: 1px solid transparent;
}
.status-pending { background: var(--amber-50); color: var(--amber-600); border-color: var(--amber-200); }
.status-paid { background: var(--blue-50); color: var(--blue-600); border-color: var(--blue-200); }
.status-shipped { background: var(--emerald-50); color: var(--emerald-600); border-color: var(--emerald-200); }
.status-completed { background: var(--emerald-50); color: var(--emerald-600); border-color: var(--emerald-200); }
.status-cancelled { background: var(--red-50); color: var(--red-600); border-color: var(--red-200); }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1.25rem; }
.info-grid .label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .25rem;
}
.info-grid .value { font-size: .875rem; color: var(--navy-900); }

.order-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--slate-100);
}
.order-item:last-child { border-bottom: none; }
.qty-badge {
  position: absolute;
  top: -6px; right: -6px;
  width: 1rem; height: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700;
  color: #fff; background: var(--accent-500);
  border-radius: 9999px;
}

.timeline { position: relative; padding-left: 2rem; margin-top: 1.5rem; }
.timeline-step { position: relative; padding-bottom: 1.5rem; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step .dot {
  position: absolute;
  left: -1.75rem; top: .25rem;
  width: .625rem; height: .625rem;
  border-radius: 9999px;
  background: #fff;
  border: 2px solid var(--slate-300);
}
.timeline-step.done .dot { background: var(--accent-500); border-color: var(--accent-500); }
.timeline-step.active .dot { box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
.timeline-step::before {
  content: '';
  position: absolute;
  left: -1.6rem; top: 14px;
  width: 2px; height: 100%;
  background: var(--slate-200);
}
.timeline-step:last-child::before { display: none; }
.timeline-step.done::before { background: var(--accent-500); }
.timeline-step h5 {
  font-size: .875rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--slate-400);
}
.timeline-step.done h5 { color: var(--navy-900); }
.timeline-step p { font-size: .75rem; color: var(--slate-400); margin-top: .125rem; }

.success-icon { margin-bottom: 2rem; display: flex; justify-content: center; }
.success-icon svg { color: var(--emerald-500); }

.search-bar { display: flex; max-width: 36rem; margin: 0 auto 3rem; }
.search-bar input {
  flex: 1; height: 3rem;
  padding: .75rem 1.25rem;
  font-size: .875rem;
  border: 1px solid var(--slate-200);
  border-top-left-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
}
.search-bar input:focus { outline: none; border-color: var(--accent-500); }
.search-bar button {
  height: 3rem;
  padding: 0 1.5rem;
  display: flex; align-items: center; gap: .5rem;
  background: var(--accent-600);
  color: #fff;
  font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  border-top-right-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  transition: var(--transition);
}
.search-bar button:hover { background: var(--accent-500); }

.hot-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.hot-tags a {
  font-size: .75rem;
  padding: .5rem 1rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  color: var(--slate-600);
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: var(--transition);
}
.hot-tags a:hover { border-color: var(--accent-500); color: var(--accent-600); }

.alert {
  padding: .75rem 1rem;
  border-radius: var(--radius-lg);
  font-size: .875rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.alert-success { background: var(--emerald-50); border: 1px solid var(--emerald-200); color: var(--emerald-600); }
.alert-error { background: var(--red-50); border: 1px solid var(--red-200); color: var(--red-600); }

.wish-remove {
  position: absolute; top: .75rem; right: .75rem; z-index: 10;
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  background: rgba(255,255,255,.9);
  color: var(--red-400);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.wish-remove:hover { background: var(--red-600); color: #fff; }
.wish-remove svg { width: 1rem; height: 1rem; }

.pay-option {
  display: flex; align-items: center; gap: .75rem;
  padding: 1rem;
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: .75rem;
}
.pay-option:hover { border-color: var(--slate-300); }
.pay-option.selected { border-color: var(--navy-900); background: var(--slate-50); }
.pay-option .radio-dot {
  width: 1rem; height: 1rem;
  border-radius: 9999px;
  border: 2px solid var(--slate-300);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pay-option.selected .radio-dot { border-color: var(--accent-500); }
.pay-option.selected .radio-dot::after {
  content: ''; display: block;
  width: .5rem; height: .5rem;
  border-radius: 9999px;
  background: var(--accent-500);
}

/* ---------- JS Toggle Classes ---------- */
.pointer-events-none { pointer-events: none; }
.scale-0 { transform: scale(0); }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.translate-y-0 { transform: translateY(0); }
.translate-y-4 { transform: translateY(1rem); }
.rotate-180 { transform: rotate(180deg); }

/* Desktop-only link */
.desktop-only-link { display: none; }
@media (min-width: 768px) {
  .desktop-only-link { display: inline-flex; }
}

/* Mobile-only (hidden >= 768px) */
.mobile-only { display: block; }
@media (min-width: 768px) { .mobile-only { display: none; } }

/* Responsive grid columns (mobile-first: 1 column by default) */
.grid-2-sm { grid-template-columns: 1fr; }
.grid-3-sm { grid-template-columns: 1fr; }
.grid-2-md { grid-template-columns: 1fr; }
.grid-3-md { grid-template-columns: 1fr; }
.grid-3-lg { grid-template-columns: 1fr; }
.grid-6-lg { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2-sm { grid-template-columns: repeat(2, 1fr); }
  .grid-3-sm { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .grid-2-md { grid-template-columns: repeat(2, 1fr); }
  .grid-3-md { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3-lg { grid-template-columns: repeat(3, 1fr); }
  .grid-6-lg { grid-template-columns: repeat(6, 1fr); }
}

/* Responsive row direction */
.row-sm { flex-direction: column; }
.row-lg { flex-direction: column; }
@media (min-width: 640px) { .row-sm { flex-direction: row; } }
@media (min-width: 1024px) { .row-lg { flex-direction: row; } }

/* Responsive heading */
.heading-lg { font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 768px) { .heading-lg { font-size: 2.25rem; line-height: 2.5rem; } }

/* Extra-small gap */
.gap-xs { gap: .375rem; }

/* Full-width button on mobile, auto on desktop */
.btn-mobile-full {
  display: block;
  width: 100%;
  text-align: center;
}
.btn-mobile-full svg { display: inline-block; vertical-align: middle; }
@media (min-width: 640px) {
  .btn-mobile-full { display: inline-flex; width: auto; }
}

/* ---------- Animations ---------- */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-pulse { animation: pulse 2s infinite; }
.animate-fade-in-up { animation: fadeInUp .6s ease both; }
