/* ===== SPACE HOME & LIVING — SHARED STYLES ===== */
:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #2c2c2c;
  --muted: #6b6b6b;
  --line: #e6e3dc;
  --accent: #1a1a1a;
  --accent-2: #b9a47a;
  --accent-soft: #f1ede4;
  --success: #2f7a52;
  --shadow: 0 10px 30px rgba(0,0,0,0.06);
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--muted); }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ANNOUNCEMENT BAR */
.annc { background: var(--ink); color: #fff; text-align: center; padding: 9px 16px; font-size: .82rem; letter-spacing: .04em; }
.annc strong { color: var(--accent-2); }

/* HEADER */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px;
  display: block;
  border-radius: 0;
  background: none;
  flex-shrink: 0;
}
.logo-text {
  line-height: 1;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: .9rem; letter-spacing: .18em;
  color: var(--ink);
}
.logo-text small { display: block; font-weight: 400; font-size: .62rem; letter-spacing: .25em; color: var(--muted); margin-top: 4px; }
nav.main-nav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
nav.main-nav a { color: var(--ink); font-weight: 500; font-size: .9rem; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
nav.main-nav a:hover, nav.main-nav a.active { border-color: var(--accent-2); text-decoration: none; }
.cart-btn {
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px;
  border: 0; font-weight: 600; cursor: pointer; font-size: .85rem;
  transition: background .2s; white-space: nowrap;
}
.cart-btn:hover { background: var(--accent-2); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; }

/* CONTAINERS */
section { padding: 80px 24px; }
.container { max-width: 1240px; margin: 0 auto; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow { color: var(--accent-2); font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; }
.section-head h2 { margin-top: 8px; color: var(--ink); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* HERO */
.hero {
  position: relative; min-height: 70vh;
  background: linear-gradient(135deg, #ede8df 0%, #d9d1c1 100%);
  display: flex; align-items: center;
  padding: 80px 24px; overflow: hidden;
}
.hero-inner { max-width: 1240px; margin: 0 auto; position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 16px; color: var(--ink); }
.hero p.tagline { font-size: 1.15rem; color: var(--ink-soft); max-width: 560px; margin-bottom: 10px; }
.hero p.sub { font-size: .78rem; color: var(--ink); letter-spacing: .35em; text-transform: uppercase; margin-bottom: 28px; font-weight: 600; }
.btn-primary {
  display: inline-block; background: var(--ink); color: #fff;
  padding: 14px 32px; border-radius: 999px; font-weight: 600; margin-right: 12px;
  transition: all .2s; font-size: .92rem; border: 0; cursor: pointer; font-family: inherit;
}
.btn-primary:hover { background: var(--accent-2); text-decoration: none; transform: translateY(-2px); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: 12px 30px; }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* TRUST BADGES */
.props {
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 22px 24px;
}
.props-row {
  max-width: 1240px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-around; align-items: center;
  font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .15em;
}
.props-row strong { color: var(--ink); }

/* CALCULATOR */
.calc-section { background: linear-gradient(180deg, var(--bg) 0%, #ece6d8 100%); }
.calculator {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 400px;
  border: 1px solid var(--line);
}
.calc-form { padding: 40px; }
.calc-summary {
  background: var(--ink); color: #fff;
  padding: 40px;
  display: flex; flex-direction: column;
}
.calc-summary h3 { color: #fff; font-size: 1rem; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 24px; font-family: 'Inter', sans-serif; }
.calc-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .9rem; gap: 10px; }
.calc-row .label { color: rgba(255,255,255,.65); flex-shrink: 0; }
.calc-row .value { font-weight: 600; text-align: right; }
.calc-total {
  margin-top: auto; padding-top: 28px; border-top: 2px solid var(--accent-2);
  display: flex; justify-content: space-between; align-items: baseline;
}
.calc-total .label { font-size: .82rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .2em; }
.calc-total .price-big { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--accent-2); font-weight: 600; }
.calc-disclaimer { font-size: .72rem; color: rgba(255,255,255,.5); margin-top: 12px; line-height: 1.5; }
.add-to-cart-btn {
  background: var(--accent-2); color: #fff; border: 0;
  padding: 14px; border-radius: 8px; font-weight: 600; cursor: pointer;
  margin-top: 16px; font-size: 1rem; width: 100%;
  transition: background .2s; letter-spacing: .05em; font-family: inherit;
}
.add-to-cart-btn:hover { background: #a08f6a; }
.add-to-cart-btn:disabled { background: #555; cursor: not-allowed; }

.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .88rem; color: var(--ink); }
.field small { display: block; color: var(--muted); font-size: .78rem; margin-bottom: 8px; }
.field input, .field select {
  width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 1rem; background: #fff; color: var(--ink);
  font-family: inherit;
}
.field input:focus, .field select:focus { outline: 2px solid var(--accent-2); border-color: var(--accent-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.addons { display: grid; gap: 8px; }
.addon { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; transition: all .15s; background: #fafafa; font-size: .9rem; }
.addon:hover { border-color: var(--accent-2); background: #fff; }
.addon input { accent-color: var(--accent-2); width: auto; }
.addon .addon-label { flex: 1; }
.addon .addon-label small { display: block; color: var(--muted); font-size: .76rem; margin-top: 2px; }
.addon .addon-price { color: var(--ink); font-weight: 700; font-size: .86rem; white-space: nowrap; }
.addon.selected { border-color: var(--accent-2); background: var(--accent-soft); }

/* PRODUCT CATEGORY GRID (homepage) */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.cat-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(0,0,0,.12); text-decoration: none; }
.cat-thumb {
  height: 220px; position: relative;
  background-color: var(--accent-soft);
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end; padding: 18px;
}
.cat-thumb .cat-badge {
  background: rgba(255,255,255,.95); color: var(--ink);
  padding: 6px 14px; border-radius: 999px;
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700;
}
.cat-info { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.cat-info h3 { margin-bottom: 6px; color: var(--ink); font-size: 1.2rem; }
.cat-info p { font-size: .9rem; color: var(--muted); flex: 1; }
.cat-info .from { color: var(--accent-2); font-weight: 700; font-size: .9rem; margin-top: 10px; }

/* PRODUCT GRID (inside product pages) */
.fabric-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.fabric-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
  border: 1px solid var(--line);
}
.fabric-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.1); }
.fabric-thumb {
  height: 240px; position: relative;
  background-color: #f0ebe1;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end; padding: 16px;
}
.fabric-thumb .tier-badge {
  background: rgba(255,255,255,.94); color: var(--ink);
  padding: 6px 14px; border-radius: 999px;
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700;
}
.fabric-info { padding: 20px; }
.fabric-info h3 { margin-bottom: 6px; color: var(--ink); font-size: 1.15rem; }
.fabric-info .price { color: var(--ink); font-weight: 700; font-size: 1.05rem; }
.fabric-info .price small { color: var(--muted); font-weight: 400; font-size: .85rem; }
.fabric-info p { font-size: .88rem; margin-bottom: 0; }

/* MOTOR CARDS */
.motor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.motor-card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.motor-card h3 { color: var(--ink); }
.motor-card .badge { display: inline-block; background: var(--accent-soft); color: var(--accent-2); font-size: .72rem; padding: 4px 10px; border-radius: 999px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.motor-card ul { padding-left: 18px; color: var(--muted); font-size: .9rem; margin: 0; }
.motor-card ul li { margin-bottom: 4px; }
.motor-card .price-tag { margin-top: auto; padding-top: 14px; color: var(--ink); font-weight: 700; font-size: .95rem; }

/* STEPS */
.steps { background: var(--surface); }
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.step { text-align: center; padding: 16px; }
.step-num { font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--accent-2); line-height: 1; margin-bottom: 8px; }
.step h3 { color: var(--ink); }

/* SMART HOME BAND */
.smart { background: var(--ink); color: #fff; padding: 80px 24px; text-align: center; }
.smart h2 { color: #fff; }
.smart p { color: rgba(255,255,255,.7); max-width: 640px; margin: 0 auto 30px; }
.smart-logos { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin-top: 16px; }
.smart-logo {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  padding: 14px 24px; border-radius: 12px;
  font-weight: 600; letter-spacing: .08em;
  font-size: .88rem;
}

/* REVIEWS */
.reviews { background: var(--bg); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review {
  background: var(--surface); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.stars { color: #f5b400; margin-bottom: 8px; letter-spacing: 2px; }
.review-text { color: var(--ink-soft); font-style: italic; }
.review-author { display: block; margin-top: 14px; font-weight: 600; color: var(--ink); font-style: normal; }
.review-author span { color: var(--muted); font-weight: 400; }

/* FOOTER */
footer.site-footer { background: var(--ink); color: #c8c0b1; padding: 56px 24px 24px; }
.footer-grid {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-grid h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: .85rem; text-transform: uppercase; letter-spacing: .2em; }
.footer-grid a, .footer-grid p { color: rgba(255,255,255,.7); font-size: .9rem; line-height: 2; }
.footer-bottom { max-width: 1240px; margin: 24px auto 0; display: flex; justify-content: space-between; font-size: .8rem; color: rgba(255,255,255,.45); flex-wrap: wrap; gap: 12px; }

/* MODAL */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.active { display: flex; }
.modal {
  background: var(--surface); border-radius: var(--radius);
  max-width: 640px; width: 100%; max-height: 86vh; overflow: auto;
  padding: 36px; position: relative;
}
.modal h2 { margin-top: 0; }
.modal-close { position: absolute; top: 16px; right: 22px; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--muted); }
.cart-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cart-item-head h4 { margin: 0; color: var(--ink); font-family: 'Inter', sans-serif; font-size: 1rem; }
.cart-item-head .price { font-weight: 700; color: var(--ink); white-space: nowrap; }
.cart-item-meta { font-size: .82rem; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.cart-item-meta .tag { display: inline-block; background: var(--accent-soft); color: var(--accent-2); padding: 2px 8px; border-radius: 4px; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.remove-btn { background: none; border: 0; color: #c44; cursor: pointer; font-size: .82rem; padding: 0; margin-top: 6px; }
.cart-empty { text-align: center; padding: 50px 0; color: var(--muted); }
.cart-total { display: flex; justify-content: space-between; padding: 22px 0; border-top: 2px solid var(--accent-2); margin-top: 12px; font-size: 1.25rem; font-weight: 700; align-items: baseline; }
.cart-total .price-big { color: var(--ink); font-size: 1.6rem; font-family: 'Playfair Display', serif; }

/* WHATSAPP FAB */
.wa-fab {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  background: #25d366; color: #fff; padding: 12px 20px; border-radius: 999px;
  font-weight: 600; box-shadow: 0 12px 24px rgba(37,211,102,.35);
  text-decoration: none; font-size: .88rem;
  transition: transform .2s;
}
.wa-fab:hover { transform: translateY(-3px); text-decoration: none; }

/* PRODUCT PAGE SUB-HERO (legacy — used by old templates only) */
.product-hero {
  padding: 80px 24px;
  background: linear-gradient(135deg, #ede8df 0%, #d9d1c1 100%);
}
.product-hero .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.product-hero h1 { margin-bottom: 14px; }
.product-hero .breadcrumb { font-size: .8rem; color: var(--muted); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 16px; }
.product-hero .product-img {
  background-size: cover; background-position: center;
  border-radius: var(--radius); height: 380px;
  box-shadow: var(--shadow);
}

/* ===== SHOPEE-STYLE PRODUCT SHELL ===== */
.shopee-shell { background: var(--surface); padding: 28px 24px 56px; border-bottom: 1px solid var(--line); }
.shopee-shell .breadcrumb { max-width: 1320px; margin: 0 auto 16px; font-size: .82rem; color: var(--muted); }
.shopee-shell .breadcrumb a { color: var(--muted); }
.shopee-shell .breadcrumb a:hover { color: var(--ink); }
.shopee-grid {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 36px; align-items: start;
}

/* CAROUSEL (left side on desktop, top on mobile) */
.gallery { position: sticky; top: 80px; }
.gallery-main {
  width: 100%; aspect-ratio: 1;
  background: #f0ebe1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
}
.gallery-main img,
.gallery-main video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gallery-main .video-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.18); cursor: pointer; transition: background .2s;
}
.gallery-main .video-overlay:hover { background: rgba(0,0,0,.32); }
.gallery-main .video-overlay::before {
  content: '▶'; color: #fff; font-size: 3rem;
  background: rgba(0,0,0,.55); width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  padding-left: 6px;
}
.gallery-nav-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.85); border: 0; width: 40px; height: 40px;
  border-radius: 50%; cursor: pointer; font-size: 1.3rem; color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .15s; z-index: 2;
}
.gallery-nav-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.gallery-nav-arrow.prev { left: 12px; }
.gallery-nav-arrow.next { right: 12px; }

.gallery-thumbs {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
  margin-top: 12px;
}
.gallery-thumb {
  aspect-ratio: 1; background-size: cover; background-position: center;
  background-color: #f0ebe1;
  border-radius: 6px; cursor: pointer; border: 2px solid transparent;
  transition: border-color .15s, transform .15s;
  position: relative;
}
.gallery-thumb:hover { transform: translateY(-2px); }
.gallery-thumb.active { border-color: var(--accent-2); }
.gallery-thumb.video-thumb::after {
  content: '▶'; color: #fff;
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35); border-radius: 4px;
  font-size: 1.1rem;
}

/* PRODUCT INFO + CALCULATOR (right side) */
.product-info-panel {
  display: flex; flex-direction: column; gap: 18px;
  min-width: 0;
}
.product-info-panel .breadcrumb-inline {
  font-size: .78rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase;
}
.product-info-panel h1 {
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  line-height: 1.25; margin: 0;
}
.product-info-panel .rating {
  display: flex; align-items: center; gap: 12px; padding: 6px 0;
  border-bottom: 1px solid var(--line); padding-bottom: 14px;
  color: var(--muted); font-size: .9rem;
}
.product-info-panel .rating .stars { color: #f5b400; font-size: 1.05rem; }
.product-info-panel .price-band {
  background: var(--accent-soft);
  padding: 18px 20px; border-radius: 10px;
}
.product-info-panel .price-band .from-label {
  font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted);
}
.product-info-panel .price-band .from-price {
  font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 600; color: var(--accent-2); line-height: 1;
}
.product-info-panel .price-band .price-note {
  font-size: .8rem; color: var(--muted); margin-top: 6px;
}
.product-info-panel .feature-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.feature-pill {
  background: var(--accent-soft); color: var(--accent-2);
  padding: 5px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}

/* CALCULATOR — slimmed down inside the Shopee shell */
.calc-inline {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.calc-inline .calc-head {
  padding: 18px 22px; background: var(--ink); color: #fff;
}
.calc-inline .calc-head .calc-title { font-family: 'Inter', sans-serif; font-size: .85rem; letter-spacing: .25em; text-transform: uppercase; margin: 0; font-weight: 600; }
.calc-inline .calc-head .calc-sub { font-size: .8rem; color: rgba(255,255,255,.65); margin: 4px 0 0; }
.calc-inline .calc-body { padding: 22px; }
.calc-inline .calc-total-band {
  background: var(--ink); color: #fff;
  padding: 18px 22px;
  display: flex; align-items: baseline; justify-content: space-between;
  border-top: 2px solid var(--accent-2);
}
.calc-inline .calc-total-band .label { font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.calc-inline .calc-total-band .price-big { font-family: 'Playfair Display', serif; font-size: 2.1rem; font-weight: 600; color: var(--accent-2); line-height: 1; }
.calc-inline .calc-actions { padding: 16px 22px 22px; background: var(--ink); display: grid; gap: 8px; }
.calc-inline .breakdown { padding: 14px 22px; background: #fafafa; border-top: 1px solid var(--line); font-size: .82rem; }
.calc-inline .breakdown-row { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); }
.calc-inline .breakdown-row .value { color: var(--ink); font-weight: 600; }
.calc-inline .calc-warn {
  margin: 10px 22px 0; padding: 12px 14px; border-radius: 8px;
  background: #fff8e8; border-left: 4px solid #f5b400;
  font-size: .82rem; color: var(--ink-soft);
}
.calc-inline .calc-warn.error { background: #ffeded; border-left-color: #c44; }

/* Voucher reminder */
.voucher-card {
  background: linear-gradient(135deg, #fff8e8 0%, #fdf2d4 100%);
  border: 1px dashed var(--accent-2);
  border-radius: 10px; padding: 14px 16px;
  font-size: .82rem; color: var(--ink-soft);
  display: flex; align-items: center; gap: 12px;
}
.voucher-card strong { color: var(--accent-2); font-family: 'Playfair Display', serif; font-size: 1.05rem; }
.voucher-card .voucher-icon { font-size: 1.6rem; }

/* DESCRIPTION BANDS BELOW */
.desc-band { padding: 60px 24px; }
.desc-band.alt { background: var(--surface); }
.desc-band.dark { background: var(--ink); color: #fff; }
.desc-band.dark h2, .desc-band.dark h3 { color: #fff; }
.desc-band.dark p { color: rgba(255,255,255,.75); }
.desc-band .container { max-width: 1240px; margin: 0 auto; }
.desc-band h2 { text-align: center; margin-bottom: 8px; }
.desc-band > .container > p.lead { text-align: center; color: var(--muted); max-width: 720px; margin: 0 auto 40px; font-size: 1rem; }
.desc-band.dark > .container > p.lead { color: rgba(255,255,255,.7); }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.feature-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 22px;
}
.desc-band.alt .feature-card { background: var(--surface); }
.feature-card .icon { font-size: 1.7rem; margin-bottom: 8px; }
.feature-card h3 { font-family: 'Inter', sans-serif; font-size: 1rem; margin-bottom: 6px; }
.feature-card p { font-size: .88rem; margin: 0; }

.projects-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px;
}
.project-thumb {
  aspect-ratio: 4/3; background-size: cover; background-position: center;
  border-radius: 8px; background-color: var(--accent-soft);
  position: relative; cursor: pointer; transition: transform .2s;
}
.project-thumb:hover { transform: translateY(-3px); }
.project-thumb .placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--accent-2); font-style: italic; font-size: .9rem;
}

.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item summary {
  font-weight: 600; cursor: pointer; padding: 6px 0;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  color: var(--ink);
}
.faq-item summary::after {
  content: '+'; font-size: 1.5rem; color: var(--accent-2); transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 12px 0 4px; color: var(--muted); font-size: .92rem; }

/* GST NOTE under total */
.gst-note {
  text-align: center; font-size: .72rem; color: rgba(255,255,255,.55);
  padding: 4px 22px 0; margin-top: -10px;
  background: var(--ink); letter-spacing: .12em; text-transform: uppercase;
}

/* UNIT TOGGLE (cm / ft) */
.unit-toggle {
  display: inline-flex; gap: 0; border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; margin-left: 8px; font-size: .8rem;
}
.unit-toggle button {
  background: #fff; color: var(--muted); border: 0;
  padding: 4px 12px; cursor: pointer; font-family: inherit; font-weight: 600;
}
.unit-toggle button.active { background: var(--ink); color: #fff; }
.unit-toggle button:hover:not(.active) { background: var(--accent-soft); color: var(--ink); }

/* QUANTITY STEPPER */
.qty-wrap { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.qty-wrap button {
  background: #fafafa; border: 0; padding: 8px 14px; cursor: pointer; font-size: 1.1rem; color: var(--ink); font-family: inherit;
}
.qty-wrap button:hover { background: var(--accent-soft); }
.qty-wrap input { border: 0; width: 56px; text-align: center; padding: 8px; font-size: 1rem; font-family: inherit; }
.qty-wrap input:focus { outline: 0; background: var(--accent-soft); }

/* SINGLE/DOUBLE TRACK SELECTOR */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-card {
  border: 2px solid var(--line); border-radius: 10px;
  padding: 16px; cursor: pointer;
  text-align: center; transition: all .15s;
  background: #fafafa;
}
.choice-card:hover { border-color: var(--accent-2); background: #fff; }
.choice-card.selected { border-color: var(--accent-2); background: var(--accent-soft); }
.choice-card .choice-icon {
  width: 100%; height: 80px; background-size: contain; background-repeat: no-repeat; background-position: center;
  margin-bottom: 8px;
  background-color: #fff; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.choice-card .choice-title { font-weight: 700; color: var(--ink); font-size: .95rem; }
.choice-card .choice-sub { font-size: .78rem; color: var(--muted); margin-top: 4px; }

/* PLACEHOLDER PHOTO SLOTS (for user-provided assets) */
.photo-placeholder {
  background: #fafaf6;
  border: 2px dashed #d0c9b8;
  border-radius: 10px;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-2); font-size: .85rem; font-style: italic;
  padding: 16px; text-align: center;
}

/* FABRIC LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.92);
  z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox-content { max-width: 95vw; max-height: 90vh; text-align: center; }
.lightbox-content img {
  max-width: 100%; max-height: 75vh;
  border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lightbox-info {
  color: #fff; margin-top: 14px;
}
.lightbox-info h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: #fff; margin-bottom: 4px; }
.lightbox-info p { color: rgba(255,255,255,.7); margin: 0; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: rgba(255,255,255,.15); color: #fff; border: 0;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* MOTOR COMPARISON TABLE (shared) */
.motor-compare-wrap { overflow-x: auto; }
.motor-compare {
  width: 100%; border-collapse: collapse;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); font-size: .85rem; min-width: 760px;
}
.motor-compare thead th {
  background: var(--ink); color: #fff;
  padding: 14px 12px; text-align: center;
  font-family: 'Playfair Display', serif; font-weight: 600; font-size: .95rem;
  vertical-align: middle;
}
.motor-compare thead th.popular { background: var(--accent-2); }
.motor-compare thead th .badge-mini {
  display: block; font-family: 'Inter', sans-serif; font-size: .65rem;
  font-weight: 400; letter-spacing: .15em; text-transform: uppercase; margin-top: 4px;
  opacity: .8;
}
.motor-compare tbody td {
  padding: 12px; border-bottom: 1px solid var(--line);
  text-align: center; vertical-align: middle; color: var(--ink-soft);
}
.motor-compare tbody td.feature-col {
  text-align: left; font-weight: 600; color: var(--ink); background: #fafafa;
  white-space: nowrap;
}
.motor-compare tbody td.popular {
  background: rgba(185,164,122,0.08);
  border-left: 2px solid var(--accent-2);
  border-right: 2px solid var(--accent-2);
}
.motor-compare tbody tr:last-child td.popular { border-bottom: 2px solid var(--accent-2); }
.motor-compare .yes { color: #2f7a52; font-weight: 700; }
.motor-compare .no { color: #c44; font-weight: 700; }
.motor-compare .price-cell { font-weight: 700; color: var(--ink); }

/* RESPONSIVE — Shopee shell collapses to stacked */
@media (max-width: 920px) {
  .shopee-grid { grid-template-columns: 1fr; gap: 24px; }
  .gallery { position: static; }
  .gallery-thumbs { grid-template-columns: repeat(5, 1fr); overflow-x: auto; }
  .shopee-shell { padding: 20px 16px 32px; }
  .product-info-panel h1 { font-size: 1.4rem; }
  .product-info-panel .price-band .from-price { font-size: 1.7rem; }
  .desc-band { padding: 48px 18px; }
}
@media (max-width: 540px) {
  .gallery-thumbs { grid-template-columns: repeat(5, 56px); }
}

/* RESPONSIVE */
@media (max-width: 920px) {
  nav.main-nav ul { display: none; }
  .menu-toggle { display: block; }
  nav.main-nav ul.open {
    display: flex; flex-direction: column; gap: 12px;
    position: absolute; top: 100%; right: 24px; left: 24px;
    background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow);
  }
  .calculator { grid-template-columns: 1fr; }
  .hero-grid, .product-hero .container { grid-template-columns: 1fr; }
  section { padding: 60px 20px; }
  .hero, .product-hero { padding: 60px 20px; min-height: auto; }
  .field-row { grid-template-columns: 1fr; }
  .logo-text small { display: none; }
  .logo-text { font-size: .78rem; }
}
