/* ===========================================
   Creative Graphics — Futuristic E-commerce
   Design system
   =========================================== */

:root {
  --brand: #FF3D57;
  --brand-2: #FF8A00;
  --accent: #7A3BFF;
  --accent-2: #00D2FF;
  --success: #00B56A;
  --whatsapp: #25D366;
  --gold: #FFD23F;
  --ink: #0A0B14;
  --ink-2: #1A1C2E;
  --muted: #5B6075;
  --muted-2: #8B91A8;
  --line: #E7E8EE;
  --line-2: #F2F3F7;
  --bg: #FAFAFC;
  --white: #FFFFFF;

  --grad-cta: linear-gradient(135deg, #FF3D57, #7A3BFF);
  --grad-warm: linear-gradient(135deg, #FF3D57, #FF8A00);
  --grad-cool: linear-gradient(135deg, #7A3BFF, #3B82F6);
  --grad-fresh: linear-gradient(135deg, #00B56A, #00D2FF);
  --grad-night: linear-gradient(135deg, #0A0B14, #7A3BFF);

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --shadow-1: 0 1px 2px rgba(10,11,20,.06), 0 2px 8px rgba(10,11,20,.04);
  --shadow-2: 0 10px 30px rgba(122,59,255,.10), 0 2px 6px rgba(10,11,20,.05);
  --shadow-cta: 0 12px 30px rgba(255,61,87,.30);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; max-width: 100vw; }
/* Make sure nothing inside ever forces a horizontal scrollbar on the page */
img, iframe, video { max-width: 100%; height: auto; }
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea { font-family: inherit; }
h1,h2,h3,h4 { letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 .5em; font-weight: 800; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 980px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 700px) {
  .container, .container-sm { padding-left: 18px; padding-right: 18px; }
  /* Safety net: any section/main rendered without a .container gets at least 16px side padding so text never kisses the edge */
  body > main:not(:has(.container)),
  body > section:not(:has(.container)):not(.hero):not(.dtf-hero):not(.zr-hero):not(.popup-overlay) {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
    box-sizing: border-box;
  }
  /* Tables / pre / code never bleed out of viewport */
  main table, main pre, main code { max-width: 100%; }
}

/* ========== Announcement bar ========== */
.announce {
  background: var(--grad-night);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
  overflow: hidden;
}
.announce .marquee {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
}
.announce .marquee span { display: inline-flex; align-items: center; gap: 8px; }
.announce .dot { color: var(--gold); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ========== Header ========== */
/* The whole chrome (announce + header + nav-row) sticks as one unit */
[data-header] {
  position: sticky;
  top: 0;
  z-index: 50;
}
.header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
/* Subtle shadow only after scroll */
[data-header].scrolled { box-shadow: 0 8px 24px rgba(15,23,42,.06); }
[data-header].scrolled .announce { max-height: 0; padding: 0; overflow: hidden; transition: all .3s; }
[data-header] .announce { transition: all .3s; }
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em;
  flex-shrink: 0;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad-cta);
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 16px;
  box-shadow: var(--shadow-cta);
}
.brand-text { line-height: 1.1; }
.brand-text small { display: block; color: var(--muted); font-weight: 500; font-size: 11px; }

.search {
  flex: 1;
  position: relative;
  max-width: 720px;
}
.search input {
  width: 100%;
  border: 2px solid transparent;
  background: var(--line-2);
  border-radius: 999px;
  padding: 12px 18px 12px 46px;
  font-size: 14px;
  transition: all .15s;
}
.search input:focus {
  background: #fff;
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 4px rgba(255,61,87,.08);
}
.search input { padding-right: 52px; }
.search-go {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0;
  border: none; border-radius: 999px; cursor: pointer;
  background: var(--brand); color: #fff;
  transition: filter .15s;
}
.search-go:hover { filter: brightness(1.08); }
.search-go svg { width: 18px; height: 18px; }
/* SEARCH-SUGGEST-V1 typeahead dropdown */
.search-suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 200;
  background: #fff; border: 1px solid var(--line-2);
  border-radius: 14px; box-shadow: 0 12px 32px rgba(20,22,40,.16);
  overflow: hidden; max-height: 70vh; overflow-y: auto;
}
.search-suggest a, .search-suggest .ss-empty {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.search-suggest a:last-child { border-bottom: none; }
.search-suggest .ss-all {
  font-size: 13px; color: var(--muted, #5B6075); font-weight: 600; background: var(--line-1, #f7f7fb);
}
.search-suggest .ss-all svg { width: 16px; height: 16px; flex: none; }
.search-suggest .ss-all b { color: var(--ink); }
.search-suggest .ss-row img {
  width: 40px; height: 40px; flex: none; object-fit: contain;
  background: #fff; border: 1px solid var(--line-2); border-radius: 8px; padding: 2px;
}
.search-suggest .ss-name { flex: 1; font-size: 14px; line-height: 1.3; overflow: hidden; }
.search-suggest .ss-name mark { background: rgba(255,61,87,.16); color: inherit; padding: 0 1px; border-radius: 3px; }
.search-suggest .ss-price { font-size: 13px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.search-suggest a.active, .search-suggest a:hover { background: rgba(255,61,87,.07); }
.search-suggest .ss-empty { font-size: 13px; color: var(--muted, #5B6075); cursor: default; }
.search::before {
  content: '';
  position: absolute; top: 50%; left: 16px; transform: translateY(-50%);
  width: 18px; height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6075' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><path d='M21 21l-4.35-4.35'/></svg>") center/contain no-repeat;
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: background .12s;
  position: relative;
}
.icon-btn:hover { background: var(--line-2); }
.icon-btn .badge {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--brand);
  color: #fff;
  font-size: 11px; font-weight: 700;
  border-radius: 999px;
  display: grid; place-items: center;
}

.nav-row {
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  overflow: visible;
}
.nav-row .container { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; overflow: visible; }
.nav-row a {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all .12s;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-row a:hover, .nav-row a.active { color: var(--brand); border-bottom-color: var(--brand); }
.nav-row a.deal { color: var(--brand); }

/* Nav dropdowns */
.nav-dropdown {
  position: relative;
  display: inline-flex;
}
.nav-dropdown .nav-trigger {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all .12s;
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer;
}
.nav-dropdown:hover .nav-trigger,
.nav-dropdown:focus-within .nav-trigger,
.nav-dropdown.open .nav-trigger {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.nav-dropdown .nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-2);
  padding: 8px;
  display: none;
  z-index: 60;
  animation: dropdown-fade .15s ease-out;
}
@keyframes dropdown-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu,
.nav-dropdown.open .nav-menu {
  display: block;
}
.nav-dropdown .nav-menu a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px !important;
  border-radius: 8px;
  border-bottom: 0 !important;
  font-size: 14px;
  color: var(--ink) !important;
  white-space: nowrap;
  transition: background .12s;
}
.nav-dropdown .nav-menu a:hover {
  background: var(--line-2);
  color: var(--brand) !important;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -.01em;
  transition: all .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-cta); color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(255,61,87,.36); }
.btn-secondary { background: #fff; color: var(--ink); border: 2px solid var(--line); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-ghost { color: var(--brand); }
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* ========== Hero ========== */
.hero {
  padding: 40px 0 60px;
  background:
    radial-gradient(900px 600px at 80% 30%, rgba(122,59,255,.10), transparent 70%),
    radial-gradient(700px 500px at 10% 80%, rgba(255,61,87,.08), transparent 70%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
  box-shadow: var(--shadow-1);
}
.hero-pill .pulse {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(0,181,106,.6);
  animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(0,181,106,0); } 100% { box-shadow: 0 0 0 0 rgba(0,181,106,0); } }
.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.hero h1 .grad {
  background: var(--grad-cta);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 540px; margin: 0 0 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; color: var(--muted); font-size: 13px; font-weight: 600; }
.hero-trust .stars { color: var(--gold); }
.hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 24px;
  background:
    linear-gradient(135deg, #1A1C2E, #7A3BFF);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(122,59,255,.30);
}
.hero-visual::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><defs><pattern id='g' x='0' y='0' width='40' height='40' patternUnits='userSpaceOnUse'><path d='M40 0 L0 0 0 40' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/></pattern></defs><rect width='200' height='200' fill='url(%23g)'/></svg>") center/cover;
}
.hero-stat-cards {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  z-index: 2;
}
.hero-stat-card {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 14px;
  color: #fff;
}
.hero-stat-card .v { font-size: 26px; font-weight: 800; line-height: 1; }
.hero-stat-card .l { font-size: 11px; opacity: .85; font-weight: 600; margin-top: 4px; }
.hero-svg {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center;
  color: #fff;
}

/* ========== Section ========== */
.section { padding: 60px 0; }
.section-tight { padding: 36px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 20px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(24px, 3vw, 36px); margin: 0; }
.section-head p { color: var(--muted); margin: 6px 0 0; }
.section-head .more { color: var(--brand); font-weight: 700; font-size: 14px; }

/* ========== Category strip ========== */
.cat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 16px;
  text-align: center;
  transition: all .2s;
  position: relative;
  overflow: hidden;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.cat-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-cta);
  opacity: 0; transition: opacity .2s;
  z-index: 0;
}
.cat-card:hover::before { opacity: .04; }
.cat-card .ic {
  width: 56px; height: 56px; margin: 0 auto 12px;
  border-radius: 16px;
  background: var(--line-2);
  display: grid; place-items: center;
  font-size: 24px;
  position: relative;
  z-index: 1;
}
.cat-card .ic.g1 { background: var(--grad-cta); color: #fff; }
.cat-card .ic.g2 { background: var(--grad-warm); color: #fff; }
.cat-card .ic.g3 { background: var(--grad-cool); color: #fff; }
.cat-card .ic.g4 { background: var(--grad-fresh); color: #fff; }
.cat-card h4 { font-size: 14px; margin: 0; position: relative; z-index: 1; }
.cat-card small { color: var(--muted); font-size: 12px; position: relative; z-index: 1; }

/* ========== Product card — STANDARD ECOM LAYOUT
   Image on top (square aspect), info below (category → title → stars → price → buttons).
   Uses CSS Grid for bulletproof vertical order (cannot be overridden by inherited flex). */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
  gap: 18px;
  justify-content: start;
}
@media (max-width: 700px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
.product-card {
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  min-width: 0;
  transition: all .2s ease;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.product-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.product-card:hover {
  box-shadow: 0 18px 40px rgba(15,23,42,.10);
  border-color: transparent;
  transform: translateY(-3px);
}
.product-thumb {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
  background: var(--line-2);
  overflow: hidden;
  grid-row: 1;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform .3s;
}
.product-card:hover .product-thumb img { transform: scale(1.05); }
/* Product card badges — horizontal row, wraps, max 70% so the image stays visible */
.product-thumb .badges {
  position: absolute; top: 8px; left: 8px;
  display: flex; flex-direction: row; flex-wrap: wrap; gap: 4px;
  max-width: calc(100% - 56px); /* leave room for the wishlist heart in the top-right */
  z-index: 2;
  pointer-events: none;
}
.product-thumb .badges .badge { pointer-events: auto; }
.badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.5;
  box-shadow: 0 2px 6px rgba(10,11,20,.18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.badge-sale { background: var(--brand); color: #fff; }
.badge-new { background: var(--accent-2); color: var(--ink); }
.badge-hot { background: var(--gold); color: var(--ink); }
.badge-oos { background: var(--muted); color: #fff; }
.fav {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 999px;
  background: rgba(255,255,255,.9);
  display: grid; place-items: center;
  color: var(--muted);
}
.fav:hover { color: var(--brand); }

.product-info {
  padding: 14px;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.product-cat { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.product-title {
  font-size: 14px;
  font-weight: 700;
  margin: 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
  line-height: 1.35;
}
.product-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.product-meta .stars { color: var(--gold); }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.price { font-size: 18px; font-weight: 800; color: var(--ink); }
.price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.price-off { color: var(--success); font-size: 12px; font-weight: 700; }
.product-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 12px; }

/* ========== USP pills ========== */
.usp-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  padding: 28px 0;
}
.usp {
  display: flex; align-items: center; gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
}
.usp-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; font-size: 18px; }
.usp .t { font-weight: 700; font-size: 14px; }
.usp .d { font-size: 12px; color: var(--muted); }

/* ========== Why us / stats ========== */
.stats-band {
  background: var(--ink);
  background-image: var(--grad-night);
  color: #fff;
  padding: 50px 0;
  border-radius: var(--r-xl);
  margin: 30px 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 80% 30%, rgba(0,210,255,.18), transparent 60%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  position: relative; z-index: 1;
}
.stat-num {
  font-size: 44px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #c0d3ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-lbl { color: rgba(255,255,255,.7); font-size: 13px; font-weight: 600; margin-top: 8px; }

/* ========== Testimonial ========== */
.tg { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.tcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px;
}
.tcard .stars { color: var(--gold); font-size: 14px; margin-bottom: 10px; }
.tcard .q { font-size: 14px; line-height: 1.6; }
.tcard .au {
  display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
}
.tcard .avi { width: 36px; height: 36px; border-radius: 999px; background: var(--grad-cta); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.tcard .au .n { font-weight: 700; font-size: 13px; }
.tcard .au .r { font-size: 11px; color: var(--muted); }

/* ========== Footer ========== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 50px 0 24px;
  margin-top: 60px;
}
.footer h5 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 30px; }
.footer a { display: block; font-size: 13px; color: rgba(255,255,255,.7); padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; margin-top: 30px; font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer .pay-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-badge { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); padding: 6px 10px; border-radius: 8px; font-size: 11px; color: #fff; font-weight: 600; }

/* ========== WhatsApp float ========== */
/* The brand SVG already includes the green rounded-square background + white phone,
   so the float container is transparent (no second pill behind it). The icon's own
   ~7px corner-radius matches our design language and shows the official brand mark. */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  filter: drop-shadow(0 12px 30px rgba(37, 211, 102, .42));
  z-index: 100;
  transition: transform .15s;
}
.whatsapp-float svg { width: 100%; height: 100%; display: block; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 14px;
  border: 2px solid var(--whatsapp);
  animation: ring 2s infinite;
  pointer-events: none;
}
@keyframes ring { 70% { transform: scale(1.4); opacity: 0; } 100% { transform: scale(1.4); opacity: 0; } }

/* Inline brand SVG sizing fix: when used inside btn/text, keep it neatly sized. */
svg.wa-brand { display: inline-block; vertical-align: middle; }
/* Inside a green WhatsApp button the brand icon's green tile would disappear into the
   button background — hide the tile and show just the white phone glyph instead. */
.btn-whatsapp svg.wa-brand rect { fill: transparent; }

/* ========== Filters / sidebar ========== */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; }
.filter-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; position: sticky; top: 90px; }
/* Amazon-style accordion — collapsed on mobile, always-open on desktop */
.filter-accordion { width: 100%; }
.filter-accordion-summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 8px; user-select: none; padding: 0; }
.filter-accordion-summary::-webkit-details-marker { display: none; }
.filter-accordion-chevron { transition: transform .2s; color: var(--muted); font-size: 16px; }
.filter-accordion[open] .filter-accordion-chevron { transform: rotate(180deg); }
.filter-accordion-body { padding: 14px 0 0; }
/* Desktop: always open, hide the summary header (filters always visible like before) */
@media (min-width: 901px) {
  .filter-accordion-summary { display: none; }
  .filter-accordion-body { padding: 0; }
  .filter-accordion[open] .filter-accordion-body,
  .filter-accordion .filter-accordion-body { display: block !important; }
  .filter-accordion { display: block !important; }
}
/* Force-open the accordion on desktop even if user collapsed it on mobile then resized */
@media (min-width: 901px) {
  details.filter-accordion:not([open]) > *:not(summary) { display: block !important; }
}
.filter-group { margin-bottom: 22px; }
.filter-group h5 { font-size: 13px; font-weight: 700; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .04em; }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 4px 0; cursor: pointer; }
.filter-group label:hover { color: var(--brand); }
.filter-group label input[type=checkbox] { accent-color: var(--brand); }
.range-row { display: flex; gap: 8px; }
.range-row input { width: 100%; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }

/* ========== Product detail page ========== */
.pd-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; }
.pd-gallery { display: grid; grid-template-columns: 80px 1fr; gap: 12px; }
/* prevent large product image from blowing out the 1fr grid track on narrow screens */
.pd-layout, .pd-gallery { min-width: 0; }
.pd-layout > *, .pd-gallery > * { min-width: 0; }
.pd-thumbs { display: flex; flex-direction: column; gap: 8px; }
.pd-thumb { aspect-ratio: 1/1; border: 2px solid var(--line); border-radius: 10px; background: var(--line-2); cursor: pointer; padding: 6px; }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumb.active { border-color: var(--brand); }
.pd-main {
  aspect-ratio: 1/1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  display: grid; place-items: center;
  position: relative;
}
.pd-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-info h1 { font-size: 28px; line-height: 1.2; margin-bottom: 12px; }
.pd-price-row { display: flex; align-items: baseline; gap: 12px; margin: 16px 0; }
.pd-price { font-size: 34px; font-weight: 800; }
.pd-price-old { font-size: 18px; text-decoration: line-through; color: var(--muted); }
.pd-save { background: var(--success); color: #fff; padding: 4px 10px; border-radius: 8px; font-size: 13px; font-weight: 700; }
.pd-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.pd-feat { display: flex; align-items: center; gap: 10px; background: var(--line-2); padding: 10px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; }
.pd-ckbox { background: var(--line-2); padding: 22px; border-radius: var(--r); }
.pd-qty { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pd-qty button { padding: 10px 14px; font-weight: 700; }
.pd-qty input { width: 50px; text-align: center; border: 0; padding: 10px 0; }
.pd-tabs { margin-top: 36px; border-bottom: 2px solid var(--line); display: flex; gap: 30px; }
.pd-tab { padding: 14px 0; font-size: 14px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; }
.pd-tab.active { color: var(--ink); border-bottom-color: var(--brand); }
.pd-tab-content { padding: 24px 0; }

/* ========== Cart ========== */
/* ===========================================================================
   PAGE-BLOCKS-V1 — styles for the 12 block types rendered by the block editor.
   Used by page.html (CMS pages) and any landing page that opts into blocks.
   All blocks are mobile-responsive by default via the @media rules below.
   =========================================================================== */
.pg-block { margin: 0 0 32px; }
.pg-block:last-child { margin-bottom: 0; }
.pg-block-title { font-size: 28px; font-weight: 800; margin: 0 0 8px; letter-spacing: -0.01em; }
.pg-block-sub { font-size: 15px; color: var(--muted); margin: 0 0 18px; }

/* HERO */
.pg-hero { position: relative; padding: 56px 24px; border-radius: 16px; overflow: hidden; text-align: center; }
.pg-hero-plain { background: linear-gradient(135deg,#FAFAFC,#FFF); }
.pg-hero-image { color: #fff; }
.pg-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.55)); }
.pg-hero-inner { position: relative; max-width: 720px; margin: 0 auto; }
.pg-hero-eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; font-weight: 800; opacity: 0.85; margin-bottom: 10px; }
.pg-hero-title { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin: 0 0 12px; font-weight: 900; }
.pg-hero-sub { font-size: 16px; line-height: 1.5; margin: 0 0 22px; opacity: 0.9; }

/* FEATURE GRID */
.pg-feature-grid-items { display: grid; gap: 16px; margin-top: 8px; }
.pg-feature { padding: 22px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.pg-feature-icon { font-size: 28px; margin-bottom: 10px; }
.pg-feature-title { font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.pg-feature-desc { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* FAQ */
.pg-faq-items { display: flex; flex-direction: column; gap: 8px; }
.pg-faq-item { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.pg-faq-item summary { padding: 16px 18px; cursor: pointer; font-weight: 700; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pg-faq-item summary::-webkit-details-marker { display: none; }
.pg-faq-item summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--muted); transition: transform 0.2s; }
.pg-faq-item[open] summary::after { transform: rotate(45deg); }
.pg-faq-answer { padding: 0 18px 18px; font-size: 14px; line-height: 1.65; color: #2A2D3F; }

/* CTA BANNER */
.pg-cta-banner { padding: 40px 24px; border-radius: 16px; text-align: center; }
.pg-cta-banner-inner { max-width: 640px; margin: 0 auto; }
.pg-cta-title { font-size: 28px; font-weight: 900; margin: 0 0 10px; }
.pg-cta-sub { font-size: 15px; margin: 0 0 20px; opacity: 0.9; }

/* COMPARISON TABLE */
.pg-comparison-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pg-comparison-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; }
.pg-comparison-table th, .pg-comparison-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; text-align: left; vertical-align: top; }
.pg-comparison-table thead th { background: #F5F6F8; font-weight: 700; }
.pg-comparison-table tbody th { font-weight: 700; background: #FAFAFC; }

/* IMAGE / FIGURE */
.pg-image { margin: 0 0 32px; }
.pg-image-center { text-align: center; }
.pg-image img { max-width: 100%; border-radius: 12px; }
.pg-image figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* GALLERY */
.pg-gallery { display: grid; gap: 8px; }
.pg-gallery-item { display: block; aspect-ratio: 1/1; overflow: hidden; border-radius: 10px; background: #F5F6F8; }
.pg-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s; }
.pg-gallery-item:hover img { transform: scale(1.05); }

/* VIDEO */
.pg-video-frame { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 12px; overflow: hidden; background: #000; }
.pg-video-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.pg-video-caption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }

/* PRICING */
.pg-pricing-grid { display: grid; gap: 16px; margin-top: 12px; }
.pg-pricing-plan { padding: 26px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); position: relative; text-align: center; }
.pg-pricing-highlight { border: 2px solid var(--brand); transform: scale(1.02); box-shadow: 0 10px 30px rgba(255,61,87,.15); }
.pg-pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 999px; letter-spacing: 0.04em; }
.pg-pricing-name { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.pg-pricing-price { font-size: 36px; font-weight: 900; margin: 6px 0; color: var(--ink); }
.pg-pricing-sub { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.pg-pricing-features { list-style: none; padding: 0; margin: 0 0 18px; text-align: left; }
.pg-pricing-features li { padding: 6px 0 6px 22px; position: relative; font-size: 14px; }
.pg-pricing-features li::before { content: '✓'; position: absolute; left: 0; color: #10B981; font-weight: 800; }

/* TESTIMONIALS */
.pg-testimonial-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.pg-testimonial { margin: 0; padding: 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.pg-testimonial p { font-size: 15px; line-height: 1.55; margin: 0 0 14px; font-style: italic; color: #2A2D3F; }
.pg-testimonial footer { display: flex; align-items: center; gap: 10px; }
.pg-testimonial-photo { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; }
.pg-testimonial-name { font-weight: 700; font-size: 13px; }
.pg-testimonial-role { font-size: 12px; color: var(--muted); }

/* RICH TEXT (in-blob fallback for prose) */
.pg-rich-text { font-size: 15px; line-height: 1.7; color: #1A1C2E; }
.pg-rich-text h2 { font-size: 24px; margin: 28px 0 10px; }
.pg-rich-text h3 { font-size: 18px; margin: 22px 0 8px; }
.pg-rich-text p { margin: 0 0 14px; }
.pg-rich-text ul, .pg-rich-text ol { padding-left: 22px; margin: 10px 0 14px; }
.pg-rich-text a { color: var(--brand); text-decoration: underline; }
.pg-rich-text img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; }

/* Mobile overrides for all blocks (≤600px) */
@media (max-width: 600px) {
  .pg-block { margin-bottom: 24px; }
  .pg-block-title { font-size: 22px; }
  .pg-hero { padding: 36px 18px; border-radius: 12px; }
  .pg-hero-title { font-size: clamp(24px, 6vw, 30px); }
  .pg-hero-sub { font-size: 14px; }
  .pg-feature-grid-items { grid-template-columns: 1fr !important; }
  .pg-cta-banner { padding: 28px 18px; }
  .pg-cta-title { font-size: 22px; }
  .pg-pricing-grid { grid-template-columns: 1fr !important; }
  .pg-pricing-highlight { transform: none; }
  .pg-testimonial-grid { grid-template-columns: 1fr; }
  .pg-gallery { grid-template-columns: 1fr 1fr !important; }
  .pg-faq-item summary { padding: 14px 16px; font-size: 14px; }
}

/* ===== SHOP MOBILE CATEGORY TILES — shown only on ≤900px above the product grid ===== */
.shop-cat-tiles { margin-bottom: 22px; }
.shop-cat-tiles-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.shop-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop-cat-tile {
  display: block; padding: 16px 14px; border-radius: 14px; color: #fff;
  text-decoration: none; min-height: 96px; position: relative; overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,.10);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.shop-cat-tile:active { transform: scale(0.97); box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.shop-cat-tile-icon { display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; background: rgba(255,255,255,.22); border-radius: 9px; margin-bottom: 8px; }
.shop-cat-tile-icon svg { color: #fff; }
.shop-cat-tile-name {
  font-weight: 800; font-size: 13px; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; word-break: break-word;
}
.shop-cat-tile-count { font-size: 11px; opacity: 0.9; margin-top: 3px; font-weight: 600; }
/* Single column on very narrow phones (≤380px) */
@media (max-width: 380px) {
  .shop-cat-grid { grid-template-columns: 1fr; }
  .shop-cat-tile { min-height: 72px; padding: 14px; }
}

.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }
.cart-list { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.cart-row { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; padding: 18px; border-bottom: 1px solid var(--line); align-items: center; }
.cart-row:last-child { border-bottom: 0; }
.cart-row img { width: 80px; height: 80px; object-fit: contain; background: var(--line-2); border-radius: 10px; padding: 6px; }
.cart-row-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.cart-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; position: sticky; top: 90px; }

/* ===== MOBILE CART (≤600px) — image left, info + price stacked right, actions wrap ===== */
@media (max-width: 600px) {
  .cart-row {
    grid-template-columns: 64px 1fr;
    grid-template-areas:
      "img info"
      "img price";
    gap: 10px 12px;
    padding: 14px;
    align-items: start;
  }
  .cart-row img { width: 64px; height: 64px; padding: 4px; grid-area: img; align-self: start; }
  .cart-row-info { grid-area: info; min-width: 0; }
  .cart-row-info a { word-break: break-word; }
  .cart-row-price {
    grid-area: price;
    text-align: left;
    padding-top: 6px;
    border-top: 1px dashed var(--line);
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }
  .cart-row-actions { gap: 8px; margin-top: 8px; }
  .cart-row-actions .pd-qty { font-size: 12px; }
  .cart-row-actions .pd-qty button { padding: 4px 10px; min-width: 28px; }
  .cart-row-actions .pd-qty input { width: 36px; padding: 4px; font-size: 13px; }
  /* Summary no longer needs to stick once it's below the list */
  .cart-summary { position: static; padding: 18px; }
  .cs-row { font-size: 13px; padding: 6px 0; }
  .coupon { gap: 6px; }
  .coupon input { font-size: 14px; padding: 11px 12px; }  /* 14px prevents iOS zoom on focus */
}

/* ===========================================================================
   MOBILE-POLISH-V1 — sitewide rules to make EVERY page smooth on phones
   Targets the 3 systemic mobile-killers found in the audit + general polish.
   =========================================================================== */
@media (max-width: 600px) {
  /* (1) iOS Safari zooms when an input has font-size < 16px on tap. Kill it everywhere. */
  input:not([type="radio"]):not([type="checkbox"]),
  select,
  textarea {
    font-size: 16px !important;
  }

  /* (2) Any inline `grid-template-columns:1fr 1fr` (or with leading space) collapses to 1 column.
     Catches dozens of product.html, index.html, landing.html grids that didn't have breakpoints. */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1.4fr 1fr"],
  [style*="grid-template-columns: 1.4fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* (3) Any <table> that wasn't wrapped → horizontal scroll instead of squashed content.
     Cells get their own white-space:normal so long text wraps; the table itself can scroll. */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  table th,
  table td { white-space: normal; }

  /* (4) Containers should never overflow the viewport */
  body { overflow-x: hidden; }
  .container, section, .section { max-width: 100vw; }

  /* (5) Buttons should meet the 44×44 touch-target minimum */
  .btn, button.btn-ghost, .btn-block {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* (6) Heroes / banners with heavy desktop padding (50px+) → 22px on mobile */
  [style*="padding:50px"],
  [style*="padding: 50px"],
  [style*="padding:40px"],
  [style*="padding: 40px"] {
    padding: 22px !important;
  }

  /* (7) Display fonts > 60px (hero numbers like ₹2,65,000) → cap at 44px on mobile */
  [style*="font-size:80px"],
  [style*="font-size: 80px"],
  [style*="font-size:72px"],
  [style*="font-size: 72px"],
  [style*="font-size:60px"],
  [style*="font-size: 60px"] {
    font-size: 44px !important;
    line-height: 1.1;
  }

  /* (8) Headlines > 36px → cap at 26px on mobile */
  [style*="font-size:48px"],
  [style*="font-size: 48px"],
  [style*="font-size:42px"],
  [style*="font-size: 42px"],
  [style*="font-size:36px"],
  [style*="font-size: 36px"] {
    font-size: 26px !important;
    line-height: 1.15;
  }

  /* (9) Modals: full-width on mobile so dialogs don't have weird floating margins */
  .dtg-modal > div, .modal-content {
    max-width: 100% !important;
    margin: 10px !important;
    border-radius: 12px !important;
  }

  /* (10) Sticky elements above the fold → cap height so they don't eat the screen */
  [style*="position:sticky"],
  [style*="position: sticky"] {
    max-height: 90vh;
    overflow-y: auto;
  }

  /* (11) Text wrap fix — most overflow issues come from unbreakable long strings
     (product names, URLs, SKUs). Allow break-anywhere on long words. */
  body, p, h1, h2, h3, h4, h5, h6, span, li, td, th, a, label, button {
    overflow-wrap: anywhere;
    word-wrap: break-word;
  }

  /* (12) Container padding — keep content inside viewport even on tightest phones */
  .container { padding-left: 14px !important; padding-right: 14px !important; max-width: 100%; }
  section, .section, .section-tight { padding-left: 0; padding-right: 0; max-width: 100vw; overflow: hidden; }

  /* (13) Announce bar (the "8000+ Customers" sticky strip) wraps instead of cropping */
  .announce, [class*="announce"] {
    white-space: normal !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    padding: 6px 12px !important;
  }
  .announce > *, [class*="announce"] > * { white-space: normal !important; }

  /* (14) Hero h1 — cap at 28px so 4-5 word headlines don't blow past 2 lines */
  h1 { font-size: clamp(22px, 6vw, 28px) !important; line-height: 1.2 !important; }
  h2 { font-size: clamp(18px, 5vw, 24px) !important; line-height: 1.25 !important; }
  h3 { font-size: clamp(16px, 4.5vw, 20px) !important; line-height: 1.3 !important; }

  /* (15) Buttons — allow long labels to wrap instead of cropping mid-word ("WhatsApp No[w]") */
  .btn { white-space: normal !important; padding-left: 14px; padding-right: 14px; }
  .btn-block { white-space: nowrap; }  /* full-width buttons can stay nowrap, they have room */

  /* (16) Hero CTAs row — gap-tight + wrap so both buttons always fit */
  .hero-ctas, [class*="hero"] [style*="display:flex"][style*="gap"] {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  /* (17) Images: never wider than container */
  img { max-width: 100%; height: auto; }

  /* (18) Pre, code, long-string elements — wrap so they don't blow the layout */
  pre, code { white-space: pre-wrap; word-break: break-all; max-width: 100%; }

  /* (19) Header: tighten brand area + logo size so cart icon doesn't get pushed off */
  .header .container { padding: 8px 14px !important; }
  .header img, .header .logo img { max-height: 36px; }

  /* (20) Footer payment icons row + address — wrap, smaller font */
  .footer [style*="display:flex"][style*="gap"] { flex-wrap: wrap; gap: 6px !important; }
  .footer { font-size: 13px; }

  /* (26) Form grid — collapse 2-col → 1-col on mobile (was cutting checkout form fields) */
  .form-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .field input, .field select, .field textarea { font-size: 16px !important; padding: 12px 14px !important; }
  .step-head { gap: 10px !important; flex-wrap: wrap; }
  .step-head h3 { font-size: 16px !important; }
  .step-num { width: 28px !important; height: 28px !important; font-size: 13px !important; }
  .checkout-step { padding: 16px !important; }

  /* (27) Floating WhatsApp chat button — hide on mobile (bottom nav already has Chat icon, avoids overlap) */
  .wa-float, [class*="whatsapp-float"], [class*="wa-floating"], #wa-chat-fab, .wa-fab,
  a[href*="wa.me"][style*="position:fixed"], a[href*="wa.me"][style*="position: fixed"],
  div[style*="position:fixed"] > a[href*="wa.me"] { display: none !important; }

  /* (28) Body bottom padding so sticky CTA + bottom nav don't cover content
     (sticky DTF CTA ~50px + bottom nav ~60px = 110px clearance) */
  body { padding-bottom: 120px !important; }
  /* …but if there's no bottom nav OR sticky CTA, no need — that's handled by their presence detection above */

  /* (21) Announce bar — make it horizontally swipeable instead of wrapping to N lines */
  .announce, [class*="announce"] {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    scroll-snap-type: x mandatory;
    padding: 8px 12px !important;
  }
  .announce > *, [class*="announce"] > * {
    white-space: nowrap !important;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  /* hide scrollbar but keep scrolling */
  .announce::-webkit-scrollbar, [class*="announce"]::-webkit-scrollbar { display: none; }

  /* (22) Long-form content (product descriptions, pages) — wrap ANY long phrase mid-string.
     This is the nuclear fix for content like "Audley Printer ! ( Note : Check availabi[lity]" cuts. */
  .pd-info, .pd-info *, .description, .description *,
  .pd-tabs-content, .pd-tabs-content *,
  [class*="prose"], [class*="prose"] * {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    max-width: 100% !important;
  }

  /* (23) Product detail tab strip — make horizontally swipeable instead of cropping tab labels */
  .pd-tabs, [class*="pd-tabs"] {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }
  .pd-tabs::-webkit-scrollbar, [class*="pd-tabs"]::-webkit-scrollbar { display: none; }
  .pd-tab, [class*="pd-tab"] { flex-shrink: 0; }

  /* (24) Footer address + long contact lines — wrap by any char */
  .footer p, .footer span, .footer li, .footer address {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  /* (25) ALL inline-styled h1/h2/h3 with explicit font-size — force-cap with high specificity */
  h1[style], [style*="font-size: 56px"], [style*="font-size:56px"],
  [style*="font-size: 48px"], [style*="font-size:48px"] {
    font-size: clamp(22px, 6vw, 28px) !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
  }
}
.cs-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.cs-total { font-weight: 800; font-size: 20px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 8px; }
.coupon { display: flex; gap: 8px; margin: 14px 0; }
.coupon input { flex: 1; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }

/* ========== Checkout ========== */
.checkout-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; }
.checkout-step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; margin-bottom: 16px; }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step-num { width: 30px; height: 30px; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; }
.step-head h3 { margin: 0; font-size: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1/-1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 14px; transition: all .15s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px rgba(255,61,87,.08); }
.pay-method { display: flex; align-items: center; gap: 14px; padding: 16px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; margin-bottom: 10px; transition: all .15s; }
.pay-method:hover { border-color: var(--brand); }
.pay-method.active { border-color: var(--brand); background: rgba(255,61,87,.04); }
.pay-method .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--line-2); display: grid; place-items: center; font-weight: 800; }
.pay-method .meta { flex: 1; }
.pay-method .meta b { display: block; font-size: 14px; }
.pay-method .meta small { color: var(--muted); font-size: 12px; }
.pay-method .tag { background: var(--success); color: #fff; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }

/* ========== Account ========== */
.acc-layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: start; }
.acc-sidebar { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; position: sticky; top: 90px; }
.acc-user { display: flex; align-items: center; gap: 12px; padding: 10px 8px 18px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.acc-user .avi { width: 44px; height: 44px; border-radius: 999px; background: var(--grad-cta); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.acc-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink); margin: 2px 0; }
.acc-nav a.active { background: rgba(255,61,87,.08); color: var(--brand); }
.acc-nav a:hover:not(.active) { background: var(--line-2); }
.acc-body { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 24px; }
.kpi { background: var(--line-2); border-radius: 12px; padding: 16px; }
.kpi .v { font-size: 24px; font-weight: 800; }
.kpi .l { color: var(--muted); font-size: 12px; font-weight: 600; margin-top: 4px; }
.order-row { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.order-row:last-child { border-bottom: 0; }
.order-status { padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.os-pending { background: #FFF6D6; color: #997300; }
.os-shipped { background: #DBEAFE; color: #1E40AF; }
.os-delivered { background: #D1FAE5; color: #065F46; }

/* ========== Admin ========== */
.admin-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--ink); color: #fff; padding: 22px 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-brand { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 18px; font-weight: 800; }
.admin-nav-group { margin-bottom: 16px; }
.admin-nav-group h6 { font-size: 11px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .08em; margin: 8px 0; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 13px; color: rgba(255,255,255,.7); }
.admin-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav a.active { background: var(--grad-cta); color: #fff; }
.admin-content { padding: 28px 32px; background: var(--bg); }
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-head h1 { margin: 0; font-size: 26px; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.dash-kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.dash-kpi .lbl { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.dash-kpi .val { font-size: 28px; font-weight: 800; margin-top: 6px; }
.dash-kpi .delta { font-size: 12px; font-weight: 700; color: var(--success); margin-top: 4px; }
.dash-kpi .delta.down { color: var(--brand); }
.dash-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.chart-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; height: 320px; }
.chart-svg { width: 100%; height: 240px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--line); }
.table th { background: var(--line-2); font-weight: 700; color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .05em; }
.table tr:hover td { background: var(--line-2); }

/* ========== Generic helpers ========== */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.text-muted { color: var(--muted); }
.text-brand { color: var(--brand); }
.text-success { color: var(--success); }
.font-bold { font-weight: 800; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.text-sm { font-size: 13px; } .text-xs { font-size: 12px; }
.hidden { display: none; }
.mobile-only { display: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .shop-layout, .cart-layout, .checkout-layout, .acc-layout { grid-template-columns: 1fr; }
  /* Mobile: filter card becomes a compact tap-to-expand accordion (Amazon-style) */
  .shop-layout .filter-card { position: static; padding: 0; border: 1px solid var(--line); overflow: hidden; }
  .shop-layout .filter-card .filter-accordion-summary { padding: 12px 14px; font-weight: 700; font-size: 14px; }
  .shop-layout .filter-card .filter-accordion-body { padding: 14px; border-top: 1px solid var(--line); }
  /* Compact product grid on mobile */
  .shop-layout .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-card { font-size: 13px; }
  .product-thumb { aspect-ratio: 1/1; }
  .product-thumb img { padding: 10px; }
  .product-info { padding: 10px 12px 12px; }
  .product-title { font-size: 13px; line-height: 1.3; }
  .product-cat { font-size: 10px; }
  .price-row .price { font-size: 14px; }
  /* Hide search bar on mobile (was eating header space) — use sticky-bar Shop instead */
  .header .search { display: none; }
  /* Hide the "Account / Cart / Phone" icon-row text on mobile to free room */
  .header-actions .desktop-only { display: none !important; }
  .pd-layout { grid-template-columns: 1fr; }
  /* Mobile product gallery: thumbs column + main image with proper gap (was touching) */
  .pd-gallery { grid-template-columns: 64px 1fr; gap: 14px; }
  .pd-thumb { padding: 4px; border-radius: 8px; }
  /* Homepage stats — single row on mobile (5 stats × ~64px = fits 360px screen) */
  .stats-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .stat-num { font-size: clamp(18px, 5vw, 24px); }
  .stat-lbl { font-size: 9px; margin-top: 3px; line-height: 1.2; }
  .stats-band { padding: 26px 0; border-radius: 14px; }
  /* Mobile menu collapsible groups */
  .mm-grp > summary::-webkit-details-marker { display: none; }
  .mm-grp[open] > summary .mm-chev { transform: rotate(180deg); }
  .mm-grp .mm-chev { transition: transform 0.15s ease; display: inline-block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .dash-2 { grid-template-columns: 1fr; }
  .mobile-only { display: initial; }
  .desktop-only { display: none; }
  .nav-row { display: none; }
}

@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-info { padding: 10px; }
  .product-title { font-size: 13px; min-height: 36px; }
  .price { font-size: 16px; }
  .pd-feats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(91,96,117,.3); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(91,96,117,.5); }

/* ========== Sticky bottom action bar ========== */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  z-index: 90;
  padding: 6px 0 max(6px, env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(10,11,20,.06);
}
.sticky-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color .15s;
}
.sticky-item:hover { color: var(--ink); }
.sticky-item.active { color: var(--brand); }
.sticky-item.active::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 28px; height: 3px; background: var(--grad-cta); border-radius: 999px;
}
.sticky-icon { position: relative; display: inline-flex; }
.sticky-badge {
  position: absolute; top: -6px; right: -8px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--brand); color: #fff;
  font-size: 10px; font-weight: 700;
  border-radius: 999px;
  display: grid; place-items: center;
  border: 2px solid #fff;
}
.sticky-item.highlight .sticky-icon {
  background: var(--whatsapp); color: #fff;
  width: 44px; height: 44px; border-radius: 999px;
  display: grid; place-items: center;
  margin-top: -16px;
  box-shadow: 0 8px 20px rgba(37,211,102,.40);
}
.sticky-item.highlight .sticky-label { color: var(--whatsapp); }

/* Add bottom padding to body so content isn't hidden behind sticky bar */
body { padding-bottom: 68px; }
.whatsapp-float { bottom: 88px !important; } /* lift WA float above sticky bar */

@media (min-width: 901px) {
  /* Desktop: only show if explicitly enabled */
  .sticky-bar.mobile-only { display: none; }
  body { padding-bottom: 0; }
  .whatsapp-float { bottom: 24px !important; }
  .sticky-bar:not(.mobile-only) ~ * { padding-bottom: 0; }
  body:has(.sticky-bar:not(.mobile-only)) { padding-bottom: 80px; }
}

/* ========== POPUP ========== */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(10,11,20,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
  padding: 20px;
  animation: popupFade .25s ease-out;
}
@keyframes popupFade { from { opacity: 0; } to { opacity: 1; } }
.popup-card {
  background: #fff;
  border-radius: var(--r-xl);
  max-width: 880px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 100px rgba(10,11,20,.30);
  animation: popupSlide .35s cubic-bezier(.34,1.56,.64,1);
  max-height: 92vh;
}
@keyframes popupSlide { from { transform: translateY(40px) scale(.92); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.popup-image {
  background-size: cover;
  background-position: center;
  background-color: var(--ink-2);
  min-height: 320px;
  position: relative;
}
.popup-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,61,87,.35), rgba(122,59,255,.35));
}
.popup-body { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.popup-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: var(--brand);
  background: rgba(255,61,87,.08);
  padding: 6px 12px; border-radius: 999px;
  align-self: flex-start;
}
.popup-headline { font-size: 30px; line-height: 1.1; margin: 0; }
.popup-headline .grad {
  background: var(--grad-cta);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.popup-body-text { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.6; }
.popup-form { display: grid; gap: 10px; margin-top: 4px; }
.popup-form input {
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
}
.popup-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255,61,87,.08); }
.popup-form .btn { justify-content: center; }
.popup-tnc { font-size: 11px; color: var(--muted-2); }
.popup-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.9);
  border-radius: 999px;
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 2;
  border: 1px solid var(--line);
}
.popup-close:hover { background: #fff; transform: scale(1.05); }
@media (max-width: 700px) {
  .popup-card { grid-template-columns: 1fr; max-height: 95vh; overflow-y: auto; }
  .popup-image { min-height: 180px; }
  .popup-body { padding: 24px; }
  .popup-headline { font-size: 24px; }
}

/* ========== LANDING PAGE ========== */
.landing-hero {
  background:
    radial-gradient(800px 500px at 80% 30%, rgba(122,59,255,.12), transparent 70%),
    radial-gradient(600px 400px at 10% 70%, rgba(255,61,87,.10), transparent 70%),
    var(--bg);
  padding: 60px 0 40px;
}
.landing-content { max-width: 920px; margin: 0 auto; padding: 0 20px; }
.landing-content h2 { font-size: clamp(22px, 3vw, 30px); margin-top: 40px; }
.landing-content h3 { font-size: 20px; margin-top: 28px; color: var(--ink); }
.landing-content p { font-size: 16px; line-height: 1.75; color: var(--ink); margin: 14px 0; }
.landing-content ul, .landing-content ol { line-height: 1.8; padding-left: 24px; }
.landing-content blockquote {
  border-left: 4px solid var(--brand);
  background: var(--line-2);
  padding: 18px 24px;
  border-radius: 0 14px 14px 0;
  margin: 22px 0;
  font-style: italic;
}
.landing-cta-box {
  background: var(--grad-cta);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-align: center;
  margin: 36px 0;
}
.landing-cta-box h3 { color: #fff; margin: 0 0 8px; font-size: 24px; }
.landing-cta-box p { color: rgba(255,255,255,.92); margin: 0 0 18px; }
.landing-related { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--line); }
.landing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.landing-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px;
  display: flex; flex-direction: column; gap: 8px;
  transition: all .15s;
}
.landing-card:hover { transform: translateY(-3px); border-color: transparent; box-shadow: var(--shadow-2); }
.landing-card .lc-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad-cta); color: #fff;
  display: grid; place-items: center;
}
.landing-card h4 { margin: 0; font-size: 16px; }
.landing-card p { margin: 0; color: var(--muted); font-size: 13px; }

/* ========== Richly-designed DTF service landing ========== */
.dtf-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 80px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.dtf-hero::before, .dtf-hero::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1;
  animation: float 14s ease-in-out infinite;
}
.dtf-hero::before { width: 480px; height: 480px; background: var(--brand); top: -120px; right: -100px; opacity: .35; }
.dtf-hero::after  { width: 520px; height: 520px; background: var(--accent); bottom: -180px; left: -120px; opacity: .35; animation-delay: -7s; }
@keyframes float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }

.dtf-hero-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
@media (max-width: 900px) { .dtf-hero-grid { grid-template-columns: 1fr; } }

.dtf-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  padding: 8px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.dtf-eyebrow .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #10B981; box-shadow: 0 0 0 0 rgba(16,185,129,.5); animation: pulseG 2s infinite; }
@keyframes pulseG { 70% { box-shadow: 0 0 0 12px rgba(16,185,129,0); } }

.dtf-h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 18px 0 16px;
  font-weight: 900;
}
.dtf-h1 .rotator {
  display: inline-block; position: relative; min-width: 240px;
  background: linear-gradient(135deg, var(--brand), var(--gold), var(--accent));
  background-size: 200% 200%;
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.dtf-sub { font-size: 18px; opacity: .88; max-width: 540px; line-height: 1.55; }
.dtf-cta-cluster { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 24px; }
.dtf-cta-cluster .btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border: 0; }
.dtf-cta-cluster .btn-dark { background: #fff; color: var(--ink); }

.dtf-trust-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; font-size: 13px; opacity: .85; }
.dtf-trust-row b { color: #fff; }

.dtf-counters {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 36px;
}
@media (max-width: 700px) { .dtf-counters { grid-template-columns: 1fr 1fr; } }
.dtf-counter-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 18px;
  backdrop-filter: blur(10px);
}
.dtf-counter-num {
  font-size: clamp(28px, 4vw, 40px); font-weight: 900;
  background: linear-gradient(135deg, #fff, #cbd5e1);
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.dtf-counter-lbl { font-size: 12px; opacity: .7; margin-top: 6px; font-weight: 600; }

.dtf-hero-visual {
  position: relative; aspect-ratio: 4/5;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.dtf-hero-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.dtf-floating-badge {
  position: absolute; padding: 10px 14px;
  background: rgba(255,255,255,.95); color: var(--ink);
  border-radius: 12px; font-size: 12px; font-weight: 700;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  animation: bob 4s ease-in-out infinite;
}
.dtf-floating-badge.b1 { top: 20px; right: 20px; animation-delay: 0s; }
.dtf-floating-badge.b2 { bottom: 30px; left: 20px; animation-delay: -2s; }
.dtf-floating-badge.b3 { top: 50%; left: -10px; transform: translateY(-50%); background: var(--brand); color: #fff; animation-delay: -1s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.dtf-floating-badge.b3 { animation: bob-l 4s ease-in-out infinite -1s; }
@keyframes bob-l { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 6px)); } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: all .7s cubic-bezier(.16,.84,.44,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Process strip */
.dtf-process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  position: relative;
}
@media (max-width: 900px) { .dtf-process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .dtf-process { grid-template-columns: 1fr; } }
.dtf-step {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  position: relative; overflow: hidden;
  transition: all .3s;
}
.dtf-step:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15,23,42,.08); border-color: transparent; }
.dtf-step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.dtf-step:hover::before { transform: scaleX(1); }
.dtf-step-num {
  font-size: 60px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: .15; position: absolute; top: 12px; right: 16px;
}
.dtf-step-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; display: grid; place-items: center;
  margin-bottom: 14px;
}
.dtf-step h4 { font-size: 16px; margin: 0 0 6px; font-weight: 800; }
.dtf-step p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.55; }

/* Pricing calculator */
.dtf-calc {
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #fff; border-radius: var(--r-xl); padding: 40px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center;
  position: relative; overflow: hidden;
}
@media (max-width: 800px) { .dtf-calc { grid-template-columns: 1fr; padding: 28px; } }
.dtf-calc::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% 20%, rgba(54,40,163,.4), transparent 70%);
  pointer-events: none;
}
.dtf-calc-slider {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 8px; border-radius: 999px; background: rgba(255,255,255,.15);
  outline: none; margin: 20px 0;
}
.dtf-calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  cursor: pointer; box-shadow: 0 6px 20px rgba(185,28,28,.5);
  border: 3px solid #fff;
}
.dtf-calc-slider::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  cursor: pointer; border: 3px solid #fff;
}
.dtf-calc-price {
  font-size: clamp(40px, 6vw, 60px); font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.dtf-calc-bd { display: grid; gap: 10px; font-size: 13px; }
.dtf-calc-bd .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.dtf-calc-bd .row b { color: #fff; }

/* Compare table */
.dtf-compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
@media (max-width: 700px) { .dtf-compare { grid-template-columns: 1fr; } }
.dtf-compare-col {
  border-radius: var(--r-lg); padding: 26px;
}
.dtf-compare-col.bad { background: #FEF2F2; border: 1px solid #FECACA; }
.dtf-compare-col.good { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; }
.dtf-compare-col h3 { margin: 0 0 14px; font-size: 18px; }
.dtf-compare-col ul { list-style: none; padding: 0; margin: 0; }
.dtf-compare-col li { padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: 14px; display: flex; align-items: flex-start; gap: 10px; }
.dtf-compare-col.good li { border-bottom-color: rgba(255,255,255,.18); }
.dtf-compare-col li:last-child { border-bottom: 0; }
.dtf-compare-col .ic { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 12px; font-weight: 800; margin-top: 1px; }
.dtf-compare-col.bad .ic { background: #FCA5A5; color: #7F1D1D; }
.dtf-compare-col.good .ic { background: rgba(255,255,255,.25); color: #fff; }

/* Material cards */
.dtf-mat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
}
.dtf-mat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px;
  transition: all .25s; position: relative; overflow: hidden;
}
.dtf-mat:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(15,23,42,.10); border-color: transparent; }
.dtf-mat .mat-bg {
  position: absolute; top: -20px; right: -20px; width: 100px; height: 100px;
  border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent));
  opacity: .08; transition: opacity .3s;
}
.dtf-mat:hover .mat-bg { opacity: .15; transform: scale(1.4); }
.dtf-mat-icon {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 14px;
  display: grid; place-items: center;
  background: var(--line-2); color: var(--brand);
  position: relative;
}
.dtf-mat h4 { margin: 0 0 6px; font-size: 16px; font-weight: 800; position: relative; }
.dtf-mat p { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.55; position: relative; }

/* Live order ticker */
.dtf-ticker {
  position: fixed; bottom: 90px; left: 20px; z-index: 80;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 16px; box-shadow: 0 20px 50px rgba(15,23,42,.15);
  display: flex; align-items: center; gap: 12px; max-width: 320px;
  animation: ticker-slide-in .5s cubic-bezier(.34,1.56,.64,1) backwards;
  font-size: 13px;
}
@keyframes ticker-slide-in { from { transform: translateX(-120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.dtf-ticker.fading { animation: ticker-slide-out .35s ease-in forwards; }
@keyframes ticker-slide-out { to { transform: translateX(-120%); opacity: 0; } }
.dtf-ticker-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--grad-cta); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 12px; flex-shrink: 0; }
.dtf-ticker b { color: var(--ink); }
.dtf-ticker small { color: var(--muted); }
@media (max-width: 700px) { .dtf-ticker { display: none; } }

/* Big number band */
.dtf-band {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; border-radius: var(--r-xl); padding: 60px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.dtf-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 50% 50%, rgba(255,255,255,.15), transparent 70%);
}
.dtf-band-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px;
  position: relative;
}
.dtf-band-num {
  font-size: clamp(40px, 6vw, 64px); font-weight: 900; line-height: 1;
  text-shadow: 0 4px 20px rgba(0,0,0,.2);
}

/* Testimonial carousel */
.dtf-tcar { position: relative; overflow: hidden; }
.dtf-tcar-track { display: flex; transition: transform .5s cubic-bezier(.34,1.56,.64,1); gap: 16px; }
.dtf-tcar-card { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 900px) { .dtf-tcar-card { flex: 0 0 calc(50% - 8px); max-width: calc(50% - 8px); } }
.dtf-tcar-dots { display: flex; gap: 6px; justify-content: center; margin-top: 14px; }
.dtf-tcar-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); border: 0; cursor: pointer; transition: all .2s; }
.dtf-tcar-dot.active { background: var(--brand); width: 24px; border-radius: 999px; }

/* FAQ accordion */
.dtf-faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; overflow: hidden; transition: all .2s; }
.dtf-faq:hover { border-color: var(--brand); }
.dtf-faq summary { padding: 18px 22px; cursor: pointer; font-weight: 700; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.dtf-faq summary::-webkit-details-marker { display: none; }
.dtf-faq summary::after { content: '+'; font-size: 24px; color: var(--brand); font-weight: 800; transition: transform .25s; }
.dtf-faq[open] summary::after { transform: rotate(45deg); }
.dtf-faq p { padding: 0 22px 18px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* Final sticky CTA */
.dtf-final {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: var(--r-xl); padding: 60px 40px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.dtf-final h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin: 0 0 14px; }
.dtf-final p { font-size: 17px; opacity: .92; max-width: 580px; margin: 0 auto 28px; line-height: 1.5; }

/* ========== ZIGROLL software landing ========== */
.zg-hero {
  position: relative;
  background: #050714;
  color: #fff;
  padding: 80px 0 60px;
  overflow: hidden;
  isolation: isolate;
}
.zg-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 400px at 80% 30%, rgba(55,48,163,.4), transparent 60%),
    radial-gradient(600px 300px at 20% 80%, rgba(185,28,28,.3), transparent 60%),
    linear-gradient(180deg, #050714 0%, #0F172A 100%);
}
.zg-hero::after {
  /* Animated grid lines */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask: radial-gradient(ellipse 800px 500px at 50% 30%, #000, transparent 70%);
  -webkit-mask: radial-gradient(ellipse 800px 500px at 50% 30%, #000, transparent 70%);
  animation: gridShift 30s linear infinite;
}
@keyframes gridShift { 100% { background-position: 40px 40px; } }

.zg-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
@media (max-width: 900px) { .zg-hero-grid { grid-template-columns: 1fr; } }

.zg-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  padding: 8px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  font-family: 'SF Mono', Menlo, monospace;
}
.zg-eyebrow .ver { color: #34d399; }

.zg-h1 {
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1;
  letter-spacing: -.035em;
  margin: 20px 0 16px;
  font-weight: 900;
}
.zg-h1 .gradient {
  background: linear-gradient(135deg, #818cf8, #a5f3fc, #c084fc);
  background-size: 200% 200%;
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
.zg-sub { font-size: 17px; opacity: .8; max-width: 480px; line-height: 1.6; }

.zg-compat {
  margin-top: 24px; display: flex; align-items: center; gap: 14px;
  font-size: 12px; opacity: .65;
}
.zg-compat-list { display: flex; gap: 10px; flex-wrap: wrap; }
.zg-compat-chip {
  padding: 6px 10px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08); border-radius: 999px;
  font-size: 11px; font-weight: 700; font-family: 'SF Mono', Menlo, monospace;
}

.zg-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.zg-cta-row .btn-primary { background: linear-gradient(135deg, #6366F1, #8B5CF6); border: 0; }

/* Software UI mockup */
.zg-app {
  background: #0a0f1f; border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04) inset;
  position: relative;
}
.zg-app-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.zg-app-dot { width: 12px; height: 12px; border-radius: 50%; }
.zg-app-dot.r { background: #ef4444; }
.zg-app-dot.y { background: #f59e0b; }
.zg-app-dot.g { background: #10b981; }
.zg-app-title { margin-left: 10px; font-size: 11px; color: rgba(255,255,255,.5); font-family: 'SF Mono', Menlo, monospace; }
.zg-app-body { display: grid; grid-template-columns: 60px 1fr 200px; min-height: 360px; }
.zg-app-sidebar { background: rgba(255,255,255,.02); border-right: 1px solid rgba(255,255,255,.05); padding: 14px 8px; display: flex; flex-direction: column; gap: 8px; }
.zg-app-tool { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.04); display: grid; place-items: center; color: rgba(255,255,255,.4); cursor: pointer; }
.zg-app-tool.active { background: linear-gradient(135deg, #6366F1, #8B5CF6); color: #fff; }
.zg-app-canvas {
  background: repeating-conic-gradient(rgba(255,255,255,.04) 0% 25%, transparent 0% 50%) 50% / 16px 16px;
  position: relative; padding: 30px; display: grid; place-items: center;
}
.zg-app-print { width: 86%; aspect-ratio: 4/3; border-radius: 12px;
  background: linear-gradient(135deg, #fef3c7, #fbbf24, #f97316);
  position: relative;
  box-shadow: 0 24px 50px rgba(251,146,60,.30);
  display: grid; place-items: center;
  font-size: 36px; font-weight: 900; color: rgba(255,255,255,.7);
  font-family: serif;
  overflow: hidden;
}
.zg-app-print::after {
  content: 'YOUR DESIGN'; font-size: 22px; letter-spacing: .12em;
  background: linear-gradient(135deg, #b91c1c, #4338ca);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.zg-app-print::before {
  content: ''; position: absolute; inset: 8px;
  border: 2px dashed rgba(255,255,255,.4); border-radius: 8px;
}
.zg-app-right { background: rgba(255,255,255,.02); border-left: 1px solid rgba(255,255,255,.05); padding: 16px; display: flex; flex-direction: column; gap: 12px; font-size: 11px; }
.zg-app-section { padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.05); }
.zg-app-section h6 { margin: 0 0 8px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); font-weight: 700; }
.zg-app-input { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 6px; padding: 6px 8px; font-size: 11px; color: #fff; font-family: 'SF Mono', monospace; display: flex; justify-content: space-between; }
.zg-app-slider { height: 4px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; margin: 6px 0; }
.zg-app-slider span { display: block; height: 100%; background: linear-gradient(90deg, #6366F1, #8B5CF6); width: 70%; }
.zg-app-btn { background: linear-gradient(135deg, #10B981, #34D399); color: #fff; padding: 8px; border-radius: 8px; text-align: center; font-size: 11px; font-weight: 800; cursor: pointer; }
.zg-app-status { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #34d399; }
.zg-app-pulse { width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 #34d399; animation: pulseG 2s infinite; }

/* Stats marquee under hero */
.zg-marquee { background: rgba(255,255,255,.03); border-block: 1px solid rgba(255,255,255,.06); padding: 14px 0; overflow: hidden; position: relative; }
.zg-marquee-track { display: flex; gap: 40px; animation: scroll 25s linear infinite; white-space: nowrap; }
.zg-marquee-item { font-size: 12px; opacity: .55; display: inline-flex; align-items: center; gap: 8px; }
.zg-marquee-item b { color: #fff; opacity: 1; }

/* Feature grid */
.zg-features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px;
}
.zg-feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px;
  transition: all .25s; position: relative; overflow: hidden;
}
.zg-feat:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15,23,42,.08); }
.zg-feat::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #6366F1, #8B5CF6);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.zg-feat:hover::after { transform: scaleX(1); }
.zg-feat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(139,92,246,.12));
  color: #4338CA; display: grid; place-items: center; margin-bottom: 14px;
}
.zg-feat h4 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.zg-feat p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Pricing cards */
.zg-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 800px) { .zg-price-grid { grid-template-columns: 1fr; } }
.zg-price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 26px;
  position: relative; transition: all .25s;
}
.zg-price:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(15,23,42,.10); border-color: transparent; }
.zg-price.popular {
  background: linear-gradient(180deg, #0F172A, #1E293B); color: #fff; border: 0;
  transform: scale(1.04);
}
.zg-price.popular:hover { transform: scale(1.04) translateY(-4px); }
.zg-price .ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #B91C1C, #B45309); color: #fff;
  padding: 6px 14px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(185,28,28,.3);
}
.zg-price h3 { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.zg-price .tagline { color: var(--muted); font-size: 13px; }
.zg-price.popular .tagline { color: rgba(255,255,255,.6); }
.zg-price .amount {
  font-size: 44px; font-weight: 900; margin: 18px 0 4px; line-height: 1;
}
.zg-price.popular .amount { background: linear-gradient(135deg, #fff, #cbd5e1); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.zg-price .amount sub { font-size: 14px; font-weight: 700; color: var(--muted); }
.zg-price.popular .amount sub { color: rgba(255,255,255,.6); }
.zg-price ul { list-style: none; padding: 0; margin: 22px 0; }
.zg-price li { padding: 8px 0; font-size: 13px; display: flex; gap: 10px; align-items: flex-start; }
.zg-price li::before { content: '✓'; color: #10B981; font-weight: 800; flex-shrink: 0; }
.zg-price.popular li::before { color: #34d399; }
.zg-price .btn { width: 100%; justify-content: center; }
.zg-price.popular .btn-primary { background: linear-gradient(135deg, #6366F1, #8B5CF6); }

/* System req card */
.zg-req {
  background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
}
@media (max-width: 700px) { .zg-req { grid-template-columns: 1fr; } }
.zg-req h4 { margin: 0 0 14px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.6); }
.zg-req .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.zg-req .row:last-child { border: 0; }
.zg-req .row span:first-child { opacity: .65; }
.zg-req .row b { color: #fff; }

/* Compatible printers grid */
.zg-printers { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.zg-printer {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0;
  text-align: center; transition: all .2s; overflow: hidden;
  display: grid; grid-template-rows: 140px auto;
}
.zg-printer-img {
  background: var(--line-2); display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.zg-printer-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .35s;
}
.zg-printer:hover { border-color: var(--accent); box-shadow: 0 10px 30px rgba(55,48,163,.12); transform: translateY(-2px); }
.zg-printer:hover .zg-printer-img img { transform: scale(1.06); }
.zg-printer-body { padding: 12px 10px 14px; }
.zg-printer-name { font-size: 13px; font-weight: 800; }
.zg-printer-model { font-size: 11px; color: var(--muted); margin-top: 2px; font-family: 'SF Mono', monospace; }

/* ZigRoll real software screenshot */
.zg-shot {
  background: linear-gradient(180deg, #1A1C2E, #0A0B14);
  border-radius: 22px; padding: 14px; box-shadow: 0 30px 80px rgba(55,48,163,.35);
  border: 1px solid rgba(255,255,255,.08);
}
.zg-shot-bar {
  display: flex; align-items: center; gap: 6px; padding: 4px 10px 10px;
}
.zg-shot-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.zg-shot-bar .r { background: #ff5f57; } .zg-shot-bar .y { background: #febc2e; } .zg-shot-bar .g { background: #28c840; }
.zg-shot-bar .title { margin-left: 10px; color: rgba(255,255,255,.7); font-family: 'SF Mono', monospace; font-size: 11px; }
.zg-shot img { width: 100%; display: block; border-radius: 12px; }

/* ZigRoll gallery */
.zg-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 720px) { .zg-gallery { grid-template-columns: repeat(2, 1fr); } }
.zg-gallery-tile {
  background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  transition: all .25s; cursor: zoom-in;
}
.zg-gallery-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(55,48,163,.18); border-color: var(--accent); }
.zg-gallery-tile img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.zg-gallery-tile .cap { padding: 10px 12px; font-size: 12px; font-weight: 700; color: var(--ink); }
.zg-gallery-tile .cap small { display: block; font-weight: 500; color: var(--muted); margin-top: 2px; }

/* ZigRoll product showcase band */
.zg-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; }
@media (max-width: 880px) { .zg-showcase { grid-template-columns: 1fr; } }
.zg-showcase img { width: 100%; border-radius: 18px; box-shadow: 0 20px 60px rgba(10,11,20,.12); }

/* ===================================================================
   ZigRoll landing page — elegant rebuild, sourced 1:1 from old WP
   =================================================================== */

.zr-hero {
  padding: 80px 0 70px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(55,48,163,.10), transparent 60%),
    radial-gradient(700px 400px at 10% 80%, rgba(185,28,28,.06), transparent 60%),
    linear-gradient(180deg, #FAFAF7 0%, #FFFFFF 100%);
}
.zr-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 920px) { .zr-hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.zr-eyebrow {
  margin: 0 0 16px; font-size: 12px; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
}
.zr-h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05; margin: 0 0 18px;
  letter-spacing: -.025em; font-weight: 800;
  color: var(--ink);
}
.zr-h2 {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 600; color: var(--muted-2);
  margin: 0 0 22px; font-style: italic;
  letter-spacing: .01em;
}
.zr-lede {
  font-size: 17px; line-height: 1.65; color: var(--muted);
  margin: 0 0 28px; max-width: 560px;
}
.zr-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.zr-hero-image {
  position: relative;
}
.zr-hero-image::before {
  content: ''; position: absolute; inset: -30px;
  background: radial-gradient(closest-side, rgba(55,48,163,.18), transparent 75%);
  z-index: 0; filter: blur(8px);
}
.zr-hero-image img {
  position: relative; z-index: 1;
  width: 100%; max-width: 540px; margin: 0 auto; display: block;
  filter: drop-shadow(0 30px 60px rgba(10,11,20,.18));
}

/* Section titles */
.zr-section-title {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -.02em; line-height: 1.15;
  margin: 0 0 16px; font-weight: 800; color: var(--ink);
}

/* Two-column split (text + image alternating) */
.zr-split {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center;
}
.zr-split.reverse { grid-template-columns: 1.05fr 1fr; }
.zr-split.reverse .zr-split-img { order: 2; }
.zr-split.reverse .zr-split-text { order: 1; }
@media (max-width: 880px) {
  .zr-split, .zr-split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .zr-split.reverse .zr-split-img, .zr-split.reverse .zr-split-text { order: unset; }
}
.zr-split-img img {
  width: 100%; display: block; border-radius: 20px;
  box-shadow: 0 30px 70px rgba(10,11,20,.15);
}
.zr-split-text p {
  font-size: 16px; line-height: 1.75; color: var(--ink-2);
  margin: 0;
}

/* Feature grid (6 numbered cards) */
.zr-features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 24px;
}
@media (max-width: 980px) { .zr-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .zr-features { grid-template-columns: 1fr; } }

/* ===== Mobile tightening for landing pages (Ziggroll, DTF Service, etc.) ===== */
@media (max-width: 700px) {
  /* Landing pages — let .container handle the side gutter (default 18px from main mobile rule).
     The previous workaround zeroed out container padding which made text touch the edge. */
  #landing-root { padding-left: 0; padding-right: 0; overflow-x: hidden; }
  /* Container inside landing-root keeps the global 18px mobile padding (set in main media query above). */
  /* For sections that don't have a .container child, give the section direct side padding. */
  #landing-root > section:not(:has(> .container)),
  #landing-root > section > .container { padding-left: 20px !important; padding-right: 20px !important; }
  /* Landing custom-template (Custom WYSIWYG output) — ensure article has generous side padding */
  #landing-root article.rte-area { padding-left: 22px !important; padding-right: 22px !important; }
  /* Ziggroll landing tweaks */
  .zr-hero { padding: 30px 0 20px; }
  .zr-feat { padding: 20px 18px; }
  .zr-tier { padding: 22px 20px; }
  .zr-h1 { font-size: clamp(28px, 7vw, 38px); line-height: 1.15; }
  .zr-h2 { font-size: 14px; }
  .zr-lede { font-size: 14px; }
  .zr-eyebrow { font-size: 11px; }
  .zr-hero-image img { max-width: 92%; margin: 0 auto; display: block; }
  .zr-section-title { font-size: 24px; }
  .zr-cta-row { gap: 8px; }
  .zr-cta-row .btn { font-size: 13px; padding: 10px 14px; }
  /* sections — vertical tightening on mobile; horizontal handled by .container */
  .section { padding-top: 28px; padding-bottom: 28px; }
  .section-tight { padding-top: 20px; padding-bottom: 20px; }
  /* Reels: cap each card width so 1080×1920 portrait is comfortable, stack on phone */
  #landing-root [style*="grid-template-columns:repeat(auto-fit, minmax(220px"] {
    grid-template-columns: 1fr !important;
    max-width: 320px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* Pricing tiers: single column on mobile */
  .zr-pricing { grid-template-columns: 1fr !important; gap: 16px; }
  /* Split image+text rows: collapse to single column (already in CSS at 920px but enforce here) */
  .zr-split, .zr-split.reverse { grid-template-columns: 1fr !important; gap: 24px; }
  .zr-split-img img { max-width: 90%; margin: 0 auto; display: block; }
  /* Hero iframe respects 16:9, no overflow */
  iframe { max-width: 100%; }
}
.zr-feat {
  background: #fff; border: 1px solid var(--line);
  border-radius: 22px; padding: 30px 26px 28px;
  transition: all .25s ease;
  position: relative; overflow: hidden;
}
.zr-feat::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(180deg, var(--accent), var(--brand));
  opacity: 0; transition: opacity .25s;
}
.zr-feat:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(55,48,163,.14); border-color: transparent; }
.zr-feat:hover::before { opacity: 1; }
.zr-feat-num {
  font-size: 13px; font-weight: 800; color: var(--accent);
  letter-spacing: .12em; margin-bottom: 14px;
}
.zr-feat-title {
  font-size: 19px; font-weight: 800; color: var(--ink);
  margin: 0 0 12px; letter-spacing: -.01em; line-height: 1.25;
}
.zr-feat-desc {
  font-size: 14px; line-height: 1.65; color: var(--muted);
  margin: 0;
}

/* Notes callout */
.zr-note {
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
  border: 1px solid #FCD34D;
  border-radius: 22px;
  padding: 30px 32px;
  position: relative;
}
.zr-note-label {
  display: inline-block; background: #92400E; color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .15em;
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 16px;
}
.zr-note p {
  font-size: 14px; line-height: 1.7; color: #78350F;
  margin: 0 0 12px;
}
.zr-note p:last-child { margin-bottom: 0; }

/* Pricing tiles */
.zr-pricing {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  margin-top: 28px; align-items: stretch;
}
@media (max-width: 920px) { .zr-pricing { grid-template-columns: 1fr; } }
.zr-price {
  background: #fff; border: 1px solid var(--line);
  border-radius: 24px; padding: 36px 28px 32px;
  display: flex; flex-direction: column;
  position: relative; transition: all .25s;
}
.zr-price:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(10,11,20,.10); }
.zr-price.popular {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, #fff 0%, #F5F3FF 100%);
  box-shadow: 0 20px 60px rgba(55,48,163,.18);
  transform: translateY(-6px);
}
.zr-price-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--brand));
  color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(55,48,163,.35);
}
.zr-price-name {
  font-size: 12px; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 16px;
}
.zr-price-amount {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.zr-price-amount .num {
  font-size: 48px; font-weight: 800; color: var(--ink);
  letter-spacing: -.02em; line-height: 1;
}
.zr-price-amount .per {
  font-size: 13px; color: var(--muted); font-weight: 600;
}
.zr-price-list {
  list-style: none; padding: 0; margin: 0 0 24px;
  flex: 1; display: flex; flex-direction: column; gap: 12px;
}
.zr-price-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.45; color: var(--ink-2);
}
.zr-price-list li svg { flex-shrink: 0; color: var(--success); margin-top: 2px; }
.zr-price .btn { width: 100%; justify-content: center; }
.zr-price-note {
  text-align: center; padding: 12px;
  background: var(--line-2); border-radius: 12px;
  font-size: 13px; font-weight: 700; color: var(--muted);
}

/* FAQ accordion */
.zr-faq { max-width: 820px; margin: 0 auto; }
.zr-faq-item {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: all .2s;
}
.zr-faq-item[open] { border-color: var(--accent); box-shadow: 0 12px 30px rgba(55,48,163,.08); }
.zr-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-size: 15px; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  transition: color .15s;
}
.zr-faq-item summary::-webkit-details-marker { display: none; }
.zr-faq-item summary:hover { color: var(--accent); }
.zr-faq-icon {
  flex-shrink: 0; width: 28px; height: 28px;
  border-radius: 50%; background: var(--line-2);
  display: grid; place-items: center;
  transition: all .25s;
}
.zr-faq-item[open] .zr-faq-icon { background: var(--accent); color: #fff; transform: rotate(45deg); }
.zr-faq-body {
  padding: 0 22px 22px;
  font-size: 14px; line-height: 1.7; color: var(--ink-2);
}
.zr-faq-body p { margin: 0 0 10px; }
.zr-faq-bullet { padding: 4px 0 4px 18px; position: relative; }
.zr-faq-bullet::before { content: '•'; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }

/* Social row */
.zr-social { text-align: center; max-width: 720px; margin: 0 auto; }
.zr-social-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.zr-social-card {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 22px;
  font-size: 15px; font-weight: 700; color: var(--ink);
  transition: all .2s;
}
.zr-social-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent); color: var(--accent);
  box-shadow: 0 12px 30px rgba(55,48,163,.12);
}

/* ====== Coupon slider + cart + popup ====== */
.cg-coupon-slider-wrap {
  background: linear-gradient(135deg, #FFF8EB 0%, #FFE7EC 100%);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(255,61,87,0.08);
}
.cg-coupon-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cg-coupon-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.cg-coupon-strip::-webkit-scrollbar { height: 6px; }
.cg-coupon-strip::-webkit-scrollbar-thumb { background: rgba(255,61,87,0.3); border-radius: 4px; }
.cg-coupon-card {
  flex: 0 0 280px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1.5px dashed rgba(255,61,87,0.25);
  scroll-snap-align: start;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cg-coupon-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(255,61,87,0.15); }
.cg-coupon-flag {
  background: linear-gradient(135deg,#FF3D57,#7A3BFF);
  color: #fff;
  font-weight: 800;
  text-align: center;
  padding: 10px 6px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.1;
}
.cg-coupon-body { min-width: 0; }
.cg-coupon-code { font-weight: 800; font-size: 15px; letter-spacing: 0.04em; color: var(--ink); }
.cg-coupon-desc { font-size: 12px; color: var(--ink); margin-top: 2px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cg-coupon-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.cg-coupon-copy {
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  padding: 8px 12px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background .15s;
}
.cg-coupon-copy:hover { background: var(--brand); }

.cg-coupon-cart { background: var(--line-2); border-radius: 10px; padding: 10px 12px; }
.cg-coupon-cart-head { font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.cg-coupon-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px dashed rgba(0,0,0,0.06); }
.cg-coupon-row:first-child { border-top: 0; }
.cg-coupon-row-info { min-width: 0; flex: 1; }
.cg-coupon-row-code { font-weight: 800; font-size: 13px; letter-spacing: 0.04em; color: var(--ink); }
.cg-coupon-row-desc { font-size: 11px; color: var(--ink); margin-top: 1px; line-height: 1.3; }
@media (max-width: 700px) {
  .cg-coupon-card { flex: 0 0 240px; grid-template-columns: 64px 1fr auto; }
}

/* ===== WordPress-style rich text editor (admin + storefront render) ===== */
[data-rte-toolbar] button[data-cmd]:hover,
[data-rte-toolbar] > button:hover,
#pgm-toolbar button[data-cmd]:hover,
#pgm-toolbar > button:hover { background: #e7e8ee !important; border-color: #d1d5db !important; }
#pgm-rte:focus, [data-rte-area]:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.rte-area h2, #pgm-rte h2, [data-rte-area] h2 { font-size: 22px; font-weight: 700; margin: 18px 0 8px; line-height: 1.3; }
.rte-area h3, #pgm-rte h3, [data-rte-area] h3 { font-size: 18px; font-weight: 700; margin: 16px 0 6px; line-height: 1.3; }
.rte-area h4, #pgm-rte h4, [data-rte-area] h4 { font-size: 16px; font-weight: 700; margin: 14px 0 4px; line-height: 1.3; }
.rte-area p,  #pgm-rte p,  [data-rte-area] p  { margin: 0 0 10px; }
.rte-area ul, .rte-area ol, #pgm-rte ul, #pgm-rte ol, [data-rte-area] ul, [data-rte-area] ol { margin: 6px 0 12px 22px; }
.rte-area li, #pgm-rte li, [data-rte-area] li { margin: 2px 0; }
.rte-area blockquote, #pgm-rte blockquote, [data-rte-area] blockquote { border-left: 3px solid var(--brand); padding: 4px 14px; margin: 10px 0; color: var(--muted); }
.rte-area pre, #pgm-rte pre, [data-rte-area] pre { background: #0A0B14; color: #c9d1d9; padding: 12px; border-radius: 6px; overflow-x: auto; font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
.rte-area img, #pgm-rte img, [data-rte-area] img { max-width: 100%; border-radius: 6px; height: auto; }
.rte-area a, #pgm-rte a, [data-rte-area] a { color: var(--brand); text-decoration: underline; }
.rte-area table, #pgm-rte table, [data-rte-area] table { border-collapse: collapse; margin: 10px 0; }
.rte-area table td, .rte-area table th, #pgm-rte table td, #pgm-rte table th, [data-rte-area] table td, [data-rte-area] table th { border: 1px solid var(--line); padding: 8px 10px; }
.rte-area hr, #pgm-rte hr, [data-rte-area] hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }

/* ============================================================================
   POPUP-CLAIM-V1 — coupon success card (welcome popup, after WA claim).
   Responsive: single-column shell, two-column ticket on desktop,
   stacked ticket on mobile. Notches are anchored to the divider element
   so they always align with the seam regardless of column widths.
   ========================================================================== */

/* The base .popup-card is a 1fr|1fr grid (image | body). When we swap to the
   success state we collapse the grid to a single column and hide the image. */
.popup-card--success {
  grid-template-columns: 1fr !important;
  max-width: 460px !important;
  animation: cgFadeIn .25s ease-out;
}
.popup-card--success .popup-image { display: none !important; }
.popup-card--success .popup-body {
  padding: 32px 30px !important;
  gap: 0 !important;
}

@keyframes cgFadeIn { from { opacity: .4; transform: scale(.985); } to { opacity: 1; transform: scale(1); } }
@keyframes cgSpin { to { transform: rotate(360deg); } }
@keyframes cgCheckPop {
  0%   { transform: scale(.4); opacity: 0; }
  55%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.cg-spin {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: cgSpin .7s linear infinite;
  vertical-align: -2px;
}

.cg-coupon-success { text-align: center; }
.cg-coupon-success__check {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00B56A, #00D2FF);
  color: #fff;
  display: grid; place-items: center;
  margin: 0 auto 16px;
  box-shadow: 0 12px 28px rgba(0,181,106,.32);
  animation: cgCheckPop .55s cubic-bezier(.34,1.56,.64,1) both;
}
.cg-coupon-success__check svg { width: 30px; height: 30px; stroke-width: 3; }
.cg-coupon-success__title {
  font-size: 26px; font-weight: 800; letter-spacing: -0.02em;
  margin: 0 0 6px; color: var(--ink);
  line-height: 1.15;
}
.cg-coupon-success__sub {
  font-size: 14px; color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.5;
}

/* ---------- THE TICKET ----------
   Desktop: two side-by-side panels separated by a vertical dashed divider with
   punched-out notches. The notches live on the divider so they ALWAYS align
   with the seam, regardless of how wide each side is. */
.cg-coupon-ticket {
  display: grid;
  grid-template-columns: minmax(115px, 0.85fr) 1px minmax(165px, 1.4fr);
  align-items: stretch;
  background: linear-gradient(135deg, #FF3D57, #7A3BFF);
  border-radius: 14px;
  color: #fff;
  box-shadow: 0 12px 36px rgba(122,59,255,.32);
  position: relative;
  overflow: visible;     /* notches need to bleed past the rounded edge */
  margin: 0 0 18px;
}
.cg-coupon-ticket > * { min-width: 0; }

.cg-coupon-ticket__left {
  padding: 18px 14px;
  text-align: center;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  border-radius: 14px 0 0 14px;
  overflow: hidden;
}
.cg-coupon-ticket__brand {
  font-size: 10px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; opacity: .85;
  line-height: 1.2;
}
.cg-coupon-ticket__value {
  font-size: 38px; font-weight: 900;
  line-height: 1; margin: 8px 0 4px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,.16);
}
.cg-coupon-ticket__label {
  font-size: 10px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; opacity: .92;
}

/* The divider — both the dashed seam AND the carrier for the round notches. */
.cg-coupon-ticket__divider {
  position: relative;
  width: 0;
  border-left: 2px dashed rgba(255,255,255,.55);
  margin: 14px 0;
  align-self: stretch;
}
.cg-coupon-ticket__divider::before,
.cg-coupon-ticket__divider::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
}
.cg-coupon-ticket__divider::before { top: -23px; }   /* punches above the ticket */
.cg-coupon-ticket__divider::after  { bottom: -23px; } /* punches below the ticket */

.cg-coupon-ticket__right {
  padding: 16px 16px 16px 18px;
  text-align: left;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  border-radius: 0 14px 14px 0;
  overflow: hidden;
}
.cg-coupon-ticket__code-label {
  font-size: 10px; font-weight: 800; letter-spacing: .1em;
  opacity: .85; text-transform: uppercase;
}
.cg-coupon-ticket__code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 20px; font-weight: 800;
  background: rgba(255,255,255,.16);
  border: 1px dashed rgba(255,255,255,.55);
  border-radius: 8px;
  padding: 8px 10px;
  margin: 4px 0 8px;
  word-break: break-all;
  user-select: all;
  letter-spacing: .02em;
  text-align: center;
}
.cg-coupon-ticket__copy {
  background: rgba(255,255,255,.96);
  color: #1A1C2E;
  border: 0; border-radius: 8px;
  padding: 9px 12px;
  font-size: 12px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer;
  transition: transform .12s, background .15s;
  align-self: stretch;
}
.cg-coupon-ticket__copy:hover { transform: translateY(-1px); background: #fff; }
.cg-coupon-ticket__copy.is-copied { background: #00B56A; color: #fff; }

/* ---------- META + ACTIONS ---------- */
.cg-coupon-meta {
  list-style: none; padding: 14px 16px; margin: 0 0 18px;
  text-align: left;
  background: #fafafc;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.cg-coupon-meta li {
  font-size: 13px; color: var(--ink);
  padding: 4px 0;
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.5;
}
.cg-coupon-meta li span {
  flex: 0 0 22px;
  text-align: center;
  font-size: 14px;
  padding-top: 1px;
}

.cg-coupon-actions {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 14px;
}
.cg-coupon-actions .btn {
  width: 100%;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  gap: 8px;
}
.cg-coupon-actions .cg-wa-confirm svg { width: 16px; height: 16px; }

.cg-coupon-fine {
  font-size: 12px; color: var(--muted);
  text-align: center;
  margin: 4px 0 0;
  line-height: 1.5;
}

/* ============================================================================
   MOBILE — stack the ticket vertically. The notches re-orient to left/right
   edges of the now-horizontal seam.
   ========================================================================== */
@media (max-width: 540px) {
  .popup-card--success { max-width: 100% !important; }
  .popup-card--success .popup-body { padding: 26px 20px !important; }
  .cg-coupon-success__title { font-size: 22px; }
  .cg-coupon-success__sub { margin-bottom: 16px; }

  .cg-coupon-ticket {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1px auto;
  }
  .cg-coupon-ticket__left {
    padding: 18px 14px 10px;
    border-radius: 14px 14px 0 0;
  }
  .cg-coupon-ticket__value { font-size: 34px; }

  .cg-coupon-ticket__divider {
    width: auto; height: 0;
    border-left: 0;
    border-top: 2px dashed rgba(255,255,255,.55);
    margin: 0 18px;
  }
  .cg-coupon-ticket__divider::before,
  .cg-coupon-ticket__divider::after {
    /* shift notches from top/bottom to left/right edges */
    top: 50%; bottom: auto;
    transform: translate(-50%, -50%);
  }
  .cg-coupon-ticket__divider::before { left: -24px; }
  .cg-coupon-ticket__divider::after  { left: auto; right: -24px; transform: translate(50%, -50%); }

  .cg-coupon-ticket__right {
    padding: 14px 18px 18px;
    text-align: center;
    align-items: stretch;
    border-radius: 0 0 14px 14px;
  }
  .cg-coupon-ticket__code { text-align: center; font-size: 19px; }
  .cg-coupon-meta li { font-size: 12.5px; }
}

/* ============================================================================
   Very narrow phones — keep things readable
   ========================================================================== */
@media (max-width: 380px) {
  .popup-card--success .popup-body { padding: 22px 16px !important; }
  .cg-coupon-ticket__value { font-size: 30px; }
  .cg-coupon-ticket__code { font-size: 17px; padding: 8px; }
}

/* ============================================================================
   DTF-SERVICE-VIDEO-EDITS-V1 — fixes from the user's mobile walkthrough video.
   ========================================================================== */

/* 5. Calculator breakdown: 2x2 grid so it does not waste vertical space. */
.dtf-calc-bd-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px !important;
}
.dtf-calc-bd-grid .row {
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 10px;
  background: rgba(255,255,255,.04);
  border-radius: 8px;
  border-bottom: 0 !important;
  gap: 2px;
}
.dtf-calc-bd-grid .row > span { font-size: 11px; }
.dtf-calc-bd-grid .row > b { font-size: 14px; }
@media (max-width: 380px) {
  .dtf-calc-bd-grid { grid-template-columns: 1fr; }
}

/* 2 + 8. Hero image: show the WHOLE image (contain instead of cover) and
   reduce the mobile aspect ratio so the photo doesn't dominate the screen. */
.dtf-hero-visual {
  aspect-ratio: 4/5;
}
.dtf-hero-visual img {
  object-fit: contain !important;
  background: linear-gradient(135deg, #ffffff, #f5f5fa);
  padding: 8px;
}
@media (max-width: 800px) {
  .dtf-hero-visual {
    aspect-ratio: 4/3;     /* less tall on mobile */
    max-height: 360px;
  }
  .dtf-hero-visual img {
    padding: 8px;
  }
  .dtf-floating-badge { font-size: 11px; padding: 7px 10px; }
}


/* ============================================================================
   FOOTER-MOBILE-COMPACT-V1 — collapsible accordions on mobile so the footer
   doesn't span 8 screen-heights. Desktop unchanged (forced open, no chevron).
   ========================================================================== */
.footer details.footer-section { padding: 0; margin: 0; }
.footer details.footer-section > summary {
  list-style: none;
  cursor: default;          /* not interactive on desktop */
}
.footer details.footer-section > summary::-webkit-details-marker { display: none; }
.footer details.footer-section > summary::marker { content: ""; }
.footer details.footer-section > summary > h5 {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: inline-block;
}

@media (max-width: 540px) {
  .footer .container { padding-left: 18px; padding-right: 18px; }
  .footer-grid { gap: 0 !important; }

  /* Brand block: tighten + drop description font to save vertical space */
  .footer-grid > div:first-of-type {
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .footer-grid > div:first-of-type > p {
    font-size: 12px !important;
    line-height: 1.55;
    margin-top: 10px !important;
  }

  /* Each accordion section becomes its own bordered row */
  .footer details.footer-section {
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .footer details.footer-section > summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .footer details.footer-section > summary > h5 {
    margin: 0 !important;
    font-size: 15px;
  }
  .footer details.footer-section > summary::after {
    content: "+";
    font-size: 24px;
    font-weight: 300;
    color: rgba(255,255,255,.7);
    line-height: 1;
    padding-right: 4px;
    transition: transform .2s;
  }
  .footer details.footer-section[open] > summary::after {
    content: "−";
  }
  .footer details.footer-section > a {
    padding: 6px 0 6px 4px;
    font-size: 13px;
  }
  .footer details.footer-section[open] {
    padding-bottom: 12px;
  }
  /* Contact section (the last <div>) — keep visible but tighten */
  .footer-grid > div:last-of-type {
    padding: 14px 0 4px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .footer-bottom {
    font-size: 11px !important;
    padding-top: 14px !important;
    margin-top: 14px !important;
    gap: 6px;
  }
}


/* DTF-SERVICE-VIDEO-EDITS-V2 — replace flaky rotator with solid readable accent. */
.dtf-h1 .dtf-h1-accent {
  display: inline-block;
  background: linear-gradient(135deg, #FF3D57, #FFD23F);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Fallback colour for browsers that ignore background-clip:text */
  color: #FFD23F;
  font-weight: 900;
}


/* FLOATING-CTA-V1 */
.floating-cta {
  position: fixed;
  left: 16px;
  bottom: 24px;
  z-index: 95;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--grad-cta);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 28px rgba(255, 61, 87, 0.42);
  transition: transform .15s ease, box-shadow .15s ease;
  max-width: calc(100vw - 32px);
  white-space: nowrap;
}
.floating-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255, 61, 87, 0.52); color:#fff; }
.floating-cta .fc-icon, .floating-cta .fc-arrow { display: inline-flex; align-items: center; }
.floating-cta .fc-arrow { opacity: .9; }
@media (max-width: 900px) {
  /* sit above mobile sticky-bar (68px tall) with a 12px gap */
  .floating-cta { bottom: 80px; font-size: 13px; padding: 10px 14px; left: 12px; }
  .floating-cta[data-show-mobile="true"] { display: inline-flex; }
}
@media (min-width: 901px) {
  .floating-cta[data-show-desktop="true"] { display: inline-flex; }
}
/* END FLOATING-CTA-V1 */


/* DTF-STATS-MOBILE-ROW-V1 */
@media (max-width: 700px) {
  .dtf-band-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
  }
  .dtf-band-num {
    font-size: clamp(20px, 5.5vw, 28px) !important;
    line-height: 1.1;
  }
  .dtf-band-grid > div > div:last-child {
    font-size: 10px !important;
    margin-top: 2px !important;
    line-height: 1.25;
  }
}
/* END DTF-STATS-MOBILE-ROW-V1 */


/* Mobile: product/description comparison tables fit one screen — no sideways scroll.
   Overrides inline min-width/font on DB-authored tables (e.g. ziggroll-v4 compatibility chart). */
@media (max-width: 600px) {
  #tab-content table, .pd-tab-content table, .rte-area table,
  .description table { min-width: 0 !important; width: 100% !important; font-size: 11.5px !important; }
  #tab-content table th, #tab-content table td,
  .pd-tab-content table th, .pd-tab-content table td,
  .rte-area table th, .rte-area table td,
  .description table th, .description table td { padding: 7px 6px !important; }
  #tab-content table th span, .pd-tab-content table th span,
  .rte-area table th span, .description table th span { font-size: 9.5px !important; }
}


/* Mobile: keep the checkout form inside the viewport. The grid item wrapping the steps
   blew out to its content min-width (was shifting content right + clipping). */
@media (max-width: 600px) {
  .checkout-layout, .checkout-layout > *, .checkout-step, .form-grid, .field { min-width: 0 !important; }
  .field input, .field select, .field textarea { width: 100% !important; max-width: 100% !important; }
}
