/* ============ FineX ============ */
:root {
  --pink: #ff1f7a;
  --purple: #7b2ff7;
  --violet: #9013fe;
  --blue: #2f6bff;
  --yellow: #ffc93c;
  --ink: #1c2440;
  --muted: #7a839e;
  --bg: #f5f7fb;
  --card: #ffffff;
  --grad: linear-gradient(100deg, #ff1f7a 0%, #b62ee0 55%, #7b2ff7 100%);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 36, 64, .08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Segoe UI", system-ui, sans-serif; color: var(--ink); background: #fff; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.sec-head { text-align: center; margin-bottom: 34px; }
.sec-head h2 { font-size: 28px; font-weight: 700; }
.sec-head p { color: var(--muted); margin-top: 6px; font-size: 14px; }

.btn {
  display: inline-block; background: var(--ink); color: #fff; border-radius: 30px;
  padding: 10px 22px; font-size: 13px; font-weight: 600; letter-spacing: .4px;
  transition: .2s; text-align: center;
}
.btn:hover { background: var(--pink); transform: translateY(-1px); }
.btn.primary { background: var(--grad); }
.btn.big { padding: 14px 34px; font-size: 14px; }

/* ---------- Header ---------- */
.topbar {
  background: linear-gradient(90deg, #7ef29d, #0fd850); color: #083b16;
  text-align: center; font-size: 13px; padding: 8px 12px; font-weight: 600;
}
.topbar b { background: #ff1f7a; color: #fff; padding: 2px 8px; border-radius: 4px; margin-left: 8px; font-weight: 700; }
.header {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 4vw; position: sticky; top: 0; z-index: 50;
  background: var(--grad); color: #fff;
}
.logo { font-family: Georgia, serif; font-style: italic; font-size: 30px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.logo span { color: var(--yellow); }
.nav { display: flex; gap: 22px; font-size: 14px; font-weight: 600; }
.nav a { color: #ffffffd9; padding: 6px 2px; border-bottom: 2px solid transparent; transition: .2s; }
.nav a:hover, .nav a.on { color: #fff; border-color: var(--yellow); }
.header-icons { display: flex; align-items: center; gap: 12px; }
.hicon { font-size: 18px; color: #fff; position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #ffffff22; transition: .2s; }
.hicon:hover { background: #ffffff44; }
.cart-badge {
  position: absolute; top: -4px; right: -4px; background: var(--yellow); color: var(--ink);
  font-size: 11px; font-weight: 800; width: 18px; height: 18px; border-radius: 50%;
  display: none; place-items: center;
}
.menu-btn { display: none; font-size: 22px; color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background: var(--grad); color: #fff; position: relative; overflow: hidden;
  border-radius: 0 0 50% 50% / 0 0 8% 8%; padding: 60px 4vw 100px;
}
.hero-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.hero-art {
  flex: 1 1 380px; min-height: 280px; display: grid; place-items: center;
  font-size: 150px; filter: drop-shadow(0 25px 30px rgba(0,0,0,.35));
  animation: float 4s ease-in-out infinite;
}
.hero-art img { width: 100%; max-width: 440px; height: 360px; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 50px rgba(0,0,0,.35); }
@keyframes float { 50% { transform: translateY(-14px) rotate(-3deg); } }
.hero-copy { flex: 1 1 320px; }
.hero-copy .price-line { font-size: 52px; font-weight: 800; color: var(--yellow); line-height: 1; }
.hero-copy .price-line s { color: #ffffff88; font-size: 34px; font-weight: 600; margin-left: 10px; }
.hero-copy h1 { font-size: 40px; margin: 6px 0 14px; }
.hero-copy p { color: #ffffffcc; font-size: 14px; max-width: 420px; margin-bottom: 24px; }
.hero .btn { background: var(--ink); }
.hero .btn:hover { background: #000; }

/* ---------- Perks ---------- */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; padding: 34px 0; }
.perk { display: flex; gap: 14px; align-items: center; }
.perk .ic { font-size: 26px; width: 52px; height: 52px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; }
.perk b { display: block; font-size: 14px; }
.perk small { color: var(--muted); }

/* ---------- Category tiles ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.cat-tile { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--card); transition: .25s; }
.cat-tile:hover { transform: translateY(-6px); }
.cat-tile .art { height: 210px; display: grid; place-items: center; font-size: 84px; color: #fff; }
.cat-tile .meta { display: flex; padding: 14px; justify-content: space-around; text-align: center; }
.cat-tile .meta b { display: block; font-size: 18px; }
.cat-tile .meta small { color: var(--muted); font-size: 11px; }
.cat-tile .label { text-align: center; font-weight: 700; padding: 0 0 6px; font-size: 15px; }

/* ---------- Product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.pcard { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: relative; transition: .25s; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(28,36,64,.14); }
.pbadge { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 10px; font-weight: 800; letter-spacing: .5px; color: #fff; background: var(--pink); padding: 4px 10px; border-radius: 20px; }
.pbadge.new { background: var(--blue); }
.pbadge.hot { background: #ff6b00; }
.pbadge.super-sale { background: var(--grad); }
.pbadge.limited { background: var(--ink); }
.wish-btn { position: absolute; top: 10px; right: 10px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #cbd2e0; font-size: 15px; box-shadow: 0 4px 10px rgba(0,0,0,.08); transition: .2s; }
.wish-btn.active, .wish-btn:hover { color: var(--pink); }
.pimg { height: 230px; display: grid; place-items: center; font-size: 74px; background-size: cover; background-position: center; }
.pbody { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pbrand { font-size: 10px; letter-spacing: 1.4px; color: var(--muted); font-weight: 700; }
.pname { font-size: 14px; font-weight: 600; min-height: 34px; }
.pname:hover { color: var(--pink); }
.stars { color: var(--yellow); font-size: 12px; letter-spacing: 1px; }
.prating small { color: var(--muted); }
.pprice b { font-size: 18px; }
.pprice s { color: var(--muted); font-size: 13px; margin-left: 8px; }
.pcolors { display: flex; gap: 5px; margin: 2px 0 8px; }
.pcolors i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #e2e6f0; }
.add-btn { margin-top: auto; }

/* ---------- Tabs ---------- */
.tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; }
.tab { padding: 8px 24px; border-radius: 30px; font-weight: 600; font-size: 13px; background: var(--bg); color: var(--muted); transition: .2s; }
.tab.on { background: var(--blue); color: #fff; }

/* ---------- Search banner ---------- */
.search-banner {
  background: linear-gradient(100deg, #ffc93c, #ff9f1a); border-radius: var(--radius);
  padding: 44px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  color: #4a2c00; flex-wrap: wrap;
}
.search-banner .edge { font-size: 84px; }
.search-banner img.edge { width: 130px; height: 150px; object-fit: cover; border-radius: 14px; box-shadow: 0 12px 24px rgba(0,0,0,.2); }
.search-banner h3 { font-size: 24px; margin-bottom: 14px; text-align: center; }
.search-banner form { display: flex; background: #fff; border-radius: 30px; overflow: hidden; width: min(420px, 100%); }
.search-banner input { flex: 1; border: none; outline: none; padding: 12px 18px; font-size: 14px; }
.search-banner button { padding: 0 18px; font-size: 17px; }

/* ---------- Category circles ---------- */
.circles { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.circle { text-align: center; transition: .2s; }
.circle:hover { transform: translateY(-5px); }
.circle .ball { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; font-size: 64px; color: #fff; box-shadow: var(--shadow); }
.circle b { display: block; margin-top: 12px; font-size: 14px; }

/* ---------- Brands ---------- */
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.brand { background: var(--card); border: 1px solid #edf0f7; border-radius: 10px; padding: 20px 10px; text-align: center; font-weight: 800; letter-spacing: 1px; font-size: 14px; transition: .2s; }
.brand:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.brand:nth-child(6n+1) { color: var(--pink); font-style: italic; }
.brand:nth-child(6n+2) { color: #16a34a; }
.brand:nth-child(6n+3) { color: var(--blue); font-style: italic; }
.brand:nth-child(6n+4) { color: var(--purple); }
.brand:nth-child(6n+5) { color: #ff6b00; }
.brand:nth-child(6n+6) { color: var(--ink); }

/* ---------- Lookbook ---------- */
.lookbook { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.look { border-radius: var(--radius); height: 300px; display: grid; place-items: center; font-size: 110px; position: relative; overflow: hidden; transition: .25s; }
.look:hover { transform: scale(1.02); }
.look .dot { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: #0fd8c9; border: 5px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { transform: scale(1.25); } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.quote { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; text-align: center; }
.quote .avatar { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; margin: 0 auto 12px; color: #fff; }
.quote b { display: block; }
.quote small { color: var(--muted); }
.quote p { font-size: 13px; color: var(--muted); margin: 12px 0; line-height: 1.6; }

/* ---------- Instagram ---------- */
.insta { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.insta a { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 38px; color: #fff; transition: .2s; }
.insta a:hover { transform: scale(1.1) rotate(4deg); }

/* ---------- Ticker ---------- */
.ticker { background: var(--bg); overflow: hidden; padding: 12px 0; white-space: nowrap; border-top: 1px solid #edf0f7; }
.ticker-track { display: inline-block; animation: slide 22s linear infinite; font-size: 13px; color: var(--muted); }
.ticker-track i { font-style: italic; font-weight: 700; color: var(--ink); margin: 0 30px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Newsletter + Footer ---------- */
.newsletter { background: linear-gradient(100deg, #2f6bff, #1e4fd6); color: #fff; text-align: center; padding: 54px 20px; }
.newsletter h3 { font-size: 22px; max-width: 460px; margin: 0 auto 22px; }
.newsletter form { display: flex; max-width: 440px; margin: 0 auto; background: #fff; border-radius: 30px; overflow: hidden; padding: 5px; }
.newsletter input { flex: 1; border: none; outline: none; padding: 10px 18px; font-size: 14px; }
.newsletter button { background: var(--ink); color: #fff; border-radius: 24px; padding: 10px 22px; font-weight: 700; font-size: 13px; }
.footer { background: #16204a; color: #b8c0dc; padding: 56px 4vw 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 34px; max-width: 1200px; margin: 0 auto; }
.footer-logo { font-size: 26px; }
.footer p { font-size: 13px; line-height: 1.7; margin: 12px 0; }
.footer h4 { color: #fff; margin-bottom: 14px; font-size: 14px; }
.footer a { display: block; font-size: 13px; margin-bottom: 9px; transition: .2s; }
.footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; font-size: 18px; }
.footer-bottom { max-width: 1200px; margin: 34px auto 0; border-top: 1px solid #ffffff1c; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 18px 0; font-size: 12px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 12px 26px; border-radius: 30px;
  font-size: 13px; font-weight: 600; opacity: 0; pointer-events: none; transition: .3s; z-index: 99;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Shop page ---------- */
.page-head { background: var(--grad); color: #fff; text-align: center; padding: 44px 20px; }
.page-head h1 { font-size: 32px; }
.page-head p { color: #ffffffcc; font-size: 13px; margin-top: 6px; }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: start; }
.filters { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; position: sticky; top: 90px; }
.filters h4 { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin: 18px 0 10px; color: var(--muted); }
.filters h4:first-child { margin-top: 0; }
.filters label { display: flex; gap: 8px; align-items: center; font-size: 14px; padding: 5px 0; cursor: pointer; }
.filters input[type="range"] { width: 100%; accent-color: var(--pink); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.shop-toolbar select, .shop-toolbar input[type="search"] { padding: 9px 14px; border: 1px solid #e2e6f0; border-radius: 8px; font-size: 13px; outline: none; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; font-size: 15px; grid-column: 1/-1; }

/* ---------- Product page ---------- */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.pd-gallery .main { border-radius: var(--radius); height: 420px; display: grid; place-items: center; font-size: 160px; box-shadow: var(--shadow); }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pd-thumbs div { width: 74px; height: 74px; border-radius: 10px; display: grid; place-items: center; font-size: 34px; cursor: pointer; border: 2px solid transparent; }
.pd-thumbs div.on { border-color: var(--pink); }
.pd-info .pbrand { font-size: 12px; }
.pd-info h1 { font-size: 30px; margin: 6px 0 10px; }
.pd-price { font-size: 30px; font-weight: 800; margin: 14px 0; }
.pd-price s { font-size: 19px; color: var(--muted); font-weight: 500; margin-left: 12px; }
.pd-desc { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.opt-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin: 16px 0 8px; }
.sizes { display: flex; gap: 8px; }
.size { width: 42px; height: 42px; border-radius: 8px; border: 1px solid #e2e6f0; display: grid; place-items: center; font-size: 13px; font-weight: 600; cursor: pointer; transition: .15s; }
.size.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pd-colors { display: flex; gap: 8px; }
.pd-colors i { width: 26px; height: 26px; border-radius: 50%; cursor: pointer; border: 3px solid #fff; box-shadow: 0 0 0 1px #e2e6f0; }
.qty-row { display: flex; align-items: center; gap: 16px; margin: 24px 0; flex-wrap: wrap; }
.qty { display: flex; align-items: center; border: 1px solid #e2e6f0; border-radius: 30px; overflow: hidden; }
.qty button { width: 40px; height: 42px; font-size: 17px; }
.qty span { width: 40px; text-align: center; font-weight: 700; }
.pd-meta { border-top: 1px solid #edf0f7; margin-top: 22px; padding-top: 16px; font-size: 13px; color: var(--muted); line-height: 2; }

/* ---------- Product page (Lumia-style extras) ---------- */
.hl { color: var(--blue); font-weight: 700; }
a.hl:hover { text-decoration: underline; }
.crumb-bar { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; padding-bottom: 4px; flex-wrap: wrap; gap: 8px; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--pink); }
.crumbs b { color: var(--ink); font-weight: 600; }
.prevnext { display: flex; gap: 16px; font-size: 13px; color: var(--muted); }
.prevnext a:hover { color: var(--pink); }

.vendor-tag { margin-left: auto; font-size: 12px; color: var(--muted); }
.vendor-tag a { color: var(--blue); font-weight: 700; }
.prating { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.avail { font-size: 13px; color: var(--muted); margin: 10px 0 4px; display: flex; align-items: center; gap: 10px; }
.avail .ok { color: #16a34a; }
.tax-note { color: var(--muted); display: block; margin: -8px 0 14px; }
.express-btn {
  display: block; width: 100%; background: linear-gradient(90deg, #16a34a, #22c55e); color: #fff;
  border-radius: 8px; padding: 14px; font-size: 14px; font-weight: 700; transition: .2s;
}
.express-btn:hover { filter: brightness(1.08); }
.express-note { font-size: 11.5px; color: var(--muted); margin: 8px 0 4px; line-height: 1.5; }
.meta-list { border-top: 1px solid #edf0f7; margin-top: 16px; padding-top: 14px; font-size: 13px; }
.meta-list div { padding: 3px 0; }
.meta-list span { color: var(--muted); }
.variant-thumbs { display: flex; gap: 10px; }
.vthumb { width: 62px; height: 78px; border-radius: 8px; display: grid; place-items: center; font-size: 30px; border: 2px solid transparent; transition: .15s; }
.vthumb.on, .vthumb:hover { border-color: var(--blue); }
.terms { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-top: 18px; cursor: pointer; }
.terms input { accent-color: var(--blue); }
.btn.yellow { background: var(--yellow); color: var(--ink); }
.btn.yellow:hover { background: #ffda6b; }
.wish-btn.inline { position: static; width: 44px; height: 44px; border: 1px solid #e2e6f0; box-shadow: none; }
.pickup { font-size: 13px; color: var(--muted); line-height: 1.7; border-top: 1px solid #edf0f7; padding-top: 16px; }
.pickup b { color: var(--ink); }
.mini-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: center; font-size: 11px; color: var(--muted); font-weight: 600; margin: 20px 0; border: 1px solid #edf0f7; border-radius: 10px; padding: 14px 6px; }
.pd-actions { display: flex; gap: 22px; font-size: 13px; color: var(--muted); border-top: 1px solid #edf0f7; padding-top: 14px; flex-wrap: wrap; }
.pd-actions a:hover { color: var(--pink); }
.safe-checkout { margin-top: 18px; background: var(--bg); border-radius: 10px; padding: 16px; text-align: center; font-size: 13px; }
.pay-icons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.pay-icons span { background: #fff; border: 1px solid #e2e6f0; border-radius: 6px; padding: 4px 10px; font-size: 11px; font-weight: 700; color: var(--ink); }
.share-icons { font-size: 17px; letter-spacing: 8px; }

/* Frequently bought together */
.fbt { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.fbt h3 { font-size: 20px; }
.fbt-sub { color: var(--muted); font-size: 13px; margin: 4px 0 20px; }
.fbt-items { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fbt-item { display: flex; align-items: center; gap: 12px; border: 1px solid #edf0f7; border-radius: 10px; padding: 12px 16px; flex: 1 1 260px; transition: .2s; }
.fbt-item.off { opacity: .45; }
.fbt-check { cursor: pointer; font-size: 12px; color: var(--muted); white-space: nowrap; }
.fbt-check input { accent-color: var(--blue); }
.fbt-thumb { width: 58px; height: 58px; border-radius: 8px; display: grid; place-items: center; font-size: 28px; flex: none; }
.fbt-nm b { display: block; font-size: 13px; }
.fbt-size { margin-top: 6px; padding: 4px 8px; border: 1px solid #e2e6f0; border-radius: 6px; font-size: 12px; }
.fbt-price { margin-left: auto; font-weight: 800; }
.fbt-plus { font-size: 22px; color: var(--muted); font-weight: 700; }
.fbt-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; flex-wrap: wrap; gap: 14px; }
.fbt-total { font-size: 15px; }
.fbt-total b { font-size: 22px; }
#fbt-add:disabled { opacity: .4; cursor: not-allowed; }

/* Product tabs */
.ptabs { display: flex; gap: 6px; border-bottom: 2px solid #edf0f7; margin-bottom: 26px; }
.ptab { padding: 12px 22px; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; transition: .2s; }
.ptab.on { color: var(--ink); border-color: var(--blue); }
.ptab-panel p { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 14px; }
.desc-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 26px; align-items: start; margin-bottom: 26px; }
.desc-art { border-radius: var(--radius); min-height: 240px; display: grid; place-items: center; font-size: 100px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec-table th, .spec-table td { border: 1px solid #edf0f7; padding: 12px 16px; text-align: left; }
.spec-table th { background: var(--bg); font-size: 12px; letter-spacing: .5px; }
.spec-table tr:nth-child(odd) td { background: #fafbfe; }
.ship-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.ship-cols h4 { margin-bottom: 10px; }
.pgrid.narrow { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); max-width: 760px; margin: 0 auto; }

/* Mini cart popup */
.mini-cart {
  position: fixed; left: 22px; bottom: 22px; z-index: 98; background: #fff; border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,.18); padding: 12px 16px; display: flex; gap: 12px; align-items: center;
  transform: translateY(140%); transition: .35s; max-width: 320px;
}
.mini-cart.show { transform: translateY(0); }
.mc-thumb { width: 52px; height: 52px; border-radius: 8px; display: grid; place-items: center; font-size: 26px; flex: none; }
.mini-cart b { font-size: 13px; display: block; }
.mini-cart small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.mini-cart button { color: var(--muted); font-size: 14px; align-self: flex-start; }

/* ---------- Cart / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1.8fr 1fr; gap: 30px; align-items: start; }
.cart-lines { display: flex; flex-direction: column; gap: 14px; }
.cline { display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 16px; align-items: center; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.cline .thumb { width: 84px; height: 84px; border-radius: 10px; display: grid; place-items: center; font-size: 38px; }
.cline .nm b { display: block; font-size: 14px; }
.cline .nm small { color: var(--muted); }
.cline .lp { font-weight: 800; }
.cline .rm { color: var(--muted); font-size: 18px; }
.cline .rm:hover { color: var(--pink); }
.summary { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; position: sticky; top: 90px; }
.summary h3 { margin-bottom: 18px; }
.srow { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; color: var(--muted); }
.srow.total { border-top: 1px solid #edf0f7; margin-top: 10px; padding-top: 14px; font-size: 18px; font-weight: 800; color: var(--ink); }
.summary .btn { width: 100%; margin-top: 18px; }
.chk-form { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.chk-form h3 { margin: 20px 0 14px; font-size: 16px; }
.chk-form h3:first-child { margin-top: 0; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chk-form input, .chk-form select { width: 100%; padding: 12px 14px; border: 1px solid #e2e6f0; border-radius: 8px; font-size: 14px; outline: none; margin-bottom: 14px; }
.chk-form input:focus { border-color: var(--purple); }
.pay-opts { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pay-opt { border: 2px solid #e2e6f0; border-radius: 10px; padding: 12px 18px; font-size: 13px; font-weight: 600; cursor: pointer; }
.pay-opt.on { border-color: var(--purple); background: #f6f0ff; }
.success { text-align: center; padding: 80px 20px; }
.success .big-ic { font-size: 84px; }
.success h1 { margin: 16px 0 8px; }
.success p { color: var(--muted); margin-bottom: 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { position: fixed; inset: 0 0 auto 0; top: 64px; background: var(--purple); flex-direction: column; padding: 20px; display: none; z-index: 49; }
  .nav.open { display: flex; }
  .menu-btn { display: block; }
  .shop-layout, .cart-layout, .pd { grid-template-columns: 1fr; }
  .filters { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy h1 { font-size: 30px; }
  .hero-copy .price-line { font-size: 40px; }
  .cline { grid-template-columns: 64px 1fr; grid-auto-rows: auto; }
  .cline .thumb { width: 64px; height: 64px; grid-row: span 2; }
  .desc-grid { grid-template-columns: 1fr; }
  .fbt-items { flex-direction: column; align-items: stretch; }
  .fbt-plus { text-align: center; }
}
