/*
Theme Name: Royal Homes Premium
Theme URI: https://royalhomes.pk
Author: AI Studio
Author URI: https://royalhomes.pk
Description: A premium, fully customizable WooCommerce-ready WordPress theme converted from the "Royal Homes – Elevated Modern E-Commerce" design system. Built for boutique home-goods and lifestyle storefronts with an editable hero video, dynamic WhatsApp ordering, and a full WooCommerce product catalogue — all controllable from the WordPress Customizer without touching a single line of code.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: royal-homes
Tags: e-commerce, woocommerce, custom-menu, custom-logo, featured-images, footer-widgets, translation-ready
*/

/* =====================================================================
   1. DESIGN TOKENS / CSS CUSTOM PROPERTIES
   Translated from index.css :root definitions
   ===================================================================== */
:root {
  --rh-font-serif: 'Cormorant Garamond', Georgia, serif;
  --rh-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Core brand palette (extracted from Header.tsx / HeroSection.tsx / Footer.tsx) */
  --rh-color-ink: #1A1A1A;
  --rh-color-ink-soft: #232323;
  --rh-color-charcoal: #1C1A18;
  --rh-color-charcoal-alt: #181614;
  --rh-color-cream: #FAF8F5;
  --rh-color-cream-alt: #F3EFEA;
  --rh-color-cream-border: #EAE5DC;
  --rh-color-gold: #D4AF37;
  --rh-color-gold-light: #E5BE48;
  --rh-color-gold-deep: #8C6D1F;
  --rh-color-text-body: #262626;
  --rh-color-text-muted: #6E6359;
  --rh-color-text-footer: #B5ADA1;
  --rh-color-whatsapp: #25D366;
  --rh-color-whatsapp-dark: #128C7E;
  --rh-color-sale: #B33927;
}

/* =====================================================================
   2. BASE / RESET
   ===================================================================== */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}

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

body {
  font-family: var(--rh-font-sans);
  color: var(--rh-color-text-body);
  background-color: var(--rh-color-cream);
  overflow-x: hidden;
  margin: 0;
  line-height: 1.6;
}

h1, h2, h3, .font-serif-luxury {
  font-family: var(--rh-font-serif);
  margin: 0 0 0.5em;
  line-height: 1.2;
  color: var(--rh-color-ink);
}

h4, h5, h6 {
  font-family: var(--rh-font-sans);
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* =====================================================================
   3. LAYOUT UTILITIES
   ===================================================================== */
.rh-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .rh-container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
  .rh-container { padding-left: 2rem; padding-right: 2rem; }
}

/* =====================================================================
   4. HEADER — TOP ANNOUNCEMENT BAR
   ===================================================================== */
.rh-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
}

.rh-topbar {
  background: var(--rh-color-ink);
  color: var(--rh-color-cream);
  font-size: 11px;
  padding: 4px 12px;
  border-bottom: 1px solid #2E2E2E;
}

.rh-topbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 20px;
}

.rh-topbar__message {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.rh-topbar__message svg,
.rh-topbar__message .dashicons {
  color: var(--rh-color-gold);
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.rh-topbar__utils {
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  color: #A3A3A3;
}

@media (min-width: 768px) {
  .rh-topbar__utils { display: flex; }
  .rh-topbar__message { justify-content: flex-start; }
}

.rh-topbar__utils a {
  transition: color 0.2s;
}

.rh-topbar__utils a:hover {
  color: #fff;
}

/* =====================================================================
   5. HEADER — MAIN NAV BAR
   ===================================================================== */
.rh-navbar {
  width: 100%;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rh-color-cream-border);
  padding: 10px 0;
  transition: all 0.2s ease;
}

.rh-navbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  gap: 1rem;
}

@media (min-width: 640px) {
  .rh-navbar__inner { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .rh-navbar__inner { padding: 0 2rem; }
}

.rh-mobile-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (min-width: 1024px) {
  .rh-mobile-toggle { display: none; }
}

.rh-mobile-toggle button {
  padding: 6px;
  color: var(--rh-color-ink-soft);
  transition: color 0.2s;
}

.rh-mobile-toggle button:hover {
  color: var(--rh-color-gold);
}

.rh-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.rh-brand__logo-img img {
  max-height: 44px;
  width: auto;
}

.rh-brand__name {
  font-family: var(--rh-font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #1F1F1F;
  line-height: 1.1;
  transition: color 0.2s;
}

.rh-brand:hover .rh-brand__name {
  color: var(--rh-color-gold-deep);
}

.rh-brand__tagline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #857563;
  font-weight: 500;
  margin-top: -2px;
}

.rh-primary-nav {
  display: none;
}

@media (min-width: 1024px) {
  .rh-primary-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }
}

.rh-primary-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.rh-primary-nav li {
  position: relative;
}

.rh-primary-nav a {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  color: #383838;
  transition: color 0.2s;
  position: relative;
  display: inline-block;
  padding: 4px 0;
}

.rh-primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rh-color-gold);
  transition: width 0.3s;
}

.rh-primary-nav a:hover {
  color: var(--rh-color-gold-deep);
}

.rh-primary-nav a:hover::after {
  width: 100%;
}

/* Sub-menu (mega-menu style dropdown) */
.rh-primary-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--rh-color-cream);
  border: 1px solid #E8E1D5;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-radius: 0 0 12px 12px;
  padding: 16px;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.rh-primary-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
}

.rh-primary-nav .sub-menu li {
  width: 100%;
}

.rh-primary-nav .sub-menu a {
  display: block;
  padding: 6px 0;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: #4A4A4A;
}

.rh-primary-nav .sub-menu a::after {
  display: none;
}

.rh-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .rh-nav-actions { gap: 1rem; }
}

.rh-search-pill {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #525252;
  background: var(--rh-color-cream-alt);
  padding: 6px 12px;
  border-radius: 999px;
  transition: background 0.2s;
}

@media (min-width: 1024px) {
  .rh-search-pill { display: inline-flex; }
}

.rh-search-pill:hover {
  background: #EAE4DC;
}

.rh-whatsapp-pill {
  display: none;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(37, 211, 102, 0.1);
  color: var(--rh-color-whatsapp-dark);
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.2s;
}

@media (min-width: 640px) {
  .rh-whatsapp-pill { display: inline-flex; }
}

.rh-whatsapp-pill:hover {
  background: rgba(37, 211, 102, 0.2);
}

.rh-cart-trigger {
  position: relative;
  padding: 8px;
  color: var(--rh-color-ink-soft);
  transition: color 0.2s, transform 0.2s;
}

.rh-cart-trigger:hover {
  color: var(--rh-color-gold-deep);
}

.rh-cart-count {
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--rh-color-ink);
  color: var(--rh-color-cream);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rh-color-cream);
}

/* Mobile Drawer */
.rh-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.rh-mobile-drawer.is-open {
  display: flex;
}

.rh-mobile-drawer__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
}

.rh-mobile-drawer__panel {
  position: relative;
  width: 82%;
  max-width: 360px;
  background: var(--rh-color-cream);
  height: 100%;
  box-shadow: 2px 0 30px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  padding: 1.25rem;
  z-index: 10;
}

.rh-mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rh-color-cream-border);
}

.rh-mobile-drawer__close {
  padding: 6px;
  color: #525252;
}

.rh-mobile-nav a {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1F1F1F;
  transition: background 0.2s;
}

.rh-mobile-nav a:hover {
  background: var(--rh-color-cream-alt);
}

.rh-mobile-drawer__whatsapp {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--rh-color-whatsapp);
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* =====================================================================
   6. HERO SECTION
   ===================================================================== */
.rh-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--rh-color-charcoal-alt);
  color: var(--rh-color-cream);
  min-height: 560px;
  display: flex;
  align-items: center;
}

@media (min-width: 640px) {
  .rh-hero { min-height: 620px; }
}

@media (min-width: 1024px) {
  .rh-hero { min-height: 690px; }
}

.rh-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.rh-hero__poster,
.rh-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: opacity 1s ease;
}

.rh-hero__poster {
  opacity: 1;
}

.rh-hero__video {
  opacity: 0.9;
}

.rh-hero__video.is-hidden {
  opacity: 0;
}

.rh-hero__overlay-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(20,18,16,0.95), rgba(20,18,16,0.7), rgba(0,0,0,0.35));
  pointer-events: none;
}

.rh-hero__overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,1), transparent, rgba(0,0,0,0.4));
  pointer-events: none;
}

.rh-hero__overlay-3 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(212,175,55,0.12), transparent 70%);
  pointer-events: none;
}

.rh-hero__content {
  position: relative;
  z-index: 20;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1rem;
  width: 100%;
}

@media (min-width: 640px) {
  .rh-hero__content { padding: 6rem 1.5rem; }
}

@media (min-width: 1024px) {
  .rh-hero__content { padding: 6rem 2rem; }
}

.rh-hero__inner {
  max-width: 640px;
}

.rh-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(250,248,245,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--rh-color-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.rh-hero__badge-dot {
  position: relative;
  display: flex;
  height: 8px;
  width: 8px;
}

.rh-hero__badge-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--rh-color-gold);
  opacity: 0.75;
  animation: rhPing 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.rh-hero__badge-dot::after {
  content: '';
  position: relative;
  display: inline-flex;
  border-radius: 999px;
  height: 8px;
  width: 8px;
  background: var(--rh-color-gold);
}

.rh-hero__title {
  font-family: var(--rh-font-serif);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.12;
  color: var(--rh-color-cream);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

@media (min-width: 640px) { .rh-hero__title { font-size: 2.5rem; } }
@media (min-width: 768px) { .rh-hero__title { font-size: 3rem; } }
@media (min-width: 1024px) { .rh-hero__title { font-size: 3.75rem; } }

.rh-hero__desc {
  font-size: 14px;
  color: #D4CDC3;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2rem;
  font-weight: 300;
}

@media (min-width: 640px) { .rh-hero__desc { font-size: 16px; } }

.rh-hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .rh-hero__ctas { flex-direction: row; align-items: center; }
}

.rh-hero__cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 8px;
  background: var(--rh-color-gold);
  color: var(--rh-color-ink);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.rh-hero__cta-primary:hover {
  background: var(--rh-color-gold-light);
  transform: translateY(-2px);
}

.rh-hero__cta-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 8px;
  background: var(--rh-color-whatsapp);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.rh-hero__cta-whatsapp:hover {
  background: #20bd5a;
}

.rh-hero__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250,248,245,0.15);
  color: #E6DFC5;
}

@media (min-width: 640px) { .rh-hero__trust { gap: 1rem; } }

.rh-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rh-hero__trust-item .dashicons,
.rh-hero__trust-item svg {
  color: var(--rh-color-gold);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.rh-hero__trust-label {
  display: block;
  font-weight: 600;
  color: #fff;
  font-size: 11px;
  line-height: 1.3;
}

.rh-hero__trust-sub {
  color: #B5AD9C;
  font-size: 10px;
}

.rh-hero__controls {
  position: absolute;
  bottom: 1.5rem;
  left: 1rem;
  right: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .rh-hero__controls { left: 2rem; right: 2rem; }
}

.rh-hero__scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.4);
  color: #D4CDC3;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.2s;
}

.rh-hero__scroll-btn:hover {
  background: rgba(0,0,0,0.6);
  color: var(--rh-color-gold);
}

.rh-hero__video-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 4px;
}

.rh-hero__video-controls button {
  padding: 6px;
  border-radius: 999px;
  color: rgba(255,255,255,0.8);
  transition: all 0.2s;
}

.rh-hero__video-controls button:hover {
  color: var(--rh-color-gold);
  background: rgba(255,255,255,0.1);
}

/* =====================================================================
   7. PRODUCT GRID (WooCommerce)
   ===================================================================== */
.rh-section {
  padding: 4rem 0;
}

.rh-section__heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.rh-section__eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rh-color-gold-deep);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.rh-section__title {
  font-size: 1.75rem;
}

@media (min-width: 768px) { .rh-section__title { font-size: 2.25rem; } }

.rh-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .rh-product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .rh-product-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

.rh-product-card {
  background: #fff;
  border: 1px solid var(--rh-color-cream-border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.rh-product-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.rh-product-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--rh-color-cream-alt);
}

.rh-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-product-card__body {
  padding: 1rem;
}

.rh-product-card__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--rh-color-ink);
  margin-bottom: 4px;
  line-height: 1.4;
}

.rh-product-card__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--rh-color-gold-deep);
}

.rh-product-card__price del {
  color: #A3A3A3;
  font-weight: 400;
  font-size: 12px;
  margin-right: 6px;
}

.rh-product-card .add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--rh-color-ink);
  color: var(--rh-color-cream) !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}

.rh-product-card .add_to_cart_button:hover {
  background: var(--rh-color-gold-deep);
}

/* =====================================================================
   8. FOOTER
   ===================================================================== */
.rh-footer {
  background: var(--rh-color-charcoal);
  color: var(--rh-color-cream);
  padding: 4rem 0 3rem;
  border-top: 1px solid #2F2C29;
}

.rh-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #36322E;
}

@media (min-width: 768px) {
  .rh-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .rh-footer__grid { grid-template-columns: repeat(5, 1fr); }
  .rh-footer__brand { grid-column: span 2; }
}

.rh-footer__brand-name {
  font-family: var(--rh-font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--rh-color-cream);
  display: block;
}

.rh-footer__brand-tag {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--rh-color-gold);
  font-weight: 600;
  display: block;
  margin-top: 2px;
  margin-bottom: 1rem;
}

.rh-footer__desc {
  font-size: 12px;
  color: var(--rh-color-text-footer);
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 1rem;
}

.rh-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: #CDC4B6;
  margin-bottom: 1rem;
}

.rh-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rh-footer__contact-item .dashicons,
.rh-footer__contact-item svg {
  color: var(--rh-color-gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.rh-footer__socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rh-footer__socials a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.rh-footer__socials a:hover {
  background: var(--rh-color-gold);
  color: #000;
}

.rh-footer__socials a.is-whatsapp {
  background: var(--rh-color-whatsapp);
  color: #fff;
}

.rh-footer__heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rh-color-gold);
  margin-bottom: 12px;
}

.rh-footer-widgets ul,
.rh-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--rh-color-text-footer);
}

.rh-footer-widgets a,
.rh-footer__links a {
  transition: color 0.2s;
}

.rh-footer-widgets a:hover,
.rh-footer__links a:hover {
  color: #fff;
}

.rh-footer__whatsapp-card {
  background: #262320;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #3D3833;
}

.rh-footer__whatsapp-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rh-color-whatsapp);
  background: rgba(37,211,102,0.1);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}

.rh-footer__whatsapp-title {
  font-family: var(--rh-font-serif);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.rh-footer__whatsapp-desc {
  font-size: 11px;
  color: #A89F93;
  line-height: 1.6;
  margin-bottom: 12px;
}

.rh-footer__whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--rh-color-whatsapp);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.2s;
}

.rh-footer__whatsapp-btn:hover {
  background: #20bd5a;
}

.rh-footer__bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 12px;
  color: #8F8577;
}

@media (min-width: 640px) {
  .rh-footer__bottom { flex-direction: row; }
}

.rh-footer__badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 10px;
}

.rh-footer__badges span {
  padding: 4px 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
}

/* =====================================================================
   9. FLOATING WHATSAPP BUTTON
   ===================================================================== */
.rh-floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 45;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--rh-color-whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}

.rh-floating-whatsapp:hover {
  transform: scale(1.08);
}

/* =====================================================================
   10. ANIMATIONS
   ===================================================================== */
@keyframes rhShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.rh-animate-shimmer {
  background: linear-gradient(90deg, rgba(212,175,55,0.08) 0%, rgba(212,175,55,0.28) 50%, rgba(212,175,55,0.08) 100%);
  background-size: 200% 100%;
  animation: rhShimmer 2.4s infinite;
}

@keyframes rhPing {
  75%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes rhFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.rh-animate-fadeIn {
  animation: rhFadeIn 0.3s ease-out;
}

.rh-no-scrollbar::-webkit-scrollbar {
  display: none;
}

.rh-no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* =====================================================================
   11. WOOCOMMERCE OVERRIDES
   ===================================================================== */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin: 0;
}

@media (min-width: 768px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .woocommerce ul.products { grid-template-columns: repeat(4, 1fr); }
}

/* Force All Product Images to Have the Same Dimensions */
.woocommerce ul.products li.product img,
ul.products li.product img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important; /* Forces images to stay perfectly square */
    object-fit: cover !important;  /* Crops taller images cleanly without stretching them */
    height: auto !important;
    margin-bottom: 15px !important;
}

/* Structural Card Alignment */
.woocommerce ul.products li.product, 
ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important; /* Starts content cleanly from the top */
    min-height: 480px !important;            /* Ensures all cards are identical in height */
    box-sizing: border-box !important;
}

/* Force Uniform Height for Titles */
.woocommerce ul.products li.product h2,
ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin: 10px 0 !important;
    min-height: 44px !important; /* Guarantees exactly 2 lines of vertical space */
}

/* Keep the Buttons Anchored to the Absolute Bottom */
.woocommerce ul.products li.product .button,
ul.products li.product .button {
    margin-top: auto !important; /* Acts like a magnet to align buttons across the row */
    width: 100% !important;
}

}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.woocommerce span.onsale {
  background: var(--rh-color-sale) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  background: var(--rh-color-ink) !important;
  color: var(--rh-color-cream) !important;
  border-radius: 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.woocommerce a.button:hover, .woocommerce button.button:hover {
  background: var(--rh-color-gold-deep) !important;
}

.woocommerce-message, .woocommerce-info {
  border-top-color: var(--rh-color-gold) !important;
}

.woocommerce-message::before, .woocommerce-info::before {
  color: var(--rh-color-gold) !important;
}
