/* UrbanThread — Fashion Streetwear Storefront
   Design: Bold, energetic, Beyoung-inspired but original.
   Fonts: Bricolage Grotesque (display) + Outfit (body) + JetBrains Mono (accents) */

:root {
  --ink: #0f0f10;
  --ink-2: #1e1e21;
  --paper: #ffffff;
  --paper-2: #faf7f2;
  --paper-3: #f2ede4;
  --line: #e6e2d9;
  --muted: #6b6a66;
  --accent: #ff385c;       /* coral hot */
  --accent-2: #ffd166;     /* mustard */
  --accent-3: #7dd3c0;     /* mint */
  --accent-4: #4c6ef5;     /* electric */
  --success: #22c55e;
  --danger: #ef4444;
  --radius: 6px;
  --shadow: 0 6px 20px rgba(15,15,16,.06);
  --shadow-lg: 0 30px 60px -20px rgba(15,15,16,.18);
  --grid-gap: clamp(14px, 2vw, 22px);
  --container-x: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

h1,h2,h3,h4 { font-family: 'Bricolage Grotesque', 'Outfit', sans-serif; font-weight: 700; letter-spacing: -.02em; margin: 0; line-height: 1.05; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 600; }

.eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }

.container { padding: 0 var(--container-x); max-width: 1560px; margin: 0 auto; }

/* ---------- ANNOUNCEMENT ---------- */
.announcement {
  background: var(--ink); color: var(--paper);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  padding: 9px 20px; text-align: center; overflow: hidden;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 18px;
  padding: 14px var(--container-x);
}
.site-header .main-nav { display: flex; gap: 26px; justify-self: center; }
.site-header .main-nav a {
  font-family: 'Outfit', sans-serif;
  font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.site-header .main-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 0; height: 2px; background: var(--accent);
  transition: all .35s cubic-bezier(.4,0,.2,1); transform: translateX(-50%);
}
.site-header .main-nav a:hover::after { width: 100%; }
.brand {
  font-family: 'Bricolage Grotesque', serif; font-weight: 800; font-size: 24px;
  letter-spacing: -.03em; display: flex; align-items: center; gap: 2px;
}
.brand span { color: var(--accent); }
.brand-img { max-height: 42px; max-width: 180px; width: auto; height: auto; display: block; }
.header-actions { display: flex; align-items: center; gap: 14px; justify-self: end; }
.header-actions a { position: relative; padding: 8px; font-size: 14px; }
.header-actions .icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s;
}
.header-actions .icon-btn:hover { background: var(--paper-3); }
.header-actions .badge {
  position: absolute; top: 2px; right: 2px;
  background: var(--accent); color: #fff;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
  display: inline-flex; align-items: center; justify-content: center;
}
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--paper); padding: 9px 14px; font-family: 'JetBrains Mono'; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }

/* ---------- HERO ---------- */
.hero { position: relative; height: clamp(460px, 78vh, 780px); overflow: hidden; background: var(--ink); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s cubic-bezier(.4,0,.2,1); }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,.5) 100%); }
.hero-content { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 var(--container-x); z-index: 3; color: #fff; }
.hero-content .inner { max-width: 620px; opacity: 0; transform: translateY(20px); animation: rise .8s .3s forwards; }
.hero-slide.active .hero-content .inner { animation: rise .8s .3s forwards; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
.hero-content .eyebrow { color: rgba(255,255,255,.75); }
.hero-content h1 { color: #fff; margin-bottom: 20px; font-size: clamp(2.6rem, 6vw, 5.4rem); }
.hero-content p { font-size: 1.05rem; max-width: 520px; margin: 0 0 30px; color: rgba(255,255,255,.85); }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 4; }
.hero-dot { width: 34px; height: 3px; background: rgba(255,255,255,.35); cursor: pointer; }
.hero-dot.active { background: #fff; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.15); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.3); color: #fff; z-index: 4; font-size: 22px; }
.hero-arrow.prev { left: 20px; } .hero-arrow.next { right: 20px; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; background: var(--ink); color: #fff; border: none; font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; transition: all .3s cubic-bezier(.4,0,.2,1); position: relative; overflow: hidden; }
.btn:hover { background: var(--accent); transform: translateY(-2px); }
.btn.btn-accent { background: var(--accent); }
.btn.btn-accent:hover { background: var(--ink); }
.btn.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.btn-outline:hover { background: var(--ink); color: #fff; }
.btn.btn-white { background: #fff; color: var(--ink); }
.btn.btn-white:hover { background: var(--accent); color: #fff; }
.btn.btn-sm { padding: 10px 20px; font-size: 12px; }
.btn.btn-block { display: flex; justify-content: center; width: 100%; }

/* ---------- MARQUEE ---------- */
.marquee { background: var(--accent-2); color: var(--ink); padding: 12px 0; overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.marquee-track { display: flex; gap: 60px; white-space: nowrap; animation: marquee 30s linear infinite; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .15em; text-transform: uppercase; }
.marquee-track span { display: inline-flex; align-items: center; gap: 60px; }
.marquee-track .dot { color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(50px, 8vw, 100px) 0; }
.section-tight { padding: clamp(40px, 5vw, 70px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; gap: 30px; flex-wrap: wrap; }
.section-head h2 { margin: 6px 0 0; }
.section-head .link-arrow { font-family: 'JetBrains Mono'; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.section-head .link-arrow:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- CATEGORY GRID ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--grid-gap); }
.cat-card { position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 3/4; background: var(--paper-3); transition: transform .4s cubic-bezier(.4,0,.2,1); }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.4,0,.2,1); }
.cat-card:hover img { transform: scale(1.08); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 60%); }
.cat-card .label { position: absolute; bottom: 20px; left: 20px; right: 20px; color: #fff; z-index: 2; font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: 20px; }
.cat-card .label small { display: block; font-family: 'JetBrains Mono'; font-size: 10px; letter-spacing: .18em; opacity: .8; font-weight: 400; margin-top: 4px; }

/* ---------- PRODUCT GRID ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--grid-gap); }
.product-card { position: relative; background: var(--paper); transition: transform .4s cubic-bezier(.4,0,.2,1); }
.product-card:hover { transform: translateY(-4px); }
.product-card .imgwrap { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--paper-3); border-radius: 4px; }
.product-card .imgwrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.4,0,.2,1); }
.product-card:hover .imgwrap img { transform: scale(1.06); }
.product-card .badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.product-card .badge-tag { background: var(--ink); color: #fff; font-family: 'JetBrains Mono'; font-size: 10px; letter-spacing: .1em; padding: 4px 8px; }
.product-card .badge-tag.sale { background: var(--accent); }
.product-card .badge-tag.new { background: var(--accent-4); }
.product-card .wish-btn { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.9); border: none; z-index: 2; display: flex; align-items: center; justify-content: center; transition: all .25s; font-size: 16px; }
.product-card .wish-btn:hover { background: var(--accent); color: #fff; }
.product-card .wish-btn.on { background: var(--accent); color: #fff; }
.product-card .quick-add { position: absolute; left: 12px; right: 12px; bottom: 12px; opacity: 0; transform: translateY(10px); transition: all .3s; }
.product-card:hover .quick-add { opacity: 1; transform: translateY(0); }
.product-card .meta { padding: 14px 4px 0; }
.product-card .meta .cat { font-family: 'JetBrains Mono'; font-size: 10px; letter-spacing: .15em; color: var(--muted); text-transform: uppercase; }
.product-card .meta .name { font-weight: 500; font-size: 15px; margin: 6px 0; line-height: 1.3; display: block; }
.product-card .meta .name:hover { color: var(--accent); }
.product-card .meta .price { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.product-card .meta .price .old { color: var(--muted); text-decoration: line-through; font-weight: 400; font-size: 13px; }
.product-card .meta .price .off { color: var(--accent); font-family: 'JetBrains Mono'; font-size: 11px; font-weight: 600; }
.product-card .meta .rating { font-size: 12px; color: var(--muted); margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.product-card .meta .rating .stars { color: #f5b400; }

/* ---------- CAROUSEL ---------- */
.carousel-wrap { position: relative; }
.carousel { display: flex; gap: var(--grid-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.carousel::-webkit-scrollbar { display: none; }
.carousel .product-card { flex: 0 0 260px; scroll-snap-align: start; }
@media (min-width: 900px) { .carousel .product-card { flex: 0 0 280px; } }
.carousel-btn { position: absolute; top: 42%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line); z-index: 5; box-shadow: var(--shadow); font-size: 16px; transition: all .25s; }
.carousel-btn.prev { left: -14px; } .carousel-btn.next { right: -14px; }
.carousel-btn:hover { background: var(--ink); color: #fff; transform: translateY(-50%) scale(1.08); }
@media (max-width: 780px) { .carousel-btn { display: none; } }

/* ---------- OFFER BANNER ---------- */
.offer-banner { position: relative; padding: clamp(50px, 8vw, 90px) var(--container-x); background-size: cover; background-position: center; color: #fff; overflow: hidden; }
.offer-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,.2)); }
.offer-banner .inner { position: relative; z-index: 2; max-width: 560px; }
.offer-banner h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: 14px; }
.offer-banner p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 24px; }

/* ---------- FEATURES ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--grid-gap); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; }
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 0 8px; }
.feature .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-3); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.feature h4 { font-family: 'Outfit'; font-weight: 600; font-size: 15px; margin: 0 0 4px; }
.feature p { color: var(--muted); font-size: 13px; margin: 0; }

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--paper-2); padding: clamp(60px, 8vw, 100px) 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--grid-gap); }
.testimonial { background: #fff; padding: 30px; border-radius: var(--radius); }
.testimonial .stars { color: #f5b400; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial p { font-size: 15px; color: var(--ink-2); font-style: italic; margin: 0 0 20px; }
.testimonial .who { font-family: 'JetBrains Mono'; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }

/* ---------- NEWSLETTER ---------- */
.newsletter-sec { background: var(--ink); color: #fff; padding: clamp(60px, 8vw, 100px) 0; text-align: center; }
.newsletter-sec h2 { color: #fff; margin-bottom: 12px; }
.newsletter-sec p { color: rgba(255,255,255,.7); margin: 0 0 30px; max-width: 500px; margin-left: auto; margin-right: auto; }
.newsletter-form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter-form input { flex: 1; min-width: 220px; padding: 15px 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 14px; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form button { background: var(--accent); color: #fff; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 60px var(--container-x) 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-grid .col h4 { color: #fff; font-family: 'JetBrains Mono'; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; }
.footer-grid .col a { display: block; color: rgba(255,255,255,.65); padding: 6px 0; font-size: 14px; }
.footer-grid .col a:hover { color: var(--accent); }
.footer-brand { font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: 28px; color: #fff; margin-bottom: 16px; }
.footer-brand span { color: var(--accent); }
.footer-about { max-width: 380px; font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; }
.socials a:hover { background: var(--accent); color: #fff; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; font-family: 'JetBrains Mono'; font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.5); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- SHOP PAGE ---------- */
.shop-hero { height: 320px; background-size: cover; background-position: center; display: flex; align-items: center; padding: 0 var(--container-x); color: #fff; position: relative; }
.shop-hero > div { max-width: 720px; animation: rise .8s .1s both; }
.shop-hero .eyebrow { color: rgba(255,255,255,.7); }
.shop-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 10px; }
.shop-hero p { color: rgba(255,255,255,.85); max-width: 520px; }
@media (max-width: 700px) { .shop-hero { height: 240px; } }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 0 var(--container-x) 80px; }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; } }
.filter-sidebar { position: sticky; top: 90px; align-self: start; }
.filter-sidebar h4 { font-family: 'JetBrains Mono'; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; margin: 24px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.filter-sidebar a { display: block; padding: 6px 0; color: var(--ink-2); font-size: 14px; }
.filter-sidebar a.active, .filter-sidebar a:hover { color: var(--accent); font-weight: 500; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; padding-bottom: 15px; border-bottom: 1px solid var(--line); flex-wrap: wrap; gap: 10px; }
.shop-toolbar select { padding: 9px 14px; border: 1px solid var(--line); background: #fff; font-size: 13px; }

/* ---------- PRODUCT DETAILS ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; padding: 40px var(--container-x); }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 24px; padding: 20px var(--container-x); } }
.pdp-gallery { display: grid; grid-template-columns: 80px 1fr; gap: 16px; }
.pdp-gallery .thumbs { display: flex; flex-direction: column; gap: 10px; }
.pdp-gallery .thumbs img { width: 80px; height: 100px; object-fit: cover; cursor: pointer; opacity: .6; border: 1.5px solid transparent; }
.pdp-gallery .thumbs img.active { opacity: 1; border-color: var(--ink); }
.pdp-gallery .main img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
@media (max-width: 700px) { .pdp-gallery { grid-template-columns: 1fr; } .pdp-gallery .thumbs { flex-direction: row; overflow-x: auto; } }
.pdp-info .cat-tag { font-family: 'JetBrains Mono'; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.pdp-info h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 8px 0 6px; }
.pdp-info .rating { display: flex; align-items: center; gap: 6px; margin: 10px 0 16px; font-size: 13px; color: var(--muted); }
.pdp-info .rating .stars { color: #f5b400; }
.pdp-price { display: flex; align-items: center; gap: 14px; font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: 32px; margin: 12px 0 8px; }
.pdp-price .old { font-size: 20px; color: var(--muted); text-decoration: line-through; font-weight: 500; }
.pdp-price .off { font-size: 13px; font-family: 'JetBrains Mono'; background: var(--accent); color: #fff; padding: 3px 10px; }
.pdp-price small { font-family: 'Outfit'; font-size: 12px; color: var(--muted); font-weight: 400; }
.opt-group { margin: 24px 0; }
.opt-group h5 { font-family: 'JetBrains Mono'; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 10px; color: var(--muted); }
.opt-group h5 b { color: var(--ink); font-weight: 600; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { padding: 10px 18px; border: 1.5px solid var(--line); background: #fff; font-size: 13px; font-weight: 500; cursor: pointer; }
.opt.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.color-opt { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; padding: 0; }
.color-opt.active { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.05); }
.qty-input { display: inline-flex; align-items: center; border: 1.5px solid var(--line); }
.qty-input button { background: transparent; border: none; padding: 10px 14px; font-size: 16px; }
.qty-input input { width: 50px; text-align: center; border: none; padding: 10px 0; font-size: 14px; }
.pdp-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.pdp-actions .btn { flex: 1; min-width: 180px; justify-content: center; }
.pdp-desc { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.7; color: var(--ink-2); }

/* ---------- CART ---------- */
.cart-wrap { padding: 40px var(--container-x) 80px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
@media (max-width: 900px) { .cart-wrap { grid-template-columns: 1fr; } }
.cart-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 100px; height: 130px; object-fit: cover; }
.cart-item .info h4 { font-weight: 500; font-size: 15px; }
.cart-item .info small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.cart-item .price-col { text-align: right; font-weight: 600; }
.cart-item .remove { background: none; border: none; color: var(--muted); font-size: 12px; padding: 6px 0; text-decoration: underline; }
.cart-summary { background: var(--paper-2); padding: 30px; border-radius: var(--radius); position: sticky; top: 100px; align-self: start; }
.cart-summary h3 { font-family: 'Bricolage Grotesque'; font-size: 22px; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; }
.summary-row.total { font-weight: 700; font-size: 18px; padding-top: 16px; margin-top: 8px; border-top: 1.5px solid var(--ink); }
.coupon-row { display: flex; gap: 8px; margin: 18px 0; }
.coupon-row input { flex: 1; padding: 12px; border: 1px solid var(--line); }
.coupon-row button { padding: 12px 20px; background: var(--ink); color: #fff; border: none; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- CHECKOUT ---------- */
.checkout-wrap { padding: 40px var(--container-x) 80px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
@media (max-width: 900px) { .checkout-wrap { grid-template-columns: 1fr; } }
.co-form { display: grid; gap: 14px; }
.co-form h3 { font-family: 'Bricolage Grotesque'; font-size: 22px; margin-bottom: 10px; }
.co-form label { font-size: 12px; font-family: 'JetBrains Mono'; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.co-form input, .co-form select, .co-form textarea { padding: 12px 14px; border: 1px solid var(--line); font-size: 14px; background: #fff; }
.co-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-methods label { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1.5px solid var(--line); margin-bottom: 8px; cursor: pointer; font-family: 'Outfit'; font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--ink); }
.pay-methods label.active { border-color: var(--ink); background: var(--paper-2); }

/* ---------- MISC ---------- */
.notice { padding: 14px 18px; background: var(--paper-2); border-left: 3px solid var(--accent); font-size: 14px; margin: 12px 0; }
.notice.success { border-color: var(--success); background: rgba(34,197,94,.08); }
.notice.error { border-color: var(--danger); background: rgba(239,68,68,.08); }
.chip { display: inline-block; padding: 4px 10px; background: var(--paper-3); font-family: 'JetBrains Mono'; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin: 4px 4px 0 0; }

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal { opacity: 0; transform: translateY(20px); animation: reveal .8s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

/* ---------- MOBILE ---------- */
.nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 195; opacity: 0; pointer-events: none; transition: opacity .3s; }
.nav-backdrop.show { opacity: 1; pointer-events: auto; }
body.nav-open { overflow: hidden; }

@media (max-width: 780px) {
  .site-header { grid-template-columns: auto 1fr auto; padding: 12px var(--container-x); gap: 8px; }
  .site-header .brand { font-size: 20px; }
  .site-header .brand-img { max-height: 34px; }
  .site-header .main-nav { position: fixed; top: 0; left: -100%; width: 84%; max-width: 340px; height: 100vh; background: #fff; flex-direction: column; padding: 76px 24px 24px; transition: left .35s cubic-bezier(.4,0,.2,1); gap: 8px; z-index: 200; box-shadow: var(--shadow-lg); align-items: stretch; overflow-y: auto; }
  .site-header .main-nav.is-open { left: 0; }
  .site-header .main-nav a { font-size: 16px; padding: 12px 0; border-bottom: 1px solid var(--paper-3); text-align: left; }
  .site-header .main-nav a::after { display: none; }
  .site-header .main-nav::before { content: '\2715'; position: absolute; top: 22px; right: 26px; font-size: 20px; color: var(--ink); cursor: pointer; font-family: sans-serif; padding: 8px; }
  .menu-toggle { display: inline-block; padding: 8px 12px; font-size: 11px; }
  .header-actions { gap: 4px; }
  .header-actions a[data-testid="account-link"] { display: none; }
  .header-actions .icon-btn { width: 38px; height: 38px; }
  .announcement { font-size: 10px; letter-spacing: .1em; padding: 8px 12px; }
  .hero { height: 62vh; min-height: 380px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 14px; }
  .hero-arrow { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card .meta .name { font-size: 13px; }
  .product-card .meta .price { font-size: 14px; }
  .product-card .quick-add { opacity: 1; transform: translateY(0); }
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 24px; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item .price-col { grid-column: 1 / -1; text-align: left; display: flex; justify-content: space-between; align-items: center; }
  .cart-summary { position: static; }
  .pdp { padding: 20px var(--container-x); gap: 20px; }
  .pdp-gallery { grid-template-columns: 1fr; }
  .pdp-gallery .thumbs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .pdp-gallery .thumbs img, .pdp-gallery .thumbs .thumb-video { width: 64px; height: 80px; flex-shrink: 0; }
  .pdp-info h1 { font-size: 1.5rem; }
  .pdp-price { font-size: 26px; }
  .pdp-price .old { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
  .container { padding: 0 var(--container-x); }
  .two-col-grid { gap: 24px; }
  .cd-cell { min-width: 72px; padding: 12px 6px; }
  .cd-cell span { font-size: 1.6rem; }
  .cd-cell small { font-size: 9px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input, .newsletter-form button { width: 100%; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .image-block-content { padding: 30px 24px; }
  .image-block-content h2 { font-size: 1.6rem; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .site-header .main-nav { width: 92%; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- STICKY MOBILE PDP BAR ---------- */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 16px; background: #fff; border-top: 1px solid var(--line); z-index: 60; gap: 8px; box-shadow: 0 -4px 20px rgba(0,0,0,.06); }
.sticky-cta .btn { flex: 1; justify-content: center; }
@media (max-width: 780px) { .sticky-cta.show { display: flex; } body.pdp-open { padding-bottom: 80px; } }

/* ---------- LOADER ---------- */
.spinner { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- NEW WIDGETS ---------- */
.image-block { position: relative; margin: 0; overflow: hidden; }
.image-block img { width: 100%; height: clamp(320px, 55vw, 640px); object-fit: cover; display: block; }
.image-block-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 40px 8vw; color: #fff; background: linear-gradient(to right, rgba(0,0,0,.5), transparent); }
.image-block-content h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 3.4rem); margin-bottom: 20px; }
.image-block-content .eyebrow { color: rgba(255,255,255,.75); }

.video-wrap { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.video-wrap video, .video-wrap img, .video-embed iframe { width: 100%; display: block; }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.two-col.reverse .two-col-grid { direction: rtl; }
.two-col.reverse .two-col-grid > * { direction: ltr; }
.two-col-img { overflow: hidden; border-radius: 8px; }
.two-col-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 1s cubic-bezier(.4,0,.2,1); }
.two-col:hover .two-col-img img { transform: scale(1.04); }
.two-col-copy h2 { margin-bottom: 16px; }
.two-col-copy p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
@media (max-width: 800px) { .two-col-grid { grid-template-columns: 1fr; } .two-col.reverse .two-col-grid { direction: ltr; } }

.countdown-sec { padding: clamp(60px, 8vw, 120px) var(--container-x); background-size: cover; background-position: center; color: #fff; }
.countdown-inner { text-align: center; }
.countdown-inner h2 { color: #fff; margin: 12px 0 30px; font-size: clamp(2rem, 5vw, 3.6rem); }
.countdown-timer { display: inline-flex; gap: 14px; margin: 0 0 30px; flex-wrap: wrap; justify-content: center; }
.cd-cell { min-width: 100px; padding: 20px 12px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.15); border-radius: 8px; }
.cd-cell span { display: block; font-family: 'Bricolage Grotesque'; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; color: #fff; }
.cd-cell small { display: block; font-family: 'JetBrains Mono'; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 4px; }

.insta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin-top: 30px; }
.insta-tile { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--paper-3); }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.4,0,.2,1); }
.insta-tile:hover img { transform: scale(1.08); }
.insta-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; opacity: 0; transition: opacity .3s; }
.insta-tile:hover .insta-overlay { opacity: 1; }

/* ---------- SCROLL REVEAL (IntersectionObserver-driven) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); animation: none !important; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- POLISH ---------- */
.product-card .imgwrap img { filter: saturate(1.02); }
.brand:hover span { animation: dotpulse .8s infinite; }
@keyframes dotpulse { 0%,100%{ opacity:1 } 50%{ opacity:.3 } }
.header-actions .icon-btn:hover i { color: var(--accent); }
.btn { position: relative; }
.btn::before { content: ''; position: absolute; inset: 0; background: var(--accent); opacity: 0; transition: opacity .3s; z-index: -1; }
.btn:hover::before { opacity: 1; }

/* PDP video thumbnail */
.pdp-gallery .thumbs .thumb-video { width: 80px; height: 100px; background: linear-gradient(135deg, var(--ink), #333); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; opacity: .8; border: 1.5px solid transparent; gap: 6px; }
.pdp-gallery .thumbs .thumb-video:hover, .pdp-gallery .thumbs .thumb-video.active { opacity: 1; border-color: var(--accent); }
.pdp-gallery .thumbs .thumb-video i { font-size: 22px; color: var(--accent); }
.pdp-gallery .thumbs .thumb-video small { font-family: 'JetBrains Mono'; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }

/* Floating Action Buttons (WhatsApp + Call) — bottom-right premium circles */
.floating-actions { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 12px; z-index: 90; }
.floating-actions .fab { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; text-decoration: none; box-shadow: 0 10px 24px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.08); transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s; position: relative; }
.floating-actions .fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 32px rgba(0,0,0,.22), 0 4px 10px rgba(0,0,0,.10); }
.floating-actions .fab.whatsapp { background: #25D366; }
.floating-actions .fab.whatsapp::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #25D366; opacity: .5; animation: fab-pulse 2.2s ease-out infinite; }
.floating-actions .fab.call { background: var(--ink, #111); }
@keyframes fab-pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.4); opacity: 0; } }
@media (max-width: 640px) { .floating-actions { right: 14px; bottom: 14px; gap: 10px; } .floating-actions .fab { width: 52px; height: 52px; font-size: 22px; } }
