/* ════════════════════════════════════════════
   DealHunter Pro — styles.css
   ════════════════════════════════════════════ */

/* ── Variables ───────────────────────────── */
:root {
  --red:      #E63946;
  --navy:     #1D3557;
  --navy-lt:  #2d4a73;
  --orange:   #F4A261;
  --green:    #2a9d5c;
  --gold:     #f59e0b;
  --bg:       #F0F2F5;
  --card:     #fff;
  --text:     #1a1a2e;
  --muted:    #6b7280;
  --border:   #e5e7eb;
  --radius:   12px;
}

/* ── Reset ───────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); font-size: 15px; }
a { text-decoration: none; color: inherit; }
button { font-family: 'DM Sans', sans-serif; cursor: pointer; }

/* ── Header ──────────────────────────────── */
.hdr {
  background: #131921;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hdr-top {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 14px;
  width: 100%;
  height: 62px;
}
.logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}
.logo span { color: var(--orange); }
.logo-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Address selector */
.hdr-addr {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
  flex-shrink: 0;
  margin-left: 2px;
}
.hdr-addr:hover { background: rgba(255,255,255,.1); }
.hdr-addr-pin  { opacity: .8; flex-shrink: 0; }
.hdr-addr-top  { font-size: 11px; color: rgba(255,255,255,.6); line-height: 1.3; }
.hdr-addr-main { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; }

/* Search */
.search-wrap {
  flex: 1;
  display: flex;
  margin: 0 8px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color .15s;
}
.search-wrap:focus-within { border-color: var(--orange); }
.search-wrap input {
  flex: 1;
  padding: 10px 20px;
  border: none;
  border-radius: 0;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  background: #fff;
}
.search-wrap button {
  background: var(--orange);
  border: none;
  padding: 10px 22px;
  border-radius: 0;
  font-size: 18px;
  cursor: pointer;
  transition: background .15s;
  flex-shrink: 0;
}
.search-wrap button:hover { background: #e08c44; }

/* Right-side icon cluster */
.hdr-right {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  margin-left: auto;
}
.hdr-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hdr-icon-btn:hover { background: rgba(255,255,255,.1); }
.hdr-icon-glyph { font-size: 22px; }
.hdr-user-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
  border: none;
  background: none;
  text-align: left;
}
.hdr-user-block:hover { background: rgba(255,255,255,.1); }
.hdr-block-top  { font-size: 11px; color: rgba(255,255,255,.6); line-height: 1.3; }
.hdr-block-main { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; }
.hdr-cart-btn {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s;
  position: relative;
}
.hdr-cart-btn:hover { background: rgba(255,255,255,.1); }
.hdr-cart-ico   { font-size: 28px; }
.hdr-cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-family: 'DM Sans', sans-serif;
}

/* SVG icon color inside header buttons */
.hdr-icon-btn  { color: rgba(255,255,255,.85); }
.hdr-cart-btn  { color: rgba(255,255,255,.9);  }

/* ── Country selector ───────────────────── */
.hdr-flag {
  width: 26px;
  height: 19px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  display: block;
}
.hdr-country-code {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .03em;
}
.hdr-country-wrap { position: relative; }
.hdr-country-btn  {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
}
.hdr-country-drop {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  z-index: 9999;
  min-width: 200px;
  overflow: hidden;
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.hdr-country-drop.open { display: block; animation: fadeUp .15s ease; }
.hdr-drop-title {
  padding: 10px 14px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.hdr-country-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background .12s;
  font-size: 13px;
  color: var(--text);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
}
.hdr-country-opt:hover  { background: #f0f4ff; }
.hdr-country-opt.active { background: #eff6ff; font-weight: 600; color: var(--navy); }

/* Category nav */
.cat-nav { background: #232f3e; }
.cat-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 20px;
}
.cat-inner::-webkit-scrollbar { display: none; }
.cat-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 15px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all .2s;
}
.cat-btn:hover,
.cat-btn.active { color: #fff; border-bottom-color: var(--orange); }
.cat-btn.active { background: rgba(255,255,255,.08); }

/* ── Hero Slider ──────────────────────────── */
.hs-wrap {
  max-width: 1400px;
  margin: 14px auto;
  padding: 0 22px;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  line-height: 0;
  user-select: none;
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
}

.hs-slide {
  display: none;
}
.hs-slide.active {
  display: block;
  animation: hs-in .55s ease;
}

@keyframes hs-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hs-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Dots */
.hs-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.hs-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all .3s ease;
}
.hs-dot.active {
  background: #fff;
  width: 24px;
}

/* Arrows */
.hs-arr {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,.45);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.15);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s;
  padding-bottom: 2px;
}
.hs-arr:hover { background: rgba(0,0,0,.72); color: #fff; }
.hs-arr-l { left: 14px; }
.hs-arr-r { right: 14px; }

/* ── Main / Grid ─────────────────────────── */
.main { max-width: 1400px; margin: 0 auto; padding: 22px; }

.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.res-count { font-size: 14px; color: var(--muted); }
.res-count strong { color: var(--text); }

.filter-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-left: auto; }
.fsel {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.disc-filters { display: flex; gap: 6px; }
.dbtn {
  padding: 5px 13px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: #fff;
  color: var(--muted);
  transition: all .2s;
}
.dbtn:hover,
.dbtn.active { background: var(--red); color: #fff; border-color: var(--red); }

.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* ── Cards ───────────────────────────────── */
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .25s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  animation: fadeUp .35s ease both;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
  border-color: #aac4e2;
}
.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
}
.b-deal  { background: var(--red);    color: #fff; }
.b-best  { background: #e85d04;       color: #fff; }
.b-low   { background: #7209b7;       color: #fff; }
.b-flash { background: #f72585;       color: #fff; }

.card-img {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  overflow: hidden;
  padding: 12px;
}
.card-img img {
  max-width: 100%;
  max-height: 176px;
  object-fit: contain;
  transition: transform .3s;
}
.card:hover .card-img img { transform: scale(1.06); }
.card-img-link { cursor: pointer; }

.card-title-link {
  cursor: pointer;
  transition: color .18s;
}
.card-title-link:hover { color: #0066c0; }

.card-body {
  padding: 13px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.card-cat  { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.card-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.stars-row { display: flex; align-items: center; gap: 5px; }
.stars     { color: var(--gold); font-size: 12px; }
.rev-n     { font-size: 11px; color: var(--muted); }

.price-area   { margin-top: auto; padding-top: 8px; }
.price-before { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.price-row    { display: flex; align-items: baseline; gap: 8px; margin: 2px 0; }
.price-now    { font-family: 'Barlow Condensed', sans-serif; font-size: 27px; font-weight: 700; color: var(--red); line-height: 1; }
.disc-tag     { background: #fef2f2; color: var(--red); font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.savings      { font-size: 11.5px; color: var(--green); font-weight: 500; }

.card-foot { padding: 10px 13px; border-top: 1px solid var(--border); display: flex; gap: 8px; }
.btn-detail {
  display: block;
  flex: 1;
  padding: 9px;
  background: var(--navy);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  transition: background .2s;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-detail:hover { background: var(--navy-lt); }
.watchers     { font-size: 10.5px; color: var(--muted); text-align: center; margin-top: 5px; }
.watchers span { color: var(--red); font-weight: 600; }

/* Load more / No results */
.load-wrap { text-align: center; margin: 30px 0; }
.btn-load {
  padding: 12px 40px;
  background: #fff;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: all .2s;
}
.btn-load:hover { background: var(--navy); color: #fff; }
.no-res { text-align: center; padding: 60px 20px; color: var(--muted); }

/* ── Modal ───────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 500;
  display: none;
  overflow-y: auto;
  padding: 16px;
}
.modal-overlay.open { display: flex; align-items: flex-start; justify-content: center; }
.modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 1100px;
  margin: auto;
  overflow: hidden;
  animation: slideUp .3s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-bar {
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: 12px 20px;
  gap: 12px;
}
.modal-logo { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 800; color: #fff; }
.modal-logo span { color: var(--orange); }
.modal-close {
  margin-left: auto;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.modal-close:hover { background: rgba(255,255,255,.3); }

.modal-crumb {
  padding: 10px 28px;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}
.modal-crumb span { cursor: pointer; color: var(--navy-lt); }
.modal-crumb span:hover { text-decoration: underline; }

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1.1fr 280px;
  gap: 0;
}

/* Modal — images */
.modal-imgs { padding: 24px; border-right: 1px solid var(--border); }
.main-img-wrap {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
  margin-bottom: 12px;
  position: relative;
}
.main-img-wrap img { max-width: 100%; max-height: 300px; object-fit: contain; }
.img-badge-modal {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
}
.thumb-row { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb {
  width: 62px;
  height: 62px;
  background: #f0f0f0;
  border-radius: 8px;
  padding: 5px;
  cursor: pointer;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s;
}
.thumb:hover,
.thumb.active { border-color: var(--navy); }
.thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Modal — info */
.modal-info {
  padding: 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 13px;
  overflow-y: auto;
  max-height: 80vh;
}
.modal-cat-tag { font-size: 11px; font-weight: 600; color: var(--navy-lt); text-transform: uppercase; letter-spacing: .08em; }
.modal-title   { font-family: 'Barlow Condensed', sans-serif; font-size: 23px; font-weight: 700; line-height: 1.25; }
.modal-brand   { font-size: 13px; color: var(--muted); }
.modal-brand strong { color: var(--navy-lt); }

.stars-big {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stars-big .stars { font-size: 15px; }
.rating-num { font-size: 14px; font-weight: 600; color: var(--navy); }
.rev-link   { font-size: 13px; color: var(--navy-lt); }

.price-block {
  background: #fffbf5;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 14px 16px;
}
.pb-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.pb-main  { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pb-now   { font-family: 'Barlow Condensed', sans-serif; font-size: 38px; font-weight: 800; color: var(--red); line-height: 1; }
.pb-was   { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.pb-pct   { background: var(--red); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 5px; }
.pb-savings { font-size: 13px; color: var(--green); font-weight: 600; margin-top: 5px; }

.hl-row  { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.hl-icon { font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.hl-text strong { display: block; font-size: 12px; font-weight: 600; }
.hl-text span   { color: var(--muted); font-size: 12px; }

.features-title { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.features-list  { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.features-list li { display: flex; gap: 8px; font-size: 13px; color: var(--muted); }
.features-list li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* Modal — buy panel */
.modal-buy {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  background: #fafafa;
  overflow-y: auto;
  max-height: 80vh;
}
.buy-price-top   { text-align: center; }
.buy-now-price   { font-family: 'Barlow Condensed', sans-serif; font-size: 44px; font-weight: 800; color: var(--red); line-height: 1; }
.buy-was         { font-size: 13px; color: var(--muted); margin-top: 3px; }
.buy-disc        { display: inline-block; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.buy-savings-big { font-size: 14px; color: var(--green); font-weight: 600; text-align: center; }
.buy-info-row    { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.buy-info-row .ico { font-size: 15px; flex-shrink: 0; margin-top: 1px; }

.btn-amazon {
  display: block;
  width: 100%;
  padding: 14px;
  background: #FFD814;
  color: #111;
  text-align: center;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: background .2s;
  text-decoration: none;
}
.btn-amazon:hover { background: #f7c900; }
.btn-amazon-note { font-size: 11px; color: var(--muted); text-align: center; }
.btn-amazon-outline {
  display: block;
  width: 100%;
  padding: 11px;
  background: #fff;
  color: var(--navy);
  text-align: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--navy);
  transition: all .2s;
  text-decoration: none;
}
.btn-amazon-outline:hover { background: var(--navy); color: #fff; }
.buy-sep { border: none; border-top: 1px solid var(--border); margin: 2px 0; }

.trust-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }

/* Similar items */
.sim-title { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.sim-item {
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  padding: 7px;
  border-radius: 8px;
  transition: background .2s;
}
.sim-item:hover { background: #f0f2f5; }
.sim-img {
  width: 48px;
  height: 48px;
  background: #f0f0f0;
  border-radius: 6px;
  padding: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sim-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sim-name {
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sim-price { font-size: 12px; color: var(--red); font-weight: 600; margin-top: 2px; }

/* Modal — reviews */
.modal-reviews { border-top: 1px solid var(--border); padding: 22px 26px; }
.rev-section-title { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.rev-summary { display: flex; gap: 24px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.rev-big-num { font-family: 'Barlow Condensed', sans-serif; font-size: 54px; font-weight: 800; color: var(--navy); line-height: 1; }
.rev-bars    { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 5px; }
.rev-bar-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.rev-bar-track { flex: 1; height: 8px; background: #f0f0f0; border-radius: 4px; overflow: hidden; }
.rev-bar-fill  { height: 100%; background: var(--gold); border-radius: 4px; }
.rev-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.rev-card  { background: #fafafa; border-radius: 10px; padding: 13px; border: 1px solid var(--border); }
.rev-head  { display: flex; justify-content: space-between; margin-bottom: 6px; }
.rev-author   { font-size: 13px; font-weight: 600; }
.rev-date     { font-size: 11px; color: var(--muted); }
.rev-stars    { color: var(--gold); font-size: 12px; margin-bottom: 5px; }
.rev-title    { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.rev-body     { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.rev-verified { font-size: 11px; color: var(--green); margin-top: 5px; }

/* ── Inline checkout (product page) ────────── */
.pp-co-wrap  { max-width:940px; margin:0 auto; padding-bottom:40px; }
.pp-co-back  { background:none; border:none; color:#0066c0; font-size:14px; cursor:pointer; padding:8px 0; margin-bottom:18px; font-family:'DM Sans',sans-serif; display:inline-block; }
.pp-co-back:hover { text-decoration:underline; }
.pp-co-grid  { display:grid; grid-template-columns:290px 1fr; gap:20px; align-items:start; }

/* Left: order summary */
.pp-co-left  { background:#f8f9fa; border:1px solid var(--border); border-radius:12px; padding:20px; }
.pp-co-stitle { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); margin-bottom:14px; }
.pp-co-prod  { display:flex; gap:12px; align-items:flex-start; margin-bottom:14px; }
.pp-co-prod img { width:72px; height:72px; object-fit:contain; border-radius:8px; background:#fff; border:1px solid var(--border); flex-shrink:0; }
.pp-co-prod-name { font-size:13px; font-weight:500; line-height:1.4; margin-bottom:3px; }
.pp-co-prod-cat  { font-size:11px; color:var(--muted); }
.pp-co-totals    { border-top:1px solid var(--border); padding-top:12px; margin-bottom:14px; }
.pp-co-trow      { display:flex; justify-content:space-between; font-size:13px; padding:3px 0; }
.pp-co-trow.saving span:last-child { color:var(--green); font-weight:600; }
.pp-co-trow .strike  { text-decoration:line-through; color:var(--muted); }
.pp-co-trow .free    { color:var(--green); font-weight:600; }
.pp-co-tdiv  { border-top:1px solid var(--border); margin:8px 0; }
.pp-co-trow.total { font-size:15px; font-weight:700; }
.pp-co-trust     { border-top:1px solid var(--border); padding-top:12px; }
.pp-co-trust div { font-size:12px; color:var(--muted); padding:3px 0; }

/* Right: payment form card */
.pp-co-right { background:#fff; border:1px solid var(--border); border-radius:12px; padding:26px; box-shadow:0 2px 16px rgba(0,0,0,.07); }
.pp-co-fhdr  { display:flex; align-items:center; justify-content:space-between; padding-bottom:16px; border-bottom:1px solid var(--border); margin-bottom:20px; }
.pp-co-ftitle { font-size:17px; font-weight:700; color:var(--text); }
.pp-co-logos { display:flex; gap:5px; }
.pp-co-logo  { padding:3px 9px; border:1.5px solid var(--border); border-radius:4px; font-size:10px; font-weight:800; letter-spacing:.04em; transition:all .15s; }
.pp-co-logo.visa  { color:#1a1f71; }
.pp-co-logo.mc    { color:#eb001b; }
.pp-co-logo.amex  { color:#007bc1; }
.pp-co-logo.on    { border-color:currentColor; background:currentColor; color:#fff !important; }
.pp-co-field { margin-bottom:16px; }
.pp-co-lbl   { display:block; font-size:12px; font-weight:600; color:var(--text); margin-bottom:6px; }
.pp-co-hint  { display:inline-flex; align-items:center; justify-content:center; width:16px; height:16px; background:var(--border); border-radius:50%; font-size:10px; font-weight:700; color:var(--muted); cursor:help; margin-left:4px; vertical-align:middle; }
.pp-co-cwrap { position:relative; }
.pp-co-inp   { width:100%; padding:12px 14px; border:1.5px solid #d1d5db; border-radius:8px; font-size:15px; font-family:'DM Sans',sans-serif; outline:none; transition:border-color .15s,box-shadow .15s; box-sizing:border-box; }
.pp-co-inp:focus { border-color:#0066c0; box-shadow:0 0 0 3px rgba(0,102,192,.1); }
.pp-co-cicon { position:absolute; right:12px; top:50%; transform:translateY(-50%); font-size:20px; pointer-events:none; }
.pp-co-2col  { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.pp-co-err   { background:#fef2f2; border:1px solid #fca5a5; border-left:3px solid var(--red); border-radius:6px; padding:10px 12px; font-size:13px; color:var(--red); font-weight:500; margin-bottom:14px; }
.pp-co-btn   { width:100%; padding:14px; background:#FFD814; border:1px solid #FCD200; border-radius:8px; font-size:16px; font-weight:700; color:#0F1111; cursor:pointer; font-family:'DM Sans',sans-serif; transition:background .15s; margin-bottom:12px; }
.pp-co-btn:hover { background:#f0c800; }
.pp-co-ssl   { text-align:center; font-size:11px; color:var(--muted); }
.pp-co-spin  { width:42px; height:42px; border:3px solid var(--border); border-top-color:#0066c0; border-radius:50%; animation:pp-spin .7s linear infinite; }
.pp-co-icon-circle { width:64px; height:64px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:26px; }
@keyframes pp-spin { to { transform:rotate(360deg); } }
@media (max-width:700px) { .pp-co-grid { grid-template-columns:1fr; } }

/* ── Pagination ──────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 28px 0 8px;
  flex-wrap: wrap;
}

.pag-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.pag-btn:hover:not(:disabled) {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.pag-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  font-weight: 700;
}
.pag-btn:disabled { opacity: .3; cursor: not-allowed; }
.pag-btn.pag-arr  { font-size: 22px; font-weight: 300; padding: 0 12px; }
.pag-gap { padding: 0 4px; color: var(--muted); font-size: 16px; line-height: 38px; }

/* ── Footer ──────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.55);
  text-align: center;
  padding: 26px 24px;
  font-size: 12.5px;
  line-height: 1.8;
  margin-top: 40px;
}
.foot-logo { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.foot-logo span { color: var(--orange); }

/* ── Animaciones ─────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Pasarela de pago ────────────────────── */
.pay-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.pay-overlay.open { display: flex; }

.pay-modal {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 450px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 70px rgba(0,0,0,.5);
  animation: payIn .22s ease;
  scrollbar-width: thin;
}
@keyframes payIn {
  from { transform: translateY(28px) scale(.97); opacity: 0; }
  to   { transform: translateY(0)    scale(1);   opacity: 1; }
}

/* Header */
.pay-hdr {
  background: var(--navy);
  padding: 14px 18px;
  border-radius: 18px 18px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pay-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.pay-logo span { color: var(--orange); }
.pay-secure-pill {
  font-size: 11px;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.12);
  padding: 3px 10px;
  border-radius: 20px;
}
.pay-x {
  margin-left: auto;
  background: rgba(255,255,255,.18);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.pay-x:hover { background: rgba(255,255,255,.35); }

/* Product bar */
.pay-product-bar {
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  padding: 14px 18px;
}
.pay-prod-inner {
  display: flex;
  gap: 12px;
  align-items: center;
}
.pay-prod-inner img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  flex-shrink: 0;
}
.pay-prod-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 5px;
}
.pay-prod-prices {
  display: flex;
  align-items: center;
  gap: 7px;
}
.pay-prod-now { font-size: 19px; font-weight: 800; color: var(--red); }
.pay-prod-was { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.pay-prod-disc {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}

/* Body / form */
.pay-body { padding: 20px 18px; }
.pay-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pay-section-title::before {
  content: '';
  width: 3px;
  height: 15px;
  background: var(--orange);
  border-radius: 2px;
  display: inline-block;
}

/* Fields */
.pf-field { margin-bottom: 13px; }
.pf-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 5px;
}
.pf-input {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  background: #fff;
}
.pf-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(29,53,87,.1);
}
.pf-input::placeholder { color: #c0c8d4; }

/* Card number */
.pf-card-wrap { position: relative; }
.pf-card-num {
  padding-right: 50px;
  letter-spacing: 1.5px;
  font-family: 'Courier New', monospace;
  font-size: 15px;
}
.pf-brand {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 800;
  pointer-events: none;
  transition: color .2s;
}
.pf-brand.b-visa  { color: #1a1f71; font-family: 'Barlow Condensed', sans-serif; font-size: 14px; }
.pf-brand.b-mc    { color: #eb001b; font-family: 'Barlow Condensed', sans-serif; font-size: 14px; }
.pf-brand.b-amex  { color: #007bc1; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; }

/* Expiry / CVV row */
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pf-cvv-q {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: var(--muted);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  text-decoration: none;
  cursor: help;
  font-style: normal;
  vertical-align: middle;
}

/* Submit button */
.pay-submit {
  width: 100%;
  background: linear-gradient(135deg, #1D3557, #2d4a73);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  margin-top: 4px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 16px rgba(29,53,87,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pay-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(29,53,87,.5); }
.pay-submit:active { transform: translateY(0); }
button.btn-amazon {
  width: 100%;
  display: block;
  text-align: center;
  border: none;
  cursor: pointer;
}

/* Trust badges */
.pay-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 13px;
  flex-wrap: wrap;
}
.ptb {
  font-size: 11px;
  color: var(--muted);
  background: #f0f2f5;
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 600;
  border: 1px solid var(--border);
}
.ptb-visa  { color: #1a1f71; border-color: #1a1f71; }
.ptb-mc    { color: #eb001b; border-color: #eb001b; }
.ptb-amex  { color: #007bc1; border-color: #007bc1; }

/* Processing */
.pay-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 46px 18px;
}
.pay-spinner {
  width: 52px;
  height: 52px;
  border: 4px solid var(--border);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pay-proc-title { font-size: 18px; font-weight: 700; color: var(--text); }
.pay-proc-sub   { font-size: 13px; color: var(--muted); }

/* Success */
.pay-check {
  width: 72px;
  height: 72px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: #fff;
  font-weight: 700;
  animation: popIn .4s cubic-bezier(.4,2,.6,1) both;
}
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.pay-succ-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
}
.pay-order-num {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  background: #f0f2f5;
  padding: 5px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.pay-succ-msg {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 280px;
}
.pay-succ-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text);
  background: #f8fafc;
  padding: 14px 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  width: 100%;
  text-align: left;
}
.pay-succ-btn {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background .2s;
  margin-top: 4px;
}
.pay-succ-btn:hover { background: #e08c44; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 900px) {
  .modal-body { grid-template-columns: 1fr 1fr; }
  .modal-buy  { grid-column: 1 / -1; border-top: 1px solid var(--border); }
}
@media (max-width: 820px) {
  .hdr-addr        { display: none; }
  .hdr-user-block  { display: none; }
}
@media (max-width: 620px) {
  .modal-body  { grid-template-columns: 1fr; }
  .modal-imgs,
  .modal-info  { border-right: none; border-bottom: 1px solid var(--border); }
  .grid        { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pagination  { gap: 3px; padding: 18px 0; }
  .pag-btn     { min-width: 32px; height: 32px; font-size: 13px; }
  .pag-btn.pag-arr { padding: 0 8px; font-size: 18px; }
  .main        { padding: 12px; }
  .hdr-top     { gap: 0; padding: 0 10px; }
  .search-wrap { margin: 0 6px; }
}

/* ── Cart drawer ──────────────────────────────── */
.cart-drawer { position:fixed; inset:0; z-index:1200; visibility:hidden; }
.cart-drawer.open { visibility:visible; }
.cart-overlay { position:absolute; inset:0; background:rgba(0,0,0,.45); opacity:0; transition:opacity .3s; }
.cart-drawer.open .cart-overlay { opacity:1; }
.cart-panel { position:absolute; right:0; top:0; bottom:0; width:min(420px,100vw); background:#fff; display:flex; flex-direction:column; transform:translateX(100%); transition:transform .3s cubic-bezier(.4,0,.2,1); box-shadow:-4px 0 32px rgba(0,0,0,.18); }
.cart-drawer.open .cart-panel { transform:none; }
.cart-panel-hdr { display:flex; align-items:center; justify-content:space-between; padding:18px 20px; border-bottom:1px solid var(--border); background:#f8f9fa; flex-shrink:0; }
.cart-panel-hdr h3 { font-size:17px; font-weight:700; color:var(--text); margin:0; }
.cart-close-btn { background:none; border:none; font-size:20px; cursor:pointer; color:var(--muted); padding:4px 8px; border-radius:6px; line-height:1; }
.cart-close-btn:hover { background:var(--border); color:var(--text); }
.cart-items-list { flex:1; overflow-y:auto; padding:14px; display:flex; flex-direction:column; gap:10px; }
.cart-empty { display:flex; flex-direction:column; align-items:center; gap:10px; padding:52px 0; color:var(--muted); }
.cart-empty span { font-size:52px; }
.cart-empty p { font-size:15px; font-weight:500; }
.cart-item { display:flex; gap:12px; padding:12px; background:#f8f9fa; border-radius:10px; border:1px solid var(--border); }
.cart-item img { width:72px; height:72px; object-fit:contain; border-radius:8px; background:#fff; border:1px solid var(--border); flex-shrink:0; }
.cart-item-info { flex:1; min-width:0; }
.cart-item-name { font-size:13px; font-weight:500; line-height:1.4; margin-bottom:4px; }
.cart-item-price { font-size:13px; color:var(--navy); font-weight:600; margin-bottom:7px; }
.cart-item-qty { display:flex; align-items:center; gap:5px; }
.cart-item-qty button { width:28px; height:28px; border:1px solid var(--border); border-radius:6px; background:#fff; cursor:pointer; font-size:15px; font-weight:700; display:flex; align-items:center; justify-content:center; color:var(--text); padding:0; }
.cart-item-qty button:hover { background:#e5e7eb; }
.cart-item-qty span { min-width:24px; text-align:center; font-size:14px; font-weight:600; }
.cart-item-del { background:none !important; border:none !important; font-size:15px !important; cursor:pointer; margin-left:4px; padding:0 !important; width:auto !important; height:auto !important; }
.cart-footer { padding:14px; border-top:1px solid var(--border); background:#f8f9fa; flex-shrink:0; display:flex; flex-direction:column; gap:8px; }
.cart-total-row { display:flex; justify-content:space-between; align-items:center; font-size:14px; padding:4px 0 8px; border-bottom:1px solid var(--border); margin-bottom:2px; }
.cart-total-row strong { font-size:17px; color:var(--text); }
.cart-checkout-btn { width:100%; padding:13px; background:#FFD814; border:1px solid #FCD200; border-radius:8px; font-size:15px; font-weight:700; color:#0F1111; cursor:pointer; font-family:'DM Sans',sans-serif; transition:background .15s; }
.cart-checkout-btn:hover { background:#f0c800; }
.cart-clear-btn { width:100%; padding:9px; background:none; border:1px solid var(--border); border-radius:8px; font-size:13px; color:var(--muted); cursor:pointer; font-family:'DM Sans',sans-serif; transition:background .15s; }
.cart-clear-btn:hover { background:#e5e7eb; }

/* ── Cart button on cards ─────────────────────── */
.btn-cart { padding:8px 10px; background:#fff; border:1.5px solid var(--navy); border-radius:8px; font-size:13px; font-weight:600; color:var(--navy); cursor:pointer; font-family:'DM Sans',sans-serif; transition:all .15s; flex:1; }
.btn-cart:hover { background:var(--navy); color:#fff; }

/* ── Product page cart button ─────────────────── */
.pp-btn-cart { width:100%; padding:11px; background:#fff; border:1.5px solid var(--navy); border-radius:8px; font-size:14px; font-weight:600; color:var(--navy); cursor:pointer; font-family:'DM Sans',sans-serif; margin-bottom:8px; transition:all .15s; }
.pp-btn-cart:hover { background:var(--navy); color:#fff; }

/* ── Checkout page ────────────────────────────── */
.ckp-page { max-width:1080px; margin:0 auto; padding:28px 20px 60px; display:grid; grid-template-columns:1fr 360px; gap:28px; align-items:start; }
.ckp-sidebar { position:sticky; top:82px; }

/* Step indicator */
.ckp-steps { display:flex; align-items:center; margin-bottom:24px; }
.ckp-step { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color:var(--muted); white-space:nowrap; }
.ckp-step-num { width:28px; height:28px; border-radius:50%; border:2px solid #d1d5db; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; flex-shrink:0; }
.ckp-step.active .ckp-step-num { background:var(--orange); border-color:var(--orange); color:#fff; }
.ckp-step.done .ckp-step-num { background:#16a34a; border-color:#16a34a; color:#fff; font-size:14px; }
.ckp-step.active { color:var(--text); }
.ckp-step.done { color:#16a34a; }
.ckp-step-line { flex:1; height:2px; background:#e5e7eb; margin:0 10px; }
.ckp-step-line.done { background:#16a34a; }

/* Section panels */
.ckp-section { background:#fff; border:1px solid var(--border); border-radius:12px; padding:24px; margin-bottom:16px; box-shadow:0 2px 8px rgba(0,0,0,.04); }
.ckp-section-hdr { font-size:15px; font-weight:700; color:var(--text); margin-bottom:20px; display:flex; align-items:center; gap:8px; }

/* Fields */
.ckp-field { margin-bottom:14px; }
.ckp-field:last-of-type { margin-bottom:0; }
.ckp-label { display:block; font-size:12px; font-weight:600; color:#374151; margin-bottom:6px; }
.ckp-inp { width:100%; padding:11px 14px; border:1.5px solid #d1d5db; border-radius:8px; font-size:14px; font-family:'DM Sans',sans-serif; outline:none; transition:border-color .15s,box-shadow .15s; box-sizing:border-box; background:#fff; }
.ckp-inp:focus { border-color:#0066c0; box-shadow:0 0 0 3px rgba(0,102,192,.1); }
.ckp-inp.error { border-color:var(--red); box-shadow:0 0 0 3px rgba(230,57,70,.1); }
.ckp-2col { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.ckp-3col { display:grid; grid-template-columns:1fr 1fr 90px; gap:14px; }

/* Address autocomplete */
.ckp-addr-wrap { position:relative; }
.ckp-addr-drop { position:absolute; left:0; right:0; top:calc(100% + 4px); background:#fff; border:1.5px solid #d1d5db; border-radius:8px; box-shadow:0 8px 24px rgba(0,0,0,.12); z-index:300; overflow:hidden; display:none; max-height:200px; overflow-y:auto; }
.ckp-addr-drop.open { display:block; }
.ckp-addr-item { padding:10px 14px; font-size:13px; cursor:pointer; border-bottom:1px solid #f3f4f6; line-height:1.4; }
.ckp-addr-item:last-child { border-bottom:none; }
.ckp-addr-item:hover, .ckp-addr-item.focused { background:#eff6ff; }
.ckp-addr-loading, .ckp-addr-empty { padding:12px 14px; font-size:13px; color:var(--muted); }

/* Card input */
.ckp-card-wrap { position:relative; }
.ckp-card-icon { position:absolute; right:12px; top:50%; transform:translateY(-50%); font-size:18px; pointer-events:none; }
.ckp-card-logos { display:flex; gap:6px; margin-bottom:16px; }
.ckp-card-logo { padding:4px 10px; border:1.5px solid var(--border); border-radius:4px; font-size:10px; font-weight:800; letter-spacing:.05em; transition:all .15s; }
.ckp-card-logo.visa  { color:#1a1f71; }
.ckp-card-logo.mc    { color:#eb001b; }
.ckp-card-logo.amex  { color:#007bc1; }
.ckp-card-logo.on    { border-color:currentColor; background:currentColor; color:#fff !important; }
.ckp-cvv-hint { display:inline-flex; align-items:center; justify-content:center; width:16px; height:16px; background:#e5e7eb; border-radius:50%; font-size:10px; font-weight:700; color:var(--muted); cursor:help; margin-left:4px; vertical-align:middle; }

/* Billing toggle */
.ckp-check-row { display:flex; align-items:center; gap:8px; margin-bottom:14px; cursor:pointer; font-size:14px; font-weight:500; color:var(--text); }
.ckp-check-row input { width:17px; height:17px; accent-color:var(--orange); cursor:pointer; flex-shrink:0; }

/* Error */
.ckp-err { background:#fef2f2; border:1px solid #fca5a5; border-left:3px solid var(--red); border-radius:6px; padding:10px 12px; font-size:13px; color:var(--red); font-weight:500; margin-bottom:14px; margin-top:4px; }

/* Buttons */
.ckp-next-btn { width:100%; padding:13px; background:var(--navy); border:none; border-radius:8px; font-size:15px; font-weight:700; color:#fff; cursor:pointer; font-family:'DM Sans',sans-serif; transition:background .15s; margin-top:6px; }
.ckp-next-btn:hover { background:#1a3a5c; }
.ckp-submit { width:100%; padding:14px; background:#FFD814; border:1px solid #FCD200; border-radius:8px; font-size:16px; font-weight:700; color:#0F1111; cursor:pointer; font-family:'DM Sans',sans-serif; transition:background .15s; margin-top:6px; }
.ckp-submit:hover { background:#f0c800; }
.ckp-ssl { text-align:center; font-size:11px; color:var(--muted); margin-top:10px; }

/* States */
.ckp-state { display:none; flex-direction:column; align-items:center; text-align:center; padding:52px 24px; gap:14px; background:#fff; border:1px solid var(--border); border-radius:12px; }
.ckp-state.show { display:flex; }
.ckp-state-icon { width:72px; height:72px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:30px; }
.ckp-spin { width:52px; height:52px; border:4px solid var(--border); border-top-color:#0066c0; border-radius:50%; animation:pp-spin .7s linear infinite; }

/* Sidebar order summary */
.ckp-sum-card { background:#fff; border:1px solid var(--border); border-radius:12px; overflow:hidden; }
.ckp-sum-hdr { background:#f8f9fa; padding:14px 18px; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); border-bottom:1px solid var(--border); }
.ckp-sum-items { padding:16px; display:flex; flex-direction:column; gap:12px; max-height:320px; overflow-y:auto; }
.ckp-sum-item { display:flex; gap:10px; }
.ckp-sum-item img { width:56px; height:56px; object-fit:contain; border-radius:6px; background:#f8f9fa; border:1px solid var(--border); flex-shrink:0; }
.ckp-sum-item-info { flex:1; min-width:0; }
.ckp-sum-item-name { font-size:12px; font-weight:500; line-height:1.4; margin-bottom:3px; }
.ckp-sum-item-price { font-size:13px; font-weight:700; color:var(--navy); }
.ckp-sum-item-qty { font-size:11px; color:var(--muted); }
.ckp-sum-totals { padding:14px 18px; border-top:1px solid var(--border); display:flex; flex-direction:column; gap:4px; }
.ckp-sum-row { display:flex; justify-content:space-between; font-size:13px; padding:2px 0; }
.ckp-sum-row .saving { color:#16a34a; font-weight:600; }
.ckp-sum-row .free { color:#16a34a; font-weight:600; }
.ckp-sum-row.total { font-size:16px; font-weight:700; border-top:1px solid var(--border); padding-top:10px; margin-top:4px; }
.ckp-sum-strike { text-decoration:line-through; color:var(--muted); }

/* Shipping summary in step 2 */
.ckp-ship-bar { background:#f0f9ff; border:1px solid #bae6fd; border-radius:8px; padding:11px 14px; margin-bottom:18px; font-size:13px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.ckp-ship-bar button { background:none; border:none; color:#0066c0; font-size:12px; cursor:pointer; font-family:'DM Sans',sans-serif; font-weight:600; flex-shrink:0; padding:0; }
.ckp-ship-bar button:hover { text-decoration:underline; }

/* Billing section divider */
.ckp-billing-sep { border-top:1px solid var(--border); padding-top:18px; margin-top:4px; }
.ckp-billing-sep .ckp-section-hdr { font-size:14px; margin-bottom:12px; }

@media (max-width:860px) {
  .ckp-page { grid-template-columns:1fr; }
  .ckp-sidebar { position:static; order:-1; }
}
@media (max-width:520px) {
  .ckp-2col { grid-template-columns:1fr; }
  .ckp-3col { grid-template-columns:1fr 1fr; }
}
