
/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --rc-blue: #1a3a7a;
  --rc-blue-light: #2563eb;
  --rc-blue-dark: #0f2655;
  --rc-red: #dc2626;
  --rc-orange: #f97316;
  --rc-green: #16a34a;
  --rc-yellow: #eab308;
  --rc-purple: #7c3aed;
  --rc-teal: #0d9488;
  --rc-white: #ffffff;
  --rc-gray-50: #f8fafc;
  --rc-gray-100: #f1f5f9;
  --rc-gray-200: #e2e8f0;
  --rc-gray-300: #cbd5e1;
  --rc-gray-400: #94a3b8;
  --rc-gray-500: #64748b;
  --rc-gray-600: #475569;
  --rc-gray-700: #334155;
  --rc-gray-800: #1e293b;
  --rc-gray-900: #0f172a;
  --rc-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --rc-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --rc-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --rc-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --rc-radius: 12px;
  --rc-radius-lg: 16px;
  --rc-radius-sm: 8px;
  --rc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--rc-gray-50);
  color: var(--rc-gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.animate-fadeInUp { animation: fadeInUp 0.6s ease-out forwards; }
.animate-fadeIn { animation: fadeIn 0.5s ease-out forwards; }
.animate-slideInRight { animation: slideInRight 0.5s ease-out forwards; }
.animate-slideInLeft { animation: slideInLeft 0.5s ease-out forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rc-gray-200);
  transition: var(--rc-transition);
}
.header.scrolled { box-shadow: var(--rc-shadow-lg); }
.header-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.logo { display: flex; align-items: center; gap: 0; min-width: 0; background: transparent; }
.logo img { height: 44px; width: auto; max-width: 100%; object-fit: contain; background: transparent; }
.nav-desktop { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 15px; font-weight: 500; color: var(--rc-gray-600);
  position: relative; padding: 8px 0; transition: var(--rc-transition);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--rc-blue-light); transition: var(--rc-transition); border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--rc-blue); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--rc-gray-600); transition: var(--rc-transition);
  position: relative;
}
.icon-btn:hover { background: var(--rc-gray-100); color: var(--rc-blue); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -2px; right: -2px;
  background: var(--rc-red); color: white; font-size: 11px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.mobile-menu-btn { display: none; }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 320px; height: 100vh;
  background: white; z-index: 2000; box-shadow: var(--rc-shadow-xl);
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1); padding: 80px 24px 24px;
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1999;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-menu-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-nav-link {
  display: block; padding: 16px 0; font-size: 17px; font-weight: 600;
  color: var(--rc-gray-700); border-bottom: 1px solid var(--rc-gray-100);
  transition: var(--rc-transition);
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--rc-blue); padding-left: 8px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--rc-blue-dark) 0%, var(--rc-blue) 50%, #1e40af 100%);
  position: relative; overflow: hidden; padding-top: 72px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.06)"/><circle cx="90" cy="90" r="2.5" fill="rgba(255,255,255,0.07)"/></svg>');
  background-size: 200px; animation: float 6s ease-in-out infinite;
}
.hero-inner {
  max-width: 1400px; margin: 0 auto; padding: 60px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-content h1 {
  font-size: clamp(36px, 5vw, 64px); font-weight: 800; color: white;
  line-height: 1.1; margin-bottom: 24px;
}
.hero-content h1 span {
  background: linear-gradient(90deg, #60a5fa, #f472b6, #fbbf24, #4ade80);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-content p {
  font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 500px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px;
  border-radius: var(--rc-radius); font-size: 15px; font-weight: 600;
  transition: var(--rc-transition); cursor: pointer;
}
.btn-primary {
  background: white; color: var(--rc-blue);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.4); color: white; background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-accent {
  background: linear-gradient(135deg, var(--rc-orange), #fb923c);
  color: white; box-shadow: 0 4px 14px rgba(249,115,22,0.4);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(249,115,22,0.5); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

.hero-image {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.hero-image img {
  border-radius: var(--rc-radius-lg); box-shadow: var(--rc-shadow-xl);
  max-height: 500px; object-fit: cover; width: 100%;
}
.hero-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: white; padding: 16px 24px; border-radius: var(--rc-radius);
  box-shadow: var(--rc-shadow-lg); display: flex; align-items: center; gap: 12px;
  animation: float 4s ease-in-out infinite;
}
.hero-badge-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--rc-blue-light), var(--rc-blue));
  display: flex; align-items: center; justify-content: center; color: white;
}

/* ===== SECTIONS ===== */
.section { padding: 80px 24px; }
.section-inner { max-width: 1400px; margin: 0 auto; }
.section-header {
  text-align: center; margin-bottom: 60px;
}
.section-header h2 {
  font-size: clamp(28px, 3vw, 40px); font-weight: 800; color: var(--rc-gray-900);
  margin-bottom: 12px;
}
.section-header h2 span { color: var(--rc-blue-light); }
.section-header p {
  font-size: 17px; color: var(--rc-gray-500); max-width: 600px; margin: 0 auto;
}
.section-header .subtitle {
  display: inline-block; padding: 6px 16px; background: var(--rc-blue);
  color: white; border-radius: 20px; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}

/* ===== CATEGORIES ===== */
.categories-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px;
}
.category-card {
  background: white; border-radius: var(--rc-radius-lg); padding: 32px 24px;
  text-align: center; box-shadow: var(--rc-shadow); transition: var(--rc-transition);
  border: 1px solid var(--rc-gray-100); cursor: pointer;
}
.category-card:hover {
  transform: translateY(-8px); box-shadow: var(--rc-shadow-xl);
  border-color: var(--rc-blue-light);
}
.category-icon {
  width: 64px; height: 64px; border-radius: var(--rc-radius);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  font-size: 28px;
}
.category-card h3 { font-size: 18px; font-weight: 700; color: var(--rc-gray-800); margin-bottom: 4px; }
.category-card p { font-size: 14px; color: var(--rc-gray-500); }

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.product-card {
  background: white; border-radius: var(--rc-radius-lg);
  overflow: hidden; box-shadow: var(--rc-shadow);
  transition: var(--rc-transition); border: 1px solid var(--rc-gray-100);
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px); box-shadow: var(--rc-shadow-xl);
}
.product-image {
  position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--rc-gray-100);
}
.product-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-image img { transform: scale(1.08); }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 6px 12px; border-radius: 20px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-new { background: var(--rc-green); color: white; }
.badge-sale { background: var(--rc-red); color: white; }
.badge-eco { background: var(--rc-teal); color: white; }
.badge-premium { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: white; }
.product-actions-overlay {
  position: absolute; top: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 8px; opacity: 0;
  transition: opacity 0.3s;
}
.product-card:hover .product-actions-overlay { opacity: 1; }
.action-btn {
  width: 36px; height: 36px; border-radius: 50%; background: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--rc-shadow); color: var(--rc-gray-600);
  transition: var(--rc-transition);
}
.action-btn:hover { background: var(--rc-blue); color: white; }
.action-btn svg { width: 16px; height: 16px; }

.product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-category {
  font-size: 12px; font-weight: 600; color: var(--rc-blue-light);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px;
}
.product-name {
  font-size: 17px; font-weight: 700; color: var(--rc-gray-800);
  margin-bottom: 8px; line-height: 1.3;
}
.product-desc {
  font-size: 14px; color: var(--rc-gray-500); margin-bottom: 12px;
  line-height: 1.5; flex: 1;
}
.product-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.product-price {
  font-size: 22px; font-weight: 800; color: var(--rc-blue);
}
.product-price .old-price {
  font-size: 14px; color: var(--rc-gray-400); text-decoration: line-through;
  margin-left: 8px; font-weight: 500;
}
.stock-status {
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px;
}
.stock-in { background: #dcfce7; color: var(--rc-green); }
.stock-low { background: #fef3c7; color: #d97706; }
.stock-out { background: #fee2e2; color: var(--rc-red); }

.product-btns { display: flex; gap: 8px; }
.product-btns .btn { flex: 1; justify-content: center; padding: 12px; font-size: 14px; }
.btn-cart {
  background: var(--rc-blue); color: white;
  box-shadow: 0 2px 8px rgba(26,58,122,0.3);
}
.btn-cart:hover { background: var(--rc-blue-dark); transform: translateY(-1px); }
.btn-buy {
  background: linear-gradient(135deg, var(--rc-orange), #fb923c); color: white;
}
.btn-buy:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(249,115,22,0.4); }

/* ===== PROMOTIONS ===== */
.promo-section { background: linear-gradient(135deg, var(--rc-blue-dark), var(--rc-blue)); }
.promo-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
}
.promo-card {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  border-radius: var(--rc-radius-lg); padding: 32px;
  border: 1px solid rgba(255,255,255,0.15); color: white;
  transition: var(--rc-transition);
}
.promo-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.15); }
.promo-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.promo-card p { opacity: 0.85; margin-bottom: 16px; font-size: 15px; }
.promo-card .btn { background: white; color: var(--rc-blue); }
.promo-card .btn:hover { background: var(--rc-gray-100); }

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;
}
.review-card {
  background: white; border-radius: var(--rc-radius-lg); padding: 28px;
  box-shadow: var(--rc-shadow); border: 1px solid var(--rc-gray-100);
}
.review-stars { color: var(--rc-yellow); font-size: 18px; margin-bottom: 12px; }
.review-text { font-size: 15px; color: var(--rc-gray-600); margin-bottom: 16px; line-height: 1.6; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rc-blue-light), var(--rc-purple));
  display: flex; align-items: center; justify-content: center; color: white; font-weight: 700;
}
.review-author-info h4 { font-size: 15px; font-weight: 700; color: var(--rc-gray-800); }
.review-author-info span { font-size: 13px; color: var(--rc-gray-400); }

/* ===== FOOTER ===== */
.footer {
  background: var(--rc-gray-900); color: var(--rc-gray-300); padding: 60px 24px 0;
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px;
}
.footer-brand img { height: 48px; width: auto; max-width: 100%; margin-bottom: 16px; object-fit: contain; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: var(--rc-gray-400); margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--rc-gray-800); display: flex; align-items: center; justify-content: center;
  color: var(--rc-gray-400); transition: var(--rc-transition);
}
.footer-social a:hover { background: var(--rc-blue); color: white; transform: translateY(-3px); }
.footer-social a svg { width: 18px; height: 18px; }

.footer-col h4 { font-size: 16px; font-weight: 700; color: white; margin-bottom: 20px; }
.footer-col a {
  display: block; font-size: 14px; color: var(--rc-gray-400); padding: 6px 0;
  transition: var(--rc-transition);
}
.footer-col a:hover { color: white; padding-left: 4px; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.footer-contact-item svg { width: 18px; height: 18px; color: var(--rc-blue-light); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { font-size: 14px; color: var(--rc-gray-400); }

.footer-bottom {
  border-top: 1px solid var(--rc-gray-800); padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--rc-gray-500); }

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--rc-blue-dark), var(--rc-blue));
  padding: 140px 24px 60px; text-align: center; color: white;
}
.page-header h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; margin-bottom: 12px; }
.page-header p { font-size: 17px; opacity: 0.85; max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px; font-size: 14px; opacity: 0.7;
}
.breadcrumb a:hover { text-decoration: underline; }

/* ===== PRODUCT DETAIL ===== */
.pd-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.pd-gallery {
  background: white; border-radius: var(--rc-radius-lg); overflow: hidden;
  box-shadow: var(--rc-shadow); border: 1px solid var(--rc-gray-100);
}
.pd-gallery-main { aspect-ratio: 1; overflow: hidden; }
.pd-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: 32px; font-weight: 800; color: var(--rc-gray-900); margin-bottom: 8px; }
.pd-info .pd-category { color: var(--rc-blue-light); font-weight: 600; font-size: 14px; text-transform: uppercase; margin-bottom: 12px; }
.pd-info .pd-price { font-size: 36px; font-weight: 800; color: var(--rc-blue); margin-bottom: 8px; }
.pd-info .pd-price .old { font-size: 20px; color: var(--rc-gray-400); text-decoration: line-through; margin-left: 12px; }
.pd-info .pd-stock { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; }
.pd-desc { font-size: 16px; color: var(--rc-gray-600); line-height: 1.7; margin-bottom: 24px; }
.pd-features { margin-bottom: 24px; }
.pd-features li {
  display: flex; align-items: center; gap: 10px; padding: 8px 0;
  font-size: 15px; color: var(--rc-gray-700); border-bottom: 1px solid var(--rc-gray-100);
}
.pd-features li svg { width: 18px; height: 18px; color: var(--rc-green); flex-shrink: 0; }
.pd-qty { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.qty-btn {
  width: 40px; height: 40px; border-radius: var(--rc-radius-sm);
  border: 1px solid var(--rc-gray-300); display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--rc-gray-700); transition: var(--rc-transition);
}
.qty-btn:hover { background: var(--rc-gray-100); }
.qty-input {
  width: 60px; height: 40px; text-align: center; border: 1px solid var(--rc-gray-300);
  border-radius: var(--rc-radius-sm); font-size: 16px; font-weight: 600;
}
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-actions .btn { padding: 16px 40px; font-size: 16px; }

/* ===== CART ===== */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left; padding: 16px; font-size: 13px; font-weight: 600;
  color: var(--rc-gray-500); text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 2px solid var(--rc-gray-200);
}
.cart-table td { padding: 20px 16px; border-bottom: 1px solid var(--rc-gray-100); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 16px; }
.cart-product img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--rc-radius-sm); }
.cart-product-info h4 { font-size: 15px; font-weight: 700; color: var(--rc-gray-800); }
.cart-product-info span { font-size: 13px; color: var(--rc-gray-400); }
.cart-remove { color: var(--rc-red); transition: var(--rc-transition); }
.cart-remove:hover { color: #b91c1c; }
.cart-summary {
  background: white; border-radius: var(--rc-radius-lg); padding: 28px;
  box-shadow: var(--rc-shadow); border: 1px solid var(--rc-gray-100);
  position: sticky; top: 100px;
}
.cart-summary h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 15px; }
.summary-row.total { font-size: 20px; font-weight: 800; color: var(--rc-blue); border-top: 2px solid var(--rc-gray-200); margin-top: 8px; padding-top: 16px; }
.cart-empty { text-align: center; padding: 80px 24px; }
.cart-empty-icon { font-size: 64px; margin-bottom: 20px; }
.cart-empty h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.cart-empty p { color: var(--rc-gray-500); margin-bottom: 24px; }

/* ===== CHECKOUT ===== */
.checkout-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; }
.checkout-form {
  background: white; border-radius: var(--rc-radius-lg); padding: 32px;
  box-shadow: var(--rc-shadow); border: 1px solid var(--rc-gray-100);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--rc-gray-700); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--rc-gray-300);
  border-radius: var(--rc-radius-sm); font-size: 15px; transition: var(--rc-transition);
  background: white;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--rc-blue-light); box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-card {
  background: white; border-radius: var(--rc-radius-lg); padding: 28px;
  box-shadow: var(--rc-shadow); border: 1px solid var(--rc-gray-100); margin-bottom: 20px;
  display: flex; align-items: flex-start; gap: 16px; transition: var(--rc-transition);
}
.contact-info-card:hover { transform: translateX(4px); border-color: var(--rc-blue-light); }
.contact-info-card .icon {
  width: 48px; height: 48px; border-radius: var(--rc-radius-sm);
  background: linear-gradient(135deg, var(--rc-blue-light), var(--rc-blue));
  display: flex; align-items: center; justify-content: center; color: white; flex-shrink: 0;
}
.contact-info-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.contact-info-card p { font-size: 14px; color: var(--rc-gray-500); }
.contact-map {
  background: var(--rc-gray-200); border-radius: var(--rc-radius-lg); overflow: hidden;
  height: 400px; display: flex; align-items: center; justify-content: center;
  color: var(--rc-gray-500); font-size: 15px;
}

/* ===== ACCOUNT ===== */
.account-sidebar {
  background: white; border-radius: var(--rc-radius-lg); padding: 24px;
  box-shadow: var(--rc-shadow); border: 1px solid var(--rc-gray-100);
}
.account-sidebar a {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-radius: var(--rc-radius-sm); font-size: 15px; font-weight: 600;
  color: var(--rc-gray-600); transition: var(--rc-transition);
}
.account-sidebar a:hover, .account-sidebar a.active { background: var(--rc-gray-100); color: var(--rc-blue); }
.account-content {
  background: white; border-radius: var(--rc-radius-lg); padding: 32px;
  box-shadow: var(--rc-shadow); border: 1px solid var(--rc-gray-100);
}

/* ===== SEARCH ===== */
.search-bar-large {
  max-width: 700px; margin: 0 auto 40px;
  display: flex; background: white; border-radius: var(--rc-radius-lg);
  box-shadow: var(--rc-shadow-lg); border: 1px solid var(--rc-gray-200); overflow: hidden;
}
.search-bar-large input {
  flex: 1; padding: 18px 24px; border: none; font-size: 16px; outline: none;
}
.search-bar-large button {
  padding: 0 28px; background: var(--rc-blue); color: white; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.search-bar-large button:hover { background: var(--rc-blue-dark); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 1000;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  transition: var(--rc-transition); animation: pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ===== TOAST ===== */
.toast-container {
  position: fixed; top: 90px; right: 24px; z-index: 3000;
  display: flex; flex-direction: column; gap: 12px;
}
.toast {
  background: white; border-radius: var(--rc-radius); padding: 16px 20px;
  box-shadow: var(--rc-shadow-xl); border-left: 4px solid var(--rc-green);
  display: flex; align-items: center; gap: 12px; min-width: 300px;
  animation: slideInRight 0.3s ease-out;
}
.toast.error { border-left-color: var(--rc-red); }
.toast svg { width: 20px; height: 20px; color: var(--rc-green); flex-shrink: 0; }
.toast.error svg { color: var(--rc-red); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-content p { margin: 0 auto 32px; }
  .hero-btns { justify-content: center; }
  .hero-image { order: -1; }
  .hero-badge { display: none; }
  .pd-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-inner { height: 64px; }
  .hero { padding-top: 64px; min-height: auto; }
  .hero-content h1 { font-size: 32px; }
  .section { padding: 60px 16px; }
  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cart-table thead { display: none; }
  .cart-table tr { display: block; margin-bottom: 20px; background: white; border-radius: var(--rc-radius); padding: 16px; box-shadow: var(--rc-shadow); }
  .cart-table td { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border: none; }
  .cart-table td::before { content: attr(data-label); font-weight: 600; color: var(--rc-gray-500); font-size: 13px; }
  .form-row { grid-template-columns: 1fr; }
  .page-header { padding: 100px 16px 40px; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 28px; }
  .btn { padding: 12px 24px; font-size: 14px; }
  .product-btns { flex-direction: column; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--rc-gray-100); }
::-webkit-scrollbar-thumb { background: var(--rc-gray-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--rc-gray-400); }

/* ===== LOADING ===== */
.skeleton {
  background: linear-gradient(90deg, var(--rc-gray-100) 25%, var(--rc-gray-200) 50%, var(--rc-gray-100) 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
  border-radius: var(--rc-radius-sm);
}

/* API Loading States */
.loading-skeleton { background: linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 8px; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* Auth Modal */
.modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.6); z-index:3000; display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition:opacity 0.3s; }
.modal-overlay.open { opacity:1; pointer-events:auto; }
.modal { background:white; border-radius:16px; padding:32px; width:100%; max-width:420px; box-shadow:0 25px 50px rgba(0,0,0,0.25); transform:scale(0.95); transition:transform 0.3s; }
.modal-overlay.open .modal { transform:scale(1); }
.modal h2 { font-size:22px; font-weight:800; margin-bottom:4px; }
.modal p { color:var(--rc-gray-500); font-size:14px; margin-bottom:20px; }
.modal .form-group { margin-bottom:14px; }
.modal .form-group label { font-size:13px; font-weight:600; color:var(--rc-gray-700); margin-bottom:4px; display:block; }
.modal .form-group input { width:100%; padding:12px 14px; border:1px solid var(--rc-gray-300); border-radius:10px; font-size:14px; }
.modal .form-group input:focus { outline:none; border-color:var(--rc-blue-light); box-shadow:0 0 0 3px rgba(37,99,235,0.1); }
.modal .btn { width:100%; justify-content:center; margin-top:8px; }
.modal .switch { text-align:center; margin-top:16px; font-size:13px; color:var(--rc-gray-500); }
.modal .switch a { color:var(--rc-blue-light); font-weight:600; cursor:pointer; }
.modal .close-btn { position:absolute; top:16px; right:16px; width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--rc-gray-400); transition:all 0.2s; }
.modal .close-btn:hover { background:var(--rc-gray-100); color:var(--rc-gray-700); }

/* User dropdown */
.user-menu { position:relative; }
.user-dropdown { position:absolute; top:48px; right:0; background:white; border-radius:12px; box-shadow:0 10px 40px rgba(0,0,0,0.15); padding:8px; min-width:180px; opacity:0; pointer-events:none; transform:translateY(-8px); transition:all 0.2s; z-index:100; }
.user-dropdown.open { opacity:1; pointer-events:auto; transform:translateY(0); }
.user-dropdown a { display:flex; align-items:center; gap:10px; padding:10px 14px; border-radius:8px; font-size:14px; font-weight:500; color:var(--rc-gray-700); transition:all 0.2s; }
.user-dropdown a:hover { background:var(--rc-gray-50); color:var(--rc-blue); }

/* Payment methods */
.payment-method { display:flex; align-items:center; gap:14px; padding:18px; border:2px solid var(--rc-gray-200); border-radius:12px; cursor:pointer; transition:all 0.2s; margin-bottom:12px; }
.payment-method:hover { border-color:var(--rc-blue-light); }
.payment-method.selected { border-color:var(--rc-blue); background:#eff6ff; }
.payment-method .pm-icon { width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:24px; background:var(--rc-gray-100); flex-shrink:0; }
.payment-method.selected .pm-icon { background:var(--rc-blue); }
.payment-method .pm-info h4 { font-size:15px; font-weight:700; }
.payment-method .pm-info p { font-size:13px; color:var(--rc-gray-500); margin:0; }
.payment-method input { width:20px; height:20px; accent-color:var(--rc-blue); }

/* Order status badges */
.status-pending { background:#fef3c7; color:#d97706; }
.status-confirmed { background:#dbeafe; color:#2563eb; }
.status-processing { background:#e0e7ff; color:#4f46e5; }
.status-shipped { background:#dcfce7; color:#16a34a; }
.status-delivered { background:#dcfce7; color:#16a34a; }
.status-cancelled { background:#fee2e2; color:#dc2626; }

/* Admin link in header */
.admin-link { background:linear-gradient(135deg,var(--rc-orange),#fb923c); color:white !important; padding:6px 14px !important; border-radius:20px; font-size:13px !important; }
.admin-link::after { display:none !important; }


/* =========================================================
   RAINBOW COLORS — PREMIUM CORPORATE HOMEPAGE OVERRIDES
   ========================================================= */
.premium-topbar{
  position:fixed;top:0;left:0;right:0;height:34px;z-index:1100;
  display:flex;align-items:center;justify-content:center;gap:clamp(18px,4vw,70px);
  padding:0 20px;background:#071326;color:rgba(255,255,255,.86);
  font-size:11px;font-weight:600;letter-spacing:.2px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.premium-header{
  top:34px!important;
  background:rgba(7,19,38,.82)!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
  backdrop-filter:blur(18px)!important;
}
.premium-header .header-inner{height:78px}
.premium-header .logo img{height:52px;width:auto;max-width:100%;object-fit:contain}
.premium-header .nav-link{color:rgba(255,255,255,.78)}
.premium-header .nav-link:hover,.premium-header .nav-link.active{color:#fff}
.premium-header .nav-link::after{background:linear-gradient(90deg,#fbbf24,#22c55e,#06b6d4,#a855f7)}
.premium-header .icon-btn{color:rgba(255,255,255,.9)}
.premium-header .icon-btn:hover{background:rgba(255,255,255,.12);color:#fff}

.premium-hero{
  min-height:calc(100vh - 34px);padding-top:112px!important;
  background:
    radial-gradient(circle at 78% 18%,rgba(30,64,175,.32),transparent 30%),
    radial-gradient(circle at 12% 80%,rgba(124,58,237,.18),transparent 28%),
    linear-gradient(120deg,#061224 0%,#0a1b34 48%,#102c4c 100%);
}
.premium-hero::before{
  opacity:.28;
  background-image:
    radial-gradient(circle at 15% 20%,rgba(255,255,255,.12) 0 1px,transparent 2px),
    radial-gradient(circle at 75% 70%,rgba(255,255,255,.09) 0 1px,transparent 2px);
  background-size:90px 90px,130px 130px;
}
.premium-hero .hero-inner{min-height:760px;max-width:1500px;grid-template-columns:1.02fr .98fr;gap:70px;padding:60px 34px 90px}
.premium-kicker{
  display:inline-flex;align-items:center;gap:10px;color:#fbbf24;
  font-size:13px;font-weight:800;letter-spacing:3px;margin-bottom:22px
}
.premium-kicker::before{content:'';width:34px;height:2px;background:linear-gradient(90deg,#fbbf24,#22c55e)}
.premium-hero .hero-content h1{
  font-size:clamp(48px,6vw,82px);line-height:1.02;letter-spacing:-3px;
  margin-bottom:28px;max-width:760px
}
.premium-hero .hero-content h1 span{
  background:linear-gradient(90deg,#ffb300 0%,#ff4d6d 30%,#8b5cf6 55%,#06b6d4 78%,#22c55e 100%);
  -webkit-background-clip:text;background-clip:text
}
.premium-hero .hero-content p{
  max-width:610px;font-size:18px;line-height:1.75;color:rgba(255,255,255,.72);margin-bottom:34px
}
.btn-premium{
  background:linear-gradient(135deg,#ffc400,#ff9f00);color:#081526!important;
  border-radius:10px;padding:15px 25px;box-shadow:0 12px 35px rgba(255,170,0,.25);
  font-weight:800
}
.btn-premium:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(255,170,0,.35)}
.btn-premium span{font-size:20px;line-height:0}
.premium-hero .btn-outline{border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.04);border-radius:10px}
.premium-hero .btn-outline:hover{background:rgba(255,255,255,.1)}

.hero-trust{
  display:flex;gap:28px;margin-top:46px;padding-top:22px;
  border-top:1px solid rgba(255,255,255,.12);max-width:680px
}
.hero-trust>div{display:flex;align-items:center;gap:9px;color:rgba(255,255,255,.88);font-size:12px;font-weight:700;line-height:1.25}
.hero-trust strong{
  width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:rgba(34,197,94,.13);border:1px solid rgba(34,197,94,.35);color:#4ade80
}
.hero-trust small{color:rgba(255,255,255,.5);font-weight:500}

.premium-hero-image{min-height:560px;isolation:isolate}
.premium-hero-image::before{
  content:'';position:absolute;width:470px;height:470px;border-radius:50%;z-index:-2;
  background:conic-gradient(from 20deg,#ffb000,#ff3d68,#8b5cf6,#06b6d4,#22c55e,#ffb000);
  filter:blur(1px);opacity:.85
}
.premium-hero-image::after{
  content:'';position:absolute;width:500px;height:500px;border-radius:50%;z-index:-1;
  background:#081629;box-shadow:0 0 90px rgba(6,182,212,.18)
}
.hero-image-ring{
  position:absolute;width:550px;height:550px;border:1px solid rgba(255,255,255,.13);
  border-radius:50%;z-index:-1
}
.premium-hero-image img{
  width:min(92%,560px);height:520px;object-fit:contain;border-radius:22px;
  filter:drop-shadow(0 35px 40px rgba(0,0,0,.4));
  box-shadow:none!important
}
.floating-card{
  position:absolute;right:-8px;bottom:10px;display:flex;align-items:center;gap:12px;
  padding:16px 19px;border:1px solid rgba(255,255,255,.16);border-radius:14px;
  background:rgba(10,25,45,.76);backdrop-filter:blur(16px);box-shadow:0 18px 45px rgba(0,0,0,.3);
  color:#fff;max-width:270px
}
.floating-card>span{font-size:25px;color:#fbbf24}
.floating-card strong{display:block;font-size:13px;letter-spacing:.3px}
.floating-card small{display:block;color:rgba(255,255,255,.55);font-size:10px;margin-top:3px;line-height:1.4}

.paint-one,.paint-two,.paint-three{
  position:absolute;pointer-events:none;filter:blur(.2px);opacity:.8
}
.paint-one{
  width:430px;height:130px;left:-100px;top:170px;
  background:linear-gradient(90deg,#ffb000,#ff4d6d,#a855f7);
  border-radius:70% 35% 65% 40%;transform:rotate(-22deg);filter:blur(8px)
}
.paint-two{
  width:390px;height:100px;right:-80px;bottom:125px;
  background:linear-gradient(90deg,#06b6d4,#22c55e,#facc15);
  border-radius:45% 70% 35% 65%;transform:rotate(-28deg);filter:blur(8px)
}
.paint-three{
  width:190px;height:45px;right:15%;top:145px;
  background:linear-gradient(90deg,#ff3d68,#a855f7,#06b6d4);
  border-radius:50%;transform:rotate(20deg);filter:blur(10px);opacity:.5
}
.hero-glow{
  position:absolute;inset:auto auto 5% 35%;width:360px;height:160px;
  background:rgba(59,130,246,.18);filter:blur(80px);border-radius:50%
}
.hero-scroll{
  position:absolute;bottom:18px;left:50%;transform:translateX(-50%);
  color:rgba(255,255,255,.4);font-size:9px;letter-spacing:3px;font-weight:700
}
.hero-scroll span{margin-left:8px;color:#fbbf24;font-size:15px}

@media (max-width:1024px){
  .premium-topbar span:nth-child(2),.premium-topbar span:nth-child(3){display:none}
  .premium-hero .hero-inner{min-height:auto;grid-template-columns:1fr;gap:35px;text-align:center}
  .premium-hero .hero-content p{margin-left:auto;margin-right:auto}
  .premium-hero .hero-btns{justify-content:center}
  .hero-trust{justify-content:center;margin-left:auto;margin-right:auto}
  .premium-hero-image{order:0;min-height:470px}
}
@media (max-width:768px){
  .premium-topbar{height:30px;font-size:10px}
  .premium-header{top:30px!important}
  .premium-header .header-inner{height:64px}
  .premium-header .logo img{height:43px}
  .premium-hero{padding-top:94px!important}
  .premium-hero .hero-inner{padding:40px 20px 70px}
  .premium-hero .hero-content h1{font-size:42px;letter-spacing:-2px}
  .premium-hero .hero-content p{font-size:15px}
  .premium-hero-image{min-height:360px}
  .premium-hero-image::before{width:300px;height:300px}
  .premium-hero-image::after{width:325px;height:325px}
  .hero-image-ring{width:350px;height:350px}
  .premium-hero-image img{height:340px}
  .floating-card{right:0;bottom:0;transform:scale(.88);transform-origin:right bottom}
  .hero-trust{gap:12px;justify-content:space-between}
  .hero-trust>div{font-size:10px}
  .hero-trust>div:nth-child(3){display:none}
}
@media (max-width:480px){
  .premium-topbar span{font-size:9px}
  .premium-hero .hero-content h1{font-size:34px}
  .premium-kicker{font-size:10px;letter-spacing:2px}
  .premium-hero-image{min-height:300px}
  .premium-hero-image img{height:285px}
  .hero-trust{display:none}
  .paint-one{left:-160px}.paint-two{right:-180px}
}



/* ===== PREMIUM CATEGORY COLLECTION ===== */
.section:has(#homeCategories){
  background:linear-gradient(180deg,#f7f9fc 0%,#ffffff 100%);
}
.section:has(#homeCategories) .section-header{
  max-width:900px;margin-left:auto;margin-right:auto;
}
.section:has(#homeCategories) .section-header .subtitle{
  color:#9a6700;background:rgba(234,179,8,.10);border:1px solid rgba(234,179,8,.20);
  letter-spacing:2.5px;font-size:10px;font-weight:800;padding:8px 13px;border-radius:999px;
}
.section:has(#homeCategories) .section-header h2{
  color:#0b1730;font-size:clamp(34px,4vw,52px);letter-spacing:-1.8px;margin-top:16px;
}
.section:has(#homeCategories) .section-header h2 span{
  background:linear-gradient(90deg,#b77900,#eab308,#8b5cf6,#06b6d4);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.section:has(#homeCategories) .section-header p{
  color:#718096;font-size:15px;margin-top:12px;
}
#homeCategories.categories-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;margin-top:42px;
}
.premium-category-card{
  position:relative;display:flex;flex-direction:column;min-height:245px;
  padding:25px 24px 23px!important;overflow:hidden;
  background:rgba(255,255,255,.92)!important;
  border:1px solid #e6ebf2!important;border-top:1px solid #e6ebf2!important;
  border-radius:18px!important;
  box-shadow:0 8px 30px rgba(15,23,42,.055)!important;
  transition:transform .4s cubic-bezier(.2,.7,.2,1),box-shadow .4s,border-color .4s;
}
.premium-category-card::before{
  content:'';position:absolute;inset:0 0 auto 0;height:3px;
  background:var(--category-color);opacity:.9;
}
.premium-category-card::after{
  content:'';position:absolute;width:150px;height:150px;right:-75px;bottom:-85px;
  border-radius:50%;background:var(--category-color);opacity:.055;
  transition:transform .5s,opacity .5s;
}
.premium-category-card:hover{
  transform:translateY(-8px);border-color:rgba(15,23,42,.12)!important;
  box-shadow:0 20px 50px rgba(15,23,42,.12)!important;
}
.premium-category-card:hover::after{transform:scale(1.5);opacity:.10}
.category-card-top{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.category-eyebrow{
  font-size:9px;line-height:1;font-weight:800;letter-spacing:2px;color:#94a3b8;
}
.category-number{
  font-size:11px;font-weight:800;letter-spacing:1px;color:var(--category-color);
  background:color-mix(in srgb,var(--category-color) 9%,white);
  padding:7px 9px;border-radius:8px;
}
.category-accent{
  width:46px;height:4px;margin-top:34px;border-radius:999px;background:var(--category-color);
  box-shadow:0 0 22px color-mix(in srgb,var(--category-color) 40%,transparent);
}
.category-card-content{margin-top:auto;padding-right:18px}
.premium-category-card h3{
  color:#14213d!important;font-size:19px!important;line-height:1.25!important;
  font-weight:750!important;letter-spacing:-.35px!important;margin:0 0 8px!important;
}
.premium-category-card p{
  color:#8a96a8!important;font-size:12px!important;margin:0!important;
}
.category-arrow{
  position:absolute;right:21px;bottom:21px;width:34px;height:34px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#14213d;border:1px solid #e2e8f0;background:#fff;
  font-size:17px;transition:all .35s;
}
.premium-category-card:hover .category-arrow{
  color:#fff;border-color:var(--category-color);background:var(--category-color);
  transform:translate(2px,-2px);
}
/* Remove the old playful icon treatment from the premium collection cards */
.premium-category-card .category-icon{display:none}

@media(max-width:1100px){
  #homeCategories.categories-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  #homeCategories.categories-grid{grid-template-columns:1fr 1fr;gap:12px;margin-top:30px}
  .premium-category-card{min-height:205px;padding:20px 18px 19px!important;border-radius:15px!important}
  .premium-category-card h3{font-size:16px!important}
  .category-accent{margin-top:26px;width:38px;height:3px}
  .category-arrow{width:30px;height:30px;right:15px;bottom:15px}
}
@media(max-width:420px){
  #homeCategories.categories-grid{grid-template-columns:1fr}
}

/* ===== MOBILE APP SHOWCASE — RAINBOW COLORS ===== */
.app-download-hero{
  position:relative;overflow:hidden;
  background:linear-gradient(120deg,#f7f9fc 0%,#eef4ff 48%,#fff8e7 100%);
  border-top:1px solid #e7edf5;border-bottom:1px solid #e7edf5;
}
.app-download-hero::before{
  content:'';position:absolute;width:520px;height:520px;right:-180px;top:-250px;border-radius:50%;
  background:linear-gradient(135deg,rgba(37,99,235,.16),rgba(168,85,247,.10),rgba(234,179,8,.13));
  filter:blur(2px);
}
.app-download-inner{
  max-width:1400px;margin:0 auto;min-height:410px;padding:48px 34px;
  display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:50px;
  position:relative;z-index:1;
}
.app-download-copy{max-width:720px}
.app-download-kicker{
  display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;
  background:#fff;border:1px solid #e2e8f0;color:#1a3a7a;font-size:10px;font-weight:850;letter-spacing:1.5px;
  box-shadow:0 5px 18px rgba(15,23,42,.05);
}
.app-download-copy h2{
  margin:17px 0 12px;color:#0b1730;font-size:clamp(30px,3.5vw,46px);line-height:1.08;
  letter-spacing:-1.6px;font-weight:850;
}
.app-download-copy p{margin:0 0 22px;color:#64748b;font-size:15px;line-height:1.7;max-width:610px}
.app-store-actions{display:flex;flex-wrap:wrap;gap:12px}
.store-badge{
  display:flex;align-items:center;gap:11px;min-width:188px;padding:11px 16px;
  border-radius:12px;color:#fff!important;box-shadow:0 10px 25px rgba(15,23,42,.12);
  transition:transform .25s,box-shadow .25s;
}
.store-badge:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(15,23,42,.18)}
.google-badge{background:#111827}
.apple-badge{background:#050505}
.store-badge-icon{font-size:25px;line-height:1;width:28px;text-align:center}
.store-badge small{display:block;font-size:8px;letter-spacing:.7px;opacity:.68;font-weight:700;line-height:1.2}
.store-badge strong{display:block;font-size:17px;line-height:1.25;margin-top:2px}
.app-download-note{margin-top:13px;color:#94a3b8;font-size:11px;font-weight:600}
.app-device-showcase{height:330px;display:flex;align-items:center;justify-content:center;position:relative}
.app-glow{
  position:absolute;width:250px;height:250px;border-radius:50%;
  background:conic-gradient(#f59e0b,#ec4899,#8b5cf6,#06b6d4,#22c55e,#f59e0b);
  filter:blur(32px);opacity:.22;
}
.phone-mockup{
  position:relative;width:190px;height:345px;padding:7px;border-radius:32px;
  background:linear-gradient(145deg,#0f172a,#334155);box-shadow:0 28px 55px rgba(15,23,42,.28),0 0 0 2px rgba(255,255,255,.5);
  transform:rotate(5deg);z-index:2;
}
.phone-mockup::before{
  content:'';position:absolute;inset:4px;border-radius:28px;border:1px solid rgba(255,255,255,.16);pointer-events:none;z-index:3;
}
.phone-speaker{position:absolute;top:13px;left:50%;transform:translateX(-50%);width:55px;height:14px;border-radius:20px;background:#020617;z-index:5}
.phone-screen{
  height:100%;border-radius:26px;overflow:hidden;background:linear-gradient(180deg,#fff 0%,#f7f9fc 100%);
  padding:25px 12px 12px;position:relative;
}
.phone-status{display:flex;justify-content:space-between;font-size:7px;color:#475569;font-weight:800;margin-bottom:18px}
.phone-status span{letter-spacing:2px}
.phone-screen>img{width:62px;height:28px;object-fit:contain;margin:0 auto 9px;border-radius:4px}
.phone-app-title{text-align:center;font-size:13px;font-weight:850;color:#12213c}
.phone-app-subtitle{text-align:center;font-size:7px;color:#94a3b8;margin-top:2px}
.phone-product-card{
  margin-top:22px;background:#fff;border:1px solid #e8edf4;border-radius:13px;padding:8px;
  box-shadow:0 8px 18px rgba(15,23,42,.07)
}
.phone-product-card>img{width:100%;height:118px;object-fit:cover;border-radius:9px}
.phone-product-card strong{display:block;color:#1e293b;font-size:8px;margin-top:7px}
.phone-product-card small{display:block;color:#94a3b8;font-size:6px;margin-top:2px}
.phone-nav{
  position:absolute;left:9px;right:9px;bottom:9px;height:31px;border-radius:11px;background:#fff;
  border:1px solid #e8edf4;box-shadow:0 5px 12px rgba(15,23,42,.07);
  display:flex;align-items:center;justify-content:space-around;color:#64748b;font-size:12px
}
.phone-nav span:first-child{color:#2563eb}
@media(max-width:900px){
  .app-download-inner{grid-template-columns:1fr;text-align:center;gap:20px;padding:42px 20px}
  .app-download-copy{margin:0 auto}
  .app-download-copy p{margin-left:auto;margin-right:auto}
  .app-store-actions{justify-content:center}
  .app-device-showcase{height:315px}
}
@media(max-width:480px){
  .app-download-copy h2{font-size:29px}
  .store-badge{min-width:165px;padding:10px 12px}
  .store-badge strong{font-size:15px}
  .phone-mockup{transform:rotate(3deg) scale(.9)}
  .app-device-showcase{height:285px}
}
/* ========================================================= */


/* ===== RAINBOW LUXURY VISUAL LAYER ===== */
.premium-header {
  background: rgba(255,255,255,.88);
  border-bottom-color: rgba(37,99,235,.12);
  box-shadow: 0 8px 30px rgba(15,23,42,.06);
}
.premium-header .logo img { filter: drop-shadow(0 6px 14px rgba(37,99,235,.12)); }
.premium-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(255,59,107,.24), transparent 24%),
    radial-gradient(circle at 72% 78%, rgba(0,194,255,.20), transparent 28%),
    radial-gradient(circle at 16% 78%, rgba(124,58,237,.18), transparent 26%),
    linear-gradient(135deg,#08122d 0%,#122653 50%,#173e8a 100%);
}
.premium-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg,#ff3b6b,#ffb800,#00c2ff,#7c3aed,#16c784);
  background-size: 200% 100%;
  animation: shimmer 5s linear infinite;
}
.premium-kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.15);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
}
.premium-hero-image { min-height: 500px; }
.premium-hero-image::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: conic-gradient(#ff3b6b,#ffb800,#00c2ff,#7c3aed,#16c784,#ff3b6b);
  opacity: .34;
  filter: blur(2px);
  animation: pulse 5s ease-in-out infinite;
}
.premium-hero-image img {
  position: relative;
  width: min(100%,520px);
  border: 6px solid rgba(255,255,255,.78);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}
.categories-grid .category-card,
.products-grid .product-card {
  position: relative;
}
.products-grid .product-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg,#ff3b6b,#ffb800,#00c2ff,#7c3aed,#16c784);
  background-size: 200% 100%;
  opacity: .65;
  transition: var(--rc-transition);
}
.products-grid .product-card:hover::before {
  opacity: 1;
  animation: shimmer 2.8s linear infinite;
}
.products-grid .product-card:hover {
  border-color: rgba(37,99,235,.20);
}
.category-card:hover {
  box-shadow: 0 18px 45px rgba(15,23,42,.12);
}
.app-download-hero {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,59,107,.18), transparent 24%),
    radial-gradient(circle at 80% 80%, rgba(0,194,255,.16), transparent 26%),
    linear-gradient(135deg,#0b1530,#152c62);
  position: relative;
  overflow: hidden;
}
.app-download-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg,#ff3b6b,#ffb800,#00c2ff,#7c3aed,#16c784);
}
.store-badge:hover {
  transform: translateY(-4px) scale(1.01);
}
.phone-mockup {
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}


/* =========================================================
   RAINBOW COLORS — IMMERSIVE MOTION & BRAND LAYER
   ========================================================= */
html { scroll-behavior: smooth; }
body {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 8% 8%, rgba(37,99,235,.055), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(255,59,107,.045), transparent 22%),
    radial-gradient(circle at 20% 92%, rgba(124,58,237,.04), transparent 24%),
    var(--rc-gray-50);
}
body::before {
  content: '';
  position: fixed;
  inset: -16%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 20%, rgba(255,59,107,.11) 0, rgba(255,59,107,0) 13%),
    radial-gradient(circle at 83% 25%, rgba(0,194,255,.11) 0, rgba(0,194,255,0) 14%),
    radial-gradient(circle at 72% 78%, rgba(124,58,237,.10) 0, rgba(124,58,237,0) 15%),
    radial-gradient(circle at 20% 83%, rgba(255,184,0,.08) 0, rgba(255,184,0,0) 13%);
  filter: blur(10px);
  animation: rcAmbientMove 16s ease-in-out infinite alternate;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .38;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(37,99,235,.10) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 70%, rgba(255,59,107,.08) 0 1px, transparent 1.5px);
  background-size: 34px 34px, 42px 42px;
  background-position: 0 0, 12px 8px;
  animation: rcParticleDrift 24s linear infinite;
}
@keyframes rcAmbientMove {
  0% { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  50% { transform: translate3d(1%, 1.5%, 0) scale(1.04); }
  100% { transform: translate3d(-.5%, 1%, 0) scale(1.02); }
}
@keyframes rcParticleDrift {
  from { background-position: 0 0, 12px 8px; }
  to { background-position: 90px 60px, -30px 70px; }
}

/* Header brand: the logo artwork already contains the wordmark */
.logo {
  gap: 0;
  min-width: 0;
}
.logo img {
  height: 46px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Entry loader */
#rcPageLoader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.10), transparent 28%),
    linear-gradient(135deg,#07112a 0%,#11265a 55%,#0b1530 100%);
  transition: opacity .55s ease, visibility .55s ease;
}
#rcPageLoader.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.rc-loader-inner {
  width: min(420px, 86vw);
  text-align: center;
  transform: translateY(0);
  animation: rcLoaderRise .8s cubic-bezier(.2,.7,.2,1) both;
}
.rc-loader-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 86px;
  padding: 12px;
  border-radius: 26px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 28px 70px rgba(0,0,0,.24);
}
.rc-loader-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
}
.rc-loader-title {
  margin-top: 18px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.8px;
}
.rc-loader-subtitle {
  margin-top: 7px;
  color: rgba(255,255,255,.65);
  font-size: 11px;
  letter-spacing: 2.2px;
  font-weight: 700;
}
.rc-loader-bar {
  width: 100%;
  height: 4px;
  margin-top: 24px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
}
.rc-loader-bar span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,#ff3b6b,#ffb800,#00c2ff,#7c3aed,#16c784);
  background-size: 200% 100%;
  animation: rcLoaderBar 1.35s ease-in-out infinite;
}
@keyframes rcLoaderRise {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes rcLoaderBar {
  0% { transform: translateX(-110%); background-position: 0 0; }
  50% { transform: translateX(90%); background-position: 100% 0; }
  100% { transform: translateX(230%); background-position: 200% 0; }
}

/* Scroll reveal */
.rc-reveal {
  opacity: 0;
  transform: translateY(28px) scale(.985);
  transition:
    opacity .75s cubic-bezier(.2,.7,.2,1),
    transform .75s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--rc-delay, 0ms);
}
.rc-reveal.rc-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Paint shapes / moving background */
.premium-hero {
  overflow: hidden;
}
.premium-hero .paint-one,
.premium-hero .paint-two,
.premium-hero .paint-three {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 48% 52% 60% 40% / 45% 38% 62% 55%;
  filter: blur(.2px);
  opacity: .34;
  mix-blend-mode: screen;
}
.premium-hero .paint-one {
  width: 360px;
  height: 210px;
  left: -90px;
  top: 8%;
  background: linear-gradient(110deg,rgba(255,59,107,.9),rgba(255,184,0,.04));
  transform: rotate(-15deg);
  animation: rcPaintOne 10s ease-in-out infinite alternate;
}
.premium-hero .paint-two {
  width: 440px;
  height: 250px;
  right: -120px;
  bottom: 8%;
  background: linear-gradient(110deg,rgba(0,194,255,.02),rgba(0,194,255,.85),rgba(124,58,237,.22));
  transform: rotate(18deg);
  animation: rcPaintTwo 12s ease-in-out infinite alternate;
}
.premium-hero .paint-three {
  width: 230px;
  height: 130px;
  right: 33%;
  top: 9%;
  background: linear-gradient(110deg,rgba(124,58,237,.55),rgba(255,255,255,0));
  animation: rcPaintThree 9s ease-in-out infinite alternate;
}
@keyframes rcPaintOne {
  0% { transform: translate3d(0,0,0) rotate(-15deg) scale(1); }
  100% { transform: translate3d(80px,28px,0) rotate(-5deg) scale(1.12); }
}
@keyframes rcPaintTwo {
  0% { transform: translate3d(0,0,0) rotate(18deg) scale(1); }
  100% { transform: translate3d(-90px,-30px,0) rotate(8deg) scale(1.10); }
}
@keyframes rcPaintThree {
  0% { transform: translate3d(0,0,0) rotate(-10deg); opacity:.23; }
  100% { transform: translate3d(-40px,28px,0) rotate(12deg); opacity:.42; }
}

/* More depth on common interactive elements */
.btn,
.icon-btn,
.category-card,
.product-card,
.promo-card,
.store-badge,
.contact-info-card,
.review-card {
  will-change: transform;
}
.btn:hover { transform: translateY(-4px); }
.product-card { transition: transform .42s cubic-bezier(.2,.7,.2,1), box-shadow .42s, border-color .42s; }
.product-card:hover { transform: translateY(-9px); }
.category-card { transition: transform .42s cubic-bezier(.2,.7,.2,1), box-shadow .42s, border-color .42s; }
.category-card:hover { transform: translateY(-8px) scale(1.01); }
.promo-card:hover { transform: translateY(-7px) scale(1.01); }
.icon-btn:hover { transform: translateY(-2px) scale(1.05); }

/* Product image micro-zoom */
.product-card .product-image img,
.product-card .product-image img {
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.product-card:hover .product-image img { transform: scale(1.08); }

/* Stronger hero entrance */
.premium-hero .hero-content {
  animation-duration: .85s;
}
.premium-hero .hero-image {
  animation-duration: 1s;
}
.premium-hero .hero-trust > div {
  animation: rcTrustIn .7s cubic-bezier(.2,.7,.2,1) both;
}
.premium-hero .hero-trust > div:nth-child(1) { animation-delay: .55s; }
.premium-hero .hero-trust > div:nth-child(2) { animation-delay: .68s; }
.premium-hero .hero-trust > div:nth-child(3) { animation-delay: .81s; }
@keyframes rcTrustIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .logo { min-width: 0; }
  .logo img { height: 38px; width: auto; }
}
@media (max-width: 430px) {
  .logo img { height: 34px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .rc-reveal { opacity: 1; transform: none; }
}


/* ===== RAINBOW COLORS — BRAND LOGO ===== */
/* The new SVG already includes the wordmark, so keep it unaltered and
   preserve its 500:168 aspect ratio at every breakpoint. */
.logo img.rainbow-brand-logo,
.premium-header .logo img.rainbow-brand-logo {
  width: auto;
  height: 52px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none;
}
.footer-brand img.rainbow-footer-logo {
  width: auto;
  height: 48px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none;
}
@media (max-width: 768px) {
  .logo img.rainbow-brand-logo,
  .premium-header .logo img.rainbow-brand-logo {
    height: 42px;
  }
}
@media (max-width: 430px) {
  .logo img.rainbow-brand-logo,
  .premium-header .logo img.rainbow-brand-logo {
    height: 36px;
  }
  .footer-brand img.rainbow-footer-logo {
    height: 42px;
  }
}

/* ===== PREMIUM CATEGORY VISUALS ===== */
.page-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#b77900;
  font-size:10px;
  font-weight:900;
  letter-spacing:2.8px;
  text-transform:uppercase;
  margin-bottom:12px;
}
#catGrid.categories-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
.premium-category-card{
  padding:0!important;
  min-height:0!important;
  overflow:hidden;
}
.premium-category-card::before,
.premium-category-card::after{
  display:none;
}
.category-media{
  position:relative;
  height:220px;
  overflow:hidden;
  background:#eef2f7;
}
.category-media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .45s ease;
}
.category-media-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(5,15,30,.02) 28%,rgba(5,15,30,.78) 100%);
  pointer-events:none;
}
.category-media-placeholder{
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  background:
    radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--category-color) 42%, transparent) 0%, transparent 44%),
    linear-gradient(145deg, color-mix(in srgb, var(--category-color) 24%, #101010) 0%, #0b0b0b 78%);
}
.category-media-placeholder::before{
  content:"";
  position:absolute;
  right:-42px;
  bottom:-86px;
  width:196px;
  height:196px;
  border-radius:50%;
  background:var(--category-color);
  opacity:.13;
}
.category-media-placeholder::after{
  content:"";
  position:absolute;
  left:22px;
  bottom:22px;
  width:54px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--category-color),rgba(255,255,255,.18));
}
.category-media-placeholder + .category-card-body{
  min-height:196px;
  display:flex;
  flex-direction:column;
}
.category-media-placeholder + .category-card-body .category-cta{
  margin-top:auto;
  padding-top:17px;
}
.premium-category-card:hover .category-media img{
  transform:scale(1.06);
  filter:saturate(1.08);
}
.category-media .category-number{
  position:absolute;
  right:16px;
  top:16px;
  margin:0;
  color:#fff;
  background:rgba(7,19,38,.68);
  border:1px solid rgba(255,255,255,.20);
  backdrop-filter:blur(10px);
}
.category-card-body{
  padding:22px 22px 24px;
  background:#fff;
}
.category-card-body .category-eyebrow{
  color:#9aa6b6;
  margin-bottom:8px;
}
.premium-category-card h3{
  font-size:21px!important;
  margin-bottom:8px!important;
}
.premium-category-card p{
  min-height:38px;
  color:#66758a!important;
  line-height:1.6!important;
}
.category-cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:17px;
  color:#14213d;
  font-size:12px;
  font-weight:800;
  letter-spacing:.2px;
}
.category-cta span{
  font-size:17px;
  transition:transform .3s ease;
}
.premium-category-card:hover .category-cta span{
  transform:translateX(4px);
}
@media(max-width:1100px){
  #catGrid.categories-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  #catGrid.categories-grid{grid-template-columns:1fr;gap:16px}
  .category-media{height:215px}
  .category-card-body{padding:20px}
}


/* =========================================================
   RAINBOW COLORS — LUXURY BLACK & GOLD THEME
   Presentation-only overrides: preserve product data/functionality.
========================================================= */
:root {
  --rc-blue: #c9a44c;
  --rc-blue-light: #e5c66b;
  --rc-blue-dark: #8e6d24;
  --rc-white: #f8f4e9;
  --rc-gray-50: #111111;
  --rc-gray-100: #191919;
  --rc-gray-200: #2b2b2b;
  --rc-gray-300: #3a3529;
  --rc-gray-400: #b8ad91;
  --rc-gray-500: #c7bea8;
  --rc-gray-600: #d6ceb9;
  --rc-gray-700: #e4dcc8;
  --rc-gray-800: #eee7d6;
  --rc-gray-900: #f8f4e9;
  --rc-shadow-sm: 0 2px 8px rgba(0,0,0,.28);
  --rc-shadow: 0 8px 22px rgba(0,0,0,.35);
  --rc-shadow-lg: 0 14px 36px rgba(0,0,0,.42);
  --rc-shadow-xl: 0 22px 55px rgba(0,0,0,.5);
}
html, body { background:#0b0b0b; color:#eee7d6; }
body { background-color:#0b0b0b; color:#eee7d6; }
a { color:#dfbd61; }
a:hover { color:#f4d985; }
.premium-topbar { background:#080808 !important; color:#d8c58b !important; border-bottom:1px solid rgba(201,164,76,.22); }
header, .site-header, .premium-header, .main-header, nav, .navbar {
  background-color:rgba(12,12,12,.97);
  color:#f4edda;
  border-color:rgba(201,164,76,.22);
}
header a, nav a, .navbar a { color:#eee4c9; }
header a:hover, nav a:hover, .navbar a:hover { color:#e7c45f; }
section, .section, .category-card, .product-card, .feature-card, .info-card,
.auth-modal, .modal-content, .cart-item, .order-card, .account-card, .contact-card {
  border-color:rgba(201,164,76,.2);
}
.premium-hero, .hero, .hero-section {
  background-color:#11100d;
  color:#f8f1df;
}
h1, h2, h3, h4, .section-title { color:#e5c66b; }
p, label, .text-muted, .section-subtitle { color:#d0c8b5; }
input, select, textarea, .form-control {
  background:#171614 !important; color:#f7f0df !important;
  border:1px solid #514326 !important;
}
input::placeholder, textarea::placeholder { color:#9f967f !important; }
input:focus, select:focus, textarea:focus {
  border-color:#d6b451 !important; box-shadow:0 0 0 3px rgba(214,180,81,.13) !important;
}
button, .btn, .btn-primary, .button-primary, .checkout-btn {
  background:linear-gradient(135deg,#f0d783,#b18a2e) !important;
  color:#15120a !important; border:1px solid #e2c05c !important;
  font-weight:700; box-shadow:0 5px 16px rgba(190,148,43,.16);
}
button:hover, .btn:hover, .btn-primary:hover, .button-primary:hover, .checkout-btn:hover {
  background:linear-gradient(135deg,#ffe9a2,#c49a35) !important; color:#080808 !important;
}
.btn-outline, .btn-secondary, .button-secondary {
  background:transparent !important; color:#e5c66b !important; border:1px solid #a98938 !important;
}
.product-card, .category-card, .premium-category-card, .feature-card, .admin-card {
  background:linear-gradient(145deg,#191919,#101010);
  box-shadow:0 10px 28px rgba(0,0,0,.24);
}
.product-card:hover, .category-card:hover, .premium-category-card:hover {
  border-color:rgba(226,192,92,.65);
  box-shadow:0 14px 32px rgba(0,0,0,.4),0 0 0 1px rgba(226,192,92,.08);
}
.category-accent { background:linear-gradient(90deg,#8e6d24,#f0d783) !important; }
.category-number, .category-eyebrow, .category-arrow { color:#e5c66b !important; }
.badge, .product-badge { background:#352b14; color:#f0d783; border-color:#8e6d24; }
footer, .site-footer { background:#070707 !important; color:#d5c9a8 !important; border-top:1px solid rgba(201,164,76,.25); }
footer a, .site-footer a { color:#e5c66b; }
hr, .divider { border-color:rgba(201,164,76,.2); }
table { color:#eee7d6; }
th { background:#211c10; color:#e5c66b; }
td { border-color:#302a1c; }
tr:nth-child(even) { background:rgba(255,255,255,.025); }
::selection { background:#c9a44c; color:#111; }
@media (prefers-reduced-motion:no-preference) {
  .product-card, .category-card, button, .btn { transition:all .22s ease; }
}


/* =========================================================
   CATALOGUE-ONLY MODE — customer storefront
   No accounts, prices, basket, checkout, orders or favourites.
========================================================= */
.header-actions a[href="cart.html"],
.header-actions a[href="account.html"],
.header-actions a[href="orders.html"],
.header-actions a[href="wishlist.html"],
.header-actions .auth-btn,
.mobile-menu a[href="cart.html"],
.mobile-menu a[href="account.html"],
.mobile-menu a[href="orders.html"],
.mobile-menu a[href="wishlist.html"],
a[href="register.html"],
a[href="checkout.html"],
a[href="delete-account.html"],
a[href="account.html"],
a[href="cart.html"],
a[href="orders.html"],
a[href="wishlist.html"],
.auth-btn,
.cart-count,
#authModal,
.modal-overlay#authModal,
.user-dropdown,
.product-price,
.old-price,
.pd-price,
#pdPrice,
#pdStock,
.pd-qty,
.pd-actions,
.product-actions-overlay,
.product-btns,
.btn-cart,
.btn-buy,
.cart-summary,
.cart-table-wrap,
.checkout-summary,
.checkout-form,
.price-filter,
.price-range,
input[name="minPrice"],
input[name="maxPrice"],
#minPrice,
#maxPrice {
  display:none !important;
}
.footer-col:has(a[href="account.html"]),
.footer-col:has(a[href="cart.html"]),
.footer-col:has(a[href="orders.html"]),
.footer-col:has(a[href="wishlist.html"]) {
  display:none !important;
}
.catalogue-product-card { overflow:hidden; }
.catalogue-product-link { display:block; color:inherit; text-decoration:none; }
.catalogue-product-card .product-image { cursor:pointer; background:#f7f7f7; }
.catalogue-product-card .product-image img { object-fit:contain; padding:14px; transition:transform .35s ease; }
.catalogue-product-card:hover .product-image img { transform:scale(1.035); }
.product-image-fallback {
  display:none; position:absolute; inset:0; align-items:center; justify-content:center;
  padding:24px; text-align:center; color:#1b2430; font-size:18px; font-weight:800;
  background:linear-gradient(145deg,#f4efe3,#e8ddc2);
}
.product-image-missing .product-image-fallback { display:flex; }
.product-image-missing { background:#f4efe3 !important; }
.pd-gallery-main img { object-fit:contain; padding:18px; background:#fff; }
.catalogue-product-card .product-info { display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
.catalogue-product-card .product-name a { color:#e5c66b; text-decoration:none; }
.catalogue-product-card .product-name a:hover { color:#ffe7a0; }
.catalogue-details {
  display:inline-flex; align-items:center; gap:10px; margin-top:6px;
  padding:10px 15px; border-radius:9px; border:1px solid #b99742;
  background:linear-gradient(135deg,#f0d783,#b18a2e); color:#15120a !important;
  font-size:13px; font-weight:800; text-decoration:none; transition:transform .2s ease, box-shadow .2s ease;
}
.catalogue-details:hover { transform:translateY(-2px); box-shadow:0 7px 18px rgba(201,164,76,.22); color:#080808 !important; }
.product-card .product-desc { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.pd-info { color:#eee7d6; }
.pd-info .pd-category { color:#d7bd69; }
#homeProducts .product-card, #productList .product-card, #searchResults .product-card { min-width:0; }
@media (max-width:640px) {
 .catalogue-details { width:100%; justify-content:center; }
 .catalogue-product-card .product-info { padding:16px; }
}
/* Hide purchase/account language wherever an old component may still exist. */
#authModal, .auth-modal, .login-modal, .register-modal, [data-action="add-to-cart"],
[onclick*="addToCart"], [onclick*="toggleWishlist"], [href*="checkout.html"] {
  display:none !important;
}


/* Final visual lock: luxury noir & gold across every public catalogue page. */
html, body { background:#0a0a0a !important; color:#eee7d6 !important; }
main, section.section, .section:not(.promo-section), .page-header, .section-inner { color:#eee7d6; }
.premium-hero, .hero, .hero-section, .promo-section {
  background:#0b0b0b !important;
  background-image:radial-gradient(ellipse at 75% 15%,rgba(201,164,76,.10),transparent 38%),linear-gradient(135deg,#080808 0%,#121212 55%,#090909 100%) !important;
  color:#eee7d6 !important;
}
.premium-hero .hero-content h1 span,
.hero .hero-content h1 span,
.premium-kicker,
.hero-kicker { color:#e5c66b !important; background:none !important; -webkit-text-fill-color:#e5c66b !important; }
.hero-paint { display:none !important; }
.hero-glow, .app-glow { background:radial-gradient(circle,rgba(201,164,76,.16),transparent 70%) !important; }
.premium-hero-image::before { background:conic-gradient(from 20deg,#8e6d24,#f0d783,#b18a2e,#f0d783,#8e6d24) !important; opacity:.5 !important; }
.promo-card, .feature-card, .feature-item, .review-card, .contact-info-card, .app-download-copy {
  background:linear-gradient(145deg,#191919,#101010) !important;
  color:#eee7d6 !important; border-color:#3a321f !important;
}
.promo-card h3, .promo-card .btn, .feature-item h3, .review-card h3 { color:#e5c66b !important; }
.promo-card .btn, .promo-card .btn:hover {
  background:linear-gradient(135deg,#f0d783,#b18a2e) !important; color:#15120a !important;
}
.promo-section .section-header h2, .promo-section .section-header h2 span { color:#e5c66b !important; }
.promo-section .subtitle { background:rgba(201,164,76,.12) !important; color:#e5c66b !important; border:1px solid #6b5524; }
.product-card, .category-card, .premium-category-card, .pd-grid, .pd-gallery, .pd-info,
.search-wrapper, #searchSuggestions, .search-suggestion, .contact-form, .about-card {
  background-color:#141414;
  color:#eee7d6;
  border-color:#3a321f;
}
#searchSuggestions { background:#151515 !important; border-color:#6b5524 !important; }
#searchSuggestions button { background:#151515 !important; color:#e5c66b !important; box-shadow:none !important; }
#searchSuggestions strong { color:#f0d783 !important; }
#searchSuggestions small { color:#b8ad91 !important; }
.footer, footer { background:#060606 !important; color:#d5c9a8 !important; }
@media (max-width: 760px) {
  .about-grid, .stats-grid { grid-template-columns:1fr !important; }
}

.phone-mockup { background:#050505 !important; border-color:#8e6d24 !important; box-shadow:0 35px 80px rgba(0,0,0,.6),0 0 0 1px rgba(201,164,76,.25) !important; }
.phone-screen { background:#111111 !important; color:#eee7d6 !important; }
.phone-screen .phone-app-title, .phone-screen .phone-app-subtitle { color:#e5c66b !important; }
.phone-product-card { background:#211c10 !important; border:1px solid #6b5524 !important; color:#eee7d6 !important; }
.phone-product-card small { color:#c9b47a !important; }
.phone-nav { color:#e5c66b !important; border-top:1px solid #3a321f !important; }

/* Remove legacy bright/blue surfaces left by older storefront styles. */
section:not(.hero):not(.premium-hero):not(.promo-section):not(.app-download-hero) {
  background-color:#0b0b0b !important;
}
.page-header, .features-bar, .premium-features, .features-strip, .trust-strip {
  background:#0d0d0d !important;
  color:#eee7d6 !important;
  border-color:#3a321f !important;
}
.page-header h1, .page-header h2, .page-header .breadcrumb,
.features-bar h3, .features-bar p, .premium-features h3, .premium-features p {
  color:#e5c66b !important;
}
.features-bar .feature-item, .premium-features .feature-item {
  background:#111111 !important;
  color:#eee7d6 !important;
  border-color:#3a321f !important;
}
.app-download-hero {
  background:radial-gradient(ellipse at 72% 20%,rgba(201,164,76,.12),transparent 38%),linear-gradient(135deg,#080808,#141414) !important;
  color:#eee7d6 !important;
}
.premium-header {
  background:rgba(10,10,10,.97) !important;
  border-bottom:1px solid rgba(201,164,76,.28) !important;
}
.btn-premium, .hero-btns .btn-premium {
  background:linear-gradient(135deg,#f0d783,#b18a2e) !important;
  color:#15120a !important;
}


/* NAVBAR & RAINBOW COLORS WORDMARK — premium black and gold */
.header, header.header, .premium-header, header.site-header {
  background:#080808 !important;
  background-image:linear-gradient(180deg,#101010 0%,#060606 100%) !important;
  border-bottom:1px solid rgba(201,164,76,.52) !important;
  box-shadow:0 10px 32px rgba(0,0,0,.48) !important;
  backdrop-filter:blur(18px) !important;
}
.header.scrolled, .premium-header.scrolled {
  background:#050505 !important;
  border-bottom-color:#c9a44c !important;
}
.header .header-inner, .premium-header .header-inner { background:transparent !important; }
.header .nav-desktop .nav-link,
.header .nav-link,
.header nav a,
.premium-header .nav-desktop .nav-link,
.premium-header .nav-link,
.premium-header nav a {
  color:#e5c66b !important;
  font-weight:650 !important;
  text-shadow:0 1px 8px rgba(201,164,76,.08);
}
.header .nav-desktop .nav-link::after,
.header .nav-link::after,
.premium-header .nav-desktop .nav-link::after,
.premium-header .nav-link::after {
  background:linear-gradient(90deg,#9f792b,#f6df8a,#c9a44c) !important;
  height:2px !important;
  box-shadow:0 0 9px rgba(201,164,76,.32);
}
.header .nav-link:hover,
.header .nav-link.active,
.header nav a:hover,
.premium-header .nav-link:hover,
.premium-header .nav-link.active,
.premium-header nav a:hover {
  color:#fff0b5 !important;
}
.header .icon-btn, .premium-header .icon-btn {
  color:#e5c66b !important;
  background:transparent !important;
}
.header .icon-btn:hover, .premium-header .icon-btn:hover {
  color:#080808 !important;
  background:linear-gradient(135deg,#f0d783,#b18a2e) !important;
}
.header .logo, .premium-header .logo {
  display:flex !important;
  align-items:center !important;
  gap:11px !important;
  text-decoration:none !important;
}
.header .logo img, .premium-header .logo img {
  object-fit:contain !important;
  background:#101010 !important;
  border:1px solid rgba(201,164,76,.7) !important;
  border-radius:9px !important;
  padding:2px !important;
  box-shadow:0 0 18px rgba(201,164,76,.12) !important;
  filter:drop-shadow(0 3px 7px rgba(0,0,0,.5)) !important;
}
.logo::after {
  content:'Rainbow Colors';
  font-family:Georgia,'Times New Roman',serif !important;
  font-size:clamp(17px,1.5vw,22px) !important;
  line-height:1 !important;
  font-weight:800 !important;
  letter-spacing:.15px !important;
  background:linear-gradient(105deg,#fff1b8 0%,#dfbd61 42%,#a77d27 72%,#f6df8a 100%) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
  white-space:nowrap !important;
  text-shadow:none !important;
}
.logo:has(.logo-text)::after { content:none !important; }
.logo .logo-text {
  color:#e5c66b !important;
  font-family:Georgia,'Times New Roman',serif !important;
  font-weight:800 !important;
  letter-spacing:.1px !important;
}
.logo .logo-text span { color:#f6df8a !important; }
@media(max-width:640px) {
  .header .logo, .premium-header .logo { gap:7px !important; min-width:0 !important; }
  .header .logo::after, .premium-header .logo::after { font-size:15px !important; letter-spacing:0 !important; }
  .header .logo img, .premium-header .logo img { max-width:54px !important; }
}


/* Logo restored: the original artwork already contains its own wordmark. */
.header .logo, .premium-header .logo {
  min-width:0 !important;
  gap:0 !important;
  overflow:visible !important;
}
.header .logo::after, .premium-header .logo::after, .logo::after {
  content:none !important;
  display:none !important;
}
.header .logo img, .premium-header .logo img {
  height:52px !important;
  width:auto !important;
  max-width:150px !important;
  object-fit:contain !important;
  object-position:center !important;
  padding:0 !important;
  background:#ffffff !important;
  border:1px solid #c9a44c !important;
  border-radius:7px !important;
  box-shadow:0 0 16px rgba(201,164,76,.13) !important;
}
@media(max-width:640px) {
  .header .logo img, .premium-header .logo img {
    height:43px !important;
    width:auto !important;
    max-width:120px !important;
  }
}


/* Reliable logo crop: use the original JPEG directly (no externally-linked SVG image). */
.header .logo, .premium-header .logo {
  position:relative !important;
  display:block !important;
  overflow:hidden !important;
  width:178px !important;
  height:64px !important;
  min-width:178px !important;
  flex:0 0 178px !important;
  border:1px solid #c9a44c !important;
  border-radius:7px !important;
  background:#fff !important;
  box-shadow:0 0 16px rgba(201,164,76,.13) !important;
}
.header .logo img, .premium-header .logo img {
  position:absolute !important;
  left:-67px !important;
  top:-95px !important;
  display:block !important;
  width:310px !important;
  max-width:none !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  object-fit:unset !important;
  object-position:unset !important;
  filter:none !important;
  box-shadow:none !important;
}
/* Same original mark, tightly cropped in the footer. */
.footer-brand .rc-logo-crop {
  position:relative;
  display:block;
  overflow:hidden;
  width:178px;
  height:64px;
  border:1px solid #c9a44c;
  border-radius:7px;
  background:#fff;
}
.footer-brand .rc-logo-crop img {
  position:absolute !important;
  left:-67px !important;
  top:-95px !important;
  width:310px !important;
  max-width:none !important;
  height:auto !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  object-fit:unset !important;
  box-shadow:none !important;
}
@media(max-width:640px) {
  .header .logo, .premium-header .logo {
    width:150px !important;
    height:54px !important;
    min-width:150px !important;
    flex:0 0 150px !important;
  }
  .header .logo img, .premium-header .logo img,
  .footer-brand .rc-logo-crop img {
    left:-57px !important;
    top:-80px !important;
    width:262px !important;
  }
  .footer-brand .rc-logo-crop {
    width:150px;
    height:54px;
  }
}


/* FINAL FIX: crop the original logo JPEG to the actual Rainbow Colors artwork.
   The source artwork stays unchanged; only the surrounding blank canvas is clipped. */
.header .logo.rc-logo-crop, .premium-header .logo.rc-logo-crop {
  position:relative !important;
  display:block !important;
  overflow:hidden !important;
  width:178px !important;
  height:64px !important;
  min-width:178px !important;
  flex:0 0 178px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #c9a44c !important;
  border-radius:7px !important;
  background:#fff !important;
}
.header .logo.rc-logo-crop img, .premium-header .logo.rc-logo-crop img {
  position:absolute !important;
  display:block !important;
  width:310px !important;
  height:auto !important;
  max-width:none !important;
  left:-67px !important;
  top:-95px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  object-fit:unset !important;
  object-position:unset !important;
  filter:none !important;
  box-shadow:none !important;
}
.footer-brand .rc-logo-crop {
  position:relative !important; display:block !important; overflow:hidden !important;
  width:178px !important; height:64px !important;
  border:1px solid #c9a44c !important; border-radius:7px !important; background:#fff !important;
}
.footer-brand .rc-logo-crop img {
  position:absolute !important; display:block !important;
  left:-67px !important; top:-95px !important;
  width:310px !important; max-width:none !important; height:auto !important;
  margin:0 !important; padding:0 !important; border:0 !important; border-radius:0 !important;
  object-fit:unset !important; filter:none !important; box-shadow:none !important;
}
@media(max-width:640px) {
  .header .logo.rc-logo-crop, .premium-header .logo.rc-logo-crop {
    width:150px !important; height:54px !important; min-width:150px !important; flex:0 0 150px !important;
  }
  .header .logo.rc-logo-crop img, .premium-header .logo.rc-logo-crop img,
  .footer-brand .rc-logo-crop img {
    width:262px !important; left:-57px !important; top:-80px !important;
  }
  .footer-brand .rc-logo-crop { width:150px !important; height:54px !important; }
}


/* Gold title requested for the app showcase heading. */
.app-download-copy h2 {
  color:#e5c66b !important;
  background:none !important;
  -webkit-background-clip:initial !important;
  background-clip:initial !important;
  -webkit-text-fill-color:#e5c66b !important;
  text-shadow:0 2px 18px rgba(201,164,76,.18) !important;
}


/* TRUE TRANSPARENT LOGO: no white box, use the original artwork with white removed in SVG. */
.header .logo.rc-logo-crop, .premium-header .logo.rc-logo-crop {
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  overflow:visible !important;
  width:180px !important;
  height:66px !important;
  min-width:180px !important;
  flex:0 0 180px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.header .logo.rc-logo-crop img, .premium-header .logo.rc-logo-crop img {
  position:static !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  left:auto !important;
  top:auto !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  object-fit:contain !important;
  object-position:center !important;
  filter:none !important;
  box-shadow:none !important;
}
.footer-brand .rc-logo-crop {
  position:relative !important;
  display:block !important;
  overflow:visible !important;
  width:180px !important;
  height:66px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.footer-brand .rc-logo-crop img {
  position:static !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  left:auto !important;
  top:auto !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  object-fit:contain !important;
  object-position:center !important;
  filter:none !important;
  box-shadow:none !important;
}
@media(max-width:640px) {
  .header .logo.rc-logo-crop, .premium-header .logo.rc-logo-crop {
    width:142px !important;
    height:54px !important;
    min-width:142px !important;
    flex:0 0 142px !important;
  }
  .footer-brand .rc-logo-crop { width:160px !important; height:60px !important; }
}


/* ===== NOIR & GOLD MOTION SYSTEM ===== */
@keyframes rcLogoEntrance {
  0% { opacity:0; transform:translateY(14px) scale(.82) rotate(-3deg); filter:drop-shadow(0 0 0 rgba(229,198,107,0)); }
  65% { opacity:1; transform:translateY(-2px) scale(1.035) rotate(1deg); filter:drop-shadow(0 0 18px rgba(229,198,107,.45)); }
  100% { opacity:1; transform:translateY(0) scale(1) rotate(0); filter:drop-shadow(0 0 9px rgba(229,198,107,.2)); }
}
@keyframes rcGoldSweep {
  0% { background-position:-220% center; }
  100% { background-position:220% center; }
}
@keyframes rcClickPulse {
  0% { transform:scale(1); }
  45% { transform:scale(.965); filter:brightness(1.18); }
  100% { transform:scale(1); }
}
@keyframes rcAnchorArrive {
  0% { box-shadow:0 0 0 0 rgba(229,198,107,0); }
  40% { box-shadow:0 0 0 5px rgba(229,198,107,.16); }
  100% { box-shadow:0 0 0 0 rgba(229,198,107,0); }
}
.rc-logo-animated img { animation:rcLogoEntrance 1.05s cubic-bezier(.2,.75,.25,1) both; transform-origin:center; }
.rc-logo-animated:hover img { filter:drop-shadow(0 0 11px rgba(229,198,107,.65)) !important; transform:scale(1.035); transition:transform .25s ease,filter .25s ease; }
.header .logo.rc-logo-crop, .premium-header .logo.rc-logo-crop { animation:rcLogoEntrance .9s cubic-bezier(.2,.75,.25,1) both; }
.header .logo.rc-logo-crop::before, .premium-header .logo.rc-logo-crop::before {
  content:''; position:absolute; z-index:2; inset:0; pointer-events:none;
  background:linear-gradient(110deg,transparent 25%,rgba(255,226,137,.4) 48%,transparent 68%);
  background-size:220% 100%; animation:rcGoldSweep 1.6s ease-out .2s 1 both;
}
.rc-click-pulse { animation:rcClickPulse .48s ease-out !important; }
.rc-anchor-arrive { animation:rcAnchorArrive .72s ease-out !important; }
.rc-reveal {
  opacity:0; transform:translateY(24px);
  transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay:var(--rc-delay,0ms);
}
.rc-reveal.rc-visible { opacity:1; transform:translateY(0); }
.product-card.rc-reveal, .category-card.rc-reveal { transition-delay:var(--rc-delay,0ms); }
a, button, [role="button"], .category-card, .product-card { -webkit-tap-highlight-color:transparent; }
a:not(.logo), button, [role="button"] { transition:color .22s ease,background-color .22s ease,border-color .22s ease,box-shadow .22s ease,transform .22s ease; }
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; transition-duration:.01ms !important; }
  .rc-reveal { opacity:1 !important; transform:none !important; }
}


/* FINAL, STATIC LOGO DISPLAY — no absolute-position cropping on the JPEG/SVG element.
   SVG clips the original artwork itself; display it as a normal image. */
.header .logo .rainbow-brand-logo,
.premium-header .logo .rainbow-brand-logo {
  position:static !important;
  inset:auto !important;
  display:block !important;
  transform:none !important;
  left:auto !important;
  top:auto !important;
  width:auto !important;
  height:64px !important;
  max-width:200px !important;
  min-width:0 !important;
  flex:none !important;
  object-fit:contain !important;
  object-position:center !important;
  margin:0 !important;
  /* Header logo only: keep the artwork, size and position; remove the
     decorative white card, gold frame and glow around it. */
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  filter:none !important;
  box-shadow:none !important;
}
.footer-brand img.rainbow-footer-logo {
  position:static !important;
  display:block !important;
  width:175px !important;
  height:64px !important;
  max-width:100% !important;
  object-fit:contain !important;
  object-position:left center !important;
  margin:0 0 16px !important;
  padding:1px !important;
  background:#ffffff !important;
  border:1px solid #c9a44c !important;
  border-radius:7px !important;
  box-shadow:0 0 16px rgba(201,164,76,.13) !important;
}
@media(max-width:640px) {
  .header .logo .rainbow-brand-logo,
  .premium-header .logo .rainbow-brand-logo {
    width:auto !important;
    max-width:160px !important;
    height:52px !important;
  }
  .footer-brand img.rainbow-footer-logo {
    width:155px !important;
    height:57px !important;
  }
}


/* ACTUAL LOGO FIX: crop the whitespace from the original JPEG by clipping its image
   inside the fixed-size brand frame. Keep the original blue/red logo artwork unchanged. */
.header .logo.rc-logo-crop,
.premium-header .logo.rc-logo-crop {
  position:relative !important;
  display:block !important;
  flex:0 0 158px !important;
  width:158px !important;
  min-width:158px !important;
  height:60px !important;
  overflow:hidden !important;
  padding:0 !important;
  margin:0 !important;
  background:#fff !important;
  border:1px solid #c9a44c !important;
  border-radius:7px !important;
  box-sizing:border-box !important;
}
.header .logo.rc-logo-crop .rainbow-brand-logo,
.premium-header .logo.rc-logo-crop .rainbow-brand-logo {
  position:absolute !important;
  display:block !important;
  width:310px !important;
  max-width:none !important;
  height:auto !important;
  left:-67px !important;
  top:-95px !important;
  min-width:0 !important;
  flex:none !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  object-fit:fill !important;
  object-position:initial !important;
  background:transparent !important;
  box-shadow:none !important;
  filter:none !important;
  transform:none !important;
}
@media(max-width:640px) {
  .header .logo.rc-logo-crop,
  .premium-header .logo.rc-logo-crop {
    flex:0 0 132px !important;
    width:132px !important;
    min-width:132px !important;
    height:50px !important;
  }
  .header .logo.rc-logo-crop .rainbow-brand-logo,
  .premium-header .logo.rc-logo-crop .rainbow-brand-logo {
    width:262px !important;
    left:-57px !important;
    top:-80px !important;
  }
}

/* Definitive original-logo crop: preserve the exact uploaded Rainbow Colors artwork. */
a.logo.rc-logo-crop{position:relative!important;display:block!important;flex:0 0 154px!important;width:154px!important;min-width:154px!important;height:54px!important;overflow:hidden!important;padding:0!important;margin:0!important;border:1px solid #c9a44c!important;border-radius:6px!important;background:#fff!important;line-height:0!important}a.logo.rc-logo-crop img.rainbow-brand-logo{position:absolute!important;display:block!important;width:300px!important;max-width:none!important;height:auto!important;left:-73.6px!important;top:-96.4px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;object-fit:unset!important;object-position:unset!important;background:transparent!important;box-shadow:none!important;filter:none!important}a.logo.rc-logo-crop:after{content:none!important;display:none!important}@media(max-width:640px){a.logo.rc-logo-crop{flex-basis:132px!important;width:132px!important;min-width:132px!important;height:47px!important}a.logo.rc-logo-crop img.rainbow-brand-logo{width:257px!important;left:-63px!important;top:-82.5px!important}}


/* Use the tightly cropped original Rainbow Colors artwork as-is. */
.header .logo, .premium-header .logo {
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  overflow:visible !important;
  width:auto !important;
  height:auto !important;
  min-width:0 !important;
  flex:0 0 auto !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.header .logo img, .premium-header .logo img {
  position:static !important;
  display:block !important;
  width:160px !important;
  height:62px !important;
  max-width:160px !important;
  object-fit:contain !important;
  object-position:left center !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  filter:none !important;
  box-shadow:none !important;
}
.header .logo::after, .premium-header .logo::after { content:none !important; display:none !important; }
@media(max-width:640px) {
  .header .logo img, .premium-header .logo img {
    width:auto !important;
    max-width:160px !important;
    height:52px !important;
  }
}

/* =========================================================
   PREMIUM SMOOTH MOTION — consolidated motion layer
   Additive only: no layout, branding, catalogue or data changes.
   ========================================================= */
:root {
  --rc-ease-out: cubic-bezier(.22, 1, .36, 1);
  --rc-ease-soft: cubic-bezier(.2, .7, .2, 1);
}

/* Cross-document page transitions where supported; graceful otherwise. */
@view-transition { navigation: auto; }
@keyframes rcViewOut { to { opacity: 0; } }
@keyframes rcViewIn {
  from { opacity: 0; transform: translate3d(0, 6px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
::view-transition-old(root) { animation: rcViewOut .16s ease both; }
::view-transition-new(root) { animation: rcViewIn .3s var(--rc-ease-out) both; }

/* Progressive page entrance, revealed after the brand loader clears. */
@keyframes rcPageFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rcPageRise {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
html.rc-page-ready .premium-topbar { animation: rcPageFade .5s ease both; }
html.rc-page-ready .header { animation: rcPageFade .55s ease .05s both; }
html.rc-page-ready .page-header .section-inner > * { animation: rcPageRise .68s var(--rc-ease-out) both; }
html.rc-page-ready .page-header .section-inner > *:nth-child(1) { animation-delay: .08s; }
html.rc-page-ready .page-header .section-inner > *:nth-child(2) { animation-delay: .16s; }
html.rc-page-ready .page-header .section-inner > *:nth-child(3) { animation-delay: .24s; }
html.rc-page-ready .premium-hero .hero-content { animation: none; }
html.rc-page-ready .premium-hero .hero-content > * { animation: rcPageRise .85s var(--rc-ease-out) both; }
html.rc-page-ready .premium-hero .hero-content > *:nth-child(1) { animation-delay: .09s; }
html.rc-page-ready .premium-hero .hero-content > *:nth-child(2) { animation-delay: .18s; }
html.rc-page-ready .premium-hero .hero-content > *:nth-child(3) { animation-delay: .27s; }
html.rc-page-ready .premium-hero .hero-content > *:nth-child(4) { animation-delay: .36s; }
html.rc-page-ready .premium-hero .hero-content > *:nth-child(5) { animation-delay: .45s; }
html.rc-page-ready .premium-hero .hero-trust > div { animation: none; }
html.rc-page-ready .premium-hero .hero-image { animation: rcPageRise .95s .25s var(--rc-ease-out) both; }
html.rc-page-ready .app-download-copy { animation: none; }
html.rc-page-ready .app-download-copy > * { animation: rcPageRise .55s var(--rc-ease-out) both; }
html.rc-page-ready .app-download-copy > *:nth-child(1) { animation-delay: .05s; }
html.rc-page-ready .app-download-copy > *:nth-child(2) { animation-delay: .11s; }
html.rc-page-ready .app-download-copy > *:nth-child(3) { animation-delay: .17s; }
html.rc-page-ready .app-download-copy > *:nth-child(4) { animation-delay: .23s; }
html.rc-page-ready .app-download-copy > *:nth-child(5) { animation-delay: .29s; }
html.rc-page-ready .app-device-showcase { animation: rcPageRise .7s .16s var(--rc-ease-out) both; }

/* Viewport reveals. Content is visible by default; JS only adds these
   classes after the observer is ready, and falls back to visible on error. */
@keyframes rcRevealUp {
  from { opacity: 0; transform: translate3d(0, 30px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.rc-reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.rc-reveal.rc-visible {
  opacity: 1;
  transform: none;
  animation: rcRevealUp .62s var(--rc-ease-out) backwards;
  animation-delay: var(--rc-delay, 0ms);
}
.products-grid .product-card.rc-reveal,
.categories-grid .category-card.rc-reveal {
  transition: transform .32s var(--rc-ease-soft), box-shadow .32s ease, border-color .32s ease;
}

/* Product cards: contained image zoom, gentle lift, short press response. */
@media (hover: hover) and (pointer: fine) {
  .products-grid .product-card:hover {
    transform: translate3d(0, -6px, 0);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .42), 0 0 0 1px rgba(226, 192, 92, .14);
  }
  .products-grid .catalogue-product-card:hover .product-image img {
    transform: scale(1.04);
  }
  .categories-grid .premium-category-card:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .38), 0 0 0 1px rgba(226, 192, 92, .12);
  }
  .categories-grid .premium-category-card:hover .category-media img {
    transform: scale(1.045);
    filter: saturate(1.04);
  }
  .btn:hover, .btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  }
  .icon-btn:hover, .icon-btn:focus-visible { transform: translateY(-1px); }
  .store-badge:hover, .store-badge:focus-visible { transform: translateY(-2px); }
  .catalogue-details:hover, .catalogue-details:focus-visible { transform: translateY(-1px); }
  .nav-link:hover, .nav-link.active { transform: translateY(-1px); }
}
@media (hover: none) {
  .products-grid .product-card:hover,
  .categories-grid .premium-category-card:hover { transform: none; }
  .products-grid .catalogue-product-card:hover .product-image img,
  .categories-grid .premium-category-card:hover .category-media img { transform: none; }
}
.products-grid .product-card:active,
.categories-grid .premium-category-card:active {
  transform: translate3d(0, -1px, 0) scale(.993);
  transition-duration: .09s;
}
.products-grid .product-card:has(.catalogue-product-link:active) {
  transform: translate3d(0, -1px, 0) scale(.993);
  transition-duration: .09s;
}
.btn:active,
button:active,
.icon-btn:active,
.store-badge:active,
.catalogue-details:active {
  transform: translateY(0) scale(.985);
  transition-duration: .08s;
}
.nav-link:active,
.mobile-nav-link:active { transform: translateY(1px); }

/* Product detail entrance after the static catalogue has populated. */
@keyframes rcDetailImageIn {
  from { opacity: 0; transform: translate3d(0, 12px, 0) scale(1.025); }
  to { opacity: 1; transform: none; }
}
@keyframes rcDetailTextIn {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes rcFeatureIn {
  from { opacity: 0; transform: translate3d(0, 8px, 0); }
  to { opacity: 1; transform: none; }
}
.pd-grid.rc-detail-enter .pd-gallery { animation: rcDetailImageIn .7s var(--rc-ease-out) both; }
.pd-grid.rc-detail-enter .pd-info .pd-category { animation: rcDetailTextIn .5s .1s var(--rc-ease-out) both; }
.pd-grid.rc-detail-enter .pd-info h1 { animation: rcDetailTextIn .56s .16s var(--rc-ease-out) both; }
.pd-grid.rc-detail-enter .pd-info .pd-desc { animation: rcDetailTextIn .56s .22s var(--rc-ease-out) both; }
.pd-grid.rc-detail-enter .pd-info .pd-features { animation: rcDetailTextIn .5s .28s var(--rc-ease-out) both; }
.pd-grid.rc-detail-enter .pd-features li { animation: rcFeatureIn .42s var(--rc-ease-out) both; }
.pd-grid.rc-detail-enter .pd-features li:nth-child(1) { animation-delay: .32s; }
.pd-grid.rc-detail-enter .pd-features li:nth-child(2) { animation-delay: .37s; }
.pd-grid.rc-detail-enter .pd-features li:nth-child(3) { animation-delay: .42s; }
.pd-grid.rc-detail-enter .pd-features li:nth-child(4) { animation-delay: .47s; }
.pd-grid.rc-detail-enter .pd-features li:nth-child(5) { animation-delay: .52s; }
.pd-grid.rc-detail-enter .pd-features li:nth-child(6) { animation-delay: .57s; }

/* Mobile navigation: fast slide, fade, and staggered links. */
.mobile-menu {
  right: 0;
  transform: translate3d(100%, 0, 0);
  visibility: hidden;
  transition: transform .38s var(--rc-ease-out), visibility 0s linear .38s;
  will-change: transform;
}
.mobile-menu.open {
  right: 0;
  transform: translate3d(0, 0, 0);
  visibility: visible;
  transition: transform .38s var(--rc-ease-out), visibility 0s;
}
.mobile-menu-overlay {
  transition: opacity .28s ease;
  backdrop-filter: blur(0);
}
.mobile-menu-overlay.open { backdrop-filter: blur(2px); }
.mobile-nav-link {
  transition: color .2s ease, transform .2s ease, border-color .2s ease;
  opacity: 0;
  transform: translate3d(14px, 0, 0);
}
.mobile-menu.open .mobile-nav-link {
  opacity: 1;
  transform: none;
  animation: rcMobileLinkIn .34s var(--rc-ease-out) backwards;
  animation-delay: var(--rc-link-delay, 0ms);
}
@keyframes rcMobileLinkIn {
  from { opacity: 0; transform: translate3d(14px, 0, 0); }
  to { opacity: 1; transform: none; }
}
.mobile-menu.open .mobile-nav-link:nth-of-type(1) { --rc-link-delay: .05s; }
.mobile-menu.open .mobile-nav-link:nth-of-type(2) { --rc-link-delay: .1s; }
.mobile-menu.open .mobile-nav-link:nth-of-type(3) { --rc-link-delay: .15s; }
.mobile-menu.open .mobile-nav-link:nth-of-type(4) { --rc-link-delay: .2s; }
.mobile-menu.open .mobile-nav-link:nth-of-type(5) { --rc-link-delay: .25s; }
.mobile-nav-link:hover, .mobile-nav-link.active {
  padding-left: 0;
  transform: translateX(6px);
}

/* Short, visible interaction and focus states. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #f0d783;
  outline-offset: 3px;
}
.search-bar-large input:focus-visible { outline: none; }
.search-bar-large {
  transition: border-color .25s ease, box-shadow .25s ease;
}
.search-bar-large:focus-within {
  border-color: #c9a44c;
  box-shadow: 0 0 0 3px rgba(201, 164, 76, .2), 0 18px 40px rgba(0, 0, 0, .22);
}
.search-bar-large button {
  transition: background-color .2s ease, transform .2s ease;
}
.search-bar-large button:hover { transform: translateX(1px); }
#searchSuggestions {
  animation: rcSuggestIn .18s var(--rc-ease-out) both;
}
@keyframes rcSuggestIn {
  from { opacity: 0; transform: translate3d(0, -4px, 0); }
  to { opacity: 1; transform: none; }
}
#searchSuggestions button {
  transition: background-color .18s ease, color .18s ease;
}
#searchSuggestions button:hover {
  background: #211c10 !important;
}
a, button, .product-card, .category-card { touch-action: manipulation; }

/* Mobile/tablet layout guard for the About page's inline grids. */
@media (max-width: 720px) {
  .about-story-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
}
@media (max-width: 640px) {
  .about-story-grid { gap: 28px !important; margin-bottom: 56px !important; }
  .about-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin-bottom: 56px !important;
  }
}
@media (max-width: 430px) {
  .about-stats-grid { grid-template-columns: 1fr !important; }
}

/* Keep the experience calm: no permanently moving decorative layers. */
body::before,
body::after,
.hero::before,
.hero-badge,
.whatsapp-float,
.premium-hero::after,
.premium-hero-image::before,
.premium-hero .paint-one,
.premium-hero .paint-two,
.premium-hero .paint-three,
.products-grid .product-card:hover::before {
  animation: none !important;
}

/* Reduced motion: show everything, remove non-essential motion and delays. */
@media (prefers-reduced-motion: reduce) {
  html.rc-page-ready .premium-topbar,
  html.rc-page-ready .header,
  html.rc-page-ready .page-header .section-inner > *,
  html.rc-page-ready .premium-hero .hero-content > *,
  html.rc-page-ready .premium-hero .hero-image,
  html.rc-page-ready .app-download-copy > *,
  html.rc-page-ready .app-device-showcase,
  .pd-grid.rc-detail-enter .pd-gallery,
  .pd-grid.rc-detail-enter .pd-info > *,
  .pd-grid.rc-detail-enter .pd-features li {
    animation: none !important;
    animation-delay: 0ms !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .rc-reveal,
  .rc-reveal.rc-visible {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .mobile-menu .mobile-nav-link,
  .mobile-menu.open .mobile-nav-link {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .mobile-menu,
  .mobile-menu.open,
  .mobile-menu-overlay,
  .search-bar-large,
  #searchSuggestions {
    transition-duration: 0s !important;
    animation: none !important;
  }
  .products-grid .product-card:hover,
  .products-grid .product-card:active,
  .categories-grid .premium-category-card:hover,
  .categories-grid .premium-category-card:active,
  .products-grid .catalogue-product-card:hover .product-image img,
  .categories-grid .premium-category-card:hover .category-media img,
  .btn:hover,
  .btn:active,
  button:active,
  .icon-btn:hover,
  .icon-btn:active,
  .store-badge:hover,
  .store-badge:active,
  .catalogue-details:hover,
  .catalogue-details:active,
  .nav-link:hover,
  .nav-link:active,
  .mobile-nav-link:hover,
  .mobile-nav-link:active {
    transform: none !important;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none !important;
  }
}

/* =========================================================
   FINAL PROGRESSIVE MOTION LAYER — 2026-11-11
   Visible by default; JS enables the hidden pre-reveal state only
   after the observers and fallbacks are installed successfully.
   ========================================================= */
.rc-reveal {
  opacity: 1;
  transform: none;
}

html.rc-motion-ready .rc-reveal:not(.rc-visible) {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
}

.rc-reveal.rc-visible {
  opacity: 1;
  transform: none;
  animation: rcRevealUp .75s var(--rc-ease-out) backwards;
  animation-delay: var(--rc-delay, 0ms);
}

/* Image entrances follow the card/container reveal. They only animate
   opacity and transform, so image proportions and layout never change. */
html.rc-motion-ready .products-grid .product-card.rc-reveal:not(.rc-visible) .product-image img,
html.rc-motion-ready .categories-grid .category-card.rc-reveal:not(.rc-visible) .category-media img,
html.rc-motion-ready [data-rc-reveal].rc-reveal:not(.rc-visible) img {
  opacity: 0;
  transform: scale(1.05);
  transform-origin: center;
}

html.rc-motion-ready .products-grid .product-card.rc-reveal.rc-visible .product-image img,
html.rc-motion-ready .categories-grid .category-card.rc-reveal.rc-visible .category-media img,
html.rc-motion-ready [data-rc-reveal].rc-reveal.rc-visible img {
  opacity: 1;
  transform: scale(1);
  transform-origin: center;
  transition: opacity .95s var(--rc-ease-out), transform 1.15s var(--rc-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  html.rc-motion-ready .products-grid .product-card.rc-reveal.rc-visible:hover .product-image img,
  html.rc-motion-ready .products-grid .product-card.rc-reveal.rc-visible:focus-within .product-image img {
    transform: scale(1.06);
  }

  html.rc-motion-ready .categories-grid .category-card.rc-reveal.rc-visible:hover .category-media img,
  html.rc-motion-ready .categories-grid .category-card.rc-reveal.rc-visible:focus-visible .category-media img {
    transform: scale(1.06);
    filter: saturate(1.04);
  }

  .product-card:focus-within {
    transform: translate3d(0, -6px, 0);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .42), 0 0 0 1px rgba(226, 192, 92, .14);
  }

  .category-card:focus-visible,
  .premium-category-card:focus-visible {
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .38), 0 0 0 1px rgba(226, 192, 92, .12);
  }

  html.rc-motion-ready .promo-card.rc-reveal.rc-visible:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .15);
  }

  html.rc-motion-ready .contact-info-card.rc-reveal.rc-visible:hover {
    transform: translateX(4px);
    border-color: var(--rc-blue-light);
  }

  .footer-col a {
    transition: color .2s ease, transform .2s ease;
  }

  .footer-col a:hover,
  .footer-col a:focus-visible {
    padding-left: 0;
    transform: translateX(4px);
  }

  .catalogue-details span,
  .category-cta span {
    transition: transform .25s var(--rc-ease-out);
  }

  .catalogue-details:hover span,
  .catalogue-details:focus-visible span,
  .category-card:hover .category-cta span,
  .category-card:focus-visible .category-cta span {
    transform: translateX(4px);
  }
}

.nav-link:focus-visible::after {
  width: 100%;
}

.product-name a {
  transition: color .2s ease;
}

/* Hero image gets a contained zoom without changing its aspect ratio. */
@keyframes rcHeroImageIn {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
  html.rc-page-ready .premium-hero .premium-hero-image img {
    animation: rcHeroImageIn 1.15s .28s var(--rc-ease-out) both;
  }
}

/* In browsers without cross-document View Transitions, keep the
   navigation transition as a short, safe page fade. */
@supports not (view-transition-name: none) {
  @media (prefers-reduced-motion: no-preference) {
    html.rc-page-ready body {
      animation: rcPageFade .35s ease both;
    }
  }
}

/* Reduced motion: every reveal and image is immediately visible. */
@media (prefers-reduced-motion: reduce) {
  html.rc-motion-ready .rc-reveal,
  .rc-reveal,
  .rc-reveal.rc-visible {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  html.rc-motion-ready .products-grid .product-card .product-image img,
  html.rc-motion-ready .categories-grid .category-card .category-media img,
  html.rc-motion-ready [data-rc-reveal] img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  html.rc-page-ready .premium-hero .premium-hero-image img,
  html.rc-page-ready body {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .product-card:focus-within,
  .category-card:focus-visible,
  .premium-category-card:focus-visible,
  html.rc-motion-ready .promo-card.rc-reveal.rc-visible:hover,
  html.rc-motion-ready .contact-info-card.rc-reveal.rc-visible:hover,
  .footer-col a:hover,
  .footer-col a:focus-visible,
  .catalogue-details:hover span,
  .catalogue-details:focus-visible span,
  .category-card:hover .category-cta span,
  .category-card:focus-visible .category-cta span {
    transform: none !important;
  }
}

/* The mobile menu is a white panel, so keep its links on the original
   light-theme slate instead of the dark-theme cream token. */
.mobile-menu .mobile-nav-link {
  color: #334155;
}

.mobile-menu .mobile-nav-link:hover,
.mobile-menu .mobile-nav-link.active {
  color: #1a3a7a;
}

/* Categories uses a text label in the 60px WhatsApp circle. Keep the
   badge geometry and green background unchanged while containing the label. */
.whatsapp-float[aria-label="WhatsApp"] {
  overflow: hidden;
  padding: 4px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

/* Footer logo pair: Rainbow Colors + MAGMA, clean transparent backgrounds. */
.footer-brand__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.footer-brand__logos img {
  display: block;
  width: auto;
  height: 64px;
  max-width: 100%;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
}
.footer-brand__logos img.rainbow-footer-logo {
  width: auto !important;
  height: 64px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.footer-brand__logos img.magma-brand-logo {
  width: auto !important;
  height: 36px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
@media (max-width: 768px) {
  .footer-brand__logos {
    gap: 12px;
  }
  .footer-brand__logos img.rainbow-footer-logo {
    width: auto !important;
    height: 50px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .footer-brand__logos img.magma-brand-logo {
    width: auto !important;
    height: 32px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
@media (max-width: 430px) {
  .footer-brand__logos {
    gap: 10px;
  }
  .footer-brand__logos img.rainbow-footer-logo {
    width: auto !important;
    height: 44px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .footer-brand__logos img.magma-brand-logo {
    width: auto !important;
    height: 32px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .footer-brand__logos img.magma-brand-logo {
    height: 32px !important;
  }
}
@media (min-width: 769px) and (max-width: 1400px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   LIGHT / DARK / SYSTEM THEME LAYER — 2026-11-12
   The established noir & gold presentation remains the Dark
   mode. Light mode is an ivory & gold override layer; System is
   resolved by js/theme.js before the first paint.
   ========================================================= */

:root {
  --rc-theme-bg: #0a0a0a;
  --rc-theme-surface: #141414;
  --rc-theme-surface-alt: #191919;
  --rc-theme-text: #eee7d6;
  --rc-theme-muted: #c7bea8;
  --rc-theme-heading: #e5c66b;
  --rc-theme-accent: #c9a44c;
  --rc-theme-border: #3a321f;
  --rc-theme-border-strong: #6b5524;
  --rc-theme-link: #dfbd61;
  --rc-theme-control-bg: #141414;
  --rc-theme-control-text: #f7f0df;
  --rc-theme-control-hover: #211c10;
  color-scheme: dark;
}

:root[data-theme="light"] {
  color-scheme: light;
  --rc-blue: #8a641c;
  --rc-blue-light: #a67c1f;
  --rc-blue-dark: #6b4e13;
  --rc-white: #fffdf8;
  --rc-gray-50: #f7f3ea;
  --rc-gray-100: #f1e8d7;
  --rc-gray-200: #e5d8bd;
  --rc-gray-300: #cdbb94;
  --rc-gray-400: #89785c;
  --rc-gray-500: #6b5d46;
  --rc-gray-600: #5a4d39;
  --rc-gray-700: #443a2b;
  --rc-gray-800: #2f281e;
  --rc-gray-900: #211b12;
  --rc-shadow-sm: 0 1px 2px rgba(48, 38, 16, .06);
  --rc-shadow: 0 8px 22px rgba(48, 38, 16, .09);
  --rc-shadow-lg: 0 14px 36px rgba(48, 38, 16, .12);
  --rc-shadow-xl: 0 22px 55px rgba(48, 38, 16, .16);

  --rc-theme-bg: #f7f3ea;
  --rc-theme-surface: #fffdf8;
  --rc-theme-surface-alt: #f1e8d7;
  --rc-theme-text: #2f281e;
  --rc-theme-muted: #5f5442;
  --rc-theme-heading: #241d12;
  --rc-theme-accent: #8a641c;
  --rc-theme-border: #ddcfae;
  --rc-theme-border-strong: #b99a56;
  --rc-theme-link: #7a5718;
  --rc-theme-control-bg: #fffdf8;
  --rc-theme-control-text: #2f281e;
  --rc-theme-control-hover: #efe3cc;
}

:root[data-theme="dark"] {
  color-scheme: dark;
}

/* Final guard for the header logo: the artwork, size and position stay. */
.header .logo .rainbow-brand-logo,
.premium-header .logo .rainbow-brand-logo {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* ---------- Theme selector ---------- */
.rc-theme-switcher {
  --rc-switch-bg: rgba(255, 255, 255, .04);
  --rc-switch-border: rgba(201, 164, 76, .42);
  --rc-switch-text: #e5c66b;
  --rc-switch-hover: rgba(201, 164, 76, .16);
  --rc-switch-active-bg: linear-gradient(135deg, #f0d783, #b18a2e);
  --rc-switch-active-text: #171208;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  flex: 0 0 auto;
}

.rc-theme-switcher__label {
  display: none;
  color: var(--rc-switch-text);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  line-height: 1;
  text-transform: uppercase;
}

.rc-theme-switcher__options {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--rc-switch-border);
  border-radius: 999px;
  background: var(--rc-switch-bg);
}

.rc-theme-option {
  width: 32px;
  height: 30px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--rc-switch-text) !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  line-height: 1;
}

.rc-theme-option svg {
  width: 16px;
  height: 16px;
  display: block;
  pointer-events: none;
}

.rc-theme-option__text {
  display: none;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.rc-theme-option:hover {
  background: var(--rc-switch-hover) !important;
  color: #fff0b5 !important;
}

.rc-theme-option.is-active {
  background: var(--rc-switch-active-bg) !important;
  color: var(--rc-switch-active-text) !important;
  box-shadow: 0 2px 8px rgba(95, 67, 16, .18) !important;
}

.rc-theme-option.is-active:hover {
  background: var(--rc-switch-active-bg) !important;
  color: var(--rc-switch-active-text) !important;
}

.rc-theme-option:focus-visible {
  outline: 3px solid #f0d783 !important;
  outline-offset: 2px;
}

:root[data-theme="light"] .rc-theme-switcher--header {
  --rc-switch-bg: #f5eddc;
  --rc-switch-border: #d8c49a;
  --rc-switch-text: #6b4e13;
  --rc-switch-hover: #eadcc2;
}

:root[data-theme="light"] .rc-theme-option:hover {
  color: #4f390d !important;
}

:root[data-theme="light"] .rc-theme-option:focus-visible {
  outline-color: #7a5718 !important;
}

/* The mobile menu is intentionally a light panel in both modes. */
.mobile-menu .rc-theme-switcher {
  --rc-switch-bg: #f8fafc;
  --rc-switch-border: #d8dee8;
  --rc-switch-text: #334155;
  --rc-switch-hover: #eef2f7;
  display: flex;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.mobile-menu .rc-theme-switcher__label {
  display: block;
  color: #64748b;
  font-size: 10px;
  letter-spacing: 1.7px;
}

.mobile-menu .rc-theme-switcher__options {
  display: flex;
  width: 100%;
  padding: 4px;
  border-radius: 13px;
}

.mobile-menu .rc-theme-option {
  flex: 1 1 0;
  width: auto;
  height: 38px;
  border-radius: 10px !important;
}

.mobile-menu .rc-theme-option__text {
  display: inline;
  font-size: 11px;
}

.mobile-menu .rc-theme-option:hover {
  color: #1f2937 !important;
}

.mobile-menu .rc-theme-option.is-active {
  color: #171208 !important;
}

.mobile-menu .rc-theme-option:focus-visible {
  outline-color: #7a5718 !important;
}

.rc-theme-dock {
  --rc-switch-bg: rgba(8, 8, 8, .92);
  --rc-switch-border: rgba(201, 164, 76, .46);
  --rc-switch-text: #e5c66b;
  --rc-switch-hover: rgba(201, 164, 76, .18);
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 3000;
  display: flex;
  padding: 7px;
  border: 1px solid var(--rc-switch-border);
  border-radius: 999px;
  background: var(--rc-switch-bg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px);
}

.rc-theme-dock .rc-theme-switcher {
  display: block;
}

.rc-theme-dock .rc-theme-switcher__options {
  border: 0;
  padding: 0;
  background: transparent;
}

.rc-theme-dock .rc-theme-option {
  width: 34px;
  height: 34px;
}

:root[data-theme="light"] .rc-theme-dock {
  --rc-switch-bg: rgba(255, 253, 248, .94);
  --rc-switch-border: #d8c49a;
  --rc-switch-text: #6b4e13;
  --rc-switch-hover: #eadcc2;
  box-shadow: 0 10px 28px rgba(59, 44, 16, .16);
}

:root[data-theme="light"] .rc-theme-dock .rc-theme-option:hover {
  color: #4f390d !important;
}

body.rc-theme-standalone main {
  padding-top: 104px !important;
}

@media (max-width: 768px) {
  .header-actions .rc-theme-switcher--header {
    display: none;
  }
  .rc-theme-dock {
    top: 12px;
    right: 12px;
  }
  body.rc-theme-standalone main {
    padding-top: 96px !important;
  }
}

@media (min-width: 769px) and (max-width: 980px) {
  .header .nav-desktop {
    gap: 20px;
  }
  .header .nav-link {
    font-size: 14px;
  }
  .header-actions {
    gap: 12px;
  }
  .rc-theme-switcher--header .rc-theme-option {
    width: 29px;
    height: 28px;
  }
}

/* ---------- Global light surfaces & typography ---------- */
:root[data-theme="light"] {
  background: var(--rc-theme-bg);
}

:root[data-theme="light"] body {
  background: var(--rc-theme-bg) !important;
  color: var(--rc-theme-text) !important;
}

:root[data-theme="light"] main,
:root[data-theme="light"] .section-inner {
  color: var(--rc-theme-text);
}

:root[data-theme="light"] h1,
:root[data-theme="light"] h2,
:root[data-theme="light"] h3,
:root[data-theme="light"] h4,
:root[data-theme="light"] .section-title {
  color: var(--rc-theme-heading) !important;
}

:root[data-theme="light"] p,
:root[data-theme="light"] label,
:root[data-theme="light"] .text-muted,
:root[data-theme="light"] .section-subtitle {
  color: var(--rc-theme-muted);
}

:root[data-theme="light"] a {
  color: var(--rc-theme-link);
}

:root[data-theme="light"] a:hover {
  color: #8a641c;
}

:root[data-theme="light"] a:focus-visible,
:root[data-theme="light"] button:focus-visible,
:root[data-theme="light"] input:focus-visible,
:root[data-theme="light"] textarea:focus-visible,
:root[data-theme="light"] select:focus-visible,
:root[data-theme="light"] [tabindex]:focus-visible {
  outline-color: #7a5718;
}

:root[data-theme="light"] ::selection {
  background: #c9a44c;
  color: #171208;
}

:root[data-theme="light"] ::-webkit-scrollbar-track {
  background: #efe5d3;
}

:root[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: #c3ae86;
}

/* ---------- Top bar, header & mobile navigation ---------- */
:root[data-theme="light"] .premium-topbar {
  background: #fffdf8 !important;
  color: #6b5325 !important;
  border-bottom: 1px solid #ddcfae !important;
}

:root[data-theme="light"] .header,
:root[data-theme="light"] header.header,
:root[data-theme="light"] .premium-header,
:root[data-theme="light"] header.site-header {
  background: #fffdf8 !important;
  background-image: linear-gradient(180deg, #fffdf8 0%, #f7f0e2 100%) !important;
  border-bottom: 1px solid rgba(138, 100, 28, .35) !important;
  box-shadow: 0 10px 30px rgba(59, 44, 16, .10) !important;
}

:root[data-theme="light"] .header.scrolled,
:root[data-theme="light"] .premium-header.scrolled {
  background: #fbf5e9 !important;
  border-bottom-color: #b99a56 !important;
}

:root[data-theme="light"] .header .header-inner,
:root[data-theme="light"] .premium-header .header-inner {
  background: transparent !important;
}

:root[data-theme="light"] .header nav,
:root[data-theme="light"] .premium-header nav,
:root[data-theme="light"] .nav-desktop,
:root[data-theme="light"] .navbar {
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  color: var(--rc-theme-text) !important;
}

:root[data-theme="light"] .header .nav-desktop .nav-link,
:root[data-theme="light"] .header .nav-link,
:root[data-theme="light"] .header nav a,
:root[data-theme="light"] .premium-header .nav-desktop .nav-link,
:root[data-theme="light"] .premium-header .nav-link,
:root[data-theme="light"] .premium-header nav a {
  color: #6b4e13 !important;
  text-shadow: none !important;
}

:root[data-theme="light"] .header .nav-link:hover,
:root[data-theme="light"] .header .nav-link.active,
:root[data-theme="light"] .header nav a:hover,
:root[data-theme="light"] .premium-header .nav-link:hover,
:root[data-theme="light"] .premium-header .nav-link.active,
:root[data-theme="light"] .premium-header nav a:hover {
  color: #8a641c !important;
}

:root[data-theme="light"] .header .nav-link::after,
:root[data-theme="light"] .premium-header .nav-link::after {
  background: linear-gradient(90deg, #b4882f, #d8b45c, #8a641c) !important;
  box-shadow: none !important;
}

:root[data-theme="light"] .header .icon-btn,
:root[data-theme="light"] .premium-header .icon-btn {
  color: #6b4e13 !important;
}

:root[data-theme="light"] .header .icon-btn:hover,
:root[data-theme="light"] .premium-header .icon-btn:hover {
  background: linear-gradient(135deg, #f0d783, #d4ad4d) !important;
  color: #171208 !important;
}

:root[data-theme="light"] .mobile-menu {
  background: #fffdf8 !important;
}

:root[data-theme="light"] .mobile-menu .mobile-nav-link {
  color: #334155 !important;
  border-bottom-color: #e8eef5 !important;
}

:root[data-theme="light"] .mobile-menu .mobile-nav-link:hover,
:root[data-theme="light"] .mobile-menu .mobile-nav-link.active {
  color: #1a3a7a !important;
}

/* ---------- Page headers & section shells ---------- */
:root[data-theme="light"] .page-header {
  background: linear-gradient(135deg, #efe3cd 0%, #fbf7ef 55%, #f0e4cf 100%) !important;
  color: var(--rc-theme-text) !important;
  border-bottom: 1px solid #dfd2b6;
}

:root[data-theme="light"] .page-header h1 {
  color: var(--rc-theme-heading) !important;
}

:root[data-theme="light"] .page-header p {
  color: var(--rc-theme-muted) !important;
  opacity: 1;
}

:root[data-theme="light"] .page-kicker {
  color: #7a5718 !important;
}

:root[data-theme="light"] .breadcrumb {
  color: #6b5d46 !important;
  opacity: 1;
}

:root[data-theme="light"] .breadcrumb a {
  color: #7a5718 !important;
}

:root[data-theme="light"] section:not(.hero):not(.premium-hero):not(.promo-section):not(.app-download-hero),
:root[data-theme="light"] .section {
  background-color: var(--rc-theme-bg) !important;
  color: var(--rc-theme-text) !important;
}

:root[data-theme="light"] .rc-featured-section {
  background: var(--rc-theme-surface) !important;
  border-color: var(--rc-theme-border) !important;
}

:root[data-theme="light"] .section:has(#homeCategories) {
  background: linear-gradient(180deg, #fbf8f1 0%, #fffdf8 100%) !important;
}

:root[data-theme="light"] .promo-section {
  background: linear-gradient(135deg, #eee2cc 0%, #f9f2e5 100%) !important;
}

:root[data-theme="light"] .section-header h2 {
  color: var(--rc-theme-heading) !important;
}

:root[data-theme="light"] .section-header h2 span {
  color: #7a5718 !important;
}

:root[data-theme="light"] .section-header p {
  color: var(--rc-theme-muted) !important;
}

:root[data-theme="light"] .section-header .subtitle,
:root[data-theme="light"] .subtitle {
  background: #f5ead5 !important;
  color: #7a5718 !important;
  border: 1px solid #d6bd85 !important;
}

/* ---------- Home hero ---------- */
:root[data-theme="light"] .premium-hero,
:root[data-theme="light"] .hero,
:root[data-theme="light"] .hero-section {
  background:
    radial-gradient(circle at 78% 18%, rgba(201, 164, 76, .18), transparent 32%),
    radial-gradient(circle at 12% 80%, rgba(255, 255, 255, .7), transparent 28%),
    linear-gradient(120deg, #fbf6eb 0%, #f3e7d1 52%, #fffdf8 100%) !important;
  color: var(--rc-theme-text) !important;
}

:root[data-theme="light"] .premium-hero .hero-content h1,
:root[data-theme="light"] .hero .hero-content h1 {
  color: var(--rc-theme-heading) !important;
}

:root[data-theme="light"] .premium-hero .hero-content h1 span,
:root[data-theme="light"] .hero .hero-content h1 span {
  background: none !important;
  color: #7a5718 !important;
  -webkit-text-fill-color: #7a5718 !important;
  background-clip: border-box !important;
}

:root[data-theme="light"] .premium-kicker,
:root[data-theme="light"] .hero-kicker {
  color: #7a5718 !important;
}

:root[data-theme="light"] .premium-hero .hero-content p,
:root[data-theme="light"] .hero .hero-content p {
  color: var(--rc-theme-muted) !important;
}

:root[data-theme="light"] .hero-trust {
  border-top-color: #d9cbaa !important;
}

:root[data-theme="light"] .hero-trust > div {
  color: #3f372b !important;
}

:root[data-theme="light"] .hero-trust small {
  color: #6b5d46 !important;
}

:root[data-theme="light"] .hero-trust strong {
  background: rgba(138, 100, 28, .12) !important;
  border-color: rgba(138, 100, 28, .35) !important;
  color: #7a5718 !important;
}

:root[data-theme="light"] .premium-hero-image::after {
  background: #fff8e8 !important;
  box-shadow: 0 0 90px rgba(201, 164, 76, .16) !important;
}

:root[data-theme="light"] .hero-image-ring {
  border-color: rgba(122, 87, 24, .18) !important;
}

:root[data-theme="light"] .floating-card {
  background: rgba(255, 253, 248, .94) !important;
  border-color: #d9cbaa !important;
  color: var(--rc-theme-text) !important;
  box-shadow: 0 18px 45px rgba(59, 44, 16, .16) !important;
}

:root[data-theme="light"] .floating-card small {
  color: #6b5d46 !important;
}

:root[data-theme="light"] .premium-hero .btn-outline,
:root[data-theme="light"] .hero .btn-outline {
  background: rgba(255, 253, 248, .72) !important;
  color: #5c4210 !important;
  border-color: #a98938 !important;
}

:root[data-theme="light"] .premium-hero .btn-outline:hover,
:root[data-theme="light"] .hero .btn-outline:hover {
  background: #f0e3c9 !important;
}

:root[data-theme="light"] .hero-scroll {
  color: #8a7a5f !important;
}

:root[data-theme="light"] .hero-scroll span {
  color: #7a5718 !important;
}

/* ---------- Cards, catalogue & product detail ---------- */
:root[data-theme="light"] .product-card,
:root[data-theme="light"] .feature-card,
:root[data-theme="light"] .info-card,
:root[data-theme="light"] .contact-info-card,
:root[data-theme="light"] .about-card,
:root[data-theme="light"] .promo-card,
:root[data-theme="light"] .feature-item,
:root[data-theme="light"] .review-card,
:root[data-theme="light"] .contact-form-card {
  background: var(--rc-theme-surface) !important;
  color: var(--rc-theme-text) !important;
  border-color: var(--rc-theme-border) !important;
  box-shadow: var(--rc-shadow) !important;
}

:root[data-theme="light"] .product-card:hover,
:root[data-theme="light"] .premium-category-card:hover {
  border-color: #c9a44c !important;
  box-shadow: 0 18px 38px rgba(59, 44, 16, .16) !important;
}

:root[data-theme="light"] .premium-category-card,
:root[data-theme="light"] .category-card {
  background: var(--rc-theme-surface) !important;
  border-color: var(--rc-theme-border) !important;
  box-shadow: var(--rc-shadow) !important;
}

:root[data-theme="light"] .category-card-body {
  background: var(--rc-theme-surface) !important;
}

:root[data-theme="light"] .product-category {
  color: #7a5718 !important;
}

:root[data-theme="light"] .catalogue-product-card .product-name a,
:root[data-theme="light"] .product-name a {
  color: #7a5718 !important;
}

:root[data-theme="light"] .catalogue-product-card .product-name a:hover,
:root[data-theme="light"] .product-name a:hover {
  color: #8a641c !important;
}

:root[data-theme="light"] .product-desc {
  color: var(--rc-theme-muted) !important;
}

:root[data-theme="light"] .premium-category-card h3 {
  color: var(--rc-theme-heading) !important;
}

:root[data-theme="light"] .premium-category-card p {
  color: var(--rc-theme-muted) !important;
}

:root[data-theme="light"] .category-card-body .category-eyebrow {
  color: #6b5d46 !important;
}

:root[data-theme="light"] .category-cta {
  color: #4a3d28 !important;
}

:root[data-theme="light"] .promo-card h3,
:root[data-theme="light"] .promo-card p {
  color: var(--rc-theme-heading) !important;
}

:root[data-theme="light"] .promo-card p {
  color: var(--rc-theme-muted) !important;
}

:root[data-theme="light"] .promo-section .section-header h2 {
  color: var(--rc-theme-heading) !important;
}

:root[data-theme="light"] .promo-section .section-header h2 span {
  color: #7a5718 !important;
}

:root[data-theme="light"] .promo-section .subtitle {
  background: #f6ead2 !important;
  color: #7a5718 !important;
  border-color: #c9a44c !important;
}

:root[data-theme="light"] .pd-grid {
  background: transparent !important;
}

:root[data-theme="light"] .pd-gallery {
  background: var(--rc-theme-surface) !important;
  border-color: var(--rc-theme-border) !important;
  box-shadow: var(--rc-shadow) !important;
}

:root[data-theme="light"] .pd-gallery-main img {
  background: #fff !important;
}

:root[data-theme="light"] .pd-info {
  background: var(--rc-theme-surface) !important;
  border-color: var(--rc-theme-border) !important;
  color: var(--rc-theme-text) !important;
  box-shadow: var(--rc-shadow) !important;
}

:root[data-theme="light"] .pd-info h1 {
  color: var(--rc-theme-heading) !important;
}

:root[data-theme="light"] .pd-info .pd-category {
  color: #7a5718 !important;
}

:root[data-theme="light"] .pd-desc {
  color: var(--rc-theme-muted) !important;
}

:root[data-theme="light"] .pd-features li {
  color: #443a2b !important;
  border-bottom-color: #e5d8bd !important;
}

:root[data-theme="light"] .btn-outline,
:root[data-theme="light"] .btn-secondary,
:root[data-theme="light"] .button-secondary {
  background: transparent !important;
  color: #5c4210 !important;
  border-color: #a98938 !important;
}

/* ---------- Forms & search ---------- */
:root[data-theme="light"] input,
:root[data-theme="light"] select,
:root[data-theme="light"] textarea,
:root[data-theme="light"] .form-control {
  background: #fffdf8 !important;
  color: var(--rc-theme-text) !important;
  border: 1px solid #cdbb94 !important;
}

:root[data-theme="light"] input::placeholder,
:root[data-theme="light"] textarea::placeholder {
  color: #8a7a5f !important;
}

:root[data-theme="light"] input:focus,
:root[data-theme="light"] select:focus,
:root[data-theme="light"] textarea:focus {
  border-color: #a98938 !important;
  box-shadow: 0 0 0 3px rgba(169, 137, 56, .16) !important;
}

:root[data-theme="light"] .form-group label {
  color: #443a2b !important;
}

:root[data-theme="light"] .search-wrapper {
  background: transparent !important;
}

:root[data-theme="light"] .search-bar-large {
  background: #fffdf8 !important;
  border-color: #ddcfae !important;
  box-shadow: 0 10px 25px rgba(59, 44, 16, .10) !important;
}

:root[data-theme="light"] .search-bar-large input {
  background: #fffdf8 !important;
  color: var(--rc-theme-text) !important;
}

:root[data-theme="light"] .search-bar-large button {
  background: #8a641c !important;
  color: #fffdf8 !important;
}

:root[data-theme="light"] .search-bar-large button:hover {
  background: #6b4e13 !important;
}

:root[data-theme="light"] #searchSuggestions {
  background: #fffdf8 !important;
  border-color: #d8c49a !important;
  box-shadow: 0 10px 25px rgba(59, 44, 16, .14) !important;
}

:root[data-theme="light"] #searchSuggestions .rc-suggestion-item {
  background: #fffdf8 !important;
  color: var(--rc-theme-text) !important;
}

:root[data-theme="light"] #searchSuggestions .rc-suggestion-item:hover {
  background: #f1e8d7 !important;
}

:root[data-theme="light"] #searchSuggestions .rc-suggestion-copy strong {
  color: #2f281e !important;
}

:root[data-theme="light"] #searchSuggestions .rc-suggestion-copy small {
  color: #6b5d46 !important;
}

:root[data-theme="light"] #searchSuggestions .rc-suggestion-arrow {
  color: #8a7a5f !important;
}

:root[data-theme="light"] #searchSuggestions .rc-suggestion-all {
  background: #fffdf8 !important;
  color: #2f281e !important;
  border-top-color: #e5d8bd !important;
}

:root[data-theme="light"] #searchSuggestions .rc-suggestion-all:hover {
  background: #f1e8d7 !important;
}

/* ---------- About & contact pages ---------- */
:root[data-theme="light"] .about-story-grid h2 {
  color: var(--rc-theme-heading) !important;
}

:root[data-theme="light"] .about-story-grid h2 span {
  color: #7a5718 !important;
}

:root[data-theme="light"] .about-story-grid p {
  color: var(--rc-theme-muted) !important;
}

:root[data-theme="light"] .about-story-grid img {
  box-shadow: 0 20px 40px rgba(59, 44, 16, .16) !important;
}

:root[data-theme="light"] .about-badge {
  background: var(--rc-theme-surface) !important;
  color: var(--rc-theme-text) !important;
  border: 1px solid var(--rc-theme-border-strong) !important;
  box-shadow: var(--rc-shadow) !important;
}

:root[data-theme="light"] .about-badge div:first-child {
  color: #8a641c !important;
}

:root[data-theme="light"] .about-badge div:last-child {
  color: var(--rc-theme-muted) !important;
}

:root[data-theme="light"] .about-stats-grid > div {
  background: var(--rc-theme-surface) !important;
  color: var(--rc-theme-text) !important;
  border: 1px solid var(--rc-theme-border) !important;
  box-shadow: var(--rc-shadow) !important;
}

:root[data-theme="light"] .about-stats-grid > div > div:nth-child(2) {
  color: #8a641c !important;
}

:root[data-theme="light"] .about-stats-grid > div > div:last-child {
  color: var(--rc-theme-muted) !important;
}

:root[data-theme="light"] .contact-info-card {
  background: var(--rc-theme-surface) !important;
  color: var(--rc-theme-text) !important;
  border-color: var(--rc-theme-border) !important;
  box-shadow: var(--rc-shadow) !important;
}

:root[data-theme="light"] .contact-info-card h4 {
  color: var(--rc-theme-heading) !important;
}

:root[data-theme="light"] .contact-info-card p {
  color: var(--rc-theme-muted) !important;
}

:root[data-theme="light"] .contact-info-card .icon {
  background: linear-gradient(135deg, #a57c27, #6b4e13) !important;
  color: #fffdf8 !important;
}

:root[data-theme="light"] .contact-form-card {
  background: var(--rc-theme-surface) !important;
  color: var(--rc-theme-text) !important;
  border: 1px solid var(--rc-theme-border) !important;
  box-shadow: var(--rc-shadow) !important;
}

:root[data-theme="light"] .contact-form-card h3 {
  color: var(--rc-theme-heading) !important;
}

:root[data-theme="light"] .contact-map {
  background: #e9dfcc !important;
}

/* ---------- Footer ---------- */
:root[data-theme="light"] footer,
:root[data-theme="light"] .footer,
:root[data-theme="light"] .site-footer {
  background: #f1e7d5 !important;
  color: #4a3d28 !important;
  border-top: 1px solid #d8c8a8 !important;
}

:root[data-theme="light"] .footer-col h4 {
  color: var(--rc-theme-heading) !important;
}

:root[data-theme="light"] .footer-col a,
:root[data-theme="light"] .footer a,
:root[data-theme="light"] .site-footer a {
  color: #6c4e16 !important;
}

:root[data-theme="light"] .footer-col a:hover,
:root[data-theme="light"] .footer a:hover,
:root[data-theme="light"] .site-footer a:hover {
  color: #8a641c !important;
}

:root[data-theme="light"] .footer-brand p,
:root[data-theme="light"] .footer-bottom p,
:root[data-theme="light"] .footer-contact-item span {
  color: #5f5442 !important;
}

:root[data-theme="light"] .footer-bottom {
  border-top-color: #d8c8a8 !important;
}

:root[data-theme="light"] .footer-social a {
  background: #e7d8bd !important;
  color: #5c4210 !important;
}

/* ---------- Loading & motion ---------- */
:root[data-theme="light"] #rcPageLoader {
  background:
    radial-gradient(circle at 50% 42%, rgba(201, 164, 76, .15), transparent 30%),
    linear-gradient(135deg, #fbf5e9 0%, #f1e4cf 55%, #fffdf8 100%);
}

:root[data-theme="light"] .rc-loader-logo {
  background: rgba(255, 253, 248, .82);
  border-color: #d9cbaa;
  box-shadow: 0 28px 70px rgba(59, 44, 16, .15);
}

:root[data-theme="light"] .rc-loader-title {
  color: #241d12;
}

:root[data-theme="light"] .rc-loader-subtitle {
  color: #6b5d46;
}

:root[data-theme="light"] .rc-loader-bar {
  background: #e5d8bd;
}

:root[data-theme="light"] .loading-skeleton,
:root[data-theme="light"] .skeleton {
  background: linear-gradient(90deg, #efe5d3 25%, #e5d8bd 50%, #efe5d3 75%);
  background-size: 200% 100%;
}

/* Search suggestion layout (colors are themed above and by the noir layer). */
#searchSuggestions {
  border: 1px solid #6b5524;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .4);
  overflow: hidden;
}

#searchSuggestions .rc-suggestion-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 0;
  text-align: left;
  cursor: pointer;
}

#searchSuggestions .rc-suggestion-copy {
  flex: 1;
  min-width: 0;
}

#searchSuggestions .rc-suggestion-copy strong,
#searchSuggestions .rc-suggestion-copy small {
  display: block;
}

#searchSuggestions .rc-suggestion-icon {
  font-size: 20px;
  line-height: 1;
}

#searchSuggestions .rc-suggestion-arrow {
  font-size: 20px;
  line-height: 1;
}

#searchSuggestions .rc-suggestion-all {
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-top: 1px solid #3a321f;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
}

/* ===== COLOR VISUALIZER =====
 * The visualiser controls must never be hidden by the scroll-reveal motion:
 * the palette block is far taller than the viewport, so the reveal engine's
 * intersection threshold can never be met on short windows, zoomed pages or
 * background tabs — the colours would stay invisible (yet still clickable).
 */
html.rc-motion-ready .rc-color-step,
html.rc-motion-ready .rc-color-preview,
html.rc-motion-ready .rc-color-step.rc-reveal,
html.rc-motion-ready .rc-color-preview.rc-reveal {
  opacity: 1 !important;
  transform: none !important;
}

.rc-color-section {
  padding: 56px 24px 96px;
}

.rc-color-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 42px;
  align-items: start;
}

.rc-color-controls {
  display: flex;
  flex-direction: column;
  gap: 34px;
  min-width: 0;
}

.rc-color-step {
  min-width: 0;
}

.rc-color-step__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.rc-color-step__num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #171208;
  background: linear-gradient(135deg, #f0d783, #b18a2e);
  box-shadow: 0 6px 16px rgba(95, 67, 16, .28);
}

.rc-color-step__head h2 {
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 1.25;
  color: #f0d783;
}

.rc-color-step__head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #a89c7d;
}

.rc-rooms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rc-room {
  display: block;
  width: 100%;
  padding: 10px 10px 14px;
  text-align: left;
  background: #1e1e1e !important;
  color: #eee7d6 !important;
  border: 1px solid #3a321f !important;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22) !important;
  font-weight: 400 !important;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.rc-room:hover {
  transform: translateY(-3px);
  border-color: #6b5524 !important;
  background: #1a1a1a !important;
  color: #eee7d6 !important;
}

.rc-room__thumb {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #0d0d0d;
  line-height: 0;
}

.rc-room__thumb .rc-photo {
  aspect-ratio: 1672 / 941;
}

.rc-room__name {
  display: block;
  margin-top: 12px;
  font-weight: 800;
  font-size: 16px;
  color: #f0d783;
}

.rc-room__meta {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #a89c7d;
}

.rc-room.is-active {
  border-color: #c9a44c !important;
  box-shadow: 0 10px 30px rgba(201, 164, 76, .24) !important;
}

.rc-room.is-active .rc-room__name {
  color: #ffe9a8;
}

.rc-palette {
  display: block;
}

.rc-family + .rc-family {
  margin-top: 20px;
}

.rc-family__title {
  margin: 0 0 10px;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
  color: #8d8168;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rc-family__count {
  font-size: 10.5px;
  letter-spacing: .06em;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #3a321f;
  color: #a89c7d;
}

.rc-palette-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  scroll-margin-top: 124px;
}

.rc-families {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 320px;
  min-width: 0;
}

.rc-family-chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #3a321f;
  background: #141414 !important;
  color: #d9cfb6 !important;
  font-size: 12.5px;
  font-weight: 700 !important;
  cursor: pointer;
  box-shadow: none !important;
  white-space: nowrap;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.rc-family-chip:hover {
  border-color: #6b5524 !important;
  color: #f0d783 !important;
  background: #1a1a1a !important;
}

.rc-family-chip.is-active {
  border-color: #c9a44c !important;
  background: linear-gradient(135deg, #f0d783, #b18a2e) !important;
  color: #171208 !important;
  box-shadow: 0 4px 14px rgba(95, 67, 16, .25) !important;
}

.rc-palette-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
}

.rc-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.rc-search__icon {
  position: absolute;
  left: 12px;
  font-size: 13px;
  opacity: .7;
  pointer-events: none;
}

.rc-search input {
  width: 100%;
  min-width: 230px;
  padding: 10px 14px 10px 34px;
  border-radius: 999px;
  border: 1px solid #3a321f;
  background: #141414 !important;
  color: #eee7d6 !important;
  font-size: 13px;
  font-family: inherit;
}

.rc-search input::placeholder {
  color: #8d8168;
}

.rc-search input:focus-visible {
  outline: 3px solid #f0d783 !important;
  outline-offset: 2px;
}

.rc-palette-count {
  margin: 0;
  font-size: 12px;
  color: #8d8168;
  white-space: nowrap;
}

.rc-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(98px, 1fr));
  gap: 10px;
}

.rc-swatch {
  display: block;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: transparent !important;
  border: 1px solid #3a321f !important;
  color: #eee7d6 !important;
  box-shadow: none !important;
  font-weight: 400 !important;
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.rc-swatch:hover {
  transform: translateY(-2px);
  border-color: #c9a44c !important;
  background: transparent !important;
  color: #eee7d6 !important;
}

/* Full-bleed colour tile: the colour fills the whole swatch so every shade is
   unmistakable, and the label sits on a dark strip that stays readable on any
   colour (including pure white or pure black). */
.rc-swatch__chip {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

.rc-swatch__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 16px 8px 7px;
  background: linear-gradient(to top, rgba(8, 8, 8, .88) 0%, rgba(8, 8, 8, .66) 52%, rgba(8, 8, 8, 0) 100%);
  color: #fff;
}

.rc-swatch__name {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .55);
}

.rc-swatch__hex {
  display: block;
  font-size: 10px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .88);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.rc-swatch.is-active {
  border-color: #c9a44c !important;
  box-shadow: 0 0 0 2px #f0d783, 0 10px 24px rgba(201, 164, 76, .28) !important;
}

.rc-swatch.is-active .rc-swatch__chip {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
}

/* Selected marker on the colour tile. */
.rc-swatch.is-active .rc-swatch__chip::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #171208;
  border: 2px solid #f0d783;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}

.rc-swatch.is-active .rc-swatch__chip::before {
  content: '';
  position: absolute;
  right: 11px;
  top: 10px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #f0d783;
  border-bottom: 2px solid #f0d783;
  transform: rotate(-45deg);
  z-index: 1;
}

.rc-swatch.is-active .rc-swatch__name {
  color: #fff0b5;
}

.rc-color-preview {
  position: sticky;
  top: 108px;
  min-width: 0;
}

.rc-preview-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #3a321f;
  background: #0b0b0b;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .42);
}

/* ===== PHOTO STACK =====
 * Layer 1 : the untouched photograph.
 * Layer 2 : the lighting map (walls normalised, alpha baked on the wall mask).
 * Layer 3 : the paint colour, multiplied and clipped by the wall mask.
 */
.rc-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1672 / 941;
  overflow: hidden;
  isolation: isolate;
  background: #0b0b0b;
  line-height: 0;
}

.rc-photo__base,
.rc-photo__light,
.rc-photo__paint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.rc-photo__base,
.rc-photo__light {
  object-fit: cover;
}

.rc-photo__light {
  mix-blend-mode: normal;
  opacity: 0 !important;
}

/* The lighting map only replaces the wall while a colour is applied, so the
   untouched photograph stays 100% original when the visualiser is reset. */
html.rc-paint-on .rc-photo__light {
  opacity: 1 !important;
}

.rc-photo__paint {
  background: var(--rc-paint, transparent);
  mix-blend-mode: multiply;
  -webkit-mask-image: var(--rc-photo-mask);
  mask-image: var(--rc-photo-mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.rc-preview-tools {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
}

.rc-btn-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(8, 8, 8, .66) !important;
  border: 1px solid rgba(201, 164, 76, .42) !important;
  color: #f0d783 !important;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 700 !important;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .2s ease, color .2s ease;
}

.rc-btn-reset:hover {
  background: rgba(26, 21, 10, .88) !important;
  color: #fff0b5 !important;
  border-color: rgba(201, 164, 76, .7) !important;
}

.rc-preview-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px 9px 10px;
  border-radius: 999px;
  background: rgba(8, 8, 8, .68);
  border: 1px solid rgba(201, 164, 76, .38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.rc-preview-badge__chip {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .4);
}

.rc-preview-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.rc-preview-badge__name {
  font-size: 14px;
  font-weight: 800;
  color: #f6f1e4;
}

.rc-preview-badge__hex {
  font-size: 11.5px;
  letter-spacing: .08em;
  color: #d7c9a4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.rc-preview-caption {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #b8ad91;
}

.rc-preview-caption strong {
  color: #f0d783;
}

.rc-preview-note {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #8d8168;
}

.rc-color-cta {
  padding-top: 0;
}

.rc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Color visualizer — light theme */
:root[data-theme="light"] .rc-color-step__head h2 { color: #241d12 !important; }
:root[data-theme="light"] .rc-color-step__head p { color: #6b5d46 !important; }
:root[data-theme="light"] .rc-room,
:root[data-theme="light"] .rc-swatch {
  background: #ded5c0 !important;
  border-color: #c6b391 !important;
  color: #2f281e !important;
}
:root[data-theme="light"] .rc-room:hover,
:root[data-theme="light"] .rc-swatch:hover {
  border-color: #c9a44c !important;
  background: #eee6d2 !important;
  color: #2f281e !important;
}
:root[data-theme="light"] .rc-swatch {
  background: transparent !important;
  border-color: #c6b391 !important;
}
:root[data-theme="light"] .rc-swatch:hover {
  background: transparent !important;
  border-color: #c9a44c !important;
}
:root[data-theme="light"] .rc-swatch__chip {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35) !important;
}
:root[data-theme="light"] .rc-swatch.is-active {
  border-color: #b98c2e !important;
  box-shadow: 0 0 0 2px #d8ab3c, 0 10px 26px rgba(59, 44, 16, .18) !important;
}
:root[data-theme="light"] .rc-room.is-active,
:root[data-theme="light"] .rc-swatch.is-active {
  border-color: #b98c2e !important;
  box-shadow: 0 10px 26px rgba(59, 44, 16, .14) !important;
}
:root[data-theme="light"] .rc-room__name { color: #6b4e13 !important; }
:root[data-theme="light"] .rc-swatch__name { color: #fff !important; }
:root[data-theme="light"] .rc-room__meta { color: #6b5d46 !important; }
:root[data-theme="light"] .rc-swatch__hex { color: rgba(255, 255, 255, .88) !important; }
:root[data-theme="light"] .rc-family__title { color: #7a6a4d !important; }
:root[data-theme="light"] .rc-family__count { border-color: #ded0b0 !important; color: #6b5d46 !important; }
:root[data-theme="light"] .rc-family-chip {
  background: #fffdf8 !important;
  border-color: #ded0b0 !important;
  color: #6b4e13 !important;
}
:root[data-theme="light"] .rc-family-chip:hover {
  background: #f6efdf !important;
  border-color: #c9a44c !important;
  color: #4f390d !important;
}
:root[data-theme="light"] .rc-family-chip.is-active {
  background: linear-gradient(135deg, #f0d783, #b18a2e) !important;
  border-color: #b98c2e !important;
  color: #171208 !important;
}
:root[data-theme="light"] .rc-search input {
  background: #fffdf8 !important;
  border-color: #ded0b0 !important;
  color: #2f281e !important;
}
:root[data-theme="light"] .rc-search input::placeholder { color: #7a6a4d !important; }
:root[data-theme="light"] .rc-search input:focus-visible { outline-color: #7a5718 !important; }
:root[data-theme="light"] .rc-palette-count { color: #7a6a4d !important; }
:root[data-theme="light"] .rc-preview-frame {
  border-color: #ded0b0 !important;
  background: #fffdf8 !important;
  box-shadow: 0 22px 50px rgba(59, 44, 16, .16) !important;
}
:root[data-theme="light"] .rc-preview-badge {
  background: rgba(255, 253, 248, .92) !important;
  border-color: #d8c49a !important;
  box-shadow: 0 10px 26px rgba(59, 44, 16, .16) !important;
}
:root[data-theme="light"] .rc-preview-badge__chip { border-color: rgba(59, 44, 16, .28) !important; }
:root[data-theme="light"] .rc-preview-badge__name { color: #241d12 !important; }
:root[data-theme="light"] .rc-preview-badge__hex { color: #6b5d46 !important; }
:root[data-theme="light"] .rc-btn-reset {
  background: rgba(255, 253, 248, .92) !important;
  border-color: #c9a44c !important;
  color: #6b4e13 !important;
}
:root[data-theme="light"] .rc-btn-reset:hover {
  background: #f3e8d2 !important;
  color: #4f390d !important;
}
:root[data-theme="light"] .rc-preview-caption { color: #5f5442 !important; }
:root[data-theme="light"] .rc-preview-caption strong { color: #7a5718 !important; }
:root[data-theme="light"] .rc-preview-note { color: #7a6a4d !important; }

/* Light theme focus ring on the light surfaces. */
:root[data-theme="light"] a:focus-visible,
:root[data-theme="light"] button:focus-visible,
:root[data-theme="light"] input:focus-visible,
:root[data-theme="light"] textarea:focus-visible,
:root[data-theme="light"] select:focus-visible,
:root[data-theme="light"] [tabindex]:focus-visible {
  outline-color: #7a5718 !important;
}

@media (max-width: 1024px) {
  .rc-color-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }
  .rc-color-preview {
    position: static;
  }
}

@media (max-width: 680px) {
  .rc-color-section {
    padding: 40px 16px 72px;
  }
  .rc-rooms {
    grid-template-columns: minmax(0, 1fr);
  }
  .rc-swatches {
    grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
    gap: 8px;
  }
  .rc-swatch {
    padding: 0;
  }
  .rc-swatch__chip {
    aspect-ratio: 4 / 3;
  }
  .rc-swatch__label {
    padding: 14px 6px 5px;
  }
  .rc-swatch__name {
    font-size: 10.5px;
  }
  .rc-swatch__hex {
    font-size: 9.5px;
  }
  .rc-family + .rc-family {
    margin-top: 16px;
  }
  .rc-preview-badge {
    left: 12px;
    bottom: 12px;
    padding: 7px 14px 7px 8px;
  }
  .rc-preview-badge__chip {
    width: 30px;
    height: 30px;
  }
  .rc-preview-tools {
    top: 12px;
    right: 12px;
  }
  .rc-btn-reset {
    padding: 8px 14px;
    font-size: 12.5px;
  }
  .rc-palette-bar {
    gap: 10px;
  }
  .rc-search input {
    min-width: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rc-room,
  .rc-swatch,
  .rc-btn-reset {
    transition: none !important;
  }
  .rc-room:hover,
  .rc-swatch:hover {
    transform: none !important;
  }
}

/* =========================================================
   PUBLIC COLLECTIONS — THREE APPROVED CATEGORY CARDS
   Presentation-only layout; catalogue data remains unchanged.
========================================================= */
#homeCategories.public-categories-grid,
#catGrid.public-categories-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.public-categories-grid .premium-category-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0 !important;
}

.public-categories-grid .category-media {
  height: auto;
  aspect-ratio: 3 / 2;
  flex: 0 0 auto;
}

.public-categories-grid .category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.public-categories-grid .category-media-overlay {
  z-index: 1;
}

.public-categories-grid .category-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 220px;
  padding: 22px;
}

.public-categories-grid .category-card-body p {
  min-height: 38px;
}

.public-categories-grid .category-cta {
  margin-top: auto;
  padding-top: 17px;
}

@media (max-width: 1100px) {
  #homeCategories.public-categories-grid,
  #catGrid.public-categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  #homeCategories.public-categories-grid,
  #catGrid.public-categories-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .public-categories-grid .category-card-body {
    min-height: 0;
    padding: 20px;
  }
}

/* =========================================================
   TECHNICAL SHEET PREVIEW ACTIONS
   One branded preview PDF per catalogue product.
========================================================= */
.tech-sheet-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  width: 100%;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(201, 164, 76, .22);
}

.catalogue-product-card .tech-sheet-actions {
  margin-top: auto;
}

.tech-sheet-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid #e4ca83;
  border-radius: 9px;
  background: linear-gradient(135deg, #f6e4ad 0%, #d4b25c 48%, #b18a2e 100%);
  color: #15120a !important;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.tech-sheet-download:hover,
.tech-sheet-download:focus-visible {
  color: #080808 !important;
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(201, 164, 76, .28);
}

.tech-sheet-download:active {
  transform: translateY(0);
}

.tech-sheet-download svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.tech-sheet-open {
  display: inline-flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  gap: 5px;
  color: var(--rc-theme-link, #dfbd61) !important;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tech-sheet-open:hover {
  color: #ffe7a0 !important;
}

.tech-sheet-open svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

.tech-sheet-note {
  display: block;
  color: var(--rc-theme-muted, #c7bea8);
  font-size: 10px;
  line-height: 1.35;
  text-align: center;
  opacity: .88;
}

.tech-sheet-download:focus-visible,
.tech-sheet-open:focus-visible {
  outline: 2px solid #f4e4b6;
  outline-offset: 3px;
}

.pd-tech-sheet {
  width: 100%;
  margin-top: 6px;
  padding: 17px;
  border: 1px solid rgba(201, 164, 76, .26);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
}

.pd-tech-sheet__title {
  margin-bottom: 11px;
  color: var(--rc-theme-heading, #e5c66b);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.pd-tech-sheet .tech-sheet-actions {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.pd-tech-sheet .tech-sheet-download {
  width: 100%;
  max-width: 430px;
  min-height: 48px;
  font-size: 13px;
}

.pd-tech-sheet .tech-sheet-open {
  align-self: flex-start;
}

:root[data-theme="light"] .tech-sheet-actions {
  border-top-color: rgba(138, 100, 28, .22);
}

:root[data-theme="light"] .tech-sheet-download {
  border-color: #c9a44c;
  background: linear-gradient(135deg, #f7e8bb 0%, #ddbe70 48%, #bd963b 100%);
  box-shadow: 0 6px 16px rgba(80, 59, 17, .16);
}

:root[data-theme="light"] .tech-sheet-download:hover,
:root[data-theme="light"] .tech-sheet-download:focus-visible {
  box-shadow: 0 10px 22px rgba(80, 59, 17, .22);
}

:root[data-theme="light"] .tech-sheet-open {
  color: #7a5718 !important;
}

:root[data-theme="light"] .tech-sheet-open:hover {
  color: #8a641c !important;
}

:root[data-theme="light"] .tech-sheet-note {
  color: #6b5d46;
}

:root[data-theme="light"] .pd-tech-sheet {
  border-color: #ddcfae;
  background: #fffdf8;
}

@media (max-width: 1024px) {
  .pd-grid,
  .pd-grid > * {
    min-width: 0;
  }

  .pd-info h1 {
    overflow-wrap: break-word;
  }
}

@media (max-width: 640px) {
  .pd-info h1 {
    font-size: 26px;
    line-height: 1.15;
  }

  .tech-sheet-download {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12px;
  }

  .pd-tech-sheet {
    padding: 14px;
  }

  .pd-tech-sheet .tech-sheet-download {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-sheet-download {
    transition: none;
  }

  .tech-sheet-download:hover {
    transform: none;
  }
}

