/* Theme 9 — "Bold Deals": vibrant gradient, playful, promo/flash-sale energy.
   Same underlying grid (first product featured/larger) as before, but a
   completely different look — bright, rounded, colorful instead of the
   earlier black/gold editorial-magazine treatment. */
.preview-theme.theme-r9 {
  --bg: #FFF4E8;
  --card: #ffffff;
  --text: #2B1B12;
  --muted: #8A6F5C;
  --border: #FFE3C2;
  --accent: #FFE3C2;
  --accent-text: #E0562B;
}
.theme-r9 .store-simple-header h1 { color: #2B1B12; font-size: clamp(22px, 6vw, 32px) !important; font-weight: 800; font-family: 'Fredoka', sans-serif !important; }
.theme-r9 .store-simple-header p { color: #E0562B; font-weight: 700; font-family: 'Fredoka', sans-serif !important; font-size: clamp(13px, 3.6vw, 16px) !important; }

.theme-r9 .cat-chip { background: #fff; color: #8A6F5C; box-shadow: 0 2px 8px rgba(224,86,43,0.1); }
.theme-r9 .cat-chip.cat-active { background: linear-gradient(135deg, #FF7A45, #E0562B); color: #fff; }

.theme-r9 .product-card {
  background: #fff;
  border: none;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(224,86,43,0.1);
}
.theme-r9 .product-image { border-radius: 16px; background: linear-gradient(135deg, #FFE3C2, #FFD1A8); }
.theme-r9 .product-card.featured { background: linear-gradient(135deg, #FF7A45, #E0562B); }
.theme-r9 .product-card.featured .product-image { background: rgba(255,255,255,0.25); }
.theme-r9 .product-card.featured .product-name { color: #fff; }
.theme-r9 .product-card.featured .product-price { background: rgba(255,255,255,0.95); color: #E0562B; }
.theme-r9 .product-name { font-weight: 800; font-size: 15px; margin-top: 10px; }
.theme-r9 .product-price {
  font-weight: 800; color: #E0562B; background: #FFE3C2;
  display: inline-block; padding: 3px 10px; border-radius: 999px; margin-top: 4px; font-size: 13px;
}
.theme-r9 .more-btn { background: linear-gradient(135deg, #FF7A45, #E0562B); color: #fff; box-shadow: 0 6px 16px rgba(224,86,43,0.35); }

.theme-r9 .popup-card, .theme-r9 .checkout-overlay-card { background: #fff; }
.theme-r9 .popup-backdrop, .theme-r9 .checkout-overlay-backdrop { background: rgba(43,27,18,0.5); }
.theme-r9 .popup-close, .theme-r9 .checkout-close { background: #FFE3C2; color: #E0562B; }
.theme-r9 .popup-image { border-radius: 16px; background: linear-gradient(135deg, #FFE3C2, #FFD1A8); }
.theme-r9 .popup-desc { color: #8A6F5C; }
.theme-r9 .checkout-badge { background: linear-gradient(135deg, #FF7A45, #E0562B); color: #fff; font-weight: 800; }

.theme-r9 .form-group input, .theme-r9 .form-group textarea, .theme-r9 .form-group select {
  background: #FFF4E8; border-radius: 14px;
}
.theme-r9 .total-box { background: #FFF4E8; border-radius: 16px; }
.theme-r9 .upload-ui { background: #FFF4E8; border-radius: 16px; }
.theme-r9 .send-btn { background: linear-gradient(135deg, #FF7A45, #E0562B); border-radius: 999px; font-weight: 800; }

.theme-r9 .cart-bar { background: linear-gradient(135deg, #FF7A45, #E0562B); box-shadow: 0 10px 28px rgba(224,86,43,0.35); }
.theme-r9 .cart-bar-checkout-label { background: #fff; color: #E0562B; }

/* ---------- R9 full-store chrome: bold deals ---------- */
.theme-r9.sf-chrome { --sf-primary: #C2410C; --sf-primary-ink: #ffffff; --muted: #7a5f4d; font-family: 'Fredoka', 'Manrope', sans-serif; }
.theme-r9.sf-chrome .sf-announce { background: #2B1B12; color: #FFE3C2; }
.theme-r9.sf-chrome .sf-header { background: #fff; border-bottom: 3px solid #E0562B; }
.theme-r9.sf-chrome .sf-brand { font-weight: 700; font-size: 21px; color: #C2410C; }
@media (min-width: 760px) { .theme-r9.sf-chrome .sf-brand { font-size: 24px; } }
.theme-r9.sf-chrome .sf-nav a { font-weight: 600; }
.theme-r9.sf-chrome .sf-nav a:hover, .theme-r9.sf-chrome .sf-icon-btn:hover { background: #FFE3C2; }
.theme-r9.sf-chrome .sf-search input, .theme-r9.sf-chrome .sf-search select { background: #FFF4E8; border-color: #FFE3C2; font-family: inherit; }
.theme-r9.sf-chrome .sf-hero-promo { background: #2B1B12; color: #fff; box-shadow: 0 14px 30px rgba(43, 27, 18, 0.25); }
.theme-r9.sf-chrome .sf-hero-promo .store-simple-header h1 { color: #fff; font-size: clamp(32px, 9vw, 56px) !important; line-height: 1.02; font-weight: 700; }
.theme-r9.sf-chrome .sf-hero-promo .store-simple-header p, .theme-r9.sf-chrome .sf-hero-promo .sf-tagline { color: #FFE3C2; font-weight: 600; }
.theme-r9.sf-chrome .sf-hero-promo .sf-btn { background: #FF7A45; border-color: #FF7A45; color: #2B1B12; font-weight: 700; font-size: 17px; box-shadow: 0 8px 20px rgba(255, 122, 69, 0.35); }
.theme-r9.sf-chrome .sf-hero-fallback { background: linear-gradient(135deg, #FF7A45, #E0562B); }
.theme-r9.sf-chrome .sf-hero-fallback span { color: #fff; opacity: 0.85; }
.theme-r9.sf-chrome .sf-btn { font-family: inherit; font-weight: 700; }
.theme-r9.sf-chrome .sf-h2 { font-size: 24px; font-weight: 700; color: #2B1B12; }
.theme-r9.sf-chrome .cat-chip.sf-cat-card { background: #fff; color: #2B1B12; box-shadow: 0 4px 12px rgba(224, 86, 43, 0.12); border: 0; }
.theme-r9.sf-chrome .cat-chip.sf-cat-card.cat-active { background: #C2410C; color: #fff; }
.theme-r9.sf-chrome .cat-chip.sf-cat-card.cat-active .sf-cat-thumb { background: #FFE3C2; }
.theme-r9.sf-chrome .sf-cat-thumb { background: #FFE3C2; color: #9A3412; }
.theme-r9.sf-chrome .sf-card { border-radius: 22px; }
.theme-r9.sf-chrome .sf-card-media { margin: 8px 8px 0; width: calc(100% - 16px); border-radius: 16px; background: linear-gradient(135deg, #FFE3C2, #FFD1A8); }
.theme-r9.sf-chrome .sf-card-name { margin: 6px 0 0; font-weight: 700; font-size: 16px; }
.theme-r9.sf-chrome .sf-card .product-price { margin: 0; color: #9A3412; background: #FFE3C2; font-size: 15px; font-weight: 700; }
.theme-r9.sf-chrome .sf-add { background: #C2410C; font-family: inherit; font-size: 15px; font-weight: 700; }
.theme-r9.sf-chrome .sf-g-editorial .sf-card:first-child { background: #C2410C; color: #fff; }
.theme-r9.sf-chrome .sf-g-editorial .sf-card:first-child .sf-card-name, .theme-r9.sf-chrome .sf-g-editorial .sf-card:first-child .sf-card-desc { color: #fff; }
.theme-r9.sf-chrome .sf-g-editorial .sf-card:first-child .product-price { background: #fff; color: #9A3412; }
.theme-r9.sf-chrome .sf-g-editorial .sf-card:first-child .sf-add { background: #2B1B12; color: #fff; }
.theme-r9.sf-chrome .sf-feat-price { color: #9A3412; font-weight: 700; }
.theme-r9.sf-chrome .sf-feat-img { border-radius: 18px; }
.theme-r9.sf-chrome .sf-footer { background: #2B1B12; color: #FFE3C2; border-top: 0; }
.theme-r9.sf-chrome .sf-footer .sf-ft-col h3, .theme-r9.sf-chrome .sf-footer .sf-ft-col p { color: #E9C9A3; }
.theme-r9.sf-chrome .sf-footer .powered { color: #E9C9A3; }
.theme-r9.sf-chrome .sf-drawer-panel { border-radius: 24px 0 0 24px; }
.theme-r9.sf-chrome .sf-line-ctl button { border-radius: 12px; }
@media (max-width: 480px) { .theme-r9.sf-chrome .sf-drawer-panel { border-radius: 0; } }
