/* Mondovino — Premium Wine E-commerce Theme */
/* Design: white + wine red #b72935 + clean typography + breathing room */

/* ─── Google Fonts loaded in HTML head ─── */

/* ─── Reset & Base ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #333;
  line-height: 1.7;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #b72935; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #8a1a22; text-decoration: underline; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, Georgia, 'Times New Roman', serif;
  color: #1a1a1a;
  line-height: 1.3;
  font-weight: 500;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 20px; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 48px 0 16px; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); margin: 32px 0 12px; }
h4 { font-size: 1.15rem; margin: 20px 0 8px; font-weight: 600; }
p { margin-bottom: 16px; font-size: 1rem; }

/* ─── Layout ─── */
.rv-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ─── Header / Navigation ─── */
.rv-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}
.rv-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 68px;
}
.rv-logo {
  color: #b72935;
  text-decoration: none;
  font-family: Georgia, Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.rv-logo:hover { color: #b72935; opacity: 0.85; text-decoration: none; }
.rv-logo .logo-accent { color: #b72935; }

.rv-nav { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
.rv-nav-item { position: relative; }
.rv-nav-item > a {
  display: block;
  padding: 22px 16px;
  color: #444;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.rv-nav-item > a:hover {
  color: #b72935;
  text-decoration: none;
}
.rv-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.04);
  min-width: 220px;
  padding: 8px 0;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  transform: translateX(-50%) translateY(4px);
}
.rv-nav-item:hover .rv-dropdown {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.rv-dropdown a {
  display: block;
  padding: 10px 20px;
  color: #444;
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.rv-dropdown a:hover {
  background: #fdf2f3;
  color: #b72935;
  text-decoration: none;
}

/* Hamburger */
.rv-hamburger {
  display: none;
  background: none;
  border: none;
  color: #333;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  border-radius: 4px;
}
.rv-hamburger:hover { background: #f5f5f5; }

/* ─── Trust Bar ─── */
.rv-trust-bar {
  background: #f8f8f8;
  padding: 10px 0;
  text-align: center;
  font-size: 0.82rem;
  color: #555;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #eee;
}
.rv-trust-bar span { margin: 0 10px; font-weight: 600; color: #555; }

/* ─── Hero ─── */
.rv-hero {
  background: #2a0a0a;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42,10,10,0.82) 0%, rgba(42,10,10,0.7) 50%, rgba(42,10,10,0.85) 100%);
  pointer-events: none;
}
.rv-hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 12px;
  position: relative;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.rv-hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
  font-weight: 300;
  letter-spacing: 0.02em;
}
.rv-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 5px 18px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif, sans-serif;
}

/* ─── Main Content ─── */
.rv-main {
  padding: 56px 0 80px;
  min-height: 50vh;
}
.rv-content {
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 760px;
  margin: 0 auto;
}
.rv-content h1 { font-size: 2rem; margin: 2rem 0 1rem; color: #1a1a1a; border-bottom: 1px solid #eee; padding-bottom: 0.5rem; }
.rv-content h2 { font-size: 1.6rem; margin: 2rem 0 0.8rem; color: #1a1a1a; }
.rv-content h3 { font-size: 1.3rem; margin: 1.5rem 0 0.6rem; color: #1a1a1a; }
.rv-content p { margin-bottom: 1.2rem; color: #444; }
.rv-content a { color: #b72935; text-decoration: none; transition: color 0.2s; }
.rv-content a:hover { color: #8a1a22; text-decoration: underline; }
.rv-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 1.5rem 0; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.rv-content blockquote {
  border-left: 3px solid #b72935;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: #fdf2f3;
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: #666;
}
.rv-content ul, .rv-content ol { margin: 1rem 0 1.2rem 1.5rem; }
.rv-content li { margin-bottom: 0.5rem; }
.rv-content li::marker { color: #b72935; }
.rv-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.rv-content th, .rv-content td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #eee; }
.rv-content th { background: #f8f8f8; font-weight: 600; color: #1a1a1a; }
.rv-content hr { border: none; height: 1px; background: #eee; margin: 2rem 0; }

/* Page title */
.rv-page-title {
  font-family: Georgia, Georgia, serif;
  font-size: 2.4rem;
  color: #1a1a1a;
  font-weight: 500;
  margin-bottom: 1.5rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
  position: relative;
  padding-bottom: 16px;
}
.rv-page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: #b72935;
}

/* ─── Breadcrumb ─── */
.rv-breadcrumb {
  max-width: 760px;
  margin: 0 auto 1rem;
  font-size: 0.85rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
}
.rv-breadcrumb a { color: #b72935; text-decoration: none; font-weight: 500; }
.rv-breadcrumb a:hover { color: #8a1a22; text-decoration: underline; }
.rv-breadcrumb-sep { color: #ccc; font-size: 0.7rem; }

/* ─── Cards (Homepage) ─── */
.rv-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin: 40px 0;
}
.rv-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #eee;
  transition: box-shadow 0.3s ease, transform 0.25s ease;
  position: relative;
}
.rv-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 16px;
}
.rv-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.rv-card h3 {
  color: #1a1a1a;
  font-size: 1.35rem;
  margin: 0 0 10px;
  font-weight: 500;
  padding-left: 24px;
  padding-right: 24px;
}
.rv-card p {
  color: #555;
  font-size: 0.95rem;
  margin: 0 0 20px;
  line-height: 1.6;
  padding-left: 24px;
  padding-right: 24px;
}
.rv-card .rv-btn {
  margin-left: 24px;
  margin-bottom: 24px;
}

/* ─── CTA Buttons ─── */
.rv-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif, sans-serif;
}
.rv-btn-primary {
  background: #b72935;
  color: #fff !important;
}
.rv-btn-primary:hover {
  background: #8a1a22;
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(183,41,53,0.2);
}

/* ─── Footer ─── */
.rv-footer {
  background: #2d2d2d;
  color: rgba(255,255,255,0.6);
  padding: 56px 0 0;
}
.rv-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}
.rv-footer h4 {
  color: #ffffff;
  font-family: Georgia, Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.rv-footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  padding: 4px 0;
  transition: color 0.2s;
}
.rv-footer a:hover { color: #fff; text-decoration: none; }
.rv-footer p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 8px; }
.rv-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ─── Back to Top ─── */
.rv-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px;
  height: 42px;
  background: #b72935;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  z-index: 900;
  transition: all 0.3s ease;
}
.rv-top-btn.visible { opacity: 1; pointer-events: auto; }
.rv-top-btn:hover { background: #8a1a22; transform: translateY(-2px); }

/* ─── Wine-specific ─── */
.wine-accent { color: #b72935; }
.wine-badge {
  display: inline-block;
  background: #fdf2f3;
  color: #b72935;
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ─── Trust Features (Homepage) ─── */
.rv-trust-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 56px 0;
  padding: 40px 0;
  background: #f8f8f8;
  border-radius: 4px;
}
.rv-trust-feature {
  text-align: center;
  padding: 16px 12px;
}
.rv-trust-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.rv-trust-feature h4 {
  color: #1a1a1a;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0 0 6px;
}
.rv-trust-feature p {
  color: #555;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

/* ─── About Section (Homepage) ─── */
.rv-about {
  background: #ffffff;
  padding: 56px 0;
  margin: 48px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.rv-about-badge {
  display: inline-block;
  background: #fdf2f3;
  color: #b72935;
  padding: 4px 14px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif, sans-serif;
}
.rv-about h2 {
  color: #1a1a1a;
  margin: 0 0 24px;
  font-size: 1.8rem;
  font-weight: 400;
}
.rv-about p {
  color: #555;
  font-size: 1rem;
  line-height: 1.85;
  max-width: 800px;
}
.rv-about p:last-child {
  margin-bottom: 0;
}

/* ─── Blog Highlights (Homepage) ─── */
.rv-blog-highlights {
  margin: 48px 0 0;
  padding: 40px 0;
}
.rv-blog-highlights h2 {
  color: #1a1a1a;
  font-size: 1.5rem;
  margin: 0 0 24px;
  font-weight: 400;
}
.rv-blog-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rv-blog-highlights li {
  margin-bottom: 14px;
  padding-left: 20px;
  position: relative;
  font-size: 1rem;
}
.rv-blog-highlights li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: #b72935;
  font-weight: 400;
}
.rv-blog-highlights a {
  color: #b72935;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.rv-blog-highlights a:hover {
  color: #8a1a22;
  text-decoration: underline;
}

/* ─── 404 Page ─── */
.rv-404 { text-align: center; padding: 100px 0; }
.rv-404 h1 { font-size: 6rem; color: #b72935; margin-bottom: 12px; opacity: 0.12; border: none; }
.rv-404 p { font-size: 1.2rem; color: #555; margin-bottom: 32px; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .rv-header-inner { min-height: 56px; }
  .rv-hamburger { display: block; }
  .rv-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 8px 0;
    border-top: 1px solid #eee;
  }
  .rv-nav.open { display: flex; }
  .rv-nav-item > a { padding: 12px 24px; text-align: left; color: #444; }
  .rv-nav-item > a:hover { color: #b72935; }
  .rv-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    min-width: 0;
    background: #f8f8f8;
    border-radius: 0;
    padding: 0;
  }
  .rv-nav-item:hover .rv-dropdown { transform: none; }
  .rv-dropdown a { padding-left: 40px; color: #555; font-size: 0.85rem; }
  .rv-dropdown a:hover { background: #fdf2f3; color: #b72935; }
  .rv-hero { padding: 60px 0; }
  .rv-main { padding: 36px 0 48px; }
  .rv-cards { grid-template-columns: 1fr; }
  .rv-trust-features { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 24px 12px; }
  .rv-about { padding: 36px 0; margin: 36px 0; }
  .rv-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .rv-trust-bar { display: none; }
}

@media (max-width: 480px) {
  .rv-footer-grid { grid-template-columns: 1fr; }
  .rv-header-inner { padding: 0 16px; }
  .rv-container { padding: 0 16px; }
  .rv-trust-features { grid-template-columns: 1fr; }
}

@media print {
  .rv-header, .rv-footer, .rv-top-btn, .rv-hamburger, .rv-trust-bar { display: none; }
  .rv-main { padding: 0; }
  body { background: #fff; color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

.rv-footer-heading { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; color: #fff; }

.rv-footer-copy { text-align: center; padding: 20px 0; font-size: 0.85rem; color: #aaa; border-top: 1px solid #444; margin-top: 40px; }

.rv-trust-title { font-family: Georgia, serif; font-weight: 600; font-size: 1rem; color: #333; margin-bottom: 4px; }
