/* RAKONHELI — 2026 Precision CNC & Carbon Tech Storefront */
:root {
  --carbon: #0b1017;
  --carbon-2: #131c27;
  --carbon-3: #1c2836;
  --teal: #1e88a8;
  --teal-light: #38bdf8;
  --teal-dark: #156680;
  --accent: #ef4423;
  --accent-dark: #cc3214;
  --ink: #0f172a;
  --text: #263040;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f4f7fa;
  --ok: #16a34a;
  --warn: #d97706;
  --err: #dc2626;
  --radius: 10px;
  --radius-sm: 6px;
  --wrap: 1320px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-head: 'Rajdhani', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .05);
  --shadow-md: 0 10px 28px rgba(15, 23, 42, .09);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, .16);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 15px/1.6 var(--font); color: var(--text); background: #f8fafc; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; margin: 0 0 .55em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 22px; padding-right: 22px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; }
.r { text-align: right; }
.narrow { max-width: 840px; margin-left: auto; margin-right: auto; }
.pad { padding: 48px 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 200; background: #fff; padding: 10px 14px; border-radius: var(--radius-sm); }
.default-submit, .hp, .sr-select { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--teal); color: #fff; border: 2px solid var(--teal);
  padding: 10px 22px; border-radius: var(--radius-sm);
  font: 600 .94rem/1.2 var(--font); cursor: pointer; text-align: center;
  transition: all .18s ease; box-shadow: 0 2px 6px rgba(30, 136, 168, .2);
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; transform: translateY(-1px); }
.btn-accent { background: linear-gradient(135deg, #f65535 0%, var(--accent) 100%); border-color: var(--accent); box-shadow: 0 4px 14px rgba(239, 68, 35, .3); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: 0 6px 18px rgba(239, 68, 35, .4); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-outline:hover { background: var(--soft); border-color: var(--teal); color: var(--teal-dark); }
.btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: #fff; box-shadow: none; }
.btn-ghost:hover { background: #fff; color: var(--carbon); border-color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 1rem; font-weight: 700; }
.btn-block { display: flex; width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--teal-dark); cursor: pointer; font: inherit; }
.link-btn:hover { color: var(--accent); }
.link-btn.danger { color: var(--err); }
.inline-form { display: inline; }

/* Forms */
.form label, label.opt, .discount-field { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 14px; color: var(--ink); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], input:not([type]), select, textarea {
  display: block; width: 100%; margin-top: 5px; padding: 10px 13px; border: 1px solid #cbd5e1; border-radius: var(--radius-sm);
  font: 400 15px/1.4 var(--font); color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30, 136, 168, .18); }
input:disabled, select:disabled { background: #f1f5f9; color: var(--muted); }
label.check { display: flex; gap: 8px; align-items: center; font-weight: 500; margin-bottom: 12px; cursor: pointer; }
label.check input { width: auto; margin: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field-error { display: block; color: var(--err); font-weight: 500; font-size: .85rem; margin-top: 4px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px 6px; margin: 0 0 16px; background: #fff; }
legend { font-weight: 700; padding: 0 6px; }
.inline { display: flex; gap: 8px; align-items: stretch; }
.inline input { margin-top: 0; }
.inline .btn { white-space: nowrap; }
.discount-field .inline { margin-top: 6px; }

/* Alerts & Badges */
.alert { padding: 13px 18px; border-radius: var(--radius-sm); margin: 16px 0; border: 1px solid; font-weight: 500; }
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-info { background: #f0f9ff; border-color: #bae6fd; color: #075985; }
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 20px; font-size: .73rem; font-weight: 800; background: var(--soft); color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }
.badge-sale { background: linear-gradient(135deg, #ff5733, var(--accent)); color: #fff; box-shadow: 0 2px 8px rgba(239, 68, 35, .35); }
.badge-out { background: #334155; color: #fff; }
.badge-paid, .badge-fulfilled { background: #dcfce7; color: #166534; }
.badge-pending, .badge-authorized, .badge-partial, .badge-unfulfilled { background: #fef3c7; color: #92400e; }
.badge-refunded, .badge-partially_refunded, .badge-voided, .badge-grey, .badge-restocked { background: #e2e8f0; color: #475569; }

/* Compact Topbar & Bright White Header (Seamless Logo) */
.topbar { background: #0f172a; color: #e2e8f0; font-size: .75rem; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 4px; padding-bottom: 4px; gap: 10px; white-space: nowrap; overflow: hidden; }
.topbar-perks { display: flex; align-items: center; gap: 6px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.topbar .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 6px #22c55e; margin-right: 4px; flex-shrink: 0; }
.topbar-links { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.topbar a { color: #cbd5e1; font-weight: 500; }
.topbar a:hover { color: #fff; }
.topbar .sep { opacity: .4; }

.site-header {
  background: #ffffff;
  color: var(--ink);
  position: sticky; top: 0; z-index: 80;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(15, 23, 42, .05);
}
.header-row { display: flex; align-items: center; gap: 18px; padding-top: 8px; padding-bottom: 8px; }
.logo { display: flex; align-items: center; flex-shrink: 0; background: transparent; padding: 0; border-radius: 0; box-shadow: none; }
.logo img { height: 34px; width: auto; display: block; }

/* Live Search */
.search-wrap { flex: 1; max-width: 580px; position: relative; }
.search { display: flex; background: #f1f5f9; border: 1px solid #cbd5e1; border-radius: var(--radius-sm); overflow: hidden; transition: border-color .18s, box-shadow .18s, background .18s; }
.search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30, 136, 168, .15); background: #fff; }
.search input { margin: 0; border: 0; background: transparent; color: var(--ink); padding: 7px 12px; font-size: .88rem; box-shadow: none !important; }
.search input::placeholder { color: #64748b; }
.search button { border: 0; background: var(--teal); color: #fff; padding: 0 14px; cursor: pointer; font-weight: 700; font-size: .84rem; display: inline-flex; align-items: center; gap: 5px; transition: background .15s; }
.search button:hover { background: var(--accent); }
.search.big { max-width: 660px; margin-bottom: 22px; background: #fff; border: 1px solid var(--line); }
.search.big input { color: var(--ink); }
.search.inline { max-width: 440px; margin: 20px auto; background: #fff; border: 1px solid var(--line); }
.search.inline input { color: var(--ink); }

.search-drop {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px);
  background: #fff; color: var(--text); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  max-height: 75vh; overflow-y: auto; z-index: 120; padding: 10px;
}
.sdrop-sec { padding: 6px 8px; }
.sdrop-title { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.sdrop-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.sdrop-cats a { background: var(--soft); color: var(--ink); padding: 5px 11px; border-radius: 20px; font-size: .82rem; font-weight: 600; border: 1px solid var(--line); }
.sdrop-cats a:hover { border-color: var(--teal); color: var(--teal-dark); }
.sdrop-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--radius-sm); color: var(--ink); transition: background .12s; }
.sdrop-item:hover { background: var(--soft); color: var(--ink); }
.sdrop-item img { width: 52px; height: 52px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; flex-shrink: 0; }
.sdrop-meta { flex: 1; min-width: 0; }
.sdrop-meta strong { display: block; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sdrop-meta small { color: var(--muted); font-family: var(--font-mono); font-size: .76rem; }
.sdrop-price { text-align: right; font-weight: 700; color: var(--accent); font-size: .92rem; flex-shrink: 0; }
.sdrop-price del { display: block; color: var(--muted); font-size: .75rem; font-weight: 400; }
.sdrop-more { display: block; text-align: center; padding: 9px; font-weight: 700; font-size: .86rem; border-top: 1px solid var(--line); margin-top: 4px; color: var(--teal-dark); }

/* Header Icons */
.header-icons { display: flex; gap: 10px; margin-left: auto; align-items: center; flex-shrink: 0; }
.icon-link { display: flex; align-items: center; gap: 8px; color: var(--ink); position: relative; padding: 4px 8px; border-radius: var(--radius-sm); transition: background .15s; }
.icon-link:hover { background: var(--soft); color: var(--teal-dark); }
.icon-box { position: relative; width: 34px; height: 34px; border-radius: 8px; background: #f1f5f9; border: 1px solid #cbd5e1; display: grid; place-items: center; color: var(--teal-dark); }
.icon-link .lbl { display: flex; flex-direction: column; line-height: 1.1; }
.icon-link .lbl small { font-size: .68rem; color: var(--muted); }
.icon-link .lbl b { font-size: .82rem; color: var(--ink); }
.cart-link .count {
  position: absolute; top: -5px; right: -5px;
  background: var(--accent); color: #fff; font-size: .68rem; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px;
  box-shadow: 0 2px 6px rgba(239, 68, 35, .4);
}
.cart-link.bump .count { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.45); } }
.secure-note { margin-left: auto; color: var(--muted); font-size: .85rem; display: flex; align-items: center; gap: 6px; font-weight: 600; }
.nav-toggle { display: none; background: #f1f5f9; border: 1px solid #cbd5e1; border-radius: 6px; padding: 7px 8px; cursor: pointer; flex-shrink: 0; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px 0; }

/* Navigation Bar & Mega Menu */
.main-nav { background: #f8fafc; border-top: 1px solid #eef2f6; }
.menu { list-style: none; display: flex; flex-wrap: wrap; align-items: center; margin: 0 auto; padding: 0 22px; }
.menu > li { position: relative; }
.menu > li > a {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--ink); padding: 8px 12px; font-weight: 600; font-size: .85rem;
  transition: background .15s, color .15s;
}
.menu > li:hover > a { background: #eef2f6; color: var(--teal-dark); }
.menu > li > a .caret { opacity: .6; }
.menu-right { margin-left: auto; }
.hot-link { color: var(--accent) !important; font-weight: 700 !important; }
.menu .sub {
  list-style: none; margin: 0; padding: 12px; position: absolute; left: 0; top: 100%;
  background: #fff; min-width: 270px; box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius) var(--radius); border: 1px solid var(--line); border-top: 3px solid var(--teal);
  display: none; z-index: 90;
}
.menu .mega .sub { columns: 3; width: 720px; column-gap: 16px; max-height: 72vh; overflow-y: auto; }
.menu > li:last-child .sub, .menu > li:nth-last-child(2) .sub, .menu > li:nth-last-child(3) .sub { left: auto; right: 0; }
.menu .sub a { display: block; padding: 6px 12px; color: var(--text); font-size: .86rem; font-weight: 500; border-radius: 5px; break-inside: avoid; }
.menu .sub a:hover { background: var(--soft); color: var(--accent); font-weight: 600; }
.menu > li:hover > .sub, .menu > li:focus-within > .sub { display: block; }
.sub-toggle { display: none; }

main { padding-top: 26px; padding-bottom: 60px; min-height: 55vh; }
.breadcrumb { font-size: .84rem; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumb .curr { color: var(--ink); font-weight: 600; }
.page-title { margin-bottom: 22px; font-family: var(--font-head); font-size: 2.1rem; text-transform: uppercase; }

/* Hero CNC Section + Model Finder */
.hero-cnc {
  background:
    radial-gradient(circle at 85% 20%, rgba(30, 136, 168, .28), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(239, 68, 35, .18), transparent 40%),
    linear-gradient(135deg, #090d13 0%, #111b27 60%, #162433 100%);
  color: #fff; border-radius: 14px; padding: 44px; margin-bottom: 28px;
  display: grid; grid-template-columns: 1.25fr .95fr; gap: 36px; align-items: center;
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(56, 189, 248, .12); border: 1px solid rgba(56, 189, 248, .35);
  color: var(--teal-light); font-size: .75rem; font-weight: 800; letter-spacing: .07em;
  padding: 6px 13px; border-radius: 20px; margin-bottom: 16px;
}
.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 10px var(--teal-light); }
.hero-content h1 {
  color: #fff; font-family: var(--font-head); font-size: 2.85rem; line-height: 1.08;
  letter-spacing: .01em; margin-bottom: 14px; text-transform: uppercase;
}
.hero-content p { font-size: 1.03rem; color: #cbd5e1; max-width: 600px; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-metrics {
  list-style: none; padding: 20px 0 0; margin: 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.hero-metrics strong { display: block; font-family: var(--font-head); font-size: 1.55rem; color: #fff; line-height: 1.1; }
.hero-metrics span { font-size: .78rem; color: #94a3b8; }

.finder-card {
  background: rgba(255, 255, 255, .98); color: var(--ink);
  border-radius: 12px; padding: 26px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  border-top: 4px solid var(--accent);
}
.finder-tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: rgba(239, 68, 35, .1); padding: 3px 9px; border-radius: 4px; margin-bottom: 6px; }
.finder-head h2 { font-size: 1.35rem; margin-bottom: 4px; font-family: var(--font-head); text-transform: uppercase; }
.finder-head p { font-size: .86rem; color: var(--muted); margin-bottom: 16px; }
.finder-steps { display: flex; flex-direction: column; gap: 12px; }
.finder-step { display: flex; align-items: center; gap: 12px; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin: 0; }
.finder-step > div { flex: 1; min-width: 0; }
.finder-step small { display: block; font-size: .73rem; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: .04em; }
.finder-step select { margin-top: 3px; border: 0; background: transparent; padding: 2px 0; font-weight: 600; color: var(--ink); box-shadow: none !important; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--carbon); color: #fff; font-weight: 800; font-size: .82rem; display: grid; place-items: center; flex-shrink: 0; }
.finder-popular { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .8rem; }
.finder-popular small { color: var(--muted); font-weight: 600; margin-right: 2px; }
.finder-popular a { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 3px 10px; color: var(--ink); font-weight: 600; font-size: .78rem; }
.finder-popular a:hover { border-color: var(--teal); color: var(--teal-dark); }

/* 4-Column USP Strip */
.usp-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 44px;
}
.usp-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: flex; gap: 14px; align-items: flex-start; box-shadow: var(--shadow-sm);
}
.usp-icon { font-size: 1.55rem; line-height: 1; background: var(--soft); width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.usp-item strong { display: block; color: var(--ink); font-size: .94rem; margin-bottom: 3px; }
.usp-item span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.45; }

/* Sections & Category Grid */
.home-block { margin: 0 0 50px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.eyebrow { display: block; font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 2px; }
.section-title { font-family: var(--font-head); font-size: 1.75rem; margin: 0; text-transform: uppercase; position: relative; }
.view-all { font-weight: 700; font-size: .9rem; color: var(--teal-dark); white-space: nowrap; }

.cats-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 16px; }
.cat-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; color: var(--ink); transition: all .2s ease; box-shadow: var(--shadow-sm);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.cat-img-well { background: #fff; aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 10px; overflow: hidden; border-radius: 6px; }
.cat-img-well img { width: 92%; height: 92%; object-fit: contain; transition: transform .25s ease; }
.cat-card:hover .cat-img-well img { transform: scale(1.07); }
.cat-info { text-align: center; margin-top: auto; border-top: 1px solid var(--soft); padding-top: 10px; }
.cat-info strong { display: block; font-size: .95rem; color: var(--ink); }
.cat-info span { font-size: .78rem; color: var(--teal-dark); font-weight: 600; }

/* Product Grid & Cards with Color Swatches */
.grid { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; height: 100%; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .2s ease; box-shadow: var(--shadow-sm);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #cbd5e1; }
.card-media { position: relative; border-bottom: 1px solid var(--soft); }
.card-img-link { display: block; color: inherit; }
.card-img { position: relative; background: #fff; aspect-ratio: 1; padding: 12px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .28s ease, opacity .2s ease; }
.card-img .img-hover { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); opacity: 0; }
.card:hover .card-img.has-hover .img-main { opacity: 0; }
.card:hover .card-img.has-hover .img-hover { opacity: 1; }
.card:hover .card-img img { transform: scale(1.04); }
.card-img .badge { position: absolute; top: 10px; left: 10px; z-index: 2; }
.sku-tag {
  position: absolute; bottom: 8px; left: 8px; z-index: 2;
  background: rgba(15, 23, 42, .75); color: #fff; font-family: var(--font-mono);
  font-size: .68rem; font-weight: 600; padding: 2px 7px; border-radius: 4px; letter-spacing: .02em;
}
.quick-add-btn {
  position: absolute; bottom: 8px; right: 8px; z-index: 3;
  background: var(--teal); color: #fff; border: 0; border-radius: 6px;
  padding: 5px 10px; font: 700 .76rem/1 var(--font); cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .2); transition: background .15s, transform .15s;
}
.quick-add-btn:hover { background: var(--accent); transform: scale(1.04); }
.quick-add-btn:disabled { opacity: .45; cursor: not-allowed; }

.card-swatches {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; min-height: 22px; align-items: center;
}
.card-swatch {
  width: 20px; height: 20px; border-radius: 50%; padding: 0;
  border: 2px solid rgba(15, 23, 42, .18); cursor: pointer;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, .5);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  position: relative;
}
.card-swatch:hover { transform: scale(1.18); border-color: var(--ink); }
.card-swatch.active {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--teal);
  transform: scale(1.12);
}
.card-swatch.out { opacity: .4; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; }
.card-title-link { color: inherit; text-decoration: none; }
.card-title { font-size: .9rem; font-weight: 600; color: var(--ink); margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; transition: color .15s; }
.card-title-link:hover .card-title { color: var(--teal-dark); }
.card-rating { margin: 0 0 6px; font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.card-foot { margin-top: auto; padding-top: 6px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .now { font-weight: 800; color: var(--accent); font-size: 1.1rem; }
.price del { color: var(--muted); font-size: .86rem; }
.price small { color: var(--muted); font-size: .76rem; }
.price.big { margin: 12px 0 16px; align-items: center; }
.price.big .now { font-size: 2rem; font-family: var(--font-head); letter-spacing: -.01em; }
.price.big del { font-size: 1.15rem; }
.empty, .empty-state { padding: 48px 20px; text-align: center; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }

/* VIP Tier Banner */
.tier-banner {
  background: linear-gradient(135deg, var(--carbon) 0%, #172636 100%);
  color: #fff; border-radius: 14px; padding: 36px 40px; margin-bottom: 50px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow-md);
}
.tier-banner-text { flex: 1; min-width: 280px; }
.tier-banner-text h2 { color: #fff; font-family: var(--font-head); font-size: 2rem; margin-bottom: 6px; text-transform: uppercase; }
.tier-banner-text p { color: #cbd5e1; margin-bottom: 18px; max-width: 640px; }
.tier-badges-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tier-box { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); border-radius: 8px; padding: 10px 16px; }
.tier-box strong { display: block; color: var(--teal-light); font-family: var(--font-head); font-size: 1.25rem; }
.tier-box span { font-size: .8rem; color: #cbd5e1; }
.tier-banner-cta { display: flex; flex-direction: column; gap: 10px; }

/* Review Cards on Home */
.review-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.rv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.rv-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.verified-pill { font-size: .74rem; font-weight: 700; color: var(--ok); background: #ecfdf5; padding: 3px 8px; border-radius: 12px; }
.rv-card strong { display: block; margin-bottom: 6px; color: var(--ink); }
.rv-card p { font-size: .91rem; color: var(--text); flex: 1; }
.rv-card-foot { border-top: 1px solid var(--soft); padding-top: 10px; margin-top: 8px; font-size: .82rem; display: flex; justify-content: space-between; gap: 8px; }
.rv-card-foot a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; font-weight: 600; }

.stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.stars i { width: 15px; height: 15px; display: inline-block; font-style: normal;
  background: #cbd5e1; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3 7h7l-5.6 4.2 2 7.3L12 16.3 5.6 20.5l2-7.3L2 9h7z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3 7h7l-5.6 4.2 2 7.3L12 16.3 5.6 20.5l2-7.3L2 9h7z'/%3E%3C/svg%3E") center/contain no-repeat; }
.stars i.full { background: #f59e0b; }
.stars i.half { background: linear-gradient(90deg, #f59e0b 50%, #cbd5e1 50%); }

/* Collection Page & Category Color Switcher Bar */
.collection-head { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 24px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.collection-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.collection-head h1 { margin-bottom: 4px; font-family: var(--font-head); font-size: 1.85rem; text-transform: uppercase; }
.collection-count { font-family: var(--font-mono); font-size: .82rem; font-weight: 600; color: var(--teal-dark); background: #f0f9ff; border: 1px solid #bae6fd; padding: 3px 10px; border-radius: 20px; }
.collection-desc { color: var(--muted); max-width: 960px; font-size: .92rem; margin-top: 6px; }
.chips { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.chips a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 6px 14px; font-size: .84rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }
.chips a:hover { border-color: var(--teal); color: var(--teal-dark); transform: translateY(-1px); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 10px 16px; margin-bottom: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .88rem; }
.toolbar-colors { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.toolbar-label { font-weight: 700; color: var(--ink); font-size: .82rem; margin-right: 4px; }
.cat-color-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--soft); border: 1px solid var(--line); border-radius: 20px;
  padding: 4px 10px; font: 600 .78rem/1.2 var(--font); color: var(--ink);
  cursor: pointer; transition: all .15s ease;
}
.cat-color-pill .swatch-dot { width: 14px; height: 14px; }
.cat-color-pill:hover { border-color: var(--teal); background: #fff; }
.cat-color-pill.active { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 2px 6px rgba(15, 23, 42, .2); }
.toolbar-right { display: flex; align-items: center; gap: 16px; margin-left: auto; flex-wrap: wrap; }
.toolbar label { display: flex; align-items: center; gap: 6px; margin: 0; font-weight: 500; }
.toolbar select { width: auto; margin: 0; padding: 6px 10px; font-size: .85rem; }
.collections-index { columns: 3 280px; column-gap: 32px; background: #fff; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); }
.collections-index section { break-inside: avoid; margin-bottom: 26px; }
.collections-index ul { list-style: none; padding: 0; margin: 0; }
.collections-index li { padding: 4px 0; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 32px 0; }
.pagination a, .pagination span { min-width: 40px; padding: 9px 13px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); text-align: center; font-weight: 600; }
.pagination .current { background: var(--carbon); border-color: var(--carbon); color: #fff; }
.pagination .gap { border: 0; background: transparent; }

/* Product Detail Page */
.product { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 40px; margin-bottom: 44px; align-items: start; }
.gallery-main {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; box-shadow: var(--shadow-sm);
}
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 12px; transition: transform .2s ease; cursor: zoom-in; }
.zoom-hint {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(15, 23, 42, .75); color: #fff; font-size: .76rem; font-weight: 600;
  padding: 5px 10px; border-radius: 20px; display: inline-flex; align-items: center; gap: 5px; pointer-events: none;
}
.thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs button { border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 2px; background: #fff; cursor: pointer; width: 76px; height: 76px; overflow: hidden; transition: border-color .15s; }
.thumbs button.active, .thumbs button:hover { border-color: var(--teal); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }

.buy { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.buy-meta-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.brand-pill { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--soft); color: var(--teal-dark); padding: 4px 10px; border-radius: 4px; }
.stock-pill { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.stock-pill.in { background: #dcfce7; color: #15803d; }
.stock-pill.out { background: #fee2e2; color: #b91c1c; }
.buy h1 { font-size: 1.55rem; line-height: 1.28; margin-bottom: 10px; }
.rating-link { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; margin-bottom: 8px; color: var(--muted); }

.spec-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.spec-pill { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 7px 12px; display: flex; align-items: center; gap: 8px; font-size: .84rem; }
.spec-pill small { color: var(--muted); text-transform: uppercase; font-size: .72rem; font-weight: 700; }
.spec-pill code { font-family: var(--font-mono); font-weight: 600; color: var(--ink); font-size: .84rem; }

/* Anodized Color Swatches */
.opt-block { margin-bottom: 18px; }
.opt-head { font-size: .9rem; margin-bottom: 8px; color: var(--muted); }
.opt-head strong { color: var(--ink); }
.swatch-list { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 2px solid var(--line); border-radius: 8px;
  padding: 7px 13px; font: 600 .86rem/1.2 var(--font); color: var(--ink);
  cursor: pointer; transition: all .15s ease;
}
.swatch-btn:hover { border-color: #94a3b8; background: var(--soft); }
.swatch-btn.active { border-color: var(--teal); background: #f0f9ff; color: var(--teal-dark); box-shadow: 0 0 0 2px rgba(30, 136, 168, .18); }
.swatch-dot { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); box-shadow: inset 0 1px 2px rgba(255, 255, 255, .45); flex-shrink: 0; }

.qty-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin-top: 18px; }
.qty-stepper { display: flex; align-items: center; border: 1px solid #cbd5e1; border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.qty-stepper button { width: 38px; height: 46px; border: 0; background: var(--soft); color: var(--ink); font-size: 1.15rem; font-weight: 700; cursor: pointer; }
.qty-stepper button:hover { background: var(--line); }
.qty-stepper input { width: 58px !important; margin: 0 !important; border: 0 !important; text-align: center; font-weight: 700; padding: 0 !important; box-shadow: none !important; }
.add-btn { flex: 1; min-width: 200px; font-size: 1.05rem; }
.stock-note { color: var(--warn); font-weight: 700; font-size: .88rem; margin: 10px 0 0; min-height: 1.2em; }
.add-msg { margin-top: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; font-weight: 500; }
.add-msg.error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

.perks { list-style: none; padding: 16px; margin: 20px 0 0; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .86rem; }
.perks li { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.pk-ico { font-size: 1.1rem; }

.product-desc, .reviews { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 36px; box-shadow: var(--shadow-sm); }
.desc-header { border-bottom: 1px solid var(--line); margin-bottom: 18px; padding-bottom: 10px; }
.desc-header h2, .reviews > h2 { margin: 0; font-family: var(--font-head); font-size: 1.55rem; text-transform: uppercase; }
.rte { overflow-wrap: break-word; line-height: 1.7; color: var(--text); }
.rte h3 {
  font-family: var(--font-head); font-size: 1.25rem; text-transform: uppercase;
  color: var(--ink); margin: 22px 0 10px; padding-bottom: 6px;
  border-bottom: 1px solid var(--soft); letter-spacing: .02em;
}
.rte h3:first-child { margin-top: 0; }
.rte ul, .rte ol { padding-left: 1.3em; margin: 0 0 16px; }
.rte li { margin-bottom: 6px; }
.rte li strong, .rte li b { color: var(--ink); }
.rte img { height: auto; margin: 16px auto; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.rte .desc-media { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); display: grid; gap: 14px; }
.rte table { border-collapse: collapse; max-width: 100%; display: block; overflow-x: auto; margin: 14px 0; }
.rte td, .rte th { border: 1px solid var(--line); padding: 8px 12px; }
.rte iframe { max-width: 100%; border-radius: var(--radius-sm); }

/* Reviews Section */
.reviews-summary { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; margin: 18px 0 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.avg { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.avg strong { font-size: 2.6rem; line-height: 1; color: var(--ink); font-family: var(--font-head); }
.avg small { color: var(--muted); }
.dist { list-style: none; padding: 0; margin: 0; font-size: .85rem; min-width: 240px; }
.dist li { display: flex; align-items: center; gap: 8px; }
.dist .bar { flex: 1; height: 8px; background: var(--soft); border-radius: 4px; overflow: hidden; }
.dist .bar i { display: block; height: 100%; background: #f59e0b; }
.reviews-summary .btn { margin-left: auto; }
.review-form { background: var(--soft); padding: 22px; border-radius: var(--radius-sm); margin-bottom: 24px; max-width: 720px; border: 1px solid var(--line); }
.rate-input { border: 0; padding: 0; margin: 0 0 12px; display: inline-flex; flex-direction: row-reverse; background: transparent; }
.rate-input legend { width: 100%; }
.rate-input input { position: absolute; opacity: 0; }
.rate-input label { font-size: 30px; color: #cbd5e1; cursor: pointer; padding: 0 2px; margin: 0; }
.rate-input input:checked ~ label, .rate-input label:hover, .rate-input label:hover ~ label { color: #f59e0b; }
.review-list { list-style: none; padding: 0; margin: 0; }
.review-list > li { border-bottom: 1px solid var(--line); padding: 18px 0; }
.review-list > li:last-child { border-bottom: 0; }
.rv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .9rem; }
.rv-head time { margin-left: auto; }
.verified { color: var(--ok); font-size: .78rem; font-weight: 700; background: #ecfdf5; padding: 2px 8px; border-radius: 10px; }
.review-list h4 { margin: 8px 0 4px; }
.rv-pics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.rv-pics img { width: 92px; height: 92px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.rv-reply { background: var(--soft); border-left: 3px solid var(--teal); padding: 10px 14px; margin-top: 10px; font-size: .9rem; border-radius: 0 6px 6px 0; }

/* Slide-Out Mini-Cart Drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(11, 16, 23, .6); backdrop-filter: blur(2px); z-index: 150; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 92vw;
  background: #fff; z-index: 160; display: flex; flex-direction: column;
  box-shadow: -12px 0 36px rgba(0, 0, 0, .25);
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; background: var(--carbon); color: #fff; }
.drawer-head h3 { color: #fff; margin: 0; font-family: var(--font-head); font-size: 1.35rem; text-transform: uppercase; }
.drawer-close { background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 6px; cursor: pointer; font-size: 1rem; }
.drawer-ship { background: #f0f9ff; border-bottom: 1px solid #bae6fd; padding: 12px 20px; font-size: .84rem; color: #0369a1; font-weight: 600; }
.drawer-ship p { margin: 0 0 6px; }
.ship-bar { height: 7px; background: #e0f2fe; border-radius: 4px; overflow: hidden; }
.ship-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), #16a34a); transition: width .35s ease; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 20px; }
.dline { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.dline img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #fff; flex-shrink: 0; }
.dline-info { flex: 1; min-width: 0; }
.dline-info a { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dline-info small { display: block; color: var(--muted); font-size: .76rem; }
.dline-ctrl { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.dqty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 5px; }
.dqty button { border: 0; background: var(--soft); width: 24px; height: 24px; cursor: pointer; font-weight: 700; }
.dqty span { padding: 0 8px; font-size: .82rem; font-weight: 600; }
.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--line); background: var(--soft); }
.drawer-sub { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; margin-bottom: 4px; }
.drawer-sub strong { font-size: 1.35rem; color: var(--ink); }
.drawer-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }

/* Fullscreen Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(6, 9, 14, .92); z-index: 200;
  display: grid; place-items: center; padding: 24px;
}
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; background: #fff; border-radius: 8px; padding: 8px; }
.lb-close { position: absolute; top: 20px; right: 24px; background: rgba(255, 255, 255, .15); color: #fff; border: 0; width: 42px; height: 42px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .15); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* Sticky Mobile Buy Bar */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; background: #fff;
  border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .1);
  z-index: 70; padding: 10px 0;
}
.sticky-buy-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.sticky-prod { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sticky-prod img { width: 42px; height: 42px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; flex-shrink: 0; }
.sticky-prod strong { display: block; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 48vw; }
.sticky-prod span { font-weight: 800; color: var(--accent); font-size: .95rem; }

/* Cart, Checkout, Order, Account */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.cart-lines { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: .78rem; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding: 8px; }
.cart-table td { border-bottom: 1px solid var(--line); padding: 14px 8px; vertical-align: middle; }
.cart-table .thumb { width: 96px; }
.cart-table .thumb img { width: 80px; height: 80px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.cart-table .name a { color: var(--ink); font-weight: 600; }
.qty-input { width: 80px !important; margin: 0 !important; }
.cart-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 96px; box-shadow: var(--shadow-sm); }
.summary .pay-icons { justify-content: center; margin-top: 14px; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 16px 0; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; text-align: right; font-weight: 600; }
.totals .grand { font-size: 1.28rem; font-weight: 800; color: var(--ink); border-top: 1px solid var(--line); padding-top: 12px; }
.totals .grand small { font-size: .75rem; color: var(--muted); font-weight: 500; }

.is-checkout .site-header { position: static; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.checkout-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.checkout-form section { margin-bottom: 26px; }
.steps { list-style: none; padding: 0; margin: 0 0 24px; display: flex; gap: 8px; font-size: .85rem; color: var(--muted); flex-wrap: wrap; }
.steps li + li::before { content: "›"; margin-right: 8px; }
.steps .active { color: var(--ink); font-weight: 700; }
.ship-options { border: 1px solid var(--line); border-radius: var(--radius-sm); }
.ship-opt { display: flex !important; align-items: center; gap: 12px; padding: 14px 16px; margin: 0 !important; cursor: pointer; font-weight: 400 !important; }
.ship-opt + .ship-opt { border-top: 1px solid var(--line); }
.ship-opt input { width: auto; margin: 0; }
.ship-name { flex: 1; }
.ship-name small { display: block; }
.checkout-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 16px; }
.mini-lines li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: .9rem; }
.mini-img { position: relative; flex: none; }
.mini-img img { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.mini-img b { position: absolute; top: -8px; right: -8px; background: var(--carbon); color: #fff; font-size: .72rem; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; }
.mini-name { flex: 1; }
.mini-name small { display: block; }
.review-box { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 16px; }
.review-box > div { display: flex; gap: 14px; padding: 12px 0; font-size: .9rem; }
.review-box > div + div { border-top: 1px solid var(--line); }
.review-box .muted { width: 70px; flex: none; }
.review-box span:nth-child(2) { flex: 1; }
#paypal-buttons { max-width: 480px; min-height: 150px; }
.paying { padding: 14px; background: #f0f9ff; border-radius: var(--radius-sm); margin-bottom: 12px; font-weight: 600; }

.thanks { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.thanks h1 { margin: 0; }
.thanks p { margin: 0; }
.tick { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ok); color: var(--ok); display: grid; place-items: center; font-size: 26px; font-weight: 700; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.box h2 { font-size: 1.05rem; }
.box address + h2, .box p + h2 { margin-top: 18px; }
address { font-style: normal; }
.status-row { display: flex; gap: 8px; margin-bottom: 20px; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; }
.order-table { width: 100%; border-collapse: collapse; }
.order-table td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: .92rem; }
.order-table .thumb { width: 66px; }
.order-table .thumb img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }

.auth-box { max-width: 460px; margin: 24px auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.account-nav { display: flex; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 24px; align-items: center; }
.account-nav a, .account-nav .link-btn { padding: 10px 0; border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 600; }
.account-nav a.active { border-color: var(--accent); color: var(--ink); }
.account-nav form { margin-left: auto; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; border-radius: var(--radius); overflow: hidden; }
.data-table th { text-align: left; font-size: .78rem; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--soft); }
.data-table td { padding: 12px; border-bottom: 1px solid var(--line); }
.address-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.address-cards .badge { margin-bottom: 8px; }
.row-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: .9rem; }

.posts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 24px; }
.posts li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); }
.posts img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 12px; }
.posts h2 { font-size: 1.12rem; margin-bottom: 4px; }
.posts time { color: var(--muted); font-size: .84rem; }
.posts p { font-size: .92rem; margin-top: 6px; }
.page { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.page h1 { margin-bottom: 18px; }

/* Dark Carbon Footer */
.site-footer { background: var(--carbon); color: #94a3b8; font-size: .88rem; border-top: 3px solid var(--teal); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; padding-top: 48px; padding-bottom: 36px; }
.footer-brand img { background: #fff; padding: 6px 10px; border-radius: 6px; margin-bottom: 14px; }
.footer-brand p { color: #cbd5e1; font-size: .86rem; line-height: 1.55; }
.tier-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tier-pills span { font-size: .72rem; font-weight: 700; color: var(--teal-light); background: rgba(56, 189, 248, .1); border: 1px solid rgba(56, 189, 248, .25); padding: 3px 8px; border-radius: 12px; }
.site-footer h4 { color: #fff; font-family: var(--font-head); font-size: 1.08rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: var(--teal-light); }
.pay-icons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pay-icons span { background: #fff; color: #0f172a; font-size: .72rem; font-weight: 800; padding: 4px 9px; border-radius: 4px; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px; padding-bottom: 18px; font-size: .8rem; color: #64748b; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-cnc { grid-template-columns: 1fr; padding: 32px; }
  .usp-strip { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cart-layout, .checkout, .account-grid, .order-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .checkout-summary { order: -1; }
}
@media (max-width: 860px) {
  .topbar-links { display: none; }
  .header-row { flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 12px; padding-top: 12px; padding-bottom: 12px; }
  .nav-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 38px; height: 38px; padding: 0; border-radius: 8px; order: 1; }
  .nav-toggle span { margin: 0; }
  .logo { order: 2; flex: 1; display: flex; justify-content: center; align-items: center; min-width: 0; padding: 2px 6px; }
  .logo img { height: 34px; width: auto; max-width: 100%; object-fit: contain; }
  .header-icons { order: 3; margin-left: 0; gap: 8px; }
  .icon-link { padding: 0; }
  .icon-box { width: 38px; height: 38px; border-radius: 8px; }
  .icon-link .lbl { display: none; }
  .search-wrap { order: 4; flex-basis: 100%; max-width: none; }
  .search input { padding: 6px 12px; font-size: .85rem; }
  .search button { padding: 0 14px; font-size: .82rem; }
  .main-nav { display: none; max-height: calc(100vh - 105px); overflow-y: auto; background: #fff; border-top: 1px solid var(--line); }
  .main-nav.open { display: block; }
  .menu { flex-direction: column; align-items: stretch; padding: 0; }
  .menu > li { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--soft); }
  .menu > li > a { flex: 1; padding: 10px 16px; color: var(--ink); }
  .menu-right { margin-left: 0; }
  .sub-toggle { display: block; background: none; border: 0; color: var(--ink); font-size: 1.2rem; width: 44px; cursor: pointer; }
  .menu .sub, .menu .mega .sub { position: static; display: none; width: 100%; columns: 1; box-shadow: none; border: 0; border-radius: 0; background: #f8fafc; padding: 4px 0; }
  .menu > li:hover > .sub, .menu > li:focus-within > .sub { display: none; }
  .menu > li.open > .sub { display: block; }
  .menu .sub a { color: var(--text); padding: 7px 24px; }
  .product { grid-template-columns: 1fr; gap: 24px; }
  .hero-content h1 { font-size: 2.1rem; }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 14px; padding-right: 14px; }
  .pad { padding-top: 20px; padding-bottom: 28px; }
  .footer-top { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 24px; gap: 22px; }
  .copyright { padding-top: 16px; padding-bottom: 20px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 10px; }
  .card-title { font-size: .84rem; }
  .form-grid, .usp-strip { grid-template-columns: 1fr; }
  .hero-cnc { padding: 22px 18px; }
  .buy, .product-desc, .reviews, .page { padding: 20px 16px; }
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 90px 1fr auto; gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .cart-table td { border: 0; padding: 0; }
  .cart-table .thumb { grid-row: span 4; }
  .cart-table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: .8rem; }
  .data-table thead { display: none; }
  .data-table tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .data-table td { display: flex; justify-content: space-between; border: 0; padding: 3px 0; }
  .data-table td::before { content: attr(data-label); color: var(--muted); }
  .reviews-summary .btn { margin-left: 0; }
  .rv-head time { margin-left: 0; }
}
