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

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-400: #a1a1aa;
  --gray-600: #52525b;
  --gray-900: #18181b;
  --gold: #c9a96e;
  --gold-dark: #a8843f;
  --red: #ef4444;
  --green: #22c55e;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,.10);
  --transition: 0.2s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--gray-50);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 99px; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.demo-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 36px; background: #0a0a0a;
  border-bottom: 1px solid rgba(201,169,110,.25);
  color: #a1a1aa; font-size: .75rem;
  padding: 0 24px; display: flex; align-items: center; gap: 10px; line-height: 1;
}
.demo-bar strong { color: #c9a96e; font-weight: 600; }
.demo-bar-sep { color: #3f3f46; }
.demo-bar-link {
  margin-left: auto; color: #c9a96e; text-decoration: none;
  display: flex; align-items: center; gap: 5px; transition: color .15s;
}
.demo-bar-link:hover { color: #fff; }
body { padding-top: 36px; }
.navbar {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 100;
  height: 64px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 1px 20px rgba(0,0,0,.06);
  background: rgba(255,255,255,0.96);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 32px;
}
.navbar-logo {
  font-size: 1.25rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--black);
  white-space: nowrap; flex-shrink: 0;
}
.navbar-nav { display: flex; align-items: center; gap: 28px; }
.navbar-nav a {
  font-size: .875rem; font-weight: 500; color: var(--gray-600);
  transition: color var(--transition); white-space: nowrap;
}
.navbar-nav a:hover, .navbar-nav a.active { color: var(--gold); }
.navbar-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.icon-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; border: none;
  background: transparent; cursor: pointer; color: var(--gray-900);
  transition: background var(--transition);
}
.icon-btn:hover { background: var(--gray-100); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.cart-badge {
  position: absolute; top: 2px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--gold); color: white;
  border-radius: 99px; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .875rem; font-weight: 600; border: none; border-radius: var(--radius);
  cursor: pointer; transition: all var(--transition); text-decoration: none;
  white-space: nowrap; line-height: 1;
}
.btn-sm { padding: 8px 16px; font-size: .8125rem; border-radius: 8px; }
.btn-md { padding: 11px 20px; }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 14px; }
.btn-xl { padding: 16px 36px; font-size: 1.0625rem; border-radius: 14px; }

.btn-dark {
  background: var(--black); color: white;
}
.btn-dark:hover { background: #2d2d2d; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.btn-dark:active { transform: none; }

.btn-gold {
  background: var(--gold); color: white;
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,169,110,.35); }

.btn-outline {
  background: transparent; border: 1.5px solid var(--gray-200); color: var(--gray-900);
}
.btn-outline:hover { border-color: var(--gray-900); background: var(--gray-100); }

.btn-ghost {
  background: transparent; color: var(--gray-600); padding: 8px 12px;
}
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-900); }
.user-menu-wrap { position: relative; }
.user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--black); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; font-weight: 700; cursor: pointer;
  border: none; transition: opacity var(--transition);
}
.user-avatar:hover { opacity: .85; }
.user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 200px; background: white; border-radius: var(--radius);
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-md);
  overflow: hidden; opacity: 0; pointer-events: none;
  transform: translateY(-8px); transition: all var(--transition);
}
.user-dropdown.open { opacity: 1; pointer-events: auto; transform: none; }
.user-dropdown-header { padding: 14px 16px; border-bottom: 1px solid var(--gray-100); }
.user-dropdown-header strong { display: block; font-size: .875rem; }
.user-dropdown-header span { font-size: .75rem; color: var(--gray-400); }
.user-dropdown a, .user-dropdown button {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; width: 100%; text-align: left;
  font-size: .875rem; background: none; border: none; cursor: pointer;
  color: var(--gray-900); transition: background var(--transition);
}
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--gray-50); }
.user-dropdown button.logout { color: var(--red); }
.user-dropdown svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.hamburger { display: none; }
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1558769132-cb1aea458c5e?w=1600&q=85');
  background-size: cover; background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.3) 55%, rgba(0,0,0,.1) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 620px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.75); margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--gold);
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800; line-height: 1.06; color: white;
  letter-spacing: -.02em; margin-bottom: 20px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 1.125rem; color: rgba(255,255,255,.75);
  max-width: 440px; line-height: 1.7; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.5); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
  animation: bob 2s ease-in-out infinite;
}
.scroll-hint svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; }
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-dark { background: var(--black); color: white; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.section-header p { color: var(--gray-400); font-size: 1rem; }
.section-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.section-row h2 { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.section-row p { color: var(--gray-400); font-size: .9375rem; margin-top: 4px; }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.category-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16/10; display: block; cursor: pointer;
}
.category-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.category-card:hover img { transform: scale(1.06); }
.category-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.1) 60%);
}
.category-card-content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 28px 24px;
}
.category-card-content h3 { font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: 4px; }
.category-card-content p { color: rgba(255,255,255,.65); font-size: .875rem; margin-bottom: 16px; }
.category-card-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 600; color: white;
  border: 1px solid rgba(255,255,255,.35); border-radius: 8px;
  padding: 8px 14px; transition: all var(--transition);
}
.category-card:hover .category-card-btn { background: rgba(255,255,255,.12); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.product-card {
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer; display: block; color: inherit;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.product-card-img {
  position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--gray-100);
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-card-img img { transform: scale(1.06); }

.product-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,.7); backdrop-filter: blur(6px);
  color: white; font-size: .6875rem; font-weight: 700;
  padding: 4px 10px; border-radius: 6px; letter-spacing: .04em;
}
.product-card-soldout {
  position: absolute; inset: 0; background: rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center;
}
.product-card-soldout span {
  background: white; color: var(--red);
  font-weight: 700; font-size: .875rem;
  padding: 8px 20px; border-radius: 99px;
}
.product-card-body { padding: 14px 16px 18px; }
.product-card-cat { font-size: .6875rem; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.product-card-name { font-size: .9375rem; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; line-height: 1.35; }
.product-card-sizes { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.size-chip {
  font-size: .6875rem; font-weight: 500;
  padding: 3px 7px; border-radius: 5px; border: 1px solid var(--gray-200);
  color: var(--gray-600); line-height: 1;
}
.size-chip.out { text-decoration: line-through; opacity: .4; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; }
.product-card-price { font-size: 1rem; font-weight: 700; color: var(--gray-900); }
.product-card-rating { display: flex; align-items: center; gap: 4px; font-size: .75rem; color: var(--gray-400); }
.product-card-rating .star { color: #f59e0b; font-size: .8125rem; }
.product-card-soldout-label { font-size: .75rem; font-weight: 700; color: var(--red); margin-top: 4px; }
.features-section { background: var(--black); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--radius-lg); overflow: hidden; }
.feature-card {
  background: var(--black); padding: 40px 32px;
  display: flex; align-items: flex-start; gap: 20px;
  transition: background var(--transition);
}
.feature-card:hover { background: #111; }
.feature-icon-wrap {
  position: relative; width: 52px; height: 52px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.feature-icon-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(201,169,110,.25);
  background: rgba(201,169,110,.06);
}
.feature-icon-wrap svg { width: 24px; height: 24px; position: relative; z-index: 1; }
.feature-text h3 { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 6px; }
.feature-text p { font-size: .875rem; color: rgba(255,255,255,.45); line-height: 1.65; }
.cta-section {
  background: var(--black); color: white;
  text-align: center; padding: 88px 24px;
}
.cta-section h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,.6); margin-bottom: 36px; font-size: 1.0625rem; }
.footer {
  background: var(--gray-900); color: rgba(255,255,255,.6);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { font-size: 1.25rem; font-weight: 800; letter-spacing: .18em; color: white; display: block; margin-bottom: 14px; }
.footer-brand p { font-size: .875rem; line-height: 1.7; max-width: 260px; }
.footer h4 { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul li a { font-size: .875rem; transition: color var(--transition); }
.footer ul li a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .75rem; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--gray-400); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--gray-900); }
.breadcrumb span { opacity: .4; }
.page-header { padding: 100px 0 40px; }
.page-header h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
.page-header p { color: var(--gray-400); margin-top: 6px; }
.products-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.filters-sticky { position: sticky; top: 88px; height: fit-content; }
.filter-group { margin-bottom: 28px; }
.filter-group h3 { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 12px; }
.filter-btn {
  display: block; width: 100%; text-align: left;
  padding: 8px 12px; border-radius: 8px; border: none; cursor: pointer;
  font-size: .875rem; background: transparent; color: var(--gray-600);
  transition: all var(--transition);
}
.filter-btn:hover { background: var(--gray-100); color: var(--gray-900); }
.filter-btn.active { background: var(--black); color: white; }
.search-wrap { position: relative; }
.search-wrap input { padding-right: 40px; }
.search-wrap button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--gray-400); padding: 4px; }
.search-wrap button svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-gallery { position: sticky; top: 88px; }
.gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; background: var(--gray-100); margin-bottom: 12px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; }
.gallery-thumb { width: 72px; height: 88px; border-radius: 10px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color var(--transition); flex-shrink: 0; }
.gallery-thumb.active { border-color: var(--black); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.stock-badge { position: absolute; top: 14px; left: 14px; background: var(--red); color: white; font-size: .75rem; font-weight: 700; padding: 6px 14px; border-radius: 99px; }

.product-info { padding-top: 8px; }
.product-category { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 10px; }
.product-title { font-size: clamp(1.5rem, 2.5vw, 2.25rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 12px; }
.product-rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.stars { display: flex; gap: 2px; }
.stars .star { font-size: 1rem; color: #f59e0b; }
.stars .star.empty { color: var(--gray-200); }
.rating-text { font-size: .875rem; color: var(--gray-400); }
.product-price { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.product-desc { font-size: .9375rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 28px; }
.product-divider { height: 1px; background: var(--gray-200); margin-bottom: 24px; }
.size-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.size-label span { font-size: .875rem; font-weight: 600; }
.size-label em { font-size: .8125rem; font-style: normal; color: var(--gray-400); }
.size-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.size-btn {
  padding: 9px 16px; border-radius: 10px; border: 1.5px solid var(--gray-200);
  font-size: .875rem; font-weight: 500; background: white; cursor: pointer;
  transition: all var(--transition); color: var(--gray-900);
}
.size-btn:hover:not(.soldout) { border-color: var(--gray-900); }
.size-btn.selected { background: var(--black); color: white; border-color: var(--black); }
.size-btn.soldout { text-decoration: line-through; opacity: .35; cursor: not-allowed; }
.soldout-msg { display: flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--red); margin-bottom: 16px; }
.low-stock-warn { font-size: .8125rem; font-style: normal; font-weight: 600; color: var(--gold-dark); }

.add-btn { width: 100%; padding: 16px; font-size: 1rem; border-radius: 14px; margin-bottom: 12px; }
.add-feedback { text-align: center; font-size: .875rem; font-weight: 500; min-height: 20px; }
.add-feedback.success { color: var(--green); }
.add-feedback.error { color: var(--red); }
.reviews-section { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--gray-200); }
.reviews-section h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 28px; }
.review-form-card {
  background: white; border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
  padding: 24px; margin-bottom: 28px;
}
.review-form-card h3 { font-weight: 700; margin-bottom: 18px; }
.star-picker { display: flex; gap: 6px; margin-bottom: 16px; }
.star-pick { font-size: 1.5rem; cursor: pointer; transition: transform .15s; line-height: 1; background: none; border: none; padding: 2px; }
.star-pick:hover { transform: scale(1.2); }
.star-pick.active { transform: scale(1.1); }
.review-list { display: flex; flex-direction: column; gap: 16px; }
.review-card {
  background: white; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); padding: 20px;
}
.review-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.reviewer-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--black); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; font-weight: 700; flex-shrink: 0;
}
.reviewer-name { font-size: .9375rem; font-weight: 600; }
.reviewer-date { font-size: .75rem; color: var(--gray-400); margin-top: 2px; }
.review-comment { font-size: .9375rem; color: var(--gray-600); line-height: 1.65; }
.no-reviews { color: var(--gray-400); font-size: .9375rem; text-align: center; padding: 32px 0; }
.login-prompt {
  background: var(--gray-100); border-radius: var(--radius-lg); padding: 24px;
  text-align: center; margin-bottom: 28px;
}
.login-prompt p { color: var(--gray-600); margin-bottom: 14px; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  background: white; border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
  padding: 16px; display: flex; align-items: center; gap: 16px;
}
.cart-item-img { width: 80px; height: 96px; border-radius: 10px; overflow: hidden; background: var(--gray-100); flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: .9375rem; font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-meta { font-size: .8125rem; color: var(--gray-400); margin-bottom: 8px; }
.cart-item-price { font-size: 1rem; font-weight: 700; }
.cart-item-remove { padding: 8px; border-radius: 8px; background: none; border: none; cursor: pointer; color: var(--gray-400); flex-shrink: 0; transition: all var(--transition); }
.cart-item-remove:hover { background: var(--gray-100); color: var(--red); }
.cart-item-remove svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.cart-empty { text-align: center; padding: 80px 24px; background: white; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); }
.cart-empty svg { width: 64px; height: 64px; stroke: var(--gray-200); fill: none; stroke-width: 1.2; stroke-linecap: round; margin: 0 auto 20px; }
.cart-empty h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.cart-empty p { color: var(--gray-400); margin-bottom: 24px; }
.order-summary-card {
  background: white; border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
  padding: 24px; position: sticky; top: 88px;
}
.order-summary-card h2 { font-size: 1.125rem; font-weight: 700; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; font-size: .9375rem; margin-bottom: 12px; }
.summary-row.total { font-weight: 700; font-size: 1.0625rem; padding-top: 12px; border-top: 1px solid var(--gray-200); margin-top: 4px; }
.summary-free { font-size: .875rem; font-weight: 600; color: var(--green); }
.summary-continue { display: block; text-align: center; font-size: .8125rem; color: var(--gray-400); margin-top: 14px; transition: color var(--transition); }
.summary-continue:hover { color: var(--gray-900); }
.checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.steps { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.step { display: flex; align-items: center; gap: 8px; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center; font-size: .8125rem; font-weight: 700;
  color: var(--gray-400); transition: all var(--transition); flex-shrink: 0;
}
.step.active .step-num { background: var(--black); border-color: var(--black); color: white; }
.step.done .step-num { background: var(--green); border-color: var(--green); color: white; }
.step span { font-size: .875rem; font-weight: 500; color: var(--gray-400); }
.step.active span { color: var(--gray-900); font-weight: 600; }
.step-sep { flex: 1; height: 1px; background: var(--gray-200); min-width: 24px; }
.form-card {
  background: white; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); padding: 28px;
}
.form-card h2 { font-size: 1.125rem; font-weight: 700; margin-bottom: 22px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .875rem; font-weight: 500; color: var(--gray-900); margin-bottom: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.payment-notice {
  display: flex; align-items: center; gap: 8px;
  background: rgba(201,169,110,.08); border: 1px solid rgba(201,169,110,.2);
  border-radius: 10px; padding: 12px 14px; margin-bottom: 20px;
  font-size: .8125rem; color: var(--gold-dark);
}
.payment-notice svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.form-actions { display: flex; gap: 12px; margin-top: 6px; }
.success-card { text-align: center; padding: 64px 24px; background: white; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: rgba(34,197,94,.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.success-icon svg { width: 36px; height: 36px; stroke: var(--green); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.success-card h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 10px; }
.success-card p { color: var(--gray-400); margin-bottom: 28px; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.order-card {
  background: white; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); overflow: hidden; margin-bottom: 14px;
}
.order-card-header {
  display: flex; align-items: center; justify-content: space-between; padding: 18px 20px;
  cursor: pointer; user-select: none; transition: background var(--transition);
}
.order-card-header:hover { background: var(--gray-50); }
.order-info .order-num { font-size: .9375rem; font-weight: 700; }
.order-info .order-meta { font-size: .8125rem; color: var(--gray-400); margin-top: 2px; }
.order-card-right { display: flex; align-items: center; gap: 16px; }
.order-status {
  font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 99px;
}
.status-pending { background: rgba(245,158,11,.1); color: #d97706; }
.status-processing { background: rgba(59,130,246,.1); color: #2563eb; }
.status-shipped { background: rgba(139,92,246,.1); color: #7c3aed; }
.status-delivered { background: rgba(34,197,94,.1); color: #16a34a; }
.status-cancelled { background: rgba(239,68,68,.1); color: #dc2626; }
.order-total { font-size: 1rem; font-weight: 700; }
.chevron { width: 18px; height: 18px; stroke: var(--gray-400); fill: none; stroke-width: 2; stroke-linecap: round; transition: transform var(--transition); }
.order-card.open .chevron { transform: rotate(180deg); }
.order-card-body { display: none; border-top: 1px solid var(--gray-200); }
.order-card.open .order-card-body { display: block; }
.order-items-list { padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.order-item { display: flex; align-items: center; gap: 12px; }
.order-item-img { width: 50px; height: 60px; border-radius: 8px; overflow: hidden; background: var(--gray-100); flex-shrink: 0; }
.order-item-img img { width: 100%; height: 100%; object-fit: cover; }
.order-item-info { flex: 1; min-width: 0; }
.order-item-name { font-size: .875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-item-meta { font-size: .75rem; color: var(--gray-400); }
.order-item-price { font-size: .9375rem; font-weight: 700; flex-shrink: 0; }
.order-address { padding: 12px 20px; background: var(--gray-50); font-size: .8125rem; color: var(--gray-600); border-top: 1px solid var(--gray-200); }
.order-footer { padding: 12px 20px; display: flex; justify-content: flex-end; border-top: 1px solid var(--gray-200); font-weight: 700; font-size: .9375rem; }
.orders-empty { text-align: center; padding: 80px 24px; background: white; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); }
.orders-empty svg { width: 56px; height: 56px; stroke: var(--gray-200); fill: none; stroke-width: 1.2; margin: 0 auto 20px; }
.orders-empty h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.orders-empty p { color: var(--gray-400); margin-bottom: 24px; }
.account-header-card {
  background: white; border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
  padding: 28px; display: flex; align-items: center; gap: 20px; margin-bottom: 20px;
}
.account-avatar {
  width: 68px; height: 68px; border-radius: 50%; background: var(--black);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.5rem; font-weight: 700; flex-shrink: 0;
}
.account-info strong { font-size: 1.25rem; font-weight: 700; display: block; }
.account-info span { color: var(--gray-400); font-size: .9375rem; }
.account-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.account-link-card {
  background: white; border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
  padding: 20px; display: flex; align-items: center; gap: 14px; cursor: pointer; text-decoration: none; color: inherit;
  transition: all var(--transition);
}
.account-link-card:hover { border-color: var(--black); transform: translateY(-2px); box-shadow: var(--shadow); }
.account-link-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gray-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.account-link-icon svg { width: 20px; height: 20px; stroke: var(--gray-600); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.account-link-card strong { font-size: .9375rem; font-weight: 700; display: block; }
.account-link-card span { font-size: .8125rem; color: var(--gray-400); }
.logout-btn-card {
  width: 100%; background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 16px 20px; display: flex; align-items: center; gap: 10px; justify-content: center;
  cursor: pointer; font-size: .9375rem; font-weight: 500; color: var(--red);
  transition: all var(--transition);
}
.logout-btn-card:hover { border-color: var(--red); background: rgba(239,68,68,.04); }
.logout-btn-card svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.auth-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 80px 24px 40px;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
}
.auth-card { width: 100%; max-width: 420px; }
.auth-logo { display: block; text-align: center; font-size: 1.5rem; font-weight: 800; letter-spacing: .2em; color: var(--black); margin-bottom: 36px; }
.auth-title { text-align: center; font-size: 1.625rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.auth-sub { text-align: center; color: var(--gray-400); font-size: .9375rem; margin-bottom: 28px; }
.auth-box { background: white; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); padding: 32px; box-shadow: var(--shadow); margin-bottom: 20px; }
.auth-switch { text-align: center; font-size: .875rem; color: var(--gray-400); }
.auth-switch a { color: var(--gray-900); font-weight: 600; }
.auth-switch a:hover { color: var(--gold); }
.demo-hint { text-align: center; font-size: .75rem; color: var(--gray-400); background: var(--gray-100); border-radius: 10px; padding: 10px; margin-top: 12px; }
.form-label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: 6px; }
.form-input {
  display: block; width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  font-size: .9375rem; color: var(--gray-900); background: white;
  transition: border-color var(--transition), box-shadow var(--transition); outline: none;
}
.form-input:focus { border-color: var(--black); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.form-input::placeholder { color: var(--gray-400); }
.form-input.mono { font-family: 'Courier New', monospace; letter-spacing: .08em; }
.input-wrap { position: relative; }
.input-wrap .form-input { padding-right: 44px; }
.input-eye { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--gray-400); padding: 4px; transition: color var(--transition); }
.input-eye:hover { color: var(--gray-900); }
.input-eye svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.form-error {
  background: rgba(239,68,68,.07); border-radius: 10px;
  padding: 10px 14px; font-size: .875rem; color: var(--red);
  text-align: center; margin-bottom: 4px;
}
.form-success {
  background: rgba(34,197,94,.07); border-radius: 10px;
  padding: 10px 14px; font-size: .875rem; color: var(--green); text-align: center;
}
.spinner-wrap { display: flex; justify-content: center; align-items: center; padding: 80px; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--gray-200); border-top-color: var(--black); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  background: var(--gray-900); color: white;
  padding: 12px 18px; border-radius: 12px; font-size: .875rem; font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,.2); pointer-events: auto;
  animation: slideUp .25s ease; max-width: 320px;
}
.toast.success { background: #166534; }
.toast.error { background: #991b1b; }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.fade-in { animation: fadeIn .4s ease both; }
.fade-in-1 { animation-delay: .05s; }
.fade-in-2 { animation-delay: .1s; }
.fade-in-3 { animation-delay: .15s; }
.fade-in-4 { animation-delay: .2s; }
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-gallery { position: static; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .order-summary-card { position: static; }
  .products-layout { grid-template-columns: 1fr; }
  .filters-sticky { position: static; }
}
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .hamburger { display: flex; }
  .navbar-actions .btn { display: none; }
  .hero h1 { font-size: 2.8rem; }
  .hero p { font-size: 1rem; }
  .category-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .account-links { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-actions { flex-direction: column; }
}
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: white; flex-direction: column;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.open { transform: none; }
@media (max-width: 768px) { .mobile-nav { display: flex; } }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 20px; border-bottom: 1px solid var(--gray-200); }
.mobile-nav-header .logo { font-size: 1.125rem; font-weight: 800; letter-spacing: .18em; }
.mobile-nav-links { padding: 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mobile-nav-links a { padding: 12px 14px; border-radius: 10px; font-size: 1.0625rem; font-weight: 500; color: var(--gray-900); transition: background var(--transition); }
.mobile-nav-links a:hover { background: var(--gray-100); }
.mobile-nav-footer { padding: 20px; border-top: 1px solid var(--gray-200); display: flex; flex-direction: column; gap: 10px; }
