/* ==========================================================================
   РИБА І ВЕСЛО (Харків) — Premium Clean E-Commerce Stylesheet
   ========================================================================== */

:root {
  --brand-navy: #0e1e32;
  --brand-navy-dark: #07111e;
  --brand-navy-light: #162f4d;
  --brand-accent: #c49a45;
  --brand-accent-ink: #8a6a1f;   /* gold darkened for text on light bg — 5.05:1 (WCAG AA) */
  --brand-gold-light: #f3cf7a;
  --brand-red: #c92a2a;
  --brand-red-dark: #a61e1e;
  --brand-green: #2b8a3e;
  --brand-green-ink: #21713a;   /* green darkened for small text on white — 6.02:1 */
  --bg-main: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #1e293b;
  --text-body: #334155;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --shadow-card: 0 4px 16px rgba(14, 30, 50, 0.06);
  --shadow-hover: 0 12px 28px rgba(14, 30, 50, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', 'Cinzel', Georgia, 'Times New Roman', serif;
}

/* Self-hosted variable fonts — Latin + Cyrillic subset, no third-party request */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-var.woff2') format('woff2');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

/* Reset & Basics */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-anchor: none;
  /* The header is position:sticky, so #anchor jumps land underneath it.
     Values track the measured header height at each breakpoint. */
  scroll-padding-top: 96px;
}

@media (min-width: 768px) {
  html { scroll-padding-top: 76px; }
}

@media (min-width: 992px) {
  html { scroll-padding-top: 124px; }
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 74px; /* Space for mobile sticky footer */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Announcement Strip */
.announcement-bar {
  background: #991b1b;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 0;
  text-align: center;
  letter-spacing: 0.2px;
}

.announcement-bar .badge-sale {
  background: #ffffff;
  color: #991b1b;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  margin-right: 6px;
}

/* Header */
.main-header {
  background: var(--brand-navy);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 14px rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(196, 154, 69, 0.3);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 12px 20px;   /* keeps the container gutter: the shorthand above used to zero it out */
  min-width: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
}

.brand-logo .logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--brand-accent), #946f25);
  color: var(--brand-navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(196, 154, 69, 0.4);
}

.brand-logo .logo-title {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-logo .logo-tagline {
  font-size: 10.5px;
  color: var(--brand-gold-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  white-space: nowrap;
}

.site-nav {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: clamp(10px, 1.5vw, 26px);
}

@media (min-width: 992px) {
  .site-nav {
    display: flex;
  }
}

/* Between 992 and 1199 the row is tight: trim the pieces that can afford it. */
@media (min-width: 992px) and (max-width: 1199px) {
  .brand-logo .logo-tagline { display: none; }
  .brand-logo .logo-title { font-size: 18px; }
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 12.5px; }
  .phone-badge { font-size: 13px; }
  .btn-header-buy { padding: 8px 13px; font-size: 12.5px; }
}

.site-nav a {
  font-size: clamp(12.5px, 1.05vw, 14px);
  color: #cbd5e1;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--brand-gold-light);
}

.header-contacts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
}

.phone-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: clamp(13px, 1.05vw, 14.5px);
  font-weight: 700;
  white-space: nowrap;
}

.phone-badge:hover {
  color: var(--brand-gold-light);
}

.city-badge {
  font-size: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  color: #e2e8f0;
  white-space: nowrap;
  display: none;
}

@media (min-width: 640px) and (max-width: 991px) {
  .city-badge {
    display: inline-block;
  }
}

@media (min-width: 1300px) {
  .city-badge {
    display: inline-block;
  }
}

.btn-header-buy {
  display: none;
  background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-accent));
  color: var(--brand-navy-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(196, 154, 69, 0.3);
  transition: transform 0.2s;
}

@media (min-width: 768px) {
  .btn-header-buy {
    display: inline-block;
  }
}

.btn-header-buy:hover {
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-wrapper {
  background: linear-gradient(180deg, var(--brand-navy) 0%, #122842 100%);
  color: #ffffff;
  padding: 36px 0 54px;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-layout {
    grid-template-columns: 1.15fr 1fr;
    gap: 44px;
  }
}

.hero-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 154, 69, 0.18);
  border: 1px solid rgba(196, 154, 69, 0.4);
  color: var(--brand-gold-light);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-main-title {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 14px;
  color: #ffffff;
}

@media (min-width: 768px) {
  .hero-main-title {
    font-size: 40px;
  }
}

.hero-main-title .gold-accent {
  color: var(--brand-gold-light);
}

.hero-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 22px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.trust-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
}

/* Hero Interactive Order Box */
.hero-order-box {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.22);
  border: 1px solid var(--border-light);
}

.order-box-title {
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-navy);
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Daily Countdown */
.daily-timer {
  background: #f1f5f9;
  border-radius: var(--radius-md);
  padding: 10px;
  text-align: center;
  margin-bottom: 16px;
}

.daily-timer .timer-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 4px;
}

.timer-digits-flex {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.t-digit {
  background: var(--brand-navy);
  color: #ffffff;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  min-width: 48px;
  text-align: center;
}

.t-digit .num {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-gold-light);
  line-height: 1;
}

.t-digit .lbl {
  font-size: 9px;
  color: #94a3b8;
  margin-top: 2px;
}

/* Weight Selector */
.variant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.v-card {
  background: #f8fafc;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 4px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.v-card:hover {
  border-color: var(--brand-accent);
  background: #fffdf5;
}

.v-card.active {
  border-color: var(--brand-red);
  background: #fef2f2;
}

/* Keyboard focus ring — cards are role="radio" and reachable via Tab/arrows */
.v-card:focus-visible {
  outline: 3px solid var(--brand-navy);
  outline-offset: 2px;
}

.v-card .badge-hit {
  position: absolute;
  top: -8px;
  right: -2px;
  background: var(--brand-red);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}

.v-card .old-p {
  font-size: 11px;
  color: #5b6878;
  text-decoration: line-through;
  display: block;
}

.v-card .title-p {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-navy);
  display: block;
}

.v-card .new-p {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-red);
  display: block;
}

/* Price Calculation Summary */
.price-summary-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
  justify-content: space-around;
  align-items: center;
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px dashed var(--border-medium);
}

.p-col {
  text-align: center;
}

/* Keep the amount and its currency on one line — the three columns get tight
   enough at phone widths to orphan "грн" onto its own row. nowrap alone makes
   the bar unshrinkable and blows out 320px viewports, so let the bar wrap and
   step the big number down on the narrowest screens. */
.p-col .val {
  white-space: nowrap;
}

@media (max-width: 359px) {
  .p-col.current .val { font-size: 22px; }
  .p-col.current .curr { font-size: 13px; }
  .p-col.old .val { font-size: 14px; }
  .price-summary-bar { padding: 12px 8px; }
}

.p-col .caption {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.p-col.old .val {
  font-size: 16px;
  color: #5b6878;
  text-decoration: line-through;
  font-weight: 600;
}

.p-col.save .save-tag {
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  display: inline-block;
}

.p-col.current .val {
  font-size: 28px;
  font-weight: 900;
  color: var(--brand-red);
  line-height: 1;
}

.p-col.current .curr {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-red);
}

/* Action CTA Button */
.btn-cta-main {
  width: 100%;
  background: linear-gradient(135deg, #dc2626, var(--brand-red-dark));
  color: #ffffff;
  font-weight: 800;
  font-size: 17px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(201, 42, 42, 0.35);
}

.btn-cta-main:hover {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 42, 42, 0.45);
}

.stock-reminder {
  text-align: center;
  font-size: 12px;
  color: #475569;
  font-weight: 600;
  margin-top: 10px;
}

.stock-reminder b {
  color: var(--brand-red);
}

/* Hero Media */
.hero-media-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  border: 1px solid rgba(196, 154, 69, 0.3);
}

.hero-media-box picture { display: block; }

.hero-media-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-media-caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(7, 17, 30, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(196, 154, 69, 0.4);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

/* ==========================================================================
   Section Defaults
   ========================================================================== */
.section-block {
  padding: 56px 0;
}

@media (min-width: 992px) {
  .section-block {
    padding: 72px 0;
  }
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 38px;
}

.section-subtag {
  color: var(--brand-accent-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.section-maintitle {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.25;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .section-maintitle {
    font-size: 34px;
  }
}

.section-lead {
  font-size: 15px;
  color: #556172;
}

/* ==========================================================================
   4 Pillars / Honest Quality Grid
   ========================================================================== */
.grid-4col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4col {
    grid-template-columns: repeat(4, 1fr);
  }
}

.info-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-accent);
}

.info-icon {
  font-size: 30px;
  margin-bottom: 14px;
}

.info-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.info-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
}

/* ==========================================================================
   Boiling Water Test
   ========================================================================== */
.test-box-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 992px) {
  .test-box-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.test-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

.test-step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.step-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-point .point-ico {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-point h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 3px;
}

.step-point p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Catalog Cards
   ========================================================================== */
.catalog-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .catalog-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .catalog-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.c-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.c-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-accent);
}

.c-photo {
  position: relative;
  background: #0f172a;
  text-align: center;
}

.c-photo img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.c-badge {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  background: var(--brand-accent);
  color: var(--brand-navy-dark);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.c-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.c-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 4px;
}

.c-sub {
  font-size: 11px;
  color: var(--brand-accent-ink);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.c-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.c-specs {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 12px;
  margin-bottom: 14px;
}

.c-spec-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
}

.c-spec-row:last-child {
  margin-bottom: 0;
}

.c-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.c-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-red);
}

.btn-c-order {
  background: var(--brand-navy);
  color: #ffffff;
  border: none;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-c-order:hover {
  background: var(--brand-accent);
  color: var(--brand-navy-dark);
}

/* ==========================================================================
   Specs Table
   ========================================================================== */
.specs-table-card {
  max-width: 780px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

.specs-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-light);
  font-size: 14.5px;
}

.specs-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.specs-row .k {
  font-weight: 700;
  color: var(--brand-navy);
  padding-right: 14px;
}

.specs-row .v {
  color: #2563eb;
  font-weight: 600;
  text-align: right;
}

/* Delivery banner — the source is a 1376x290 strip, so at phone widths it
   collapses to a ~73px sliver where the parcel is unreadable. Give it a floor
   and let object-fit crop the sides instead of the subject. */
.delivery-banner {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 768px) {
  .delivery-banner {
    height: auto;
    max-height: 400px;
  }
}

/* ==========================================================================
   Customer Reviews
   ========================================================================== */
.reviews-grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .reviews-grid-2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-item-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.review-item-card picture { display: block; }

.review-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.review-text-wrap {
  padding: 20px;
}

.review-author-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 6px;
}

/* Side by side only once the card is wide enough to hold both without
   breaking "• м. Харків" across lines. */
@media (min-width: 992px) {
  .review-author-line {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
}

.review-name {
  font-weight: 700;
  color: var(--brand-navy);
  font-size: 15px;
}

.review-loc {
  font-size: 12px;
  color: var(--text-muted);
}

.review-quote {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.55;
  margin-top: 8px;
  font-style: italic;
}

/* ==========================================================================
   How to Order & Delivery Steps
   ========================================================================== */
.steps-dark-bg {
  background: var(--brand-navy);
  color: #ffffff;
}

.steps-dark-bg .section-maintitle {
  color: #ffffff;
}

.steps-dark-bg .section-lead {
  color: #cbd5e1;
}

.step-card-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
}

.step-circ {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-accent));
  color: var(--brand-navy-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.step-card-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.step-card-box p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
}

/* ==========================================================================
   Order Form Checkout
   ========================================================================== */
.checkout-section {
  background: linear-gradient(180deg, var(--brand-navy) 0%, #081424 100%);
  color: #ffffff;
  padding: 50px 0 70px;
}

.checkout-box {
  max-width: 580px;
  margin: 0 auto;
  background: #ffffff;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  border: 2px solid var(--brand-accent);
}

.checkout-title {
  font-family: var(--font-serif);
  font-size: 22px;
  text-align: center;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 4px;
}

.checkout-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.form-fld {
  margin-bottom: 14px;
}

.form-fld label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 4px;
}

.input-control {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-medium);
  font-size: 15px;
  font-family: var(--font-sans);
  background-color: #f8fafc;
  transition: all 0.2s ease;
}

.input-control:focus {
  outline: none;
  border-color: #2563eb;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-error {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--brand-red);
  background: #fef2f2;
  color: #7f1d1d;
  font-size: 13.5px;
  line-height: 1.5;
}

.form-error[hidden] { display: none; }

.form-error a {
  color: var(--brand-red);
  font-weight: 700;
  white-space: nowrap;
}

/* Footer */
.site-footer-dark {
  background: var(--brand-navy-dark);
  color: #94a3b8;
  padding: 40px 0 24px;
  font-size: 13.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .footer-columns {
    grid-template-columns: 1.5fr 1.1fr 1fr 1fr;
  }
}

.footer-col h3 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-col a {
  color: #94a3b8;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--brand-gold-light);
}

.footer-copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

/* Sticky Mobile Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(7, 17, 30, 0.96);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-top: 1px solid rgba(196, 154, 69, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (min-width: 992px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.mobile-sticky-bar.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.btn-mobile-order {
  background: linear-gradient(135deg, #dc2626, var(--brand-red-dark));
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
}

@media (max-width: 560px) {
  .brand-logo .logo-tagline { font-size: 9.5px; letter-spacing: 0.6px; }
  .brand-logo .logo-title { font-size: 17px; }
  .brand-logo .logo-mark { width: 34px; height: 34px; font-size: 16px; }
  .brand-logo { gap: 9px; }
  .header-inner { gap: 8px 10px; padding: 10px 16px; }
  .phone-badge { font-size: 13px; }
}

@media (max-width: 400px) {
  .brand-logo .logo-tagline { display: none; }
  .brand-logo .logo-title { font-size: 16px; }
}

.c-photo {
  position: relative;
  background: #f8fafc;
  text-align: center;
  overflow: hidden;
}

.dynamic-jar {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  background: #f1ece4;
  overflow: hidden;
}

.dynamic-jar > picture,
.dynamic-jar > img {
  position: absolute;
  inset: 0;
  display: block;
}

.dynamic-jar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform 0.45s ease;
}

.c-item:hover .dynamic-jar img {
  transform: scale(1.035);
}

/* Product jar photos are pre-rendered with a single unified label design. */



/* ==========================================================================
   Success Modal  (JS toggles .active — without these rules it stayed on screen)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 17, 30, 0.72);
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
  animation: modal-fade 0.22s ease;
}

@keyframes modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(196, 154, 69, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  padding: 32px 26px 28px;
  text-align: center;
  animation: modal-rise 0.26s cubic-bezier(0.2, 0.8, 0.3, 1);
}

@keyframes modal-rise {
  from { transform: translateY(14px) scale(0.98); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.modal-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.modal-card p {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 20px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: var(--border-light);
  color: var(--text-dark);
}

.modal-icon-success {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #ffffff;
  background: linear-gradient(135deg, #37b24d, var(--brand-green));
  box-shadow: 0 6px 18px rgba(43, 138, 62, 0.35);
}


/* ==========================================================================
   Icon system  (single line set, inherits currentColor)
   ========================================================================== */
.ico {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.ico-b {
  position: relative;
  top: -1px;
  margin-right: 3px;
}

.ico-inline {
  display: inline-flex;
  color: var(--brand-accent);
}

.info-icon {
  color: var(--brand-accent-ink);
  line-height: 0;
}

.step-point .point-ico {
  line-height: 0;
  color: var(--brand-accent-ink);
}

.step-point:nth-child(2) .point-ico { color: #b45309; }
.step-point:nth-child(3) .point-ico { color: var(--text-muted); }

.brand-logo .logo-mark svg { display: block; }

/* --- language switcher --- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(196, 154, 69, 0.45);
  border-radius: var(--radius-pill);
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.lang-switch a {
  padding: 5px 9px;
  color: #cbd5e1;
  transition: background 0.2s, color 0.2s;
}

.lang-switch a[aria-current="true"] {
  background: var(--brand-accent);
  color: var(--brand-navy-dark);
}

.lang-switch a:not([aria-current="true"]):hover {
  background: rgba(196, 154, 69, 0.18);
  color: #ffffff;
}

/* --- breadcrumbs --- */
.crumbs {
  font-size: 12.5px;
  color: #5b6878;
  /* padding-block only — this element is also .container, and a padding
     shorthand here would zero out its 20px horizontal gutter. */
  padding-block: 14px 0;
}

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.crumbs a { color: var(--brand-accent-ink); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li[aria-current] { color: #5b6878; }
.crumbs .sep { opacity: 0.5; }

/* --- product page --- */
.pdp {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  /* padding-block only — see .crumbs above. */
  padding-block: 26px 8px;
}

@media (min-width: 900px) {
  .pdp { grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
}

.pdp-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #f1ece4;
}

.pdp-media picture, .pdp-media img { display: block; width: 100%; height: auto; }

.pdp h1 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 38px);
  color: var(--brand-navy);
  line-height: 1.15;
  margin-bottom: 10px;
}

.pdp-lead { font-size: 16px; color: var(--text-body); margin-bottom: 20px; }

.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 18px 0 6px;
}

.pdp-price { font-size: 34px; font-weight: 900; color: var(--brand-red); }
.pdp-price-note { font-size: 13px; color: #5b6878; }

.pdp-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #dc2626, var(--brand-red-dark));
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  margin-top: 14px;
  box-shadow: 0 6px 18px rgba(153, 27, 27, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pdp-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(153, 27, 27, 0.34); }

.pdp-facts {
  width: 100%;
  border-collapse: collapse;
  margin-top: 22px;
  font-size: 14px;
}

.pdp-facts th, .pdp-facts td {
  text-align: left;
  padding: 11px 2px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.pdp-facts th { font-weight: 500; color: #5b6878; width: 45%; }
.pdp-facts td { font-weight: 700; color: var(--brand-navy); }

.pdp-body { max-width: 760px; }
.pdp-body h2 { font-family: var(--font-serif); font-size: 23px; color: var(--brand-navy); margin: 30px 0 10px; }
.pdp-body h3 { font-size: 16px; font-weight: 700; color: var(--brand-navy); margin: 20px 0 6px; }
.pdp-body p { margin-bottom: 12px; color: var(--text-body); }
.pdp-body ul { margin: 0 0 14px 18px; color: var(--text-body); }
.pdp-body li { margin-bottom: 6px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}

@media (min-width: 760px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }

.related-card {
  display: block;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}

.related-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.related-card picture, .related-card img { display: block; width: 100%; height: auto; }
.related-card span {
  display: block;
  padding: 10px 12px 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-navy);
}

.c-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-accent-ink);
}

.c-more:hover { text-decoration: underline; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Touch targets: посилання у футері мають бути не менші за 24×24 з проміжком */
.footer-col p a {
  display: inline-block;
  padding: 5px 0;
  min-height: 24px;
}

.footer-col p {
  margin-bottom: 2px;
}

.chosen-note {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  margin-bottom: 14px;
  font-size: 13.5px;
  color: #6b4f10;
}

.chosen-note b { color: var(--brand-navy); }
