/* ============================================================
   PalletLiquidationKings — Storefront styles
   Sky blue / white brand · clean · modern · responsive
   ============================================================ */

:root {
  --navy:#0F2747; --navy-ink:#172033;
  --royal:#2563EB; --royal-deep:#1D4ED8;
  --gold:#F59E0B; --gold-deep:#B45309; --gold-tint:#FEF3C7; --gold-line:#FDE68A;
  --cream:#FFFDF5; --soft-blue:#EAF4FF;
  --sky-50:#EFF6FF; --sky-100:#DBEAFE; --sky-200:#BFDBFE; --sky-300:#93C5FD;
  --sky-400:#60A5FA; --sky-500:#3B82F6; --sky-600:#2563EB; --sky-700:#1D4ED8; --sky-800:#1E3A8A;
  --ink:#172033; --ink-soft:#3B4A63; --muted:#64748b; --line:#DCE4F0; --line-soft:#EEF3FA;
  --bg:#FFFDF5; --bg-soft:#F3F7FB;
  --green:#16a34a; --amber:#F59E0B; --red:#dc2626;
  --radius:16px; --radius-sm:10px;
  --shadow:0 10px 30px rgba(15,39,71,.08);
  --shadow-lg:0 22px 50px rgba(15,39,71,.14);
  --font-body:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  --font-head:'Sora','Inter',system-ui,Arial,sans-serif;
}

* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; overflow-x:clip; }
body { font-family:var(--font-body); color:var(--ink); background:var(--bg); line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:clip; }
img { max-width:100%; height:auto; display:block; }
a { color:var(--sky-600); text-decoration:none; }
ul { list-style:none; }
input, select, textarea, button { font-family:inherit; font-size:inherit; }
svg { flex-shrink:0; }
[hidden] { display:none !important; }

.container { width:100%; max-width:1200px; margin:0 auto; padding:0 22px; min-width:0; }
.section { padding:50px 0; }
.section--alt { background:var(--bg-soft); }
.muted { color:var(--muted); }
.text-sky { color:var(--sky-600); }
.text-ok { color:var(--green); }
.text-danger { color:var(--red); }

/* ---------- Buttons ---------- */
.btn { display:inline-flex; align-items:center; gap:8px; justify-content:center; border:none; cursor:pointer; font-weight:600; border-radius:var(--radius-sm); padding:11px 20px; font-size:14.5px; transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; white-space:nowrap; max-width:100%; overflow:hidden; text-overflow:ellipsis; }
.btn-primary { background:var(--navy); color:#fff; box-shadow:0 6px 16px rgba(15,39,71,.26); }
.btn-primary:hover { transform:translateY(-2px); background:var(--royal); box-shadow:0 12px 26px rgba(37,99,235,.34); }
.btn-ghost { background:transparent; color:var(--sky-700); border:1.5px solid var(--sky-300); }
.btn-ghost:hover { background:var(--sky-50); border-color:var(--sky-400); }
.btn-white { background:#fff; color:var(--sky-700); box-shadow:0 8px 22px rgba(0,0,0,.14); }
.btn-white:hover { transform:translateY(-2px); background:var(--sky-50); }
.btn-disabled, .btn-disabled:hover { background:var(--line); color:var(--muted); box-shadow:none; transform:none; cursor:not-allowed; }
.btn-danger-ghost { color:var(--red); border-color:#fecaca; }
.btn-danger-ghost:hover { background:#fef2f2; border-color:var(--red); }
.btn-lg { padding:14px 26px; font-size:15.5px; border-radius:12px; }
.btn-block { width:100%; }
.btn-sm { padding:7px 12px; font-size:13px; border-radius:8px; }
.btn-link { color:var(--sky-600); font-weight:600; font-size:14.5px; display:inline-flex; align-items:center; gap:4px; }
.btn-link:hover { color:var(--sky-800); text-decoration:underline; }
.btn-add { background:var(--navy); color:#fff; border:1.5px solid var(--navy); }
.btn-add:hover { background:var(--royal); color:#fff; border-color:var(--royal); transform:translateY(-2px); box-shadow:0 8px 18px rgba(37,99,235,.32); }
.btn-add-lg { background:var(--navy); color:#fff; box-shadow:0 8px 20px rgba(15,39,71,.3); }
.btn-add-lg:hover { background:var(--royal); color:#fff; box-shadow:0 10px 24px rgba(37,99,235,.35); }

/* ---------- Topbar & header ---------- */
.topbar { background:var(--navy); color:var(--sky-100); font-size:12px; }
.topbar-inner { display:grid; grid-template-columns:1fr minmax(220px,360px) 1fr; align-items:center; gap:16px; padding-top:8px; padding-bottom:8px; }
.topbar-text { display:flex; align-items:center; gap:7px; font-weight:500; grid-column:1; justify-self:start; min-width:0; }
.topbar-text svg { flex-shrink:0; }
.topbar-links { display:flex; gap:16px; grid-column:3; justify-self:end; white-space:nowrap; }
.topbar-links a { color:var(--sky-100); }
.topbar-links a:hover { color:#fff; }
.topbar-search { grid-column:2; justify-self:stretch; }

.site-header { position:sticky; top:0; z-index:80; background:#fff; box-shadow:0 1px 0 var(--line-soft); }
.header-main { display:grid; grid-template-areas:"brand nav actions"; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:20px; padding-top:10px; padding-bottom:10px; position:relative; }
.brand { display:flex; align-items:center; gap:10px; grid-area:brand; justify-self:start; min-width:0; }
.brand-mark { display:inline-flex; flex-shrink:0; filter:drop-shadow(0 4px 10px rgba(15,39,71,.22)); }
.brand-text strong { font-family:var(--font-head); font-size:18px; font-weight:800; color:var(--navy); letter-spacing:-.3px; line-height:1.1; }
.brand-text em { font-style:normal; color:var(--royal); }
.brand-text small { display:block; font-size:10px; letter-spacing:2.2px; text-transform:uppercase; color:var(--muted); font-weight:700; }
.brand--light .brand-text strong { color:#fff; }
.brand--light .brand-text small { color:var(--sky-100); }

.main-nav { grid-area:nav; display:flex; align-items:center; justify-content:center; gap:24px; min-width:0; }
.main-nav > a, .drop-btn { font-weight:600; font-size:14px; color:var(--ink-soft); background:none; border:none; cursor:pointer; display:inline-flex; align-items:center; gap:5px; padding:6px 0; position:relative; white-space:nowrap; }
.main-nav > a:hover { color:var(--royal); }
.main-nav > a.active { color:var(--navy); }
.main-nav > a:hover::after { content:""; position:absolute; left:0; right:0; bottom:0; height:2.5px; border-radius:2px; background:rgba(37,99,235,.32); }
.main-nav > a.active::after { content:""; position:absolute; left:0; right:0; bottom:0; height:3px; border-radius:2px; background:var(--gold); box-shadow:0 2px 8px rgba(245,158,11,.4); }
.nav-drop { position:relative; }
.drop-btn::after { display:none; }
.drop-menu { position:absolute; top:calc(100% + 12px); left:50%; transform:translate(-50%,6px); background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow-lg); padding:10px; min-width:250px; display:grid; grid-template-columns:1fr; gap:2px; opacity:0; visibility:hidden; transition:.18s ease; z-index:50; }
.drop-menu a { display:block; padding:9px 12px; border-radius:9px; color:var(--ink-soft); font-size:14px; font-weight:600; }
.drop-menu a:hover { background:var(--sky-50); color:var(--sky-700); }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { opacity:1; visibility:visible; transform:translate(-50%,0); }

.header-actions { display:flex; align-items:center; gap:10px; grid-area:actions; justify-self:end; }
.search-form { display:flex; align-items:center; gap:8px; background:#fff; border:1px solid rgba(255,255,255,.35); border-radius:999px; padding:6px 13px; color:var(--muted); transition:.15s; min-width:0; }
.search-form:focus-within { border-color:var(--sky-200); box-shadow:0 0 0 3px rgba(59,130,246,.18); }
.search-form svg { color:var(--sky-300); flex-shrink:0; }
.search-form input { border:none; outline:none; background:transparent; flex:1; min-width:0; font-size:12.5px; color:var(--ink); }
.search-form input::placeholder { color:var(--sky-700); }
.cart-link { position:relative; width:40px; height:40px; border-radius:50%; background:var(--sky-50); border:1.5px solid var(--sky-200); display:inline-flex; align-items:center; justify-content:center; color:var(--sky-700); transition:.15s; }
.cart-link:hover { background:var(--sky-600); color:#fff; border-color:var(--sky-600); }
.cart-badge { position:absolute; top:-5px; right:-5px; background:var(--royal); color:#fff; font-size:11px; font-weight:700; min-width:19px; height:19px; padding:0 5px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; box-shadow:0 2px 6px rgba(37,99,235,.45); }
.menu-toggle { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px; }
.menu-toggle span { width:24px; height:2.5px; background:var(--ink); border-radius:2px; transition:.2s; }

/* ---------- Page hero (inner pages) ---------- */
.page-wrap { min-height:60vh; }
.page-hero { background:linear-gradient(160deg,var(--soft-blue) 0%,#fff 62%); padding:34px 0 38px; border-bottom:1px solid var(--line-soft); }
.page-hero--compact { padding:26px 0 30px; }
.page-hero h1 { font-family:var(--font-head); font-size:clamp(24px,3.6vw,36px); font-weight:800; letter-spacing:-.6px; color:var(--ink); margin:8px 0 6px; }
.page-hero p { color:var(--muted); max-width:640px; font-size:14.5px; }
.crumbs { display:flex; align-items:center; gap:9px; font-size:13px; color:var(--muted); flex-wrap:wrap; }
.crumbs a { color:var(--sky-600); font-weight:600; }
.crumbs a:hover { text-decoration:underline; color:var(--sky-800); }

/* Keep long tokens (order numbers, emails, titles) from blowing the layout wide */
.link-mono, .cart-info h3, .product-title, .summary-item span, .receipt-row span,
.account-order, .crumbs, .topbar-text, .brand-text strong { overflow-wrap:anywhere; }

.eyebrow { display:inline-block; font-size:12px; font-weight:800; letter-spacing:2.4px; text-transform:uppercase; color:var(--sky-600); margin-bottom:8px; }
.eyebrow--light { color:var(--sky-100); }
.section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:26px; }
.section-head.center { flex-direction:column; align-items:center; text-align:center; }
.section-head h2 { font-family:var(--font-head); font-size:clamp(22px,3vw,30px); font-weight:800; letter-spacing:-.5px; }
.section-head p { color:var(--muted); margin-top:6px; max-width:560px; font-size:14.5px; }

/* ---------- HERO ---------- */
.hero { position:relative; overflow:hidden; background:linear-gradient(180deg,var(--soft-blue) 0%,#fff 92%); padding:46px 0 56px; }
.hero::before { content:""; position:absolute; top:0; left:0; right:0; bottom:0; background:linear-gradient(180deg,rgba(15,39,71,.7) 0%,rgba(15,39,71,.48) 60%,rgba(15,39,71,.62) 100%), url('../images/backgroundimage.jpg') center/cover no-repeat; filter:brightness(.82) saturate(.9); pointer-events:none; z-index:0; }
.hero-decor { position:absolute; border-radius:50%; filter:blur(70px); pointer-events:none; z-index:1; }
.hero-decor--1 { width:480px; height:480px; background:rgba(37,99,235,.13); top:-160px; right:-120px; }
.hero-decor--2 { width:420px; height:420px; background:rgba(59,130,246,.17); bottom:-180px; left:-140px; }
.hero-inner { position:relative; display:grid; grid-template-columns:1.1fr .9fr; gap:44px; align-items:center; z-index:1; }
.hero-badge { display:inline-flex; align-items:center; gap:7px; background:#fff; border:1.5px solid var(--sky-200); color:var(--royal-deep); font-size:13px; font-weight:700; padding:7px 13px; border-radius:999px; box-shadow:0 6px 16px rgba(15,39,71,.08); margin-bottom:18px; }
.hero h1 { font-family:var(--font-head); font-size:clamp(30px,4.6vw,48px); font-weight:800; letter-spacing:-1.2px; line-height:1.12; color:#fff; }
.hero h1::after { content:""; display:block; width:80px; height:5px; border-radius:3px; background:linear-gradient(90deg,var(--gold),#fbbf24); margin-top:16px; }
.hero-sub { color:rgba(255,255,255,.88); font-size:16px; max-width:520px; margin:16px 0 22px; }
.hero-search { display:flex; align-items:center; gap:10px; background:#fff; border:1.5px solid var(--line); border-radius:14px; padding:7px 7px 7px 16px; box-shadow:var(--shadow); max-width:540px; }
.hero-search svg { color:var(--muted); flex-shrink:0; }
.hero-search input { flex:1; border:none; outline:none; font-size:15px; min-width:0; }
.hero-terms { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:16px; font-size:13px; color:rgba(255,255,255,.72); }
.chip { display:inline-flex; align-items:center; background:#fff; border:1px solid var(--line); color:var(--ink-soft); font-size:12.5px; font-weight:600; padding:4px 12px; border-radius:999px; transition:.15s; }
.chip:hover { border-color:var(--sky-400); color:var(--sky-700); background:var(--sky-50); }
.hero-stats { display:flex; gap:32px; margin-top:28px; }
.stat strong { display:block; font-family:var(--font-head); font-size:23px; font-weight:800; color:#fff; letter-spacing:-.4px; }
.stat span { font-size:12.5px; color:rgba(255,255,255,.72); font-weight:500; }
.hero-visual { position:relative; }
.hero-card--main { border-radius:26px; overflow:hidden; box-shadow:var(--shadow-lg); border:6px solid #fff; position:relative; animation:floaty 6s ease-in-out infinite; }
.hero-img-wrap { display:block; line-height:0; }
.hero-main-img { display:block; width:100%; height:auto; }
@keyframes floaty { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }

.cat-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.cat-card { position:relative; background:#fff; border:1.5px solid var(--line); border-radius:var(--radius); padding:20px 16px; text-align:left; transition:.2s ease; overflow:hidden; }
.cat-card:hover { transform:translateY(-4px); border-color:var(--sky-400); box-shadow:var(--shadow); }
.cat-icon { width:46px; height:46px; border-radius:13px; background:linear-gradient(135deg,var(--sky-100),var(--sky-50)); color:var(--sky-600); display:inline-flex; align-items:center; justify-content:center; margin-bottom:12px; transition:.2s; }
.cat-card:hover .cat-icon { background:linear-gradient(135deg,var(--navy),var(--royal)); color:#fff; }
.cat-card h3 { font-size:14.5px; font-weight:700; margin-bottom:3px; }
.cat-card p { font-size:12px; color:var(--muted); }
.cat-arrow { position:absolute; top:18px; right:16px; font-size:17px; color:var(--sky-300); transition:.2s; }
.cat-card:hover .cat-arrow { color:var(--sky-600); transform:translateX(3px); }

/* ---------- Product cards ---------- */
.product-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.product-card { background:#fff; border:1.5px solid var(--line); box-shadow:0 1px 3px rgba(15,39,71,.04); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.product-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); border-color:var(--sky-200); }
.product-media { position:relative; display:block; aspect-ratio:4/3; overflow:hidden; background:var(--bg-soft); }
.product-media img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.product-card:hover .product-media img { transform:scale(1.06); }
.badge-save { position:absolute; top:10px; left:10px; background:var(--gold); color:#fff; font-size:12px; font-weight:800; padding:4px 10px; border-radius:999px; box-shadow:0 4px 12px rgba(245,158,11,.4); }
.badge-soldout { position:absolute; top:10px; left:10px; background:var(--navy); color:#fff; font-size:12px; font-weight:700; padding:4px 10px; border-radius:999px; }
.badge-retail { position:absolute; top:10px; right:10px; background:#fff; border:1px solid var(--sky-200); color:var(--royal-deep); font-size:11.5px; font-weight:700; padding:4px 10px; border-radius:999px; box-shadow:0 4px 12px rgba(15,39,71,.10); }
.product-body { padding:14px 14px 16px; display:flex; flex-direction:column; gap:7px; flex:1; }
.product-cat { font-size:11px; font-weight:700; letter-spacing:1.4px; text-transform:uppercase; color:var(--royal); }
.product-title { font-size:15px; line-height:1.35; font-weight:700; }
.product-title a { color:var(--ink); }
.product-title a:hover { color:var(--royal); }
.product-meta { display:flex; flex-wrap:wrap; gap:6px; }
.pill-meta { font-size:11px; background:var(--sky-50); color:var(--royal-deep); border:1px solid var(--sky-200); padding:2px 9px; border-radius:999px; font-weight:600; }
.pill-warn { background:var(--gold-tint); border-color:var(--gold-line); color:var(--gold-deep); }
.product-bottom { margin-top:auto; padding-top:8px; display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.product-price { display:flex; flex-direction:column; min-width:0; }
.product-price strong { font-family:var(--font-head); font-size:18px; color:var(--navy); font-weight:800; line-height:1.1; }
.product-price del { font-size:12px; color:var(--muted); }
.add-form { display:inline-flex; max-width:100%; }
.add-form .btn { flex-shrink:0; }

/* ---------- Steps / how it works ---------- */
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.step { position:relative; background:#fff; border:1.5px solid var(--line); border-radius:var(--radius); padding:24px 22px; transition:.2s; }
.step:hover { border-color:var(--sky-300); box-shadow:var(--shadow); transform:translateY(-4px); }
.step-num { position:absolute; top:18px; right:20px; font-family:var(--font-head); font-size:34px; font-weight:800; color:var(--sky-100); line-height:1; }
.step-icon { width:46px; height:46px; border-radius:13px; background:linear-gradient(135deg,var(--navy),var(--royal)); color:#fff; display:inline-flex; align-items:center; justify-content:center; margin-bottom:14px; box-shadow:0 8px 18px rgba(37,99,235,.28); }
.step h3 { font-size:16px; font-weight:700; margin-bottom:6px; }
.step p { color:var(--muted); font-size:13.5px; }

/* ---------- CTA band ---------- */
.cta-panel { background:linear-gradient(135deg,var(--navy) 0%,var(--royal-deep) 55%,var(--royal) 100%); border-radius:24px; padding:40px 44px; display:grid; grid-template-columns:1.2fr .8fr; gap:36px; align-items:center; color:#fff; position:relative; overflow:hidden; }
.cta-panel::before { content:""; position:absolute; width:320px; height:320px; border-radius:50%; background:rgba(255,255,255,.09); top:-120px; right:-80px; }
.cta-panel::after { content:""; position:absolute; width:220px; height:220px; border-radius:50%; background:rgba(255,255,255,.07); bottom:-90px; left:32%; }
.cta-copy { position:relative; }
.cta-copy h2 { font-family:var(--font-head); font-size:clamp(22px,3vw,30px); font-weight:800; letter-spacing:-.5px; margin-bottom:10px; }
.cta-copy p { color:var(--sky-100); max-width:480px; margin-bottom:18px; font-size:14.5px; }
.cta-checks { margin-bottom:22px; }
.cta-checks li { display:flex; align-items:center; gap:10px; font-weight:600; font-size:14px; margin-bottom:8px; }
.cta-checks span { width:22px; height:22px; border-radius:50%; background:#fff; color:var(--sky-600); font-size:13px; font-weight:800; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.cta-stats { position:relative; display:grid; gap:14px; }
.cta-stat { background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22); border-radius:14px; padding:14px 18px; backdrop-filter:blur(6px); }
.cta-stat strong { display:block; font-family:var(--font-head); font-size:23px; font-weight:800; letter-spacing:-.4px; }
.cta-stat span { font-size:12.5px; color:var(--sky-100); font-weight:600; }

/* ---------- Testimonials ---------- */
.quote-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.quote { background:#fff; border:1.5px solid var(--line); border-radius:var(--radius); padding:24px; transition:.2s; }
.quote:hover { box-shadow:var(--shadow); transform:translateY(-4px); }
.stars { color:#fbbf24; letter-spacing:2px; font-size:15px; margin-bottom:10px; }
.quote blockquote { color:var(--ink-soft); font-size:14.5px; margin-bottom:16px; }
.quote figcaption strong { display:block; font-size:14px; }
.quote figcaption span { font-size:12.5px; color:var(--muted); }

/* ---------- Empty & alerts ---------- */
.empty-state { text-align:center; padding:44px 20px; border:1.5px dashed var(--sky-300); border-radius:var(--radius); background:var(--sky-50); }
.empty-state h3 { font-size:20px; font-weight:800; margin:10px 0 6px; }
.empty-state p { color:var(--muted); margin-bottom:18px; }
.empty-state svg { margin:0 auto; }
.alert { border-radius:12px; padding:14px 18px; margin-bottom:18px; font-size:14px; }
.alert-error { background:#fef2f2; border:1px solid #fecaca; color:#991b1b; }
.alert-error ul { margin:6px 0 0 18px; list-style:disc; }

/* ---------- Shop layout ---------- */
.shop-layout { display:grid; grid-template-columns:235px 1fr; gap:26px; align-items:start; }
.filter-panel { background:#fff; border:1.5px solid var(--line); border-radius:var(--radius); padding:18px; position:sticky; top:20px; }
.filter-panel h3 { font-size:11.5px; letter-spacing:1.6px; text-transform:uppercase; color:var(--muted); margin:16px 0 8px; }
.filter-panel h3:first-child { margin-top:0; }
.filter-list li { margin-bottom:2px; }
.filter-list a { display:flex; align-items:center; justify-content:space-between; padding:7px 10px; border-radius:9px; color:var(--ink-soft); font-weight:600; font-size:13.5px; transition:.12s; }
.filter-list a:hover { background:var(--sky-50); color:var(--sky-700); }
.filter-list a.on { background:linear-gradient(135deg,var(--navy),var(--royal)); color:#fff; box-shadow:0 5px 12px rgba(37,99,235,.30); }
.filter-list .count { font-size:11px; background:#fff; border-radius:999px; padding:1px 8px; color:inherit; opacity:.8; }
.filter-list a.on .count { background:rgba(255,255,255,.25); }
.sort-group select { width:100%; padding:9px 12px; border:1.5px solid var(--line); border-radius:10px; background:var(--bg-soft); font-weight:600; color:var(--ink); outline:none; cursor:pointer; }
.sort-group select:focus { border-color:var(--sky-400); }
.filter-close { display:none; margin-top:16px; }
.shop-results { min-width:0; }
.results-bar { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.results-bar p { color:var(--muted); }
.filter-toggle { display:none; }
.pagination { display:flex; gap:8px; justify-content:center; margin-top:32px; }
.pagination a { width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center; border-radius:10px; border:1.5px solid var(--line); font-weight:700; color:var(--ink-soft); transition:.15s; }
.pagination a:hover { border-color:var(--sky-400); color:var(--sky-600); }
.pagination a.on { background:linear-gradient(135deg,var(--navy),var(--royal)); color:#fff; border-color:transparent; }

/* ---------- Product detail ---------- */
.product-layout { display:grid; grid-template-columns:1fr 1fr; gap:36px; margin-top:20px; align-items:start; }
.gallery-main { border-radius:22px; overflow:hidden; border:1.5px solid var(--line); box-shadow:var(--shadow); aspect-ratio:4/3; background:var(--bg-soft); }
.gallery-main img { width:100%; height:100%; object-fit:cover; }
.gallery-badges { display:flex; gap:10px; margin-top:14px; flex-wrap:wrap; }
.product-info h1 { font-family:var(--font-head); font-size:clamp(24px,3.2vw,34px); font-weight:800; letter-spacing:-.5px; margin-bottom:16px; }
.price-row { display:flex; align-items:baseline; flex-wrap:wrap; gap:12px; margin-bottom:22px; }
.price-now { font-family:var(--font-head); font-size:34px; font-weight:800; color:var(--navy); letter-spacing:-.5px; }
.price-was { font-size:18px; color:var(--muted); text-decoration:line-through; }
.price-save { font-size:13px; font-weight:700; color:var(--green); background:#f0fdf4; border:1px solid #bbf7d0; padding:4px 10px; border-radius:999px; }
.spec-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:0; border:1.5px solid var(--line); border-radius:var(--radius); margin-bottom:24px; overflow:hidden; }
.spec-grid li { padding:13px 16px; border-bottom:1px solid var(--line-soft); }
.spec-grid li:nth-child(odd) { border-right:1px solid var(--line-soft); }
.spec-grid li:nth-last-child(-n+2) { border-bottom:none; }
.spec-grid span { display:block; font-size:11.5px; letter-spacing:1px; text-transform:uppercase; color:var(--muted); font-weight:700; margin-bottom:3px; }
.spec-grid strong { font-size:14.5px; }
.buy-box { background:var(--soft-blue); border:1.5px solid var(--sky-200); border-radius:var(--radius); padding:20px; margin-bottom:26px; }
.buy-form { display:flex; gap:12px; flex-wrap:wrap; }
.qty-stepper { display:inline-flex; align-items:center; border:1.5px solid var(--sky-300); border-radius:12px; background:#fff; overflow:hidden; }
.qty-btn { width:40px; height:46px; background:none; border:none; font-size:19px; color:var(--royal-deep); cursor:pointer; transition:.12s; }
.qty-btn:hover { background:var(--sky-100); }
.qty-stepper input { width:52px; text-align:center; border:none; outline:none; font-weight:700; font-size:15px; -moz-appearance:textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance:none; }
.buy-trust { display:flex; gap:16px; flex-wrap:wrap; margin-top:16px; font-size:12.5px; color:var(--royal-deep); font-weight:600; }
.product-desc h2 { font-family:var(--font-head); font-size:18px; font-weight:800; margin-bottom:10px; }
.product-desc p { color:var(--ink-soft); font-size:15px; }

/* ---------- Cart ---------- */
.cart-layout { display:grid; grid-template-columns:1.6fr .9fr; gap:26px; align-items:start; }
.cart-items { display:flex; flex-direction:column; gap:12px; }
.cart-row { display:grid; grid-template-columns:88px 1fr auto auto auto; gap:16px; align-items:center; background:#fff; border:1.5px solid var(--line); border-radius:var(--radius); padding:14px; transition:.15s; }
.cart-row:hover { border-color:var(--sky-300); box-shadow:var(--shadow); }
.cart-thumb { width:88px; height:66px; border-radius:10px; overflow:hidden; background:var(--bg-soft); }
.cart-thumb img { width:100%; height:100%; object-fit:cover; }
.cart-info h3 { font-size:14px; font-weight:700; margin:3px 0 5px; }
.cart-info h3 a { color:var(--ink); }
.cart-info h3 a:hover { color:var(--sky-600); }
.cart-priceline { display:flex; align-items:baseline; gap:8px; font-size:14px; }
.cart-priceline del { color:var(--muted); font-size:12px; }
.cart-qty { display:flex; flex-direction:column; align-items:center; gap:6px; }
.btn-update { font-size:12px; color:var(--sky-700); background:none; border:none; cursor:pointer; font-weight:700; }
.btn-update:hover { text-decoration:underline; }
.cart-line-total { min-width:80px; text-align:right; font-size:16px; }
.cart-remove .btn-icon { width:30px; height:30px; border-radius:8px; border:1.5px solid var(--line); background:none; color:var(--muted); cursor:pointer; transition:.12s; }
.cart-remove .btn-icon:hover { background:#fef2f2; border-color:#fca5a5; color:var(--red); }
.cart-actions { display:flex; justify-content:space-between; margin-top:4px; }

.cart-summary { background:#fff; border:1.5px solid var(--line); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow); position:sticky; top:20px; }
.cart-summary h3 { font-family:var(--font-head); font-size:17px; font-weight:800; margin-bottom:14px; }
.summary-row { display:flex; justify-content:space-between; align-items:center; font-size:14.5px; padding:7px 0; color:var(--ink-soft); }
.summary-divider { border-top:1.5px dashed var(--line); margin:12px 0; }
.summary-total { font-size:17px; color:var(--ink); }
.summary-total strong { font-size:20px; color:var(--navy); font-family:var(--font-head); }
.summary-note { margin-top:12px; font-size:12.5px; text-align:center; color:var(--muted); }
.summary-item { display:grid; grid-template-columns:52px 1fr auto; gap:12px; align-items:center; padding:8px 0; border-bottom:1px solid var(--line-soft); }
.summary-item img { width:52px; height:40px; object-fit:cover; border-radius:8px; }
.summary-item span { font-size:13px; font-weight:600; display:block; line-height:1.3; }
.summary-item small { color:var(--muted); font-size:11.5px; }

/* ---------- Checkout ---------- */
.steps-bar { display:flex; align-items:center; gap:12px; margin-bottom:24px; font-size:13.5px; font-weight:700; color:var(--muted); }
.steps-bar i { flex:1; height:2px; max-width:60px; background:var(--line); border-radius:2px; }
.steps-bar .on { color:var(--sky-700); }
.checkout-layout { display:grid; grid-template-columns:1.4fr .9fr; gap:26px; align-items:start; }
.checkout-form { background:#fff; border:1.5px solid var(--line); border-radius:var(--radius); padding:24px; }
.checkout-form h2 { font-family:var(--font-head); font-size:19px; font-weight:800; margin-bottom:18px; }
.field { display:block; margin-bottom:16px; }
.field > span, .field label span, .field > label { display:block; font-size:13px; font-weight:700; color:var(--ink-soft); margin-bottom:6px; }
.field input, .field textarea, .field select { width:100%; padding:12px 14px; border:1.5px solid var(--line); border-radius:11px; font-size:14.5px; outline:none; background:#fff; transition:.14s; color:var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { border-color:var(--sky-400); box-shadow:0 0 0 4px var(--sky-100); }
.field textarea { resize:vertical; }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field-row.field-row-3 { grid-template-columns:1fr 1fr 1fr; }
.password-wrap { position:relative; }
.password-wrap input { padding-right:40px; }
.password-toggle {
    position:absolute; top:50%; right:4px; transform:translateY(-50%);
    z-index:1; width:30px; height:30px;
    display:inline-flex; align-items:center; justify-content:center;
    background:transparent; border:none; border-radius:8px;
    color:var(--muted); cursor:pointer; transition:color .15s ease, background .15s ease;
}
.password-toggle:hover { color:var(--sky-600); background:var(--sky-100); }
.password-toggle:focus-visible { outline:2px solid var(--sky-400); outline-offset:-2px; }
.password-toggle .pw-eye-off { display:none; }
.password-toggle[aria-pressed="true"] .pw-eye { display:none; }
.password-toggle[aria-pressed="true"] .pw-eye-off { display:block; }
.field-hint { font-size:12px; color:var(--muted); margin-top:5px; }
.radio-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.radio-card { position:relative; display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; border:1.5px solid var(--line); border-radius:12px; padding:16px 10px; cursor:pointer; transition:.15s; }
.radio-card:hover { border-color:var(--sky-300); }
.radio-card input { position:absolute; opacity:0; }
.radio-card .rc-icon { font-size:22px; }
.radio-card strong { display:block; font-size:13.5px; }
.radio-card small { color:var(--muted); font-size:11.5px; }
.radio-card:has(input:checked) { border-color:var(--sky-500); background:var(--sky-50); box-shadow:0 0 0 3px var(--sky-100); }

/* ---------- Success ---------- */
.success-panel { max-width:720px; margin:0 auto; text-align:center; }
.success-icon { width:92px; height:92px; margin:0 auto 20px; border-radius:50%; background:linear-gradient(135deg,#22c55e,#16a34a); color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 14px 34px rgba(22,163,74,.35); animation:pop .5s ease; }
@keyframes pop { 0%{transform:scale(.5);opacity:0} 70%{transform:scale(1.08)} 100%{transform:scale(1);opacity:1} }
.success-panel h1 { font-family:var(--font-head); font-size:clamp(24px,4vw,34px); font-weight:800; margin-bottom:10px; }
.success-panel > p { color:var(--muted); margin-bottom:28px; }
.order-receipt { text-align:left; background:#fff; border:1.5px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); margin-bottom:28px; }
.receipt-head { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; background:var(--sky-50); padding:18px 22px; border-bottom:1.5px solid var(--sky-200); }
.receipt-head span { display:block; font-size:11px; letter-spacing:1px; text-transform:uppercase; color:var(--muted); font-weight:700; margin-bottom:3px; }
.receipt-head strong { font-size:14px; }
.receipt-items { padding:8px 22px; }
.receipt-row { display:grid; grid-template-columns:1fr auto auto; gap:14px; align-items:center; padding:11px 0; border-bottom:1px solid var(--line-soft); font-size:14px; }
.receipt-total { padding:16px 22px; }
.receipt-total > div { display:flex; justify-content:space-between; padding:5px 0; font-size:14px; color:var(--ink-soft); }
.receipt-total .grand { border-top:1.5px dashed var(--line); margin-top:8px; padding-top:12px; color:var(--ink); font-weight:800; }
.receipt-total .grand strong { color:var(--navy); font-size:20px; font-family:var(--font-head); }
.receipt-ship { border-top:1.5px solid var(--line); padding:16px 22px; background:var(--bg-soft); font-size:14px; }
.success-actions { display:flex; gap:12px; justify-content:center; }

/* ---------- Toast ---------- */
.toast { position:fixed; top:22px; right:22px; z-index:999; background:#fff; border-left:4px solid var(--green); box-shadow:var(--shadow-lg); border-radius:12px; padding:14px 20px; font-weight:700; font-size:14px; transform:translateX(120%); transition:.3s ease; }
.toast--show { transform:translateX(0); }

/* ---------- Footer ---------- */
.site-footer { background:var(--navy); color:var(--sky-100); margin-top:0; }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr 1.3fr; gap:28px; padding:44px 22px 34px; }
.site-footer p { font-size:13px; color:var(--sky-100); opacity:.85; }
.site-footer h4 { color:#fff; font-size:13.5px; font-weight:800; letter-spacing:.6px; margin-bottom:14px; }
.site-footer ul li { margin-bottom:7px; }
.site-footer ul a { color:var(--sky-100); opacity:.85; font-size:13px; }
.site-footer ul a:hover { color:#fff; opacity:1; }
.footer-col .brand { margin-bottom:14px; }
.footer-social { display:flex; gap:10px; margin-top:14px; }
.footer-social a { width:34px; height:34px; border-radius:10px; background:rgba(255,255,255,.1); display:inline-flex; align-items:center; justify-content:center; color:var(--sky-100); transition:.15s; }
.footer-social a:hover { background:var(--royal); color:#fff; transform:translateY(-2px); }
.footer-contact { margin-top:10px; font-weight:700; opacity:1 !important; }
.news-form { display:flex; gap:8px; margin-top:10px; }
.news-form input { flex:1; padding:9px 13px; border-radius:10px; border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.08); color:#fff; outline:none; font-size:13px; }
.news-form input::placeholder { color:var(--sky-100); opacity:.7; }
.footer-bottom { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; border-top:1px solid rgba(255,255,255,.12); padding:18px 22px; }
.footer-links { display:flex; gap:12px; }
.footer-links a:hover { color:#fff; }

/* ---------- Toast for added ---------- */
.badge-badge { display:inline-flex; align-items:center; font-size:11.5px; font-weight:800; padding:3px 10px; border-radius:999px; letter-spacing:.2px; }
.badge--green { background:#dcfce7; color:#15803d; }
.badge--blue { background:var(--sky-100); color:var(--sky-700); }
.badge--amber { background:#fef3c7; color:#b45309; }
.badge--red { background:#fee2e2; color:#b91c1c; }
.badge--violet { background:#ede9fe; color:#6d28d9; }

/* ---------- Account / Auth ---------- */
.account-link { display:inline-flex; align-items:center; gap:7px; padding:7px 13px; border-radius:999px; background:var(--sky-50); border:1.5px solid var(--sky-200); color:var(--sky-700); font-weight:700; font-size:12.5px; transition:.15s; }
.account-link:hover { background:var(--sky-600); color:#fff; border-color:var(--sky-600); }
.auth-wrap { background:linear-gradient(180deg,var(--soft-blue) 0%,#fff 62%); padding:48px 0 64px; }
.auth-card { max-width:440px; margin:0 auto; background:#fff; border:1.5px solid var(--line); border-radius:22px; box-shadow:var(--shadow-lg); padding:32px; }
.auth-card h1 { font-family:var(--font-head); font-size:24px; font-weight:800; letter-spacing:-.5px; margin-bottom:8px; }
.auth-card > p { color:var(--muted); font-size:14px; margin-bottom:20px; }
.auth-switch { text-align:center; margin-top:16px; font-size:14px; color:var(--muted); }
.auth-switch a { font-weight:700; }
.auth-back { display:block; text-align:center; margin-top:10px; font-size:13.5px; font-weight:600; color:var(--muted); }
.auth-back:hover { color:var(--sky-600); }
.account-section { padding:46px 0; }
.account-layout { display:grid; grid-template-columns:280px 1fr; gap:26px; align-items:start; }
.account-side { background:#fff; border:1.5px solid var(--line); border-radius:var(--radius); padding:22px 20px; text-align:center; position:sticky; top:62px; }
.account-avatar { width:62px; height:62px; margin:0 auto 12px; border-radius:50%; background:linear-gradient(135deg,var(--navy),var(--royal)); color:#fff; font-family:var(--font-head); font-size:26px; font-weight:800; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 22px rgba(37,99,235,.3); }
.account-side h3 { font-size:16px; font-weight:800; }
.account-side p { font-size:13px; margin-top:5px; }
.account-actions { display:flex; flex-direction:column; gap:9px; margin-top:18px; }
.account-main h2 { font-family:var(--font-head); font-size:20px; font-weight:800; letter-spacing:-.3px; margin-bottom:16px; }
.account-orders { display:flex; flex-direction:column; gap:12px; }
.account-order { background:#fff; border:1.5px solid var(--line); border-radius:var(--radius); padding:16px 18px; transition:.15s; }
.account-order:hover { border-color:var(--sky-300); box-shadow:var(--shadow); }
.ao-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; flex-wrap:wrap; }
.ao-head .link-mono { font-family:Consolas,Menlo,monospace; font-size:13px; font-weight:800; color:var(--ink); }
.ao-head small { display:block; font-size:12px; }
.ao-foot { display:flex; justify-content:space-between; align-items:center; border-top:1px dashed var(--line); padding-top:12px; font-size:14px; color:var(--muted); }
.ao-foot strong { font-family:var(--font-head); font-size:17px; color:var(--navy); }
.link-mono { font-family:Consolas,Menlo,monospace; font-size:12.5px; font-weight:700; }

/* ---------- Responsive ---------- */
@media (max-width:1024px) {
  .hero-inner { grid-template-columns:1fr; gap:36px; }
  .hero-visual { max-width:480px; margin:0 auto; }
  .cat-grid { grid-template-columns:repeat(3,1fr); }
  .product-grid { grid-template-columns:repeat(3,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr 1fr; }
  .product-layout { grid-template-columns:1fr; }
  .quote-grid { grid-template-columns:1fr; }
  .checkout-layout { grid-template-columns:1fr; }
  .cart-layout { grid-template-columns:1fr; }
  .cart-summary { position:static; }
  .main-nav { gap:16px; }
  .header-main { gap:14px; grid-template-columns:auto minmax(0,1fr) auto; }
  .topbar-inner { grid-template-columns:1fr minmax(160px,300px) 1fr; gap:12px; }
  .section-head { flex-wrap:wrap; }
  .section-head p { min-width:0; }
  .cta-panel { gap:28px; }
  .product-info, .gallery-main, .cart-items, .cart-summary, .checkout-form, .shop-results,
  .account-main, .account-side { min-width:0; }
}

@media (max-width:860px) {
  .section { padding:44px 0; }
  .menu-toggle { display:inline-flex; }
  .brand-text strong { font-size:16px; }
  .brand-text small { display:none; }
  .main-nav { position:fixed; top:0; right:-300px; width:280px; height:100vh; background:#fff; flex-direction:column; align-items:stretch; gap:4px; padding:82px 22px 30px; box-shadow:-20px 0 60px rgba(15,39,71,.16); transition:right .3s ease; z-index:100; overflow-y:auto; justify-content:flex-start; }
  .main-nav.open { right:0; }
  .main-nav > a, .drop-btn { font-size:15.5px; padding:12px 0; width:100%; justify-content:flex-start; }
  .main-nav > a::after { display:none; }
  .nav-drop { width:100%; }
  .nav-drop .drop-btn { justify-content:space-between; }
  .drop-menu { position:static; transform:none; opacity:1; visibility:visible; min-width:0; box-shadow:none; border:none; padding:0 0 0 10px; display:none; }
  .nav-drop.open .drop-menu { display:grid; }
  .nav-drop.open .drop-btn svg { transform:rotate(180deg); }
  .hide-md { display:none; }
  .topbar-inner { grid-template-columns:1fr; grid-template-areas:"text" "search"; gap:7px; padding-top:8px; padding-bottom:8px; }
  .topbar-text { grid-area:text; justify-content:center; }
  .topbar-search { grid-area:search; grid-column:auto; width:100%; }
  .topbar-links { display:none; }
  .header-main { grid-template-areas:"brand actions"; grid-template-columns:minmax(0,1fr) auto; gap:14px; padding-top:10px; padding-bottom:10px; }
  .shop-layout { grid-template-columns:1fr; }
  .shop-filters { position:fixed; top:0; left:-320px; width:300px; height:100vh; background:#fff; z-index:120; overflow-y:auto; padding:24px; box-shadow:-20px 0 60px rgba(15,39,71,.18); transition:left .3s ease; }
  .shop-filters.open { left:0; }
  .filter-panel { border:none; padding:0; position:static; }
  .filter-close { display:inline-flex; }
  .filter-toggle { display:inline-flex; }
  .steps-bar { flex-wrap:wrap; }
  .results-bar { flex-wrap:wrap; gap:10px; }
  .section-head { flex-direction:column; align-items:flex-start; }
}

@media (max-width:640px) {
  .container { padding:0 16px; }
  .account-link span { display:none; }
  .hero { padding:40px 0 48px; }
  .hero h1 { font-size:28px; }
  .hero-search { flex-wrap:wrap; padding:9px; }
  .hero-search input { width:100%; flex:none; padding:6px 4px; }
  .hero-search .btn { width:100%; }
  .hero-stats { gap:20px; flex-wrap:wrap; }
  .cat-grid { grid-template-columns:repeat(2,1fr); }
  .product-grid { grid-template-columns:1fr; }
  .steps { grid-template-columns:1fr; }
  .cta-panel { grid-template-columns:1fr; padding:32px 22px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:26px; padding:38px 16px 26px; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .cart-row { grid-template-columns:72px 1fr auto; gap:12px; }
  .cart-thumb { width:72px; height:56px; }
  .cart-qty { grid-column:1 / -1; flex-direction:row; justify-content:center; }
  .cart-line-total { grid-column:2 / 3; text-align:left; }
  .cart-remove { grid-column:3 / 4; }
  .cart-actions { flex-wrap:wrap; gap:10px; }
  .field-row { grid-template-columns:1fr; }
  .field-row.field-row-3 { grid-template-columns:1fr; }
  .field-row.inline { grid-template-columns:1fr 1fr; }
  .radio-cards { grid-template-columns:1fr; }
  .receipt-head { grid-template-columns:1fr; }
  .receipt-row { grid-template-columns:1fr auto; }
  .receipt-row strong { text-align:right; }
  .receipt-items { padding:6px 16px; }
  .receipt-total, .receipt-ship { padding:12px 16px; }
  .receipt-head { padding:14px 16px; }
  .success-actions { flex-direction:column; align-items:stretch; }
  .spec-grid { grid-template-columns:1fr; }
  .spec-grid li:nth-child(odd) { border-right:none; }
  .spec-grid li { border-bottom:1px solid var(--line-soft); }
  .steps-bar { gap:6px; }
  input, select, textarea { font-size:16px !important; }
  .qty-stepper { flex:1; }
  .qty-stepper input { width:100%; max-width:160px; }
  .buy-form .btn { flex:1; white-space:normal; }
}
@media (max-width:860px) {
  .account-layout { grid-template-columns:1fr; }
  .account-side { position:static; }
  .auth-wrap { padding:36px 0 52px; }
  .auth-card { padding:26px 20px; box-shadow:var(--shadow); }
  .ao-head { flex-direction:column; align-items:flex-start; }
}

@media (max-width:400px) {
  .container { padding:0 12px; }
  .brand-text { display:none; }
  .cat-grid, .footer-grid { grid-template-columns:1fr; }
  .hero-stats { gap:16px; }
  .cart-row { grid-template-columns:64px 1fr; }
  .cart-thumb { width:64px; height:52px; }
  .toast { left:16px; right:16px; }
  .topbar { font-size:11.5px; }
  .page-hero { padding:30px 0 34px; }
  .account-order { padding:14px; }
}

@media (hover:none) {
  .product-card:hover, .cat-card:hover, .step:hover { transform:none; }
}

/* ---------- Shipping info page ---------- */
.ship-hero-sec { padding:0 0 8px; }
.ship-media { position:relative; aspect-ratio:4/3; border-radius:20px; border:2px dashed var(--sky-300); background:linear-gradient(160deg,var(--soft-blue) 0%,#fff 70%); display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; color:var(--royal-deep); gap:12px; padding:24px; overflow:hidden; }
.ship-media--wide { aspect-ratio:21/9; border-radius:22px; }
.ship-ph-art { width:54px; height:54px; opacity:.85; }
.ship-ph-copy strong { font-family:var(--font-head); font-size:16px; font-weight:800; color:var(--navy); display:block; }
.ship-ph-copy span { font-size:12px; color:var(--muted); }
.ship-ph-copy code { font-family:ui-monospace,Consolas,'Courier New',monospace; font-size:11px; background:rgba(255,255,255,.7); border:1px solid var(--line); border-radius:6px; padding:1px 6px; color:var(--royal-deep); }
.ship-media--img { border-style:solid; border-color:var(--line); background:#fff; }
.ship-media-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.ship-row { display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
.ship-copy h2 { font-family:var(--font-head); font-size:clamp(22px,3vw,30px); font-weight:800; letter-spacing:-.5px; margin-bottom:12px; }
.ship-copy p { color:var(--ink-soft); font-size:15px; max-width:520px; }
.ship-row.flip .ship-copy { order:2; }
.ship-row.flip .ship-media { order:1; }
.ship-lead { color:var(--ink-soft); font-size:15.5px; max-width:720px; margin:0 0 24px; }
.ship-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:18px; }
.ship-card { background:#fff; border:1.5px solid var(--line); border-radius:var(--radius); padding:22px; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.ship-card:hover { transform:translateY(-3px); box-shadow:var(--shadow); border-color:var(--sky-300); }
.ship-ico { width:42px; height:42px; border-radius:12px; background:var(--soft-blue); color:var(--royal); display:inline-flex; align-items:center; justify-content:center; }
.ship-card h3 { font-family:var(--font-head); font-size:15px; font-weight:800; margin:14px 0 7px; }
.ship-card p { font-size:13.5px; color:var(--ink-soft); }
.ship-value { display:block; font-size:16px; font-weight:800; color:var(--navy); font-family:var(--font-head); margin-top:8px; }
.ship-note { display:flex; gap:12px; align-items:flex-start; background:var(--gold-tint); border:1.5px solid var(--gold-line); border-radius:14px; padding:14px 16px; margin-top:22px; }
.ship-note-tag { font-size:11px; font-weight:800; letter-spacing:1.6px; text-transform:uppercase; color:var(--gold-deep); flex-shrink:0; padding-top:2px; }
.ship-note p { font-size:14px; color:var(--ink-soft); }
.ship-inspect { background:linear-gradient(160deg,var(--gold-tint) 0%,#fff 55%); border:2px solid var(--gold-line); border-radius:22px; padding:28px 30px; }
.ship-inspect h2 { font-family:var(--font-head); font-size:clamp(22px,3vw,30px); font-weight:800; letter-spacing:-.5px; margin-bottom:6px; }
.ship-inspect > p { color:var(--ink-soft); font-size:15px; margin-bottom:18px; }
.inspect-list { margin-top:6px; }
.inspect-list li { display:flex; gap:12px; align-items:flex-start; margin-bottom:12px; }
.inspect-list li span { width:24px; height:24px; flex-shrink:0; border-radius:50%; background:var(--gold); color:#fff; font-size:13px; font-weight:800; display:inline-flex; align-items:center; justify-content:center; margin-top:2px; }
.inspect-list li p { font-size:14.5px; color:var(--ink-soft); flex:1; }
.ship-addr { background:#fff; border:1.5px solid var(--line); border-radius:14px; padding:16px 18px; margin:16px 0; }
.ship-addr p { display:grid; grid-template-columns:64px 1fr; gap:10px; font-size:14px; font-weight:600; color:var(--ink-soft); }
.ship-addr p + p { margin-top:10px; padding-top:10px; border-top:1px solid var(--line-soft); }
.ship-addr strong { font-size:11px; letter-spacing:1.4px; text-transform:uppercase; color:var(--muted); font-weight:800; }
.ship-addr a { color:var(--royal); font-weight:700; }
.ship-actions { display:flex; gap:14px; flex-wrap:wrap; margin-top:22px; }
.ship-center { text-align:center; }
.ship-center h2 { font-family:var(--font-head); font-size:clamp(22px,3vw,30px); font-weight:800; letter-spacing:-.5px; margin-bottom:10px; }
.ship-center p { color:var(--ink-soft); font-size:15px; max-width:680px; margin:0 auto; }
.ship-center a { font-weight:600; }
.ship-center .ship-actions { justify-content:center; }
.ship-disclaimer { font-size:12.5px; color:var(--muted); max-width:680px; margin:20px auto 0; }

@media (max-width:860px) {
  .ship-row { grid-template-columns:1fr; gap:24px; }
  .ship-row.flip .ship-copy { order:0; }
  .ship-row.flip .ship-media { order:1; }
  .ship-media--wide { aspect-ratio:16/10; }
}
@media (max-width:640px) {
  .ship-inspect { padding:22px 18px; }
  .ship-addr p { grid-template-columns:1fr; gap:2px; }
}

/* ---------- Floating contact buttons & live chat ---------- */
.contact-fabs { position:fixed; right:18px; bottom:16px; display:flex; flex-direction:column-reverse; align-items:center; gap:10px; z-index:90; }
.cfab { position:relative; width:46px; height:46px; border-radius:50%; border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; color:#fff; box-shadow:0 8px 22px rgba(15,39,71,.3); transition:transform .15s ease, box-shadow .15s ease; text-decoration:none; }
.cfab:hover { transform:translateY(-3px); box-shadow:0 12px 26px rgba(15,39,71,.36); }
.cfab--chat { background:linear-gradient(135deg,var(--navy),var(--royal)); }
.cfab--wa { background:#25D366; }
.cfab--tg { background:#229ED9; }
.cfab--mail { background:var(--royal); }
.cfab-ic { display:inline-flex; }
.cfab-badge { position:absolute; top:-4px; right:-4px; min-width:20px; height:20px; padding:0 5px; border-radius:999px; background:var(--gold); color:var(--navy); font-size:11px; font-weight:800; display:inline-flex; align-items:center; justify-content:center; box-shadow:0 2px 8px rgba(15,39,71,.25); }
.chat-widget { position:fixed; right:18px; bottom:80px; width:340px; max-width:calc(100vw - 36px); background:#fff; border:1.5px solid var(--line); border-radius:18px; box-shadow:var(--shadow-lg); z-index:95; overflow:hidden; display:flex; flex-direction:column; }
.chat-head { background:linear-gradient(135deg,var(--navy),var(--royal)); color:#fff; padding:12px 16px; display:flex; align-items:center; gap:10px; }
.chat-dot { width:9px; height:9px; border-radius:50%; background:#4ade80; flex-shrink:0; box-shadow:0 0 0 3px rgba(74,222,128,.25); }
.chat-head-txt { flex:1; min-width:0; }
.chat-head-txt strong { display:block; font-size:14.5px; font-family:var(--font-head); }
.chat-head-txt small { display:block; font-size:11.5px; color:var(--sky-100); }
.chat-close { background:none; border:none; color:#fff; font-size:22px; line-height:1; cursor:pointer; padding:2px 4px; opacity:.85; }
.chat-close:hover { opacity:1; }
.chat-body { height:300px; overflow-y:auto; padding:14px; background:var(--bg-soft); display:flex; flex-direction:column; gap:6px; }
.msg { max-width:82%; padding:8px 12px; border-radius:14px; font-size:13px; line-height:1.45; }
.msg--cust { align-self:flex-end; background:var(--navy); color:#fff; border-bottom-right-radius:4px; }
.msg--admin { align-self:flex-start; background:#fff; border:1px solid var(--line); border-bottom-left-radius:4px; }
.msg-txt { word-break:break-word; white-space:normal; }
.msg-time { display:block; font-size:10.5px; margin-top:3px; opacity:.65; }
.msg.is-new { animation:chatIn .25s ease; }
@keyframes chatIn { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:none; } }
.chat-cta { text-align:center; padding:18px 8px; color:var(--ink-soft); font-size:13.5px; }
.chat-cta strong { display:block; font-size:15px; color:var(--navy); margin-bottom:6px; font-family:var(--font-head); }
.chat-cta p { margin-bottom:12px; }
.chat-form { display:flex; gap:8px; padding:10px; border-top:1px solid var(--line); background:#fff; }
.chat-form input { flex:1; min-width:0; border:1.5px solid var(--line); border-radius:10px; padding:9px 12px; font-size:13.5px; outline:none; }
.chat-form input:focus { border-color:var(--sky-400); }

@media (max-width:640px) {
  .contact-fabs { right:12px; bottom:12px; }
  .cfab { width:44px; height:44px; }
  .chat-widget { right:12px; bottom:74px; width:calc(100vw - 24px); }
  .chat-body { height:260px; }
}

/* ---------- Contact page ---------- */
.contact-cards { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.contact-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px; text-align:center; text-decoration:none; color:var(--ink); transition:.15s; display:flex; flex-direction:column; align-items:center; gap:4px; }
.contact-card:hover { transform:translateY(-3px); box-shadow:var(--shadow); border-color:var(--sky-300); }
.contact-card strong { font-size:15px; font-family:var(--font-head); color:var(--navy); margin-top:8px; }
.contact-card > span:not(.contact-ico) { font-size:13.5px; color:var(--ink-soft); word-break:break-word; }
.contact-card small { font-size:12px; color:var(--muted); }
.contact-ico { width:48px; height:48px; border-radius:14px; display:flex; align-items:center; justify-content:center; color:#fff; }
.contact-ico--royal { background:var(--royal); }
.contact-ico--green { background:#16a34a; }
.contact-ico--wa { background:#25D366; }
.contact-ico--tg { background:#229ED9; }

.contact-layout { display:grid; grid-template-columns:1.6fr 1fr; gap:26px; align-items:start; }
.contact-form-wrap { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px; box-shadow:0 1px 2px rgba(15,23,42,.04); }
.contact-form-wrap h2 { font-size:24px; margin-top:4px; }
.contact-form { margin-top:18px; }
.contact-form .field-row { grid-template-columns:1fr 1fr; }
.contact-form-note { font-size:13px; color:var(--muted); margin-top:14px; }
.contact-aside { display:flex; flex-direction:column; gap:18px; }
.contact-panel { background:linear-gradient(160deg,var(--navy),#1d3f74); color:#fff; border-radius:var(--radius); padding:24px; }
.contact-panel .eyebrow { color:var(--gold); }
.contact-row { padding:12px 0; border-bottom:1px solid rgba(255,255,255,.14); }
.contact-row strong { display:block; font-size:12px; letter-spacing:.6px; text-transform:uppercase; color:var(--sky-200); margin-bottom:4px; }
.contact-row span { display:block; font-size:14px; line-height:1.55; color:#fff; }
.contact-row a { color:#fff; text-decoration:underline; text-underline-offset:3px; }
.contact-row a:hover { color:var(--gold); }
.contact-panel .btn { margin-top:16px; color:#fff; border-color:rgba(255,255,255,.4); }
.contact-map { background:var(--soft-blue); border:1.5px dashed var(--sky-300); border-radius:var(--radius); padding:36px 20px; text-align:center; color:var(--ink-soft); display:flex; flex-direction:column; align-items:center; gap:2px; }
.contact-map svg { color:var(--royal); margin-bottom:6px; }
.contact-map strong { font-size:15px; color:var(--navy); }
.contact-map small { font-size:12px; color:var(--muted); margin-top:4px; }

@media (max-width:1100px) {
  .contact-cards { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:860px) {
  .contact-layout { grid-template-columns:1fr; }
}
@media (max-width:560px) {
  .contact-cards { grid-template-columns:1fr; }
  .contact-form-wrap { padding:20px 16px; }
  .contact-form .field-row { grid-template-columns:1fr; }
}

/* ---------- Account settings ---------- */
.alert-success { background:#f0fdf4; border:1px solid #bbf7d0; color:#166534; }
.account-panel-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:30px; align-items:start; }
.account-panel { background:#fff; border:1.5px solid var(--line); border-radius:var(--radius); padding:22px; }
.account-panel h3 { font-family:var(--font-head); font-size:16px; font-weight:800; color:var(--navy); margin-bottom:16px; }
.account-subhead { margin-top:8px; }
.account-panel .btn { width:100%; }

@media (max-width:860px) {
  .account-panel-grid { grid-template-columns:1fr; }
}