/* ============================================================
   NORDPAW - Cooling gear for double-coated dogs
   Single stylesheet. No framework. Mobile-first.
   Palette: glacier #A8D8E8 / navy #1B2A4A / white
   ============================================================ */

:root {
  --ice: #A8D8E8;
  --ice-light: #E8F5FA;
  --ice-mist: #F4FAFD;
  --navy: #1B2A4A;
  --navy-soft: #2E4370;
  --white: #FFFFFF;
  --text: #24324E;
  --text-soft: #5A6A88;
  --alert: #D9534F;
  --ok: #2E8B57;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(27, 42, 74, 0.10);
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', -apple-system, 'Segoe UI', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; background: var(--ice-light); border-radius: var(--radius-sm); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { font-weight: 900; line-height: 1.18; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 5.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: 0.6em; }
h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
p  { margin-bottom: 1em; }

a { color: var(--navy-soft); }

section { padding: 56px 0; }
@media (min-width: 768px) { section { padding: 80px 0; } }

.center { text-align: center; }
.muted { color: var(--text-soft); }
.small { font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ice-light);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.logo svg { width: 32px; height: 32px; }
.logo span { font-size: 1.28rem; font-weight: 900; color: var(--navy); letter-spacing: 0.04em; }
.logo b { color: #5FB3D4; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: 0.95rem; color: var(--navy-soft); }
.nav-links a.nav-cta {
  background: var(--navy); color: var(--white);
  padding: 10px 18px; border-radius: 999px;
}
@media (max-width: 640px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--navy); color: var(--white);
  text-align: center; font-weight: 700; font-size: 0.9rem;
  padding: 9px 14px;
}
.announce b { color: var(--ice); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: inherit; font-weight: 800; font-size: 1.05rem;
  text-decoration: none; text-align: center;
  border: none; border-radius: 999px; cursor: pointer;
  padding: 16px 34px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--navy); color: var(--white);
  box-shadow: 0 6px 20px rgba(27, 42, 74, 0.30);
}
.btn-primary:hover { background: var(--navy-soft); transform: translateY(-2px); }
.btn-ice { background: var(--ice); color: var(--navy); }
.btn-ice:hover { background: #93CDE1; transform: translateY(-2px); }
.btn-block { display: block; width: 100%; }
.btn-lg { font-size: 1.15rem; padding: 19px 44px; }
.btn-note { font-size: 0.85rem; color: var(--text-soft); margin-top: 10px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--ice-light) 0%, var(--white) 100%); padding: 56px 0 64px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 48px; } }
.hero .eyebrow {
  display: inline-block; background: var(--ice); color: var(--navy);
  font-weight: 800; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
}
.hero p.lead { font-size: 1.18rem; color: var(--text-soft); margin: 18px 0 26px; }

/* ---------- Proof bar ---------- */
.proof-bar { background: var(--navy); color: var(--white); padding: 22px 0; }
.proof-bar .container {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px;
  font-weight: 700; font-size: 0.95rem;
}
.proof-bar b { color: var(--ice); }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; gap: 22px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 22px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--ice-light);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.card .card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--ice-light); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}

/* ---------- Steps ---------- */
.step-num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-weight: 900; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}

/* ---------- Reviews ---------- */
.review-card {
  background: var(--ice-mist); border: 1px solid var(--ice-light);
  border-radius: var(--radius); padding: 24px;
}
.stars { color: #F5B942; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 10px; }
.review-card .who { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.review-card .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ice); color: var(--navy);
  font-weight: 900; display: flex; align-items: center; justify-content: center;
}
.review-card .who small { display: block; color: var(--text-soft); }
.verified { color: var(--ok); font-weight: 700; font-size: 0.8rem; }

/* ---------- Sections tint ---------- */
.tint { background: var(--ice-mist); }
.navy-section { background: var(--navy); color: var(--white); }
.navy-section h2, .navy-section h3 { color: var(--white); }
.navy-section .muted { color: #B9C6DE; }

/* ---------- Offer / pricing ---------- */
.offer-box {
  background: var(--white); border: 3px solid var(--ice);
  border-radius: var(--radius); padding: 34px 28px;
  box-shadow: var(--shadow); max-width: 520px; margin: 0 auto;
}
.bogo-badge {
  display: inline-block; background: var(--ice); color: var(--navy);
  font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 999px; font-size: 0.85rem; margin-bottom: 14px;
}
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin: 8px 0; }
.price-now { font-size: 2.3rem; font-weight: 900; color: var(--navy); }
.price-was { font-size: 1.25rem; color: var(--alert); text-decoration: line-through; font-weight: 700; }
.offer-list { list-style: none; margin: 18px 0 24px; text-align: left; }
.offer-list li { padding: 7px 0 7px 30px; position: relative; font-weight: 600; }
.offer-list li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--ok); font-weight: 900;
}

/* ---------- Size selector (product) ---------- */
.size-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.size-option {
  border: 2.5px solid var(--ice-light); border-radius: var(--radius);
  padding: 18px 16px; cursor: pointer; text-align: center;
  background: var(--white); transition: border-color 0.15s, background 0.15s;
}
.size-option.selected { border-color: var(--navy); background: var(--ice-mist); }
.size-option .size-name { font-weight: 900; font-size: 1.15rem; color: var(--navy); }
.size-option .size-dim { font-size: 0.85rem; color: var(--text-soft); }
.size-option .size-price { font-weight: 800; margin-top: 6px; }
.size-option .size-breeds { font-size: 0.78rem; color: var(--text-soft); margin-top: 4px; }

/* ---------- Order bump ---------- */
.bump {
  display: flex; gap: 14px; align-items: flex-start;
  border: 2px dashed var(--ice); border-radius: var(--radius);
  background: var(--ice-mist); padding: 18px; margin: 20px 0; cursor: pointer;
}
.bump input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--navy); flex-shrink: 0; }
.bump b { color: var(--navy); }

/* ---------- Stock / shipping badges ---------- */
.ship-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ice-light); color: var(--navy);
  font-weight: 800; font-size: 0.9rem;
  padding: 9px 16px; border-radius: 999px;
}
.stock-line { font-weight: 800; color: var(--alert); margin: 14px 0; }
.stock-bar { height: 9px; background: var(--ice-light); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.stock-bar span { display: block; height: 100%; background: var(--alert); border-radius: 999px; }

/* ---------- Breed size guide table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--ice-light); }
table.breeds { width: 100%; border-collapse: collapse; background: var(--white); min-width: 480px; }
table.breeds th {
  background: var(--navy); color: var(--white); font-weight: 800;
  padding: 12px 16px; text-align: left; font-size: 0.9rem;
}
table.breeds td { padding: 12px 16px; border-top: 1px solid var(--ice-light); }
table.breeds td.size-cell { font-weight: 900; color: var(--navy); }

/* ---------- FAQ (prose, H3) ---------- */
.faq-item { border-bottom: 1px solid var(--ice-light); padding: 22px 0; }
.faq-item h3 { margin-bottom: 8px; }
.faq-item p:last-child { margin-bottom: 0; }

/* ---------- Advertorial ---------- */
.advertorial-tag {
  text-align: center; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft);
  padding: 12px 0;
}
article.advertorial { padding: 30px 0 60px; }
article.advertorial h1 { margin-bottom: 18px; }
article.advertorial .byline {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-soft); font-size: 0.9rem; margin-bottom: 28px;
  padding-bottom: 20px; border-bottom: 1px solid var(--ice-light);
}
article.advertorial h2 { margin-top: 44px; }
article.advertorial p { font-size: 1.08rem; }
article.advertorial img { margin: 26px 0; }
.callout {
  background: var(--ice-light); border-left: 5px solid var(--ice);
  border-radius: var(--radius-sm); padding: 20px 22px; margin: 26px 0;
  font-weight: 600;
}
.callout.warn { background: #FDF0EF; border-left-color: var(--alert); }
.callout b { color: var(--navy); }

/* ---------- Guarantee ---------- */
.guarantee {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--ice-mist); border: 1px solid var(--ice-light);
  border-radius: var(--radius); padding: 24px;
}
.guarantee .seal {
  width: 62px; height: 62px; flex-shrink: 0; border-radius: 50%;
  background: var(--navy); color: var(--ice);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--white); border-top: 1px solid var(--ice-light);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: none; box-shadow: 0 -6px 24px rgba(27, 42, 74, 0.12);
}
.sticky-cta .btn { padding: 14px 20px; font-size: 1rem; }
@media (max-width: 767px) {
  .sticky-cta { display: block; }
  body.has-sticky-cta { padding-bottom: 78px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #B9C6DE; padding: 48px 0 32px; font-size: 0.92rem; }
.site-footer .cols { display: grid; gap: 28px; margin-bottom: 32px; }
@media (min-width: 768px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { color: var(--white); margin-bottom: 12px; font-size: 1rem; }
.site-footer a { color: #B9C6DE; text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--ice); }
.site-footer .legal-line { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; font-size: 0.82rem; }

/* ---------- Legal pages ---------- */
.legal-page { padding: 48px 0 72px; }
.legal-page h1 { margin-bottom: 8px; }
.legal-page .updated { color: var(--text-soft); margin-bottom: 34px; }
.legal-page h2 { font-size: 1.35rem; margin-top: 36px; }
.legal-page ul { margin: 0 0 1em 1.3em; }
.legal-page li { margin-bottom: 6px; }

/* ---------- Utility ---------- */
.section-head { max-width: 640px; margin: 0 auto 42px; text-align: center; }
.section-head p { color: var(--text-soft); font-size: 1.08rem; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; }
