/* ===== RESET & BASE ===== */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{
  --font:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --bg:#F5F6F9;--bg-alt:#EDEFF4;--bg-card:#FFFFFF;
  --header-bg:#26262F;--header-text:#E8E8ED;
  --text:#14142A;--text-secondary:#5C6070;--text-muted:#9499A8;
  --border:#E4E6ED;--border-light:#EEF0F5;
  --green:#00B341;--green-dark:#00953A;--green-light:#E4F9EC;--green-glow:rgba(0,179,65,.18);
  --blue:#3B82F6;--purple:#8B5CF6;--orange:#F59E0B;--red:#EF4444;--pink:#EC4899;--cyan:#0891B2;
  --radius-xs:6px;--radius-sm:8px;--radius:12px;--radius-lg:16px;--radius-xl:24px;
  --shadow-xs:0 1px 2px rgba(20,20,42,.04);
  --shadow-sm:0 1px 3px rgba(20,20,42,.05),0 1px 2px rgba(20,20,42,.03);
  --shadow:0 2px 8px rgba(20,20,42,.06);
  --shadow-md:0 6px 20px rgba(20,20,42,.08);
  --shadow-lg:0 12px 40px rgba(20,20,42,.12);
  --shadow-xl:0 24px 64px rgba(20,20,42,.16);
  --transition:.22s cubic-bezier(.4,0,.2,1);
  --header-height:64px;--sidebar-width:236px;--bottom-nav-height:64px;
}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-height) + 20px)}
body{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden}
a{text-decoration:none;color:inherit}
button{cursor:pointer;font-family:inherit;border:none;background:none}
input,select,textarea{font-family:inherit;border:none;outline:none;background:none}
img{max-width:100%;display:block}
ul{list-style:none}
.container{max-width:1440px;margin:0 auto;padding:0 28px}

/* ===== HEADER ===== */
.header{position:fixed;top:0;left:0;right:0;height:var(--header-height);background:var(--header-bg);z-index:100;border-bottom:1px solid rgba(255,255,255,.06)}
.header-inner{display:flex;align-items:center;height:100%;gap:20px}
.logo{display:flex;align-items:center;gap:8px;flex-shrink:0}
.logo-icon{width:34px;height:34px;background:linear-gradient(135deg,var(--green) 0%,#00D653 100%);color:#fff;border-radius:9px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:16px;box-shadow:0 4px 12px rgba(0,179,65,.4)}
.logo-text{font-size:20px;font-weight:700;color:var(--header-text);letter-spacing:-.4px}
.logo-text span{color:var(--green)}
.header-search{flex:1;max-width:440px;position:relative;display:flex;align-items:center}
.header-search .search-icon{position:absolute;left:14px;color:var(--text-muted);pointer-events:none}
.header-search input{width:100%;height:40px;padding:0 16px 0 42px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);border-radius:10px;color:var(--header-text);font-size:14px;transition:var(--transition)}
.header-search input::placeholder{color:rgba(255,255,255,.4)}
.header-search input:focus{background:rgba(255,255,255,.11);border-color:rgba(0,179,65,.6);box-shadow:0 0 0 3px var(--green-glow)}
.header-nav{display:flex;gap:2px}
.nav-link{padding:8px 13px;font-size:14px;font-weight:500;color:rgba(255,255,255,.62);border-radius:var(--radius-sm);transition:var(--transition)}
.nav-link:hover{color:#fff;background:rgba(255,255,255,.06)}
.nav-link.active{color:#fff;background:rgba(255,255,255,.08)}
.header-actions{display:flex;align-items:center;gap:6px;margin-left:auto;flex-shrink:0}
.btn-icon{width:38px;height:38px;position:relative;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.6);border-radius:9px;transition:var(--transition)}
.btn-icon:hover{color:#fff;background:rgba(255,255,255,.08)}
.btn-icon .dot{position:absolute;top:8px;right:8px;width:7px;height:7px;border-radius:50%;background:var(--green);border:1.5px solid var(--header-bg)}
.btn-icon .count-badge{position:absolute;top:2px;right:2px;min-width:16px;height:16px;padding:0 4px;background:var(--green);color:#fff;font-size:10px;font-weight:700;border-radius:100px;display:flex;align-items:center;justify-content:center;border:1.5px solid var(--header-bg)}
.btn{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 18px;font-size:14px;font-weight:600;border-radius:9px;transition:var(--transition);white-space:nowrap;gap:8px}
.btn-primary{background:var(--green);color:#fff;box-shadow:0 2px 8px rgba(0,179,65,.25)}
.btn-primary:hover{background:var(--green-dark);box-shadow:0 6px 16px rgba(0,179,65,.35);transform:translateY(-1px)}
.btn-outline{border:1.5px solid var(--border);color:var(--text);background:var(--bg-card)}
.btn-outline:hover{border-color:var(--green);color:var(--green-dark)}
.btn-register{border:1.5px solid rgba(255,255,255,.18);color:var(--header-text);background:transparent}
.btn-register:hover{border-color:rgba(255,255,255,.4);color:#fff}
.btn-lg{height:50px;padding:0 30px;font-size:15px;border-radius:var(--radius)}
.btn-full{width:100%}
.btn-ghost{color:var(--text-secondary)}
.btn-ghost:hover{background:var(--bg-alt);color:var(--text)}
.btn-sm{height:32px;padding:0 12px;font-size:12px;border-radius:8px}
.mobile-search{display:none;padding-bottom:12px}
.mobile-search .header-search{max-width:100%}
.menu-toggle{display:none;flex-direction:column;gap:5px;width:38px;height:38px;align-items:center;justify-content:center;border-radius:var(--radius-sm);transition:var(--transition)}
.menu-toggle span{display:block;width:20px;height:2px;background:var(--header-text);border-radius:2px;transition:var(--transition)}
.menu-toggle:hover{background:rgba(255,255,255,.08)}

/* ===== SIDEBAR ===== */
.sidebar{position:fixed;top:var(--header-height);left:0;bottom:0;width:var(--sidebar-width);background:var(--bg-card);border-right:1px solid var(--border-light);overflow-y:auto;z-index:90;padding:16px 12px}
.sidebar-inner{display:flex;flex-direction:column;gap:4px}
.sidebar-label{font-size:11px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.6px;padding:12px 14px 6px}
.sidebar-nav{display:flex;flex-direction:column;gap:2px}
.sidebar-link{display:flex;align-items:center;gap:12px;padding:9px 14px;font-size:14px;font-weight:500;color:var(--text-secondary);border-radius:var(--radius-sm);transition:var(--transition);position:relative}
.sidebar-link:hover{background:var(--bg);color:var(--text)}
.sidebar-link.active{background:var(--green-light);color:var(--green-dark);font-weight:600}
.sidebar-link.active::before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:18px;background:var(--green);border-radius:0 3px 3px 0}
.sidebar-link svg{flex-shrink:0}
.sidebar-badge{margin-left:auto;padding:1px 7px;background:var(--green);color:#fff;font-size:11px;font-weight:700;border-radius:100px}
.sidebar-divider{height:1px;background:var(--border-light);margin:8px 12px}
.sidebar-promo{margin-top:16px;padding:16px;background:linear-gradient(135deg,#26262F 0%,#14142A 100%);border-radius:var(--radius);color:#fff}
.sidebar-promo-title{font-size:14px;font-weight:700;margin-bottom:4px}
.sidebar-promo-text{font-size:12px;color:rgba(255,255,255,.6);margin-bottom:12px}
.sidebar-promo .btn{height:32px;font-size:12px;padding:0 12px}

/* ===== MAIN ===== */
.main-content{margin-left:var(--sidebar-width);padding-top:calc(var(--header-height) + 20px);padding-bottom:64px;min-height:100vh}

/* ===== BREADCRUMBS ===== */
.breadcrumbs{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-muted);margin-bottom:18px;flex-wrap:wrap}
.breadcrumbs a{color:var(--text-secondary);transition:var(--transition)}
.breadcrumbs a:hover{color:var(--green-dark)}
.breadcrumbs svg{flex-shrink:0;color:var(--text-muted)}
.breadcrumbs .current{color:var(--text);font-weight:500;max-width:320px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ===== PRODUCT LAYOUT ===== */
.product-layout{display:grid;grid-template-columns:1fr 380px;gap:28px;align-items:start;margin-bottom:44px}

/* ===== GALLERY / PREVIEW ===== */
.gallery{background:var(--bg-card);border:1px solid var(--border-light);border-radius:var(--radius-xl);overflow:hidden;margin-bottom:24px}
.gallery-main{position:relative;aspect-ratio:1/1;max-height:min(520px,42vw);width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(180deg,#FAFBFC 0%,#F0F2F7 100%)}
.gallery-main-bg{position:absolute;inset:0;opacity:.35;transition:transform .5s ease}
.gallery-main:hover .gallery-main-bg{transform:scale(1.03)}
.gallery-main img{position:relative;z-index:2;width:100%;height:100%;object-fit:contain;padding:20px;box-sizing:border-box}
.gallery-main-emoji{position:relative;z-index:2;font-size:clamp(64px,12vw,112px);filter:drop-shadow(0 12px 24px rgba(0,0,0,.12));transition:transform .4s ease}
.gallery-badge{position:absolute;top:16px;left:16px;padding:5px 12px;background:rgba(255,255,255,.95);backdrop-filter:blur(6px);border-radius:100px;font-size:12px;font-weight:700;z-index:3}
.gallery-badge.hot{background:#FEF3C7;color:#92400E}
.gallery-badge.new{background:#DBEAFE;color:#1E40AF}
.gallery-badge.sale{background:#FEE2E2;color:#991B1B}
.gallery-type{position:absolute;bottom:16px;left:16px;padding:4px 12px;background:rgba(20,20,42,.6);backdrop-filter:blur(6px);border-radius:8px;font-size:12px;font-weight:600;color:#fff;z-index:3}
.gallery-actions{position:absolute;top:16px;right:16px;display:flex;gap:8px;z-index:3}
.gallery-action{width:38px;height:38px;background:rgba(255,255,255,.92);backdrop-filter:blur(6px);border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--text-secondary);transition:var(--transition);box-shadow:var(--shadow-sm)}
.gallery-action:hover{background:#fff;color:var(--green-dark);transform:translateY(-2px)}
.gallery-action.active{color:var(--red);background:#fff}
.gallery-action.active svg{fill:var(--red)}
.gallery-thumbs{display:flex;gap:10px;padding:14px;overflow-x:auto;scrollbar-width:thin}
.gallery-thumbs::-webkit-scrollbar{height:4px}
.gallery-thumbs::-webkit-scrollbar-thumb{background:var(--border);border-radius:2px}
.gallery-thumb{width:72px;height:54px;border-radius:10px;border:2px solid transparent;overflow:hidden;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:var(--transition);font-size:22px;position:relative}
.gallery-thumb.active{border-color:var(--green);box-shadow:0 0 0 3px var(--green-glow)}
.gallery-thumb:hover{border-color:var(--border)}

/* ===== INFO CARD ===== */
.info-card{background:var(--bg-card);border:1px solid var(--border-light);border-radius:var(--radius-xl);padding:24px;margin-bottom:24px}
.info-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.info-category{font-size:12px;font-weight:600;color:var(--green-dark);background:var(--green-light);padding:3px 10px;border-radius:100px}
.info-version{font-size:12px;font-weight:500;color:var(--text-muted);background:var(--bg-alt);padding:3px 10px;border-radius:100px}
.info-updated{font-size:12px;color:var(--text-muted);display:flex;align-items:center;gap:4px}
.product-breadcrumb{font-size:13px;color:var(--text-muted);margin-bottom:10px;display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.product-breadcrumb a{color:var(--text-secondary);font-weight:600}
.product-breadcrumb a:hover{color:var(--green-dark)}
.product-breadcrumb .bc-sep{opacity:.45}
.product-breadcrumb .bc-current{color:var(--text);font-weight:600;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;max-width:100%}
.product-title{font-size:26px;font-weight:800;letter-spacing:-.8px;line-height:1.2;margin-bottom:14px}
.product-rating{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:18px}
.rating-stars{color:var(--orange);font-size:16px;letter-spacing:2px}
.rating-score{font-size:16px;font-weight:800;color:var(--text)}
.rating-reviews{font-size:13px;color:var(--text-muted)}
.rating-sales{font-size:13px;color:var(--text-muted);display:flex;align-items:center;gap:4px}
.rating-sales svg{color:var(--green)}
.product-short{font-size:15px;color:var(--text-secondary);line-height:1.65;margin-bottom:18px}
.seller-row{display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--bg);border-radius:var(--radius);margin-bottom:18px}
.seller-avatar-lg{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:16px;flex-shrink:0}
.seller-info{flex:1;min-width:0}
.seller-name-row{display:flex;align-items:center;gap:6px}
.seller-name{font-size:14px;font-weight:600}
.seller-verified{width:16px;height:16px;color:var(--green);flex-shrink:0}
.seller-stats{font-size:12px;color:var(--text-muted)}
.seller-btn{height:32px;padding:0 14px;font-size:12px;border-radius:8px;background:var(--bg-card);border:1.5px solid var(--border);color:var(--text);font-weight:600;transition:var(--transition);white-space:nowrap}
.seller-btn:hover{border-color:var(--green);color:var(--green-dark)}
.product-badges{display:flex;flex-wrap:wrap;gap:8px}
.badge-item{display:flex;align-items:center;gap:6px;padding:6px 12px;background:var(--bg-alt);border-radius:8px;font-size:12px;font-weight:500;color:var(--text-secondary)}
.badge-item svg{color:var(--green);flex-shrink:0}

/* ===== TABS ===== */
.tabs-card{background:var(--bg-card);border:1px solid var(--border-light);border-radius:var(--radius-xl);overflow:hidden;margin-bottom:24px}
.tabs-nav{display:flex;gap:2px;padding:8px;border-bottom:1px solid var(--border-light);overflow-x:auto;scrollbar-width:none;background:var(--bg-card)}
.tabs-nav::-webkit-scrollbar{display:none}
.tab-btn{padding:9px 18px;font-size:14px;font-weight:500;color:var(--text-secondary);border-radius:var(--radius-sm);transition:var(--transition);white-space:nowrap;position:relative}
.tab-btn:hover{color:var(--text);background:var(--bg-alt)}
.tab-btn.active{color:var(--green-dark);background:var(--green-light);font-weight:600}
.tab-panel{padding:24px;display:none;animation:fadeIn .3s ease}
.tab-panel.active{display:block}
@keyframes fadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.panel-title{font-size:16px;font-weight:700;margin-bottom:14px}
.panel-text{font-size:14px;color:var(--text-secondary);line-height:1.7;margin-bottom:14px}
.panel-text:last-child{margin-bottom:0}
.feature-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.feature-list-item{display:flex;align-items:flex-start;gap:8px;font-size:13.5px;color:var(--text-secondary)}
.feature-list-item svg{color:var(--green);flex-shrink:0;margin-top:3px}
.specs-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--border-light);border:1px solid var(--border-light);border-radius:var(--radius);overflow:hidden}
.spec-item{background:var(--bg-card);padding:12px 16px;display:flex;justify-content:space-between;gap:12px;font-size:13px}
.spec-label{color:var(--text-muted)}
.spec-value{font-weight:600;color:var(--text);text-align:right}
.changelog-item{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--border-light)}
.changelog-item:last-child{border-bottom:none;padding-bottom:0}
.changelog-version{font-size:13px;font-weight:700;color:var(--green-dark);white-space:nowrap;min-width:52px}
.changelog-content{flex:1}
.changelog-date{font-size:12px;color:var(--text-muted);margin-bottom:4px}
.changelog-text{font-size:13.5px;color:var(--text-secondary);line-height:1.55}
.review-item{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid var(--border-light)}
.review-item:last-child{border-bottom:none;padding-bottom:0}
.review-avatar{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:14px;flex-shrink:0}
.review-body{flex:1;min-width:0}
.review-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:4px}
.review-name{font-size:13.5px;font-weight:600}
.review-stars{color:var(--orange);font-size:12px;letter-spacing:1px}
.review-date{font-size:11.5px;color:var(--text-muted)}
.review-text{font-size:13.5px;color:var(--text-secondary);line-height:1.6}
.review-reply{margin-top:10px;padding:10px 14px;background:var(--bg);border-radius:var(--radius-sm);font-size:12.5px;color:var(--text-secondary)}
.review-reply strong{color:var(--text);font-weight:600}

/* ===== SIDEBAR PURCHASE ===== */
.purchase-card{background:var(--bg-card);border:1px solid var(--border-light);border-radius:var(--radius-xl);padding:24px;position:sticky;top:calc(var(--header-height) + 20px);box-shadow:var(--shadow-sm)}
.purchase-price-row{display:flex;align-items:baseline;gap:12px;margin-bottom:6px;flex-wrap:wrap}
.purchase-price{font-size:32px;font-weight:800;letter-spacing:-1px}
.purchase-old{font-size:16px;color:var(--text-muted);text-decoration:line-through}
.purchase-discount{font-size:12px;font-weight:700;color:#991B1B;background:#FEE2E2;padding:2px 8px;border-radius:100px}
.purchase-saving{font-size:12.5px;color:var(--green-dark);font-weight:600;margin-bottom:18px;display:flex;align-items:center;gap:5px}
.purchase-actions{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}
.purchase-actions .btn{height:48px;border-radius:var(--radius);font-size:15px}
.purchase-features{display:flex;flex-direction:column;gap:10px;padding:16px 0;border-top:1px solid var(--border-light);border-bottom:1px solid var(--border-light);margin-bottom:16px}
.purchase-feature{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--text-secondary)}
.purchase-feature svg{color:var(--green);flex-shrink:0}
.purchase-feature strong{color:var(--text);font-weight:600}
.purchase-guarantee{display:flex;align-items:center;gap:10px;padding:12px 14px;background:var(--green-light);border-radius:var(--radius-sm);font-size:12.5px;color:var(--green-dark);font-weight:500}
.purchase-guarantee svg{flex-shrink:0}
.purchase-extra{display:flex;gap:8px;margin-top:14px}
.purchase-extra .btn{flex:1;height:38px;font-size:12.5px;border-radius:8px}

/* ===== RELATED ===== */
.related-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.service-card{background:var(--bg-card);border:1px solid var(--border-light);border-radius:var(--radius-lg);overflow:hidden;transition:box-shadow .25s ease,border-color .25s ease,transform .25s ease;display:flex;flex-direction:column;position:relative;cursor:pointer}
.service-card:hover{box-shadow:var(--shadow-md);border-color:var(--border);transform:translateY(-4px)}
.card-image{height:120px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;font-size:36px}
.card-image-bg{position:absolute;inset:0;transition:transform .4s ease}
.service-card:hover .card-image-bg{transform:scale(1.06)}
.card-image-emoji{position:relative;z-index:1;filter:drop-shadow(0 4px 8px rgba(0,0,0,.15))}
.card-badge{position:absolute;top:10px;left:10px;padding:3px 9px;background:rgba(255,255,255,.94);backdrop-filter:blur(6px);border-radius:100px;font-size:10.5px;font-weight:700;color:var(--text);z-index:2}
.card-badge.hot{background:#FEF3C7;color:#92400E}
.card-badge.new{background:#DBEAFE;color:#1E40AF}
.card-badge.sale{background:#FEE2E2;color:#991B1B}
.card-body{padding:12px;display:flex;flex-direction:column;gap:7px;flex:1}
.card-seller{display:flex;align-items:center;gap:7px}
.seller-avatar{width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:9px;flex-shrink:0}
.seller-name-sm{font-size:11.5px;font-weight:500;color:var(--text-secondary)}
.card-title{font-size:13px;font-weight:600;color:var(--text);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:36px}
.card-rating{display:flex;align-items:center;gap:5px;font-size:11.5px}
.rating-star{color:var(--orange);font-size:12px}
.rating-value{font-weight:700;color:var(--text)}
.rating-count{color:var(--text-muted)}
.card-footer{display:flex;align-items:center;justify-content:space-between;padding-top:8px;border-top:1px solid var(--border-light);margin-top:auto}
.card-price{font-size:14px;font-weight:800;color:var(--text)}
.card-delivery{font-size:10.5px;color:var(--text-muted);display:flex;align-items:center;gap:3px}

/* ===== RECENTLY VIEWED ===== */
.recently-scroll{display:flex;gap:12px;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin}
.recently-scroll::-webkit-scrollbar{height:4px}
.recently-scroll::-webkit-scrollbar-thumb{background:var(--border);border-radius:2px}
.recently-chip{display:flex;align-items:center;gap:10px;padding:10px 14px;background:var(--bg-card);border:1px solid var(--border-light);border-radius:var(--radius);white-space:nowrap;flex-shrink:0;transition:var(--transition);cursor:pointer}
.recently-chip:hover{border-color:var(--green);box-shadow:var(--shadow-sm)}
.recently-emoji{font-size:20px}
.recently-name{font-size:13px;font-weight:600}
.recently-price{font-size:12px;color:var(--text-muted)}

/* ===== SECTION ===== */
.section{margin-bottom:40px}
.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:16px;flex-wrap:wrap}
.section-title-wrap{display:flex;align-items:center;gap:12px}
.section-title{font-size:20px;font-weight:800;letter-spacing:-.5px}
.section-count{font-size:12px;font-weight:600;color:var(--text-muted);background:var(--bg-alt);padding:3px 10px;border-radius:100px}
.section-link{font-size:14px;font-weight:600;color:var(--green-dark);display:flex;align-items:center;gap:4px;transition:var(--transition)}
.section-link:hover{color:var(--green);gap:8px}

/* ===== FOOTER ===== */
.footer{border-top:1px solid var(--border-light);padding:36px 0 28px;margin-top:20px}
.footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:32px;margin-bottom:28px}
.footer-brand .logo{margin-bottom:12px}
.footer-brand .logo-text{color:var(--text)}
.footer-desc{font-size:13px;color:var(--text-muted);line-height:1.6;max-width:280px}
.footer-col-title{font-size:12px;font-weight:700;color:var(--text);margin-bottom:12px;text-transform:uppercase;letter-spacing:.4px}
.footer-links{display:flex;flex-direction:column;gap:9px}
.footer-link{font-size:13px;color:var(--text-secondary);transition:var(--transition)}
.footer-link:hover{color:var(--green-dark)}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;padding-top:20px;border-top:1px solid var(--border-light);gap:16px;flex-wrap:wrap}
.footer-copyright{font-size:12.5px;color:var(--text-muted)}
.footer-legal{display:flex;gap:18px}
.footer-legal a{font-size:12.5px;color:var(--text-muted);transition:var(--transition)}
.footer-legal a:hover{color:var(--text)}

/* ===== BOTTOM NAV ===== */
.bottom-nav{display:none;position:fixed;bottom:0;left:0;right:0;height:var(--bottom-nav-height);background:var(--bg-card);border-top:1px solid var(--border-light);z-index:100;padding:0 8px;align-items:center;justify-content:space-around;box-shadow:0 -2px 12px rgba(20,20,42,.06)}
.bottom-link{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 10px;font-size:10px;font-weight:600;color:var(--text-muted);border-radius:var(--radius-sm);transition:var(--transition)}
.bottom-link:hover,.bottom-link.active{color:var(--green-dark)}
.bottom-link-accent{color:var(--green)}
.bottom-link-accent svg{stroke:var(--green)}

/* ===== MOBILE MENU ===== */
.mobile-menu{position:fixed;top:0;right:-340px;width:340px;height:100vh;background:var(--bg-card);z-index:200;padding:24px;display:flex;flex-direction:column;gap:20px;transition:right .32s cubic-bezier(.4,0,.2,1);box-shadow:-8px 0 40px rgba(20,20,42,.15);overflow-y:auto}
.mobile-menu.open{right:0}
.mobile-menu-overlay{position:fixed;inset:0;background:rgba(20,20,42,.5);backdrop-filter:blur(2px);z-index:199;opacity:0;pointer-events:none;transition:opacity .3s}
.mobile-menu-overlay.open{opacity:1;pointer-events:auto}
.mobile-menu-header{display:flex;align-items:center;justify-content:space-between}
.mobile-menu-header .logo-text{color:var(--text)}
.mobile-menu-close{font-size:28px;color:var(--text-muted);width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);transition:var(--transition)}
.mobile-menu-close:hover{background:var(--bg);color:var(--text)}
.mobile-menu-search{display:flex;align-items:center;gap:10px;padding:0 14px;background:var(--bg-alt);border-radius:10px}
.mobile-menu-search svg{color:var(--text-muted);flex-shrink:0}
.mobile-menu-search input{flex:1;height:42px;font-size:14px}
.mobile-menu-nav{display:flex;flex-direction:column;gap:2px;flex:1}
.mobile-menu-link{padding:11px 14px;font-size:15px;font-weight:500;color:var(--text-secondary);border-radius:var(--radius-sm);transition:var(--transition);display:flex;align-items:center;gap:12px}
.mobile-menu-link:hover{background:var(--bg);color:var(--text)}
.mobile-menu-link svg{color:var(--text-muted)}
.mobile-menu-divider{height:1px;background:var(--border-light);margin:8px 0}
.mobile-menu-actions{display:flex;flex-direction:column;gap:10px}

/* ===== STICKY MOBILE BUY BAR ===== */
.mobile-buy-bar{display:none;position:fixed;bottom:var(--bottom-nav-height);left:0;right:0;background:var(--bg-card);border-top:1px solid var(--border-light);padding:10px 16px;z-index:98;align-items:center;gap:12px;box-shadow:0 -4px 20px rgba(20,20,42,.08)}
.mobile-buy-price{font-size:20px;font-weight:800;letter-spacing:-.5px}
.mobile-buy-price-old{font-size:12px;color:var(--text-muted);text-decoration:line-through}
.mobile-buy-bar .btn{flex:1;height:44px;border-radius:var(--radius)}

/* ===== TOAST ===== */
.toast{position:fixed;bottom:calc(var(--bottom-nav-height) + 80px);left:50%;transform:translate(-50%,20px);background:var(--header-bg);color:#fff;padding:12px 20px;border-radius:var(--radius);font-size:13.5px;font-weight:500;box-shadow:var(--shadow-xl);opacity:0;pointer-events:none;transition:var(--transition);z-index:300;display:flex;align-items:center;gap:10px;max-width:90vw}
.toast.show{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.toast svg{color:var(--green);flex-shrink:0}

/* ===== SCROLL TOP ===== */
.scroll-top{position:fixed;bottom:28px;right:28px;width:44px;height:44px;background:var(--header-bg);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-lg);opacity:0;pointer-events:none;transform:translateY(10px);transition:var(--transition);z-index:95}
.scroll-top.visible{opacity:1;pointer-events:auto;transform:translateY(0)}
.scroll-top:hover{background:var(--green)}

/* ===== RESPONSIVE ===== */
@media(max-width:1400px){.related-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:1200px){
  .product-layout{grid-template-columns:1fr 340px}
  .related-grid{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:1.5fr 1fr 1fr}
}
@media(max-width:1024px){
  .header-nav{display:none}
  .product-layout{grid-template-columns:1fr}
  .purchase-card{position:static}
}
@media(max-width:900px){
  .sidebar{display:none}
  .main-content{margin-left:0}
  .header-search{display:none}
  .menu-toggle{display:flex}
  .bottom-nav{display:flex}
  .main-content{padding-bottom:calc(var(--bottom-nav-height) + 32px)}
  .mobile-search{display:block;position:fixed;top:var(--header-height);left:0;right:0;background:var(--header-bg);z-index:99;padding:0 24px 12px}
  .main-content{padding-top:calc(var(--header-height) + 64px)}
  .related-grid{grid-template-columns:repeat(2,1fr)}
  .gallery-main{height:300px}
  .gallery-main-emoji{font-size:76px}
  .scroll-top{bottom:calc(var(--bottom-nav-height) + 16px)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .mobile-buy-bar{display:flex}
  .main-content{padding-bottom:calc(var(--bottom-nav-height) + 80px)}
}
@media(max-width:640px){
  .container{padding:0 16px}
  .header-actions .btn-icon{display:none}
  .header-actions .btn-register{display:none}
  .product-title{font-size:20px;letter-spacing:-.5px}
  .product-layout{gap:20px}
  .gallery-main{aspect-ratio:1/1;height:auto;max-height:min(92vw,360px)}
  .gallery-main img{object-fit:contain;background:var(--bg-alt)}
  .gallery-main-emoji{font-size:64px}
  .gallery-thumb{width:60px;height:46px;font-size:18px}
  .info-card{padding:18px}
  .purchase-card{padding:18px}
  .purchase-price{font-size:26px}
  .feature-list{grid-template-columns:1fr}
  .specs-grid{grid-template-columns:1fr}
  .related-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .section-title{font-size:18px}
  .tab-btn{padding:8px 12px;font-size:13px}
  .tab-panel{padding:18px}
  .footer-grid{grid-template-columns:1fr;gap:24px}
  .footer-bottom{flex-direction:column;align-items:flex-start}
  .mobile-menu{width:300px}
  .breadcrumbs{font-size:12px}
  .breadcrumbs .current{max-width:200px}
  .product-rating{gap:10px}
  .rating-stars{font-size:14px}
  .seller-row{flex-wrap:wrap}
  .seller-btn{width:100%;text-align:center}
}
@media(max-width:420px){
  .gallery-main{max-height:min(88vw,320px)}
}
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}
::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
