:root {
  color-scheme: light;
  --bg: #f5f5f5;
  --bg-soft: #f5f5f5;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-muted: #fafafa;
  --stroke: #e1e1e1;
  --stroke-strong: rgba(0,0,0,.09);
  --ink: rgba(0,0,0,.8);
  --muted: rgba(0,0,0,.54);
  --brand: #ee4d2d;
  --brand-strong: #d73211;
  --brand-soft: #fff2f0;
  --accent: #ff7337;
  --accent-strong: #f53d2d;
  --accent-soft: #fff;
  --shadow-sm: 0 1px 1px 0 rgba(0,0,0,.05);
  --shadow-lg: 0 0.0625rem 0.25rem 0 rgba(0,0,0,.09);
  --container: 1200px;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-width: 320px; color: var(--ink);
  font-family: var(--font-body); font-size: 14px; line-height: 1.5; background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.container { width: var(--container); max-width: 100%; margin: 0 auto; padding: 0 16px; }

/* HEADER 2-TIER */
.topbar {
  background: linear-gradient(-180deg,#f53d2d,#f63);
  color: #fff;
}
.header-nav-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; font-size: 13px;
}
.header-nav-links { display: flex; gap: 16px; }
.header-nav-links a:hover { color: rgba(255,255,255,0.8); }

.topbar-inner {
  display: flex; align-items: flex-start; gap: 40px; padding: 16px 0 20px;
}
.brand { display: flex; align-items: center; gap: 8px; color: #fff; }
.brand-logo { width: 42px; height: 42px; border-radius: 2px; background: #fff; padding: 2px; }
.brand-copy strong { font-size: 24px; font-weight: 500; letter-spacing: 0;}

.header-search-wrap { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.header-search {
  display: flex; background: #fff; border-radius: 2px; padding: 3px; height: 40px; box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.header-search-input {
  flex: 1; border: none; padding: 0 12px; font-size: 14px; outline:none; color: #222;
}
.header-search-button {
  background: var(--brand); color: #fff; border: none; padding: 0 24px; border-radius: 2px; font-weight: 500;
}
.header-search-button:hover { background: var(--brand-strong); }
.popular-searches { font-size: 12px; display: flex; gap: 12px; opacity: 0.9; }
.popular-searches a:hover { opacity: 1; }

.header-cart-wrap { padding-top: 4px; display: flex; align-items: center; }
.cart-pill { position: relative; color: #fff; }
.cart-pill svg { width: 28px; height: 28px; }
.cart-pill span {
  position: absolute; top: -6px; right: -12px; background: #fff; color: var(--brand);
  border-radius: 10px; padding: 1px 6px; font-size: 12px; border: 2px solid var(--brand); font-weight: bold;
}

/* CAROUSEL & BANNERS */
.hero-banner-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 10px; padding-top: 30px;
}
.main-carousel { background: #e0e0e0; aspect-ratio: 2.5/1; border-radius: 2px; overflow: hidden; }
.main-carousel img { width:100%; height:100%; object-fit: cover; }
.side-banners { display: flex; flex-direction: column; gap: 10px; }
.side-banner { background: #e0e0e0; flex: 1; border-radius: 2px; overflow: hidden;}
.side-banner img { width:100%; height:100%; object-fit: cover; }

/* LAYOUT ELEMENTS */
.page { padding-bottom: 60px; }
.section { margin-top: 24px; }
.section-head { margin-bottom: 12px; background: #fff; padding: 16px; border-bottom: 1px solid var(--stroke); display: flex; justify-content: space-between; align-items: center; }
.section-title { font-size: 16px; font-weight: 500; color: var(--brand); text-transform: uppercase; margin:0; }
.section-title-dark { font-size: 16px; font-weight: 500; color: rgba(0,0,0,.54); text-transform: uppercase; margin:0; }

.button, .button-secondary, .button-ghost {
  display: inline-flex; justify-content: center; align-items: center;
  height: 40px; padding: 0 20px; border-radius: 2px; font-weight: 500; font-size: 14px; border: 1px solid transparent;
}
.button { background: var(--brand); color: #fff; }
.button-secondary { background: var(--brand-soft); color: var(--brand); border-color: var(--brand); }
.button-ghost { background: #fff; border-color: var(--stroke); color: #333; }

/* CATEGORIES */
.category-container { background: #fff; margin-top: 20px; border-radius: 2px; }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 1px solid var(--stroke); border-right:none; border-bottom:none; }
.category-card {
  text-align: center; padding: 16px 8px; border-right: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); transition: box-shadow 0.1s;
}
.category-card:hover { box-shadow: var(--shadow-sm); border-color: transparent; z-index: 2; position:relative;}
.category-card img { width: 45px; height: 45px; margin: 0 auto 8px; object-fit: contain; }
.category-card .product-name { font-size: 14px; color: rgba(0,0,0,.8); font-weight: 400; margin:0;}

/* PRODUCT GRID */
.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top:10px; }
.product-card {
  background: #fff; border: 1px solid transparent; border-radius: 2px;
  transition: transform 0.1s, box-shadow 0.1s, border 0.1s; display: flex; flex-direction: column; overflow: hidden;
}
.product-card:hover { border-color: var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.product-media { aspect-ratio: 1; background: #fafafa; position: relative; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-badge-overlay { position: absolute; top:0; right:0; background: #ffd839; color: var(--brand); font-size: 12px; padding: 2px 4px; font-weight: bold; }
.product-body { padding: 8px; display: flex; flex-direction: column; flex: 1; }
.product-name { font-size: 12px; font-weight: 400; margin: 0 0 8px; color: #000000cc; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 14px; height: 28px;}
.product-price-row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.product-price { color: var(--brand); font-size: 16px; font-weight: 400; }
.product-sold { font-size: 12px; color: rgba(0,0,0,.54); }
.product-location { font-size: 12px; color: rgba(0,0,0,.54); margin-top: 4px; display:block; }

/* MISC */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 4px 12px; border: 1px solid var(--stroke); background: #fff; color: #555; border-radius: 2px; font-size: 12px; }
.flash { padding: 12px 16px; margin-top: 16px; border-radius: 2px; background: #fff; border: 1px solid var(--stroke); }

/* FORMS */
.label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: rgba(0,0,0,.87); }
.field, .textarea { width: 100%; border: 1px solid var(--stroke); border-radius: 2px; padding: 10px 12px; font-size: 14px; font-family: inherit; outline: none; transition: border-color 0.2s; box-sizing: border-box; }
.field:focus, .textarea:focus { border-color: var(--brand); }
.textarea { min-height: 80px; resize: vertical; }

/* SIDEBAR KATALOG */
.sidebar-section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--stroke); }
.sidebar-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: rgba(0,0,0,.87); margin-bottom: 16px; text-transform: uppercase; }
.sidebar-title svg { width: 16px; height: 16px; fill: currentColor; }
.sidebar-menu-list { display: flex; flex-direction: column; gap: 12px; list-style: none; padding: 0; margin: 0; }
.sidebar-menu-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(0,0,0,.8); cursor: pointer; transition: color 0.1s; }
.sidebar-menu-item:hover { color: var(--brand); }
.sidebar-menu-item.is-active { color: var(--brand); font-weight: 600; }
.sidebar-menu-item.is-active::before { content: "▶"; font-size: 10px; color: var(--brand); }
.sidebar-checkbox-list { display: flex; flex-direction: column; gap: 12px; }
.sidebar-checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(0,0,0,.8); cursor: pointer; }
.sidebar-checkbox-label input { accent-color: var(--brand); width: 16px; height: 16px; cursor: pointer; }

/* DETAILS PAGE */
.detail-grid { display: grid; grid-template-columns: 400px 1fr; gap: 24px; margin-top:20px; }
.gallery-panel { background: #fff; padding: 16px; border-radius: 2px; display:flex; flex-direction:column; gap:16px;}
.gallery-main { aspect-ratio: 1; border: 1px solid var(--stroke); }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-behavior: smooth; }
.gallery-thumbs::-webkit-scrollbar { height: 6px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: var(--stroke); border-radius: 4px; }
.thumb-button { width: 72px; height: 72px; flex-shrink: 0; border: 2px solid transparent; cursor: pointer; }
.thumb-button:hover { border-color: var(--brand-soft); }
.thumb-button.is-active { border-color: var(--brand); }
.thumb-button img { width: 100%; height: 100%; object-fit: cover; }
.detail-panel { border-radius: 2px; background:#fff; padding:20px; }
.detail-title { font-size: 20px; font-weight: 500; margin: 0 0 12px; color: #000000cc; }
.variation-list { display: flex; flex-wrap: wrap; gap: 12px; }
.variation-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--stroke); padding: 6px 12px; border-radius: 2px; background: #fff; cursor: pointer; user-select: none; font-size: 14px; color: rgba(0,0,0,.87); transition: all 0.1s; position: relative; overflow: hidden; min-height: 34px; }
.variation-chip:hover { color: var(--brand); border-color: var(--brand); }
.variation-chip.is-active { border-color: var(--brand); color: var(--brand); font-weight: 500; }
.variation-chip.is-active::after { content:"✓"; position:absolute; right:0; bottom:0; background:var(--brand); color:#fff; font-size:8px; padding:2px 2px 0 4px; line-height:1; border-top-left-radius: 8px; }
.variation-chip img { width: 24px; height: 24px; border-radius: 2px; object-fit: cover; border: 1px solid var(--stroke); }
.variation-chip input[type="radio"] { display: none; }

/* MODAL */
.image-modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.9); }
.image-modal-content { margin: auto; display: block; max-width: 90%; max-height: 90%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); animation: zoom 0.3s; }
.image-modal-close { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; cursor: pointer; }
.image-modal-close:hover, .image-modal-close:focus { color: #bbb; text-decoration: none; cursor: pointer; }
@keyframes zoom { from {transform: translate(-50%, -50%) scale(0.9)} to {transform: translate(-50%, -50%) scale(1)} }

/* CHECKOUT / CART */
.cart-table-header { display: grid; grid-template-columns: 3fr 1fr 1fr 1fr 1fr; background: #fff; padding: 16px 20px; border-radius: 2px; align-items: center; color: rgba(0,0,0,.54); font-size: 14px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.cart-table-row { display: grid; grid-template-columns: 3fr 1fr 1fr 1fr 1fr; background: #fff; padding: 20px; border-radius: 2px; border-bottom: 1px solid var(--stroke); align-items: center; }
.cart-table-row:last-child { border-bottom: none; }
.cart-product-cell { display: flex; gap: 12px; align-items: flex-start; }
.cart-product-thumb { width: 80px; height: 80px; border: 1px solid var(--stroke); flex-shrink: 0; }
.cart-product-info { display: flex; flex-direction: column; gap: 4px; }
.cart-product-name { font-size: 14px; color: rgba(0,0,0,.87); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-variation-badge { font-size: 12px; color: rgba(0,0,0,.54); }
.cart-price-cell { font-size: 14px; color: rgba(0,0,0,.87); }
.cart-qty-cell { display: flex; align-items: center; }
.cart-qty-input { width: 50px; height: 32px; border: 1px solid var(--stroke); text-align: center; border-radius: 2px; outline: none; }
.cart-total-cell { font-size: 14px; color: var(--brand); font-weight: 500; }
.cart-action-cell button { background: none; border: none; color: rgba(0,0,0,.87); cursor: pointer; padding: 0; }
.cart-action-cell button:hover { color: var(--brand); }

.sticky-bottom-bar { position: sticky; bottom: 0; background: #fff; border-top: 1px dashed rgba(0,0,0,.09); padding: 12px 24px; display: flex; justify-content: flex-end; align-items: center; gap: 24px; margin-top: 24px; box-shadow: 0 -2px 6px rgba(0,0,0,.05); z-index: 100; border-radius: 2px; }
.sticky-summary-text { font-size: 16px; color: rgba(0,0,0,.87); }
.sticky-summary-total { font-size: 24px; color: var(--brand); font-weight: 500; margin-left: 8px; }
.btn-checkout { background: var(--brand); color: #fff; border: none; height: 40px; padding: 0 36px; border-radius: 2px; font-size: 14px; text-transform: uppercase; font-weight: 500; cursor: pointer; }
.btn-checkout:hover { background: var(--brand-strong); }

.checkout-address-card { background: #fff; padding: 28px; border-radius: 2px; position: relative; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.checkout-address-card::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background-image: repeating-linear-gradient(45deg, #6fa6d6, #6fa6d6 33px, transparent 0, transparent 41px, #f18d9b 0, #f18d9b 74px, transparent 0, transparent 82px); }
.address-header { display: flex; align-items: center; gap: 8px; color: var(--brand); font-size: 18px; margin-bottom: 20px; }
.address-header svg { width: 20px; height: 20px; fill: currentColor; }
.checkout-table-header { display: grid; grid-template-columns: 4fr 1fr 1fr 1fr; background: #fff; padding: 24px 20px 16px; align-items: center; color: rgba(0,0,0,.54); font-size: 14px; border-bottom: 1px solid var(--stroke); }
.checkout-table-row { display: grid; grid-template-columns: 4fr 1fr 1fr 1fr; background: #fafafa; padding: 16px 20px; align-items: center; border-bottom: 1px dashed var(--stroke); }
.checkout-table-row:last-child { border-bottom: none; }
.checkout-summary-box { background: #fff; padding: 24px 24px 0 24px; text-align: right; border-top: 1px solid var(--stroke); margin-top: 12px; }
.checkout-summary-line { display: flex; justify-content: flex-end; align-items: center; gap: 24px; margin-bottom: 16px; font-size: 14px; color: rgba(0,0,0,.54); }
.checkout-summary-line strong { font-size: 20px; color: var(--brand); font-weight: 500; min-width: 150px; }

.footer { background: #fbfbfb; border-top: 4px solid var(--brand); padding: 40px 0; color: rgba(0,0,0,.54); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 24px;}
.footer-col-title { font-size: 12px; font-weight: 600; color: rgba(0,0,0,.87); text-transform: uppercase; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 12px; color: rgba(0,0,0,.54); }
.footer-links a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--stroke); padding-top: 24px; display: flex; justify-content: space-between; font-size: 12px; }
.dummy-payment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap:8px;}
.dummy-payment-box { border: 1px solid var(--stroke); border-radius: 2px; background: #fff; padding:4px; text-align:center; font-size:10px; font-weight:bold; }

/* SYNCED HOMEPAGE TEMPLATES */
.home-page { padding-bottom: 72px; }
.home-eyebrow {
  display: inline-flex; align-items: center; width: fit-content; max-width: 100%;
  min-height: 28px; padding: 5px 10px; border-radius: 6px;
  background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 600;
}
.home-market-hero {
  display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.4fr);
  gap: 16px; padding-top: 24px; align-items: stretch;
}
.home-market-copy, .editorial-copy, .catalog-pro-sidebar, .catalog-pro-hero, .highlight-card, .home-empty {
  background: #fff; border: 1px solid var(--stroke); border-radius: 6px; box-shadow: var(--shadow-sm);
}
.home-market-copy { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.home-market-copy h1, .editorial-copy h1, .boutique-hero-copy h1, .launch-hero h1 {
  margin: 14px 0 12px; color: #1d1d1f; font-size: 34px; line-height: 1.12; font-weight: 650;
}
.home-market-copy p, .editorial-copy p, .boutique-hero-copy p, .launch-hero p, .catalog-pro-sidebar p, .catalog-pro-hero p {
  margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75;
}
.home-search {
  display: flex; margin-top: 18px; height: 44px; background: #fff; border: 1px solid var(--stroke); border-radius: 6px; overflow: hidden;
}
.home-search input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 0 14px; }
.home-search button { border: 0; background: var(--brand); color: #fff; padding: 0 18px; font-weight: 600; }
.home-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.home-actions .button, .home-actions .button-ghost, .boutique-feature .button-secondary { min-height: 42px; border-radius: 6px; }
.home-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.home-stats div { border: 1px solid var(--stroke); background: var(--surface-muted); border-radius: 6px; padding: 12px; }
.home-stats strong { display: block; color: #1d1d1f; font-size: 20px; line-height: 1.2; }
.home-stats span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.banner-link-fill { display: block; width: 100%; height: 100%; }
.banner-link-fill img { width: 100%; height: 100%; object-fit: cover; }
.home-section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  background: #fff; border: 1px solid var(--stroke); border-radius: 6px; padding: 18px; margin-bottom: 10px;
}
.home-section-head h2 { margin: 0; color: #1d1d1f; font-size: 20px; line-height: 1.25; font-weight: 650; }
.home-section-head p { margin: 6px 0 0; color: var(--muted); line-height: 1.65; }
.home-section-head a { color: var(--brand); font-weight: 600; white-space: nowrap; }
.category-card span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.home-empty { padding: 28px; color: var(--muted); }
.home-empty strong { display: block; color: #1d1d1f; margin-bottom: 4px; }

/* Template 2: Editorial Brand */
.editorial-hero {
  display: grid; grid-template-columns: minmax(280px, .95fr) minmax(0, 1.25fr);
  gap: 18px; padding-top: 28px; align-items: stretch;
}
.editorial-copy { padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.editorial-visual { display: block; min-height: 420px; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-lg); }
.editorial-visual img { width: 100%; height: 100%; object-fit: cover; }
.editorial-band {
  margin-top: 22px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--stroke); border-radius: 6px; padding: 22px;
}
.editorial-band h2 { margin: 0 0 8px; font-size: 22px; }
.editorial-band p { margin: 0; color: var(--muted); line-height: 1.7; }
.category-pill-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.category-pill-grid .category-card {
  display: inline-flex; align-items: center; gap: 10px; width: auto; min-height: 44px; padding: 8px 12px;
  border: 1px solid var(--stroke); border-radius: 6px; background: #fff; text-align: left;
}
.category-pill-grid .category-card img { width: 28px; height: 28px; margin: 0; }
.category-pill-grid .category-card .product-name { height: auto; margin: 0; line-height: 1.25; }
.editorial-products { margin-top: 22px; }
.editorial-product-layout { display: grid; grid-template-columns: minmax(180px, .45fr) 1fr; gap: 12px; }
.single-product-grid { grid-template-columns: 1fr; height: 100%; }
.editorial-lead-product .product-card { height: 100%; }

/* Template 3: Boutique Visual */
.boutique-hero { position: relative; min-height: 520px; margin-bottom: 24px; overflow: hidden; background: #1d1d1f; }
.boutique-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.2)); }
.boutique-hero-media { position: absolute; inset: 0; display: block; }
.boutique-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.boutique-hero-copy { position: relative; z-index: 1; min-height: 520px; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.boutique-hero-copy h1 { max-width: 700px; color: #fff; font-size: 42px; }
.boutique-hero-copy p { max-width: 620px; color: rgba(255,255,255,.88); }
.boutique-hero-copy .home-eyebrow { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.boutique-category-strip { margin-top: -6px; margin-bottom: 22px; }
.boutique-feature {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; align-items: stretch; margin-bottom: 24px;
}
.boutique-feature-copy { background: #fff; border: 1px solid var(--stroke); border-radius: 6px; padding: 30px; }
.boutique-feature-copy span { color: var(--brand); font-weight: 700; font-size: 12px; }
.boutique-feature-copy h2 { margin: 10px 0; font-size: 26px; line-height: 1.2; }
.boutique-feature-copy p { color: var(--muted); line-height: 1.75; }
.boutique-feature-media { display: block; min-height: 300px; border-radius: 6px; overflow: hidden; }
.boutique-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.boutique-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* Template 4: Catalog Pro */
.catalog-pro { display: grid; grid-template-columns: 300px 1fr; gap: 18px; padding-top: 24px; align-items: start; }
.catalog-pro-sidebar { position: sticky; top: 16px; padding: 22px; }
.catalog-pro-sidebar h1 { margin: 14px 0 8px; font-size: 28px; line-height: 1.1; }
.catalog-pro .home-stats { grid-template-columns: 1fr; }
.catalog-pro-links { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.catalog-pro-links a {
  display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--stroke); border-radius: 6px;
  padding: 10px 12px; background: var(--surface-muted);
}
.catalog-pro-links span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-pro-links strong { color: var(--brand); }
.catalog-pro-main { min-width: 0; }
.catalog-pro-hero { display: grid; grid-template-columns: 1fr 280px; gap: 18px; padding: 20px; margin-bottom: 16px; align-items: center; }
.catalog-pro-hero h2 { margin: 0 0 8px; font-size: 28px; line-height: 1.18; }
.catalog-pro-banner { display: block; min-height: 190px; border-radius: 6px; overflow: hidden; }
.catalog-pro-banner img { width: 100%; height: 100%; object-fit: cover; }
.catalog-pro-grid { grid-template-columns: repeat(4, 1fr); }

/* Template 5: Launch Campaign */
.launch-hero { padding-top: 34px; text-align: center; }
.launch-hero .home-eyebrow { margin: 0 auto; }
.launch-hero h1 { max-width: 820px; margin-left: auto; margin-right: auto; font-size: 42px; }
.launch-hero p { max-width: 720px; margin: 0 auto; }
.launch-hero .home-actions { justify-content: center; }
.launch-banner-row { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 12px; margin-top: 28px; }
.launch-banner-card { display: block; min-height: 230px; border-radius: 6px; overflow: hidden; background: #ddd; box-shadow: var(--shadow-sm); }
.launch-banner-card img { width: 100%; height: 100%; object-fit: cover; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.highlight-card { padding: 22px; }
.highlight-card h3 { margin: 0 0 8px; color: #1d1d1f; font-size: 17px; line-height: 1.35; }
.highlight-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.launch-products { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.launch-grid { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1100px) {
  .product-grid, .catalog-pro-grid { grid-template-columns: repeat(4, 1fr); }
  .home-market-hero, .editorial-hero, .catalog-pro { grid-template-columns: 1fr; }
  .catalog-pro-sidebar { position: static; }
  .catalog-pro .home-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .header-nav-top { display: none; }
  .topbar-inner { align-items: stretch; flex-direction: column; gap: 12px; padding: 14px 16px 16px; }
  .brand-copy strong { font-size: 20px; }
  .popular-searches { overflow-x: auto; padding-bottom: 4px; }
  .hero-banner-grid, .editorial-band, .boutique-feature, .catalog-pro-hero, .launch-products, .editorial-product-layout {
    grid-template-columns: 1fr;
  }
  .side-banners { display: grid; grid-template-columns: 1fr 1fr; }
  .home-market-copy h1, .editorial-copy h1, .launch-hero h1 { font-size: 28px; }
  .boutique-hero, .boutique-hero-copy { min-height: 460px; }
  .boutique-hero-copy h1 { font-size: 32px; }
  .home-stats, .catalog-pro .home-stats, .highlight-grid, .launch-banner-row { grid-template-columns: 1fr; }
  .product-grid, .catalog-pro-grid, .boutique-grid, .launch-grid { grid-template-columns: repeat(2, 1fr); }
  .home-section-head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .container { padding: 0 12px; }
  .home-market-copy, .editorial-copy, .boutique-feature-copy, .catalog-pro-sidebar, .catalog-pro-hero, .highlight-card { padding: 18px; }
  .home-search { height: auto; flex-direction: column; }
  .home-search input { min-height: 42px; }
  .home-search button { min-height: 42px; }
  .side-banners, .product-grid, .catalog-pro-grid, .boutique-grid, .launch-grid { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
