/* ==========================================================================
   Prostonel Kapsułki Polska (www.prostonel.com.pl)
   Mobile-First Responsive Stylesheet (v2 — Enhanced Mobile & Hero BG)
   ========================================================================== */

:root {
  --navy: #0B2A5B;
  --navy-dark: #071D42;
  --navy-soft: #EBF1F8;
  --green: #1F7A3E;
  --green-dark: #165E2E;
  --green-light: #E8F5EC;
  --teal: #1E4E68;
  --mint-bg: #F3F8F5;
  --surface: #FFFFFF;
  --surface-alt: #F8FAFC;
  --border: #D9E5DF;
  --border-strong: #BBD0C5;
  --text: #1E293B;
  --muted: #475569;
  --warn-bg: #FFF9F0;
  --warn-border: #D97706;
  --warn-text: #78350F;
  --danger-bg: #FEF2F2;
  --danger-text: #991B1B;
  --shadow-sm: 0 2px 8px rgba(11, 42, 91, 0.06);
  --shadow-md: 0 10px 28px rgba(11, 42, 91, 0.09);
  --shadow-lg: 0 18px 44px rgba(11, 42, 91, 0.15);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --max-w: 1180px;
  --font-sans: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  max-width: 100%;
  overflow-x: hidden;
  padding-bottom: 74px;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  z-index: 9999;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: 8px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}

/* Top Notice Bar */
.top-notice {
  background: var(--navy-dark);
  color: #DCE7F5;
  font-size: 12px;
  line-height: 1.45;
  padding: 8px 0;
  text-align: center;
}

.top-notice strong {
  color: #FFFFFF;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 64px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 155px;
}

.brand-logo img {
  height: 32px;
  width: auto;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 20px;
}

.desktop-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 6px 2px;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  min-height: 42px;
}

.cart-link-label {
  display: none;
}

.cart-link:hover {
  border-color: var(--green);
  background: var(--green-light);
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 14px 16px 20px;
  box-shadow: var(--shadow-md);
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-list a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--navy);
}

.mobile-nav-list a:hover {
  background: var(--mint-bg);
  color: var(--green);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--green);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(31, 122, 62, 0.24);
}

.btn-primary:hover {
  background: var(--green-dark);
  color: #FFFFFF;
}

.btn-secondary {
  background: var(--navy);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background: var(--navy-dark);
  color: #FFFFFF;
}

.btn-outline {
  background: var(--surface);
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy-soft);
  color: var(--navy-dark);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 12px 0;
  font-size: 13.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: #94A3B8;
}

.breadcrumbs a {
  color: var(--navy);
  font-weight: 600;
}

/* Sections & Typography */
.section {
  padding: 44px 0;
  scroll-margin-top: 76px;
}

#formularz-zamowienia {
  scroll-margin-top: 86px;
}

.form-card.is-highlighted {
  box-shadow: 0 0 0 4px rgba(31, 122, 62, 0.28), var(--shadow-lg);
}

.section-mint {
  background: var(--mint-bg);
}

.section-alt {
  background: var(--surface-alt);
}

.section-header {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.24;
  margin: 0 0 12px;
  font-weight: 800;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(1.5rem, 3.6vw, 2.25rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.38rem, 3.6vw, 2.05rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.12rem;
}

.lead {
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 20px;
}

/* ==========================================================================
   HERO SECTION — Prominent Promotional Background (bg.jpg) + Frosted Cards
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 44px;
  background-color: #E7F5EA;
  border-bottom: 1px solid var(--border);
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero-bg-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(242, 250, 244, 0.45) 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

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

.hero-grid > * {
  min-width: 0;
}

.hero-content-card {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-md);
}

.hero-checklist {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}

.check-icon {
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 2px;
}

.hero-price-box {
  margin-bottom: 18px;
}

.price-badge-img {
  width: 100%;
  max-width: 390px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-actions .btn {
  width: 100%;
}

.hero-meta-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bottle-showcase {
  width: 100%;
  max-width: 460px;
  background: radial-gradient(circle at 50% 42%, rgba(232, 245, 236, 0.95) 0%, rgba(255, 255, 255, 0.9) 68%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.bottle-showcase img.bottle-img {
  width: 255px;
  max-width: 82%;
  margin: 8px auto 18px;
  filter: drop-shadow(0 18px 28px rgba(11, 42, 91, 0.18));
}

.bottle-specs-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.spec-pill {
  background: rgba(243, 248, 245, 0.95);
  border-radius: 10px;
  padding: 7px 4px;
}

.spec-pill strong {
  display: block;
  font-size: 13px;
  color: var(--navy);
}

.spec-pill span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.25;
}

/* Grids & Cards */
.grid-2, .grid-3, .grid-4, .overview-grid, .order-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.grid-2 > *, .grid-3 > *, .grid-4 > *, .overview-grid > *, .order-grid > * {
  min-width: 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.card-mint {
  background: var(--mint-bg);
  border-color: var(--border-strong);
}

/* Consumer Notice Box (No SEO/YMYL jargon) */
.info-callout {
  background: var(--warn-bg);
  border: 1px solid #F3D19C;
  border-left: 5px solid var(--warn-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  color: var(--warn-text);
  font-size: 15px;
}

.info-callout strong {
  display: block;
  margin-bottom: 6px;
  color: #78350F;
}

/* Ingredients Cards — Refined Compact UI/UX with Studio Thumbnails */
.ingredient-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ingredient-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}

.ingredient-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ingredient-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--mint-bg);
  box-shadow: 0 3px 10px rgba(11, 42, 91, 0.08);
}

.ingredient-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ingredient-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.ingredient-meta h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.ingredient-dose-pill {
  display: inline-block;
  background: var(--navy-soft);
  color: var(--navy);
  font-weight: 800;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
}

.ingredient-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ==========================================================================
   MOBILE-RESPONSIVE INGREDIENTS TABLE (Stacked Cards on Mobile, Table on Desktop)
   ========================================================================== */
.table-wrap {
  width: 100%;
  margin-top: 26px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

/* Mobile-first stacked card table (< 768px) — ZERO horizontal overflow */
@media (max-width: 767px) {
  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tr {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
  }

  .data-table tr:last-child {
    margin-bottom: 0;
  }

  .data-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #EEF3F0;
    text-align: right;
  }

  .data-table td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .data-table td:first-child {
    padding-top: 0;
    font-weight: 800;
    color: var(--navy);
  }

  .data-table td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 13px;
    color: var(--muted);
    text-align: left;
    flex-shrink: 0;
    max-width: 46%;
  }
}

/* Desktop structured table (>= 768px) */
@media (min-width: 768px) {
  .table-wrap {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }

  .data-table th,
  .data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
  }

  .data-table thead th {
    background: var(--navy);
    color: #FFFFFF;
    font-weight: 700;
  }

  .data-table tbody tr:last-child td {
    border-bottom: none;
  }

  .data-table tbody tr:nth-child(even) {
    background: var(--surface-alt);
  }
}

/* Numbered Mechanism & Feature Cards */
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--navy);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 12px;
}

.step-num-green {
  background: var(--green);
}

/* Lists */
.clean-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.clean-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.bullet-dot {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  margin-top: 2px;
}

.bullet-good {
  background: var(--green-light);
  color: var(--green-dark);
}

.bullet-warn {
  background: #FEF3C7;
  color: #B45309;
}

/* Reviews */
.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.review-stars {
  color: #D97706;
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 700;
}

.review-rating-text {
  font-size: 13.5px;
  color: var(--muted);
  margin-left: 6px;
}

.review-quote {
  margin: 0;
  font-style: italic;
  color: var(--text);
}

.review-author {
  font-weight: 800;
  color: var(--navy);
  font-size: 15px;
}

.review-disclaimer {
  margin-top: 20px;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.pros-card {
  border-top: 4px solid var(--green);
}

.cons-card {
  border-top: 4px solid var(--warn-border);
}

/* Forms */
.form-card {
  background: var(--surface);
  border: 2px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  box-shadow: var(--shadow-lg);
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: #FFFFFF;
}

.form-control:focus {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 122, 62, 0.16);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  display: none;
  color: var(--danger-text);
  background: var(--danger-bg);
  border: 1px solid #FECACA;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 14px;
}

.form-error.is-visible {
  display: block;
}

.form-success {
  display: none;
  color: var(--green-dark);
  background: var(--green-light);
  border: 1px solid var(--border-strong);
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14.5px;
  margin-bottom: 14px;
}

.form-success.is-visible {
  display: block;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
}

/* FAQ Accordion */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.faq-trigger:hover {
  background: var(--mint-bg);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy-soft);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--green);
  color: #fff;
}

.faq-panel {
  display: none;
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 15px;
}

.faq-panel.is-open {
  display: block;
}

/* Quantity & Cart */
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border-strong);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.qty-btn {
  width: 40px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.qty-btn:hover {
  background: var(--mint-bg);
}

.qty-input {
  width: 44px;
  height: 44px;
  border: none;
  text-align: center;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.cart-item-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-item-thumb {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--mint-bg);
  border-radius: 12px;
  padding: 5px;
  flex-shrink: 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.summary-row.total {
  border-bottom: none;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  padding-top: 14px;
}

/* Toast Notification */
.toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 84px;
  z-index: 250;
  max-width: 380px;
  margin-left: auto;
  background: var(--navy-dark);
  color: #FFFFFF;
  padding: 13px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
}

.toast.is-visible {
  display: flex;
}

.toast a {
  color: #86EFAC;
  font-weight: 700;
  white-space: nowrap;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #CBD5E1;
  padding: 46px 0 32px;
  font-size: 14.5px;
}

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

.footer-logo-wrap {
  display: inline-block;
  background: #FFFFFF;
  padding: 8px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.footer-logo-wrap img {
  height: 32px;
  width: auto;
}

.site-footer h3 {
  color: #FFFFFF;
  font-size: 16px;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #CBD5E1;
}

.footer-links a:hover {
  color: #86EFAC;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
  font-size: 13px;
  color: #94A3B8;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Sticky Scroll-Down Footer CTA Bar — Mobile-safe */
.sticky-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -8px 26px rgba(11, 42, 91, 0.12);
  padding: 10px 0;
  transform: translateY(115%);
  transition: transform 0.25s ease;
}

.sticky-cta-bar.is-visible {
  transform: translateY(0);
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sticky-product-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sticky-product-mini img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.sticky-product-mini strong {
  display: block;
  font-size: 13.5px;
  color: var(--navy);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-product-mini span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-price-badge {
  height: 46px;
  width: auto;
  max-width: 225px;
  border-radius: 11px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(11, 42, 91, 0.22);
}

.sticky-bottle-thumb {
  display: none;
}

.sticky-title-wrap {
  display: none;
  min-width: 0;
}

.sticky-secondary-btn {
  display: none;
}

/* Legal Prose Pages */
.prose-card {
  max-width: 860px;
  margin: 0 auto;
}

.prose-card h2 {
  margin-top: 26px;
  font-size: 1.3rem;
}

.prose-card ul {
  padding-left: 20px;
}

.placeholder-tag {
  display: inline-block;
  background: #FEF3C7;
  color: #92400E;
  padding: 1px 7px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.92em;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (min-width: 480px) {
  .cart-link-label {
    display: inline;
  }
  .brand-logo img {
    height: 36px;
  }
  .hero-content-card {
    padding: 28px 24px;
  }
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-checklist {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-actions .btn {
    width: auto;
  }
  .sticky-secondary-btn {
    display: inline-flex;
  }
  .sticky-title-wrap {
    display: block;
  }
  .sticky-bottle-thumb {
    display: block;
  }
  .sticky-price-badge {
    height: 52px;
    max-width: 260px;
  }
  .cart-item-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
  .top-notice {
    font-size: 13px;
  }
  .section {
    padding: 68px 0;
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }
  .form-card {
    padding: 28px 24px;
  }
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
  .header-cta {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
  .hero {
    padding: 56px 0 70px;
  }
  .hero-bg-media img {
    object-position: center center;
  }
  .hero-bg-scrim {
    background: linear-gradient(95deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.34) 55%, rgba(242, 250, 244, 0.22) 100%);
  }
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 30px;
    align-items: stretch;
  }
  .hero-content-card {
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .bottle-showcase img.bottle-img {
    width: 310px;
  }
  .ingredient-thumb {
    width: 80px;
    height: 80px;
  }
  .overview-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
  }
  .order-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
