/* =========================================================================
   J B ENTERPRISE — Global Stylesheet
   Mobile-first, modern e-commerce UI.
   ========================================================================= */

:root {
    --bg:        #ffffff;
    --bg-soft:   #f6f7fb;
    --ink:       #14151a;
    --ink-soft:  #5b6070;
    --line:      #e7e9f0;
    --brand:     #6d28d9;   /* deep violet */
    --brand-dk:  #5b21b6;
    --accent:    #ff4d6d;   /* rose */
    --gold:      #f59e0b;
    --green:     #16a34a;
    --radius:    14px;
    --radius-lg: 22px;
    --shadow:    0 8px 30px rgba(20, 21, 26, .08);
    --shadow-sm: 0 2px 10px rgba(20, 21, 26, .06);
    --maxw:      1200px;
    --font:      'Poppins', system-ui, sans-serif;
    --serif:     'Playfair Display', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.page { min-height: 60vh; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--brand); color: #fff; font-weight: 600; font-size: 14px;
    padding: 11px 22px; border: none; border-radius: 999px; cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
    font-family: inherit; line-height: 1;
}
.btn:hover { background: var(--brand-dk); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(109,40,217,.28); }
.btn:active { transform: translateY(0); }
.btn--lg  { padding: 15px 30px; font-size: 15px; }
.btn--sm  { padding: 9px 16px; font-size: 13px; }
.btn--full{ width: 100%; }
.btn--ghost   { background: transparent; color: var(--brand); border: 1.5px solid var(--line); }
.btn--ghost:hover { background: var(--bg-soft); box-shadow: none; color: var(--brand-dk); }
.btn--outline { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; box-shadow: none; }

/* ---------- Flash ---------- */
.flash {
    background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0;
    padding: 12px 18px; border-radius: var(--radius); margin: 18px 0; font-size: 14px; font-weight: 500;
}

/* ---------- Topbar ---------- */
.topbar { background: linear-gradient(90deg, var(--brand), var(--accent)); color: #fff; font-size: 12.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar__loc { opacity: .9; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font-weight: 700; font-size: 15px;
    box-shadow: var(--shadow-sm);
}
.logo__text { font-weight: 700; font-size: 19px; letter-spacing: .3px; }
.logo__text em { font-style: normal; color: var(--brand); font-family: var(--serif); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); position: relative; padding: 4px 0; transition: color .2s; }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--brand); border-radius: 2px; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.cart-btn { position: relative; color: var(--ink); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; transition: background .2s; }
.cart-btn:hover { background: var(--bg-soft); }
.cart-badge { position: absolute; top: 2px; right: 2px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 400px at 80% -10%, #efe7ff, transparent), var(--bg); padding: 40px 0 20px; }
.hero__inner { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.hero__eyebrow { display: inline-block; background: #efe7ff; color: var(--brand-dk); font-weight: 600; font-size: 12.5px; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.hero__text h1 { font-family: var(--serif); font-size: clamp(30px, 6vw, 52px); line-height: 1.1; font-weight: 700; letter-spacing: -.5px; }
.hero__text h1 em { color: var(--brand); font-style: italic; }
.hero__text p { color: var(--ink-soft); font-size: 16px; margin: 18px 0 24px; max-width: 480px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust strong { font-size: 22px; }
.hero__trust span { font-size: 12.5px; color: var(--ink-soft); }

.hero__media { position: relative; }
.hero__media img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.hero__float { position: absolute; bottom: 18px; left: 18px; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow); }
.hero__float-badge { display: inline-block; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-bottom: 4px; }
.hero__float p { font-size: 13px; margin: 0; }
.hero__float strong { color: var(--brand); }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 40px auto; }
.cat { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat:hover img { transform: scale(1.08); }
.cat span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 18px; background: linear-gradient(0deg, rgba(0,0,0,.5), rgba(0,0,0,.1)); letter-spacing: .5px; }

/* ---------- Perks ---------- */
.perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 40px auto; background: var(--bg-soft); border-radius: var(--radius-lg); padding: 22px; }
.perk { display: flex; gap: 12px; align-items: center; }
.perk span { font-size: 26px; }
.perk strong { display: block; font-size: 14.5px; }
.perk p { font-size: 12.5px; color: var(--ink-soft); margin: 0; }

/* ---------- Sections ---------- */
.section { margin: 56px auto; }
.section__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.section__head h2 { font-size: clamp(21px, 4vw, 28px); font-weight: 700; letter-spacing: -.3px; }
.section__link { color: var(--brand); font-weight: 600; font-size: 14px; }

/* ---------- Product Grid & Card ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .25s ease, border-color .2s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { position: relative; display: block; aspect-ratio: 1/1; overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.06); }

.tag { position: absolute; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; color: #fff; }
.tag--best { top: 10px; left: 10px; background: var(--gold); }
.tag--new  { top: 10px; left: 10px; background: var(--brand); }
.tag--disc { top: 10px; right: 10px; background: var(--accent); }
.card__stock { position: absolute; bottom: 10px; left: 10px; background: rgba(20,21,26,.82); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }

.card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__cat { font-size: 11.5px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .5px; }
.card__title { font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.card__title a:hover { color: var(--brand); }
.card__rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.stars { color: var(--gold); letter-spacing: 1px; }
.card__reviews { color: var(--ink-soft); }
.card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.price { font-weight: 700; font-size: 16px; }
.price--lg { font-size: 28px; }
.mrp { color: var(--ink-soft); text-decoration: line-through; font-size: 13px; }
.off { color: var(--green); font-weight: 600; font-size: 12.5px; }
.off--lg { font-size: 15px; }
.card__body .btn { margin-top: auto; }

/* ---------- Promo ---------- */
.promo { background: linear-gradient(120deg, #1f1147, #6d28d9 60%, #ff4d6d); border-radius: var(--radius-lg); padding: 46px 30px; color: #fff; margin: 56px auto; position: relative; overflow: hidden; }
.promo::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background: rgba(255,255,255,.12); border-radius: 50%; }
.promo__text { position: relative; max-width: 560px; }
.promo__eyebrow { display: inline-block; background: rgba(255,255,255,.2); font-size: 12.5px; font-weight: 600; padding: 5px 13px; border-radius: 999px; margin-bottom: 14px; }
.promo__text h2 { font-family: var(--serif); font-size: clamp(24px, 5vw, 38px); line-height: 1.15; margin-bottom: 12px; }
.promo__text p { opacity: .92; margin-bottom: 22px; }
.promo .btn { background: #fff; color: var(--brand-dk); }
.promo .btn:hover { background: #f3f3f3; }

/* ---------- Listing ---------- */
.listing { margin: 26px auto 60px; }
.listing__head h1 { font-size: clamp(24px, 5vw, 34px); font-weight: 700; margin: 6px 0 2px; }
.listing__count { color: var(--ink-soft); font-size: 14px; }
.crumbs { font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; }
.crumbs a:hover { color: var(--brand); }

.toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin: 20px 0 14px; }
.toolbar__search { display: flex; gap: 8px; flex: 1; min-width: 220px; }
.toolbar__search input { flex: 1; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-family: inherit; font-size: 14px; }
.toolbar__search input:focus { outline: none; border-color: var(--brand); }
.toolbar__sort select { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-family: inherit; font-size: 14px; background: #fff; cursor: pointer; }
.toolbar__sort label { font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 26px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-soft); transition: .2s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.empty { text-align: center; padding: 60px 20px; }
.empty p { font-size: 18px; margin-bottom: 18px; color: var(--ink-soft); }

/* ---------- Product Detail ---------- */
.pdp { margin: 22px auto 40px; }
.pdp__grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 14px; }
.pdp__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); box-shadow: var(--shadow-sm); }
.pdp__img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.pdp__badge { top: 16px; left: 16px; font-size: 12px; }

.pdp__cat { text-transform: uppercase; letter-spacing: 1px; font-size: 12px; color: var(--ink-soft); }
.pdp__info h1 { font-size: clamp(23px, 5vw, 32px); font-weight: 700; margin: 6px 0 12px; line-height: 1.2; }
.pdp__rating { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 16px; }
.pdp__rating .stars { font-size: 16px; }
.pdp__reviews { color: var(--ink-soft); }
.pdp__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp__tax { color: var(--ink-soft); font-size: 12.5px; margin-top: 2px; }

.urgency { display: flex; flex-direction: column; gap: 8px; margin: 20px 0; }
.urgency__stock { background: #fff1f2; color: #be123c; font-weight: 600; font-size: 13.5px; padding: 8px 14px; border-radius: 10px; display: inline-block; width: fit-content; }
.urgency__stock--ok { background: #ecfdf5; color: var(--green); }
.urgency__view { color: var(--ink-soft); font-size: 13.5px; }

.pdp__desc { color: var(--ink-soft); margin: 4px 0 22px; }

.pdp__buy { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty__btn { width: 40px; height: 46px; border: none; background: #fff; font-size: 20px; cursor: pointer; color: var(--ink); transition: background .15s; }
.qty__btn:hover { background: var(--bg-soft); }
.qty input { width: 46px; text-align: center; border: none; font-family: inherit; font-size: 15px; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm .qty__btn { height: 36px; width: 34px; font-size: 16px; }
.qty--sm input { height: 36px; width: 38px; font-size: 14px; }
.pdp__buy .btn { flex: 1; min-width: 160px; }

.pdp__features { list-style: none; margin: 24px 0; display: grid; gap: 10px; }
.pdp__features li { position: relative; padding-left: 26px; font-size: 14px; color: var(--ink-soft); }
.pdp__features li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.pdp__trust { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }

/* ---------- Cart ---------- */
.page-title { font-size: clamp(24px, 5vw, 34px); font-weight: 700; margin: 24px 0 20px; }
.cart { margin-bottom: 60px; }
.cart__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.cart__items { display: flex; flex-direction: column; gap: 14px; }

.citem { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; position: relative; }
.citem__media img { width: 90px; height: 90px; object-fit: cover; border-radius: 10px; background: var(--bg-soft); }
.citem__info h3 { font-size: 15px; font-weight: 600; margin: 2px 0 4px; }
.citem__cat { font-size: 11.5px; text-transform: uppercase; color: var(--ink-soft); letter-spacing: .5px; }
.citem__price { display: flex; gap: 8px; align-items: baseline; }
.citem__remove { color: var(--accent); font-size: 12.5px; font-weight: 600; display: inline-block; margin-top: 8px; }
.citem__remove:hover { text-decoration: underline; }
.citem__qty { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px dashed var(--line); }
.citem__line { font-weight: 700; font-size: 16px; }

.cart__actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; flex-wrap: wrap; }

/* ---------- Summary ---------- */
.summary { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 22px; align-self: start; position: sticky; top: 84px; }
.summary h2 { font-size: 18px; margin-bottom: 16px; }
.summary__row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 8px 0; color: var(--ink-soft); }
.summary__row span:last-child { color: var(--ink); font-weight: 600; }
.summary__row--total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-size: 18px; font-weight: 700; }
.summary__row--total span { color: var(--ink) !important; }
.summary__hint { font-size: 12.5px; color: var(--brand); background: #efe7ff; padding: 8px 12px; border-radius: 10px; margin: 6px 0; }
.free { color: var(--green); }
.summary .btn { margin-top: 14px; }
.summary__cod { text-align: center; font-size: 12.5px; color: var(--ink-soft); margin-top: 12px; }
.summary__items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; max-height: 320px; overflow-y: auto; }
.summary__item { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; }
.summary__item img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.summary__item-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.summary__item-qty { font-size: 12px; color: var(--ink-soft); }
.summary__item-price { font-size: 13.5px; font-weight: 600; }

/* ---------- Checkout ---------- */
.checkout { margin-bottom: 60px; }
.checkout__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.checkout__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.checkout__form h2 { font-size: 18px; margin: 6px 0 16px; }
.checkout__form h2 + .field, .checkout__form h2:first-child { margin-top: 0; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field textarea, .field select {
    padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
    font-family: inherit; font-size: 14.5px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(109,40,217,.12); }
.field textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
.err { color: var(--accent); font-size: 12px; font-weight: 500; }
.field input.invalid, .field textarea.invalid, .field select.invalid { border-color: var(--accent); }

.paymethod { margin-bottom: 20px; }
.paymethod__opt { display: flex; align-items: center; gap: 14px; border: 2px solid var(--brand); background: #faf7ff; border-radius: var(--radius); padding: 16px; cursor: pointer; }
.paymethod__opt input { accent-color: var(--brand); width: 18px; height: 18px; }
.paymethod__body { flex: 1; }
.paymethod__body strong { display: block; font-size: 15px; }
.paymethod__body small { color: var(--ink-soft); font-size: 12.5px; }
.paymethod__tick { color: var(--brand); font-weight: 700; }
.checkout__note { font-size: 12px; color: var(--ink-soft); text-align: center; margin-top: 12px; }

/* ---------- Order Success ---------- */
.success { margin: 40px auto 70px; max-width: 720px; }
.success__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 28px; text-align: center; box-shadow: var(--shadow-sm); }
.success__check { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; background: var(--green); color: #fff; font-size: 38px; display: grid; place-items: center; animation: pop .4s ease; }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.success__card h1 { font-size: clamp(22px, 5vw, 30px); }
.success__sub { color: var(--ink-soft); margin: 10px auto 22px; max-width: 460px; }
.success__id { background: linear-gradient(120deg, var(--brand), var(--accent)); color: #fff; border-radius: var(--radius); padding: 16px; margin: 0 auto 22px; max-width: 320px; }
.success__id span { display: block; font-size: 12.5px; opacity: .9; }
.success__id strong { font-size: 24px; letter-spacing: 2px; }
.success__meta { display: grid; grid-template-columns: 1fr; gap: 12px; text-align: left; margin-bottom: 26px; }
.success__meta div { background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; }
.success__meta span { display: block; font-size: 12px; color: var(--ink-soft); }
.success__meta b { font-size: 14px; }
.success__items { text-align: left; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
.success__items h2 { font-size: 16px; margin-bottom: 12px; }
.success__item { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; color: var(--ink-soft); }
.success__item small { color: var(--ink-soft); }
.success__row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.success__row--total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 700; font-size: 16px; }
.success__addr { text-align: left; background: var(--bg-soft); border-radius: var(--radius); padding: 18px; margin-bottom: 24px; }
.success__addr h3 { font-size: 14px; margin-bottom: 8px; }
.success__addr p { font-size: 14px; color: var(--ink-soft); }
.success__help { margin-top: 16px; font-size: 13px; color: var(--ink-soft); }
.success__help a { color: var(--brand); }

/* ---------- About / Contact ---------- */
.about { margin: 30px auto; }
.about__grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.about__text h1 { font-family: var(--serif); font-size: clamp(26px, 5vw, 40px); margin: 8px 0 16px; }
.about__text p { color: var(--ink-soft); margin-bottom: 14px; }
.about__stats { display: flex; gap: 26px; margin-top: 22px; flex-wrap: wrap; }
.about__stats strong { font-size: 24px; display: block; color: var(--brand); }
.about__stats span { font-size: 12.5px; color: var(--ink-soft); }
.about__media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }

.contact { margin: 30px auto 60px; }
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.contact__info h2, .contact__form h2 { font-size: 20px; margin-bottom: 10px; }
.contact__info > p { color: var(--ink-soft); margin-bottom: 22px; }
.contact__item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact__icon { font-size: 24px; }
.contact__item h4 { font-size: 14px; margin-bottom: 3px; }
.contact__item a, .contact__item p { color: var(--ink-soft); font-size: 14px; }
.contact__item a:hover { color: var(--brand); }
.contact__form-wrap { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 24px; }

/* ---------- Live popup (fake recent order) ---------- */
.live-popup {
    position: fixed; left: 18px; bottom: 18px; z-index: 60;
    display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 10px 14px 10px 10px; box-shadow: var(--shadow); max-width: 300px;
    transform: translateY(150%); opacity: 0; transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .4s;
}
.live-popup.show { transform: translateY(0); opacity: 1; }
.live-popup__img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.live-popup__name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.live-popup__meta { font-size: 11.5px; color: var(--ink-soft); }
.live-popup__close { position: absolute; top: 4px; right: 6px; border: none; background: none; font-size: 16px; color: var(--ink-soft); cursor: pointer; }

/* ---------- Footer ---------- */
.footer { background: #14151a; color: #c9ccd6; margin-top: 60px; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 30px; padding: 46px 20px 30px; }
.logo--footer .logo__text { color: #fff; }
.logo--footer .logo__text em { color: #c4b5fd; }
.footer__about { font-size: 13.5px; margin-top: 14px; max-width: 320px; line-height: 1.7; }
.footer__col h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer__col a { display: block; font-size: 13.5px; margin-bottom: 9px; color: #c9ccd6; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__contact { font-size: 13px; margin-bottom: 14px; line-height: 1.6; }
.footer__contact strong { color: #fff; }
.footer__contact a { color: #c4b5fd; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 12.5px; flex-wrap: wrap; gap: 8px; }
.footer__pay b { color: #fff; }

/* =========================================================================
   Responsive — tablet & desktop
   ========================================================================= */
@media (min-width: 600px) {
    .grid { grid-template-columns: repeat(3, 1fr); }
    .cats { grid-template-columns: repeat(4, 1fr); }
    .perks { grid-template-columns: repeat(4, 1fr); }
    .field-row { grid-template-columns: 1fr 1fr 1fr; }
    .success__meta { grid-template-columns: repeat(3, 1fr); }
    .citem { grid-template-columns: 110px 1fr auto; }
    .citem__media img { width: 110px; height: 110px; }
    .citem__qty { grid-column: auto; border-top: none; padding-top: 0; flex-direction: column; align-items: flex-end; gap: 14px; justify-content: center; }
}

@media (min-width: 900px) {
    .hero__inner { grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 20px 0; }
    .hero { padding: 50px 0 30px; }
    .grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
    .pdp__grid { grid-template-columns: 1fr 1fr; gap: 44px; }
    .pdp__media { position: sticky; top: 84px; }
    .cart__grid { grid-template-columns: 1.6fr 1fr; }
    .checkout__grid { grid-template-columns: 1.4fr 1fr; }
    .about__grid { grid-template-columns: 1.1fr 1fr; }
    .contact__grid { grid-template-columns: 1fr 1.2fr; }
    .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.6fr; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 820px) {
    .nav-toggle { display: flex; }
    .nav {
        position: fixed; top: 106px; right: 0; bottom: 0; width: 260px;
        flex-direction: column; align-items: flex-start; gap: 4px;
        background: #fff; padding: 24px; box-shadow: -10px 0 40px rgba(0,0,0,.12);
        transform: translateX(100%); transition: transform .3s ease; z-index: 40;
    }
    .nav.open { transform: translateX(0); }
    .nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
    .nav a.is-active::after { display: none; }
    .topbar__loc { display: none; }
    body.nav-open { overflow: hidden; }
}
