/* ============================================
   DISCOUNT KOSHER WINES — Main Stylesheet
   ============================================ */

:root {
  --burgundy:     #6B2737;
  --burgundy-dark:#4A1825;
  --burgundy-light:#8B3A4D;
  --gold:         #C9A84C;
  --gold-light:   #E8D08A;
  --cream:        #FFF8F0;
  --cream-dark:   #F5EDE0;
  --text:         #1A1A1A;
  --text-muted:   #6B6B6B;
  --white:        #FFFFFF;
  --border:       #E0D0C0;
  --success:      #2E7D32;
  --radius:       12px;
  --shadow:       0 4px 20px rgba(107,39,55,0.12);
  --shadow-hover: 0 8px 32px rgba(107,39,55,0.22);
  --transition:   all 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- HEADER ---- */
#site-header {
  background: var(--burgundy-dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.logo-icon { font-size: 2rem; }
.logo-text { display: flex; flex-direction: column; }
.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
}
.logo-sub { font-size: 0.65rem; color: rgba(255,255,255,0.65); }

.main-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
}
.main-nav a:hover {
  background: rgba(255,255,255,0.15);
  color: var(--gold-light);
}

.cart-btn {
  background: var(--gold);
  color: var(--burgundy-dark);
  border: none;
  border-radius: 24px;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.cart-btn:hover { background: var(--gold-light); transform: scale(1.04); }

.cart-count {
  background: var(--burgundy-dark);
  color: var(--white);
  border-radius: 50%;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 50%, #8B2E45 100%);
  color: var(--white);
  padding: 90px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content { position: relative; max-width: 780px; margin: 0 auto; }

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  margin-bottom: 16px;
  font-weight: 500;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 em {
  color: var(--gold-light);
  font-style: normal;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin: 0 auto 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-badges span {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--burgundy-dark);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 34px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.btn-primary.full-width { display: block; width: 100%; text-align: center; }

/* ---- NOTICE BAR ---- */
.notice-bar {
  background: var(--gold);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.88rem;
  color: var(--burgundy-dark);
  font-weight: 500;
}
.notice-bar a { font-weight: 700; color: var(--burgundy-dark); }

/* ---- SHOP LAYOUT ---- */
.shop-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 40px 24px;
  align-items: start;
}

/* ---- FILTERS SIDEBAR ---- */
.filters-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 88px;
}

.filters-sidebar h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--burgundy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cream-dark);
}

.filter-group { margin-bottom: 20px; }
.filter-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.filter-options { display: flex; flex-direction: column; gap: 4px; }

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 0.85rem;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  transition: var(--transition);
}
.filter-btn:hover { background: var(--cream-dark); border-color: var(--burgundy-light); }
.filter-btn.active {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.price-range { display: flex; flex-direction: column; gap: 6px; }
.price-range input[type="range"] {
  width: 100%;
  accent-color: var(--burgundy);
}
.price-range span { font-size: 0.85rem; color: var(--text-muted); }

#sort-select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--white);
  cursor: pointer;
}

.kosher-badge-sidebar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream-dark);
  border-radius: 10px;
  padding: 12px;
  margin-top: 16px;
}
.kosher-badge-sidebar p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }
.kosher-badge-sidebar strong { color: var(--burgundy); }

/* ---- PRODUCTS SECTION ---- */
.products-section { min-height: 600px; }

.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.products-header p { font-size: 0.9rem; color: var(--text-muted); }

.view-toggle { display: flex; gap: 4px; }
.view-btn {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.view-btn.active { background: var(--burgundy); color: var(--white); border-color: var(--burgundy); }

/* ---- PRODUCT GRID ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.product-grid.list-mode {
  grid-template-columns: 1fr;
}

/* ---- PRODUCT CARD ---- */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--burgundy);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
}
.product-badge.new { background: var(--success); }

.product-img-wrap {
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.product-img-wrap img.wine-photo {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  transition: transform 0.35s ease;
  background: var(--cream-dark);
}
.product-card:hover .product-img-wrap img.wine-photo { transform: scale(1.06); }

.product-emoji {
  font-size: 5rem;
  user-select: none;
}

/* ---- SCORE BADGE ---- */
.score-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(74, 24, 37, 0.90);
  color: var(--gold-light);
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  z-index: 2;
  letter-spacing: 0.01em;
}
.score-badge .score-num { font-size: 1rem; font-weight: 800; }
.score-badge .score-src {
  font-size: 0.52rem;
  font-weight: 500;
  opacity: 0.82;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-type-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--burgundy);
  margin-bottom: 4px;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.product-vintage {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-origin {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--burgundy);
}

.product-compare {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-savings {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--success);
  background: #e8f5e9;
  padding: 2px 7px;
  border-radius: 20px;
}

.product-kosher {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.add-to-cart {
  background: var(--burgundy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}
.add-to-cart:hover { background: var(--burgundy-dark); }
.add-to-cart:active { transform: scale(0.98); }
.add-to-cart.added {
  background: var(--success);
}

/* LIST MODE card */
.product-grid.list-mode .product-card {
  flex-direction: row;
  max-height: 160px;
}
.product-grid.list-mode .product-img-wrap {
  width: 120px;
  min-width: 120px;
  height: 160px;
}
.product-grid.list-mode .product-body {
  padding: 16px 20px;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.product-grid.list-mode .product-desc { display: none; }
.product-grid.list-mode .product-badge { top: 8px; left: 130px; }
.product-grid.list-mode .add-to-cart { width: auto; white-space: nowrap; }
.product-grid.list-mode .product-name { font-size: 1.05rem; }

/* ---- CART SIDEBAR ---- */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1100;
  display: none;
  backdrop-filter: blur(3px);
}
.cart-overlay.open { display: block; }

.cart-sidebar {
  position: fixed;
  top: 0; right: -420px;
  width: 420px;
  max-width: 95vw;
  height: 100vh;
  background: var(--white);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 30px rgba(0,0,0,0.18);
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cart-sidebar.open { right: 0; }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--burgundy-dark);
  color: var(--white);
}
.cart-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
}
.cart-close {
  background: none; border: none; color: var(--white);
  font-size: 1.2rem; cursor: pointer; padding: 4px;
  border-radius: 4px; transition: var(--transition);
}
.cart-close:hover { background: rgba(255,255,255,0.15); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.cart-empty { text-align: center; color: var(--text-muted); padding: 40px 0; font-size: 0.95rem; }

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.cart-item-emoji { font-size: 2.2rem; min-width: 44px; text-align: center; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 2px; }
.cart-item-vintage { font-size: 0.75rem; color: var(--text-muted); }
.cart-item-price { font-weight: 700; color: var(--burgundy); font-size: 0.95rem; margin-top: 4px; }
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.qty-btn {
  background: var(--cream-dark); border: 1px solid var(--border);
  border-radius: 6px; width: 26px; height: 26px;
  cursor: pointer; font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.qty-btn:hover { background: var(--burgundy); color: var(--white); border-color: var(--burgundy); }
.qty-display { font-weight: 600; min-width: 20px; text-align: center; }
.remove-item {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-size: 0.8rem; margin-left: auto;
  padding: 2px 6px; border-radius: 4px;
  transition: var(--transition);
}
.remove-item:hover { color: #c62828; background: #ffebee; }

.cart-footer {
  padding: 20px;
  border-top: 2px solid var(--border);
  background: var(--cream);
}
.cart-subtotal {
  display: flex; justify-content: space-between;
  font-size: 1.1rem; font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 8px;
}
.cart-note { font-size: 0.77rem; color: var(--text-muted); margin-bottom: 16px; }

/* ---- CHECKOUT MODAL ---- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1400;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 16px;
}

.checkout-modal {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 680px;
  padding: 40px;
  position: relative;
  margin: auto;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--cream-dark); border: none; border-radius: 50%;
  width: 32px; height: 32px; cursor: pointer;
  font-size: 1rem; transition: var(--transition);
}
.modal-close:hover { background: var(--border); }

.checkout-modal h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--burgundy);
  margin-bottom: 28px;
}

.form-section {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.form-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--burgundy);
  margin-bottom: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.form-group input, .form-group select {
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
}
.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(107,39,55,0.1);
}

.order-summary-box {
  background: var(--cream-dark);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
}
.order-summary-box h3 {
  font-family: 'Playfair Display', serif;
  color: var(--burgundy);
  margin-bottom: 14px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 4px 0;
  color: var(--text-muted);
}
.summary-line.total-line {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--burgundy);
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 6px;
}
.legal-note {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.5;
}

/* ---- CONFIRM MODAL ---- */
.confirm-modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  max-width: 480px;
  width: 100%;
  margin: auto;
}
.confirm-icon { font-size: 4rem; margin-bottom: 20px; }
.confirm-modal h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--burgundy);
  margin-bottom: 16px;
}
.confirm-modal p { color: var(--text-muted); margin-bottom: 12px; line-height: 1.7; }
.order-num { font-weight: 700; color: var(--burgundy); font-size: 1.05rem; margin-bottom: 28px !important; }

/* ---- FEATURES ---- */
.features-section {
  background: var(--burgundy-dark);
  padding: 60px 24px;
}
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.feature {
  text-align: center;
  color: rgba(255,255,255,0.88);
}
.feature-icon { font-size: 2.5rem; display: block; margin-bottom: 14px; }
.feature h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.feature p { font-size: 0.87rem; line-height: 1.65; }

/* ---- FOOTER ---- */
footer {
  background: #1A0A10;
  color: rgba(255,255,255,0.75);
  padding-top: 60px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}
footer h4 {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  margin-bottom: 16px;
  font-size: 1rem;
}
footer p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 6px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.65); transition: var(--transition); }
footer ul li a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 20px 24px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.4); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 220px 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .checkout-modal { padding: 24px 20px; }
  .product-grid.list-mode .product-card { flex-direction: column; max-height: none; }
  .product-grid.list-mode .product-img-wrap { width: 100%; height: 160px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 480px) {
  .logo-main { font-size: 1rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 60px 16px; }
}

/* ---- WINE DETAIL MODAL ---- */
.wine-detail-modal {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 820px;
  position: relative;
  margin: auto;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.wine-modal-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
}

.wine-modal-img-col {
  background: var(--cream-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px 20px;
  gap: 16px;
}

.wine-modal-img-wrap {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  position: relative;
}

.wine-modal-img-wrap img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.wine-modal-emoji {
  font-size: 7rem;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.wine-modal-score {
  background: var(--burgundy-dark);
  color: var(--gold-light);
  border-radius: 10px;
  padding: 10px 20px;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.wine-modal-score .score-num { font-size: 1.6rem; font-weight: 800; }
.wine-modal-score .score-src { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }

.wine-modal-info {
  padding: 36px 32px;
  overflow-y: auto;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wine-modal-badge-inline {
  position: static;
  display: inline-block;
  margin-bottom: 10px;
}

.wine-modal-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin: 6px 0 4px;
}

.wine-modal-vintage {
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.wine-modal-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.wine-modal-details {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.wine-modal-details td {
  padding: 6px 10px;
  font-size: 0.83rem;
  border-bottom: 1px solid var(--cream-dark);
  vertical-align: top;
}

.wine-modal-details td.detail-label {
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  width: 110px;
}

.wine-modal-pricing {
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.wine-modal-cart-btn {
  margin-top: auto;
}

@media (max-width: 640px) {
  .wine-modal-inner { grid-template-columns: 1fr; }
  .wine-modal-img-col { padding: 24px 20px 16px; }
  .wine-modal-img-wrap { min-height: 160px; }
  .wine-modal-img-wrap img { max-height: 180px; }
  .wine-modal-info { padding: 20px; max-height: none; }
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.product-card { animation: fadeInUp 0.4s ease both; }
