:root {
  --ink: #1c1c1c;
  --muted: #6b6b6b;
  --line: #e8e5e0;
  --cream: #f7f3ee;
  --cream-2: #fbf8f4;
  --blue: #bcdafe;
  --red: #d92d20;
  --blue-link: #4f7fbd;
  --white: #fff;
  --shadow: 0 10px 32px rgba(28, 28, 28, .08);
  --radius: 10px;
  --max: 1280px;
  /* presentation-only holiday theme variables (JS overrides on <html>) */
  --theme-accent: #d92d20;
  --theme-soft: #fdf4e8;
  --theme-deep: #8a5a13;
  --theme-tint: #fbf6ee;
  --theme-glow: rgba(217,45,32,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 14px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0 0 12px; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.hidden { display: none !important; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.flex { display: flex; }
.aic { align-items: center; }
.jcsb { justify-content: space-between; }
.jcc { justify-content: center; }
.gap8 { gap: 8px; }
.gap16 { gap: 16px; }
.mt8 { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; }
.mt32 { margin-top: 32px; }
.mb8 { margin-bottom: 8px; }
.mb16 { margin-bottom: 16px; }
.mb24 { margin-bottom: 24px; }
.ellipsis2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ellipsis3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Promo bar */
.promo-bar {
  background: var(--theme-soft);
  border-bottom: 1px solid var(--theme-soft);
  color: var(--theme-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
  position: relative;
  transition: background .3s ease, color .3s ease;
}
.promo-inner { display: flex; align-items: center; justify-content: center; gap: 18px; height: 34px; overflow: hidden; }
.promo-inner span { white-space: nowrap; }
.promo-inner em { font-style: normal; color: var(--theme-accent); font-weight: 800; }
.promo-inner .sep { color: var(--theme-accent); opacity: .45; font-weight: 400; }
.promo-deco { font-size: 17px; line-height: 1; }
.promo-close { position: absolute; right: 16px; top: 6px; border: 0; background: transparent; color: var(--theme-accent); font-size: 17px; line-height: 1; }

/* Header */
.site-header { background: #fff; position: relative; z-index: 40; border-bottom: 1px solid #f0efec; }
.header-main { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-size: 26px; font-weight: 800; letter-spacing: -1px; white-space: nowrap; }
.logo span { color: var(--theme-accent); font-size: 13px; vertical-align: super; margin-left: 1px; }
.logo-deco { font-style: normal; font-size: 22px; margin-right: 5px; vertical-align: -2px; }
.search-wrap { flex: 1; max-width: 540px; position: relative; }
.search-form { display: flex; height: 40px; border: 1px solid #e2e0dc; border-radius: 4px; overflow: hidden; background: #fff; }
.search-form input { flex: 1; border: 0; outline: 0; padding: 0 14px; background: transparent; min-width: 0; }
.search-form button { width: 44px; border: 0; background: #222; color: #fff; display: grid; place-items: center; }
.search-form button svg { width: 18px; height: 18px; }
.suggest-box { position: absolute; top: 44px; left: 0; right: 0; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 80; border-radius: 8px; overflow: hidden; }
.suggest-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #f4f2ef; }
.suggest-item:hover { background: #faf8f6; }
.suggest-item img { width: 38px; height: 38px; object-fit: cover; border-radius: 4px; }
.suggest-item span { flex: 1; font-size: 12px; line-height: 1.35; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.theme-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--theme-soft);
  background: var(--theme-soft); font-size: 17px; display: grid; place-items: center;
  transition: transform .2s ease, background .3s ease;
}
.theme-btn:hover { transform: scale(1.08); }
.gift-btn {
  display: flex; align-items: center; gap: 8px; border: 1px solid #f0c98d;
  background: #fffaf2; color: #8a5a13; border-radius: 22px; padding: 6px 14px 6px 8px;
  font-weight: 700; white-space: nowrap;
}
.gift-btn img { width: 28px; height: 28px; object-fit: contain; }
.icon-btn { position: relative; display: grid; place-items: center; width: 28px; height: 30px; color: #2b2b2b; }
.icon-btn svg { width: 22px; height: 22px; }
.cart-badge { position: absolute; top: -6px; right: -9px; background: #d92d20; color: #fff; min-width: 17px; height: 17px; border-radius: 9px; font-size: 10px; display: grid; place-items: center; padding: 0 4px; }
.mobile-menu-btn { display: none; border: 0; background: transparent; font-size: 24px; padding: 4px; }

/* Navigation */
.main-nav { border-top: 1px solid #f5f3f0; }
.nav-list { display: flex; align-items: center; gap: 4px; height: 46px; overflow: visible; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-item > a { display: flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 18px; font-size: 13px; white-space: nowrap; }
.nav-item:hover > a { background: #f7f5f2; }
.nav-item.recommend > a { background: var(--theme-soft); color: var(--theme-deep); font-weight: 700; }
.nav-item.recommend:hover > a { background: var(--theme-soft); filter: brightness(.96); }
.nav-item .badge-icon { width: 18px; height: 18px; object-fit: contain; }
.mega { display: none; position: absolute; top: 46px; left: 0; width: 900px; background: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.12); border: 1px solid var(--line); border-radius: 0 0 12px 12px; padding: 20px 24px; z-index: 50; }
.nav-item:hover .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 24px; }
.mega-col-title { font-weight: 700; margin-bottom: 8px; font-size: 13px; }
.mega-col a { display: block; padding: 3px 0; font-size: 12px; color: #555; }
.mega-col a:hover { color: #000; text-decoration: underline; }
.mega-images { display: flex; gap: 10px; margin-top: 16px; }
.mega-images a { text-align: center; font-size: 11px; width: 80px; }
.mega-images img { width: 76px; height: 76px; object-fit: cover; border-radius: 8px; margin-bottom: 4px; }

/* Gift finder modal */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.modal-mask.active { display: flex; }
.theme-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: none; align-items: center; justify-content: center; z-index: 210; padding: 20px; }
.theme-mask.active { display: flex; }
.theme-card-wrap { width: min(720px, 100%); background: #fff; border-radius: 14px; padding: 30px; position: relative; box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.theme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.theme-card { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 16px 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: .2s; }
.theme-card:hover { border-color: var(--theme-accent); transform: translateY(-2px); }
.theme-card.active { border-color: var(--theme-accent); box-shadow: inset 0 0 0 1px var(--theme-accent); background: var(--theme-tint); }
.theme-emoji { font-size: 30px; }
.theme-name { font-size: 13px; font-weight: 700; }
.theme-zh { font-size: 11px; color: var(--muted); }
.modal-card { width: min(720px, 100%); background: #fff; border-radius: 14px; padding: 30px; position: relative; box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.modal-close { position: absolute; right: 16px; top: 12px; border: 0; background: transparent; font-size: 26px; line-height: 1; color: #555; }
.modal-title { text-align: center; font-size: 24px; margin-bottom: 24px; letter-spacing: .5px; }
.gift-form-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 13px; }
.field select, .field input, .field textarea { width: 100%; border: 1px solid #dcdcdc; border-radius: 5px; padding: 9px 10px; background: #fff; outline: none; }
.field select:focus, .field input:focus, .field textarea:focus { border-color: #222; }
.btn { border: 0; border-radius: 5px; padding: 10px 16px; font-weight: 700; }
.btn-dark { background: #111; color: #fff; }
.btn-dark:hover { background: #333; }
.btn-light { background: #fff; border: 1px solid #ccc; }
.btn-light:hover { border-color: #111; }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 22px; font-size: 15px; }

/* Home */
.hero { background: linear-gradient(135deg, var(--theme-tint), var(--theme-soft)); min-height: 330px; position: relative; overflow: hidden; transition: background .35s ease; }
.hero::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--theme-glow); top: -170px; right: -70px; pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; padding: 44px 0; }
.hero-copy h1 { font-size: 42px; line-height: 1.12; max-width: 520px; letter-spacing: -1px; }
.hero-copy p { margin: 16px 0 20px; font-size: 16px; color: #6c6259; max-width: 460px; }
.hero-badge { display: inline-block; background: #fff; border: 1px solid var(--theme-soft); padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; color: var(--theme-deep); }
.btn-theme { background: var(--theme-accent); color: #fff; border-radius: 24px; }
.btn-theme:hover { filter: brightness(.92); }
.hero-deco { position: absolute; font-size: 44px; pointer-events: none; filter: drop-shadow(0 6px 10px rgba(0,0,0,.12)); animation: heroFloat 4s ease-in-out infinite; z-index: 2; }
.hero-deco.deco-a { top: 8px; left: 8px; }
.hero-deco.deco-b { bottom: 6px; right: 6px; font-size: 36px; animation-delay: 1.2s; }
@keyframes heroFloat { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-9px) rotate(4deg); } }
.offer-strip { background: var(--theme-soft); padding: 14px 0 20px; transition: background .35s ease; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.offer-card { text-align: center; padding: 10px 16px; position: relative; }
.offer-card + .offer-card { border-left: 1px solid rgba(0,0,0,.12); }
.offer-emoji { position: absolute; left: 8px; top: 8px; font-size: 26px; }
.offer-main { font-size: 26px; font-weight: 800; color: var(--theme-accent); line-height: 1.1; }
.offer-sub { font-size: 13px; font-weight: 700; color: var(--theme-deep); margin-top: 4px; }
.hero-art { position: relative; height: 260px; }
.hero-art img { position: absolute; border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.14); object-fit: cover; }
.hero-art .h1 { width: 58%; height: 74%; left: 4%; top: 2%; transform: rotate(-4deg); }
.hero-art .h2 { width: 50%; height: 60%; right: 2%; top: 16%; transform: rotate(5deg); }
.hero-art .h3 { width: 34%; height: 40%; left: 32%; bottom: 0; transform: rotate(-2deg); }
.section { padding: 46px 0; }
.section-title { text-align: center; font-size: 26px; margin-bottom: 6px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 24px; }
.cat-circles { display: flex; gap: 26px; justify-content: center; overflow-x: auto; padding: 8px 0 16px; }
.cat-circle { width: 96px; text-align: center; flex: 0 0 96px; }
.cat-circle img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px; border: 3px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.cat-circle span { font-size: 12px; display: block; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.product-card { display: block; min-width: 0; }
.product-card .thumb { position: relative; width: 100%; aspect-ratio: 1 / 1; background: var(--cream); overflow: hidden; border-radius: 6px; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .thumb img { transform: scale(1.045); }
.product-card .thumb .placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #d7d1ca; font-weight: 800; letter-spacing: 2px; font-size: 20px; }
.product-card .pname { font-size: 13px; line-height: 1.4; margin-top: 10px; min-height: 36px; }
.stars { display: inline-flex; align-items: center; gap: 2px; color: #f5a623; font-size: 12px; }
.stars .sr { width: 11px; height: 11px; background: currentColor; clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.stars .sr.half { opacity: .55; }
.stars .sr.empty { opacity: .18; }
.stars .cnt { color: #666; margin-left: 3px; font-size: 11px; }
.price { font-weight: 700; margin-top: 4px; font-size: 14px; }
.price del { color: #999; font-weight: 400; margin-left: 6px; }

/* Category page */
.category-header { background: var(--cream); padding: 22px 0 12px; }
.child-swiper { display: flex; gap: 34px; justify-content: center; overflow: hidden; position: relative; }
.child-item { width: 88px; text-align: center; flex: 0 0 88px; }
.child-item img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px; background: #fff; }
.child-item h2 { font-size: 12px; font-weight: 500; line-height: 1.35; }
.swiper-nav { position: absolute; top: 26px; border: 0; background: rgba(255,255,255,.85); width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.swiper-nav.prev { left: 0; } .swiper-nav.next { right: 0; }
.crumbs { padding: 18px 0 0; font-size: 12px; color: #777; }
.crumbs a:hover { text-decoration: underline; }
.category-title { text-align: center; font-size: 30px; margin: 12px 0 26px; }
.cat-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.count { font-size: 13px; }
.sort-box { display: flex; align-items: center; gap: 8px; background: #f7f7f7; border-radius: 5px; padding: 8px 12px; }
.sort-box select { border: 0; background: transparent; font-weight: 700; outline: none; cursor: pointer; }
.filter-toggle { border: 0; background: transparent; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.filter-panel { display: none; border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; margin-bottom: 20px; }
.filter-panel.open { display: block; }
.filter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.filter-group h4 { font-size: 13px; margin-bottom: 8px; }
.filter-group label { display: flex; align-items: center; gap: 6px; font-size: 12px; padding: 2px 0; cursor: pointer; }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 36px 0 10px; }
.pagination a, .pagination span { min-width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; }
.pagination .current { background: #111; color: #fff; border-color: #111; }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }

/* Product page */
.product-layout { display: grid; grid-template-columns: 52% 48%; gap: 32px; padding-top: 24px; }
.gallery { display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.thumbs { display: flex; flex-direction: column; gap: 8px; max-height: 560px; overflow-y: auto; }
.thumbs img { width: 68px; height: 68px; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; padding: 2px; background: #fff; }
.thumbs img.active { border: 2px solid #111; }
.main-photo { background: var(--cream); border-radius: 8px; overflow: hidden; aspect-ratio: 1 / 1.02; }
.main-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: 25px; line-height: 1.28; font-weight: 600; }
.ship-badge { display: inline-flex; align-items: center; gap: 6px; background: #f5f1e9; border: 1px solid #ede5d6; color: #222; padding: 4px 9px; border-radius: 4px; font-size: 12px; margin-top: 12px; }
.product-price-row { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.product-price-row .price { font-size: 23px; }
.review-link { text-decoration: underline; color: #333; font-size: 12px; cursor: pointer; }
.custom-box { background: #f7f7f7; border-radius: 8px; padding: 18px; margin-top: 18px; }
.opt { margin-bottom: 16px; }
.opt:last-child { margin-bottom: 0; }
.opt-label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 13px; }
.opt-choices { display: flex; gap: 8px; flex-wrap: wrap; }
.choice-btn { border: 1px solid #bbb; background: #fff; border-radius: 6px; padding: 8px 12px; font-size: 12px; }
.choice-btn.active { border-color: #111; box-shadow: inset 0 0 0 1px #111; font-weight: 700; }
.swatch { width: 30px; height: 30px; border-radius: 4px; border: 2px solid #fff; outline: 1px solid #d5d5d5; cursor: pointer; }
.swatch.active { outline: 2px solid #111; }
.opt input[type=text], .opt textarea, .opt select { width: 100%; border: 1px solid #dcdcdc; border-radius: 4px; padding: 9px 10px; background: #fff; outline: none; }
.opt input[type=text]:focus, .opt textarea:focus { border-color: #111; }
.buy-row { display: flex; gap: 10px; margin-top: 16px; }
.qty { width: 68px; border: 1px solid #d5d5d5; border-radius: 4px; display: flex; align-items: center; justify-content: space-between; }
.qty button { border: 0; background: transparent; width: 26px; height: 42px; font-size: 17px; }
.qty input { width: 30px; border: 0; text-align: center; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row .btn-dark { flex: 1; }
.trust-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.trust { text-align: center; font-size: 11px; color: #444; }
.trust div:first-child { font-size: 24px; margin-bottom: 2px; }
.accordion { margin-top: 16px; border-radius: 6px; overflow: hidden; }
.acc-head { background: #f7f7f7; padding: 13px 16px; display: flex; justify-content: space-between; font-weight: 700; cursor: pointer; }
.acc-body { display: none; padding: 16px; border: 1px solid var(--line); border-top: 0; font-size: 13px; color: #555; }
.accordion.open .acc-body { display: block; }

/* Reviews */
.review-section { padding: 50px 0; }
.review-title { text-align: center; font-size: 25px; margin-bottom: 20px; }
.review-summary { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; }
.review-summary .big { font-size: 28px; font-weight: 800; }
.review-toolbar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding: 18px 0; }
.review-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.review-item .rv-head { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.verified { color: #178a17; font-size: 11px; font-weight: 500; }
.review-item p { margin: 8px 0 0; color: #444; }

/* Cart / checkout */
.page-head { padding: 34px 0 10px; }
.page-head h1 { font-size: 30px; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; margin-top: 20px; }
.cart-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 90px; height: 90px; object-fit: cover; border-radius: 6px; background: var(--cream); }
.cart-item h3 { font-size: 14px; font-weight: 600; }
.cart-item .opts { font-size: 12px; color: #666; margin-top: 4px; }
.qty-mini { display: inline-flex; border: 1px solid #ddd; border-radius: 4px; margin-top: 8px; }
.qty-mini button { border: 0; background: transparent; width: 24px; height: 24px; }
.qty-mini span { min-width: 24px; text-align: center; line-height: 24px; }
.link-btn { border: 0; background: transparent; color: #666; text-decoration: underline; font-size: 12px; }
.summary-box { background: var(--cream-2); border: 1px solid var(--line); border-radius: 8px; padding: 20px; position: sticky; top: 16px; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 18px; font-weight: 800; }
.coupon-row { display: flex; gap: 8px; margin: 12px 0; }
.coupon-row input { flex: 1; border: 1px solid #ddd; border-radius: 4px; padding: 8px 10px; min-width: 0; }
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 36px; margin-top: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.form-section { margin-bottom: 28px; }
.form-section h2 { font-size: 19px; margin-bottom: 14px; }
.checkbox-line { display: flex; align-items: center; gap: 8px; margin: 12px 0; }
.payment-option { border: 1px solid var(--line); border-radius: 6px; padding: 12px; margin-bottom: 8px; }
.payment-option label { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.pay-extra { padding: 12px 0 0 24px; }
.order-box { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.order-box h2 { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 16px; }
.order-box .inner { padding: 16px; }
.order-line { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f1efec; }
.order-line img { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; }
.order-line div { flex: 1; font-size: 12px; }

/* Account */
.auth-wrap { max-width: 430px; margin: 40px auto; border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tab { flex: 1; padding: 10px; text-align: center; font-weight: 700; cursor: pointer; border-bottom: 2px solid transparent; }
.tab.active { border-bottom-color: #111; }
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; margin-top: 26px; }
.account-nav { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; align-self: start; }
.account-nav a { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.account-nav a.active, .account-nav a:hover { background: #111; color: #fff; }
.status-pill { display: inline-block; padding: 2px 9px; border-radius: 12px; background: #eef4ff; color: #2d5b9e; font-size: 11px; font-weight: 700; }
.status-pill.shipped { background: #eaf7ee; color: #177a35; }
.status-pill.delivered { background: #eee; color: #444; }

/* Admin */
.admin-body { background: #f5f6f8; }
.admin-wrap { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-side { background: #17191d; color: #ddd; padding: 20px 0; }
.admin-side .brand { font-size: 20px; font-weight: 800; padding: 0 20px 20px; color: #fff; }
.admin-side a { display: block; padding: 11px 20px; color: #c8ccd2; font-size: 13px; }
.admin-side a:hover, .admin-side a.active { background: #292c32; color: #fff; }
.admin-main { padding: 24px 30px; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.admin-top h1 { font-size: 22px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.stat-card { background: #fff; border-radius: 10px; padding: 18px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.stat-card .label { color: #777; font-size: 12px; }
.stat-card .value { font-size: 26px; font-weight: 800; margin-top: 6px; }
.panel { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,.04); margin-bottom: 20px; }
.panel h2 { font-size: 17px; margin-bottom: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid #ececec; vertical-align: middle; }
th { font-size: 11px; text-transform: uppercase; color: #777; letter-spacing: .4px; background: #fafafa; }
td img { width: 42px; height: 42px; object-fit: cover; border-radius: 4px; }
.admin-actions { display: flex; gap: 6px; }
.mini-btn { border: 1px solid #d5d5d5; background: #fff; border-radius: 4px; padding: 3px 8px; font-size: 11px; }
.mini-btn.danger { color: #c62828; border-color: #efc4c4; }
.drawer { position: fixed; inset: 0; background: rgba(0,0,0,.4); display: none; z-index: 300; }
.drawer.open { display: flex; justify-content: flex-end; }
.drawer-panel { width: min(620px, 100%); background: #fff; height: 100%; overflow-y: auto; padding: 24px; }
.drawer-panel h2 { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-row .full { grid-column: 1 / -1; }
.form-row label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.form-row input, .form-row select, .form-row textarea { width: 100%; border: 1px solid #d8d8d8; border-radius: 5px; padding: 8px 9px; }
.form-row textarea { min-height: 90px; font-family: inherit; }
.code-area { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; min-height: 160px; }
.admin-login { max-width: 380px; margin: 100px auto; background: #fff; padding: 30px; border-radius: 10px; box-shadow: var(--shadow); }
.admin-login h1 { margin-bottom: 20px; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); margin-top: 30px; }
.footer-menu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 44px 0 32px; }
.footer-menu h3 { font-size: 13px; margin-bottom: 14px; }
.footer-menu a { display: block; color: #666; font-size: 12px; padding: 3px 0; }
.footer-menu a:hover { color: #111; text-decoration: underline; }
.footer-contact p { font-size: 12px; color: #666; margin-bottom: 6px; }
.socials { display: flex; gap: 12px; margin-top: 12px; }
.socials a { width: 30px; height: 30px; border: 1px solid #ddd; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.newsletter { display: flex; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; margin-top: 10px; }
.newsletter input { flex: 1; border: 0; padding: 8px 10px; outline: none; min-width: 0; }
.newsletter button { border: 0; background: #111; color: #fff; padding: 0 14px; font-size: 12px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 16px 0; text-align: center; font-size: 11px; color: #888; }

/* Toast */
.toast { position: fixed; right: 24px; bottom: 24px; background: #17191d; color: #fff; padding: 12px 18px; border-radius: 6px; box-shadow: var(--shadow); z-index: 500; opacity: 0; transform: translateY(10px); transition: .25s; pointer-events: none; max-width: 360px; }
.toast.show { opacity: 1; transform: none; }
.toast.error { background: #b42318; }

/* Responsive */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .filter-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .mega { width: 720px; }
}
@media (max-width: 900px) {
  .desktop-only { display: none !important; }
  .mobile-menu-btn { display: block; }
  .header-main { height: 64px; }
  .search-wrap { max-width: none; }
  .gift-btn span { display: none; }
  .main-nav .nav-list { overflow-x: auto; }
  .product-layout { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; overflow-x: auto; max-height: none; }
  .cart-layout, .checkout-grid { grid-template-columns: 1fr; }
  .summary-box { position: static; }
  .footer-menu { grid-template-columns: repeat(2, 1fr); }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { display: flex; overflow-x: auto; }
  .account-nav a { white-space: nowrap; border-bottom: 0; border-right: 1px solid var(--line); }
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-side { display: flex; overflow-x: auto; padding: 8px; }
  .admin-side .brand { display: none; }
  .admin-side a { white-space: nowrap; padding: 8px 12px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 24px); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
  .hero-inner { grid-template-columns: 1fr; padding: 28px 0; }
  .hero-copy h1 { font-size: 30px; }
  .hero-art { display: none; }
  .filter-grid { grid-template-columns: repeat(2, 1fr); }
  .gift-form-row { grid-template-columns: 1fr; }
  .theme-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card + .offer-card { border-left: 0; border-top: 1px solid rgba(0,0,0,.12); }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .footer-menu { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item img { width: 70px; height: 70px; }
  .cart-item > div:last-child { grid-column: 2; }
  .promo-inner { font-size: 11px; gap: 8px; }
}
