/* Platinum Lab storefront */
:root {
  --gold: #fbb71c;
  --gold-2: #ffcf4a;
  --gold-dark: #d99a00;
  --ink: #111111;
  --ink-2: #222222;
  --text: #555;
  --muted: #8a8a8a;
  --line: #e9e9e9;
  --soft: #f4f4f4;
  --bg: #ffffff;
  --sale: #e3342f;
  --ok: #1f9d55;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .18);
  --ease: cubic-bezier(.22, .9, .3, 1);
  --head: 'Rajdhani', 'Rubik', system-ui, sans-serif;
  --body: 'Rajdhani', 'Rubik', system-ui, sans-serif;
  --container: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dark); }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink-2); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
input, select, textarea { font: inherit; font-size: 15px; color: var(--ink-2); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 1000px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.hp { position: absolute; left: -9999px; }
.ic { flex: none; }
.mobile-only { display: none !important; }
@media (max-width: 991px) { .mobile-only { display: inline-flex !important; } .desktop-only { display: none !important; } }

/* Buttons ------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 24px; height: 46px; border-radius: var(--radius); font-family: var(--head); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; transition: background .25s, color .25s, transform .2s, box-shadow .25s; position: relative; overflow: hidden; white-space: nowrap; }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--ink); color: var(--gold); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--gold); color: var(--ink); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-block { width: 100%; }
.btn-lg { height: 54px; font-size: 15px; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 12px; }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading::before { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--soft); }
.btn-square { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; transition: all .25s; flex: none; }
.btn-square:hover, .btn-square.is-active { border-color: var(--gold); background: var(--gold); color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Page progress ------------------------------------------------------ */
.page-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); z-index: 2000; transition: width .3s ease, opacity .4s; box-shadow: 0 0 10px var(--gold); }

/* Top bar ------------------------------------------------------------ */
.topbar { background: #f1f1f1; font-size: 13px; color: #666; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 34px; gap: 20px; }
.topbar-marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: inline-flex; gap: 80px; white-space: nowrap; animation: marquee 28s linear infinite; }
.marquee-track span::before { content: '★'; color: var(--gold); margin-right: 10px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-33.333% - 26px)); } }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; }

/* Header ------------------------------------------------------------- */
.site-header { position: relative; z-index: 100; background: #fff; }
.header-main-inner { display: flex; align-items: center; gap: 30px; height: 92px; }
.logo img { width: 210px; height: auto; transition: transform .4s var(--ease); }
.logo:hover img { transform: scale(1.03); }
.header-search { flex: 1; max-width: 560px; margin: 0 auto; display: flex; align-items: stretch; height: 46px; border: 2px solid var(--line); border-radius: var(--radius); position: relative; transition: border-color .25s, box-shadow .25s; }
.header-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(251, 183, 28, .15); }
.search-cat { position: relative; display: flex; align-items: center; border-right: 1px solid var(--line); }
.search-cat select { appearance: none; border: 0; background: transparent; height: 100%; padding: 0 30px 0 14px; font-size: 14px; max-width: 160px; cursor: pointer; outline: none; }
.search-cat .ic { position: absolute; right: 10px; pointer-events: none; }
.header-search input { flex: 1; border: 0; outline: none; padding: 0 14px; min-width: 0; background: transparent; }
.header-search button[type=submit] { width: 50px; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; transition: background .25s; }
.header-search button[type=submit]:hover { background: var(--ink); color: var(--gold); }
.search-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 50; animation: dropIn .25s var(--ease); }
.search-suggest a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--soft); }
.search-suggest a:hover, .search-suggest a.is-active { background: #fffaf0; }
.search-suggest img { width: 44px; height: 44px; object-fit: contain; background: var(--soft); border-radius: 3px; }
.search-suggest .s-name { flex: 1; color: var(--ink-2); font-weight: 600; }
.search-suggest .s-price { font-weight: 700; color: var(--ink); }
.search-suggest .s-all { justify-content: center; font-weight: 700; color: var(--gold-dark); }
.header-actions { display: flex; align-items: center; gap: 26px; }
.header-action { display: flex; align-items: center; gap: 10px; text-align: left; }
.ha-icon { position: relative; display: inline-flex; color: var(--ink-2); transition: transform .3s var(--ease); }
.header-action:hover .ha-icon { transform: translateY(-2px); color: var(--gold-dark); }
.ha-text small { display: block; font-size: 12px; color: var(--muted); line-height: 1; }
.ha-text b { color: var(--ink-2); font-size: 14px; }
.count { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; font-style: normal; line-height: 1; }
.count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.6); } 100% { transform: scale(1); } }

/* Main nav (black bar, sticky) */
.main-nav { background: var(--ink); color: #fff; }
.main-nav-inner { display: flex; align-items: center; height: 50px; gap: 24px; }
.nav-logo-mini { display: none; }
.nav-list { list-style: none; display: flex; margin: 0; padding: 0; gap: 4px; height: 100%; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { display: flex; align-items: center; gap: 4px; height: 100%; padding: 0 14px; font-family: var(--head); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; color: #fff; position: relative; }
.nav-list > li > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 10px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-list > li > a:hover, .nav-list > li > a.active { color: var(--gold); }
.nav-list > li > a:hover::after, .nav-list > li > a.active::after { transform: scaleX(1); }
.nav-list .ic { transition: transform .3s; }
.nav-list li:hover > a .ic { transform: rotate(180deg); }
.drop, .mega { position: absolute; top: 100%; left: 0; background: #fff; color: var(--text); box-shadow: var(--shadow-lg); border-top: 3px solid var(--gold); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease); z-index: 60; }
.has-drop:hover .drop, .has-mega:hover .mega, .has-drop:focus-within .drop, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.drop { min-width: 220px; padding: 10px 0; }
.drop a { display: block; padding: 8px 20px; font-size: 15px; transition: padding .25s, color .2s; }
.drop a:hover { padding-left: 26px; color: var(--gold-dark); }
.mega { width: min(860px, 90vw); padding: 26px 30px; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 28px; }
.mega-col a { display: block; padding: 3px 0; font-size: 15px; }
.mega-col a:hover { color: var(--gold-dark); transform: translateX(3px); }
.mega-col .mega-title { font-weight: 700; color: var(--ink-2); text-transform: uppercase; font-size: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.hotline { margin-left: auto; font-size: 14px; color: #bbb; white-space: nowrap; }
.hotline a { color: #fff; font-weight: 700; }
.nav-sticky-actions { display: none; margin-left: auto; gap: 18px; align-items: center; }
.nav-sticky-actions > * { position: relative; display: inline-flex; color: #fff; }
.nav-sticky-actions > *:hover { color: var(--gold); }
.site-header.is-stuck .main-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 110; animation: slideDown .45s var(--ease); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.site-header.is-stuck .nav-logo-mini { display: block; }
.site-header.is-stuck .hotline { display: none; }
.site-header.is-stuck .nav-sticky-actions { display: flex; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mobile-search { display: none; }

/* Breadcrumbs */
.breadcrumbs { background: var(--soft); font-size: 13px; padding: 10px 0; color: var(--muted); }
.breadcrumbs .sep { margin: 0 8px; }
.breadcrumbs span:last-child { color: var(--ink-2); }

/* Reveal-on-scroll animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .marquee-track, .brand-track { animation: none; } * { scroll-behavior: auto !important; } }
.no-js .reveal { opacity: 1; transform: none; }

/* Hero slider -------------------------------------------------------- */
.hero { padding: 20px 0 0; }
.hero-slider { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1168 / 420; background: var(--ink); }
.hero-slider .slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide .banner { height: 100%; }
.slide.is-active .banner img:not(.ba-logo) { animation: kenburns 9s ease-out forwards; }
.slide.is-active .banner-copy > * { animation: copyIn .9s var(--ease) both; }
.slide.is-active .banner-copy > *:nth-child(2) { animation-delay: .15s; }
.slide.is-active .banner-copy > *:nth-child(3) { animation-delay: .3s; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes copyIn { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.slider-arrow { position: absolute; top: 50%; z-index: 5; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); display: flex; align-items: center; justify-content: center; opacity: 0; transition: all .35s var(--ease); }
.slider-arrow.prev { left: 10px; transform: translateX(-20px); }
.slider-arrow.next { right: 10px; transform: translateX(20px); }
.hero-slider:hover .slider-arrow { opacity: 1; transform: none; }
.slider-arrow:hover { background: var(--gold); }
.slider-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.slider-dots button { width: 10px; height: 10px; border-radius: 6px; background: rgba(255,255,255,.5); transition: all .4s var(--ease); }
.slider-dots button.is-active { width: 32px; background: var(--gold); }

/* Banners */
.banner { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: #fff; isolation: isolate; }
.banner > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.banner:hover > img { transform: scale(1.05); }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.25) 50%, transparent 60%); transform: translateX(-100%); transition: transform 1s var(--ease); pointer-events: none; }
.banner:hover::after { transform: translateX(100%); }
.banner.no-img { background: radial-gradient(120% 140% at 85% 50%, #3a2c06 0%, #151109 45%, #0b0b0b 100%); }
.banner-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.banner-art::before { content: ''; position: absolute; inset: -50%; background: repeating-linear-gradient(115deg, transparent 0 40px, rgba(251,183,28,.05) 40px 42px); animation: drift 30s linear infinite; }
@keyframes drift { to { transform: translateX(84px); } }
.ba-logo { position: absolute; right: 7%; top: 50%; width: 30%; max-width: 300px; transform: translateY(-50%); filter: drop-shadow(0 20px 40px rgba(251,183,28,.35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(-50%) rotate(-3deg); } 50% { transform: translateY(-56%) rotate(3deg); } }
.ba-ring { position: absolute; right: 10%; top: 50%; width: 46%; aspect-ratio: 1; border: 2px solid rgba(251,183,28,.25); border-radius: 50%; transform: translate(10%, -50%); animation: pulseRing 5s ease-out infinite; }
.ba-ring.r2 { animation-delay: 2.5s; }
@keyframes pulseRing { 0% { transform: translate(10%, -50%) scale(.6); opacity: .8; } 100% { transform: translate(10%, -50%) scale(1.3); opacity: 0; } }
.banner-copy { position: absolute; left: 7%; top: 50%; transform: translateY(-50%); max-width: 55%; z-index: 2; }
.banner-sub { display: block; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: clamp(12px, 1.4vw, 17px); margin-bottom: 6px; }
.banner-title { color: #fff; font-size: clamp(28px, 5.2vw, 72px); text-transform: uppercase; line-height: .95; margin: 0 0 18px; font-style: italic; letter-spacing: -.01em; text-shadow: 0 6px 30px rgba(0,0,0,.4); }
.banner-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: var(--ink); padding: 11px 22px; font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .05em; border-radius: var(--radius); transition: background .3s, color .3s, gap .3s; }
.banner:hover .banner-btn { background: #fff; gap: 12px; }
.promo-row { padding: 20px 0 10px; }
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.banner-promo { aspect-ratio: 380 / 230; }
.banner-promo .banner-title { font-size: clamp(22px, 2.6vw, 38px); margin-bottom: 12px; }
.banner-promo .banner-copy { max-width: 62%; left: 8%; }
.banner-promo .banner-sub { font-size: 13px; letter-spacing: .04em; text-transform: none; color: #ddd; order: 2; }
.banner-promo .banner-copy { display: flex; flex-direction: column; align-items: flex-start; }
.banner-promo .banner-title { order: 1; color: var(--gold); }
.banner-promo .banner-btn { order: 3; padding: 7px 14px; font-size: 12px; margin-top: 10px; }
.banner-promo .ba-logo { width: 34%; right: 6%; }
.banner-wide { aspect-ratio: 1000 / 300; margin: 10px auto; max-width: 1000px; }
.wide-banner { padding: 20px 0; }

/* Section titles (left gold bar on grey band, like reference) */
.section-title { display: flex; align-items: center; justify-content: space-between; background: var(--soft); border-left: 4px solid var(--gold); padding: 0 18px; height: 50px; margin: 0 0 24px; }
.section-title h2 { margin: 0; font-size: 20px; font-weight: 600; }
.view-all { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--ink-2); }
.view-all:hover { gap: 8px; }
.home-section { padding: 30px 0 20px; }
.load-more-wrap { margin-top: 30px; }
.btn-load { height: 40px; font-size: 12px; padding: 0 30px; }

/* Category scroller */
.cat-strip { padding: 30px 0 10px; }
.cat-scroller { display: flex; gap: 18px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; cursor: grab; }
.cat-scroller.dragging { cursor: grabbing; scroll-snap-type: none; }
.cat-chip { flex: 0 0 140px; scroll-snap-align: start; text-align: center; }
.cat-chip-img { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--soft); border: 2px solid transparent; transition: border-color .3s, transform .4s var(--ease), box-shadow .3s; }
.cat-chip-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-chip-img img.ph { object-fit: contain; padding: 26%; opacity: .8; }
.cat-chip:hover .cat-chip-img { border-color: var(--gold); transform: translateY(-6px); box-shadow: 0 14px 30px rgba(251,183,28,.25); }
.cat-chip-name { display: block; margin-top: 10px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; font-size: 14px; }

/* Product grid / cards ---------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { border: 1px solid var(--line); background: #fff; padding: 16px; display: flex; flex-direction: column; transition: box-shadow .4s var(--ease), border-color .3s, transform .4s var(--ease), opacity .8s var(--ease); }
.product-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-4px); }
.product-card.reveal.is-visible:hover { transform: translateY(-4px); }
.pc-media { position: relative; overflow: hidden; }
.pc-img { display: block; aspect-ratio: 1; position: relative; background: #fff; }
.pc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease), opacity .5s; }
.pc-img .alt { opacity: 0; }
.product-card:hover .pc-img img { transform: scale(1.06); }
.product-card:hover .pc-img.has-alt img:first-child { opacity: 0; }
.product-card:hover .pc-img.has-alt .alt { opacity: 1; }
.pc-badges { position: absolute; top: 0; left: 0; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.badge { display: inline-block; padding: 3px 8px; font-size: 12px; font-weight: 700; border-radius: 2px; line-height: 1.3; }
.badge-sale { background: var(--gold); color: var(--ink); }
.badge-new { background: var(--ink); color: #fff; }
.badge-out { background: #999; color: #fff; }
.pc-actions { position: absolute; top: 0; right: 0; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.pc-act { width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.12); display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateX(16px); transition: all .35s var(--ease); }
.pc-act:nth-child(2) { transition-delay: .06s; }
.product-card:hover .pc-act, .pc-act.is-active { opacity: 1; transform: none; }
.pc-act:hover { background: var(--gold); }
.pc-act.is-active { background: var(--gold); color: var(--ink); }
.pc-act.is-active .ic path { fill: currentColor; }
.pc-add { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 40px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; transform: translateY(100%); transition: transform .4s var(--ease), background .25s, color .25s; }
.product-card:hover .pc-add { transform: none; }
.pc-add:hover { background: var(--gold); color: var(--ink); }
.pc-add.is-added { background: var(--ok); color: #fff; }
.pc-body { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; flex: 1; display: flex; flex-direction: column; }
.pc-brand { font-size: 12px; text-transform: uppercase; color: var(--muted); letter-spacing: .06em; }
.pc-row { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.pc-title { font-size: 15px; font-weight: 500; margin: 0; color: var(--ink-2); line-height: 1.35; font-family: var(--body); }
.pc-title a:hover { color: var(--gold-dark); }
.pc-price { text-align: right; white-space: nowrap; line-height: 1.2; }
.pc-price b { color: var(--ink); font-size: 16px; }
.pc-price del { display: block; color: var(--muted); font-size: 13px; }
.pc-rating { margin-top: 6px; display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.stars { display: inline-flex; gap: 1px; }
.star { fill: #ddd; }
.star.full { fill: var(--gold); }
.star.half { fill: url(#half); fill: var(--gold); opacity: .55; }
/* list view */
.product-grid.is-list { grid-template-columns: 1fr !important; }
.product-grid.is-list .product-card { flex-direction: row; gap: 24px; align-items: center; }
.product-grid.is-list .pc-media { width: 200px; flex: none; }
.product-grid.is-list .pc-body { border: 0; margin: 0; padding: 0; }
.product-grid.is-list .pc-title { font-size: 19px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--line); }
.empty-state .ic { margin: 0 auto 10px; color: #ccc; }
.empty-state.small { padding: 34px 20px; }
.empty-state .btn { margin-top: 10px; }

/* Fly-to-cart */
.fly-img { position: fixed; z-index: 3000; width: 80px; height: 80px; object-fit: contain; border-radius: 50%; background: #fff; box-shadow: var(--shadow-lg); pointer-events: none; transition: transform .8s cubic-bezier(.5, -.3, .7, .4), opacity .8s; }

/* Brand marquee */
.brand-strip { padding: 30px 0; }
.brand-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.brand-track { display: flex; gap: 50px; width: max-content; animation: marquee2 40s linear infinite; }
.brand-marquee:hover .brand-track { animation-play-state: paused; }
@keyframes marquee2 { to { transform: translateX(-50%); } }
.brand-logo { height: 70px; min-width: 140px; display: flex; align-items: center; justify-content: center; filter: grayscale(1); opacity: .7; transition: all .3s; }
.brand-logo:hover { filter: none; opacity: 1; }
.brand-logo img { max-height: 60px; width: auto; }
.brand-logo span { font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--ink-2); }

/* Features strip */
.features-strip { border-top: 1px solid var(--line); margin-top: 50px; padding: 30px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { display: flex; align-items: center; gap: 14px; }
.feature-icon { color: var(--gold); transition: transform .5s var(--ease); }
.feature:hover .feature-icon { transform: rotateY(180deg); }
.feature b { display: block; color: var(--ink-2); font-size: 17px; }
.feature small { color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer { background: #151515; color: #aaa; font-size: 15px; }
.footer-newsletter { background: var(--gold); color: var(--ink); padding: 28px 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.newsletter-inner h3 { margin: 0; font-size: 24px; text-transform: uppercase; }
.newsletter-inner p { margin: 0; }
.newsletter-form { display: flex; flex: 0 1 480px; }
.newsletter-form input { flex: 1; height: 48px; border: 0; padding: 0 16px; border-radius: var(--radius) 0 0 var(--radius); outline: none; min-width: 0; }
.newsletter-form .btn { border-radius: 0 var(--radius) var(--radius) 0; height: 48px; background: var(--ink); color: #fff; }
.newsletter-form .btn:hover { background: #333; color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 50px 16px 40px; }
.footer-col h4 { color: #fff; text-transform: uppercase; font-size: 17px; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--gold); }
.footer-col h4.mt { margin-top: 24px; }
.footer-col > a { display: block; padding: 4px 0; transition: color .2s, transform .25s; }
.footer-col > a:hover { color: var(--gold); transform: translateX(4px); }
.footer-about img { width: 190px; margin-bottom: 16px; }
.contact-list { list-style: none; padding: 0; margin: 14px 0 0; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; }
.contact-list .ic { color: var(--gold); margin-top: 3px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: #262626; display: flex; align-items: center; justify-content: center; color: #ddd; transition: all .3s var(--ease); }
.socials a:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid #262626; padding: 16px 0; font-size: 14px; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.pay-icons { display: flex; gap: 6px; }
.pay-icons i { font-style: normal; font-weight: 700; font-size: 11px; padding: 4px 8px; border-radius: 3px; background: #262626; color: #ccc; letter-spacing: .05em; }

/* Off-canvas / drawer / modal --------------------------------------- */
.backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); opacity: 0; visibility: hidden; transition: all .35s; z-index: 900; backdrop-filter: blur(2px); }
.backdrop.is-open { opacity: 1; visibility: visible; }
.offcanvas { position: fixed; top: 0; bottom: 0; width: min(400px, 90vw); background: #fff; z-index: 1000; display: flex; flex-direction: column; transition: transform .45s var(--ease); box-shadow: var(--shadow-lg); }
.offcanvas-left { left: 0; transform: translateX(-102%); }
.offcanvas-right { right: 0; transform: translateX(102%); }
.offcanvas.is-open { transform: none; }
.offcanvas-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.offcanvas-head h3 { margin: 0; font-size: 20px; }
.offcanvas-head img { height: 34px; width: auto; }
.mobile-nav { overflow-y: auto; padding: 10px 0; }
.mobile-nav a, .mobile-nav summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; font-weight: 700; text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid var(--soft); cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary .ic { transform: rotate(180deg); }
.mobile-nav details a { font-weight: 500; text-transform: none; padding-left: 34px; background: #fafafa; }
.mobile-nav details a.sub { padding-left: 50px; font-size: 14px; }
.cart-drawer .drawer-items { flex: 1; overflow-y: auto; padding: 10px 20px; }
.drawer-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--soft); animation: itemIn .4s var(--ease) both; }
@keyframes itemIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
.drawer-item img { width: 70px; height: 70px; object-fit: contain; border: 1px solid var(--line); flex: none; }
.drawer-item .di-info { flex: 1; min-width: 0; }
.drawer-item .di-name { font-weight: 600; color: var(--ink-2); display: block; line-height: 1.3; margin-bottom: 4px; }
.drawer-item .di-price { font-weight: 700; color: var(--ink); }
.drawer-item .qty { height: 32px; margin-top: 6px; }
.drawer-item .qty button { width: 28px; }
.drawer-item .qty input { width: 34px; }
.di-remove { color: var(--muted); align-self: flex-start; }
.di-remove:hover { color: var(--sale); }
.drawer-empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.drawer-empty .ic { margin: 0 auto 10px; color: #ccc; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-subtotal { display: flex; justify-content: space-between; font-size: 18px; color: var(--ink-2); margin-bottom: 4px; }
.free-ship-meter { padding: 14px 20px 6px; font-size: 14px; }
.fs-text b { color: var(--ink); }
.fs-bar { height: 6px; background: var(--soft); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.fs-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); transition: width .8s var(--ease); background-size: 30px 30px; background-image: linear-gradient(45deg, rgba(255,255,255,.25) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.25) 50%, rgba(255,255,255,.25) 75%, transparent 75%), linear-gradient(90deg, var(--gold), var(--gold-dark)); animation: stripes 1s linear infinite; }
@keyframes stripes { to { background-position: 30px 0, 0 0; } }
.modal { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 16px; visibility: hidden; opacity: 0; transition: all .3s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal-box { position: relative; background: #fff; width: min(900px, 100%); max-height: 90vh; overflow: auto; border-radius: var(--radius); transform: scale(.92) translateY(20px); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); }
.modal.is-open .modal-box { transform: none; }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; background: #fff; }
.qv { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 30px; }
.qv-img img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.qv h2 { font-size: 26px; }
.qv-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; font-weight: 700; color: var(--gold-dark); }

/* Back to top */
.back-to-top { position: fixed; right: 20px; bottom: 24px; width: 44px; height: 44px; background: var(--ink); color: #fff; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; z-index: 80; opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .4s var(--ease); }
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--gold); color: var(--ink); }

/* Toasts */
.toasts { position: fixed; top: 20px; right: 20px; z-index: 3000; display: grid; gap: 10px; }
.toast { display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 260px; max-width: 360px; border-left: 4px solid var(--gold); animation: toastIn .45s var(--ease); }
.toast img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 3px; }
.toast a { color: var(--gold); font-weight: 700; margin-left: auto; white-space: nowrap; }
.toast.error { border-left-color: var(--sale); }
.toast.out { animation: toastOut .35s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }

/* Shop layout -------------------------------------------------------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; padding-top: 30px; padding-bottom: 20px; }
.shop-head h1 { font-size: 32px; margin-bottom: 10px; }
.shop-intro { margin-bottom: 16px; }
.widget { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.widget-title { font-size: 17px; margin-bottom: 12px; }
.widget-search { display: flex; border: 1px solid var(--line); height: 40px; }
.widget-search input { flex: 1; border: 0; padding: 0 12px; outline: none; min-width: 0; }
.widget-search button { width: 40px; display: flex; align-items: center; justify-content: center; }
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list a { display: block; padding: 5px 0; transition: padding .25s, color .2s; }
.cat-list a:hover, .cat-list a.active { color: var(--gold-dark); padding-left: 6px; font-weight: 700; }
.cat-list ul { list-style: none; padding-left: 14px; margin: 0; font-size: 15px; }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs input { width: 100%; height: 40px; border: 1px solid var(--line); padding: 0 10px; outline: none; }
.check { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 3px 0; }
.check input { accent-color: var(--gold-dark); width: 16px; height: 16px; }
.filters-form .btn { margin-top: 4px; }
.filters-form .btn-ghost { margin-top: 8px; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0 20px; flex-wrap: wrap; }
.toolbar-right { display: flex; align-items: center; gap: 12px; }
.view-toggle { display: flex; border: 1px solid var(--line); }
.view-toggle button { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.view-toggle button.is-active { background: var(--ink); color: var(--gold); }
.sort-form select { height: 40px; border: 1px solid var(--line); padding: 0 12px; background: #fff; outline: none; cursor: pointer; }
.pagination { display: flex; gap: 6px; justify-content: center; margin: 40px 0 10px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); font-weight: 700; padding: 0 8px; transition: all .25s; }
.pagination a:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.sidebar-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; }

.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.tile { border: 1px solid var(--line); text-align: center; padding: 20px; transition: all .35s var(--ease); }
.tile:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.tile-img { display: block; aspect-ratio: 1; margin-bottom: 12px; overflow: hidden; }
.tile-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.tile:hover .tile-img img { transform: scale(1.08); }
.tile-img img.ph { padding: 20%; opacity: .7; }
.tile-name { font-weight: 700; text-transform: uppercase; color: var(--ink-2); }

/* Product page ------------------------------------------------------- */
.product-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; padding-top: 30px; }
.aside-features { border: 1px solid var(--line); }
.af { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.af:last-child { border: 0; }
.af .ic { color: var(--gold); }
.af b { display: block; color: var(--ink-2); font-size: 16px; line-height: 1.1; }
.af small { color: var(--muted); font-size: 13px; }
.aside-popular { margin-top: 30px; }
.aside-popular .widget-title { background: var(--soft); border-left: 4px solid var(--gold); padding: 12px 14px; }
.mini-product { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--soft); align-items: center; }
.mini-product img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--line); flex: none; transition: transform .3s; }
.mini-product:hover img { transform: scale(1.05); }
.mini-product b { display: block; font-weight: 500; color: var(--ink-2); font-size: 14px; line-height: 1.3; }
.mini-product em { font-style: normal; font-weight: 700; color: var(--ink); font-size: 14px; }
.mini-product del { color: var(--muted); font-weight: 400; }
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.gallery-main { position: relative; border: 1px solid var(--line); aspect-ratio: 1; overflow: hidden; cursor: zoom-in; background: #fff; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s ease-out, opacity .3s; }
.gallery-main.is-zooming img { transform: scale(2); }
.gallery-main .badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.gallery-expand { position: absolute; bottom: 12px; right: 12px; width: 38px; height: 38px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(0,0,0,.15); z-index: 2; transition: all .25s; }
.gallery-expand:hover { background: var(--gold); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs button { border: 2px solid var(--line); aspect-ratio: 1; transition: border-color .25s; }
.gallery-thumbs button.is-active, .gallery-thumbs button:hover { border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.summary-brand { text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-size: 13px; font-weight: 700; }
.product-title { font-size: 30px; margin: 4px 0 10px; }
.summary-rating { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.share { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 18px; }
.share a { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; font-size: 12px; color: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.share a:hover { color: #fff; transform: translateY(-2px); opacity: .9; }
.share-fb { background: #3b5998; } .share-wa { background: #25a35a; } .share-tg { background: #2b9fd9; }
.summary-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.summary-price b { font-size: 30px; color: var(--ink); }
.summary-price del { color: var(--muted); font-size: 18px; }
.summary-price .save { background: #fff3d6; color: var(--gold-dark); font-weight: 700; padding: 2px 10px; border-radius: 20px; font-size: 13px; }
.summary-short { margin-bottom: 16px; }
.stock-line { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-bottom: 16px; font-size: 15px; }
.stock-line.in { color: var(--ok); }
.stock-line.out { color: var(--sale); }
.buy-row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.btn-add { flex: 1; }
.btn-buy-now { margin-bottom: 20px; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line); height: 46px; border-radius: var(--radius); }
.qty button { width: 38px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.qty button:hover { background: var(--soft); }
.qty input { width: 46px; border: 0; text-align: center; outline: none; -moz-appearance: textfield; font-weight: 700; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.product-meta { border-top: 1px solid var(--line); padding-top: 14px; font-size: 14px; display: grid; gap: 4px; }
.product-meta span { color: var(--ink-2); font-weight: 700; }
.product-meta a:hover { color: var(--gold-dark); }
.product-tabs { margin-top: 40px; }
.tab-nav { display: flex; justify-content: center; gap: 40px; border-bottom: 1px solid var(--line); }
.tab-nav button { padding: 12px 0; font-weight: 700; color: var(--muted); position: relative; font-size: 16px; }
.tab-nav button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.tab-nav button.is-active { color: var(--gold-dark); }
.tab-nav button.is-active::after { transform: scaleX(1); }
.tab-panel { display: none; border: 1px solid var(--line); border-top: 0; padding: 26px; }
.tab-panel.is-active { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rich { line-height: 1.7; }
.rich img { margin: 14px 0; }
.rich h2, .rich h3 { margin-top: 1.2em; }
.rich a { color: var(--gold-dark); text-decoration: underline; }
.rich table { border-collapse: collapse; width: 100%; }
.rich td, .rich th { border: 1px solid var(--line); padding: 8px; }
.reviews { display: grid; gap: 16px; margin-bottom: 24px; }
.review { border-bottom: 1px solid var(--soft); padding-bottom: 14px; }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.review-head b { color: var(--ink-2); }
.review-head time { color: var(--muted); font-size: 13px; margin-left: auto; }
.review-form { display: grid; gap: 12px; max-width: 640px; }
.review-form h4 { margin: 0; }
.rating-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rating-input input { display: none; }
.rating-input label { cursor: pointer; color: #ccc; transition: transform .2s, color .2s; }
.rating-input label:hover, .rating-input label:hover ~ label, .rating-input input:checked ~ label { color: var(--gold); }
.rating-input label:hover { transform: scale(1.2); }
.rating-input .ic path { fill: currentColor; }
.related { margin-top: 50px; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 1200; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .3s; padding: 20px; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; transform: scale(.9); transition: transform .4s var(--ease); background: #fff; }
.lightbox.is-open img { transform: none; }
.lightbox .icon-btn { position: absolute; top: 16px; right: 16px; color: #fff; }
.lightbox .icon-btn:hover { background: rgba(255,255,255,.1); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; box-shadow: 0 -6px 24px rgba(0,0,0,.1); z-index: 90; transform: translateY(110%); transition: transform .45s var(--ease); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy-inner { display: flex; align-items: center; gap: 14px; height: 68px; }
.sticky-buy img { width: 44px; height: 44px; object-fit: contain; }
.sb-name { flex: 1; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy b { color: var(--ink); font-size: 18px; }

/* Forms */
label { display: block; font-size: 14px; color: var(--ink-2); font-weight: 600; }
label > input, label > textarea, label > select, .review-form input, .review-form textarea, .coupon-row input, .stack input, .contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 5px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 14px; outline: none; transition: border-color .25s, box-shadow .25s; background: #fff; font-weight: 400; }
label > textarea, .review-form textarea, .contact-form textarea { height: auto; padding: 12px 14px; resize: vertical; }
label > input:focus, label > textarea:focus, .review-form input:focus, .review-form textarea:focus, .coupon-row input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(251,183,28,.15); }
label.check { font-weight: 400; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.invalid { border-color: var(--sale) !important; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.stack { display: grid; gap: 14px; }
.notice { background: #fff8e6; border-left: 4px solid var(--gold); padding: 12px 16px; margin-bottom: 16px; color: var(--ink-2); }
.notice-error { background: #fdecec; border-color: var(--sale); }
.notice-success { background: #e9f8ef; border-color: var(--ok); display: flex; gap: 8px; align-items: center; }
.form-error { background: #fdecec; color: var(--sale); padding: 10px 14px; border-radius: var(--radius); font-weight: 600; }

/* Cart / checkout */
.page-pad { padding-top: 30px; padding-bottom: 30px; }
.page-title { font-size: 34px; margin-bottom: 24px; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 12px; background: var(--soft); color: var(--ink-2); font-size: 14px; text-transform: uppercase; }
.cart-table td { padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table tr { animation: itemIn .4s var(--ease) both; }
.cart-table tr.removing { animation: rowOut .35s ease forwards; }
@keyframes rowOut { to { opacity: 0; transform: translateX(-30px); } }
.ct-product { display: flex; align-items: center; gap: 14px; }
.ct-product img { width: 80px; height: 80px; object-fit: contain; border: 1px solid var(--line); flex: none; }
.ct-product a { font-weight: 600; color: var(--ink-2); }
.cart-summary, .checkout-summary { border: 2px solid var(--soft); padding: 24px; position: sticky; top: 70px; }
.cart-summary h3, .checkout-summary h3 { font-size: 22px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.coupon-row { display: flex; gap: 8px; margin: 10px 0 4px; }
.coupon-row input { margin: 0; height: 46px; flex: 1; min-width: 0; }
.coupon-msg { font-size: 14px; min-height: 20px; margin-bottom: 8px; }
.coupon-msg.ok { color: var(--ok); } .coupon-msg.err { color: var(--sale); }
.totals { display: grid; gap: 0; margin-bottom: 16px; }
.totals > div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--soft); }
.totals .grand { font-size: 22px; color: var(--ink); font-weight: 700; border: 0; }
.totals .disc { color: var(--ok); }
.continue-link { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 14px; font-weight: 600; }
.loader-line { height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: loaderLine 1.2s infinite; margin: 30px 0; }
@keyframes loaderLine { from { background-position: -50% 0; } to { background-position: 150% 0; } }
.checkout-steps { display: flex; justify-content: center; gap: 0; margin-bottom: 30px; }
.checkout-steps span { padding: 10px 24px; font-weight: 700; text-transform: uppercase; color: var(--muted); border-bottom: 3px solid var(--line); font-size: 14px; }
.checkout-steps .done { color: var(--ink-2); border-color: var(--ink-2); }
.checkout-steps .current { color: var(--gold-dark); border-color: var(--gold); }
.checkout-layout { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: start; }
.checkout-fields { display: grid; gap: 14px; }
.checkout-fields h3 { margin: 10px 0 0; font-size: 22px; }
.co-items { margin-bottom: 10px; }
.co-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--soft); }
.co-item .co-img { position: relative; flex: none; }
.co-item img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); }
.co-item .co-img i { position: absolute; top: -8px; right: -8px; background: var(--ink); color: #fff; font-style: normal; font-size: 11px; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.co-item span { flex: 1; font-weight: 600; color: var(--ink-2); font-size: 15px; line-height: 1.3; }
.payment-box { background: var(--soft); padding: 16px; margin-bottom: 14px; border-radius: var(--radius); }
.payment-box h4 { margin-bottom: 10px; }
.pay-option { display: flex; gap: 10px; align-items: flex-start; background: #fff; padding: 12px; border: 2px solid var(--gold); border-radius: var(--radius); cursor: pointer; }
.pay-option small { display: block; color: var(--muted); font-weight: 400; }
.terms { margin-bottom: 14px; }
.terms a { color: var(--gold-dark); text-decoration: underline; }

/* Order page */
.order-success { text-align: center; margin-bottom: 30px; }
.order-success h1 { font-size: 30px; }
.check-anim svg { width: 90px; height: 90px; margin: 0 auto 16px; display: block; }
.check-anim circle { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .8s ease forwards; }
.check-anim path { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .5s .7s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.order-overview { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 2px dashed var(--line); margin: 0 0 30px; }
.order-overview li { padding: 16px 20px; border-right: 1px dashed var(--line); }
.order-overview li:last-child { border: 0; }
.order-overview span { display: block; font-size: 13px; color: var(--muted); text-transform: uppercase; }
.order-overview b { color: var(--ink); font-size: 18px; }
.order-track { display: flex; justify-content: space-between; position: relative; max-width: 700px; margin: 0 auto 30px; }
.order-track::before { content: ''; position: absolute; top: 18px; left: 6%; right: 6%; height: 3px; background: var(--line); }
.ot-step { position: relative; text-align: center; z-index: 1; }
.ot-step span { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 6px; transition: all .4s; }
.ot-step.done span { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.ot-step small { text-transform: uppercase; font-weight: 700; font-size: 12px; }
.order-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; margin-bottom: 30px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.table th { color: var(--ink-2); }
.table .r { text-align: right; }
.table .grand th, .table .grand td { font-size: 20px; color: var(--ink); }
.table-scroll { overflow-x: auto; }
address { font-style: normal; line-height: 1.8; }
.status { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; background: var(--soft); color: var(--ink-2); }
.status-pending, .status-unpaid { background: #fff3d6; color: #a06d00; }
.status-processing { background: #e3f0ff; color: #1d5fbf; }
.status-shipped { background: #efe6ff; color: #6a3dc0; }
.status-completed, .status-paid { background: #e3f7ea; color: #1b7a42; }
.status-cancelled, .status-refunded, .status-failed { background: #fde8e8; color: #b42318; }

/* Account */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 980px; margin: 0 auto; }
.auth-box { border: 1px solid var(--line); padding: 34px; display: grid; gap: 14px; align-content: start; transition: box-shadow .3s; }
.auth-box:hover, .auth-box.is-focus { box-shadow: var(--shadow); }
.auth-box h2 { font-size: 26px; }
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; }
.account-nav { display: flex; flex-direction: column; border: 1px solid var(--line); align-self: start; }
.account-nav a, .account-nav button { padding: 12px 18px; border-bottom: 1px solid var(--line); font-weight: 700; text-align: left; display: flex; align-items: center; gap: 6px; width: 100%; transition: all .25s; }
.account-nav a.active, .account-nav a:hover, .account-nav button:hover { background: var(--ink); color: var(--gold); }
.account-main h2 { font-size: 26px; }
.account-main a:not(.btn) { color: var(--gold-dark); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.contact-list.big li { padding: 12px 0; border-bottom: 1px solid var(--soft); }
.contact-list.big small { display: block; color: var(--muted); }
.contact-form { display: grid; gap: 14px; background: var(--soft); padding: 30px; border-radius: var(--radius); }
.track-form { max-width: 480px; }
.not-found .nf-code { font-size: clamp(90px, 20vw, 180px); font-weight: 700; line-height: 1; color: var(--gold); text-shadow: 6px 6px 0 var(--ink); animation: float2 4s ease-in-out infinite; }
@keyframes float2 { 50% { transform: translateY(-10px); } }
.not-found .btn { margin: 6px; }

/* Bottom bar (mobile) */
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); z-index: 95; height: calc(60px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); justify-content: space-around; align-items: center; }
.bottom-bar > * { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 700; text-transform: uppercase; position: relative; color: var(--ink-2); }
.bottom-bar .count { top: -4px; right: 2px; }

/* Responsive --------------------------------------------------------- */
@media (max-width: 1199px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .header-actions { gap: 16px; }
}
@media (max-width: 991px) {
  body { padding-bottom: 60px; font-size: 15px; }
  .topbar-links { display: none; }
  .header-main-inner { height: 64px; gap: 10px; }
  .logo { margin-right: auto; }
  .logo img { width: 150px; }
  .header-search { display: none; }
  .main-nav { display: none; }
  .site-header { position: sticky; top: 0; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
  .mobile-search { display: flex; position: sticky; top: 64px; z-index: 99; background: #fff; padding: 0 16px; max-height: 0; overflow: hidden; transition: max-height .35s var(--ease), padding .35s; }
  .mobile-search.is-open { max-height: 80px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
  .mobile-search input { flex: 1; height: 42px; border: 2px solid var(--gold); border-right: 0; padding: 0 12px; outline: none; min-width: 0; border-radius: var(--radius) 0 0 var(--radius); }
  .mobile-search button { width: 48px; background: var(--gold); border-radius: 0 var(--radius) var(--radius) 0; display: flex; align-items: center; justify-content: center; }
  .bottom-bar.mobile-only { display: flex !important; }
  .back-to-top { bottom: 76px; right: 12px; }
  .hero { padding-top: 12px; }
  .hero-slider { aspect-ratio: 16 / 10; }
  .banner-copy { max-width: 70%; }
  .ba-logo { width: 34%; opacity: .55; }
  .promo-grid { grid-template-columns: 1fr; gap: 12px; }
  .banner-wide { aspect-ratio: 16 / 7; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card { padding: 10px; }
  .pc-add { transform: none; height: 36px; font-size: 12px; position: relative; margin-top: 8px; }
  .pc-act { opacity: 1; transform: none; width: 32px; height: 32px; }
  .pc-actions .pc-act[data-quick] { display: none; }
  .pc-row { flex-direction: column; gap: 4px; }
  .pc-price { text-align: left; }
  .pc-price del { display: inline; margin-right: 6px; }
  .pc-body { margin-top: 10px; padding-top: 10px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-about { grid-column: 1 / -1; }
  .newsletter-inner { flex-direction: column; align-items: stretch; text-align: center; gap: 14px; }
  .newsletter-form { flex: none; }
  .shop-layout, .product-layout { grid-template-columns: 1fr; padding-top: 16px; }
  .shop-sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); background: #fff; z-index: 1000; padding: 16px 20px; overflow-y: auto; transform: translateX(-102%); transition: transform .45s var(--ease); box-shadow: var(--shadow-lg); }
  .shop-sidebar.is-open { transform: none; }
  .product-top { grid-template-columns: 1fr; gap: 20px; }
  .product-title { font-size: 24px; }
  .tab-nav { gap: 20px; justify-content: flex-start; overflow-x: auto; }
  .tab-panel { padding: 18px 14px; }
  .sticky-buy { bottom: calc(60px + env(safe-area-inset-bottom)); }
  .cart-layout, .checkout-layout, .order-grid, .auth-grid, .account-layout, .contact-grid { grid-template-columns: 1fr; }
  .cart-summary, .checkout-summary { position: static; }
  .order-overview { grid-template-columns: 1fr 1fr; }
  .order-overview li:nth-child(2) { border-right: 0; }
  .order-overview li:nth-child(-n+2) { border-bottom: 1px dashed var(--line); }
  .qv { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .toasts { left: 12px; right: 12px; top: 12px; }
  .toast { max-width: none; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .page-title { font-size: 26px; }
  .shop-head h1 { font-size: 24px; }
  .form-row, .form-row.three { grid-template-columns: 1fr; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { position: relative; border-bottom: 1px solid var(--line); padding: 12px 0; }
  .cart-table td { border: 0; padding: 4px 0; }
  .cart-table td[data-label]::before { content: attr(data-label) ': '; font-weight: 700; color: var(--ink-2); margin-right: 6px; }
  .cart-table td.ct-remove { position: absolute; top: 12px; right: 0; width: auto; }
  .ct-product { padding-right: 34px; }
  .auth-box { padding: 22px; }
  .checkout-steps span { padding: 8px 10px; font-size: 12px; }
  .banner-title { margin-bottom: 10px; }
  .banner-btn { padding: 8px 14px; font-size: 12px; }
  .slider-dots { bottom: 8px; }
  .product-grid.is-list .product-card { flex-direction: column; }
  .product-grid.is-list .pc-media { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .shop-toolbar .result-count { width: 100%; order: 3; font-size: 14px; }
  .sticky-buy .sb-name { display: none; }
}
