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

/* ── Tokens ───────────────────────────────────────────────────── */
:root {
  --blue:    #2563eb;
  --blue-dk: #1a4fc4;
  --blue-lt: #dbeafe;
  --glow:    rgba(37,99,235,.35);
  --white:   #ffffff;
  --off:     #f1f5fb;
  --dark:    #0b1222;
  --dark2:   #131d30;
  --body:    #374151;
  --muted:   #6b7280;
  --border:  #e2e8f0;
  --radius:  8px;
  --r-sm:    5px;
  --sh:      0 4px 20px rgba(37,99,235,.12);
  --sh-lg:   0 16px 56px rgba(37,99,235,.18);
}

/* ── Base ─────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--white); color: var(--body); line-height: 1.6; font-size: 15px; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .75rem 1.9rem; border-radius: var(--radius); font-size: .9rem; font-weight: 700; cursor: pointer; border: 2px solid transparent; transition: all .2s; }
.btn-blue { background: var(--blue); color: var(--white); border-color: var(--blue); box-shadow: 0 4px 18px var(--glow); }
.btn-blue:hover { background: var(--blue-dk); border-color: var(--blue-dk); color: var(--white); transform: translateY(-1px); box-shadow: 0 8px 28px var(--glow); }
.btn-white { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-white:hover { background: var(--blue-lt); border-color: var(--blue-lt); color: var(--blue-dk); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-ghost { background: var(--off); color: var(--dark); border-color: var(--border); }
.btn-ghost:hover { background: var(--border); }
.btn-lg { padding: .9rem 2.4rem; font-size: .95rem; }
.btn-full { width: 100%; }
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); box-shadow: 0 4px 18px var(--glow); }
.btn-primary:hover { background: var(--blue-dk); color: var(--white); transform: translateY(-1px); }

/* ── Header ───────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; height: 66px; gap: 1.5rem; }
.site-logo { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.site-logo img { height: 40px; width: auto; border-radius: var(--r-sm); }
.site-logo-text { font-size: 1.1rem; font-weight: 800; color: var(--dark); letter-spacing: -.02em; }
.site-logo-text em { font-style: normal; color: var(--blue); }
.site-nav { display: flex; gap: .1rem; flex: 1; justify-content: center; }
.site-nav a { padding: .4rem .9rem; font-size: .875rem; font-weight: 500; color: var(--body); border-radius: var(--r-sm); transition: all .15s; }
.site-nav a:hover { color: var(--blue); background: var(--blue-lt); }
.header-end { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.hdr-search { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--off); transition: border-color .2s; }
.hdr-search:focus-within { border-color: var(--blue); background: var(--white); }
.hdr-search input { border: none; outline: none; padding: .4rem .9rem; font-size: .82rem; width: 160px; background: transparent; color: var(--dark); }
.hdr-search button { background: none; border: none; cursor: pointer; padding: .4rem .8rem; color: var(--muted); display: flex; align-items: center; }
.hdr-search button:hover { color: var(--blue); }
.cart-link { position: relative; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--radius); color: var(--dark); transition: all .15s; }
.cart-link:hover { background: var(--off); color: var(--blue); }
.cart-badge { position: absolute; top: 2px; right: 2px; background: var(--blue); color: var(--white); font-size: .58rem; font-weight: 700; min-width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0 3px; }

/* ── Hero (blue — the logo's world) ──────────────────────────── */
.hero { position: relative; background: linear-gradient(145deg, #1a4fc4 0%, #2563eb 50%, #1d7af0 100%); padding: 5rem 0 0; text-align: center; overflow: hidden; }

/* Circuit trace decoration — echoes logo's PCB motif */
.hero-circuits { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero-eyebrow { font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 2.5rem; }

.hero-logo-wrap { display: inline-block; margin-bottom: 2.5rem; position: relative; z-index: 1; }
.hero-logo-wrap img { height: 180px; width: auto; border-radius: 20px; filter: drop-shadow(0 20px 60px rgba(0,0,30,.4)); }

.hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 900; line-height: 1.05; letter-spacing: -.04em; color: var(--white); margin-bottom: 1.25rem; position: relative; z-index: 1; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.75); line-height: 1.8; max-width: 500px; margin: 0 auto 2.75rem; position: relative; z-index: 1; }
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 4rem; position: relative; z-index: 1; }

/* Stats — white strip that bridges hero into body */
.hero-stats { background: var(--white); border-top: none; display: grid; grid-template-columns: repeat(4,1fr); position: relative; z-index: 1; }
.hero-stat { padding: 1.75rem 1rem; text-align: center; border-right: 1px solid var(--border); }
.hero-stat:last-child { border-right: none; }
.hero-stat strong { display: block; font-size: 1.45rem; font-weight: 900; color: var(--dark); line-height: 1.1; margin-bottom: .2rem; }
.hero-stat span { font-size: .7rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

/* ── Features (dark) ─────────────────────────────────────────── */
.features { background: var(--dark); padding: 5rem 0; }
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.feat-card { background: var(--dark2); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); padding: 2rem; transition: border-color .2s; }
.feat-card:hover { border-color: rgba(37,99,235,.5); }
.feat-card-icon { width: 48px; height: 48px; background: rgba(37,99,235,.2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1.25rem; }
.feat-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.feat-card p { font-size: .85rem; color: rgba(255,255,255,.45); line-height: 1.75; }

/* ── Section header ───────────────────────────────────────────── */
.section-hd { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
.section-label { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: .5rem; }
.section-hd h2 { font-size: 1.9rem; font-weight: 900; color: var(--dark); letter-spacing: -.03em; }
.see-all { font-size: .82rem; font-weight: 600; color: var(--blue); }
.see-all:hover { color: var(--blue-dk); }

/* ── Categories ───────────────────────────────────────────────── */
.cats-section { padding: 5rem 0; background: var(--white); }
.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.cat-tile { background: var(--off); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 2rem 1.5rem; display: flex; flex-direction: column; transition: all .2s; position: relative; overflow: hidden; }
.cat-tile::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--blue-dk), var(--blue)); opacity: 0; transition: opacity .2s; border-radius: inherit; }
.cat-tile:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--sh-lg); }
.cat-tile:hover::before { opacity: 1; }
.cat-tile:hover h3, .cat-tile:hover p, .cat-tile:hover .cat-arrow { color: var(--white); }
.cat-tile > * { position: relative; z-index: 1; }
.cat-emoji { font-size: 2rem; margin-bottom: 1.1rem; line-height: 1; }
.cat-tile h3 { font-size: .95rem; font-weight: 800; color: var(--dark); margin-bottom: .35rem; transition: color .2s; }
.cat-tile p { font-size: .8rem; color: var(--muted); flex: 1; transition: color .2s; }
.cat-arrow { margin-top: 1.5rem; font-size: .78rem; font-weight: 700; color: var(--blue); transition: color .2s; }

/* ── Trust ────────────────────────────────────────────────────── */
.trust-section { background: var(--off); border-top: 1px solid var(--border); padding: 2.5rem 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.trust-item { display: flex; align-items: center; gap: 1rem; }
.trust-icon { width: 44px; height: 44px; background: var(--blue); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.trust-item strong { display: block; font-size: .875rem; font-weight: 700; color: var(--dark); }
.trust-item p { font-size: .75rem; color: var(--muted); margin: 0; }

/* ── Newsletter ───────────────────────────────────────────────── */
.newsletter { background: var(--blue); padding: 3rem 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.newsletter-inner h3 { font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: .2rem; }
.newsletter-inner p { font-size: .82rem; color: rgba(255,255,255,.65); }
.nl-form { display: flex; gap: .5rem; }
.nl-form input { padding: .7rem 1.2rem; border: 1.5px solid rgba(255,255,255,.3); border-radius: var(--radius); background: rgba(255,255,255,.12); color: var(--white); font-size: .875rem; outline: none; width: 240px; }
.nl-form input::placeholder { color: rgba(255,255,255,.45); }
.nl-form input:focus { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.18); }
.nl-form button { background: var(--white); color: var(--blue); border: none; padding: .7rem 1.5rem; font-size: .85rem; font-weight: 700; border-radius: var(--radius); cursor: pointer; transition: all .2s; }
.nl-form button:hover { background: var(--blue-lt); }

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: rgba(255,255,255,.45); padding: 4rem 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-logo-img { height: 48px; width: auto; border-radius: var(--r-sm); margin-bottom: 1rem; }
.footer-logo-text { font-size: 1rem; font-weight: 800; color: var(--white); letter-spacing: -.01em; display: block; margin-bottom: 1rem; }
.footer-brand p { font-size: .82rem; line-height: 1.8; margin-bottom: 1.25rem; }
.footer-socials { display: flex; gap: .75rem; }
.footer-socials a { color: rgba(255,255,255,.3); transition: color .2s; }
.footer-socials a:hover { color: var(--white); }
.footer-col h4 { font-size: .65rem; text-transform: uppercase; letter-spacing: .18em; color: rgba(255,255,255,.85); font-weight: 700; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: .82rem; color: rgba(255,255,255,.4); margin-bottom: .5rem; transition: color .15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding: 1.5rem 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; font-size: .75rem; }
.pay-icons { display: flex; gap: .5rem; }
.pay-icons span { background: rgba(255,255,255,.07); color: rgba(255,255,255,.35); font-size: .62rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; letter-spacing: .5px; }

/* ── Page top ─────────────────────────────────────────────────── */
.page-top { background: linear-gradient(135deg, var(--blue-dk) 0%, var(--blue) 100%); padding: 2.5rem 0; }
.breadcrumb { font-size: .75rem; color: rgba(255,255,255,.6); margin-bottom: .5rem; }
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--white); }
.page-top h1 { font-size: 2rem; font-weight: 900; color: var(--white); letter-spacing: -.03em; }
.page-top p { font-size: .82rem; color: rgba(255,255,255,.65); margin-top: .3rem; }

/* ── Shop ─────────────────────────────────────────────────────── */
.shop-wrap { padding: 2.5rem 0 5rem; }
.shop-inner { display: grid; grid-template-columns: 210px 1fr; gap: 2.5rem; align-items: start; }
.sidebar { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 82px; }
.sidebar h4 { font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.sidebar-search { display: flex; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; }
.sidebar-search input { flex: 1; border: none; outline: none; padding: .48rem .85rem; font-size: .82rem; color: var(--dark); background: transparent; }
.sidebar-search button { background: var(--blue); border: none; color: var(--white); padding: .48rem .85rem; cursor: pointer; display: flex; align-items: center; }
.filter-list { list-style: none; }
.filter-list li a { display: flex; align-items: center; justify-content: space-between; padding: .5rem .6rem; border-radius: var(--r-sm); font-size: .85rem; color: var(--body); transition: all .15s; }
.filter-list li a:hover { background: var(--off); color: var(--blue); }
.filter-list li a.active { background: var(--blue-lt); color: var(--blue); font-weight: 700; }
.filter-list li a span { font-size: .7rem; color: var(--muted); background: var(--off); padding: 1px 6px; border-radius: 100px; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.shop-count { font-size: .82rem; color: var(--muted); }
.shop-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }

/* ── Product card ─────────────────────────────────────────────── */
.prod-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--border); transition: all .2s; display: flex; flex-direction: column; }
.prod-card:hover { border-color: var(--blue); box-shadow: var(--sh); transform: translateY(-2px); }
.prod-img { aspect-ratio: 1; overflow: hidden; background: var(--off); position: relative; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.prod-card:hover .prod-img img { transform: scale(1.05); }
.prod-overlay { position: absolute; inset: 0; background: rgba(11,18,34,.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; }
.prod-overlay span { color: var(--white); font-size: .75rem; font-weight: 700; padding: .45rem 1.2rem; border-radius: var(--r-sm); border: 1.5px solid rgba(255,255,255,.6); letter-spacing: .05em; }
.prod-card:hover .prod-overlay { opacity: 1; }
.prod-info { padding: 1rem 1.1rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.prod-name { font-size: .9rem; font-weight: 700; color: var(--dark); margin-bottom: .3rem; line-height: 1.4; flex: 1; }
.prod-footer { display: flex; align-items: center; justify-content: space-between; margin-top: .75rem; }
.prod-price { font-size: 1.1rem; font-weight: 900; color: var(--blue); }
.prod-atc { background: var(--blue); border: none; color: var(--white); width: 34px; height: 34px; border-radius: var(--r-sm); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; flex-shrink: 0; }
.prod-atc:hover { background: var(--blue-dk); }

/* ── Pagination ───────────────────────────────────────────────── */
.pagination { display: flex; align-items: center; gap: .5rem; margin-top: 2.5rem; }
.page-btn { padding: .45rem .9rem; border-radius: var(--r-sm); font-size: .85rem; font-weight: 600; color: var(--body); border: 1.5px solid var(--border); background: var(--white); transition: all .15s; }
.page-btn:hover { border-color: var(--blue); color: var(--blue); }
.page-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ── Empty state ──────────────────────────────────────────────── */
.empty { text-align: center; padding: 5rem 2rem; }
.empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty h3 { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin-bottom: .5rem; }
.empty p { color: var(--muted); margin-bottom: 1.5rem; }

/* ── Product page ─────────────────────────────────────────────── */
.product-wrap { padding: 2.5rem 0 5rem; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.gallery-main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--off); border: 1.5px solid var(--border); margin-bottom: .75rem; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .5rem; }
.gallery-thumbs img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--r-sm); border: 2px solid var(--border); cursor: pointer; transition: border-color .15s; background: var(--off); }
.gallery-thumbs img.active, .gallery-thumbs img:hover { border-color: var(--blue); }
.prod-detail h1 { font-size: 1.85rem; font-weight: 900; color: var(--dark); letter-spacing: -.03em; margin-bottom: .75rem; }
.prod-rating { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem; }
.stars { color: #f59e0b; letter-spacing: 1px; }
.rating-txt { font-size: .82rem; color: var(--muted); }
.prod-price-lg { font-size: 2.1rem; font-weight: 900; color: var(--blue); margin-bottom: .3rem; }
.prod-price-note { font-size: .8rem; color: var(--muted); margin-bottom: 1.5rem; }
.feat-list { list-style: none; margin-bottom: 1.5rem; }
.feat-list li { display: flex; align-items: center; gap: .65rem; font-size: .875rem; color: var(--body); padding: .4rem 0; border-bottom: 1px solid var(--border); }
.feat-list li:last-child { border-bottom: none; }
.feat-list li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.prod-desc { font-size: .9rem; color: var(--muted); line-height: 1.85; margin-bottom: 2rem; }
.qty-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.qty-ctrl { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-btn-sm { background: none; border: none; padding: .5rem .9rem; cursor: pointer; font-size: 1.1rem; color: var(--body); transition: all .15s; }
.qty-btn-sm:hover { background: var(--off); color: var(--blue); }
.qty-input { border: none; outline: none; text-align: center; font-size: .9rem; font-weight: 700; width: 40px; color: var(--dark); background: transparent; }
.trust-list { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: .5rem; }
.trust-row { display: flex; align-items: center; gap: .55rem; font-size: .82rem; color: var(--muted); }

/* ── Cart ─────────────────────────────────────────────────────── */
.cart-wrap { padding: 2.5rem 0 5rem; }
.page-title { font-size: 2rem; font-weight: 900; color: var(--dark); letter-spacing: -.03em; margin-bottom: 2rem; }
.cart-count-tag { font-size: .82rem; font-weight: 500; color: var(--muted); margin-left: .5rem; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
.cart-list { display: flex; flex-direction: column; gap: .75rem; }
.cart-row { display: flex; align-items: center; gap: 1.25rem; background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.25rem; transition: border-color .2s; }
.cart-row:hover { border-color: var(--blue-lt); }
.cart-thumb { width: 80px; height: 80px; flex-shrink: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--off); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-meta { flex: 1; }
.cart-meta h4 { font-size: .9rem; font-weight: 700; color: var(--dark); margin-bottom: .2rem; }
.cart-meta span { font-size: .8rem; color: var(--muted); }
.cart-qty { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-price { font-size: 1rem; font-weight: 800; color: var(--blue); min-width: 70px; text-align: right; }
.remove-btn { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1rem; padding: .3rem; border-radius: 4px; transition: all .15s; }
.remove-btn:hover { color: #dc2626; background: #fef2f2; }
.order-box { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 82px; }
.order-box h3 { font-size: .95rem; font-weight: 800; color: var(--dark); margin-bottom: 1.25rem; }
.sum-row { display: flex; justify-content: space-between; align-items: center; font-size: .875rem; color: var(--body); margin-bottom: .75rem; }
.sum-total { font-size: 1.1rem; font-weight: 900; color: var(--dark); border-top: 1.5px solid var(--border); padding-top: .85rem; margin-top: .25rem; margin-bottom: 1.25rem; }
.ship-progress { height: 4px; background: var(--border); border-radius: 100px; overflow: hidden; margin: .5rem 0; }
.ship-bar { height: 100%; background: var(--blue); border-radius: 100px; transition: width .4s; }
.ship-tip { font-size: .73rem; color: var(--muted); margin-bottom: 1.25rem; }
.cart-trust-row { display: flex; gap: 1rem; font-size: .7rem; color: var(--muted); margin-top: .75rem; justify-content: center; }

/* ── Checkout ─────────────────────────────────────────────────── */
.checkout-progress { background: var(--off); border-bottom: 1px solid var(--border); padding: 1rem 0; margin-bottom: 3rem; }
.prog-inner { display: flex; align-items: center; justify-content: center; gap: .75rem; font-size: .8rem; }
.prog-step { color: var(--muted); font-weight: 500; }
.prog-step.done { color: var(--blue); font-weight: 600; }
.prog-step.active { color: var(--dark); font-weight: 700; }
.prog-arrow { color: var(--border); }
.checkout-wrap { padding: 0 0 5rem; }
.checkout-inner { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; }
.form-block { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 2rem; margin-bottom: 1.5rem; }
.form-block h2 { font-size: .95rem; font-weight: 800; color: var(--dark); margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group:last-child { margin-bottom: 0; }
.form-group label { font-size: .75rem; font-weight: 600; color: var(--dark); }
.form-group input { padding: .65rem 1rem; border: 1.5px solid var(--border); border-radius: var(--r-sm); font-size: .875rem; outline: none; color: var(--dark); transition: border-color .2s; }
.form-group input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.08); }
.opt-tag { font-size: .7rem; color: var(--muted); margin-left: .25rem; font-weight: 400; }
.card-wrap { border: 1.5px solid var(--border); border-radius: var(--r-sm); padding: .75rem 1rem; }
.card-error { font-size: .82rem; color: #dc2626; margin-top: .5rem; min-height: 1.2rem; }
.pay-note { text-align: center; font-size: .72rem; color: var(--muted); margin-top: .85rem; }
.co-summary { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 82px; }
.co-summary h3 { font-size: .95rem; font-weight: 800; color: var(--dark); margin-bottom: 1.25rem; }
.co-item { display: flex; align-items: center; gap: .75rem; margin-bottom: .85rem; }
.co-img-wrap { position: relative; flex-shrink: 0; }
.co-img-wrap img { width: 52px; height: 52px; border-radius: var(--r-sm); object-fit: cover; border: 1px solid var(--border); background: var(--off); }
.co-qty-badge { position: absolute; top: -5px; right: -5px; background: var(--blue); color: var(--white); font-size: .56rem; font-weight: 700; width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.co-item-name { flex: 1; font-size: .82rem; font-weight: 600; color: var(--dark); line-height: 1.4; }
.co-item-price { font-size: .82rem; font-weight: 700; color: var(--body); }
.co-divider { height: 1px; background: var(--border); margin: 1rem 0; }

/* ── Success ──────────────────────────────────────────────────── */
.success-wrap { padding: 6rem 1.5rem; text-align: center; background: var(--off); min-height: 70vh; display: flex; align-items: center; justify-content: center; }
.success-card { max-width: 460px; width: 100%; background: var(--white); border: 1.5px solid var(--border); border-radius: 20px; padding: 3.5rem 2.5rem; box-shadow: var(--sh-lg); }
.success-icon { font-size: 4rem; display: block; margin-bottom: 1.5rem; animation: pop .5s cubic-bezier(.34,1.56,.64,1); }
.success-card h1 { font-size: 1.8rem; font-weight: 900; color: var(--dark); margin-bottom: .75rem; letter-spacing: -.02em; }
.success-card p { color: var(--muted); line-height: 1.75; margin-bottom: .35rem; }
.success-sub { font-size: .85rem; }
.success-card .btn { margin-top: 2rem; }

/* ── Animations ───────────────────────────────────────────────── */
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .shop-inner { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .shop-grid { grid-template-columns: repeat(2,1fr); }
  .product-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .cart-layout { grid-template-columns: 1fr; }
  .order-box { position: static; }
  .checkout-inner { grid-template-columns: 1fr; }
  .co-summary { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .newsletter-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .hero { padding: 3.5rem 0 0; }
  .hero-logo-wrap img { height: 130px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .shop-grid { grid-template-columns: repeat(2,1fr); gap: 1rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .hdr-search { display: none; }
  .form-2col { grid-template-columns: 1fr; }
}
