/* ===== CoolWatch — Design System ===== */
:root {
  --ac:        #06B6D4;
  --ac-h:      #0891B2;
  --ac-dim:    rgba(6,182,212,.12);
  --ac-soft:   #CFFAFE;

  --ink:       #0A1520;
  --ink2:      #0F2131;

  --bg:        #F4FAFC;
  --text:      #10202E;
  --muted:     #52697A;
  --muted2:    #93A9B8;

  --card:      #ffffff;
  --line:      #DCEAF0;
  --surface:   #E8F4F8;

  --good:      #059669;
  --warn:      #D97706;
  --bad:       #DC2626;

  --radius:    10px;
  --radius-sm: 6px;
  --shadow:    0 1px 2px rgba(10,21,32,.06), 0 6px 18px rgba(10,21,32,.06);
  --shadow-md: 0 10px 30px rgba(10,21,32,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
h1, h2, h3, h4 { font-family: 'Sora', sans-serif; }

/* ── SKIP LINK ── */
.cw-skip { position: absolute; top: -100px; left: 1rem; background: var(--ac); color: #fff; padding: .5rem 1rem; border-radius: 0 0 6px 6px; font-size: 14px; font-weight: 600; z-index: 9999; transition: top .2s; }
.cw-skip:focus { top: 0; }

/* ── HEADER ── */
.cw-topbar { background: var(--ink); color: rgba(232,244,248,.66); font-size: 12.5px; }
.cw-topbar-inner { max-width: 1280px; margin: 0 auto; padding: 7px 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cw-topbar a { color: rgba(232,244,248,.66); }
.cw-topbar a:hover { color: #fff; }

.cw-header { position: sticky; top: 0; z-index: 500; background: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.05); }
.cw-header-row { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 66px; display: flex; align-items: center; gap: 28px; }
.cw-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cw-brand img { width: 32px; height: 32px; }
.cw-brand-word { font-family: 'Sora', sans-serif; font-size: 19px; font-weight: 700; color: #fff; letter-spacing: -.2px; }
.cw-brand-word b { color: var(--ac); font-weight: 700; }

.cw-nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.cw-nav a { font-size: 13.5px; font-weight: 500; color: rgba(232,244,248,.62); padding: 9px 12px; border-radius: 6px; transition: color .15s, background .15s; }
.cw-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }

.cw-header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.cw-search-toggle { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: rgba(232,244,248,.75); width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.cw-search-toggle:hover { background: rgba(255,255,255,.13); }
.cw-cta-pill { display: flex; align-items: center; gap: 7px; background: var(--ac); color: var(--ink); padding: 9px 16px; border-radius: 8px; font-size: 13px; font-weight: 700; position: relative; }
.cw-cta-pill:hover { background: #22D3EE; }

.cw-search-panel { display: none; background: var(--ink2); border-top: 1px solid rgba(255,255,255,.08); }
.cw-search-panel.open { display: block; }
.cw-search-panel-inner { max-width: 1280px; margin: 0 auto; padding: 14px 24px; display: flex; gap: 8px; }
.cw-search-panel input { flex: 1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; padding: 11px 16px; border-radius: 8px; font-size: 14px; outline: none; }
.cw-search-panel button { background: var(--ac); color: var(--ink); border: none; padding: 0 18px; border-radius: 8px; font-weight: 700; font-size: 13px; }

/* category pill row */
.cw-catrow { background: var(--ink2); border-bottom: 1px solid rgba(255,255,255,.06); }
.cw-catrow-inner { max-width: 1280px; margin: 0 auto; padding: 10px 24px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cw-catrow-inner::-webkit-scrollbar { display: none; }
.cw-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: rgba(232,244,248,.55); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); white-space: nowrap; transition: all .15s; }
.cw-pill:hover { color: #fff; background: rgba(255,255,255,.1); }
.cw-pill.active { background: var(--ac); border-color: var(--ac); color: var(--ink); }

/* mobile nav */
.cw-hamburger { display: none; background: none; border: none; color: #fff; padding: 6px; }
.cw-mobile-nav { display: none; position: fixed; inset: 0; background: var(--ink); z-index: 1000; flex-direction: column; padding: 22px; overflow-y: auto; }
.cw-mobile-nav.open { display: flex; }
.cw-mobile-nav a { color: #fff; font-size: 1.05rem; font-weight: 600; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.cw-mobile-nav .cw-close { align-self: flex-end; background: none; border: none; color: #fff; padding: 6px; margin-bottom: 1.4rem; }
.cw-mobile-cta { display: none; position: relative; color: #fff; padding: 6px; }

/* ── TRUST STRIP ── */
.cw-trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.cw-trust-inner { max-width: 1280px; margin: 0 auto; padding: 10px 24px; display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.cw-trust-item { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink2); }
.cw-trust-item svg { color: var(--ac-h); flex-shrink: 0; }

/* ── BUTTONS ── */
.cw-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; border-radius: var(--radius); border: none; font-family: inherit; transition: all .18s; }
.cw-btn-primary { background: var(--ac); color: var(--ink); padding: 13px 28px; font-size: 14px; }
.cw-btn-primary:hover { background: #22D3EE; }
.cw-btn-ghost { background: rgba(255,255,255,.08); color: #fff; padding: 12px 24px; font-size: 14px; border: 1px solid rgba(255,255,255,.22); }
.cw-btn-ghost:hover { background: rgba(255,255,255,.16); }
.cw-btn-outline { background: transparent; color: var(--ac-h); padding: 11px 22px; font-size: 14px; border: 1.5px solid var(--ac); }
.cw-btn-outline:hover { background: var(--ac-dim); }
.cw-btn-lg { padding: 15px 34px; font-size: 15px; }
.cw-btn-block { width: 100%; justify-content: center; }

/* ── SECTION ── */
.cw-sec { max-width: 1280px; margin: 0 auto; padding: 56px 24px; }
.cw-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.cw-sec-eyebrow { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ac-h); margin-bottom: 8px; display: block; }
.cw-sec-title { font-size: clamp(21px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.3px; }
.cw-sec-title i { font-style: normal; color: var(--ac-h); }
.cw-sec-link { font-size: 13px; color: var(--ac-h); font-weight: 700; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.cw-sec-link:hover { gap: 8px; }

/* ── PRODUCT CARD ── */
.cw-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cw-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.cw-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.cw-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cw-card:hover .cw-card-img img { transform: scale(1.045); }

.cw-card-img { height: 200px; background: #fff; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.cw-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .35s; }
.cw-tag { position: absolute; top: 10px; left: 10px; font-size: 10.5px; font-weight: 800; padding: 4px 10px; border-radius: 6px; letter-spacing: .02em; z-index: 2; }
.cw-tag-sale { background: var(--ac); color: var(--ink); }
.cw-tag-new  { background: var(--good); color: #fff; }
.cw-tag-hot  { background: var(--bad); color: #fff; }

.cw-card-body { padding: 15px 16px 18px; flex: 1; display: flex; flex-direction: column; }
.cw-brand-tag { font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ac-h); margin-bottom: 5px; }
.cw-card-name { font-family: 'Sora', sans-serif; font-size: 14.5px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; color: var(--text); }
.cw-stars { color: var(--warn); font-size: 12px; letter-spacing: 1px; margin-bottom: 8px; display: block; }
.cw-feat-row { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 13px; }
.cw-feat { font-size: 11px; background: var(--ac-dim); border: 1px solid rgba(6,182,212,.22); padding: 2px 8px; border-radius: 5px; color: var(--ac-h); font-weight: 700; }
.cw-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 11px; border-top: 1px dashed var(--line); margin-top: auto; }
.cw-price-old { font-size: 11.5px; color: var(--muted2); text-decoration: line-through; }
.cw-price { font-family: 'Sora', sans-serif; font-size: 19px; font-weight: 700; color: var(--ink2); }
.cw-add { display: flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; padding: 9px 15px; border-radius: 8px; font-size: 12px; font-weight: 700; border: none; transition: background .18s; }
.cw-add:hover { background: var(--ac-h); }

/* ── HOW-IT-WORKS ── */
.cw-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .cw-steps { grid-template-columns: 1fr; } }
.cw-step { display: flex; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px; }
.cw-step-num { min-width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: var(--ac); font-family: 'Sora', sans-serif; font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cw-step h3 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.cw-step p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── WHY / COMPARE ── */
.cw-why-wrap { background: var(--ink); }
.cw-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .cw-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cw-why-grid { grid-template-columns: 1fr; } }
.cw-why-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 12px; padding: 22px 20px; }
.cw-why-ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(6,182,212,.15); display: flex; align-items: center; justify-content: center; color: var(--ac); margin-bottom: 14px; }
.cw-why-card h3 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.cw-why-card p { font-size: 12.5px; color: rgba(232,244,248,.55); line-height: 1.6; }

/* ── ARTICLE / GUIDE CARD ── */
.cw-guide { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.cw-guide:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cw-guide img { height: 178px; object-fit: cover; width: 100%; }
.cw-guide-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.cw-guide-tag { font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ac-h); margin-bottom: 8px; }
.cw-guide-title { font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.cw-guide:hover .cw-guide-title { color: var(--ac-h); }
.cw-guide-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; flex: 1; }
.cw-guide-meta { font-size: 11.5px; color: var(--muted2); display: flex; gap: 12px; margin-top: auto; }
.cw-ad-badge { position: absolute; top: 12px; left: 12px; background: var(--ac); color: var(--ink); font-size: 10.5px; font-weight: 800; padding: 4px 10px; border-radius: 5px; letter-spacing: .06em; z-index: 2; }

/* ── PAY BADGES ── */
.cw-pay { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; padding: 4px 9px; border-radius: 5px; background: #fff; color: var(--text); border: 1px solid var(--line); }

/* ── FOOTER ── */
.cw-footer { background: #081018; color: rgba(232,244,248,.55); }
.cw-footer-inner { max-width: 1280px; margin: 0 auto; padding: 54px 24px 26px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.cw-footer-brand .cw-brand-word { margin-bottom: 4px; }
.cw-footer-brand p { font-size: 13px; color: rgba(232,244,248,.4); line-height: 1.75; max-width: 250px; margin: 14px 0; }
.cw-contact-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(232,244,248,.4); margin-top: 8px; }
.cw-contact-line svg { color: var(--ac); flex-shrink: 0; }
.cw-fcol h4 { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(232,244,248,.28); margin-bottom: 16px; }
.cw-fcol ul { list-style: none; }
.cw-fcol ul li { margin-bottom: 10px; }
.cw-fcol ul li a { font-size: 13.5px; color: rgba(232,244,248,.42); transition: color .15s; }
.cw-fcol ul li a:hover { color: var(--ac); }
.cw-footer-bottom { max-width: 1280px; margin: 0 auto; padding: 16px 24px; border-top: 1px solid rgba(255,255,255,.06); display: flex; justify-content: space-between; font-size: 12px; color: rgba(232,244,248,.22); flex-wrap: wrap; gap: 6px; }

/* ── LEGAL PAGES ── */
.cw-legal { background: var(--bg); }
.cw-legal-inner { max-width: 840px; margin: 0 auto; padding: 46px 24px 80px; }
.cw-legal h1 { font-size: 30px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.3px; }
.cw-legal .cw-updated { font-size: 13px; color: var(--muted); margin-bottom: 30px; }
.cw-legal h2 { font-size: 18px; font-weight: 700; margin: 26px 0 10px; }
.cw-legal h3 { font-size: 15px; font-weight: 700; margin: 18px 0 8px; }
.cw-legal p, .cw-legal li { font-size: 14.5px; line-height: 1.75; color: var(--text); }
.cw-legal ul, .cw-legal ol { padding-left: 20px; margin: 8px 0 16px; }
.cw-legal li { margin-bottom: 6px; }
.cw-legal a { color: var(--ac-h); text-decoration: underline; }
.cw-legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13.5px; }
.cw-legal th { background: var(--surface); text-align: left; padding: 10px 14px; font-weight: 700; border: 1px solid var(--line); }
.cw-legal td { padding: 10px 14px; border: 1px solid var(--line); vertical-align: top; }

/* ── FORMS ── */
.cw-fg { margin-bottom: 18px; }
.cw-fg label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 7px; }
.cw-fg input, .cw-fg select, .cw-fg textarea { width: 100%; background: #fff; border: 1px solid var(--line); color: var(--text); padding: 12px 15px; border-radius: 8px; font-size: 14px; font-family: inherit; outline: none; transition: border-color .2s; }
.cw-fg input:focus, .cw-fg select:focus, .cw-fg textarea:focus { border-color: var(--ac); }
.cw-fg textarea { resize: vertical; min-height: 120px; }
.cw-frow { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.cw-fcheck { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.cw-fcheck input { margin-top: 3px; accent-color: var(--ac); flex-shrink: 0; }
.cw-fcheck label { font-size: 13px; color: var(--muted); line-height: 1.5; font-weight: 400; }
.cw-fcheck label a { color: var(--ac-h); text-decoration: underline; }
.cw-fg-error { border-color: var(--bad) !important; }
.cw-fg-msg { font-size: 12px; color: var(--bad); margin-top: 5px; display: none; }
.cw-honey { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ── CART / CHECKOUT ── */
.cw-cart-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 28px; max-width: 1180px; margin: 0 auto; padding: 40px 24px 80px; }
.cw-cart-line { display: grid; grid-template-columns: 76px 1fr auto auto; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.cw-cart-line img { width: 76px; height: 76px; object-fit: contain; background: #fff; border-radius: 8px; }
.cw-cart-qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.cw-cart-qty button { width: 30px; height: 30px; background: var(--surface); border: none; font-size: 15px; }
.cw-cart-qty input { width: 36px; text-align: center; border: none; font-size: 13px; }
.cw-cart-remove { color: var(--bad); font-size: 12px; font-weight: 700; }
.cw-summary { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; position: sticky; top: 90px; height: fit-content; }
.cw-summary h3 { font-size: 16px; margin-bottom: 16px; }
.cw-summary-row { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 10px; color: var(--muted); }
.cw-summary-total { display: flex; justify-content: space-between; font-size: 17px; font-weight: 700; padding-top: 14px; border-top: 1px solid var(--line); margin: 8px 0 18px; }
.cw-empty-cart { text-align: center; padding: 70px 24px; }

/* ── PDP ── */
.cw-pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; max-width: 1180px; margin: 0 auto; padding: 36px 24px 70px; }
@media (max-width: 900px) { .cw-pdp { grid-template-columns: 1fr; gap: 24px; } }
.cw-pdp-gallery { position: sticky; top: 90px; height: fit-content; }
.cw-pdp-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 16px; background: #fff; border: 1px solid var(--line); padding: 30px; }
.cw-pdp h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; margin: 8px 0 12px; letter-spacing: -.3px; }
.cw-pdp-price-row { display: flex; align-items: baseline; gap: 12px; margin: 16px 0; }
.cw-pdp-price { font-family: 'Sora', sans-serif; font-size: 32px; font-weight: 800; color: var(--ink2); }
.cw-pdp-price-old { font-size: 16px; color: var(--muted2); text-decoration: line-through; }
.cw-specs { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 13.5px; }
.cw-specs th { text-align: left; padding: 9px 0; width: 42%; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); }
.cw-specs td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.cw-breadcrumb { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.cw-breadcrumb a { color: var(--ac-h); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) { .cw-grid4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .cw-grid4, .cw-grid3 { grid-template-columns: repeat(2, 1fr); }
  .cw-footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cw-cart-wrap { grid-template-columns: 1fr; }
  .cw-summary { position: static; }
}
@media (max-width: 768px) {
  .cw-nav, .cw-header-tools .cw-search-toggle { display: none; }
  .cw-hamburger { display: flex; margin-left: auto; }
  .cw-mobile-cta { display: flex; align-items: center; }
  .cw-cta-pill span { display: none; }
}
@media (max-width: 640px) {
  .cw-header-row { height: auto; padding: 10px 16px; flex-wrap: wrap; gap: 8px; }
  .cw-grid4, .cw-grid3 { grid-template-columns: repeat(2, 1fr); }
  .cw-frow { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cw-grid4, .cw-grid3 { grid-template-columns: 1fr; }
  .cw-footer-inner { grid-template-columns: 1fr; }
  .cw-price { font-size: 17px; }
}

/* Critical mobile overrides duplicated inline in header for cache-bypass are kept minimal here */
