/* RV Moms 9 — main.css */

/* ---- Base body ---- */
body {
  font-family: "Be Vietnam Pro", ui-sans-serif, system-ui, sans-serif;
  background-color: #faf8ff;
  color: #151b29;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Material Symbols (loaded via Google Fonts in functions.php) ---- */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
}

/* ---- Card lift animation (matches Stitch .card-lift) ---- */
.card-lift {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.04), 0 8px 10px -6px rgba(0,0,0,0.04);
}

/* ---- Shop product card hover (matches Stitch .product-card-hover) ---- */
.product-card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ---- Line clamp ---- */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Mini-cart drawer animation ---- */
.rvmoms9-mini-cart-overlay { animation: rv-fadeIn 0.15s ease; }
@keyframes rv-fadeIn { from { opacity: 0; } to { opacity: 1; } }
#rvmoms9-cart-overlay > div { animation: rv-slideInRight 0.2s ease; }
@keyframes rv-slideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } }

/* ---- Free shipping bar ---- */
.rvmoms9-shipping-bar {
  height: 4px;
  background: #e9edff;
  border-radius: 2px;
  overflow: hidden;
}
.rvmoms9-shipping-bar-fill {
  height: 100%;
  background: #00357f;
  transition: width 0.4s ease;
  border-radius: 2px;
}

/* ---- Qty stepper in mini-cart ---- */
.rvmoms9-qty-stepper input[type="number"] {
  -moz-appearance: textfield;
  width: 40px;
  text-align: center;
  background: transparent;
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
}
.rvmoms9-qty-stepper input[type="number"]::-webkit-inner-spin-button,
.rvmoms9-qty-stepper input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ---- Add to cart button states ---- */
.rvmoms9-atc:disabled { opacity: 0.6; cursor: not-allowed; }
.rvmoms9-atc.adding { opacity: 0.7; }

/* ---- WhatsApp bounce ---- */
@keyframes rv-waBounce { 0%,100%{transform:scale(1);} 50%{transform:scale(1.08);} }
.rvmoms9-whatsapp-btn:hover { animation: rv-waBounce 0.4s ease; }

/* ---- Announcement bar ---- */
.rvmoms9-announcement-bar { font-size: 0.8125rem; }

/* ---- Custom scrollbar (matches Stitch) ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f3ff; }
::-webkit-scrollbar-thumb { background: #00357f; border-radius: 10px; }

/* ---- Prose (rich text sections) ---- */
.prose h1, .prose h2, .prose h3 { font-weight: 700; margin-bottom: 0.75rem; line-height: 1.2; }
.prose p { margin-bottom: 1rem; line-height: 1.7; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose a { color: #00357f; text-decoration: underline; }
.prose li { margin-bottom: 0.25rem; }

/* ---- WC catalog ordering select ---- */
.woocommerce-ordering select {
  background: #ffffff;
  border: 1px solid #c3c6d5;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 14px;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  color: #151b29;
}
.woocommerce-ordering select:focus { outline: none; border-color: #00357f; }

/* ---- WC pagination ---- */
.woocommerce-pagination { margin-top: 3rem; }
.woocommerce-pagination ul {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Manrope", sans-serif;
  border: 1px solid #c3c6d5;
  color: #434653;
  text-decoration: none;
  transition: all 0.15s;
}
.woocommerce-pagination ul li .current,
.woocommerce-pagination ul li a:hover {
  background: #00357f;
  color: #fff;
  border-color: #00357f;
}

/* ---- Mobile nav safe area ---- */
@media (max-width: 767px) {
  body { padding-bottom: env(safe-area-inset-bottom); }
}

/* ---- WC notices ---- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 0.875rem 1.25rem;
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.woocommerce-message { background: #c6e9c7; border-left: 3px solid #47654b; color: #04210c; }
.woocommerce-info    { background: #d9e2ff; border-left: 3px solid #00357f; color: #001945; }
.woocommerce-error   { background: #ffdad6; border-left: 3px solid #ba1a1a; color: #93000a; }

/* ---- WC single product remove default layout ---- */
.slb-wc-main, .woocommerce-page .woocommerce { width: 100%; }

/* ---- Footer payment icons ---- */
.rvmoms9-payment-icon {
  display: block;
  width: 3rem !important;
  height: 1.5rem !important;
  max-width: 3rem !important;
  max-height: 1.5rem !important;
  object-fit: contain !important;
  opacity: 0.8 !important;
}
