/* ==========================================================================
   MOGRERA — Estilos principales
   Estética: Hostelería, vino y regalos especiales
   Fondo solicitado: #e6d9c5 | Burdeos: #2c0711 / #4d0f20 | Dorado: #c79b3b
   ========================================================================== */

@font-face {
  font-family: 'Literata';
  src: url('../assets/fonts/Literata-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Literata';
  src: url('../assets/fonts/Literata-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Literata';
  src: url('../assets/fonts/Literata-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Literata';
  src: url('../assets/fonts/Literata-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Literata';
  src: url('../assets/fonts/Literata-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg-page: #e6d9c5;
  --bg-surface: #fbf7f0;
  --bg-surface-alt: #f3eadc;
  --burgundy-dark: #2c0711;
  --burgundy: #4d0f20;
  --burgundy-hover: #67172d;
  --gold: #c79b3b;
  --gold-light: #e2c574;
  --gold-soft: rgba(199, 155, 59, 0.22);
  --text-main: #221815;
  --text-muted: #5c4b43;
  --text-light: #f9f3e8;
  --border-subtle: rgba(44, 7, 17, 0.14);
  --border-strong: rgba(44, 7, 17, 0.26);
  --success: #1d6b43;
  --success-bg: #e7f6ee;
  --danger: #9e1c2b;
  --danger-bg: #fcebec;
  --shadow-sm: 0 4px 14px rgba(44, 7, 17, 0.07);
  --shadow-md: 0 12px 32px rgba(44, 7, 17, 0.11);
  --shadow-lg: 0 20px 50px rgba(44, 7, 17, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-serif: 'Literata', Georgia, 'Times New Roman', serif;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --container-max: 1200px;
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--burgundy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--burgundy-hover);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--burgundy-dark);
  line-height: 1.22;
  margin-top: 0;
}

h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--burgundy-dark);
  color: var(--gold-light);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

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

/* ==========================================================================
   TOP ANNOUNCEMENT BAR & HEADER
   ========================================================================== */
.top-bar {
  background: #1d040b;
  color: #f0e3cc;
  font-size: 0.84rem;
  text-align: center;
  padding: 7px 16px;
  border-bottom: 1px solid rgba(199, 155, 59, 0.25);
  letter-spacing: 0.01em;
}

.top-bar strong {
  color: var(--gold-light);
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--burgundy-dark);
  color: var(--text-light);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 4px 18px rgba(24, 3, 9, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-light);
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  border: 2px solid var(--gold);
  background: var(--burgundy-dark);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.brand-tagline {
  font-size: 0.76rem;
  color: #dfd0b8;
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background: rgba(199, 155, 59, 0.18);
  color: var(--gold-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f5d680;
  color: #1d040b;
  border: 2px solid #fff3cf;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  min-height: 44px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.cart-trigger:hover {
  background: #fff3cf;
  color: #1d040b;
  transform: translateY(-1px);
}

.cart-icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  color: #1d040b;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #1d040b;
  color: #fff3cf;
  font-size: 0.82rem;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(199, 155, 59, 0.45);
  border-radius: var(--radius-sm);
  color: var(--gold-light);
  cursor: pointer;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

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

.btn-primary {
  background: var(--burgundy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--burgundy-hover);
  color: #fff;
}

.btn-gold {
  background: var(--gold);
  color: var(--burgundy-dark);
  font-weight: 700;
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--burgundy-dark);
}

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}

.btn-outline:hover {
  background: var(--burgundy);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold);
}

.btn-outline-light:hover {
  background: var(--gold);
  color: var(--burgundy-dark);
}

.btn-sm {
  min-height: 38px;
  padding: 7px 14px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION (STOREFRONT)
   ========================================================================== */
.hero {
  padding: 40px 0 28px;
}

.hero-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--burgundy-dark) 0%, #430c1b 100%);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
}

.hero-content {
  padding: 36px 32px 26px;
  text-align: center;
}

.hero-emblem-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto 24px;
}

.hero-emblem {
  width: 90%;
  max-width: 720px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(226, 197, 116, 0.45);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  border: 1px solid rgba(226, 197, 116, 0.45);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero-content h1 {
  color: #fff8ec;
  margin-bottom: 14px;
}

.hero-lead {
  color: #ebdcca;
  font-size: 1.06rem;
  margin: 0 auto 24px;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  font-size: 0.86rem;
  color: #e6d5bc;
  padding-top: 16px;
  border-top: 1px solid rgba(226, 197, 116, 0.25);
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px 32px;
  position: relative;
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(226, 197, 116, 0.45);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  object-fit: contain;
}

/* ==========================================================================
   SECTION HEADINGS & CATALOG GRID
   ========================================================================== */
.section {
  padding: 42px 0;
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--burgundy);
  margin-bottom: 6px;
}

.section-subtitle {
  color: var(--text-muted);
  margin: 8px 0 0;
  font-size: 1.02rem;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  max-width: 860px;
  margin: 0 auto;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.product-card-top {
  padding: 18px 24px 0;
}

.product-badge-inline {
  display: inline-block;
  background: var(--burgundy-dark);
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(199, 155, 59, 0.5);
}

.product-media-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 24px 0;
}

.product-media-item {
  background: #f4ecdf;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-media-item img {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  display: block;
}

.product-media-video {
  background: #1b040a;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  display: flex;
  justify-content: center;
}

.product-media-video video {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 680px;
  display: block;
  margin: 0 auto;
  background: #1b040a;
}

.product-media-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-media-pair .product-media-item {
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-media-pair .product-media-item.is-selected-variant {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 2px var(--burgundy);
}

.product-media-pair .product-media-item img {
  width: 100%;
  height: auto;
  max-height: none;
}

.product-bottom-media {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-bottom-media .product-media-item {
  background: #fff;
}

.product-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.product-title {
  font-size: 1.32rem;
  margin-bottom: 8px;
}

.product-short {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 14px;
}

.product-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 5px;
  font-size: 0.88rem;
  color: var(--text-main);
}

.product-specs li::before {
  content: "✓ ";
  color: var(--burgundy);
  font-weight: 700;
}

/* Variant selector */
.variant-group {
  margin-bottom: 16px;
}

.variant-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--burgundy-dark);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.variant-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.variant-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 12px;
  background: var(--bg-surface-alt);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  color: var(--text-main);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.variant-btn.is-selected {
  background: #fff;
  border-color: var(--burgundy);
  box-shadow: inset 0 0 0 1px var(--burgundy);
}

.variant-btn-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--burgundy-dark);
}

.variant-btn-price {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.product-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.price-value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--burgundy-dark);
}

.price-tax {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.product-buy-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

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

.qty-btn {
  width: 36px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--burgundy-dark);
  cursor: pointer;
}

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

.qty-input {
  width: 44px;
  height: 44px;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  background: transparent;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-buy-row .btn-primary {
  flex: 1 1 auto;
}

.product-details-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--burgundy);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  align-self: flex-start;
}

/* ==========================================================================
   TRUST / VALUES STRIP & PROFESSIONALS BANNER
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.trust-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
  display: block;
}

.trust-card h3 {
  font-size: 1.04rem;
  margin-bottom: 6px;
}

.trust-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pro-banner {
  background: linear-gradient(135deg, var(--burgundy-dark) 0%, #521022 100%);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.pro-banner h2 {
  color: var(--gold-light);
  margin-bottom: 10px;
}

.pro-banner p {
  color: #eddcc4;
  margin: 0 0 20px;
}

.pro-banner img {
  border-radius: var(--radius-md);
  border: 2px solid var(--gold);
  width: 100%;
  object-fit: cover;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

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

.faq-item summary {
  padding: 18px 22px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--burgundy-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--burgundy);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-answer p {
  margin: 0;
}

/* ==========================================================================
   PROFESSIONALS PAGE & PRICING TABLES
   ========================================================================== */
.page-hero {
  background: var(--burgundy-dark);
  color: var(--text-light);
  padding: 42px 0;
  border-bottom: 2px solid var(--gold);
}

.page-hero h1 {
  color: var(--gold-light);
  margin-bottom: 10px;
}

.page-hero p {
  color: #eadbc6;
  margin: 0;
  max-width: 68ch;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.86rem;
  color: #d4c0a4;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--gold-light);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.tariff-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.tariff-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--burgundy);
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.tariff-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 18px;
  font-size: 0.95rem;
}

.tariff-table th,
.tariff-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.tariff-table th {
  background: var(--bg-surface-alt);
  color: var(--burgundy-dark);
  font-weight: 700;
}

.tariff-table td:last-child,
.tariff-table th:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--burgundy-dark);
}

.tariff-hint {
  margin: 16px 0 10px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--burgundy);
}

.tariff-options {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.tariff-option-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-surface-alt);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  color: var(--text-main);
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

.tariff-option-btn:hover {
  background: #fff;
  border-color: var(--burgundy);
  box-shadow: 0 4px 12px rgba(44, 7, 17, 0.1);
  transform: translateY(-1px);
}

.tariff-option-btn:active {
  transform: translateY(0);
}

.tariff-option-btn.is-added {
  background: var(--success-bg);
  border-color: var(--success);
}

.tariff-opt-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tariff-opt-qty {
  font-size: 0.98rem;
  color: var(--burgundy-dark);
}

.tariff-opt-total {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.tariff-opt-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.tariff-opt-unit {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--burgundy-dark);
}

.tariff-opt-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--burgundy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.tariff-option-btn:hover .tariff-opt-cta {
  background: var(--burgundy-hover);
}

.tariff-option-btn.is-added .tariff-opt-cta {
  background: var(--success);
}

/* ==========================================================================
   CONTACT & LEGAL PAGES
   ========================================================================== */
.content-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

.content-card h2 {
  font-size: 1.4rem;
  margin-top: 28px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card ul {
  padding-left: 22px;
}

.content-card li {
  margin-bottom: 6px;
}

.contact-box {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  box-shadow: var(--shadow-md);
}

.contact-email-display {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--burgundy);
  background: var(--bg-surface-alt);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  margin: 18px 0;
  word-break: break-all;
  text-decoration: none;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.contact-meta {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ==========================================================================
   CART PAGE & CHECKOUT
   ========================================================================== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.panel + .panel {
  margin-top: 22px;
}

.cart-list {
  display: grid;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item-img {
  width: 78px;
  height: 78px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.cart-item-title {
  font-weight: 700;
  color: var(--burgundy-dark);
  margin: 0 0 3px;
  font-size: 0.98rem;
}

.cart-item-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-subtotal {
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--burgundy-dark);
  text-align: right;
  white-space: nowrap;
}

.remove-item-btn {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
  text-decoration: underline;
}

.totals-box {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 2px solid var(--border-subtle);
  display: grid;
  gap: 8px;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.96rem;
}

.totals-row.is-grand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--burgundy-dark);
  padding-top: 10px;
  border-top: 1px solid var(--border-strong);
  margin-top: 4px;
}

/* Checkout Forms */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--burgundy-dark);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  color: var(--text-main);
}

.form-field textarea {
  min-height: 84px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(77, 15, 32, 0.12);
}

.mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.mode-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  background: var(--bg-surface-alt);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.mode-option.is-active {
  background: #fff;
  border-color: var(--burgundy);
  box-shadow: inset 0 0 0 1px var(--burgundy);
}

.mode-option input {
  margin-top: 3px;
  accent-color: var(--burgundy);
}

.mode-option strong {
  display: block;
  font-size: 0.94rem;
  color: var(--burgundy-dark);
}

.mode-option small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.invoice-section {
  margin-top: 16px;
  padding: 16px;
  background: var(--bg-surface-alt);
  border: 1px dashed var(--burgundy);
  border-radius: var(--radius-sm);
}

.payment-info-box {
  margin-top: 12px;
  padding: 15px 16px;
  background: var(--bg-surface-alt);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.payment-info-box p {
  margin: 4px 0;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 16px 0;
}

.checkbox-row input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--burgundy);
  flex-shrink: 0;
}

.alert {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.94rem;
}

.alert-success {
  background: var(--success-bg);
  border: 1px solid #8ad1ab;
  color: var(--success);
}

.alert-error {
  background: var(--danger-bg);
  border: 1px solid #e7a0a8;
  color: var(--danger);
}

.alert-info {
  background: #f5ecdc;
  border: 1px solid var(--gold);
  color: var(--burgundy-dark);
}

.confirmation-card {
  background: var(--bg-surface);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.ref-pill {
  display: inline-block;
  background: var(--burgundy-dark);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

.copy-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.copy-btn {
  background: var(--burgundy);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.copy-btn:hover {
  background: var(--burgundy-hover);
}

/* Honeypot hidden field */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   CART DRAWER & PRODUCT DETAIL MODAL
   ========================================================================== */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(25, 4, 10, 0.62);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 100vw);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-surface);
  z-index: 310;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--burgundy-dark);
  color: var(--gold-light);
  border-bottom: 2px solid var(--gold);
}

.drawer-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--gold-light);
}

.close-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.close-btn:hover {
  background: var(--gold);
  color: var(--burgundy-dark);
}

.drawer-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 20px;
}

.drawer-footer {
  padding: 18px 20px;
  background: var(--bg-surface-alt);
  border-top: 1px solid var(--border-subtle);
  display: grid;
  gap: 10px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  width: min(920px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  background: var(--burgundy-dark);
  color: var(--gold-light);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--gold-light);
}

.modal-content {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.modal-main-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #1d040b;
  border: 1px solid var(--border-subtle);
}

.modal-main-media img,
.modal-main-media video {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  margin: 0 auto;
}

.modal-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--burgundy-dark);
  color: var(--gold-light);
  border: 1.5px solid var(--gold);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  box-shadow: var(--shadow-lg);
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--burgundy-dark);
  color: #e6d8c3;
  border-top: 3px solid var(--gold);
  margin-top: 48px;
  padding: 46px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(226, 197, 116, 0.22);
}

.footer-title {
  font-family: var(--font-serif);
  color: var(--gold-light);
  font-size: 1.05rem;
  margin: 0 0 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
  font-size: 0.92rem;
}

.footer-links a {
  color: #e6d8c3;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  color: #c9b79f;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (100% RESPONSIVE)
   ========================================================================== */
@media (max-width: 980px) {
  .hero-card {
    grid-template-columns: 1fr;
  }
  .hero-content {
    padding: 26px 20px 20px;
  }
  .hero-emblem {
    width: 92%;
  }
  .hero-media {
    padding: 0 20px 24px;
  }
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pro-banner {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .modal-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #23050d;
    border-bottom: 2px solid var(--gold);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
    display: none;
  }
  .main-nav.is-open {
    display: flex;
  }
  .products-grid,
  .product-media-pair,
  .tariffs-grid,
  .form-grid,
  .mode-switch {
    grid-template-columns: 1fr;
  }
  .product-card-top {
    padding: 14px 16px 0;
  }
  .product-media-stack {
    padding: 12px 16px 0;
    gap: 12px;
  }
  .product-body {
    padding: 18px 16px 20px;
  }
  .brand-tagline {
    display: none;
  }
  .cart-trigger-label {
    display: none;
  }
  .content-card {
    padding: 24px 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .trust-grid,
  .variant-options {
    grid-template-columns: 1fr;
  }
  .cart-item {
    grid-template-columns: 64px 1fr;
  }
  .cart-item-subtotal {
    grid-column: 1 / -1;
    text-align: left;
  }
}
