/* ============================================================================
   Frangello By — premium clean-minimal storefront theme
   Light, airy, editorial. Monochrome ink + warm sand accent. Inter throughout.
   All class names preserved from index.html + main.js (no DOM/JS changes).
   ========================================================================== */

:root {
  --bg:        #ffffff;
  --surface:   #f6f9fd;   /* cool off-white */
  --surface-2: #eef3fa;
  --line:      #e3e9f2;
  --line-soft: #eef2f8;
  --ink:       #0f1b2d;   /* deep brand navy-ink */
  --ink-soft:  #51607a;
  --muted:     #94a0b3;
  --brand:     #39B6FE;   /* Frangello brand blue */
  --accent:    #1583d4;   /* button fill — deeper blue for white-text contrast */
  --accent-hover: #0d6fc0;
  --gold:      #1583d4;   /* accent text / kickers / details (brand blue) */
  --gold-soft: #eaf6ff;   /* soft blue tint backgrounds */
  --sale:      #e0322b;   /* discount red */
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 1px 2px rgba(26,24,21,.04);
  --shadow-md: 0 18px 50px -20px rgba(26,24,21,.22);
  --ease:      cubic-bezier(.22,.61,.36,1);
  --container: 1240px;
}

/* ─── Reset & base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 104px;            /* clears fixed announcement + header */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.reveal-up { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
body.is-ready .reveal-up, .reveal-up.is-visible { opacity: 1; transform: none; }

/* Shared section header */
.section-header { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-kicker, .marketplace-kicker, .reward-banner-kicker, .conversion-badge, .brand-story-label, .testimonial-meta span {
  font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
.section-kicker { display: inline-block; color: var(--gold); margin-bottom: 16px; }
.section-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 600; letter-spacing: -.02em;
  line-height: 1.12; color: var(--ink);
}
.section-sub { margin-top: 18px; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }

/* Buttons */
.btn-hero, .btn-order, .reward-banner-btn, .conversion-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 15px;
  padding: 15px 28px; border-radius: 999px; border: 1px solid var(--accent);
  cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.btn-hero:hover, .btn-order:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(21,131,212,.55); }
.btn-hero svg { width: 17px; height: 17px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--ink);
  padding: 15px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; transition: border-color .25s, background .25s;
}
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }

/* ─── Announcement bar ───────────────────────────────────────────────────── */
.announcement-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 120; background: var(--ink); color: #fff; }
.announcement-inner { max-width: var(--container); margin: 0 auto; min-height: 38px; padding: 7px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.announcement-track { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.announcement-pill { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.announcement-text { font-size: 12.5px; font-weight: 400; color: rgba(255,255,255,.72); letter-spacing: .01em; }
.announcement-sep { color: rgba(255,255,255,.3); }
.announcement-link { flex-shrink: 0; font-size: 12px; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 1px; transition: opacity .2s; }
.announcement-link:hover { opacity: .7; }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.header { position: fixed; top: 38px; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.header-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; height: 66px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo-icon { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--brand), #0d8de8); color: #fff; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; letter-spacing: -.02em; box-shadow: 0 6px 16px -6px rgba(57,182,254,.6); }
.logo-icon.sm { width: 30px; height: 30px; font-size: 14px; border-radius: 9px; }
.logo-main { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -.02em; }
.logo-by { font-size: 9px; font-weight: 700; color: var(--gold); letter-spacing: .3em; text-transform: uppercase; display: block; margin-top: -2px; }
.header-nav { display: flex; gap: 30px; margin-left: auto; }
.header-nav a { font-size: 14px; font-weight: 500; color: var(--ink-soft); position: relative; transition: color .2s; }
.header-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.header-nav a:hover { color: var(--ink); }
.header-nav a:hover::after { transform: scaleX(1); }
.header-right { display: flex; align-items: center; gap: 14px; }
.cod-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.cod-badge svg { width: 15px; height: 15px; color: var(--gold); }
.account-link { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; transition: border-color .2s, background .2s; }
.account-link:hover { border-color: var(--ink); background: var(--surface); }
.account-link.logged-in { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; background: var(--surface); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-bg, .hero-brand-film, .hero-glow-ring, .hero-glow-ring-2, .hero-dot-badge, .hero-visual { display: none; }  /* strip the busy decorations */
.hero-content { max-width: var(--container); margin: 0 auto; padding: 96px 24px 104px; }
.hero-copy { max-width: 760px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .02em; margin-bottom: 28px; }
.hero-title { font-size: clamp(40px, 6.5vw, 76px); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; color: var(--ink); }
.hero-title-accent { font-style: italic; font-weight: 500; color: var(--gold); }
.hero-sub { margin-top: 26px; font-size: clamp(16px, 2vw, 19px); line-height: 1.65; color: var(--ink-soft); max-width: 560px; }
.hero-signature { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hero-signature-line { width: 46px; height: 1px; background: var(--muted); }
.hero-features { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.hero-feat { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.hero-feat span { font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }

/* ─── Stats bar ──────────────────────────────────────────────────────────── */
.stats-bar { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 34px 12px; border-right: 1px solid var(--line); }
.stat-item:last-child { border-right: none; }
.stat-item strong { font-size: 30px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.stat-item span { font-size: 12.5px; font-weight: 500; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }

/* ─── Ticker (subtle) ────────────────────────────────────────────────────── */
.ticker-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.ticker-track { display: flex; align-items: center; gap: 26px; white-space: nowrap; padding: 16px 0; animation: ticker 38s linear infinite; }
.ticker-track span { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ticker-track .sep { color: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ─── Reward banner ──────────────────────────────────────────────────────── */
.reward-banner { padding: 40px 0 0; }
.reward-banner-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 36px 40px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.reward-banner-kicker { color: var(--gold); }
.reward-banner-copy h2 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin: 12px 0 10px; }
.reward-banner-copy p { color: rgba(255,255,255,.72); max-width: 460px; font-size: 15px; }
.reward-banner-side { display: flex; align-items: center; gap: 20px; }
.reward-banner-code { display: flex; flex-direction: column; gap: 3px; }
.reward-banner-code span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.reward-banner-code strong { font-size: 22px; font-weight: 700; letter-spacing: .04em; }
.reward-banner-btn { background: #fff; color: var(--ink); border-color: #fff; }
.reward-banner-btn:hover { background: var(--gold-soft); }

/* ─── Marketplace / value section ────────────────────────────────────────── */
.marketplace-section { padding: 100px 0; }
.marketplace-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-auto-rows: 1fr; gap: 20px; }
.marketplace-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--bg); transition: border-color .3s, transform .3s var(--ease); }
.marketplace-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.marketplace-card.featured { grid-row: span 2; background: var(--surface); display: flex; flex-direction: column; }
.marketplace-kicker { color: var(--gold); }
.marketplace-card.featured h2 { font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1.18; margin: 16px 0 14px; }
.marketplace-card.featured p { color: var(--ink-soft); font-size: 15.5px; }
.marketplace-points { margin-top: auto; padding-top: 26px; display: grid; gap: 12px; }
.marketplace-points div { position: relative; padding-left: 26px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.marketplace-points div::before { content: ''; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--gold); }
.marketplace-icon { font-size: 26px; display: block; margin-bottom: 16px; }
.marketplace-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.marketplace-card p { color: var(--ink-soft); font-size: 14.5px; }

/* ─── Collections / products ─────────────────────────────────────────────── */
.collections-section { padding: 40px 0 110px; }
.collections-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 48px; }
.col-tab { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: all .2s var(--ease); }
.col-tab:hover { border-color: var(--ink); color: var(--ink); }
.col-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.product-card { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; opacity: 0; transform: translateY(16px); animation: cardIn .6s var(--ease) forwards; transition: border-color .3s, box-shadow .35s var(--ease), transform .35s var(--ease); }
@keyframes cardIn { to { opacity: 1; transform: none; } }
.product-card:hover { border-color: var(--line); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.product-img-wrap { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--surface-2); overflow: hidden; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 16px; background: linear-gradient(to top, rgba(26,24,21,.35), transparent 55%); opacity: 0; transition: opacity .3s; }
.product-card:hover .product-overlay { opacity: 1; }
.product-overlay-btn { background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 600; padding: 9px 16px; border-radius: 999px; box-shadow: var(--shadow); }
.product-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 11px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: #fff; }
.badge-hit, .badge-new, .badge-sale, .badge-top { background: var(--ink); color: #fff; }
.badge-sale { background: var(--sale); }
.product-favorite-btn { position: absolute; top: 10px; right: 10px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); color: var(--ink-soft); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow); transition: transform .2s, color .2s; }
.product-favorite-btn svg { width: 17px; height: 17px; }
.product-favorite-btn:hover { transform: scale(1.1); }
.product-favorite-btn.active { color: var(--sale); }
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.4; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-desc { margin-top: 7px; font-size: 13px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-variants-hint { margin-top: 10px; font-size: 12px; color: var(--ink-soft); }
.product-prices { display: flex; align-items: baseline; gap: 9px; margin: 16px 0 16px; }
.product-price { font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.product-old-price { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.product-discount { font-size: 11px; font-weight: 700; color: var(--sale); background: #f7eae7; padding: 2px 8px; border-radius: 999px; }
.btn-order { margin-top: auto; width: 100%; padding: 13px; font-size: 14px; }
.product-reward-note { margin-bottom: 12px; font-size: 12.5px; font-weight: 600; color: var(--gold); }
.product-card.reward-ready { border-color: var(--gold); }

/* Skeleton loaders */
.skeleton-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, var(--line-soft) 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.skeleton-img { aspect-ratio: 1/1; }
.skeleton-body { padding: 20px; display: grid; gap: 12px; }
.skeleton-line { height: 13px; border-radius: 6px; }
.skeleton-line.short { width: 55%; }
.skeleton-btn { height: 44px; border-radius: 999px; margin-top: 6px; }
.no-products { text-align: center; padding: 60px 0; color: var(--muted); }
.no-products span { font-size: 38px; display: block; margin-bottom: 12px; }

/* ─── Journey ────────────────────────────────────────────────────────────── */
.journey-section { padding: 100px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.journey-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .3s var(--ease); }
.journey-card:hover { transform: translateY(-3px); }
.journey-card span { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--gold); }
.journey-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin: 16px 0 8px; }
.journey-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ─── Testimonials ───────────────────────────────────────────────────────── */
.testimonials-section { padding: 100px 0; }
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 48px; }
.trust-pill { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.trust-pill strong { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.trust-pill span { font-size: 12.5px; color: var(--muted); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--bg); }
.testimonial-card.featured { background: var(--surface); }
.testimonial-rating { color: var(--gold); font-size: 15px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-text { font-size: 15px; line-height: 1.7; color: var(--ink); }
.testimonial-meta { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.testimonial-meta strong { font-size: 14px; font-weight: 600; }
.testimonial-meta span { color: var(--muted); letter-spacing: .04em; }
.conversion-banner { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 44px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.conversion-badge { display: inline-block; color: var(--gold); margin-bottom: 14px; }
.conversion-banner h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; max-width: 520px; line-height: 1.25; }
.conversion-banner p { margin-top: 10px; color: rgba(255,255,255,.7); max-width: 480px; font-size: 14.5px; }
.conversion-btn { background: #fff; color: var(--ink); border-color: #fff; }
.conversion-btn:hover { background: var(--gold-soft); }

/* ─── Why us ─────────────────────────────────────────────────────────────── */
.why-us { padding: 100px 0; background: var(--ink); }
.why-us .section-title { color: #fff !important; margin-bottom: 56px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 30px 26px; background: rgba(255,255,255,.02); transition: background .3s, transform .3s var(--ease); }
.why-card:hover { background: rgba(255,255,255,.05); transform: translateY(-3px); }
.why-icon { font-size: 26px; margin-bottom: 16px; }
.why-card h3 { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 9px; }
.why-card p { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.62); }

/* ─── Brand story ────────────────────────────────────────────────────────── */
.brand-story-section { padding: 100px 0; }
.brand-story-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.brand-story-head .section-title { font-size: clamp(26px, 3.4vw, 38px); margin-top: 16px; }
.brand-proof-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 48px; }
.brand-proof-pill { display: flex; flex-direction: column; gap: 3px; padding: 16px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-width: 200px; }
.brand-proof-pill strong { font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.brand-proof-pill span { font-size: 13px; color: var(--muted); }
.brand-story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.brand-story-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); display: flex; flex-direction: column; }
.brand-story-visual { aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.brand-story-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.brand-story-card:hover .brand-story-visual img { transform: scale(1.04); }
.brand-story-copy { padding: 30px; }
.brand-story-label { display: inline-block; color: var(--gold); margin-bottom: 12px; }
.brand-story-copy h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; margin-bottom: 10px; }
.brand-story-copy p { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }
.brand-story-card.accent, .story-quote-card { background: var(--ink); color: #fff; justify-content: center; }
.story-quote-card .brand-story-copy h3 { color: #fff; }
.story-quote-card .brand-story-copy p { color: rgba(255,255,255,.7); }
.brand-story-points { margin-top: 22px; display: grid; gap: 11px; }
.brand-story-points div { position: relative; padding-left: 24px; font-size: 14px; color: rgba(255,255,255,.85); }
.brand-story-points div::before { content: ''; position: absolute; left: 0; top: 7px; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--gold); }

/* ─── Delivery ───────────────────────────────────────────────────────────── */
.delivery-section { padding: 100px 0; background: var(--surface); border-top: 1px solid var(--line); }
.delivery-shell { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.delivery-copy .section-title { font-size: clamp(26px, 3.2vw, 36px); margin-top: 14px; }
.delivery-points { margin-top: 26px; display: grid; gap: 12px; }
.delivery-points div { position: relative; padding-left: 26px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.delivery-points div::before { content: ''; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--gold); }
.delivery-grid { display: grid; gap: 18px; }
.delivery-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--bg); }
.delivery-card-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.delivery-logo { display: flex; align-items: center; gap: 13px; }
.delivery-logo-image { width: 40px; height: 40px; object-fit: contain; border-radius: 9px; }
.delivery-logo-fallback { display: none; width: 40px; height: 40px; border-radius: 9px; background: var(--ink); color: #fff; align-items: center; justify-content: center; font-weight: 700; }
.delivery-logo strong { font-size: 15px; font-weight: 600; display: block; }
.delivery-logo span { font-size: 12.5px; color: var(--muted); }
.delivery-badge { flex-shrink: 0; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--gold); padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; }
.delivery-card p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer { background: var(--ink); color: #fff; padding: 70px 0 40px; text-align: center; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-text { color: rgba(255,255,255,.6); font-size: 14px; }
.footer-requisites { margin: 28px auto; max-width: 520px; padding: 22px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); }
.footer-requisites p { font-size: 13px; color: rgba(255,255,255,.62); line-height: 1.7; }
.footer-requisites strong { color: #fff; }
.footer-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-bottom: 24px; }
.footer-legal-links a { font-size: 13px; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-legal-links a:hover { color: #fff; }
.footer-copy { font-size: 12.5px; color: rgba(255,255,255,.4); }

/* ─── Toast & WhatsApp float ─────────────────────────────────────────────── */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(120%); z-index: 300; background: var(--ink); color: #fff; padding: 14px 24px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-md); opacity: 0; transition: transform .4s var(--ease), opacity .4s; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 56px; height: 56px; border-radius: 50%; background: #1fae54; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -8px rgba(31,174,84,.6); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }

/* Accent on dark (ink) sections → lighter brand blue for contrast */
.reward-banner-kicker, .conversion-badge, .story-quote-card .brand-story-label { color: #7fc8ff; }
.brand-story-points div::before { border-color: #7fc8ff; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .marketplace-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .marketplace-card.featured { grid-column: span 2; grid-row: auto; }
  .journey-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-shell { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  body { padding-top: 90px; }
  .container { padding: 0 18px; }
  .header-inner { height: 58px; gap: 12px; }
  .header-nav, .cod-badge { display: none; }
  .announcement-inner { padding: 6px 18px; min-height: 34px; }
  .announcement-text, .announcement-sep { display: none; }

  /* Hero */
  .hero-content { padding: 44px 18px 52px; }
  .hero-badge { margin-bottom: 16px; font-size: 11.5px; padding: 6px 13px; }
  .hero-title { font-size: clamp(27px, 7.6vw, 38px); letter-spacing: -.02em; line-height: 1.1; overflow-wrap: break-word; }
  .hero-sub { margin-top: 14px; font-size: 14.5px; line-height: 1.6; }
  .hero-signature { margin-top: 22px; }
  .hero-features { gap: 12px 22px; margin-top: 24px; }
  .hero-actions { margin-top: 30px; flex-direction: column; align-items: stretch; }
  .btn-hero, .btn-ghost { width: 100%; }

  /* Headings + section rhythm */
  .section-title { font-size: clamp(24px, 7vw, 32px); overflow-wrap: break-word; }
  .section-sub { font-size: 15px; }
  .section-header { margin-bottom: 34px; }
  .marketplace-section, .testimonials-section, .why-us, .brand-story-section, .delivery-section, .journey-section { padding: 58px 0; }
  .collections-section { padding: 22px 0 64px; }

  /* Stack every multi-card grid (products stay 2-up) */
  .marketplace-grid, .journey-grid, .why-grid, .testimonials-grid, .brand-story-grid { grid-template-columns: 1fr; }
  .marketplace-grid { grid-auto-rows: auto; }            /* stop cards stretching to equal height */
  .marketplace-card.featured { grid-column: auto; grid-row: auto; }
  .marketplace-card { min-height: 0; }
  .marketplace-card, .journey-card, .why-card, .testimonial-card { padding: 22px; }
  .brand-story-copy { padding: 24px; }
  /* Tighten oversized in-card text on phones */
  .section-title { font-size: clamp(22px, 6.4vw, 28px); line-height: 1.18; }
  .section-sub { font-size: 14px; margin-top: 12px; }
  .marketplace-card.featured h2 { font-size: 21px; line-height: 1.22; margin: 12px 0 10px; }
  .marketplace-card h3, .journey-card h3, .why-card h3, .brand-story-copy h3 { font-size: 17px; }
  .marketplace-card p, .marketplace-card.featured p, .journey-card p, .why-card p,
  .brand-story-copy p, .testimonial-text, .delivery-card p { font-size: 13.5px; line-height: 1.6; }
  .marketplace-points div, .delivery-points div { font-size: 13.5px; }
  .marketplace-points { padding-top: 18px; }
  .journey-card span { font-size: 12px; }
  .trust-pill strong { font-size: 21px; }
  .trust-pill span { font-size: 11.5px; }
  .reward-banner-copy h2, .conversion-banner h3 { font-size: 20px; line-height: 1.25; }
  .reward-banner-copy p, .conversion-banner p { font-size: 13.5px; }

  /* Products */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body { padding: 14px; }
  .product-name { font-size: 14px; }
  .product-desc { display: none; }
  .product-prices { margin: 12px 0; }
  .product-price { font-size: 17px; }
  .btn-order { padding: 12px; font-size: 13px; }
  .collections-tabs { gap: 8px; margin-bottom: 30px; }
  .col-tab { padding: 9px 15px; font-size: 12.5px; }

  /* Stats 2x2 */
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 24px 10px; }
  .stat-item strong { font-size: 25px; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--line); }

  /* Banners + delivery stack */
  .reward-banner-card, .conversion-banner { flex-direction: column; align-items: stretch; padding: 28px 22px; }
  .reward-banner-copy h2, .conversion-banner h3 { font-size: 22px; }
  .reward-banner-side { flex-direction: column; align-items: stretch; gap: 16px; }
  .reward-banner-btn, .conversion-btn { width: 100%; }
  .delivery-shell { grid-template-columns: 1fr; gap: 26px; }

  /* Trust / proof pills */
  .trust-strip, .brand-proof-strip { gap: 10px; }
  .trust-pill { flex: 1 1 42%; padding: 16px 14px; }
  .brand-proof-pill { flex: 1 1 100%; min-width: 0; }

  .footer { padding: 56px 0 36px; }
}
@media (max-width: 420px) {
  .announcement-link { display: none; }
  .announcement-track { justify-content: center; width: 100%; }
  .announcement-inner { justify-content: center; }
  .hero-title { font-size: 29px; }
  .hero-feat { font-size: 13.5px; }
  .trust-pill { flex-basis: 100%; }
}

/* ============================================================
   BRAND-BLUE TOP (logo match) — added 2026-06-02
   Top bar + header use the Frangello brand blue (#39B6FE) with
   a white wordmark, matching the logo. Override block.
   ============================================================ */
.announcement-bar { background: var(--brand) !important; }
.announcement-text { color: rgba(255,255,255,.92) !important; }
.announcement-sep  { color: rgba(255,255,255,.5) !important; }
.announcement-pill { background: rgba(255,255,255,.18) !important; }

.header { background: var(--brand) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-bottom: 1px solid rgba(255,255,255,.18) !important; }
.header.scrolled { border-bottom-color: rgba(255,255,255,.28) !important; box-shadow: 0 2px 14px -5px rgba(13,141,232,.55) !important; }

.header .logo-main { color: #fff !important; }
.header .logo-by   { color: rgba(255,255,255,.85) !important; }
.header .logo-icon { background: #fff !important; color: var(--brand) !important; box-shadow: 0 6px 16px -6px rgba(13,141,232,.55) !important; }

.header .header-nav a { color: rgba(255,255,255,.92) !important; }
.header .header-nav a:hover { color: #fff !important; }
.header .header-nav a::after { background: #fff !important; }

.header .cod-badge { color: #fff !important; border-color: rgba(255,255,255,.45) !important; background: rgba(255,255,255,.14) !important; }
.header .header-right a,
.header [data-customer-slot] a,
.header [data-customer-slot] button { color: #fff !important; }

/* ============================================================
   PRODUCT-PAGE HEADER BUTTONS + cleaner COD badge — 2026-06-02
   Styles the previously-unstyled .plp-header-* elements and the
   homepage COD badge to read cleanly on the brand-blue header.
   ============================================================ */
/* Homepage COD badge: plain white text, drop the cramped box */
.header .cod-badge { background: none !important; border: none !important; padding: 0 !important; color: #fff !important; }
.header .cod-badge svg { color: #fff !important; }

/* Product page header right side */
.plp-header-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }

/* "Оплата при получении" — clean white text + white icon, no box */
.plp-header-cod { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.92); white-space: nowrap; }
.plp-header-cod svg { width: 14px; height: 14px; color: #fff; }

/* "Заказать" — solid white pill with brand-blue text, pops on blue */
.plp-header-order-btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 20px; border-radius: 999px; background: #fff; color: var(--brand); font-size: 14px; font-weight: 800; letter-spacing: -.01em; text-decoration: none; box-shadow: 0 6px 16px -6px rgba(13,141,232,.5); transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.plp-header-order-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(13,141,232,.6); background: #f3fbff; }

/* Back arrow → white circle */
.plp-header-back { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; flex-shrink: 0; transition: background .2s ease; }
.plp-header-back:hover { background: rgba(255,255,255,.28); }

@media (max-width: 560px){ .plp-header-cod { display: none; } }

/* === Real SVG logo + guaranteed-white COD text — 2026-06-02 === */
.header .logo { gap: 0 !important; }
.logo-img { height: 30px; width: auto; display: block; }
@media (max-width:560px){ .logo-img { height: 26px; } }
.header .cod-badge, .header .plp-header-cod { color: #fff !important; }
.header .cod-badge svg, .header .plp-header-cod svg { color: #fff !important; }
