/* Marketplace Selector - style.css
   One brand color (tangerine). 3D effects use CSS perspective and transforms.
   Edit the colors in :root to restyle the whole site. */

:root {
  --brand: #C2410C;
  --brand-dark: #9A3412;
  --brand-tint: #FDF0E7;
  --text: #1F1611;
  --muted: #6B5D53;
  --line: #F0E2D8;
  --soft: #FDF8F4;
  --deep: #2E1408;
  --radius: 12px;
  --shadow: 0 18px 40px rgba(46, 20, 8, 0.12);
  --font: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: #FFFFFF; font-size: 16px; line-height: 1.6; }
h1, h2, h3, .h4, .h5 { font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }
main { overflow-x: clip; }   /* keeps 3D tilts and reveal effects from causing sideways scroll */
.small-note { color: var(--muted); font-size: 15px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.eyebrow.light { color: #FDBA8C; }
.soft-band { background: var(--soft); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.see-all { font-weight: 700; text-decoration: none; }
.photo-credit { font-size: 12px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.photo-credit a { color: inherit; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 12px; padding: 0.55rem 1.1rem; }
.btn-lg { padding: 0.8rem 1.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.4rem 0.8rem; border-radius: 10px; }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #FFFFFF; box-shadow: 0 6px 0 var(--brand-dark); transition: transform 0.15s, box-shadow 0.15s; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand); color: #FFFFFF; transform: translateY(-2px); box-shadow: 0 8px 0 var(--brand-dark); }
.btn-brand:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--brand-dark); }
.btn-outline-brand { border: 2px solid var(--brand); color: var(--brand); background: #FFFFFF; }
.btn-outline-brand:hover { background: var(--brand-tint); color: var(--brand-dark); border-color: var(--brand); }
.btn-light-brand { background: #FFFFFF; color: var(--brand-dark); border: 0; box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18); }
.btn-light-brand:hover { color: var(--brand-dark); background: #FFFFFF; transform: translateY(-2px); }
.btn.disabled { pointer-events: none; opacity: 0.5; }

/* ---------- Header ---------- */
.topbar { background: var(--deep); color: #FBD3B8; font-size: 14px; padding: 7px 0; }
.topbar a { color: #FFFFFF; text-decoration: none; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.logo img { height: 40px; width: auto; display: block; }
.header-search { flex: 1; display: flex; gap: 8px; max-width: 460px; }
.header-links { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header-links a { color: var(--text); text-decoration: none; font-weight: 600; }
.header-links a:hover { color: var(--brand); }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; }
.cart-btn span { background: #FFFFFF; color: var(--brand); border-radius: 999px; min-width: 22px; padding: 0 6px; font-size: 13px; font-weight: 800; text-align: center; }
.dept-nav { border-top: 1px solid var(--line); }
.dept-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 8px 0; overflow-x: auto; scrollbar-width: none; }
.dept-nav a { display: block; white-space: nowrap; padding: 6px 12px; border-radius: 999px; color: var(--text); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.dept-nav a:hover, .dept-nav a.active { background: var(--brand-tint); color: var(--brand-dark); }
.menu-toggle { display: none; }

/* ---------- Hero with 3D scene ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; background: radial-gradient(1000px 500px at 85% 10%, var(--brand-tint), #FFFFFF 70%); }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.06; margin: 6px 0 18px; }
.hero h1 span { color: var(--brand); }
.hero .lead { color: var(--muted); font-size: 1.15rem; }
.hero-perks { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-perks li { background: #FFFFFF; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.hero-perks b { color: var(--brand); }
.stage { perspective: 1200px; }
.scene { position: relative; transform-style: preserve-3d; transform: rotateY(-8deg) rotateX(6deg); transition: transform 0.4s ease-out; }
.scene-photo { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px rgba(46, 20, 8, 0.25); transform: translateZ(0); }
.scene-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.chip3d { position: absolute; display: flex; align-items: center; gap: 10px; background: #FFFFFF; border-radius: 16px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow); font-size: 14px; font-weight: 700; animation: float 6s ease-in-out infinite; }
.chip3d img { width: 46px; height: 46px; object-fit: contain; border-radius: 10px; background: var(--soft); }
.chip3d small { display: block; color: var(--brand); font-weight: 800; }
.chip-a { top: 8%; left: -8%; transform: translateZ(90px); }
.chip-b { bottom: 10%; right: -6%; transform: translateZ(120px); animation-delay: -2s; }
.chip-c { bottom: -6%; left: 12%; transform: translateZ(60px); animation-delay: -4s; }
.cube-deco { position: absolute; top: 22px; right: 12%; width: 52px; height: 52px; transform-style: preserve-3d; transform: translateZ(140px); animation: spin 14s linear infinite; }
.cube-deco span { position: absolute; inset: 0; background: rgba(194, 65, 12, 0.85); border: 2px solid #FFFFFF; border-radius: 6px; }
.cube-deco span:nth-child(1) { transform: translateZ(26px); }
.cube-deco span:nth-child(2) { transform: rotateY(180deg) translateZ(26px); }
.cube-deco span:nth-child(3) { transform: rotateY(90deg) translateZ(26px); background: var(--brand-dark); }
.cube-deco span:nth-child(4) { transform: rotateY(-90deg) translateZ(26px); background: var(--brand-dark); }
.cube-deco span:nth-child(5) { transform: rotateX(90deg) translateZ(26px); background: #F0763A; }
.cube-deco span:nth-child(6) { transform: rotateX(-90deg) translateZ(26px); background: #F0763A; }
@keyframes float { 0%, 100% { margin-top: 0; } 50% { margin-top: -12px; } }
@keyframes spin { from { transform: translateZ(140px) rotateX(0) rotateY(0); } to { transform: translateZ(140px) rotateX(360deg) rotateY(360deg); } }

/* ---------- Stats strip ---------- */
.stats { background: var(--deep); color: #FFFFFF; padding: 28px 0; }
.stat { text-align: center; }
.stat b { display: block; font-size: 2rem; line-height: 1.1; color: #FFFFFF; }
.stat span { color: #FDBA8C; font-size: 14px; }

/* ---------- Department flip cards (3D) ---------- */
.flip { display: block; height: 100%; min-height: 230px; perspective: 1000px; text-decoration: none; color: var(--text); }
.flip-inner { position: relative; height: 100%; min-height: 230px; transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.flip:hover .flip-inner, .flip:focus .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; border-radius: var(--radius); backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 1px solid var(--line); background: #FFFFFF; }
.flip-face img { width: 120px; height: 120px; object-fit: contain; margin-bottom: 12px; }
.flip-face b { font-size: 17px; }
.flip-face small { color: var(--muted); }
.flip-back { transform: rotateY(180deg); background: var(--brand); color: #FFFFFF; border-color: var(--brand); }
.flip-back p { margin: 6px 0 12px; font-size: 14.5px; color: #FCE3D2; }
.flip-back span { font-weight: 700; border-bottom: 2px solid #FFFFFF; }
.flip-all .flip-face { background: var(--deep); color: #FFFFFF; border-color: var(--deep); }
.flip-all .flip-face b { font-size: 22px; }
.flip-all .flip-face small { color: #FDBA8C; }
.flip-all .flip-back { background: var(--brand); }

/* ---------- Product cards ---------- */
.product-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s ease-out, box-shadow 0.2s; transform-style: preserve-3d; }
.product-card:hover { box-shadow: var(--shadow); }
.product-media { display: block; background: #FFFFFF; padding: 16px; border-bottom: 1px solid var(--line); }
.product-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block; transition: transform 0.3s; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-body { display: flex; flex-direction: column; flex-grow: 1; padding: 14px 16px 16px; }
.card-dept { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand); }
.product-name { color: var(--text); font-weight: 600; text-decoration: none; line-height: 1.35; margin: 4px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.product-name:hover { color: var(--brand); }
.price { font-size: 1.3rem; font-weight: 800; }
.ship-note { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.product-body .btn { margin-top: auto; }

/* ---------- 3D spotlight carousel ---------- */
.spot { --ring-r: 120px; }
.spot-stage { perspective: 1400px; height: 360px; display: flex; align-items: center; justify-content: center; }
.ring { position: relative; width: 240px; height: 260px; transform-style: preserve-3d; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ring-item { position: absolute; inset: 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: var(--shadow); opacity: 0.45; transition: opacity 0.5s; backface-visibility: hidden; }
.ring-item.active { opacity: 1; border-color: var(--brand); }
.ring-item img { width: 170px; height: 170px; object-fit: contain; }
.ring-item b { margin-top: 10px; color: var(--brand); font-size: 1.15rem; }
.spot-panel { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.spot-panel h3 { font-size: 1.35rem; min-height: 2.6em; }
.spot-price { font-size: 1.8rem; font-weight: 800; color: var(--brand); }
.spot-nav { display: flex; align-items: center; gap: 12px; }
.spin-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--brand); background: #FFFFFF; color: var(--brand); font-size: 20px; font-weight: 800; transition: transform 0.15s, background 0.15s; }
.spin-btn:hover { background: var(--brand); color: #FFFFFF; transform: scale(1.06); }
#spot-count { font-weight: 700; color: var(--muted); min-width: 52px; text-align: center; }

/* ---------- Steps with photo ---------- */
.photo-3d { perspective: 1200px; }
.photo-3d img { display: block; width: 100%; border-radius: 24px; box-shadow: 0 30px 60px rgba(46, 20, 8, 0.22); transform: rotateY(8deg) rotateX(4deg); transition: transform 0.6s; }
.photo-3d:hover img { transform: rotateY(0) rotateX(0); }
.step { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #FFFFFF; }
.step-num { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #FFFFFF; font-weight: 800; box-shadow: 0 5px 0 var(--brand-dark); }
.step b { display: block; }
.step span { color: var(--muted); font-size: 14.5px; }

/* ---------- Membership ---------- */
.plan { display: flex; flex-direction: column; height: 100%; background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.plan small { color: var(--muted); }
.plan h3 { font-size: 1.35rem; margin: 2px 0 6px; }
.plan-price { font-size: 2rem; font-weight: 800; }
.plan-price em { font-style: normal; font-size: 14px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 16px 0 22px; flex-grow: 1; }
.plan li { padding: 5px 0 5px 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.plan-main { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }
.plan-main h3, .plan-main small, .plan-main em { color: #FFFFFF; }
.plan-main li::before { color: #FFFFFF; }

/* ---------- Blog cards ---------- */
.post-card { display: flex; flex-direction: column; height: 100%; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: transform 0.2s ease-out, box-shadow 0.2s; }
.post-card:hover { box-shadow: var(--shadow); color: var(--text); }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.post-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.post-body b { font-size: 1.1rem; line-height: 1.3; }
.post-body small { color: var(--muted); font-size: 14.5px; }
.post-meta { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand); }

/* ---------- FAQ (native details) ---------- */
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 800; font-size: 20px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--deep); color: #FFFFFF; }
.newsletter h2 { color: #FFFFFF; }
.newsletter p { color: #FBD3B8; }
.form-msg { margin: 8px 0 0; font-weight: 600; min-height: 1.4em; }
.form-msg.ok { color: var(--brand); }
.form-msg.err { color: #B42318; }
.newsletter .form-msg.ok { color: #FDBA8C; }
.newsletter .form-msg.err { color: #FDA29B; }

/* ---------- Footer ---------- */
.site-footer { background: #1C0C04; color: #E6D3C5; font-size: 15px; }
.site-footer h3 { color: #FFFFFF; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #E6D3C5; text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; }

/* ---------- Page banner, listings, forms ---------- */
.page-head { background: linear-gradient(135deg, var(--brand-tint), #FFFFFF); padding: 40px 0; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 4px 0 6px; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.listing { border: 1px solid var(--line); border-radius: 20px; padding: 24px; margin-bottom: 26px; background: #FFFFFF; scroll-margin-top: 140px; }
.listing-img { position: sticky; top: 140px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.listing-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.listing h2 { font-size: 1.35rem; line-height: 1.35; }
.listing h3 { font-size: 1.05rem; margin-top: 18px; }
.listing ul { padding-left: 1.2rem; }
.listing li { margin-bottom: 4px; }
.specs { width: 100%; font-size: 15px; }
.specs th { width: 38%; background: var(--soft); font-weight: 600; padding: 8px 12px; border: 1px solid var(--line); }
.specs td { padding: 8px 12px; border: 1px solid var(--line); }
.buy-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; background: var(--soft); margin: 14px 0; }
.buy-box .form-select { width: auto; }
.form-control, .form-select { border-radius: 10px; border-color: var(--line); padding: 0.6rem 0.85rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 0.2rem rgba(194, 65, 12, 0.18); }
.box { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #FFFFFF; }
.prose h2 { font-size: 1.4rem; margin-top: 28px; }
.prose { max-width: 780px; }
.info-card { border: 1px solid var(--line); border-radius: 16px; padding: 20px; height: 100%; background: #FFFFFF; }
.info-card b { display: block; }

/* ---------- Cart lines and summary ---------- */
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #FFFFFF; }
.line-name { color: var(--text); font-weight: 600; text-decoration: none; line-height: 1.3; display: block; }
.line-tools { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { border: 0; background: none; width: 30px; height: 30px; font-weight: 800; color: var(--brand); }
.qty span { min-width: 24px; text-align: center; font-weight: 700; }
.line-remove { border: 0; background: none; color: var(--muted); font-size: 14px; text-decoration: underline; padding: 0; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.sum-row.promo b { color: var(--brand); }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 1.15rem; }
.empty { color: var(--muted); padding: 20px 0; }

/* ---------- Mini cart panel ---------- */
#cart-backdrop { position: fixed; inset: 0; background: rgba(28, 12, 4, 0.45); opacity: 0; visibility: hidden; transition: opacity 0.25s; z-index: 1040; }
.mini-cart { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #FFFFFF; z-index: 1050; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.3s ease; box-shadow: -20px 0 50px rgba(0, 0, 0, 0.15); }
.mini-cart.open { transform: translateX(0); }
body.panel-open #cart-backdrop { opacity: 1; visibility: visible; }
.mini-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.mini-head button { border: 0; background: var(--soft); width: 36px; height: 36px; border-radius: 50%; font-size: 20px; }
#mini-note { color: var(--brand); font-weight: 600; padding: 0 20px; margin: 10px 0 0; min-height: 1.4em; }
#mini-body { flex: 1; overflow-y: auto; padding: 0 20px; }
.mini-foot { padding: 16px 20px; border-top: 1px solid var(--line); }
#mini-ship { font-size: 14px; color: var(--muted); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: perspective(900px) translateY(30px) rotateX(10deg); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .scene { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .header-search { display: none; }
  .header-links .hide-md { display: none; }
  .spot { --ring-r: 120px; }
}
@media (max-width: 767px) {
  .hero { padding: 40px 0 56px; }
  .scene { transform: none; }
  .chip-a { left: 4px; top: -16px; }
  .chip-b { right: 4px; }
  .cube-deco { display: none; }
  .listing-img { position: static; }
  .spot { --ring-r: 100px; }
  .spot-stage { height: 300px; }
  .ring { width: 200px; height: 230px; }
  .ring-item img { width: 120px; height: 120px; }
}
@media (max-width: 575px) {
  .header-links { gap: 10px; }
  .logo img { height: 32px; }
  .chip3d { font-size: 12.5px; padding: 6px 10px 6px 6px; }
  .chip3d img { width: 34px; height: 34px; }
  .chip-c { display: none; }
  .stat b { font-size: 1.6rem; }
  .product-body .btn { width: 100%; }
  .spot { --ring-r: 90px; }
  .ring { width: 180px; height: 210px; }
  .ring-item img { width: 100px; height: 100px; }
  .listing { padding: 16px; }
}

/* ===== Marketplace Selector additions ===== */
/* Dark hero */
.hero-dark { background: radial-gradient(circle at 85% 15%, #7C2D12 0, var(--deep) 55%); color: #FFFFFF; }
.hero-dark h1 { color: #FFFFFF; }
.hero-dark h1 span { color: #FDBA8C; }
.hero-dark .lead { color: #FBD3B8; }
.hero-dark .hero-perks li { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); color: #FFFFFF; }
.hero-dark .hero-perks b { color: #FDBA8C; }
.btn-ghost { border: 2px solid rgba(255, 255, 255, 0.6); color: #FFFFFF; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #FFFFFF; border-color: #FFFFFF; }

/* Benefits strip */
.benefits { padding: 22px 0; border-bottom: 1px solid var(--line); background: #FFFFFF; }
.benefit { display: flex; align-items: center; gap: 12px; height: 100%; }
.benefit-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.benefit b { display: block; line-height: 1.3; }
.benefit small { color: var(--muted); }

/* Department tiles with 3D tilt */
.dept-tile { display: flex; align-items: center; gap: 14px; height: 100%; min-height: 128px; padding: 14px 16px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.dept-tile:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--text); }
.dept-tile img { width: 96px; height: 96px; object-fit: contain; flex-shrink: 0; border-radius: 10px; background: var(--soft); padding: 6px; }
.dept-tile b { display: block; line-height: 1.3; }
.dept-tile small { color: var(--brand); font-weight: 600; }
.dept-all { background: var(--brand); border-color: var(--brand); color: #FFFFFF; justify-content: center; text-align: center; }
.dept-all:hover { color: #FFFFFF; }
.dept-all b { font-size: 1.25rem; }
.dept-all small { color: #FCE3D2; }


@media (max-width: 575px) {
  .dept-tile { flex-direction: column; text-align: center; padding: 14px 10px; }
  .dept-tile img { width: 80px; height: 80px; }
  .benefit { flex-direction: column; text-align: center; }
}
.chip3d { color: var(--text); }

/* ===== Marketplace Selector additions ===== */
.hero-light { background: linear-gradient(180deg, #FEF3EA 0%, #FFFFFF 100%); }
.hero-search { display: flex; gap: 10px; margin-top: 26px; max-width: 540px; }
.hero-search .form-control { border-radius: 12px; }

/* Round department cards */
.dept-round { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; height: 100%; padding: 22px 14px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.dept-round:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--text); }
.dept-ring { width: 128px; height: 128px; border-radius: 50%; background: var(--brand-tint); display: grid; place-items: center; margin-bottom: 10px; border: 6px solid #FFFFFF; box-shadow: 0 0 0 2px var(--brand-tint), 0 12px 24px rgba(46, 20, 8, 0.1); transition: transform 0.3s; }
.dept-ring img { width: 92px; height: 92px; object-fit: contain; border-radius: 50%; mix-blend-mode: multiply; }
.dept-round:hover .dept-ring { transform: translateY(-4px) rotate(-4deg); }
.dept-round b { line-height: 1.3; }
.dept-round small { color: var(--muted); }
.dept-round-all .dept-ring { background: var(--brand); color: #FFFFFF; font-size: 2rem; font-weight: 800; box-shadow: 0 0 0 2px var(--brand), 0 12px 24px rgba(46, 20, 8, 0.15); }

@media (max-width: 575px) {
  .hero-search { flex-direction: column; }
  .dept-ring { width: 100px; height: 100px; }
  .dept-ring img { width: 72px; height: 72px; }
}
.spot-panel h2 { font-weight: 700; }

/* 3D box showcase: four faces of a cube */
.ring-item { opacity: 1; border-radius: 8px; backface-visibility: hidden; }
.spot-stage { height: 380px; }
.ring-lid { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--ring-r) * 2); transform: translateY(-50%) rotateX(90deg); background: var(--brand); border-radius: 8px; }

/* ===== Marketplace Selector additions ===== */
.hero-wrap { padding: 28px 0 8px; }
.hero-panel { background: linear-gradient(135deg, #FEF3EA 0%, #FCDCC6 100%); border-radius: 28px; padding: 48px 48px 40px; overflow: hidden; }
.hero-panel h1 span { color: var(--brand); }
.offer-card { height: 100%; padding: 28px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 8px; transition: transform 0.2s, box-shadow 0.2s; }
.offer-card:hover { box-shadow: var(--shadow); }
.offer-card p { color: var(--muted); margin: 0; flex-grow: 1; }
.offer-card b { font-size: 1.1rem; }
.offer-big { font-size: 3rem; font-weight: 800; line-height: 1; color: var(--brand); letter-spacing: -0.03em; }
.offer-main { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }
.offer-main .offer-big, .offer-main .see-all { color: #FFFFFF; }
.offer-main p { color: #FCE3D2; }
.code-chip { display: inline-block; padding: 1px 8px; border: 2px dashed var(--brand); border-radius: 8px; font-weight: 700; color: var(--brand); }
@media (max-width: 767px) {
  .hero-panel { padding: 28px 20px; border-radius: 20px; }
  .offer-big { font-size: 2.4rem; }
}
