/* ── TOP Frontend — Modern & Clean ────────────────────── */
:root {
  /* Core palette */
  --charcoal: #323A3C;
  --charcoal-light: #3F484B;
  --charcoal-muted: #4A5558;
  --light: #FFFFFF;
  --light-warm: #F7F9FA;
  --ice: #CFE5F0;
  --ice-mid: #B8D8E8;
  --ice-pale: #E8F2F8;
  --ice-dark: #7BBDD4;

  /* CTA */
  --cta: #2B8FD4;
  --cta-hover: #1F7BBE;

  /* Text */
  --text: #2B3235;
  --text-muted: #6B7578;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: rgba(255,255,255,0.65);
  --border: #DAE2E6;

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Shadows */
  --card-shadow: 0 2px 12px rgba(50,58,60,0.06);
  --card-hover-shadow: 0 8px 24px rgba(50,58,60,0.12);

  /* Radius */
  --radius: 12px;
  --radius-sm: 8px;

  /* Layout */
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: var(--ice-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ── Container ────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ── Header — single light-blue bar, two rows ────────── */
.site-header {
  background: var(--ice);
  border-bottom: 1px solid var(--ice-mid);
  position: sticky; top: 0; z-index: 100;
  height: 100px; /* LOCKED — do not change */
  overflow: visible;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: stretch; gap: 1.5rem;
  height: 100%; overflow: visible;
}
.brand { text-decoration: none; flex-shrink: 0; display: flex; align-items: center; position: relative; z-index: 101; }
.brand-logo { height: 80px; width: auto; transition: transform .2s; display: block; }
.brand-logo:hover { transform: scale(1.03); }
.header-right { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: .5rem 0 .35rem; }

/* Top row — login pinned right, search positioned to page centre */
.header-top-row {
  display: flex; align-items: center;
  font-size: .78rem;
  min-height: 28px;
}
.search-form {
  display: flex; border-radius: 99px; overflow: hidden;
  background: rgba(255,255,255,.6); border: 1px solid var(--ice-mid);
  width: 340px;
  position: fixed; left: 50%; transform: translateX(-50%);
  top: 10px; z-index: 102;
}
.search-input {
  flex: 1; border: none; background: none; padding: .3rem .75rem;
  color: var(--charcoal); font-size: .8rem; outline: none;
}
.search-input::placeholder { color: rgba(50,58,60,.4); }
.search-btn {
  background: none; border: none; color: var(--charcoal); padding: .3rem .6rem;
  cursor: pointer; display: flex; align-items: center; transition: color .15s;
}
.search-btn:hover { color: var(--cta); }
.util-right { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.util-link {
  color: var(--charcoal); text-decoration: none; font-weight: 500;
  font-size: .78rem; transition: color .15s; white-space: nowrap;
}
.util-link:hover { color: var(--cta); text-decoration: none; }

/* Bottom row — nav links justified right */
.nav-row { display: flex; align-items: center; justify-content: flex-end; }
.nav-links { display: flex; gap: .15rem; align-items: center; }
.nav-links > a {
  padding: .35rem .85rem; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500;
  color: var(--charcoal); transition: all .15s;
}
.nav-links > a:hover { color: var(--text); background: rgba(255,255,255,.5); text-decoration: none; }
.nav-links > a.nav-help,
.nav-help {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50% !important;
  background: #323A3C !important; color: #fff !important;
  text-decoration: none; transition: all .2s;
  margin-left: .5rem; padding: 0 !important;
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  line-height: 1;
}
.nav-links > a.nav-help:hover,
.nav-help:hover { background: var(--cta) !important; color: #fff !important; text-decoration: none; transform: scale(1.08); }

/* ── Mega Menu — white dropdown on light blue header ─── */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  background: none; border: none; cursor: pointer;
  padding: .5rem .85rem; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 600; font-family: var(--font-body);
  color: var(--charcoal); transition: all .15s;
}
.nav-dropdown-trigger:hover { color: var(--text); background: rgba(255,255,255,.5); }
.dropdown-arrow { font-size: .7rem; margin-left: .2rem; transition: transform .2s; }
.nav-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }
.mega-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: 680px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(50,58,60,.15);
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s;
  transform: translateX(-50%) translateY(8px);
  z-index: 200;
}
.nav-dropdown:hover .mega-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-menu-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.mega-heading {
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--ice-dark); margin-bottom: .5rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--border);
}
.mega-col a {
  display: block; padding: .3rem .5rem;
  font-size: .85rem; color: var(--text-muted);
  border-radius: 6px; transition: all .12s;
}
.mega-col a:hover {
  background: var(--ice-pale); color: var(--text);
  text-decoration: none;
}

/* ── Hamburger ────────────────────────────────────────── */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--charcoal); margin: 5px 0; border-radius: 3px; transition: .3s; }

/* ── Hero — charcoal ─────────────────────────────────── */
.hero {
  background: var(--charcoal);
  padding: 2rem 0 1.25rem; text-align: center;
  position: relative; overflow: hidden;
}
.hero-content { position: relative; z-index: 1; }
.hero-tag {
  display: inline-block; padding: .35rem 1rem; border-radius: 99px;
  background: rgba(207,229,240,.15); color: var(--ice); font-size: .8rem;
  font-weight: 600; margin-bottom: .75rem; letter-spacing: .03em;
  animation: fadeUp .6s ease-out;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--text-on-dark); margin: 0 0 .6rem;
  line-height: 1.15; letter-spacing: .01em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--ice), var(--ice-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1rem; color: var(--text-on-dark-muted);
  max-width: 560px; margin: 0 auto 1.25rem; line-height: 1.55;
}
.btn-hero {
  display: inline-block; padding: .9rem 2.5rem;
  background: var(--cta); color: #fff;
  border: none; border-radius: 99px;
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600; cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(43,143,212,.25);
}
.btn-hero:hover {
  background: var(--cta-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(43,143,212,.35);
  text-decoration: none;
}

/* Hero dude characters */
.hero-dudes {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}
.hero-dude {
  height: 140px;
  width: auto;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.2));
  transition: transform .3s ease;
}
.hero-dude:hover {
  transform: translateY(-8px) scale(1.05);
}
.hero-dude:nth-child(2) { height: 128px; }
.hero-dude:nth-child(4) { height: 124px; }

@keyframes fadeUp {
  0% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ── Section spacing ──────────────────────────────────── */
.section { padding: 5rem 0; }
.section-alt { background: var(--light-warm); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--text);
  text-align: center; margin: 0 0 .5rem;
  letter-spacing: .01em;
}
.section-subtitle {
  text-align: center; color: var(--text-muted);
  font-size: 1.05rem; margin: 0 auto 3rem;
  max-width: 520px;
}

/* ── Trust signals ────────────────────────────────────── */
.trust-bar {
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
  padding: 2.5rem 0;
}
.trust-item { text-align: center; transition: transform .2s; }
.trust-item:hover { transform: translateY(-3px); }
.trust-icon {
  font-size: 1.5rem; margin-bottom: .4rem;
  color: var(--ice-dark);
}
.trust-text { font-size: .9rem; font-weight: 700; color: var(--text); }
.trust-sub { font-size: .8rem; color: var(--text-muted); }

/* ── Product category cards ───────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.cat-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  position: relative;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
  border-color: var(--ice-mid);
  text-decoration: none;
}
.cat-card-img {
  height: 180px;
  position: relative;
  overflow: hidden;
  background: var(--ice-pale);
}
.cat-card-img .cat-cover {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.cat-card:hover .cat-card-img .cat-cover { transform: scale(1.06); }
.cat-card-body { padding: 0 .4rem .1rem 0; flex: 1; display: flex; flex-direction: row; align-items: flex-start; gap: .35rem; overflow: visible; }
.cat-dude-inline {
  height: 144px; width: auto;
  flex-shrink: 0;
  margin-top: -72px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.15));
  transition: transform .3s ease;
  position: relative;
  z-index: 1;
}
.cat-card:hover .cat-dude-inline { transform: scale(1.1); }
.cat-card-text { flex: 1; display: flex; flex-direction: column; padding-top: .4rem; }
.cat-card-body h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600; color: var(--text);
  margin: 0 0 .2rem;
}
.cat-card-body p { font-size: .82rem; color: var(--text-muted); margin: 0 0 .5rem; flex: 1; }
.cat-card-link {
  font-size: .82rem; font-weight: 600; color: var(--cta);
  transition: transform .15s; display: inline-block;
}
.cat-card:hover .cat-card-link { transform: translateX(4px); }
.cat-card-badge {
  position: absolute; top: .75rem; right: .75rem;
  background: var(--cta); color: #fff;
  font-size: .68rem; font-weight: 700;
  padding: .2rem .6rem; border-radius: 99px;
  font-family: var(--font-display);
  z-index: 2;
}

/* ── Product cards (within category pages) ────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all .25s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
  border-color: var(--ice-mid);
}
.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600; color: var(--text);
  margin: 0 0 .5rem;
}
.product-card p { font-size: .85rem; color: var(--text-muted); margin: 0 0 .75rem; }
.product-price { font-weight: 700; color: var(--cta); font-size: 1.1rem; font-family: var(--font-display); }

/* ── How it works ─────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; text-align: center;
}
.step-item {
  padding: 2rem 1.5rem;
  background: var(--light);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all .25s;
}
.step-item:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--charcoal);
  color: var(--ice);
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: transform .3s;
}
.step-item:hover .step-num { transform: scale(1.08); }
.step-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600; color: var(--text); margin: 0 0 .5rem;
}
.step-item p { font-size: .88rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ── CTA Section ──────────────────────────────────────── */
.cta-section {
  background: var(--charcoal);
  color: var(--text-on-dark); text-align: center; padding: 5rem 2rem;
  border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.cta-dude {
  position: absolute;
  bottom: -10px; right: 2rem;
  height: 180px; opacity: .15;
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; margin: 0 0 .75rem;
}
.cta-section p { font-size: 1.05rem; color: var(--text-on-dark-muted); margin: 0 0 2rem; max-width: 450px; margin-left: auto; margin-right: auto; }
.btn-cta {
  display: inline-block; padding: .85rem 2.2rem;
  background: var(--cta); color: #fff;
  border: none; border-radius: 99px;
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
  transition: all .2s; text-decoration: none;
  box-shadow: 0 4px 16px rgba(43,143,212,.25);
}
.btn-cta:hover { background: var(--cta-hover); transform: translateY(-3px); text-decoration: none; box-shadow: 0 8px 24px rgba(43,143,212,.35); }

/* ── Page Hero (category pages) ───────────────────────── */
.page-hero {
  background: var(--charcoal);
  padding: 3.5rem 0; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
.page-hero-text { text-align: center; }
.page-hero-dude {
  height: 200px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.2));
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; color: var(--text-on-dark); margin: 0 0 .75rem;
  letter-spacing: .01em;
}
.page-hero p { font-size: 1.05rem; color: var(--text-on-dark-muted); max-width: 550px; margin: 0 auto; line-height: 1.6; }
.page-hero .hero-tag {
  background: rgba(207,229,240,.15); color: var(--ice);
}

/* ── Footer — charcoal ───────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: var(--text-on-dark-muted);
  padding: 4rem 0 2rem;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--ice);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2rem;
}
.footer-brand-block { margin-bottom: .75rem; }
.footer-logo { height: 72px; width: auto; opacity: .9; }
.footer-tagline { font-size: .9rem; margin: 0; font-style: italic; color: var(--text-on-dark-muted); }
.footer-heading {
  font-family: var(--font-display);
  font-weight: 700; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ice); margin-bottom: .75rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .35rem; }
.footer-links a { color: var(--text-on-dark-muted); font-size: .85rem; transition: all .15s; }
.footer-links a:hover { color: var(--text-on-dark); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem; font-size: .8rem; text-align: center;
  color: var(--text-on-dark-muted);
}

/* ── All Products link grid ──────────────────────────── */
.all-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .75rem;
}
.all-products-grid a {
  display: flex; align-items: center; gap: .5rem;
  padding: .65rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .88rem; color: var(--text);
  transition: all .2s; font-weight: 500;
}
.all-products-grid a:hover {
  border-color: var(--ice-mid); background: var(--ice-pale);
  text-decoration: none; transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}
.all-products-grid .prod-icon { font-size: 1.3rem; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; align-items: stretch; gap: .5rem; padding: .5rem 1rem; }
  .brand { text-align: center; }
  .brand-logo { height: 64px; margin: 0 auto; }
  .header-top-row { flex-wrap: wrap; justify-content: center; }
  .search-form { max-width: none; flex: 1 1 100%; order: 3; margin-top: .25rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ice); border-bottom: 1px solid var(--ice-mid);
    padding: 1rem; box-shadow: 0 8px 24px rgba(50,58,60,.1);
    z-index: 200;
  }
  .nav-links.open .nav-dropdown { order: -1; }
  .mega-menu {
    position: static; transform: none;
    width: auto; opacity: 1; visibility: visible;
    box-shadow: none; border: none; padding: .5rem;
    display: none; background: var(--light);
  }
  .nav-dropdown:hover .mega-menu,
  .nav-links.open .mega-menu { display: block; transform: none; }
  .mega-menu-inner { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .trust-bar { gap: 1.5rem; }
  .hero { padding: 3rem 0 2rem; }
  .hero-dudes { gap: 1.5rem; margin-top: 2rem; }
  .hero-dude { height: 130px; }
  .hero-dude:nth-child(2) { height: 120px; }
  .hero-dude:nth-child(4) { height: 115px; }
  .section { padding: 3rem 0; }
  .page-hero-inner { flex-direction: column; gap: 1.5rem; }
  .page-hero-dude { height: 150px; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .product-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .mega-menu-inner { grid-template-columns: 1fr; }
  .all-products-grid { grid-template-columns: 1fr 1fr; }
  .hero-dudes { gap: 1rem; flex-wrap: wrap; }
  .hero-dude { height: 100px; }
  .hero-dude:nth-child(2), .hero-dude:nth-child(4) { height: 90px; }
  .calc-layout { grid-template-columns: 1fr; }
  .calc-shapes { grid-template-columns: repeat(2, 1fr); }
}

/* ── Roll Label Calculator ───────────────────────────── */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.calc-panel {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.calc-panel-title {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--text); margin: 0 0 1.5rem;
}
.calc-field { margin-bottom: 1.5rem; }
.calc-field:last-child { margin-bottom: 0; }
.calc-label {
  display: block; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); margin-bottom: .5rem;
  font-family: var(--font-display);
}

/* Shape buttons */
.calc-shapes {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem;
}
.shape-btn {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  padding: .75rem .5rem; border-radius: var(--radius-sm);
  border: 2px solid var(--border); background: var(--light);
  cursor: pointer; transition: all .15s;
  color: var(--text-muted); font-size: .72rem; font-weight: 500;
  font-family: var(--font-body);
}
.shape-btn:hover { border-color: var(--ice-mid); color: var(--text); }
.shape-btn.active {
  border-color: var(--cta); background: rgba(43,143,212,.06);
  color: var(--cta);
}
.shape-btn svg { color: inherit; }

/* Dimension inputs */
.calc-dims {
  display: flex; align-items: center; gap: .75rem;
}
.calc-dim-input {
  display: flex; align-items: center; gap: .4rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: .1rem .6rem; background: var(--light);
  flex: 1;
}
.calc-dim-input:focus-within { border-color: var(--cta); box-shadow: 0 0 0 3px rgba(43,143,212,.1); }
.dim-label {
  font-size: .72rem; font-weight: 700; color: var(--text-muted);
  font-family: var(--font-display); min-width: 1rem;
}
.dim-unit {
  font-size: .72rem; color: var(--text-muted);
}
.calc-dim-input input {
  border: none; background: none; outline: none;
  font-size: 1rem; font-weight: 600; color: var(--text);
  width: 100%; padding: .45rem 0;
  font-family: var(--font-display);
  -moz-appearance: textfield;
}
.calc-dim-input input::-webkit-outer-spin-button,
.calc-dim-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dim-x { font-size: 1rem; color: var(--text-muted); font-weight: 300; }

/* Presets */
.calc-presets {
  display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem;
}
.preset-btn {
  padding: .25rem .6rem; border-radius: 99px;
  border: 1px solid var(--border); background: var(--light);
  font-size: .72rem; color: var(--text-muted); cursor: pointer;
  font-family: var(--font-display); font-weight: 500;
  transition: all .15s;
}
.preset-btn:hover { border-color: var(--ice-mid); color: var(--text); }
.preset-btn.active {
  background: var(--charcoal); color: var(--text-on-dark);
  border-color: var(--charcoal);
}

/* Select */
.calc-select {
  width: 100%; padding: .6rem .75rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--text); background: var(--light);
  font-family: var(--font-body); cursor: pointer; outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7578' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center;
  padding-right: 2.5rem;
}
.calc-select:focus { border-color: var(--cta); box-shadow: 0 0 0 3px rgba(43,143,212,.1); }

/* Radio pills */
.calc-radio-group { display: flex; flex-wrap: wrap; gap: .4rem; }
.calc-radio { cursor: pointer; }
.calc-radio input { display: none; }
.radio-pill {
  display: inline-block; padding: .4rem .85rem;
  border: 1px solid var(--border); border-radius: 99px;
  font-size: .82rem; color: var(--text-muted); font-weight: 500;
  transition: all .15s;
}
.calc-radio:hover .radio-pill { border-color: var(--ice-mid); color: var(--text); }
.calc-radio input:checked + .radio-pill {
  background: var(--charcoal); color: var(--text-on-dark);
  border-color: var(--charcoal);
}

/* Quantity input */
.calc-qty-input {
  width: 100%; padding: .6rem .75rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 1.1rem; font-weight: 600; color: var(--text);
  font-family: var(--font-display); outline: none;
  -moz-appearance: textfield;
}
.calc-qty-input:focus { border-color: var(--cta); box-shadow: 0 0 0 3px rgba(43,143,212,.1); }
.calc-qty-input::-webkit-outer-spin-button,
.calc-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ── Results panel ──────────────────────────────────── */
.calc-results {
  position: sticky; top: 120px;
}

/* Preview */
.calc-preview {
  text-align: center; padding: 1.5rem;
  background: var(--light-warm); border-radius: var(--radius);
  margin-bottom: 1.25rem;
}
.calc-preview-label { margin-bottom: .75rem; }
.calc-preview-specs { display: flex; justify-content: center; gap: .35rem; flex-wrap: wrap; }
.spec-chip {
  display: inline-block; padding: .2rem .6rem;
  background: var(--ice-pale); color: var(--charcoal);
  border-radius: 99px; font-size: .72rem; font-weight: 600;
  font-family: var(--font-display);
}

/* Price hero */
.calc-price-hero {
  background: var(--charcoal); color: var(--text-on-dark);
  border-radius: var(--radius); padding: 1.75rem;
  text-align: center; margin-bottom: 1.25rem;
}
.price-hero-qty {
  font-size: .82rem; color: var(--text-on-dark-muted);
  font-weight: 500; margin-bottom: .25rem;
  text-transform: uppercase; letter-spacing: .05em;
  font-family: var(--font-display);
}
.price-hero-total {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 700;
  line-height: 1.1; margin-bottom: .25rem;
  background: linear-gradient(135deg, var(--ice), var(--ice-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-hero-unit {
  font-size: .85rem; color: var(--text-on-dark-muted);
}

/* Price breaks table */
.calc-breaks {
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  margin-bottom: 1.25rem;
}
.calc-breaks-title {
  padding: .75rem 1rem; font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--light-warm);
}
.calc-breaks-table {
  width: 100%; border-collapse: collapse;
  font-size: .85rem;
}
.calc-breaks-table th {
  padding: .5rem 1rem; text-align: left;
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-muted); font-family: var(--font-display);
  border-bottom: 1px solid var(--border);
}
.calc-breaks-table td {
  padding: .55rem 1rem; border-bottom: 1px solid rgba(218,226,230,.4);
  color: var(--text);
}
.calc-breaks-table tr:last-child td { border-bottom: none; }
.calc-breaks-table tr.active td {
  background: rgba(43,143,212,.06); font-weight: 600; color: var(--cta);
}
.calc-breaks-table td:last-child { font-weight: 600; font-family: var(--font-display); }

/* CTA */
.calc-cta { text-align: center; }
.calc-cta .btn-cta { width: 100%; display: block; text-align: center; }
.calc-cta-note {
  font-size: .75rem; color: var(--text-muted);
  margin: .75rem 0 0; line-height: 1.5;
}

/* ── Calculator responsive ──────────────────────────── */
@media (max-width: 768px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-results { position: static; }
  .calc-shapes { grid-template-columns: repeat(4, 1fr); }
}
