/* Saksham Mart — shopping & account pages (product, cart, checkout, account, sign-in).
   Builds on mart.css tokens: --ink, --saffron, --green, --blue, --line, --radius … */

/* ── Building blocks ─────────────────────────────────────────────────────── */
.btn2 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 14px; border: 0;
    font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; color: #fff !important; text-decoration: none;
    background: linear-gradient(135deg, #ff7a2f, #ef4d22); box-shadow: 0 12px 22px -14px rgba(239, 77, 34, .9); transition: transform .12s, box-shadow .15s, filter .15s; }
.btn2:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn2:active { transform: translateY(0); }
.btn2.ghost { background: #fff; color: var(--saffron) !important; border: 1.5px solid #fdba8c; box-shadow: none; }
.btn2.green { background: linear-gradient(135deg, #22c55e, #15803d); box-shadow: 0 12px 22px -14px rgba(21, 128, 61, .9); }
.btn2.dark { background: linear-gradient(135deg, #13204a, #1e3a8a); box-shadow: 0 12px 22px -14px rgba(19, 32, 74, .9); }
.btn2.light { background: #f1f5f9; color: var(--ink) !important; box-shadow: none; }
.btn2.danger { background: #fff; color: #dc2626 !important; border: 1.5px solid #fecaca; box-shadow: none; }
.btn2.sm { height: 38px; padding: 0 14px; font-size: .86rem; border-radius: 11px; }
.btn2.block { width: 100%; }
.btn2[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.icon-btn { width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; display: inline-grid; place-items: center; font-size: 1.15rem; cursor: pointer; color: var(--ink); }
.icon-btn.on { border-color: #fecaca; color: #e11d48; background: #fff1f2; }

.fld { width: 100%; height: 46px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; font: inherit; font-size: .94rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
textarea.fld { height: auto; padding: 12px 14px; resize: vertical; }
.fld:focus { outline: 0; border-color: #fb923c; box-shadow: 0 0 0 4px rgba(249, 115, 22, .12); }
.lbl2 { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-2); margin: 0 0 6px; }
.err { color: #dc2626; font-size: .8rem; margin-top: 4px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.card2 { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 34px -26px rgba(11, 27, 63, .45); }
.card2 > .hd { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid #eef2f7; }
.card2 > .hd h3 { margin: 0; font-size: 1.02rem; font-weight: 800; color: var(--ink); }
.card2 > .hd .more { margin-left: auto; font-size: .84rem; font-weight: 600; color: var(--blue); }
.card2 > .bd { padding: 18px 20px; }
.muted2 { color: var(--muted); font-size: .86rem; }
.money { font-variant-numeric: tabular-nums; }

.stp { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.stp::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stp.pending, .stp.requested, .stp.open { background: #fff7ed; color: #c2410c; }
.stp.confirmed, .stp.approved, .stp.in_progress, .stp.rescheduled { background: #eff6ff; color: #1d4ed8; }
.stp.processing, .stp.packed, .stp.picked_up { background: #f5f3ff; color: #6d28d9; }
.stp.shipped, .stp.out_for_delivery, .stp.escalated { background: #fefce8; color: #a16207; }
.stp.delivered, .stp.completed, .stp.resolved, .stp.paid, .stp.refunded, .stp.replaced, .stp.processed { background: #ecfdf3; color: #15803d; }
.stp.cancelled, .stp.rejected, .stp.failed { background: #fef2f2; color: #b91c1c; }
.stp.returned, .stp.closed, .stp.refund_pending, .stp.partially_refunded { background: #f1f5f9; color: #475569; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; height: 42px; background: #fff; }
.qty button { width: 40px; height: 100%; border: 0; background: #f8fafc; font-size: 1.1rem; font-weight: 700; color: var(--ink); cursor: pointer; }
.qty input { width: 46px; height: 100%; border: 0; text-align: center; font: inherit; font-weight: 700; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stars2 { color: #f59e0b; letter-spacing: 1px; }
.dot-badge { position: absolute; top: -4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e11d48; color: #fff; font-size: .66rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.crumbs2 { font-size: .82rem; color: var(--muted); margin: 18px 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs2 a { color: var(--ink-2); }
.notice { border-radius: 14px; padding: 12px 16px; font-size: .9rem; display: flex; gap: 10px; align-items: flex-start; }
.notice.warn { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; }
.notice.ok { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.notice.info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.notice.bad { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.empty2 { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty2 .em { font-size: 3rem; }
.empty2 h3 { color: var(--ink); margin: 10px 0 6px; }

/* ── Product page ────────────────────────────────────────────────────────── */
.pp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.pp-gallery { position: sticky; top: 92px; }
.pp-main { position: relative; aspect-ratio: 1 / 1; border-radius: 24px; background: radial-gradient(120% 120% at 20% 0%, #fff7ef, #f6f8fc 60%); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.pp-main img { width: 100%; height: 100%; object-fit: contain; padding: 22px; transition: transform .3s; }
.pp-main:hover img { transform: scale(1.04); }
.pp-main .em { font-size: 7rem; }
.pp-off { position: absolute; left: 16px; top: 16px; background: linear-gradient(135deg, #16a34a, #22c55e); color: #fff; font-weight: 800; font-size: .82rem; padding: 6px 12px; border-radius: 10px; }
.pp-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.pp-thumbs button { flex: none; width: 74px; height: 74px; border-radius: 14px; border: 2px solid var(--line); background: #fff; padding: 4px; cursor: pointer; }
.pp-thumbs button.on { border-color: var(--saffron); }
.pp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pp-info h1 { font-size: 1.7rem; line-height: 1.2; margin: 6px 0 8px; color: var(--ink); letter-spacing: -.02em; }
.pp-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: .88rem; color: var(--ink-2); }
.pp-price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 4px; }
.pp-price b { font-size: 2.1rem; color: var(--ink); letter-spacing: -.02em; }
.pp-price s { color: var(--muted); font-size: 1.05rem; }
.pp-price .save { color: #15803d; font-weight: 800; font-size: .95rem; }
.pp-tax { font-size: .78rem; color: var(--muted); }
.pp-opts { margin: 18px 0 6px; }
.pp-opts .row-lbl { font-size: .82rem; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.vchips { display: flex; flex-wrap: wrap; gap: 8px; }
.vchip { position: relative; min-width: 64px; padding: 9px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--ink); text-align: center; line-height: 1.2; }
.vchip small { display: block; font-weight: 600; color: var(--muted); font-size: .72rem; }
.vchip.on { border-color: var(--saffron); background: #fff7ed; box-shadow: 0 0 0 3px rgba(249, 115, 22, .12); }
.vchip.out { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.pp-stock { font-size: .86rem; font-weight: 700; margin: 10px 0; }
.pp-stock.ok { color: #15803d; } .pp-stock.low { color: #c2410c; } .pp-stock.no { color: #b91c1c; }
.pp-buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0; }
.pp-buy .btn2 { flex: 1; min-width: 150px; }
.pp-boxes { display: grid; gap: 12px; margin-top: 18px; }
.pp-box { border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; background: #fff; }
.pp-box h4 { margin: 0 0 10px; font-size: .92rem; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.pp-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; font-size: .86rem; color: var(--ink-2); }
.pp-facts div { display: flex; gap: 8px; align-items: flex-start; }
.pp-facts i { color: var(--saffron); margin-top: 2px; }
.seller { display: flex; gap: 14px; align-items: center; }
.seller-pic { width: 58px; height: 58px; border-radius: 16px; overflow: hidden; flex: none; background: #f1f5f9; display: grid; place-items: center; font-size: 1.6rem; }
.seller-pic img { width: 100%; height: 100%; object-fit: cover; }
.score-ring { --v: 70; width: 62px; height: 62px; border-radius: 50%; flex: none; display: grid; place-items: center; margin-left: auto;
    background: conic-gradient(#f97316 calc(var(--v) * 1%), #e2e8f0 0); position: relative; }
.score-ring::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.score-ring span { position: relative; z-index: 1; font-weight: 800; color: var(--ink); font-size: 1rem; line-height: 1; text-align: center; }
.score-ring small { display: block; font-size: .55rem; font-weight: 700; color: var(--muted); letter-spacing: .05em; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec-table td { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; }
.spec-table td:first-child { width: 38%; color: var(--muted); font-weight: 600; }
.rv-sum { display: grid; grid-template-columns: 160px 1fr; gap: 22px; align-items: center; }
.rv-big { text-align: center; }
.rv-big b { font-size: 3rem; color: var(--ink); line-height: 1; }
.rv-bar { display: grid; grid-template-columns: 34px 1fr 34px; gap: 8px; align-items: center; font-size: .8rem; color: var(--muted); margin: 3px 0; }
.rv-bar .tr { height: 8px; border-radius: 6px; background: #f1f5f9; overflow: hidden; }
.rv-bar .tr i { display: block; height: 100%; background: linear-gradient(90deg, #f59e0b, #f97316); }
.rv { border-top: 1px solid #f1f5f9; padding: 16px 0; }
.rv .who { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); }
.rv .ver { color: #15803d; font-weight: 700; font-size: .76rem; }
.rv p { margin: 8px 0 0; color: var(--ink-2); }
.rv .reply { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #f8fafc; font-size: .86rem; border-left: 3px solid var(--saffron); }
.star-pick { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-pick input { display: none; }
.star-pick label { font-size: 1.8rem; color: #e2e8f0; cursor: pointer; transition: color .1s, transform .1s; }
.star-pick label:hover, .star-pick label:hover ~ label, .star-pick input:checked ~ label { color: #f59e0b; }
.star-pick label:hover { transform: scale(1.12); }

/* ── Cart & checkout ─────────────────────────────────────────────────────── */
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; margin: 8px 0 40px; }
.sticky-sum { position: sticky; top: 92px; }
.cart-shop { margin-bottom: 18px; }
.cart-line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid #f1f5f9; }
.cart-line:last-child { border-bottom: 0; }
.cart-line .pic { width: 76px; height: 76px; border-radius: 14px; background: #fff7ef; display: grid; place-items: center; overflow: hidden; font-size: 1.8rem; }
.cart-line .pic img { width: 100%; height: 100%; object-fit: contain; }
.cart-line .nm { font-weight: 700; color: var(--ink); }
.cart-line .vr { font-size: .8rem; color: var(--muted); }
.cart-line .pr { margin-top: 4px; font-size: .92rem; }
.cart-line .pr s { color: var(--muted); font-size: .8rem; margin-left: 6px; }
.cart-line .issue { color: #b91c1c; font-size: .8rem; font-weight: 700; margin-top: 4px; }
.cart-line .side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-line .rm { border: 0; background: none; color: var(--muted); font-size: .8rem; cursor: pointer; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: .93rem; color: var(--ink-2); }
.sum-row.save { color: #15803d; font-weight: 600; }
.sum-row.total { border-top: 1.5px dashed var(--line); margin-top: 6px; padding-top: 14px; font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.steps { display: flex; gap: 8px; margin: 10px 0 18px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.steps span { display: flex; align-items: center; gap: 6px; }
.steps span b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #e2e8f0; color: var(--ink-2); font-size: .74rem; }
.steps span.on b { background: var(--saffron); color: #fff; }
.steps span.done b { background: #16a34a; color: #fff; }
.steps i { color: #cbd5e1; }
.addr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.addr { position: relative; display: block; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px 14px 46px; cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s; }
.addr input { position: absolute; left: 16px; top: 18px; accent-color: var(--saffron); width: 18px; height: 18px; }
.addr.on { border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(249, 115, 22, .1); background: #fffaf5; }
.addr .tag { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--saffron); }
.addr .who { font-weight: 700; color: var(--ink); margin: 2px 0; }
.addr .txt { font-size: .84rem; color: var(--ink-2); }
.addr .bad { margin-top: 6px; font-size: .78rem; color: #b91c1c; font-weight: 600; }
.pay-opt { display: flex; gap: 14px; align-items: center; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; cursor: pointer; background: #fff; margin-bottom: 10px; }
.pay-opt input { accent-color: var(--saffron); width: 18px; height: 18px; }
.pay-opt.on { border-color: var(--saffron); background: #fffaf5; }
.pay-opt .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: #f1f5f9; }
.pay-opt.disabled { opacity: .5; cursor: not-allowed; }
.coupon-in { display: flex; gap: 8px; }
.coupon-in .fld { text-transform: uppercase; font-weight: 700; letter-spacing: .06em; }
.points-box { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #fff7ed, #fef3c7); }
.points-box .ic { font-size: 1.5rem; }
.shop-split { border: 1px dashed var(--line); border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; font-size: .86rem; }
.shop-split b { color: var(--ink); }

/* ── Order result ────────────────────────────────────────────────────────── */
.result { max-width: 720px; margin: 30px auto 50px; text-align: center; }
.result .badge-big { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-size: 2.8rem; color: #fff;
    background: linear-gradient(135deg, #22c55e, #15803d); box-shadow: 0 18px 40px -18px rgba(21, 128, 61, .8); animation: pop .5s cubic-bezier(.2, 1.4, .4, 1); }
.result .badge-big.wait { background: linear-gradient(135deg, #f59e0b, #f97316); }
.result .badge-big.bad { background: linear-gradient(135deg, #f87171, #dc2626); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.result h1 { font-size: 1.8rem; color: var(--ink); margin: 0 0 6px; }

/* ── Account area ────────────────────────────────────────────────────────── */
.acc { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; margin: 18px 0 44px; }
.acc-side { position: sticky; top: 92px; }
.acc-me { padding: 20px; border-radius: 22px; color: #fff; position: relative; overflow: hidden;
    background: radial-gradient(130% 130% at 100% 0%, rgba(249, 115, 22, .45), rgba(249, 115, 22, 0) 55%), linear-gradient(135deg, #0b1530, #13204a 60%, #1e3a8a); }
.acc-me .av { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #ff8a3d, #f59e0b); display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; overflow: hidden; }
.acc-me .av img { width: 100%; height: 100%; object-fit: cover; }
.acc-me .nm { font-weight: 800; font-size: 1.05rem; margin-top: 10px; }
.acc-me .id { font-family: ui-monospace, Menlo, monospace; font-size: .8rem; color: #cbd5e1; letter-spacing: .06em; }
.tier { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px 11px; border-radius: 999px; font-size: .74rem; font-weight: 800; background: rgba(255, 255, 255, .14); }
.acc-nav { margin-top: 12px; padding: 8px; }
.acc-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.acc-nav a i { font-size: 1.05rem; width: 20px; text-align: center; color: var(--muted); }
.acc-nav a:hover { background: #f8fafc; }
.acc-nav a.on { background: #fff7ed; color: var(--saffron); }
.acc-nav a.on i { color: var(--saffron); }
.acc-nav a .n { margin-left: auto; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 10px; background: #f1f5f9; color: var(--ink-2); font-size: .72rem; display: grid; place-items: center; }
.acc-nav hr { border: 0; border-top: 1px solid #f1f5f9; margin: 6px 0; }
.acc h2.title { font-size: 1.5rem; margin: 0 0 4px; color: var(--ink); letter-spacing: -.02em; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: #fff; display: flex; flex-direction: column; gap: 4px; transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -20px rgba(11, 27, 63, .5); }
.tile i { font-size: 1.4rem; }
.tile b { font-size: 1.5rem; color: var(--ink); }
.tile span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.orow { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid #f1f5f9; color: inherit; }
.orow:last-child { border-bottom: 0; }
.orow .pic { width: 64px; height: 64px; border-radius: 14px; background: #fff7ef; display: grid; place-items: center; overflow: hidden; font-size: 1.6rem; }
.orow .pic img { width: 100%; height: 100%; object-fit: contain; }
.orow .t { font-weight: 700; color: var(--ink); }
.orow .s { font-size: .82rem; color: var(--muted); }
.tabs2 { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.tabs2 a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 600; font-size: .86rem; }
.tabs2 a.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Order timeline (horizontal on wide screens) */
.otl { display: flex; gap: 0; margin: 8px 0 4px; }
.otl .st { flex: 1; text-align: center; position: relative; font-size: .76rem; color: var(--muted); font-weight: 600; padding-top: 34px; }
.otl .st::before { content: ''; position: absolute; top: 12px; left: -50%; right: 50%; height: 3px; background: #e2e8f0; }
.otl .st:first-child::before { display: none; }
.otl .st .dt { position: absolute; top: 2px; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid #e2e8f0; display: grid; place-items: center; font-size: .7rem; z-index: 1; }
.otl .st.done { color: var(--ink); }
.otl .st.done::before { background: #22c55e; }
.otl .st.done .dt { background: #22c55e; border-color: #22c55e; color: #fff; }
.otl .st.cur .dt { box-shadow: 0 0 0 5px rgba(34, 197, 94, .2); }
.otl .st.bad .dt { background: #dc2626; border-color: #dc2626; color: #fff; }
.otl .st .at { display: block; font-weight: 500; font-size: .7rem; color: var(--muted); margin-top: 2px; }
.vtl { list-style: none; margin: 0; padding: 0; position: relative; }
.vtl::before { content: ''; position: absolute; left: 10px; top: 4px; bottom: 4px; width: 2px; background: #e2e8f0; }
.vtl li { position: relative; padding: 0 0 14px 32px; }
.vtl li::before { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--saffron); }
.vtl b { color: var(--ink); font-size: .9rem; }
.vtl .m { font-size: .78rem; color: var(--muted); }

/* Membership card */
.mcard { position: relative; overflow: hidden; border-radius: 26px; padding: 26px; color: #fff; min-height: 230px; max-width: 460px;
    background: radial-gradient(120% 120% at 100% 0%, var(--tc, #f59e0b) 0%, rgba(0, 0, 0, 0) 55%), linear-gradient(135deg, #0b1530, #13204a 55%, #1e3a8a);
    box-shadow: 0 30px 60px -30px rgba(11, 21, 48, .8); }
.mcard::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 70%); }
.mcard .brand-name { font-size: 1.4rem; }
.mcard .lab { font-size: .66rem; letter-spacing: .14em; color: #94a3b8; font-weight: 700; margin-top: 16px; }
.mcard .val { font-size: 1.1rem; font-weight: 800; }
.mcard .cid { font-family: ui-monospace, Menlo, monospace; font-size: 1.5rem; letter-spacing: .14em; font-weight: 800; }
.mcard .tierx { position: absolute; right: 22px; top: 22px; padding: 5px 14px; border-radius: 999px; font-weight: 800; font-size: .78rem; background: var(--tc, #f59e0b); }
.progress2 { height: 10px; border-radius: 6px; background: #f1f5f9; overflow: hidden; }
.progress2 i { display: block; height: 100%; background: linear-gradient(90deg, #f97316, #f59e0b); }

/* Coupons */
.coupons { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.coupon { position: relative; display: flex; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 26px -22px rgba(11, 27, 63, .5); }
.coupon .l { width: 92px; flex: none; display: grid; place-items: center; text-align: center; color: #fff; font-weight: 800; font-size: 1.05rem; line-height: 1.1;
    background: linear-gradient(160deg, #ff7a2f, #ef4d22); position: relative; padding: 10px; }
.coupon .l::after { content: ''; position: absolute; right: -8px; top: 0; bottom: 0; width: 16px; background: radial-gradient(circle at 8px 12px, #fff 6px, transparent 6.5px) 0 0 / 16px 24px repeat-y; }
.coupon .r { padding: 14px 16px 14px 20px; flex: 1; }
.coupon .code { display: inline-block; font-family: ui-monospace, Menlo, monospace; font-weight: 800; letter-spacing: .08em; border: 1.5px dashed #fb923c; color: #c2410c; padding: 3px 10px; border-radius: 8px; background: #fff7ed; cursor: pointer; }

/* Sign-in */
.si-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 0; max-width: 980px; margin: 34px auto 50px; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(11, 27, 63, .6); }
.si-art { padding: 40px; color: #fff; position: relative; overflow: hidden;
    background: radial-gradient(120% 120% at 0% 100%, rgba(34, 197, 94, .35), rgba(34, 197, 94, 0) 55%), radial-gradient(120% 120% at 100% 0%, rgba(249, 115, 22, .45), rgba(249, 115, 22, 0) 55%), linear-gradient(135deg, #0b1530, #13204a 60%, #1e3a8a); }
.si-art h2 { font-size: 2rem; line-height: 1.15; margin: 18px 0 10px; letter-spacing: -.02em; }
.si-art ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.si-art li { display: flex; gap: 10px; align-items: center; color: #e2e8f0; }
.si-art li i { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; }
.si-form { padding: 40px 36px; }
.si-form h1 { font-size: 1.5rem; margin: 0 0 6px; color: var(--ink); }
.otp-boxes { display: flex; gap: 8px; justify-content: space-between; }
.otp-boxes input { width: 100%; max-width: 52px; height: 56px; text-align: center; font-size: 1.4rem; font-weight: 800; border: 1.5px solid var(--line); border-radius: 14px; color: var(--ink); }
.otp-boxes input:focus { outline: 0; border-color: #fb923c; box-shadow: 0 0 0 4px rgba(249, 115, 22, .12); }

/* Compare */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid #f1f5f9; vertical-align: top; text-align: left; font-size: .9rem; }
.cmp th { width: 170px; color: var(--muted); font-weight: 700; background: #fafbfd; }
.cmp .pic { height: 140px; display: grid; place-items: center; background: #fff7ef; border-radius: 14px; overflow: hidden; font-size: 3rem; }
.cmp .pic img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* Help centre */
.faq { border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-bottom: 10px; overflow: hidden; }
.faq summary { padding: 16px 18px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '\F282'; font-family: bootstrap-icons; margin-left: auto; transition: transform .2s; color: var(--muted); }
.faq[open] summary::after { transform: rotate(180deg); }
.faq .ans { padding: 0 18px 16px; color: var(--ink-2); line-height: 1.6; }

/* Message thread */
.thread .msg { max-width: 80%; padding: 12px 15px; border-radius: 18px; margin-bottom: 10px; font-size: .92rem; line-height: 1.5; }
.thread .msg.me { margin-left: auto; color: #fff; background: linear-gradient(135deg, #13204a, #1e3a8a); border-bottom-right-radius: 5px; }
.thread .msg.them { background: #f1f5f9; color: var(--ink); border-bottom-left-radius: 5px; }
.thread .msg .w { font-size: .72rem; opacity: .75; font-weight: 700; margin-bottom: 3px; }
.thread .msg a { color: inherit; text-decoration: underline; }

/* Modal (native <dialog>) */
dialog.m2 { border: 0; border-radius: 22px; padding: 0; width: min(560px, 94vw); box-shadow: 0 40px 80px -30px rgba(11, 27, 63, .6); }
dialog.m2::backdrop { background: rgba(11, 21, 48, .55); backdrop-filter: blur(3px); }
dialog.m2 .hd { padding: 18px 22px; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; }
dialog.m2 .hd h3 { margin: 0; font-size: 1.1rem; color: var(--ink); }
dialog.m2 .hd button { margin-left: auto; border: 0; background: #f1f5f9; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; }
dialog.m2 .bd { padding: 18px 22px 22px; max-height: 76vh; overflow: auto; }

@media (max-width: 1100px) {
    .shop-layout { grid-template-columns: minmax(0, 1fr) 330px; }
    .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .pp { grid-template-columns: 1fr; gap: 18px; }
    .pp-gallery { position: static; }
    .shop-layout, .acc { grid-template-columns: 1fr; }
    .sticky-sum, .acc-side { position: static; }
    .si-wrap { grid-template-columns: 1fr; }
    .si-art { padding: 28px; }
    .acc-nav { display: flex; overflow-x: auto; gap: 4px; }
    .acc-nav a { flex: none; }
    .acc-nav hr { display: none; }
}
@media (max-width: 640px) {
    .grid2, .grid3, .addr-grid, .pp-facts { grid-template-columns: 1fr; }
    .pp-info h1 { font-size: 1.35rem; }
    .pp-price b { font-size: 1.7rem; }
    .rv-sum { grid-template-columns: 1fr; }
    .otl .st { font-size: .64rem; }
    .otl .st .at { display: none; }
    .cart-line { grid-template-columns: 60px minmax(0, 1fr); }
    .cart-line .side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
    .si-form { padding: 28px 20px; }
    .thread .msg { max-width: 92%; }
    .cmp th { width: 110px; }
}

/* Pagination (Bootstrap 5 markup from Laravel) */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; justify-content: center; }
.pagination .page-link { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 11px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 600; font-size: .86rem; }
.pagination .active .page-link { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .disabled .page-link { opacity: .45; }
nav[role="navigation"] p.small, nav .d-sm-flex > div:first-child { display: none; }
@media print { .mh, header, footer, .acc-side, .btn2 { display: none !important; } .acc { display: block; } }

/* Search suggestions (header search box) */
.sugg { position: fixed; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -24px rgba(11, 27, 63, .45); padding: 6px; max-height: 60vh; overflow: auto; }
.sugg a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: .9rem; }
.sugg a:hover, .sugg a.on { background: #f1f5f9; }
.sugg a i { color: var(--muted); width: 18px; text-align: center; }
.sugg a small { margin-left: auto; color: var(--muted); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40%; }

/* Sign-in: Mobile / Email tabs and Google */
.si-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: #f1f5f9; border-radius: 14px; margin-bottom: 18px; }
.si-tabs button { height: 40px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-weight: 700; font-size: .9rem; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.si-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 6px 14px -10px rgba(11, 27, 63, .5); }
.si-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.si-or::before, .si-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.si-google { display: flex; align-items: center; justify-content: center; gap: 10px; height: 46px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink) !important; font-weight: 700; font-size: .95rem; transition: border-color .15s, box-shadow .15s; }
.si-google:hover { border-color: #cbd5e1; box-shadow: 0 10px 20px -16px rgba(11, 27, 63, .6); }

/* A vertical stack that still honours the hidden attribute */
.stack { display: grid; gap: 10px; }
.stack[hidden] { display: none; }

/* Author display rules (e.g. .points-box { display:flex }) must not override the hidden attribute */
[hidden] { display: none !important; }

/* Sign-in: three tabs, password eye, "create account" line */
.si-tabs { grid-template-columns: repeat(3, 1fr); }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; color: var(--muted); font-size: 1.1rem; cursor: pointer; border-radius: 10px; }
.pw-eye:hover { background: #f1f5f9; color: var(--ink); }
.si-new { margin-top: 18px; text-align: center; font-size: .9rem; color: var(--ink-2); }
.si-new a { color: var(--saffron); font-weight: 800; }
.pw-meter { height: 6px; border-radius: 4px; background: #f1f5f9; overflow: hidden; margin-top: 6px; }
.pw-meter i { display: block; height: 100%; width: 0; transition: width .2s, background .2s; }

/* ── Header account menu (Login ⌄ / name ⌄) ───────────────────────────────── */
.acct { position: relative; }
.acct-btn .lbl { display: inline-flex; align-items: center; gap: 4px; }
.acct-btn .caret { font-size: .7rem !important; transition: transform .2s; }
.acct:hover .caret, .acct.open .caret, .acct:focus-within .caret { transform: rotate(180deg); }
.acct-drop { position: absolute; right: -14px; top: 100%; z-index: 70; width: 268px; margin-top: 12px; padding: 8px 0;
    background: #fff; border: 1px solid #e6eaf1; border-radius: 14px; box-shadow: 0 22px 44px -18px rgba(11, 27, 63, .35);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s; }
.acct-drop::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }                 /* hover bridge */
.acct-drop::after { content: ''; position: absolute; top: -7px; right: 30px; width: 12px; height: 12px; background: #fff;
    border-left: 1px solid #e6eaf1; border-top: 1px solid #e6eaf1; transform: rotate(45deg); }
@media (hover: hover) { .acct:hover .acct-drop { opacity: 1; visibility: visible; transform: none; } }
.acct.open .acct-drop, .acct:focus-within .acct-drop { opacity: 1; visibility: visible; transform: none; }
.acct-drop a, .acct-drop button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 11px 20px; border: 0; background: none;
    font: inherit; font-size: .92rem; font-weight: 500; color: var(--ink); text-align: left; cursor: pointer; }
.acct-drop a i, .acct-drop button i { font-size: 1.1rem; width: 20px; text-align: center; color: var(--ink-2); }
.acct-drop a:hover, .acct-drop button:hover, .acct-drop a:focus-visible, .acct-drop button:focus-visible { background: #f5f7fb; color: var(--blue); outline: 0; }
.acct-drop a:hover i, .acct-drop button:hover i { color: var(--blue); }
.acct-new { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 20px 12px; margin-bottom: 4px;
    border-bottom: 1px solid #eef1f6; font-size: .92rem; color: var(--ink); }
.acct-new a { display: inline; width: auto; padding: 0; color: var(--blue) !important; font-weight: 800; background: none !important; }
.acct-new a:hover { text-decoration: underline; }
.acct-hello { padding: 8px 20px 12px; margin-bottom: 4px; border-bottom: 1px solid #eef1f6; }
.acct-hello b { display: block; color: var(--ink); }
.acct-hello small { color: var(--muted); font-family: ui-monospace, Menlo, monospace; letter-spacing: .05em; }
.acct-login { display: none !important; }
@media (hover: none) { .acct-login { display: flex !important; font-weight: 800 !important; color: var(--saffron) !important; } }
.acct-n { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #e11d48; color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.acct-out { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid #eef1f6; }
.acct-out button, .acct-out button i { color: #dc2626 !important; }
@media (max-width: 640px) { .acct-drop { position: fixed; top: 64px; right: 10px; left: auto; width: min(300px, calc(100vw - 20px)); } .acct-drop::after { right: 58px; } }

/* ── Header icons: just the icon in colour (no tile, border or padding) ───── */
.mh-ico { position: relative; display: inline-flex; line-height: 1; }
.mh-ico > i { font-size: 1.6rem !important; line-height: 1;
    background: linear-gradient(145deg, var(--g1), var(--g2)); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: var(--g2); transition: transform .18s; }
.ico-user { --g1: #ffa53b; --g2: #f2531f; }
.ico-user.signed { --g1: #8b5cf6; --g2: #db2777; }
.ico-cart { --g1: #34d399; --g2: #15803d; }
.ico-compare { --g1: #60a5fa; --g2: #1d4ed8; }
.mh-link:hover .mh-ico > i, .acct.open .mh-ico > i { transform: scale(1.1); }
.mh-ico .count { position: absolute; top: -7px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    background: #e11d48; color: #fff; font-size: .66rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.ico-cart .count { animation: pop .35s cubic-bezier(.2, 1.4, .4, 1); }
.mh-link:hover { color: var(--ink); }
.mh-link:hover .lbl { color: var(--saffron); }

/* Header actions: icon on the left, its name on the right (one line) */
.mh-links .mh-link { flex-direction: row; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; }
.mh-links .mh-link .lbl { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.mh-links .mh-link .lbl .caret { font-size: .72rem !important; }
.acct-drop { right: auto; left: -8px; }
.acct-drop::after { right: auto; left: 14px; }
@media (max-width: 640px) { .acct-drop { left: auto; } .acct-drop::after { left: auto; right: 75px; } }
@media (max-width: 1280px) { .mh-links .mh-link .lbl { display: none; } }
