/* =============================================
   FlowUP — style.css  v7 (Imitation Jewellery theme)
   home/static/home/css/style.css
   Brand palette from logo: coral #F75B31 + black #0C0B0B
============================================= */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,500;6..96,700&family=Inter:wght@400;500;600&display=swap');

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---- VARIABLES ----
   Names are kept from v6 so other templates still work:
   --blue* = brand coral, --white = main TEXT colour, --orange = deep gold */
:root {
  --bg: #FFFFFF;  --bg2: #FFF4EF;  --bg3: #FFFFFF;  --bg4: #FBE9E1;
  --blue: #F75B31;  --blue-lt: #C93F1A;  --blue-dk: #D9461F;
  --silver: #3B3633;  --orange: #9A7420;  --green: #1E9E57;
  --white: #0C0B0B;  --muted: #7A706A;
  --gold: #F5C98A;
  --border: rgba(12,11,11,0.12);
  --radius: 14px;  --radius-lg: 22px;
  --tr: 0.28s cubic-bezier(0.4,0,0.2,1);
  --display: 'Bodoni Moda', Georgia, serif;
  --ui: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--ui); background: var(--bg); color: var(--white); overflow-x: hidden; line-height: 1.6; }
h1,h2,h3,h4 { font-family: var(--display); letter-spacing: 0; font-weight: 700; }

.gradient-text {
  background: linear-gradient(120deg, var(--blue), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Dark bands: flip text/border variables back to light */
.footer, .cta-banner, .jw-hero, .announce-bar, .toast {
  --white: #FBF6F2; --silver: #DDD3CB; --muted: #A3978F;
  --bg2: #141211; --bg3: #1A1817; --border: rgba(255,255,255,0.12);
}

/* ---- HELPERS ---- */
.section-eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--blue-lt); border: 1px solid rgba(247,91,49,0.3); background: rgba(247,91,49,0.08);
  padding: 4px 14px; border-radius: 100px; margin-bottom: 1rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.8rem,4vw,2.8rem); margin-bottom: 0.75rem; }
.section-sub { color: var(--muted); font-size: 0.95rem; max-width: 560px; margin: 0 auto; line-height: 1.7; }
.section-cta { text-align: center; margin-top: 3rem; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dk)); color: #fff;
  font-family: var(--ui); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 14px 28px; border-radius: var(--radius); border: none; cursor: pointer;
  transition: var(--tr); box-shadow: 0 4px 18px rgba(247,91,49,0.3); white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(247,91,49,0.45); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--white); font-family: var(--ui); font-size: 0.86rem; font-weight: 600;
  padding: 14px 28px; border-radius: var(--radius); border: 1px solid rgba(12,11,11,0.25);
  cursor: pointer; transition: var(--tr);
}
.btn-ghost:hover { background: var(--white); color: var(--bg); border-color: var(--white); }

.form-msg { padding: 12px 14px; border-radius: 10px; margin-bottom: 1.2rem; font-size: 0.86rem; font-weight: 500; }
.form-msg-success { background: rgba(30,158,87,0.12); border: 1px solid rgba(30,158,87,0.3); color: #15803d; }
.form-msg-error { background: rgba(230,57,70,0.1); border: 1px solid rgba(230,57,70,0.3); color: #c81e2c; }

/* Cart badge (used by pages outside the main navbar) */
.cart-btn { position: relative; background: rgba(247,91,49,0.08); border: 1px solid rgba(247,91,49,0.3); color: var(--white); padding: 9px 12px; border-radius: 10px; cursor: pointer; transition: var(--tr); display: flex; align-items: center; }
.cart-btn:hover { background: rgba(247,91,49,0.18); border-color: var(--blue); }
.cart-count { position: absolute; top: -6px; right: -6px; background: var(--orange); color: #fff; font-size: 0.62rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 100px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* =============================================
   HOME — HERO
============================================= */
.announce-bar { background: #0C0B0B; padding: 9px 0; margin-top: 68px; }
.announce-track { display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; padding: 0 1rem; }
.announce-track span { font-size: 0.78rem; font-weight: 600; color: var(--gold); white-space: nowrap; }
@media (max-width: 640px) {
  .announce-track { gap: 1.2rem; }
  .announce-track span:nth-child(3), .announce-track span:nth-child(4) { display: none; }
}

.jw-hero { background: #0C0B0B; color: var(--white); padding: 3.5rem 1.5rem 4rem; overflow: hidden; position: relative; }
.jw-hero::before { content: ''; position: absolute; right: -8%; top: -30%; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(247,91,49,0.35), transparent 68%); }
.jw-hero-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; position: relative; }
.jw-hero h1 { font-size: clamp(2.2rem,5.4vw,4.2rem); line-height: 1.06; margin-bottom: 1.1rem; color: #fff; }
.jw-hero h1 em { font-style: italic; color: var(--gold); }
.jw-hero p { color: var(--silver); max-width: 460px; line-height: 1.75; margin-bottom: 1.8rem; }
.jw-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.jw-hero .btn-ghost:hover { background: #fff; color: #0C0B0B; }
.jw-hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.jw-arch {
  justify-self: center; width: min(340px,80%); aspect-ratio: 3/4; border-radius: 999px 999px 18px 18px;
  background: linear-gradient(160deg, #F75B31 0%, #B8431F 55%, #2A1710 100%);
  border: 1px solid rgba(245,201,138,0.5); box-shadow: 0 0 0 10px rgba(255,255,255,0.04), 0 30px 70px rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.jw-arch svg { width: 70%; height: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35)); }
.jw-arch-tag { position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%); background: #fff; color: #0C0B0B; font-size: 0.78rem; font-weight: 600; padding: 8px 18px; border-radius: 100px; white-space: nowrap; }
.jw-sparkle { animation: jwTwinkle 3.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes jwTwinkle { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.75); } }
@media (prefers-reduced-motion: reduce) { .jw-sparkle { animation: none; } }

/* =============================================
   HOME — SECTIONS
============================================= */
.jw-sec { padding: 3.5rem 0; }
.jw-sec.alt { background: var(--bg2); }
.jw-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.jw-head h2 { font-size: clamp(1.6rem,3.4vw,2.3rem); }
.jw-head p { color: var(--muted); font-size: 0.92rem; margin-top: 0.3rem; }
.jw-link { color: var(--blue-lt); font-weight: 600; font-size: 0.88rem; }
.jw-link:hover { text-decoration: underline; }
.jw-cats { display: grid; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); gap: 1rem; }
.jw-cat { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; text-align: center; padding: 1.4rem 0.8rem; background: #fff; border: 1px solid var(--border); border-radius: 90px 90px 14px 14px; font-weight: 600; font-size: 0.88rem; transition: var(--tr); }
.jw-cat span { font-size: 2rem; }
.jw-cat:hover { border-color: var(--blue); transform: translateY(-3px); }
.jw-grid4 { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 1.2rem; }
.jw-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.jw-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.jw-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }
.jw-occ { display: block; padding: 1.6rem; border-radius: var(--radius); background: #0C0B0B; color: #fff; transition: var(--tr); }
.jw-occ h3 { font-size: 1.15rem; color: var(--gold); margin-bottom: 0.3rem; }
.jw-occ p { font-size: 0.86rem; color: #BDB2AA; }
.jw-occ:hover { background: var(--blue); transform: translateY(-3px); }
.jw-occ:hover h3, .jw-occ:hover p { color: #fff; }
.jw-faq { max-width: 760px; margin: 0 auto; }
.jw-faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 0.7rem; }
.jw-faq summary { cursor: pointer; font-weight: 600; font-size: 0.95rem; }
.jw-faq details p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; margin-top: 0.6rem; }

.shop-grid-sec { padding: 3.5rem 0; }
.shop-product-grid { grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 1.1rem; }
.shop-trust-strip { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; justify-content: center; padding: 1.75rem 1rem; color: var(--silver); font-size: 0.85rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cat-pill { display: flex; align-items: center; gap: 8px; flex-shrink: 0; background: var(--bg3); border: 1px solid var(--border); border-radius: 100px; padding: 10px 18px; color: var(--silver); font-size: 0.85rem; font-weight: 600; transition: var(--tr); white-space: nowrap; }
.cat-pill:hover { border-color: var(--blue); background: rgba(247,91,49,0.08); color: var(--white); }
.cat-scroll-row { display: flex; gap: 0.7rem; overflow-x: auto; padding-bottom: 0.5rem; }

/* Generic cards (kept for other pages) */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 1.4rem; }
.cat-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem; transition: var(--tr); display: flex; flex-direction: column; }
.cat-card:hover { border-color: rgba(247,91,49,0.45); transform: translateY(-4px); box-shadow: 0 16px 38px rgba(12,11,11,0.1); }
.cat-icon { font-size: 2.2rem; margin-bottom: 0.9rem; }
.cat-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.cat-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; flex: 1; }
.cat-arrow { margin-top: 0.75rem; color: var(--blue-lt); }
.features-sec { background: var(--bg2); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.4rem; }
.feature-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; transition: var(--tr); }
.feature-card:hover { border-color: rgba(247,91,49,0.35); transform: translateY(-3px); }
.feature-icon { font-size: 2rem; margin-bottom: 0.9rem; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

/* =============================================
   PRODUCT CARD
============================================= */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(250px,1fr)); gap: 1.5rem; }
.product-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--tr); position: relative; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(12,11,11,0.04); }
.product-card:hover { border-color: rgba(247,91,49,0.45); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(12,11,11,0.12); }
.product-badge { position: absolute; top: 12px; left: 12px; z-index: 3; font-size: 0.68rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.04em; }
.badge-new { background: var(--blue); color: #fff; }
.badge-sale, .badge-sale-price { background: var(--orange); color: #fff; }
.badge-popular { background: #0C0B0B; color: #fff; }
.badge-custom { background: var(--green); color: #fff; }
.product-img-link { display: block; flex-shrink: 0; }
.product-img { width: 100%; height: 220px; overflow: hidden; position: relative; background: var(--bg2); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-emoji { font-size: 5rem; line-height: 1; }
.product-material-tag { position: absolute; bottom: 8px; right: 8px; z-index: 2; font-size: 0.65rem; font-weight: 700; padding: 3px 9px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.05em; }
.tag-finish { background: rgba(154,116,32,0.12); color: #7a5a14; border: 1px solid rgba(154,116,32,0.35); }  /* e.g. Gold plated, Silver plated */
.product-discount-tag { position: absolute; top: 8px; right: 8px; z-index: 2; background: var(--orange); color: #fff; font-size: 0.68rem; font-weight: 700; padding: 3px 8px; border-radius: 100px; }
.product-body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 0.72rem; font-weight: 600; color: var(--blue-lt); margin-bottom: 5px; }
.product-name-link { display: block; margin-bottom: 0.4rem; }
.product-name { font-size: 1rem; line-height: 1.3; transition: var(--tr); }
.product-name-link:hover .product-name { color: var(--blue-lt); }
.product-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.55; margin-bottom: 0.75rem; flex: 1; }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 0.9rem; }
.stars-sm { font-size: 0.88rem; }
.star-filled { color: #E0A100; }
.star-empty { color: #D9D2CC; }
.rating-count { font-size: 0.72rem; color: var(--muted); }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.product-price { display: flex; flex-direction: column; gap: 1px; }
.price-current { font-family: var(--display); font-size: 1.15rem; font-weight: 700; }
.price-original { font-size: 0.74rem; color: var(--muted); text-decoration: line-through; }
.product-actions { display: flex; gap: 6px; align-items: center; }
.btn-add { background: linear-gradient(135deg, var(--blue), var(--blue-dk)); color: #fff; border: none; cursor: pointer; padding: 10px 14px; border-radius: 10px; font-family: var(--ui); font-size: 0.78rem; font-weight: 600; transition: var(--tr); white-space: nowrap; }
.btn-add:hover { transform: scale(1.05); box-shadow: 0 4px 16px rgba(247,91,49,0.45); }
.btn-detail { background: transparent; color: var(--silver); border: 1px solid var(--border); cursor: pointer; padding: 10px 11px; border-radius: 10px; font-size: 0.85rem; transition: var(--tr); display: inline-flex; align-items: center; justify-content: center; }
.btn-detail:hover { border-color: var(--blue); color: var(--blue-lt); }

/* =============================================
   CTA BANNER
============================================= */
.cta-banner { background: #0C0B0B; border-top: 1px solid rgba(247,91,49,0.35); border-bottom: 1px solid rgba(247,91,49,0.35); padding: 5rem 1.5rem; position: relative; overflow: hidden; color: var(--white); }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 300px; background: radial-gradient(ellipse, rgba(247,91,49,0.28), transparent 70%); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(1.7rem,3.5vw,2.4rem); margin-bottom: 0.5rem; color: #fff; }
.cta-inner p { color: var(--silver); font-size: 0.95rem; }
.cta-banner .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.cta-banner .btn-ghost:hover { background: #fff; color: #0C0B0B; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* =============================================
   CONTACT
============================================= */
.contact-sec { background: var(--bg2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
.contact-info h2 { font-size: clamp(1.7rem,3vw,2.3rem); margin-bottom: 1rem; }
.contact-info p { color: var(--muted); line-height: 1.7; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 1.8rem; }
.cd-item { display: flex; align-items: flex-start; gap: 1rem; }
.cd-icon { font-size: 1.4rem; flex-shrink: 0; }
.cd-item strong { display: block; font-size: 0.85rem; font-weight: 600; }
.cd-item span { font-size: 0.85rem; color: var(--muted); }
.custom-order-box { background: rgba(247,91,49,0.07); border: 1px solid rgba(247,91,49,0.3); border-radius: var(--radius); padding: 1.2rem; }
.cob-title { font-family: var(--display); font-size: 1rem; font-weight: 700; color: var(--blue-lt); margin-bottom: 0.5rem; }
.custom-order-box p { font-size: 0.84rem; color: var(--silver); line-height: 1.6; margin: 0; }
.contact-form { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--silver); margin-bottom: 5px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background: var(--bg); border: 1px solid var(--border); color: var(--white); padding: 11px 13px; border-radius: 10px; font-family: var(--ui); font-size: 0.86rem; transition: var(--tr); outline: none; resize: vertical; -webkit-appearance: none; appearance: none; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(247,91,49,0.15); }

/* =============================================
   FOOTER
============================================= */
.footer { background: #0C0B0B; border-top: 1px solid var(--border); padding: 5rem 1.5rem 0; color: var(--silver); }
.footer-logo-link { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 1rem; background: #fff; padding: 6px 12px; border-radius: 10px; }
.footer-logo-img { height: 34px; width: auto; object-fit: contain; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.85rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 0.75rem; }
.social-links a { width: 36px; height: 36px; border-radius: 9px; background: var(--bg3); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: var(--tr); }
.social-links a:hover { border-color: var(--blue); background: rgba(247,91,49,0.15); }
.footer-col h4 { font-size: 1rem; color: var(--white); margin-bottom: 1.1rem; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul a { color: var(--muted); font-size: 0.85rem; transition: var(--tr); }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.78rem; color: var(--muted); }
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a { font-size: 0.75rem; color: var(--muted); transition: var(--tr); }
.footer-legal a:hover { color: var(--silver); }

/* =============================================
   CART SIDEBAR
============================================= */
.cart-overlay { position: fixed; inset: 0; background: rgba(12,11,11,0.55); z-index: 2000; opacity: 0; pointer-events: none; transition: var(--tr); backdrop-filter: blur(4px); }
.cart-overlay.active { opacity: 1; pointer-events: all; }
.cart-sidebar { position: fixed; top: 0; right: -440px; width: 420px; height: 100vh; background: var(--bg); border-left: 1px solid var(--border); z-index: 2001; transition: 0.35s cubic-bezier(0.4,0,0.2,1); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(12,11,11,0.25); }
.cart-sidebar.active { right: 0; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--border); }
.cart-header h3 { font-size: 1.15rem; }
.cart-close { background: var(--bg2); border: 1px solid var(--border); color: var(--silver); width: 32px; height: 32px; border-radius: 8px; cursor: pointer; transition: var(--tr); display: flex; align-items: center; justify-content: center; }
.cart-close:hover { background: rgba(247,91,49,0.1); color: var(--white); }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; }
.cart-empty-icon { font-size: 2.8rem; margin-bottom: 1rem; opacity: 0.4; }
.cart-empty p { font-weight: 600; color: var(--silver); margin-bottom: 4px; }
.cart-empty span { font-size: 0.8rem; color: var(--muted); }
.cart-item { display: flex; gap: 1rem; padding: 1rem; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.75rem; align-items: center; }
.cart-item-img { font-size: 2.2rem; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.85rem; font-weight: 600; margin-bottom: 2px; line-height: 1.3; }
.cart-item-meta { font-size: 0.72rem; color: var(--muted); margin-bottom: 4px; }
.cart-item-price { font-size: 0.9rem; font-weight: 700; color: var(--blue-lt); }
.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-btn { width: 26px; height: 26px; border-radius: 6px; background: var(--bg); border: 1px solid var(--border); color: var(--white); cursor: pointer; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; transition: var(--tr); }
.qty-btn:hover { border-color: var(--blue); background: rgba(247,91,49,0.1); }
.qty-num { font-size: 0.85rem; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-remove { color: var(--muted); cursor: pointer; padding: 4px; transition: var(--tr); border: none; background: none; font-size: 0.8rem; }
.cart-item-remove:hover { color: #e63946; }
.cart-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; font-weight: 600; }
#cartTotal { font-family: var(--display); font-size: 1.25rem; color: var(--blue-lt); }
.cart-note { font-size: 0.75rem; color: var(--green); margin-bottom: 1rem; }
.btn-checkout { width: 100%; padding: 14px; background: linear-gradient(135deg, var(--blue), var(--blue-dk)); color: #fff; border: none; border-radius: var(--radius); font-family: var(--ui); font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: var(--tr); margin-bottom: 0.6rem; }
.btn-checkout:hover { box-shadow: 0 8px 24px rgba(247,91,49,0.45); transform: translateY(-1px); }
.btn-continue { width: 100%; padding: 11px; background: transparent; color: var(--muted); border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; font-size: 0.8rem; transition: var(--tr); }
.btn-continue:hover { border-color: var(--silver); color: var(--silver); }

/* =============================================
   MODAL + TOAST
============================================= */
.modal-overlay { position: fixed; inset: 0; background: rgba(12,11,11,0.6); z-index: 3000; opacity: 0; pointer-events: none; transition: var(--tr); backdrop-filter: blur(8px); }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.product-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%,-48%); width: min(720px,95vw); max-height: 90vh; overflow-y: auto; background: var(--bg); border: 1px solid rgba(247,91,49,0.3); border-radius: var(--radius-lg); z-index: 3001; opacity: 0; pointer-events: none; transition: 0.3s cubic-bezier(0.4,0,0.2,1); box-shadow: 0 32px 80px rgba(12,11,11,0.4); }
.product-modal.active { opacity: 1; pointer-events: all; transform: translate(-50%,-50%); }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: var(--bg2); border: 1px solid var(--border); color: var(--silver); width: 36px; height: 36px; border-radius: 8px; cursor: pointer; z-index: 1; transition: var(--tr); display: flex; align-items: center; justify-content: center; }
.modal-close:hover { color: var(--white); border-color: var(--blue); }
.modal-inner { padding: 2rem; }
.toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(100px); background: #0C0B0B; border: 1px solid rgba(247,91,49,0.5); color: #fff; padding: 12px 24px; border-radius: 100px; font-size: 0.86rem; font-weight: 500; z-index: 9999; box-shadow: 0 8px 32px rgba(0,0,0,0.35); transition: 0.3s cubic-bezier(0.4,0,0.2,1); white-space: nowrap; }
.toast.show { transform: translateX(-50%) translateY(0); }

/* =============================================
   INNER PAGES — hero + breadcrumb
============================================= */
.page-hero-sm { background: var(--bg2); border-bottom: 1px solid var(--border); padding: 7rem 1.5rem 2.5rem; }
.page-hero-sm h1 { font-size: clamp(1.7rem,3.5vw,2.5rem); margin-bottom: 0.5rem; }
.page-hero-sm p { color: var(--muted); font-size: 0.9rem; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); transition: var(--tr); }
.breadcrumb a:hover { color: var(--blue-lt); }
.breadcrumb-current { color: var(--white); }

/* =============================================
   PRODUCT LIST PAGE
============================================= */
.products-page { padding: 3rem 0 6rem; background: var(--bg); }
.product-list-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: start; }
.product-sidebar { position: sticky; top: 90px; }
.sidebar-block { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; margin-bottom: 1.2rem; }
.sidebar-block h4 { font-size: 1rem; color: var(--white); margin-bottom: 1rem; }
.sidebar-search { display: flex; gap: 6px; }
.sidebar-search input { flex: 1; background: var(--bg); border: 1px solid var(--border); color: var(--white); padding: 9px 12px; border-radius: 8px; font-family: var(--ui); font-size: 0.84rem; outline: none; transition: var(--tr); }
.sidebar-search input::placeholder { color: var(--muted); }
.sidebar-search input:focus { border-color: var(--blue); }
.sidebar-search button { background: var(--blue); border: none; color: #fff; padding: 9px 13px; border-radius: 8px; cursor: pointer; transition: var(--tr); display: flex; align-items: center; }
.sidebar-search button:hover { background: var(--blue-dk); }
.sidebar-cats, .sidebar-sort { list-style: none !important; padding: 0 !important; margin: 0 !important; display: flex; flex-direction: column; gap: 3px; }
.sidebar-cat-link, .sidebar-sort-link { display: flex !important; align-items: center; justify-content: space-between; padding: 9px 10px; border-radius: 8px; text-decoration: none !important; color: var(--muted) !important; font-size: 0.84rem; transition: var(--tr); border: 1px solid transparent; }
.sidebar-cat-link:hover, .sidebar-sort-link:hover { background: rgba(247,91,49,0.08); color: var(--white) !important; }
.sidebar-cat-link.active, .sidebar-sort-link.active { background: rgba(247,91,49,0.12); color: var(--blue-lt) !important; border-color: rgba(247,91,49,0.3); }
.sidebar-cat-count { font-size: 0.7rem; background: var(--bg2); color: var(--muted); padding: 2px 7px; border-radius: 100px; border: 1px solid var(--border); flex-shrink: 0; }
.product-list-main { min-width: 0; }
.products-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.topbar-count { font-size: 0.84rem; color: var(--muted); }
.topbar-sort-form { display: none; }
.topbar-sort-select { background: var(--bg3); border: 1px solid var(--border); color: var(--white); padding: 8px 12px; border-radius: 8px; font-size: 0.84rem; cursor: pointer; outline: none; }
.no-products { text-align: center; padding: 5rem 2rem; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.no-products-icon { font-size: 3rem; margin-bottom: 1rem; }
.no-products h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.no-products p { color: var(--muted); margin-bottom: 1.5rem; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; border-radius: 8px; padding: 0 12px; background: var(--bg3); border: 1px solid var(--border); color: var(--silver); font-size: 0.84rem; transition: var(--tr); cursor: pointer; }
.page-btn:hover { border-color: var(--blue); color: var(--blue-lt); }
.page-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* =============================================
   PRODUCT DETAIL PAGE
============================================= */
.product-detail-sec { background: var(--bg); padding: 2rem 0 6rem; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 4rem; align-items: start; }
.detail-images { display: flex; flex-direction: column; gap: 1rem; }
.detail-main-img { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); height: 460px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.detail-main-img img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; }
.detail-emoji { font-size: 8rem; line-height: 1; }
.detail-discount-badge { position: absolute; top: 14px; right: 14px; background: var(--orange); color: #fff; font-size: 0.8rem; font-weight: 700; padding: 4px 12px; border-radius: 100px; }
.detail-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.detail-thumb { width: 72px; height: 72px; border-radius: 10px; border: 2px solid var(--border); overflow: hidden; cursor: pointer; transition: var(--tr); background: var(--bg2); flex-shrink: 0; }
.detail-thumb:hover { border-color: var(--blue-lt); }
.detail-thumb.active { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(247,91,49,0.3); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-cat { font-size: 0.8rem; font-weight: 600; color: var(--blue-lt); margin-bottom: 0.5rem; }
.detail-name { font-size: clamp(1.5rem,3vw,2.2rem); margin-bottom: 1rem; line-height: 1.2; }
.detail-rating-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.detail-stars { display: flex; align-items: center; gap: 3px; }
.detail-stars .star-filled, .detail-stars .star-empty { font-size: 1.1rem; }
.detail-avg { font-size: 0.85rem; font-weight: 600; color: var(--silver); margin-left: 4px; }
.detail-review-link { font-size: 0.85rem; color: var(--blue-lt); }
.detail-review-link:hover { text-decoration: underline; }
.detail-badge { position: static !important; }
.detail-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 1rem; flex-wrap: wrap; }
.detail-price { font-size: 2.1rem; font-weight: 700; }
.detail-orig { font-size: 1rem; color: var(--muted); text-decoration: line-through; }
.detail-save { font-size: 0.82rem; background: rgba(30,158,87,0.12); color: #15803d; padding: 2px 8px; border-radius: 100px; border: 1px solid rgba(30,158,87,0.25); }
.detail-material-row { display: flex; align-items: center; gap: 10px; margin-bottom: 1.2rem; }
.detail-material-label { font-size: 0.84rem; color: var(--muted); }
.detail-mat-tag { position: static !important; font-size: 0.75rem !important; }
.detail-desc { font-size: 0.92rem; color: var(--silver); line-height: 1.75; margin-bottom: 1.5rem; }
.detail-colour-picker { margin-bottom: 1.3rem; }
.detail-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--silver); margin-bottom: 10px; }
.colour-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.colour-dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(12,11,11,0.15); cursor: pointer; transition: var(--tr); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); }
.colour-dot:hover { transform: scale(1.2); border-color: rgba(12,11,11,0.5); }
.colour-active { border-color: var(--white) !important; box-shadow: 0 0 0 3px rgba(247,91,49,0.45); transform: scale(1.15); }
.detail-no-colours { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.detail-no-colours-box { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; font-size: 0.84rem; color: var(--silver); }
.detail-qty-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.detail-qty { display: flex; align-items: center; gap: 10px; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 4px 8px; }
.detail-actions { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.detail-add-btn { flex: 1; justify-content: center; padding: 15px 24px; font-size: 0.92rem; min-width: 160px; }
.detail-wish-btn { padding: 15px 18px; }
.detail-guarantees { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.guarantee-item { display: flex; align-items: center; gap: 8px; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; font-size: 0.78rem; color: var(--silver); }

/* Tabs */
.detail-tabs { margin-bottom: 4rem; }
.tab-nav { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 2rem; overflow-x: auto; }
.tab-btn { padding: 14px 24px; background: none; border: none; color: var(--muted); font-family: var(--ui); font-size: 0.86rem; font-weight: 600; cursor: pointer; transition: var(--tr); position: relative; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.tab-btn::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: var(--tr); }
.tab-btn:hover, .tab-btn.active { color: var(--white); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-badge { background: var(--blue); color: #fff; font-size: 0.65rem; padding: 2px 6px; border-radius: 100px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.tab-empty p { margin-bottom: 1.5rem; }
.specs-table { max-width: 620px; }
.spec-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.spec-row:last-child { border-bottom: none; }
.spec-label { color: var(--muted); min-width: 150px; }
.spec-val { color: var(--white); font-weight: 500; text-align: right; }
.reviews-summary { display: flex; gap: 3rem; margin-bottom: 2.5rem; padding: 2rem; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); flex-wrap: wrap; align-items: center; }
.review-big-score { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 100px; }
.big-score-num { font-size: 3rem; line-height: 1; }
.big-score-stars { display: flex; gap: 3px; }
.big-score-count { font-size: 0.78rem; color: var(--muted); }
.review-breakdown { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.breakdown-row { display: flex; align-items: center; gap: 10px; }
.breakdown-label { font-size: 0.82rem; color: var(--muted); min-width: 24px; text-align: right; }
.breakdown-bar-wrap { flex: 1; height: 8px; background: rgba(12,11,11,0.08); border-radius: 100px; overflow: hidden; }
.breakdown-bar { height: 100%; background: #E0A100; border-radius: 100px; }
.breakdown-count { font-size: 0.78rem; color: var(--muted); min-width: 20px; }
.reviews-list { display: flex; flex-direction: column; gap: 1.2rem; }
.review-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.review-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 0.75rem; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-dk)); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; flex-shrink: 0; }
.review-meta { flex: 1; }
.review-meta strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.review-city { font-size: 0.75rem; color: var(--muted); margin-bottom: 4px; display: block; }
.review-stars { display: flex; gap: 2px; }
.review-date { font-size: 0.75rem; color: var(--muted); flex-shrink: 0; }
.review-title { font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; }
.review-body { font-size: 0.88rem; color: var(--silver); line-height: 1.68; margin: 0; }
.review-form { max-width: 640px; }
.review-form-title { font-size: 1.3rem; margin-bottom: 1.5rem; }
.star-picker { display: flex; flex-direction: row-reverse; gap: 4px; margin-bottom: 0.5rem; }
.star-picker input[type="radio"] { display: none; }
.star-picker label { font-size: 2rem; color: #D9D2CC; cursor: pointer; transition: var(--tr); line-height: 1; }
.star-picker label:hover, .star-picker label:hover ~ label, .star-picker input:checked ~ label { color: #E0A100; }
.review-note { font-size: 0.78rem; color: var(--muted); margin-top: 1rem; }
.related-section { margin-top: 4rem; }
.related-title { font-size: 1.7rem; margin-bottom: 2rem; }

/* =============================================
   HOME POPUP
============================================= */
.home-popup-overlay { position: fixed; inset: 0; z-index: 5000; background: rgba(12,11,11,0.65); display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; backdrop-filter: blur(6px); }
.home-popup-overlay.active { opacity: 1; pointer-events: all; }
.home-popup { position: relative; width: min(440px,100%); background: var(--bg); border: 1px solid rgba(247,91,49,0.35); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,0.5); transform: scale(0.92) translateY(10px); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); }
.home-popup-overlay.active .home-popup { transform: scale(1) translateY(0); }
.home-popup-close { position: absolute; top: 10px; right: 10px; z-index: 5; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--tr); }
.home-popup-close:hover { background: rgba(230,57,70,0.85); }
.home-popup-track { display: flex; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); }
.home-popup-slide { min-width: 100%; display: flex; flex-direction: column; }
.home-popup-img { display: block; width: 100%; height: 260px; overflow: hidden; background: var(--bg2); }
.home-popup-img img { width: 100%; height: 100%; object-fit: cover; }
.home-popup-body { padding: 1.5rem; text-align: center; }
.home-popup-body h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.home-popup-body p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.2rem; }
.home-popup-btn { width: 100%; }
.home-popup-nav { position: absolute; top: 120px; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--tr); z-index: 4; }
.home-popup-nav:hover { background: var(--blue); }
.home-popup-prev { left: 10px; }
.home-popup-next { right: 10px; }
.home-popup-dots { display: flex; justify-content: center; gap: 6px; padding-bottom: 1rem; }
.home-popup-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(12,11,11,0.2); cursor: pointer; transition: var(--tr); }
.home-popup-dots span.active { background: var(--blue); width: 20px; border-radius: 100px; }

/* =============================================
   CUSTOM SELECT
============================================= */
.custom-select { position: relative; }
.custom-select-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; background: var(--bg); border: 1px solid var(--border); color: var(--white); padding: 11px 13px; border-radius: 10px; font-family: var(--ui); font-size: 0.86rem; cursor: pointer; text-align: left; transition: var(--tr); }
.custom-select-trigger:hover { border-color: rgba(247,91,49,0.5); }
.custom-select.open .custom-select-trigger { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(247,91,49,0.15); }
.custom-select-chevron { flex-shrink: 0; color: var(--muted); transition: transform 0.2s ease; }
.custom-select.open .custom-select-chevron { transform: rotate(180deg); }
.custom-select-dropdown { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 16px 48px rgba(12,11,11,0.18); z-index: 50; opacity: 0; pointer-events: none; transform: translateY(-6px); transition: all 0.18s ease; overflow: hidden; }
.custom-select.open .custom-select-dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.custom-select-list { list-style: none; margin: 0; padding: 6px; max-height: 240px; overflow-y: auto; }
.custom-select-option { padding: 10px 12px; border-radius: 7px; font-size: 0.86rem; color: var(--silver); cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
.custom-select-option:hover { background: rgba(247,91,49,0.1); color: var(--white); }
.custom-select-option.selected { background: rgba(247,91,49,0.16); color: var(--blue-lt); font-weight: 600; }
.custom-select-list::-webkit-scrollbar { width: 6px; }
.custom-select-list::-webkit-scrollbar-thumb { background: rgba(12,11,11,0.2); border-radius: 100px; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .detail-main-img { height: 340px; }
  .product-list-layout { grid-template-columns: 220px 1fr; }
}
@media (max-width: 860px) {
  .jw-hero-wrap { grid-template-columns: 1fr; }
  .jw-arch { order: -1; width: min(240px,70%); }
}
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .jw-hero { padding: 2.5rem 1.25rem 3rem; }
  .jw-hero-actions .btn-primary, .jw-hero-actions .btn-ghost { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cart-sidebar { width: 100%; right: -100%; }
  .cta-inner { text-align: center; flex-direction: column; }
  .product-list-layout { grid-template-columns: 1fr; }
  .product-sidebar { display: none; }
  .topbar-sort-form { display: block; }
  .detail-guarantees { grid-template-columns: 1fr; }
  .reviews-summary { flex-direction: column; gap: 1.5rem; }
  .tab-btn { padding: 12px 14px; font-size: 0.8rem; }
  .detail-price { font-size: 1.7rem; }
  .confirm-next-steps { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .product-img { height: 170px; }
  .jw-cats { grid-template-columns: 1fr 1fr; }
  .home-popup-img { height: 200px; }
}