/*
Theme Name: Raffinement Vitrine
Theme URI: https://raffinementvitrine.ma
Description: Thème e-commerce élégant pour boutique mode féminine. WooCommerce + WhatsApp + Paiement à la livraison. Marché marocain.
Version: 1.0.0
Author: Raffinement Vitrine
Author URI: https://raffinementvitrine.ma
Text Domain: raffinement-vitrine
Tags: woocommerce, fashion, elegant, mobile-first, arabic-ready
*/

/* ============================================
   GOOGLE FONTS
============================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ============================================
   CSS VARIABLES
============================================ */
:root {
  --pink: #D81B8A;
  --pink-hover: #B01570;
  --pink-light: #FDF0F7;
  --pink-border: #E8C0D8;
  --black: #1a1a1a;
  --grey-dark: #444;
  --grey-mid: #666;
  --grey-light: #999;
  --border: #E8DDD5;
  --cream: #FDF9F6;
  --cream-alt: #FAF0F5;
  --gold: #C8A882;
  --whatsapp: #25D366;
  --whatsapp-hover: #1FAD54;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', Arial, sans-serif;
  --radius: 0px;
  --transition: 0.25s ease;
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ============================================
   TYPOGRAPHY
============================================ */
.font-display, h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
p { line-height: 1.7; color: var(--grey-dark); }
.label-small {
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--pink);
}

/* ============================================
   LAYOUT
============================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding: 5rem 0; }

/* ============================================
   ANNOUNCEMENT BAR
============================================ */
#rv-announcement {
  background: var(--pink);
  color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  z-index: 101;
}

/* ============================================
   HEADER / NAVIGATION
============================================ */
#rv-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 249, 246, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.rv-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.rv-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 400;
}
.rv-logo span { color: var(--pink); }
.rv-nav-links { display: flex; gap: 2.5rem; align-items: center; }
.rv-nav-links a {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--grey-mid);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: all var(--transition);
}
.rv-nav-links a:hover,
.rv-nav-links a.active {
  color: var(--pink);
  border-bottom-color: var(--pink);
}
.rv-nav-actions { display: flex; align-items: center; gap: 1rem; }
.rv-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  transition: color var(--transition);
}
.rv-cart-btn:hover { color: var(--pink); }
.rv-cart-count {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--pink);
  color: white;
  font-size: 0.6rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.rv-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.rv-mobile-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--black);
  transition: all var(--transition);
}
.rv-mobile-menu {
  display: none;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--cream);
}
.rv-mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--black);
}
@media (max-width: 768px) {
  .rv-nav-links { display: none; }
  .rv-mobile-toggle { display: flex; }
  .rv-mobile-menu.open { display: block; }
}

/* ============================================
   HERO SECTION
============================================ */
.rv-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-alt) 50%, var(--cream) 100%);
}
.rv-hero-pattern {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, var(--pink) 0, var(--pink) 1px, transparent 0, transparent 50%);
  background-size: 20px 20px;
  opacity: 0.04;
}
.rv-hero-deco-circles {
  position: absolute;
  right: -5rem; top: 5rem;
  pointer-events: none;
}
.rv-hero-deco-circles::before,
.rv-hero-deco-circles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(216, 27, 138, 0.12);
}
.rv-hero-deco-circles::before { width: 380px; height: 380px; top: 0; right: 0; }
.rv-hero-deco-circles::after { width: 240px; height: 240px; top: 4rem; right: 4rem; border-color: rgba(216, 27, 138, 0.08); }
.rv-hero-swatches {
  position: absolute;
  right: 2rem; top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0.85;
}
.rv-hero-swatch {
  width: 80px; height: 110px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.rv-hero-swatch:nth-child(odd) { transform: rotate(-3deg); }
.rv-hero-swatch:nth-child(even) { transform: rotate(3deg); }
.rv-hero-content { position: relative; max-width: 520px; padding: 5rem 0; }
.rv-hero-content .label-small { margin-bottom: 1rem; }
.rv-hero-title { margin-bottom: 1.5rem; color: var(--black); }
.rv-hero-title em { color: var(--pink); font-style: normal; }
.rv-hero-desc { font-size: 1rem; margin-bottom: 2.5rem; max-width: 400px; color: var(--grey-mid); }
.rv-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 768px) {
  .rv-hero-swatches { display: none; }
  .rv-hero { min-height: 80vh; }
}

/* ============================================
   BUTTONS
============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--pink);
  color: white;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--font-body);
  transition: background var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--pink-hover); color: white; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: 1.5px solid var(--black);
  color: var(--black);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--font-body);
  transition: all var(--transition);
  background: none;
  cursor: pointer;
}
.btn-secondary:hover { background: var(--black); color: white; }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--whatsapp);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
  transition: background var(--transition);
  cursor: pointer;
  text-decoration: none;
  width: 100%;
}
.btn-whatsapp:hover { background: var(--whatsapp-hover); color: white; }

/* ============================================
   USP BAR
============================================ */
.rv-usp-bar {
  background: var(--black);
  color: white;
  padding: 1.25rem 0;
}
.rv-usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}
.rv-usp-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.rv-usp-icon { color: var(--pink); font-size: 1rem; }
.rv-usp-text p { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; color: white; }
.rv-usp-text small { font-size: 0.625rem; color: rgba(255,255,255,0.5); }
@media (max-width: 600px) {
  .rv-usp-grid { grid-template-columns: 1fr; }
}

/* ============================================
   SECTION HEADERS
============================================ */
.rv-section-header { margin-bottom: 3rem; }
.rv-section-header .label-small { margin-bottom: 0.5rem; }
.rv-section-header h2 { color: var(--black); }
.rv-section-header p { max-width: 500px; }
.rv-section-header.centered { text-align: center; }
.rv-section-header.centered p { margin: 0 auto; }

/* ============================================
   PRODUCT CARDS (WooCommerce)
============================================ */
.rv-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.rv-product-card { position: relative; }
.rv-product-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-bottom: 1rem;
}
.rv-product-thumb img,
.rv-product-thumb .rv-thumb-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.rv-product-card:hover .rv-product-thumb img { transform: scale(1.04); }
.rv-product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.rv-product-card:hover .rv-product-overlay { opacity: 1; }
.rv-product-overlay span {
  background: white;
  color: var(--black);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.6rem 1.25rem;
  font-weight: 500;
}
.rv-product-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  background: var(--pink);
  color: white;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  font-weight: 600;
  z-index: 1;
}
.rv-product-badge.sale { background: #e44; }
.rv-product-badge.exclusive { background: #C4A832; }
.rv-product-info .label-small { color: var(--grey-light); margin-bottom: 0.25rem; font-size: 0.55rem; }
.rv-product-info h3 {
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 0.25rem;
}
.rv-product-price { display: flex; align-items: center; gap: 0.5rem; }
.rv-product-price .price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  font-family: var(--font-body);
}
.rv-product-price del { color: var(--grey-light); font-size: 0.8rem; }
.rv-product-price ins { text-decoration: none; color: var(--black); font-weight: 600; }
.rv-product-sizes { display: flex; gap: 0.25rem; margin-top: 0.4rem; }
.rv-product-sizes span {
  font-size: 0.55rem;
  border: 1px solid var(--border);
  padding: 0.15rem 0.35rem;
  color: var(--grey-light);
  letter-spacing: 0.05em;
}
@media (max-width: 900px) { .rv-products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .rv-products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }

/* ============================================
   WOOCOMMERCE OVERRIDES
============================================ */
.woocommerce .woocommerce-result-count { font-size: 0.75rem; color: var(--grey-light); }
.woocommerce .woocommerce-ordering select {
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  color: var(--grey-mid);
}
.woocommerce ul.products { margin: 0 !important; }
.woocommerce ul.products li.product { text-align: left !important; }
.woocommerce ul.products li.product .button { display: none !important; }
.woocommerce div.product .product_title { font-family: var(--font-display); font-size: 2.5rem; color: var(--black); font-weight: 400; }
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--black) !important;
  font-size: 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  border-left: 2px solid var(--pink);
  padding-left: 1rem;
  color: var(--grey-dark);
  font-size: 0.9rem;
  line-height: 1.8;
}
.woocommerce div.product form.cart .variations { margin-bottom: 1rem; }
.woocommerce div.product form.cart .variations label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; }
.woocommerce div.product form.cart .variations select {
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  width: 100%;
  appearance: none;
}
.woocommerce div.product form.cart .variations select:focus { outline: 1px solid var(--pink); border-color: var(--pink); }
.woocommerce div.product form.cart .quantity input {
  border: 1.5px solid var(--border);
  padding: 0.6rem 1rem;
  font-family: var(--font-body);
  width: 70px;
  text-align: center;
}
.woocommerce div.product form.cart button[type="submit"],
.woocommerce div.product form.cart .single_add_to_cart_button {
  background: var(--black) !important;
  color: white !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  padding: 1rem 2.5rem !important;
  font-weight: 500 !important;
  transition: background var(--transition) !important;
  margin-left: 0.75rem;
}
.woocommerce div.product form.cart button[type="submit"]:hover { background: var(--pink) !important; }

/* Cart page */
.woocommerce table.shop_table { border: none !important; border-radius: 0 !important; }
.woocommerce table.shop_table th { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; border: none !important; border-bottom: 1px solid var(--border) !important; padding: 0.75rem 1rem !important; }
.woocommerce table.shop_table td { border: none !important; border-bottom: 1px solid var(--border) !important; padding: 1.25rem 1rem !important; vertical-align: middle !important; }
.woocommerce table.shop_table .product-name a { font-family: var(--font-display); font-size: 1.1rem; color: var(--black); }
.woocommerce .cart-collaterals .cart_totals { float: none; width: 100%; background: var(--pink-light); border: 1px solid var(--pink-border); padding: 1.5rem; }
.woocommerce .cart-collaterals { float: none; width: 100%; max-width: 400px; margin-left: auto; }
.woocommerce .wc-proceed-to-checkout .checkout-button,
.woocommerce a.checkout-button {
  background: var(--whatsapp) !important;
  color: white !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  padding: 1rem !important;
  text-align: center !important;
  width: 100% !important;
  display: block !important;
}

/* Checkout page */
.woocommerce form .form-row label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; margin-bottom: 0.3rem; }
.woocommerce form .form-row input,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  border: 1.5px solid var(--border);
  border-radius: 0 !important;
  font-family: var(--font-body);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}
.woocommerce form .form-row input:focus { outline: none; border-color: var(--pink); }
.woocommerce #payment { background: var(--pink-light) !important; border: 1px solid var(--pink-border) !important; border-radius: 0 !important; }
.woocommerce #payment #place_order,
.woocommerce #payment button#place_order {
  background: var(--pink) !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  padding: 1.1rem 2rem !important;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
============================================ */
#rv-whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 56px; height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.25s ease;
  text-decoration: none;
}
#rv-whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--whatsapp);
  animation: wa-pulse 2.5s infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}
#rv-whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5); }
#rv-whatsapp-float svg { width: 26px; height: 26px; fill: white; }

/* ============================================
   BRAND STORY
============================================ */
.rv-brand-story {
  background: linear-gradient(135deg, var(--black) 0%, #2d1a26 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}
.rv-brand-story-pattern {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 33%;
  background-image: repeating-linear-gradient(-45deg, var(--pink) 0, var(--pink) 1px, transparent 0, transparent 60%);
  background-size: 15px 15px;
  opacity: 0.08;
}
.rv-brand-story-content { text-align: center; max-width: 680px; margin: 0 auto; position: relative; }
.rv-brand-story-content h2 { color: white; margin: 1rem 0 1.5rem; }
.rv-brand-story-content p { color: rgba(255,255,255,0.65); font-size: 1rem; line-height: 1.8; margin-bottom: 2rem; }
.rv-brand-story-content a { color: rgba(255,255,255,0.5); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 2px; }
.rv-brand-story-content a:hover { color: white; }

/* ============================================
   TESTIMONIALS
============================================ */
.rv-testimonials { background: var(--cream); }
.rv-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.rv-testimonial {
  background: white;
  border: 1px solid var(--border);
  padding: 1.5rem;
  position: relative;
}
.rv-testimonial-quote {
  position: absolute;
  top: 1rem; right: 1.25rem;
  font-family: var(--font-display);
  font-size: 4rem;
  color: #F5EFF5;
  line-height: 1;
  select: none;
}
.rv-testimonial-stars { display: flex; gap: 2px; margin-bottom: 0.75rem; }
.rv-testimonial-stars svg { width: 12px; height: 12px; fill: var(--pink); }
.rv-testimonial p { font-size: 0.85rem; line-height: 1.7; color: var(--grey-dark); font-style: italic; margin-bottom: 1rem; }
.rv-testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.rv-testimonial-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
}
.rv-testimonial-author strong { font-size: 0.75rem; font-weight: 600; display: block; }
.rv-testimonial-author small { font-size: 0.65rem; color: var(--grey-light); }
@media (max-width: 768px) { .rv-testimonials-grid { grid-template-columns: 1fr; } }

/* ============================================
   CTA SECTION
============================================ */
.rv-cta-section {
  background: var(--pink-light);
  border-top: 1px solid var(--pink-border);
  border-bottom: 1px solid var(--pink-border);
  padding: 4rem 0;
  text-align: center;
}
.rv-cta-section h2 { margin: 0.75rem 0 1.5rem; }
.rv-cta-section p { color: var(--grey-mid); margin-bottom: 2rem; }

/* ============================================
   FOOTER
============================================ */
#rv-footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 2.5rem 0;
  text-align: center;
}
#rv-footer .rv-logo { color: white; font-size: 1.1rem; margin-bottom: 0.5rem; }
#rv-footer .rv-footer-location { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 1.25rem; }
#rv-footer .rv-footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1.5rem; }
#rv-footer .rv-footer-links a { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
#rv-footer .rv-footer-links a:hover { color: var(--pink); }
#rv-footer .rv-footer-links a.wa:hover { color: var(--whatsapp); }
#rv-footer .rv-footer-copy { font-size: 0.65rem; color: rgba(255,255,255,0.25); }

/* ============================================
   SHOP PAGE FILTERS
============================================ */
.rv-shop-header {
  background: var(--pink-light);
  border-bottom: 1px solid var(--pink-border);
  padding: 3rem 0;
  text-align: center;
}
.rv-shop-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}
.rv-category-tabs { display: flex; gap: 2px; background: #F5F0EA; padding: 3px; }
.rv-category-tab {
  padding: 0.5rem 1.25rem;
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--grey-mid);
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.rv-category-tab.active,
.rv-category-tab:hover { background: var(--pink); color: white; }

/* ============================================
   PRODUCT DETAIL PAGE
============================================ */
.rv-product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 3rem 0;
}
@media (max-width: 768px) {
  .rv-product-detail { grid-template-columns: 1fr; gap: 2rem; }
}
.rv-product-gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.rv-product-info-panel .label-small { margin-bottom: 0.5rem; }
.rv-product-info-panel h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.rv-price-block { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.rv-price-block .current-price { font-size: 1.5rem; font-weight: 600; font-family: var(--font-body); }
.rv-price-block .old-price { font-size: 1.1rem; color: var(--grey-light); text-decoration: line-through; }
.rv-guarantees { border-top: 1px solid var(--border); padding-top: 1.5rem; margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.rv-guarantee-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.8rem; color: var(--grey-mid); }
.rv-guarantee-item .icon { color: var(--pink); }

/* ============================================
   PHONE POPUP (Lead Capture)
============================================ */
#rv-phone-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.6);
  align-items: flex-end;
  justify-content: center;
}
#rv-phone-popup.open { display: flex; }
.rv-popup-inner {
  background: var(--cream);
  width: 100%;
  max-width: 480px;
  padding: 2rem;
  border-top: 3px solid var(--pink);
  position: relative;
  margin-bottom: 0;
  animation: slide-up 0.35s ease;
}
@keyframes slide-up {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.rv-popup-close { position: absolute; top: 1rem; right: 1rem; font-size: 1.25rem; color: var(--grey-light); cursor: pointer; background: none; border: none; }
.rv-popup-close:hover { color: var(--pink); }
.rv-popup-inner .label-small { margin-bottom: 0.5rem; }
.rv-popup-inner h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.rv-popup-inner p { font-size: 0.85rem; margin-bottom: 1.25rem; color: var(--grey-mid); }
.rv-popup-inner input[type="tel"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  outline: none;
}
.rv-popup-inner input[type="tel"]:focus { border-color: var(--pink); }
.rv-popup-inner button[type="submit"] { width: 100%; }
.rv-popup-privacy { text-align: center; margin-top: 0.5rem; font-size: 0.65rem; color: var(--grey-light); }

/* ============================================
   ANIMATIONS
============================================ */
.rv-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.rv-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE UTILITIES
============================================ */
@media (max-width: 768px) {
  .section-padding { padding: 3rem 0; }
  .rv-hero-ctas { flex-direction: column; }
  .rv-hero-ctas .btn-primary,
  .rv-hero-ctas .btn-secondary { text-align: center; justify-content: center; }
}
