/* Theme 6 — "Marketplace": dense 3-col compact grid, utilitarian */
.preview-theme.theme-r6 {
  --bg: #F4F5F2;
  --card: #ffffff;
  --text: #16181A;
  --muted: #767B80;
  --border: #E2E4E0;
  --accent: #E3EEFB;
  --accent-text: #2B5EA8;
}
.theme-r6 .store-simple-header { padding: 16px 16px 8px; }
.theme-r6 .store-simple-header h1 { font-size: clamp(17px, 4.8vw, 23px) !important; font-family: 'Roboto Condensed', sans-serif !important; font-weight: 700; }
.theme-r6 .store-simple-header p { font-size: clamp(12px, 3.2vw, 14.5px) !important; font-family: 'Roboto Condensed', sans-serif !important; }

.theme-r6 .cat-chip { background: #fff; border: 1px solid #E2E4E0; font-size: 11px; padding: 5px 11px; }
.theme-r6 .cat-chip.cat-active { background: #2B5EA8; color: #fff; border-color: #2B5EA8; }

.theme-r6 .product-card { background: #fff; border: 1px solid #E2E4E0; border-radius: 6px; }
.theme-r6 .product-image { border-radius: 4px; background: #F0F1EE; }
.theme-r6 .product-name { font-size: 11.5px; font-weight: 500; line-height: 1.3; }
.theme-r6 .product-price { font-size: 13px; font-weight: 800; color: #C0392B; }
.theme-r6 .more-btn { width: 24px; height: 24px; font-size: 13px; background: #2B5EA8; color: #fff; }

.theme-r6 .popup-card, .theme-r6 .checkout-overlay-card { background: #fff; }
.theme-r6 .popup-backdrop, .theme-r6 .checkout-overlay-backdrop { background: rgba(0,0,0,0.4); }
.theme-r6 .popup-close, .theme-r6 .checkout-close { background: #F0F1EE; }
.theme-r6 .popup-image { background: #F0F1EE; border-radius: 6px; }
.theme-r6 .checkout-badge { background: #2B5EA8; color: #fff; }

.theme-r6 .form-group input, .theme-r6 .form-group textarea, .theme-r6 .form-group select { background: #F4F5F2; border-radius: 6px; }
.theme-r6 .total-box { background: #F4F5F2; border-radius: 6px; }
.theme-r6 .upload-ui { background: #F4F5F2; border-radius: 6px; }
.theme-r6 .send-btn { background: #2B5EA8; border-radius: 6px; }

.theme-r6 .cart-bar { background: #2B5EA8; }
.theme-r6 .cart-bar-checkout-label { background: #fff; color: #2B5EA8; }

/* ---------- R6 full-store chrome: marketplace, dense and efficient ---------- */
.theme-r6.sf-chrome { --sf-primary: #2B5EA8; --sf-primary-ink: #ffffff; --muted: #5f6469; font-family: 'Roboto Condensed', 'Manrope', sans-serif; }
.theme-r6.sf-chrome .sf-header { background: #fff; border-bottom: 1px solid #E2E4E0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); }
.theme-r6.sf-chrome .sf-brand { font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 0.03em; color: #2B5EA8; }
.theme-r6.sf-chrome .sf-logo { border-radius: 6px; }
.theme-r6.sf-chrome .sf-search { padding-bottom: 10px; }
.theme-r6.sf-chrome .sf-search input { border: 2px solid #2B5EA8; border-radius: 6px; background: #fff; }
.theme-r6.sf-chrome .sf-search select { border-radius: 6px; border-color: #E2E4E0; background: #fff; }
.theme-r6.sf-chrome .sf-hero { background: #fff; border-bottom: 1px solid #E2E4E0; max-width: none; padding: 12px 16px; }
.theme-r6.sf-chrome .sf-hero .sf-hero-text, .theme-r6.sf-chrome .sf-hero .sf-hero-media { max-width: 1048px; margin-left: auto; margin-right: auto; width: 100%; }
.theme-r6.sf-chrome .store-simple-header { padding: 0; }
.theme-r6.sf-chrome .sf-hero .store-simple-header h1 { font-size: clamp(19px, 5vw, 26px) !important; }
.theme-r6.sf-chrome .sf-hero .store-simple-header p { margin-top: 2px; }
.theme-r6.sf-chrome .sf-h2 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.04em; }
.theme-r6.sf-chrome .category-scroll { position: sticky; top: 112px; z-index: 5; background: var(--bg); padding: 8px 0; }
.theme-r6.sf-chrome .cat-chip { font-size: 13px; padding: 7px 14px; min-height: 36px; border-radius: 6px; }
.theme-r6.sf-chrome .sf-card { border-radius: 6px; box-shadow: none; }
.theme-r6.sf-chrome .sf-card-media { border-radius: 0; background: #F0F1EE; }
.theme-r6.sf-chrome .sf-card-name { margin: 0; font-weight: 500; }
.theme-r6.sf-chrome .sf-card .product-price { color: #C0392B; font-weight: 800; font-size: 15px; }
.theme-r6.sf-chrome .sf-add { border-radius: 6px; font-weight: 700; }
.theme-r6.sf-chrome .sf-stock { border-radius: 4px; }
.theme-r6.sf-chrome .sf-feat-card { width: 120px; }
.theme-r6.sf-chrome .sf-feat-img { border-radius: 6px; }
.theme-r6.sf-chrome .sf-feat-price { color: #C0392B; font-weight: 800; }
.theme-r6.sf-chrome .sf-footer { background: #fff; border-top: 1px solid #E2E4E0; padding-bottom: 110px; }
.theme-r6.sf-chrome .sf-drawer-panel { border-radius: 0; }
.theme-r6.sf-chrome .sf-line-ctl button { border-radius: 6px; }
.theme-r6.sf-chrome .sf-line-img { border-radius: 6px; }
