/* INIBOX Matches, custom OpenCart theme
   STRICT palette from the official Pinecone logo: brand blue #2D79E9 on white.
   No violet, no gold. Blue + white + light-blue tints + dark ink text. */

:root {
  --brand: #2D79E9;
  --brand-dark: #1B5FCB;
  --brand-soft: #EAF1FD;
  --brand-tint: #D6E6FB;
  --white: #FFFFFF;
  --ink: #16243D;
  --muted: #5B6B85;
  --line: #E2E9F3;
  --bg: #F5F8FD;
  --card: #FFFFFF;
  --ok: #1c7a3a;            /* in-stock */
  --warn: #D6453E;          /* low-stock / urgency only, functional, not decorative */
  --radius: 14px;
  --shadow: 0 8px 30px rgba(45, 121, 233, .10);
  --shadow-sm: 0 2px 10px rgba(45, 121, 233, .08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); margin: 0 0 .5em; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  color: var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
}
.site-logo { display: flex; align-items: center; gap: 10px; color: var(--brand); font-weight: 800; font-size: 20px; }
.site-logo:hover { text-decoration: none; }
.site-logo img { height: 38px; width: auto; }
.site-logo .word { color: var(--brand); }
.site-search { flex: 1; max-width: 460px; }
.site-search input {
  width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; background: var(--bg);
}
.site-search input:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header-actions a { color: var(--ink); font-size: 14px; font-weight: 600; }
.cart-pill {
  background: var(--brand); color: #fff; font-weight: 700;
  padding: 8px 14px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center;
}
.cart-pill:hover { background: var(--brand-dark); text-decoration: none; color: #fff; }

/* ---------- Mega menu ---------- */
.megamenu { background: var(--brand); border-bottom: 1px solid rgba(255,255,255,.12); }
.megamenu__bar { padding: 0; }
.megamenu__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.megamenu__item { position: relative; }
.megamenu__trigger {
  background: none; border: none; cursor: pointer; color: #fff; font: inherit;
  font-size: 14px; font-weight: 600; padding: 12px 16px; display: inline-flex; align-items: center; gap: 6px; opacity: .92;
}
.megamenu__trigger:hover, .megamenu__item:hover .megamenu__trigger { background: rgba(255,255,255,.15); color: #fff; opacity: 1; }
.megamenu__trigger .coin { opacity: .8; font-weight: 500; }
.megamenu__trigger .caret { font-size: 10px; }
.megamenu__panel {
  display: none;
  position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--white);
  border: 1px solid var(--line); border-radius: 0 0 12px 12px; box-shadow: var(--shadow);
  z-index: 60;
}
.megamenu__item:hover .megamenu__panel { display: block; }
.megamenu__panel-inner { padding: 14px 16px; }
.megamenu__panel h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin: 0 0 8px; }
.megamenu__panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.megamenu__panel a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 600; }
.megamenu__panel a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .05s ease, filter .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--brand); color: #fff; }      /* primary = brand blue */
.btn-gold:hover { background: var(--brand-dark); text-decoration: none; color: #fff; }
.btn-violet { background: var(--white); color: var(--brand); border-color: var(--brand); }  /* secondary outline */
.btn-violet:hover { background: var(--brand-soft); text-decoration: none; color: var(--brand); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--brand); }
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-soft); text-decoration: none; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section--tight { padding: 28px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: var(--brand); }
.section-title { font-size: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand) 0%, #1b3f86 100%);
  color: #fff; padding: 56px 0 64px;
  border-bottom: 1px solid var(--line);
  min-height: 520px;
  display: flex; align-items: center;
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero .eyebrow { color: #fff; opacity: .9; }
.hero h1 { color: #fff; font-size: 38px; max-width: 16ch; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero p { color: #fff; font-size: 17px; max-width: 52ch; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero .cta-row { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: box-shadow .15s ease, transform .15s ease;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--brand-tint); }
.product-card__media { aspect-ratio: 1 / 1; background: var(--brand-soft); display: grid; place-items: center; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.product-card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__name { font-weight: 700; font-size: 16px; color: var(--ink); }
.product-card__price { font-size: 20px; font-weight: 800; color: var(--brand); }
.product-card__foot { margin-top: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.add-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; width: 100%; }
.add-form .qty-input { flex: 0 0 auto; }
.add-form .btn { flex: 1 1 auto; min-width: 110px; }

/* ---------- Stock + urgency ---------- */
.stock-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.stock-badge--in { background: var(--brand-soft); color: var(--brand); }
.stock-badge--low { background: #FDECEB; color: var(--warn); }
.stock-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.countdown {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-soft); border: 1px solid var(--brand-tint); color: var(--brand-dark);
  padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: 13px;
}
.countdown__clock { display: inline-flex; gap: 4px; font-variant-numeric: tabular-nums; }
.countdown__unit { background: var(--brand); color: #fff; padding: 3px 7px; border-radius: 6px; min-width: 30px; text-align: center; }
.countdown__unit small { display: block; font-size: 9px; font-weight: 600; opacity: .85; text-transform: uppercase; }
.countdown--ended { background: #f0f0f4; border-color: var(--line); color: var(--muted); }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.pdp__media { background: var(--brand-soft); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.pdp__media img { width: 100%; object-fit: contain; }
.pdp__name { font-size: 30px; }
.pdp__price { font-size: 30px; font-weight: 800; color: var(--brand); margin: 8px 0; }
.pdp__buy { display: flex; gap: 12px; align-items: center; margin: 18px 0; flex-wrap: wrap; }
.qty {
  display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: #fff;
}
.qty button { width: 38px; height: 44px; border: 0; background: #fff; font-size: 18px; cursor: pointer; color: var(--brand); }
.qty button:hover { background: var(--brand-soft); }
.qty input { width: 54px; height: 44px; border: 0; text-align: center; font-size: 16px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table th { color: var(--muted); font-weight: 600; width: 42%; }
.spec-table td { font-weight: 600; }
.spec-table tr th[style] { background: var(--brand-soft) !important; color: var(--brand) !important; }

/* ---------- Trust strip ---------- */
.trust-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.trust-item .ic { font-size: 22px; }
.trust-item h4 { margin: 0 0 2px; font-size: 15px; color: var(--ink); }
.trust-item p { margin: 0; color: var(--muted); font-size: 13px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C7D4E8; margin-top: 56px; padding: 44px 0 24px; }
.site-footer a { color: #C7D4E8; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.footer-grid h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 28px; padding-top: 16px; font-size: 13px; color: #8FA3C2; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Notice / alert ---------- */
.notice { background: var(--brand-soft); border: 1px solid var(--brand-tint); color: var(--brand-dark); padding: 12px 16px; border-radius: 10px; font-size: 14px; }

/* ---------- Sticky scam-alert banner (every page) ---------- */
.scam-banner {
  position: sticky; top: 0; z-index: 100;
  background: var(--brand); color: #fff;
  font-size: 13px; font-weight: 700; text-align: center;
  padding: 9px 14px; letter-spacing: .01em;
}
.scam-banner a { color: #fff; text-decoration: underline; }

/* In-page warning box */
.scam-alert {
  background: var(--brand-soft);
  border: 2px solid var(--brand);
  color: var(--brand-dark);
  padding: 16px 18px;
  border-radius: 12px;
  font-size: 15px;
  margin: 18px 0;
}
.scam-alert b { color: var(--brand); text-transform: uppercase; }

/* ---------- Social links ---------- */
.social-links { display: inline-flex; gap: 10px; align-items: center; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand);
  border: 1px solid var(--brand-tint);
}
.social-links a:hover { background: var(--brand); color: #fff; text-decoration: none; }
.social-links svg { width: 18px; height: 18px; fill: currentColor; }
.footer-social { margin-top: 12px; }

/* ---------- Auth (signup / login) ---------- */
.auth-wrap { display: flex; flex-direction: column; align-items: center; padding: 56px 20px 80px; background: var(--bg); }
.auth-card { width: 100%; max-width: 460px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 32px; }
.auth-card h1 { font-size: 26px; margin-bottom: 4px; }
.auth-sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.auth-form { display: grid; gap: 14px; }
.auth-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ink); }
.auth-form input,
.auth-form select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; background: var(--white); font-family: inherit; color: var(--ink); -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.auth-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b4bb8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer; }
.auth-form select:disabled { background-color: #f3f1f8; color: var(--muted); cursor: not-allowed; }
.auth-form input:focus,
.auth-form select:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
.auth-form small { font-weight: 400; color: var(--muted); font-size: 12px; }
.auth-form .btn { margin-top: 4px; }
.auth-alt { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }
.notice--err { background: #FDECEB; color: #B4231A; border: 1px solid #F6C6C1; padding: 10px 14px; border-radius: 10px; font-size: 14px; }

/* ---------- Hero carousel (runs BEHIND hero content) ---------- */
.hero-carousel { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slides { display: flex; height: 100%; transition: transform .6s ease; }
.hero-slide { position: relative; min-width: 100%; height: 100%; }
.hero-slide img.hero-slide__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-carousel__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13,40,92,.92) 0%, rgba(13,40,92,.72) 38%, rgba(13,40,92,.35) 70%, rgba(13,40,92,.55) 100%),
    linear-gradient(0deg, rgba(13,40,92,.85) 0%, rgba(13,40,92,0) 45%);
}
.hero-slide__caption {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; gap: 6px; align-items: center;
  text-align: center; color: #fff; width: min(92%, 760px);
}
.hero-slide__caption .xmr { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; background: rgba(0,0,0,.35); padding: 4px 10px; border-radius: 999px; }
.hero-slide__caption .xmr img { width: 18px; height: 18px; }
.hero-slide__caption .cap-name { font-size: 15px; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; }
.hero-dots button.is-active { background: #fff; width: 22px; border-radius: 6px; }

/* ---------- Limit rule banner ---------- */
.limit-rule { background: var(--brand-soft); border: 1px solid var(--brand-tint); color: var(--brand-dark); padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-top: 18px; }
.limit-rule b { color: var(--brand); }

/* ---------- Product card link + badges ---------- */
.product-card__link { text-decoration: none; color: inherit; display: block; }
.product-card__link:hover { text-decoration: none; }
.xmr-badge, .coin-badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; background: #FFF3E0; color: #B26A00; padding: 6px 12px; border-radius: 999px; }
.xmr-badge img { width: 22px; height: 22px; }
.tag { font-size: 11px; background: var(--brand); color: #fff; padding: 2px 8px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.link-btn { background: none; border: none; color: var(--brand); cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }

/* ---------- PDP additions ---------- */
.pdp__info h1 { font-size: 28px; margin: 6px 0 10px; }
.pdp__price { font-size: 26px; font-weight: 800; color: var(--brand); margin: 12px 0 4px; }
.specs { list-style: none; padding: 0; margin: 18px 0 4px; display: grid; gap: 6px; }
.specs li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 9px 0; font-size: 15px; }
.specs li span { color: var(--muted); }
.specs li b { font-weight: 700; }
.pdp__buy { display: flex; gap: 12px; align-items: flex-end; margin: 22px 0 4px; flex-wrap: wrap; }
.pdp__buy label { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; margin-bottom: 0; }
.pdp__buy .btn { flex: 0 0 auto; }

/* ---------- Cart table ---------- */
.cart-table { width: 100%; margin: 18px 0; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 2px solid var(--line); padding: 10px; }
.cart-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-name { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 600; }
.cart-name:hover { color: var(--brand); }
.cart-thumb { width: 56px; height: 56px; object-fit: contain; background: var(--brand-soft); border-radius: 10px; padding: 4px; }
.qty-input { border: 1px solid var(--line); border-radius: 8px; padding: 8px; }
.cart-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 16px 0; flex-wrap: wrap; }
.cart-total { font-size: 20px; font-weight: 800; }
.cart-checkout { margin-top: 8px; }

/* ---------- Cart pill count ---------- */
.cart-pill { position: relative; }
.cart-count { display: inline-block; min-width: 18px; height: 18px; line-height: 18px; text-align: center; background: #fff; color: var(--brand); border-radius: 999px; font-size: 11px; font-weight: 800; margin-left: 6px; padding: 0 5px; }

/* ---------- Profitability calculator ---------- */
.calc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow-sm); }
.calc__head { margin-bottom: 18px; }
.calc__sub { color: var(--muted); font-size: 14px; margin-top: 4px; max-width: 70ch; }
.calc__live { font-size: 14px; margin-top: 10px; color: var(--ink); }
.calc__live b { color: var(--brand); font-size: 16px; }
.calc__live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1DB954; margin: 0 4px; animation: livePulse 1.6s infinite; vertical-align: middle; }
.calc__live-note { font-size: 12px; color: var(--muted); }
@keyframes livePulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.calc__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; }
.calc__inputs { display: grid; gap: 14px; align-content: start; }
.calc__inputs label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); }
.calc__inputs input { padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; background: #fff; font-family: inherit; }
.calc__inputs input:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
.calc__results { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc__card { background: var(--brand-soft); border: 1px solid var(--brand-tint); border-radius: 12px; padding: 16px; }
.calc__card b { display: block; font-size: 24px; color: var(--brand); margin-top: 4px; }
.calc__card--profit { background: #E7F6EC; border-color: #B7E4C7; }
.calc__card--profit b { color: #1B7F3B; }
.calc__label { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.calc__note { grid-column: 1 / -1; font-size: 12px; color: var(--muted); margin: 4px 0 0; line-height: 1.5; }

/* ---------- Trust + pools ---------- */
.trust { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow-sm); }
.trust-row { display: flex; gap: 16px; flex-wrap: wrap; margin: 16px 0 8px; }
.trust-badge { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.trust-badge--tp .tp-stars { color: #00B67A; font-size: 22px; letter-spacing: 2px; }
.trust-badge--tp .tp-text { font-size: 14px; color: var(--ink); }
.trust-badge--tp .tp-text b { color: #00B67A; }
.trust-badge--kx .kx-mark { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg,#1b1f2a,#3a4156); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.trust-badge--kx .tp-text { font-size: 14px; }
.trust-badge--kx .tp-text b { color: var(--brand); }
.trust-pools-label { font-size: 13px; color: var(--muted); font-weight: 600; margin: 18px 0 10px; }
.pool-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.pool-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-soft); border: 1px solid var(--brand-tint); color: var(--ink); font-weight: 600; font-size: 13px; padding: 8px 14px; border-radius: 999px; }
.pool-chip .dot { width: 9px; height: 9px; border-radius: 50%; }

/* ---------- Category page ---------- */
.cat-head { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.cat-logo { height: 56px; width: auto; object-fit: contain; }
.cat-head .eyebrow { margin-bottom: 4px; }
.cat-head h1 { font-size: 32px; margin: 0 0 4px; }
.cat-sub { color: var(--muted); margin: 0; max-width: 60ch; }
.megamenu__viewall { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--brand); }
.megamenu__viewall:hover { text-decoration: underline; }

/* ---------- Volume discount + coupon UI ---------- */
.vol-card { margin: 14px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 60%); }
.vol-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.vol-card__title { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-dark); }
.vol-card__hint { font-size: 12px; color: var(--muted); }
.vol-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vol-tier { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s, transform .15s; }
.vol-tier__range { font-size: 13px; font-weight: 600; color: var(--ink); }
.vol-tier__disc { font-size: 12px; font-weight: 600; color: var(--muted); }
.vol-tier__disc--save { color: #1a9e54; }
.vol-tier.is-active { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(45,121,233,.14); transform: translateY(-1px); }
.vol-tier.is-active .vol-tier__disc { color: var(--brand-dark); }
.vol-tier.is-active .vol-tier__disc--save { color: #16833f; }
.pdp__price-disc { margin: 8px 0 0; font-size: 18px; color: var(--brand-dark); }
.pdp__price-disc .disc-pill { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 700; color: #fff; background: #1a9e54; padding: 3px 8px; border-radius: 999px; }
.pdp__price-disc s { color: var(--muted); font-weight: 400; }
.price-disc { font-weight: 700; color: var(--brand-dark); }
.price-old { color: var(--muted); margin-left: 6px; font-size: 13px; }
.disc-note { font-size: 12px; color: #1a9e54; font-weight: 600; margin-top: 2px; }
.cart-totals { text-align: right; }
.cart-line { font-size: 14px; color: var(--muted); margin: 2px 0; }
.cart-line--save { color: #1a9e54; font-weight: 700; }
.cart-total { font-size: 20px; font-weight: 800; color: var(--brand); margin-top: 4px; }
.checkout-summary { text-align: right; max-width: 360px; margin-left: auto; margin-bottom: 8px; }
.coupon-box { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--card); }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; }
.coupon-msg { font-size: 13px; margin: 8px 0 0; min-height: 16px; }
.coupon-msg.is-ok { color: #1a9e54; font-weight: 600; }
.coupon-msg.is-err { color: #c0102a; font-weight: 600; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--muted); }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card__link { text-decoration: none; color: inherit; display: block; }
.blog-card__media { height: 180px; background: var(--brand-soft); overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--brand) 0%, #1b3f86 100%); }
.blog-card__body { padding: 18px; }
.blog-card__meta { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.blog-card__title { font-size: 19px; margin: 8px 0 8px; color: var(--ink); line-height: 1.3; }
.blog-card__excerpt { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }
.article__wrap { max-width: 760px; margin: 0 auto; }
.article__meta { color: var(--muted); font-size: 14px; margin: 6px 0 18px; font-weight: 600; }
.article__cover { width: 100%; border-radius: 14px; margin-bottom: 22px; }
.article__body { font-size: 16px; line-height: 1.75; color: var(--ink); }
.article__body h2 { font-size: 24px; margin: 28px 0 12px; }
.article__body h3 { font-size: 20px; margin: 22px 0 10px; }
.article__body p { margin: 0 0 16px; }
.article__body ul, .article__body ol { margin: 0 0 16px; padding-left: 22px; }
.article__body li { margin: 6px 0; }
.article__body a { color: var(--brand); }
.article__body blockquote { margin: 18px 0; padding: 12px 18px; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 8px; color: var(--brand-dark); }
.article__body .fake-domain { color: #c0102a; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; }
.article__body table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.article__body th, .article__body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.article__body th { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; }
.article__body tbody tr:nth-child(even) { background: #fafbff; }

@media (max-width: 860px) {
  .calc__grid { grid-template-columns: 1fr; }
  .calc__results { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 30px; }
  .hero .container { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .site-header__bar { flex-wrap: wrap; }
  .site-search { order: 3; max-width: none; flex-basis: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}
