/* Yunahliam Enterprise — store theme */
:root {
  /* Logo palette: trust blue frames the page, amber is reserved for actions */
  --brand: #0975BA;        /* logo swoosh blue */
  --brand-dark: #075A92;
  --brand-deep: #053F66;
  --brand-bright: #2294D1; /* logo highlight blue */
  --brand-soft: #E6F1FA;
  --cta: #FAAF44;          /* logo "YunahLiam" amber */
  --cta-dark: #F39A1E;
  --cta-ink: #1B2430;      /* dark text on amber for strong contrast */
  --bg: #EEF4F9;
  --card: #ffffff;
  --text: #1B2430;         /* logo "Enterprise" charcoal */
  --muted: #6B7A8C;
  --line: #DFE7EF;
  --gold: #F7C53C;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(5, 63, 102, .08);
  --shadow-hover: 0 8px 22px rgba(5, 63, 102, .16);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.45 "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header { background: #fff; color: var(--text); position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--brand); box-shadow: 0 2px 8px rgba(5, 63, 102, .08); }
.header-bar { display: flex; align-items: center; gap: 20px; height: 64px; }
.wordmark { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; }
.wordmark-icon { width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--brand); display: grid; place-items: center; font-size: 22px; font-weight: 900; }
.wordmark-text { display: flex; flex-direction: column; font-size: 18px; line-height: 1; }
.wordmark-text small { font-size: 10px; letter-spacing: .28em; opacity: .85; margin-top: 3px; font-weight: 500; }
.wordmark-logo { display: block; height: 46px; width: auto; background: #fff; border-radius: 8px; padding: 3px 8px; }
.footer-brand .wordmark-logo { height: 64px; padding: 0; }
.main-nav { display: flex; gap: 4px; margin-left: 12px; }
.main-nav a { padding: 8px 12px; border-radius: 6px; font-weight: 500; color: var(--text); }
.main-nav a:hover, .main-nav a.active { background: var(--brand-soft); color: var(--brand-dark); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 6px; font-weight: 500; color: var(--brand-deep); }
.header-link:hover { background: var(--brand-soft); }
.saved-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.saved-count:empty { display: none; }
.button-sell { background: var(--cta); color: var(--cta-ink); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 10px 22px; border-radius: 6px; box-shadow: 0 2px 0 var(--cta-dark); }
.button-sell:hover { background: var(--cta-dark); }
.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 8px; margin-left: auto; }
.menu-toggle span { display: block; height: 2px; background: var(--brand-dark); border-radius: 2px; margin: 6px 0; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Search hero ---------- */
.search-hero { background: radial-gradient(120% 140% at 85% 0%, var(--brand-bright) 0%, var(--brand) 45%, var(--brand-dark) 100%); color: #fff; padding: 24px 0 30px; text-align: center; }
.search-hero h1 { font-size: 26px; font-weight: 700; margin-bottom: 16px; }
.search-hero p { margin: -8px 0 16px; opacity: .9; }
.search-form { display: flex; max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.search-form select { border: 0; border-right: 1px solid var(--line); padding: 0 14px; background: #f7f9fb; color: var(--text); min-width: 160px; font-weight: 500; }
.search-form input { flex: 1; border: 0; padding: 15px 16px; font-size: 16px; color: var(--text); min-width: 0; }
.search-form input:focus, .search-form select:focus { outline: 2px solid var(--brand-bright); outline-offset: -2px; }
.search-form button { border: 0; background: var(--cta); color: var(--cta-ink); padding: 0 26px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.search-form button:hover { background: var(--cta-dark); }
.search-hint { margin-top: 12px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; align-items: center; }
.search-hint a { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 13px; }
.search-hint a:hover { background: rgba(255,255,255,.3); }

/* ---------- Layout ---------- */
.market { display: grid; grid-template-columns: 280px 1fr; gap: 20px; align-items: start; padding: 20px 0 40px; }
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.sidebar { position: sticky; top: 80px; overflow: hidden; }
.sidebar-title { font-size: 15px; font-weight: 700; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.category-list { list-style: none; margin: 0; padding: 6px 0; }
.category-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 16px; background: none; border: 0; text-align: left; }
.category-item:hover { background: #f5f8fa; }
.category-item.active { background: var(--brand-soft); }
.category-item.active .category-name { color: var(--brand-dark); }
.category-thumb { width: 42px; height: 42px; border-radius: 50%; background: #f1f5f8; flex: none; overflow: hidden; display: grid; place-items: center; }
.category-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.category-thumb.all { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; font-size: 18px; }
.category-name { display: block; font-weight: 500; }
.category-count { display: block; font-size: 12px; color: var(--muted); }
.category-chevron { margin-left: auto; color: var(--muted); }

.filter-block { padding: 14px 16px; border-top: 1px solid var(--line); }
.filter-block h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 10px; }
.price-inputs { display: flex; gap: 8px; }
.price-inputs input, .filter-block select { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 9px 10px; background: #fff; }
.price-inputs input:focus, .filter-block select:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }
.filter-actions { display: flex; gap: 8px; margin-top: 10px; }
.filter-actions button { flex: 1; }

/* ---------- Promo tiles ---------- */
.promo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.promo { border-radius: var(--radius); padding: 16px; min-height: 110px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; box-shadow: var(--shadow); transition: transform .15s; }
.promo:hover { transform: translateY(-2px); }
.promo b { font-size: 16px; line-height: 1.2; position: relative; z-index: 1; }
.promo small { opacity: .92; position: relative; z-index: 1; }
.promo img { position: absolute; right: -10px; bottom: -8px; width: 58%; height: 90%; object-fit: contain; opacity: .95; }
.promo-brand { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); }
.promo-amber { background: linear-gradient(135deg, #FBC35A, #F39A1E); color: var(--cta-ink); }
.promo-sky { background: linear-gradient(135deg, #3AA8E0, var(--brand)); }
.promo-navy { background: linear-gradient(135deg, #1F3A57, #0E1C2B); }
.promo-text { max-width: 55%; display: flex; flex-direction: column; gap: 4px; position: relative; z-index: 1; }

/* ---------- Section header ---------- */
.breadcrumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.breadcrumbs a { color: var(--brand-dark); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; margin-bottom: 14px; }
.section-head h1, .section-head h2 { font-size: 20px; font-weight: 700; }
.button.filter-toggle { display: none; }
.result-count { color: var(--muted); font-size: 14px; }
.section-head select { border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; background: #fff; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.product-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: relative; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; animation: rise .3s ease both; }
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.product-photo { position: relative; aspect-ratio: 1 / 1; background: #f7f9fb; display: block; }
.product-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.product-tag { position: absolute; left: 8px; top: 8px; background: var(--gold); color: var(--cta-ink); font-size: 10px; font-weight: 700; letter-spacing: .04em; padding: 3px 7px; border-radius: 4px; text-transform: uppercase; }
.product-save { position: absolute; right: 8px; top: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); color: var(--muted); font-size: 17px; display: grid; place-items: center; }
.product-save[aria-pressed="true"] { color: #e5484d; }
.product-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-price { color: var(--text); font-size: 17px; font-weight: 700; }
.product-title { font-size: 14px; font-weight: 500; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.5em; }
.product-title a:hover { color: var(--brand-dark); }
.product-desc { font-size: 12px; color: var(--muted); margin: 0; }
.product-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.chip { background: #eef2f5; color: var(--text); font-size: 11px; padding: 2px 8px; border-radius: 4px; }
.chip-brand { background: var(--brand-soft); color: var(--brand-dark); }
.verified { display: inline-flex; align-items: center; gap: 3px; color: var(--brand-dark); font-weight: 500; }

.empty-state { text-align: center; padding: 40px 16px; color: var(--muted); }
.load-more-wrap { display: flex; justify-content: center; margin-top: 20px; }

/* ---------- Buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 6px; padding: 11px 20px; font-weight: 700; transition: background .15s; }
.button-primary { background: var(--brand); color: #fff; }
.button-primary:hover { background: var(--brand-dark); }
.button-cta { background: var(--cta); color: var(--cta-ink); box-shadow: 0 2px 0 var(--cta-dark); }
.button-cta:active, .button-sell:active { transform: translateY(1px); box-shadow: none; }
.button-cta:hover { background: var(--cta-dark); }
.button-outline { background: #fff; color: var(--brand-dark); border: 1.5px solid var(--brand); }
.button-outline:hover { background: var(--brand-soft); }
.button-ghost { background: #f1f5f8; color: var(--text); }
.button-ghost:hover { background: #e4eaef; }
.button-block { width: 100%; }

/* ---------- Trust strip ---------- */
.service-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.service-strip div { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.service-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; font-size: 18px; flex: none; }
.service-strip b { display: block; font-size: 14px; }
.service-strip small { color: var(--muted); font-size: 12px; }

/* ---------- Product page ---------- */
.detail-page { padding: 16px 0 40px; }
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.detail-main { overflow: hidden; }
.detail-image-stage { position: relative; background: #f7f9fb; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.detail-main-image { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); box-shadow: var(--shadow-hover); font-size: 26px; line-height: 1; color: var(--text); }
.gallery-previous { left: 12px; }
.gallery-next { right: 12px; }
.gallery-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 4px; }
.detail-thumbnails { display: flex; gap: 8px; padding: 10px 16px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.detail-thumbnail { flex: none; width: 70px; height: 70px; border-radius: 6px; border: 2px solid transparent; background: #f7f9fb; padding: 4px; }
.detail-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.detail-thumbnail.selected { border-color: var(--brand); }
.detail-details { padding: 18px 20px 22px; }
.detail-title-row { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.detail-title-row h1 { font-size: 22px; font-weight: 700; }
.detail-save { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 18px; color: var(--muted); }
.detail-save[aria-pressed="true"] { color: #e5484d; border-color: #f3c1c3; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 16px; color: var(--muted); font-size: 13px; }
.detail-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 18px; padding: 14px 0; border-block: 1px solid var(--line); }
.detail-specs div { text-align: center; }
.detail-specs dt { font-size: 12px; color: var(--muted); }
.detail-specs dd { margin: 2px 0 0; font-weight: 700; font-size: 14px; }
.detail-description h2, .promise-panel h2, .similar-products h2 { font-size: 17px; margin-bottom: 8px; }
.detail-description p { margin: 0; color: #4a5566; }
.detail-share { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.detail-share a { width: 32px; height: 32px; border-radius: 50%; background: #f1f5f8; display: grid; place-items: center; color: var(--text); font-weight: 700; }
.detail-sidebar { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 80px; }
.detail-panel { padding: 18px; }
.detail-price strong { display: block; font-size: 28px; color: var(--brand-dark); font-weight: 700; margin: 2px 0 4px; }
.detail-price-label { font-size: 11px; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.detail-price-note { display: block; color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.seller-summary { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.seller-logo { width: 76px; height: auto; flex: none; }
.seller-summary strong { display: block; }
.seller-summary small { display: block; color: var(--muted); font-size: 12px; }
.seller-panel .button { margin-bottom: 8px; }
.seller-phone { display: block; text-align: center; font-size: 20px; font-weight: 700; color: var(--brand-dark); padding: 6px 0 10px; }
.seller-location { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.similar-products { margin-top: 24px; }
.detail-not-found, .detail-loading { text-align: center; padding: 60px 16px; }
.detail-not-found h1 { margin-bottom: 16px; }

/* ---------- Content pages ---------- */
.page-banner { background: radial-gradient(120% 140% at 85% 0%, var(--brand-bright) 0%, var(--brand) 45%, var(--brand-dark) 100%); color: #fff; padding: 28px 0 60px; }
.page-banner h1 { font-size: 30px; }
.page-banner p { margin: 8px 0 0; max-width: 620px; opacity: .92; }
.page-body { margin-top: -40px; padding-bottom: 40px; display: grid; gap: 16px; }
.content-card { padding: 24px; }
.content-card h2 { font-size: 20px; margin-bottom: 10px; }
.content-card p { color: #4a5566; margin: 0 0 10px; }
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.split img { width: 100%; max-height: 300px; object-fit: contain; }
.stat-row { display: flex; gap: 24px; margin-top: 14px; flex-wrap: wrap; }
.stat-row strong { display: block; font-size: 26px; color: var(--brand-dark); }
.stat-row span { color: var(--muted); font-size: 13px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-card { padding: 20px; }
.info-card .service-icon { margin-bottom: 12px; }
.info-card h3 { font-size: 16px; margin-bottom: 6px; }
.info-card p { color: #4a5566; margin: 0; font-size: 14px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--brand-dark); text-transform: uppercase; margin: 0 0 6px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; flex-wrap: wrap; }
.contact-list { display: grid; gap: 12px; margin-top: 8px; }
.contact-row { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-row:hover { border-color: var(--brand); }
.contact-row b { display: block; }
.contact-row small { color: var(--muted); }
.map-frame { width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: var(--radius); background: #f1f5f8; }

/* ---------- Footer ---------- */
.site-footer { background: #F4F8FC; border-top: 1px solid var(--line); margin-top: 32px; font-size: 14px; color: var(--muted); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding: 56px 0 44px; }
.footer-brand .wordmark-logo { height: 72px; padding: 0; background: none; }
.footer-brand p { margin: 16px 0 22px; line-height: 1.7; max-width: 380px; }
.footer-connect { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 12px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 8px; background: #E3EBF3; color: var(--text); display: grid; place-items: center; transition: background .15s, color .15s, transform .15s; }
.footer-socials a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-heading { font-size: 17px; font-weight: 500; color: var(--brand-deep); margin-bottom: 22px; padding-bottom: 10px; position: relative; }
.footer-heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 2px; background: var(--cta); }
.footer-column ul, .footer-contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-column a { display: inline-flex; gap: 6px; transition: color .15s, transform .15s; }
.footer-column a::before { content: "\2192"; color: var(--brand); }
.footer-column a:hover { color: var(--brand-dark); transform: translateX(3px); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.footer-contact a:hover { color: var(--brand-dark); }
.footer-icon { flex: none; color: var(--brand); padding-top: 1px; }
.footer-icon svg { width: 20px; height: 20px; display: block; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.footer-actions .button { padding: 11px 16px; font-size: 14px; }
.footer-actions .button svg { width: 17px; height: 17px; }
.footer-ghost { background: #E3EBF3; color: var(--text); }
.footer-ghost:hover { background: #d6e1ec; }
.footer-bottom-bar { border-top: 1px solid var(--line); }
.footer-bottom { padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom b { color: var(--text); font-weight: 700; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--brand-dark); }
.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 55; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(5,63,102,.3); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s, background .15s; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--brand-dark); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Mobile bottom nav ---------- */
.bottom-nav { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .promo-row { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .market { grid-template-columns: 1fr; padding-top: 14px; }
  .sidebar { position: static; }
  .category-list { display: flex; overflow-x: auto; padding: 10px 8px; gap: 4px; scrollbar-width: none; }
  .category-list li { flex: none; }
  .category-item { flex-direction: column; gap: 4px; padding: 6px 8px; width: 84px; text-align: center; border-radius: 8px; }
  .category-thumb { width: 52px; height: 52px; }
  .category-name { font-size: 12px; line-height: 1.2; }
  .category-count, .category-chevron { display: none; }
  .sidebar-title { display: none; }
  .filter-block { display: none; }
  .sidebar.filters-open .filter-block { display: block; }
  .button.filter-toggle { display: inline-flex; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .split, .info-grid { grid-template-columns: 1fr; }
  .service-strip { grid-template-columns: 1fr; }
  .header-actions .header-link, .header-actions .button-sell { display: none; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; border-bottom: 3px solid var(--brand); box-shadow: 0 8px 16px rgba(5, 63, 102, .1); flex-direction: column; padding: 8px 16px 14px; margin: 0; }
  .main-nav.open { display: flex; }
  .bottom-nav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -2px 10px rgba(0,0,0,.06); padding-bottom: env(safe-area-inset-bottom); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; font-size: 11px; color: var(--muted); font-weight: 500; }
  .bottom-nav a span:first-child { font-size: 19px; line-height: 1; }
  .bottom-nav a.active { color: var(--brand-dark); }
  .bottom-nav .bottom-call span:first-child { background: var(--cta); color: var(--cta-ink); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin-top: -20px; box-shadow: 0 3px 8px rgba(243,154,30,.45); font-size: 18px; }
  body { padding-bottom: 64px; }
  .back-to-top { bottom: 80px; right: 14px; width: 42px; height: 42px; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .search-hero { padding: 14px 0 20px; }
  .search-hero h1 { font-size: 19px; margin-bottom: 12px; }
  .search-form select { display: none; }
  .search-form button { padding: 0 16px; }
  .search-form button .label { display: none; }
  .promo-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .promo { min-height: 90px; padding: 12px; }
  .promo b { font-size: 14px; }
  .promo small { display: none; }
  .product-body { padding: 8px 10px 10px; }
  .product-price { font-size: 15px; }
  .detail-specs { grid-template-columns: repeat(2, 1fr); }
  .section-head { flex-wrap: wrap; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding: 36px 0 28px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { justify-content: center; text-align: center; }
  .wordmark-text small { display: none; }
  .page-banner h1 { font-size: 24px; }
}
/* ---------- Product animations ---------- */
.product-photo { overflow: hidden; }
.product-photo img { transition: transform .4s ease, opacity .35s ease; }
.photo-alt { opacity: 0; }
@media (hover: hover) {
  .product-card:hover .product-photo img, .product-photo:focus-visible img { transform: scale(1.07); }
  .product-card:hover .has-alt .photo-main, .has-alt:focus-visible .photo-main { opacity: 0; }
  .product-card:hover .has-alt .photo-alt, .has-alt:focus-visible .photo-alt { opacity: 1; }
}
.tag-shine::after { content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.85), transparent); transform: skewX(-20deg); animation: tag-shine 3.8s ease-in-out infinite; }
@keyframes tag-shine { 0%, 65% { left: -60%; } 100% { left: 130%; } }
.product-save.pop, .detail-save.pop { animation: heart-pop .45s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes heart-pop { 0% { transform: scale(1); } 35% { transform: scale(1.4); } 100% { transform: scale(1); } }
.cta-pulse { animation: cta-pulse 2.8s ease-out infinite; }
.cta-pulse:hover, .cta-pulse:focus-visible { animation: none; }
@keyframes cta-pulse {
  0% { box-shadow: 0 2px 0 var(--cta-dark), 0 0 0 0 rgba(250, 175, 68, .65); }
  60%, 100% { box-shadow: 0 2px 0 var(--cta-dark), 0 0 0 14px rgba(250, 175, 68, 0); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.product-tag { max-width: calc(100% - 56px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-banner .breadcrumbs { color: rgba(255,255,255,.85); }
.market-main { min-width: 0; }

/* ---------- Brand & persuasion details ---------- */
/* Smaller currency label: the number reads as the value, the symbol recedes */
.price-cur { font-size: .62em; font-weight: 500; color: var(--muted); letter-spacing: .02em; margin-right: 2px; vertical-align: .12em; }
.price-from { font-size: .62em; font-weight: 500; color: var(--muted); margin-right: 3px; vertical-align: .12em; }
.detail-price strong { color: var(--text); }
/* Risk reducers right where people decide */
.trust-line { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 14px 0 0; padding: 0; font-size: 13px; font-weight: 500; }
.trust-line li { display: inline-flex; align-items: center; gap: 6px; }
.trust-line li::before { content: "✔"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--cta); color: var(--cta-ink); font-size: 11px; font-weight: 700; }
.reassure { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
.reassure li::before { content: "✔ "; color: var(--brand); font-weight: 700; }
/* Closing call to action band */
.help-band { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--radius); color: #fff; background: radial-gradient(120% 160% at 100% 0%, var(--brand-bright) 0%, var(--brand) 50%, var(--brand-deep) 100%); box-shadow: var(--shadow); }
.help-band h2 { font-size: 20px; }
.help-band p { margin: 4px 0 0; opacity: .9; }
.section-head h2::before, .section-head h1::before { content: ""; display: inline-block; width: 4px; height: .9em; border-radius: 2px; background: var(--cta); margin-right: 10px; vertical-align: -.08em; }
@media (max-width: 600px) { .trust-line { font-size: 12px; gap: 4px 12px; } .help-band { padding: 18px; } .help-band .button { width: 100%; } }

/* ---------- Store promise ---------- */
.detail-badge { color: var(--brand-dark); font-weight: 700; letter-spacing: .03em; }
.promise-panel .reassure { font-size: 14px; gap: 8px; margin: 0 0 12px; }
.promise-link { font-size: 13px; font-weight: 700; color: var(--brand-dark); }
.promise-link:hover { text-decoration: underline; }
.promise-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.promise-list li { padding: 14px 16px 14px 44px; border: 1px solid var(--line); border-radius: var(--radius); position: relative; background: #FAFCFE; }
.promise-list li::before { content: "\2713"; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--cta); color: var(--cta-ink); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.promise-list b { display: block; color: var(--text); margin-bottom: 3px; }
.promise-list span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
@media (max-width: 860px) { .promise-list { grid-template-columns: 1fr; } }

/* ---------- Cart & buying ---------- */
.header-cart { display: inline-flex; align-items: center; gap: 6px; }
.header-cart .cart-count { background: var(--cta-ink); color: #fff; }
.cart-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--brand-dark); color: #fff; font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.cart-count:empty { display: none; }
.bottom-nav .tab-icon { position: relative; }
.bottom-nav .tab-icon .cart-count { position: absolute; top: -6px; right: -14px; min-width: 17px; height: 17px; font-size: 10px; padding: 0 4px; background: var(--cta); color: var(--cta-ink); }
.product-action { margin-top: auto; padding-top: 8px; }
.button-small { width: 100%; padding: 8px 10px; font-size: 13px; }
.chip-warn { background: #FDECEC; color: #B42318; }
.button.disabled { opacity: .45; pointer-events: none; }
.button:disabled { opacity: .6; cursor: progress; }

.skeleton .product-photo { background: linear-gradient(90deg, #eef2f5 25%, #f7f9fb 50%, #eef2f5 75%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.skeleton .product-body span { display: block; height: 12px; border-radius: 4px; background: #eef2f5; margin: 4px 0; }
.skeleton .product-body span + span { width: 60%; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px); background: var(--text); color: #fff; padding: 12px 18px; border-radius: var(--radius); box-shadow: var(--shadow-hover); font-size: 14px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast a { color: var(--cta); font-weight: 700; margin-left: 6px; }

.notice { background: var(--brand-soft); color: var(--brand-deep); border-radius: var(--radius); padding: 12px 16px; margin: 0 0 14px; font-size: 14px; }
.notice a { font-weight: 700; text-decoration: underline; }
.notice-error { background: #FDECEC; color: #8A1C14; }
section.notice { padding: 20px; text-align: center; grid-column: 1 / -1; }
section.notice p { margin: 6px 0 0; }

.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; flex: none; }
.qty-stepper button { width: 36px; height: 40px; border: 0; background: #f5f8fa; font-size: 18px; font-weight: 700; }
.qty-stepper button:hover { background: var(--brand-soft); }
.qty-stepper input, .qty-stepper output { width: 42px; text-align: center; border: 0; font-weight: 700; -moz-appearance: textfield; }
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: 8px; margin-bottom: 8px; }
.buy-row .button { flex: 1; }
.detail-call-link { display: block; text-align: center; font-size: 13px; color: var(--brand-dark); margin-top: 10px; font-weight: 500; }

/* ---------- Cart, checkout & order pages ---------- */
.checkout-page { padding: 16px 0 40px; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.cart-items { padding: 4px 16px; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto auto 32px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line.unavailable { opacity: .85; }
.cart-thumb { width: 72px; height: 72px; background: #f7f9fb; border-radius: 6px; padding: 4px; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-name { font-weight: 500; }
.cart-name:hover { color: var(--brand-dark); }
.cart-unit { font-size: 13px; color: var(--muted); }
.cart-warning { font-size: 12.5px; color: #B42318; }
.cart-warning a { font-weight: 700; text-decoration: underline; }
.cart-line-total { min-width: 96px; text-align: right; }
.cart-remove { width: 32px; height: 32px; border-radius: 50%; border: 0; background: none; color: var(--muted); font-size: 22px; line-height: 1; }
.cart-remove:hover { background: #FDECEC; color: #B42318; }
.cart-summary { padding: 18px; position: sticky; top: 80px; display: grid; gap: 10px; }
.cart-summary h2, .order-items h2 { font-size: 17px; }
.summary-rows { margin: 0; display: grid; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
.summary-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.summary-rows dt { color: var(--muted); }
.summary-rows dd { margin: 0; font-weight: 500; }
.summary-rows .summary-total { padding-top: 8px; border-top: 1px dashed var(--line); font-size: 17px; }
.summary-rows .summary-total dt { color: var(--text); font-weight: 700; }
.summary-rows .summary-total dd { font-weight: 700; }
.summary-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.summary-items li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.summary-items img { width: 44px; height: 44px; object-fit: contain; background: #f7f9fb; border-radius: 6px; flex: none; }
.summary-items span { flex: 1; min-width: 0; }
.summary-items small { color: var(--muted); }
.empty-cart { text-align: center; padding: 48px 16px; display: grid; gap: 10px; justify-items: center; }
.empty-cart p { color: var(--muted); margin: 0; }

.checkout-form { padding: 20px; display: grid; gap: 14px; }
.checkout-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.checkout-form legend { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.checkout-form label { display: grid; gap: 5px; font-size: 14px; font-weight: 500; }
.checkout-form label small { color: var(--muted); font-weight: 400; }
.checkout-form input:not([type="radio"]), .checkout-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; background: #fff; font-weight: 400; resize: vertical; }
.checkout-form input:focus, .checkout-form textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }
.checkout-form [hidden] { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.delivery-options { display: grid; gap: 8px; }
.checkout-form .delivery-option { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.delivery-option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.delivery-option input { accent-color: var(--brand); width: 18px; height: 18px; }
.delivery-option > span { display: flex; justify-content: space-between; flex: 1; gap: 12px; }
.checkout-form .delivery-option small { color: var(--text); font-weight: 700; }
.form-error { margin: 0; color: #B42318; font-weight: 500; }
.checkout-fineprint { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.enquiry-form { padding: 6px 0 0; max-width: 720px; }
.enquiry-form .button { justify-self: start; }
.enquiry-product { margin: 0; font-weight: 700; color: var(--brand-dark); }
.enquiry-product:empty { display: none; }
.form-status { margin: 0; }

.order-hero { display: flex; gap: 18px; align-items: center; padding: 22px 24px; margin-bottom: 14px; }
.order-hero h1 { font-size: 24px; }
.order-hero p:not(.eyebrow) { margin: 4px 0 0; color: var(--muted); }
.order-status-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; font-weight: 700; flex: none; background: var(--brand-soft); color: var(--brand-dark); }
.status-paid .order-status-icon, .status-processing .order-status-icon, .status-dispatched .order-status-icon, .status-delivered .order-status-icon { background: #E5F6EC; color: #157F3D; }
.status-cancelled .order-status-icon { background: #FDECEC; color: #B42318; }
.order-items { padding: 18px; display: grid; gap: 12px; }
.payment-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.payment-list li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; background: #f7f9fb; border-radius: 6px; }
.payment-list small { color: var(--muted); }
.order-list { padding: 6px 0; }
.order-list-row { display: flex; gap: 16px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.order-list-row:last-child { border-bottom: 0; }
.order-list-row:hover { background: #f5f8fa; }
.order-list-row span:nth-child(2) { color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .bottom-nav { grid-template-columns: repeat(5, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .toast { bottom: 84px; }
}
@media (max-width: 600px) {
  .cart-line { grid-template-columns: 60px 1fr auto; grid-template-areas: "thumb info remove" "thumb qty total"; row-gap: 8px; }
  .cart-thumb { grid-area: thumb; width: 60px; height: 60px; }
  .cart-info { grid-area: info; }
  .cart-line .qty-stepper { grid-area: qty; justify-self: start; }
  .cart-line-total { grid-area: total; min-width: 0; }
  .cart-remove { grid-area: remove; }
  .form-row { grid-template-columns: 1fr; }
  .order-hero { padding: 18px; }
  .order-hero h1 { font-size: 20px; }
}

/* Showroom mode (static hosting without the store API): browsing only, no cart */
.showroom .header-cart, .showroom .bottom-nav a[href="cart.html"] { display: none; }
@media (max-width: 860px) { .showroom .bottom-nav { grid-template-columns: repeat(4, 1fr); } }
