/* ===========================================================================
   landing.css  —  Public one-page shop ("Shubh Ganesh Murti")
   Uses variables from theme.css. Festive, premium, customer-facing.
   =========================================================================== */

/* Box-sizing reset (shop pages don't load style.css) — fixes input overflow */
*, *::before, *::after { box-sizing: border-box; }

/* Prevent any accidental horizontal scroll on the shop (body only, keeps sticky header working) */
body { overflow-x: hidden; max-width: 100%; }
img, svg, table { max-width: 100%; }

/* Keyframes (shop pages don't load style.css) */
@keyframes popIn  { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lp-body { background: var(--cream); }
.lp-body, .lp-body * { box-sizing: border-box; }

/* ---------- Ambient floating Ganesha / Om / lotus background ---------- */
.bg-deco { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-deco .gd { position: absolute; color: var(--gold-dark); opacity: .13; display: grid; place-items: center; will-change: transform; }
.bg-deco .gd img { width: 100%; height: 100%; object-fit: contain; }
.bg-deco .gd .om { font-family: var(--font-display); line-height: 1; }
.coll-bg img { width: 100%; height: 100%; object-fit: contain; }
.bg-deco .gd { animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
.bg-deco .f-up    { animation-name: gdFloatUp; }
.bg-deco .f-side  { animation-name: gdFloatSide; }
.bg-deco .f-drift { animation-name: gdDrift; }
.bg-deco .f-pulse { animation-name: gdPulse; }
@keyframes gdFloatUp   { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-30px) rotate(6deg); } }
@keyframes gdFloatSide { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(24px,-18px) rotate(-7deg); } }
@keyframes gdDrift     { 0%,100% { transform: translate(0,0) rotate(0deg); } 33% { transform: translate(22px,-20px) rotate(9deg); } 66% { transform: translate(-16px,-34px) rotate(-7deg); } }
@keyframes gdPulse     { 0%,100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.18) rotate(8deg); } }
/* keep page content above the motifs (drawers/modals keep their own high z-index) */
.site-header, .sh-top, .lp-hero, .lp-trust, .lp-section, .ig-sec, .ftr, .page-hero { position: relative; z-index: 1; }
@media (max-width: 600px) { .bg-deco .gd { opacity: .1; } }

/* ---------- Festive falling petals ---------- */
.petals { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.petal { position: absolute; top: -8%; border-radius: 50% 0 50% 50%; opacity: .85; will-change: transform; animation-name: petalFall; animation-timing-function: linear; animation-iteration-count: infinite; box-shadow: inset 0 -2px 3px rgba(0,0,0,.08); }
.petal.p0 { background: linear-gradient(135deg, #ffd23f, #ff7a18); }
.petal.p1 { background: linear-gradient(135deg, #ff9a3c, #e23b2e); }
.petal.p2 { background: linear-gradient(135deg, #ffe08a, #f5a623); }
@keyframes petalFall {
    0%   { transform: translateY(-8vh) translateX(0) rotate(0deg);      opacity: 0; }
    8%   { opacity: .85; }
    50%  { transform: translateY(50vh) translateX(34px) rotate(220deg); }
    92%  { opacity: .85; }
    100% { transform: translateY(112vh) translateX(-12px) rotate(430deg); opacity: 0; }
}
@media (max-width: 600px) { .petals .petal:nth-child(2n) { display: none; } }

/* Entrance animations */
.lp-section .head { animation: fadeUp .5s cubic-bezier(.22,.61,.36,1) both; }
.lp-card { animation: fadeUp .5s cubic-bezier(.22,.61,.36,1) both; }
.lp-grid .lp-card:nth-child(1){animation-delay:.04s} .lp-grid .lp-card:nth-child(2){animation-delay:.09s}
.lp-grid .lp-card:nth-child(3){animation-delay:.14s} .lp-grid .lp-card:nth-child(4){animation-delay:.19s}
.lp-grid .lp-card:nth-child(5){animation-delay:.24s} .lp-grid .lp-card:nth-child(6){animation-delay:.29s}
.lp-grid .lp-card:nth-child(n+7){animation-delay:.33s}
.acct-order { animation: fadeUp .45s ease both; }
.od-card { animation: popIn .4s cubic-bezier(.22,.61,.36,1) both; }

/* ---------- Professional header ---------- */
.sh-top { background: var(--brown); color: #f3e6c8; font-size: 12.5px; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 7px 16px; flex-wrap: wrap; }
.sh-top a { color: var(--gold-light); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--border); box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.site-header::before { content: ""; display: block; height: 3px; background: var(--gradient-festive); }
.sh-wrap { max-width: 1200px; margin: 0 auto; padding: 11px 24px; display: flex; align-items: center; gap: 18px; }
.sh-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.sh-brand .logo { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 22px; font-family: var(--font-display); background: var(--gradient-gold); box-shadow: 0 4px 12px rgba(176,132,40,.3); }
.sh-brand .logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.sh-brand .sh-bt { display: flex; flex-direction: column; line-height: 1.1; }
.sh-brand .bn { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--brown); }
.sh-brand .bg { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.sh-nav { display: flex; gap: 4px; margin-left: 14px; }
.sh-nav a { padding: 9px 14px; border-radius: 9px; color: var(--text); font-weight: 600; font-size: 14px; text-decoration: none; transition: color .15s, background .15s; }
.sh-nav a:hover { color: var(--festive-red); background: var(--brand-soft); }
.sh-nav a.active { color: var(--festive-red); background: var(--brand-soft); }
.sh-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.sh-acct { display: flex; align-items: center; gap: 12px; }
.sh-link { color: var(--brown); font-weight: 600; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.sh-link:hover { color: var(--festive-red); }
.sh-signup { background: var(--gradient-festive); color: #fff; font-weight: 700; font-size: 13.5px; padding: 8px 15px; border-radius: 999px; text-decoration: none; box-shadow: 0 3px 10px rgba(226,59,46,.28); }
.sh-signup:hover { color: #fff; filter: brightness(1.05); }
.sh-cart { position: relative; display: inline-flex; align-items: center; gap: 7px; background: var(--brown); color: #fff; font-weight: 700; padding: 9px 15px; border-radius: 999px; text-decoration: none; }
.sh-cart:hover { color: #fff; background: #1c1610; }
.sh-cart .cnt { background: var(--gradient-festive); color: #fff; border-radius: 50%; min-width: 20px; height: 20px; display: grid; place-items: center; font-size: 11.5px; padding: 0 5px; }
.sh-burger { display: none; width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); cursor: pointer; align-items: center; justify-content: center; color: var(--brown); }
.sh-menu { display: none; border-top: 1px solid var(--border); padding: 8px; }
.sh-menu.open { display: block; }
.sh-menu a { display: block; padding: 12px 14px; border-radius: 9px; color: var(--text); font-weight: 600; text-decoration: none; }
.sh-menu a:hover { background: var(--brand-soft); color: var(--festive-red); }
.sh-menu-acct { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; display: flex; flex-direction: column; }
.sh-menu-acct .sh-link, .sh-menu-acct .sh-signup { padding: 12px 14px; border-radius: 9px; }
.sh-menu-acct .sh-signup { background: none; color: var(--festive-red); box-shadow: none; text-align: left; }
@media (max-width: 880px) {
    .sh-nav, .sh-acct { display: none; }
    .sh-burger { display: flex; }
}
@media (max-width: 600px) {
    .sh-top { font-size: 11px; gap: 6px 14px; padding: 6px 12px; }
    .sh-wrap { padding: 9px 14px; gap: 10px; }
    .sh-brand .logo { width: 38px; height: 38px; font-size: 18px; }
    .sh-brand .bn { font-size: 17px; }
    .sh-brand .bg { font-size: 8px; letter-spacing: .16em; }
    .sh-actions { gap: 9px; }
    .sh-cart { padding: 8px 12px; }
    .sh-burger { width: 38px; height: 38px; }
}
@media (max-width: 380px) {
    .sh-brand .bg { display: none; }
    .sh-brand .bn { font-size: 16px; }
}

/* ---------- Header (legacy lp-header, kept for any remaining pages) ---------- */
.lp-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border);
}
.lp-header .wrap { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.lp-brand { display: flex; align-items: center; gap: 12px; }
.lp-brand .logo { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 22px; font-family: var(--font-display); background: var(--gradient-gold); box-shadow: 0 4px 12px rgba(176,132,40,.35); }
.lp-brand .logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.lp-brand .bt { display: flex; flex-direction: column; line-height: 1.1; }
.lp-brand .bn { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--brown); }
.lp-brand .bg { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.lp-cart-btn {
    position: relative; display: inline-flex; align-items: center; gap: 8px;
    background: var(--gradient-festive); color: #fff; border: none; cursor: pointer;
    padding: 10px 16px; border-radius: var(--radius-pill); font-weight: 700; font-size: 14px;
    box-shadow: 0 3px 10px rgba(226,59,46,.3);
}
.lp-cart-btn .cnt { background: #fff; color: var(--festive-red); border-radius: 50%; min-width: 20px; height: 20px; display: grid; place-items: center; font-size: 12px; padding: 0 5px; }

/* ---------- Hero ---------- */
.lp-hero {
    position: relative; overflow: hidden; text-align: center; color: #fff;
    background: linear-gradient(135deg, #b5121f, #e2521a 45%, #f5a623);
    padding: 30px 0 56px;
}
.lp-hero::before, .lp-hero::after {
    content: ""; position: absolute; border-radius: 50%; opacity: .18;
    background: radial-gradient(circle, #fff, transparent 70%);
}
.lp-hero::before { width: 380px; height: 380px; top: -120px; left: -100px; }
.lp-hero::after  { width: 420px; height: 420px; bottom: -160px; right: -120px; }
.lp-hero .om { font-size: 40px; font-family: var(--font-display); margin-bottom: 8px; opacity: .95; }
.lp-hero h1 { font-family: var(--font-display); font-size: clamp(34px, 6vw, 56px); font-weight: 700; letter-spacing: -.01em; margin: 0 0 6px; position: relative; }
.lp-hero .tag { letter-spacing: .26em; text-transform: uppercase; font-size: 12px; font-weight: 600; opacity: .92; }
.lp-hero p.lead { max-width: 560px; margin: 16px auto 26px; font-size: 16px; opacity: .95; position: relative; }
.lp-hero .hero-cta { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--festive-red); font-weight: 800; padding: 13px 26px; border-radius: var(--radius-pill); text-decoration: none; box-shadow: 0 8px 20px rgba(0,0,0,.18); position: relative; transition: transform .15s, box-shadow .15s; }
.lp-hero .hero-cta:hover { transform: translateY(-2px); color: var(--festive-red); box-shadow: 0 12px 26px rgba(0,0,0,.26); }
.lp-hero .hero-cta.ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.6); box-shadow: none; }
.lp-hero .hero-cta.ghost:hover { background: rgba(255,255,255,.24); color: #fff; }
.lp-hero .hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hero-kicker { display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); color: #fff; font-weight: 600; font-size: 12.5px; letter-spacing: .05em; padding: 7px 16px; border-radius: 999px; margin-bottom: 10px; animation: floatY 3s ease-in-out infinite; }
@keyframes floatY { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-5px); } }
.lp-hero .om { animation: floatY 4s ease-in-out infinite; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.hero-badges span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #fff; opacity: .95; }

/* Section kicker label */
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--festive-red); margin-bottom: 6px; }
.kicker::before, .kicker::after { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--gradient-festive); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Animated hero image scroller (two-row marquee) ---------- */
.hero-marquee {
    position: relative; z-index: 2; margin-top: 40px;
    display: flex; flex-direction: column; gap: 18px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.mq-row { overflow: hidden; }
.mq-track { display: flex; gap: 18px; width: max-content; will-change: transform; animation: mqScroll 38s linear infinite; }
.mq-row.rev .mq-track { animation-duration: 48s; animation-direction: reverse; }
.hero-marquee:hover .mq-track { animation-play-state: paused; }
.mq-item { flex: none; }
.mq-item img {
    height: 270px; width: 360px; object-fit: cover; border-radius: 18px; display: block;
    border: 3px solid rgba(255,255,255,.55); box-shadow: 0 14px 32px rgba(0,0,0,.30);
    transition: transform .3s ease, box-shadow .3s ease;
}
.mq-item img:hover { transform: scale(1.06) translateY(-4px); box-shadow: 0 18px 38px rgba(0,0,0,.38); }
@keyframes mqScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 700px) {
    .mq-item img { height: 180px; width: 240px; border-radius: 14px; }
    .hero-marquee { margin-top: 28px; gap: 14px; }
}

/* ---------- Trust strip ---------- */
.lp-trust { background: var(--brown); color: #f3e6c8; }
.lp-trust .wrap { max-width: 1200px; margin: 0 auto; padding: 16px 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
.lp-trust .t { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; }
.lp-trust .t .ico { color: var(--gold-light); }

/* ---------- Section ---------- */
.lp-section { max-width: 1200px; margin: 0 auto; padding: 48px 24px; }
.lp-section .head { text-align: center; margin-bottom: 34px; }
.lp-section .head h2 { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--brown); }
.lp-section .head p { color: var(--text-muted); margin-top: 6px; }

/* ---------- Modak row (Ganpati's favourite sweet) ---------- */
.modak-row { display: flex; justify-content: space-around; align-items: flex-end; gap: 8px; position: relative; z-index: 1; margin: -8px 0 26px; padding-bottom: 16px; perspective: 600px; }
.modak-row::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, color-mix(in srgb,var(--gold) 55%,white), transparent); animation: modakLine 4s ease-in-out infinite; }

.modak { width: 50px; height: 50px; flex: none; transform-origin: 50% 100%; animation: modakBob 3s ease-in-out infinite; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.modak svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 4px 6px rgba(176,132,40,.34)); animation: modakShadow 3s ease-in-out infinite; }

/* cursor / touch reactive lift — JS sets --mx/--my/--ms */
.modak.react { animation-play-state: paused; transform: translateY(var(--my,0)) rotate(var(--mx,0)) scale(var(--ms,1)); transition: transform .12s ease-out; z-index: 2; }
.modak.react svg { filter: drop-shadow(0 12px 14px rgba(176,132,40,.5)); }
.modak.react .m-glow { opacity: .8; }
/* tap / click pop burst */
.modak.pop { animation: modakPop .55s cubic-bezier(.34,1.56,.64,1); }
@keyframes modakPop {
    0%   { transform: translateY(0) scale(1) rotate(0); }
    30%  { transform: translateY(-22px) scale(1.35) rotate(-8deg); }
    55%  { transform: translateY(-10px) scale(.9) rotate(6deg); }
    100% { transform: translateY(0) scale(1) rotate(0); }
}

/* soft glow halo: pulses + breathes */
.modak .m-glow { transform-box: fill-box; transform-origin: 50% 70%; animation: modakGlow 3s ease-in-out infinite; }
/* glossy highlight drifts up and down the body */
.modak .m-shine { transform-box: fill-box; transform-origin: center; animation: modakShine 3.4s ease-in-out infinite; }
/* twinkle star above the tip */
.modak .m-spark { transform-box: fill-box; transform-origin: 50% 50%; animation: modakSpark 2.4s ease-in-out infinite; }

/* gentle wave: each modak lags the previous one (delay set inline) */
.modak:nth-child(odd) { animation-duration: 3.6s; }
.modak:hover { animation-play-state: paused; }

@keyframes modakBob {
    0%,100% { transform: translateY(0) rotate(-3deg) scale(1); }
    50%     { transform: translateY(-10px) rotate(3deg) scale(1.06); }
}
@keyframes modakShadow {
    0%,100% { filter: drop-shadow(0 3px 4px rgba(176,132,40,.22)); }
    50%     { filter: drop-shadow(0 9px 10px rgba(176,132,40,.40)); }
}
@keyframes modakGlow {
    0%,100% { opacity: .25; transform: scale(.92); }
    50%     { opacity: .6;  transform: scale(1.08); }
}
@keyframes modakShine {
    0%,100% { transform: translateY(4px) scaleY(.8); opacity: .35; }
    50%     { transform: translateY(-4px) scaleY(1.1); opacity: .75; }
}
@keyframes modakSpark {
    0%,100%   { opacity: 0; transform: scale(.3) rotate(0deg); }
    45%,60%   { opacity: 1; transform: scale(1.15) rotate(90deg); }
}
@keyframes modakLine {
    0%,100% { opacity: .5; transform: scaleX(.9); }
    50%     { opacity: 1; transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
    .modak, .modak *, .modak-row::after { animation: none !important; }
}
@media (max-width: 600px) { .modak:nth-child(2n) { display: none; } .modak { width: 44px; } }

/* ---------- Collection section Ganesha watermark ---------- */
.collection-sec { position: relative; overflow: hidden; }
.collection-sec > .head, .collection-sec > .loc-filter, .collection-sec > .lp-grid { position: relative; z-index: 1; }
.coll-bg { position: absolute; top: 50%; width: 480px; height: 480px; color: var(--gold-dark); opacity: .16; z-index: 0; pointer-events: none; }
.coll-bg svg { width: 100%; height: 100%; }
.coll-bg-l { left: -90px; transform: translateY(-50%) rotate(-6deg); animation: collSwayL 10s ease-in-out infinite; }
.coll-bg-r { right: -90px; transform: translateY(-50%) rotate(6deg); animation: collSwayR 12s ease-in-out infinite; }
@keyframes collSwayL { 0%,100% { transform: translateY(-50%) rotate(-6deg); } 50% { transform: translateY(-54%) rotate(-1deg); } }
@keyframes collSwayR { 0%,100% { transform: translateY(-50%) rotate(6deg); } 50% { transform: translateY(-46%) rotate(1deg); } }
@media (max-width: 900px) { .coll-bg { width: 320px; height: 320px; opacity: .1; } .coll-bg-l { left: -120px; } .coll-bg-r { right: -120px; } }

/* ---------- Product grid ---------- */
.lp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1100px) { .lp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.lp-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; min-width: 0; box-shadow: 0 6px 20px rgba(61,42,27,.08); display: flex; flex-direction: column; transition: box-shadow .28s, transform .28s, border-color .28s; }
.lp-card:hover { box-shadow: 0 22px 44px rgba(226,59,46,.22); transform: translateY(-6px); border-color: var(--gold-light); }
.lp-card .ph { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--gradient-soft); cursor: pointer; }
.lp-card .ph .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22,.61,.36,1), opacity .6s ease; }
.lp-card .ph .ph-1 { z-index: 1; }
.lp-card .ph .ph-2 { z-index: 2; opacity: 0; }
.lp-card:hover .ph .ph-1 { transform: scale(1.12); }
.lp-card:hover .ph .ph-2 { opacity: 1; transform: scale(1.12); }
.lp-card .ph::after { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(to top, rgba(20,14,8,.5), transparent 42%); pointer-events: none; }
/* hover overlay with Quick View */
.lp-card .ph-ov { position: absolute; inset: 0; z-index: 4; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 56px; background: linear-gradient(to top, rgba(20,14,8,.5), rgba(20,14,8,.05) 60%, transparent); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.lp-card:hover .ph-ov { opacity: 1; }
.lp-card .ph-view { display: inline-flex; align-items: center; gap: 7px; background: #fff; color: var(--brown); font-weight: 700; font-size: 13px; padding: 9px 16px; border-radius: 999px; box-shadow: var(--shadow-md); transform: translateY(14px); transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.lp-card:hover .ph-view { transform: translateY(0); }
/* shine sweep */
.lp-card .shine { position: absolute; top: 0; left: -65%; width: 45%; height: 100%; z-index: 5; transform: skewX(-20deg); pointer-events: none; opacity: 0; background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent); }
.lp-card:hover .shine { animation: shineSweep .85s ease; }
@keyframes shineSweep { 0% { left: -65%; opacity: 0; } 25% { opacity: 1; } 100% { left: 130%; opacity: 0; } }
.lp-card .ph .noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--gold-light); }
.lp-card .ph .tag { position: absolute; left: 13px; bottom: 13px; z-index: 2; color: #fff; font-weight: 800; font-size: 18px; background: var(--gradient-festive); padding: 6px 15px; border-radius: var(--radius-pill); box-shadow: 0 4px 12px rgba(226,59,46,.45); }
.lp-card .ph .code-tag { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .03em; background: rgba(46,36,23,.82); backdrop-filter: blur(4px); padding: 5px 11px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.25); box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.lp-card .bd { padding: 16px 18px 10px; flex: 1; min-width: 0; }
.lp-card .bd .nm { font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; overflow-wrap: anywhere; }
.lp-card .bd .mt { font-size: 13px; color: var(--text-muted); margin-top: 5px; }
.lp-card .ac { display: flex; gap: 10px; padding: 0 18px 18px; min-width: 0; }
.lp-card .ac .b-ghost { flex: none; }
.lp-card .ac .b-add { flex: 1; min-width: 0; white-space: nowrap; }

.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: none; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 13.5px; padding: 10px 15px; border-radius: 10px; text-decoration: none; transition: filter .15s, transform .05s, background .15s; }
.lp-btn:active { transform: translateY(1px); }
.lp-btn.b-add { background: var(--gradient-festive); color: #fff; box-shadow: 0 3px 10px rgba(226,59,46,.28); }
.lp-btn.b-add:hover { filter: brightness(1.06); color: #fff; }
.lp-btn.b-ghost { background: #fff; color: var(--brown); border: 1px solid var(--border-strong); }
.lp-btn.b-ghost:hover { background: var(--surface-2); }
.lp-btn.b-block { width: 100%; }
.lp-btn.in-cart { background: var(--success); color: #fff; }
.lp-btn.b-req { flex: 1; min-width: 0; white-space: nowrap; background: var(--brown); color: #ffe9c2; box-shadow: 0 3px 10px rgba(46,36,23,.25); }
.lp-btn.b-req:hover { filter: brightness(1.12); color: #fff; }

/* ---------- Out-of-stock card (disabled look) ---------- */
.lp-card.out .ph .ph-img { filter: grayscale(.85) brightness(.92); }
.lp-card.out .ph .tag, .lp-card.out .ph::after { opacity: .85; }
.lp-card.out:hover { transform: none; box-shadow: 0 6px 20px rgba(61,42,27,.08); border-color: var(--border); }
.lp-card.out:hover .ph .ph-1 { transform: none; }
.lp-card.out .nm { color: var(--text-muted); }
.oos-badge { position: absolute; top: 12px; right: 12px; z-index: 4; background: rgba(46,36,23,.86); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(4px); }

/* ---------- Discount + best seller + low stock ---------- */
.lp-card .ph .tag s { font-size: 12px; font-weight: 600; opacity: .8; margin-left: 4px; }
.bs-badge { position: absolute; top: 12px; right: 12px; z-index: 4; display: inline-flex; align-items: center; gap: 3px; background: linear-gradient(135deg,#ffce3a,#ff9d2e); color: #3a2a05; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; padding: 5px 10px; border-radius: 999px; box-shadow: 0 3px 9px rgba(226,150,20,.45); }
.off-badge { position: absolute; right: 13px; bottom: 13px; z-index: 3; background: var(--brown); color: #ffe9c2; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; box-shadow: 0 3px 9px rgba(46,36,23,.4); }
.sale-banner { text-align: center; max-width: 600px; margin: 0 auto 22px; padding: 12px 18px; border-radius: 12px; font-size: 15px; font-weight: 700; color: #fff; background: var(--gradient-festive); box-shadow: 0 6px 18px rgba(226,59,46,.3); }
.sale-banner .sb-end { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; opacity: .95; }
.lp-card .bd .prc { display: flex; align-items: baseline; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
.lp-card .bd .prc .now { font-size: 21px; font-weight: 800; color: var(--festive-red); letter-spacing: -.02em; line-height: 1; }
.lp-card .bd .prc .was { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.lp-card .bd .prc .off2 { font-size: 12px; font-weight: 800; color: var(--success); background: color-mix(in srgb, var(--success) 12%, white); padding: 2px 8px; border-radius: 999px; }
.lp-card .bd .lowstk { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; font-size: 12px; font-weight: 700; color: var(--festive-red); }
.lp-card .bd .lowstk .ico { color: var(--festive-red); }
/* details modal pricing + best-seller pill */
.bs-pill { display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(135deg,#ffce3a,#ff9d2e); color: #3a2a05; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; vertical-align: middle; }
.lp-modal .pr .d-now { font-weight: 800; }
.lp-modal .pr .d-was { font-size: 16px; color: var(--text-muted); font-weight: 600; }
.lp-modal .pr .d-off { font-size: 13px; font-weight: 800; color: #fff; background: var(--festive-red); padding: 2px 9px; border-radius: 999px; vertical-align: middle; }

/* ---------- Request (out-of-stock) modal ---------- */
.req-head { text-align: center; margin-bottom: 16px; }
.req-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--gradient-festive); color: #fff; box-shadow: 0 6px 16px rgba(226,59,46,.3); margin-bottom: 10px; }
.req-head h3 { font-family: var(--font-display); font-size: 24px; margin: 0 0 4px; color: var(--brown); }
.req-head p { font-size: 13.5px; color: var(--text-muted); margin: 0; line-height: 1.5; }
.req-ok { margin: 12px 0 0; text-align: center; color: var(--success); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.req-err { margin: 12px 0 0; text-align: center; color: var(--danger); font-weight: 600; font-size: 13px; }
.d-oos { background: color-mix(in srgb, var(--danger) 10%, white); color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 25%, white); border-radius: 10px; padding: 9px 12px; font-size: 13px; font-weight: 600; margin-bottom: 10px; text-align: center; }
/* ---- Murti add-ons (Feta / Dhotar / Mala) selectors in detail modal ---- */
.d-addons { margin-top: 14px; }
.d-ad-title { font-size: 13.5px; font-weight: 800; color: var(--brown); letter-spacing: .02em; margin-bottom: 10px; }
.d-ad-title span { color: var(--text-muted); font-weight: 500; }
/* Detail modal: clean swatch rows (category + colour dots + selected·price) */
.d-acc { border: 1px solid var(--border); border-radius: 12px; padding: 4px 14px; background: #fff; }
.d-acc-r { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.d-acc-r + .d-acc-r { border-top: 1px solid var(--border); }
.d-acc-lbl { flex: 0 0 58px; font-size: 11px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.d-acc-dots { display: flex; flex-wrap: wrap; gap: 7px; flex: 1; min-width: 0; }
.d-acc-sel { font-size: 12.5px; color: var(--text-muted); white-space: nowrap; text-align: right; min-width: 88px; }
.d-acc-sel b { color: var(--brown); font-weight: 700; }
.d-acc-none { color: var(--text-muted); }
.d-ad-grp { margin-bottom: 10px; }
.d-ad-lbl { font-size: 12.5px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.d-ad-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.d-ad-chip { font-size: 12px; font-weight: 600; color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: all .18s ease; }
.d-ad-chip b { font-weight: 800; color: var(--festive-red); }
.d-ad-chip:hover { border-color: var(--gold-light); }
.d-ad-chip.active { background: var(--gradient-festive); color: #fff; border-color: transparent; box-shadow: 0 3px 10px rgba(226,59,46,.3); }
.d-ad-chip.active b { color: #fff; }
.d-ad-sum { margin-top: 10px; font-size: 13px; color: var(--text); }
.d-ad-sum b { color: var(--festive-red); font-weight: 800; }
.d-ad-total { display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 11px 14px; border-radius: 12px; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--gold) 28%, white); }
.d-ad-total span { font-size: 13px; font-weight: 700; color: var(--brown); }
.d-ad-total b { font-size: 21px; font-weight: 800; color: var(--festive-red); letter-spacing: -.02em; }
.d-ad-break { font-size: 11.5px; color: var(--text-muted); text-align: right; margin-top: 5px; }
.ci .info .ci-addons { font-size: 11.5px; color: var(--text-muted); margin-top: 3px; line-height: 1.5; }
.co-item .ci-tx .ci-ad { font-size: 11.5px; color: var(--text-muted); margin-top: 3px; line-height: 1.5; }
.req-logged { display: flex; align-items: center; gap: 7px; background: color-mix(in srgb, var(--success) 10%, white); color: var(--success); border: 1px solid color-mix(in srgb, var(--success) 25%, white); border-radius: 10px; padding: 10px 13px; font-size: 13px; font-weight: 600; margin-bottom: 14px; }

/* ---------- Cart drawer ---------- */
.lp-overlay { display: none; position: fixed; inset: 0; background: rgba(20,14,8,.55); z-index: 80; }
.lp-overlay.show { display: block; }
.lp-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 94vw; background: var(--cream); z-index: 90; transform: translateX(100%); transition: transform .3s cubic-bezier(.22,.61,.36,1); display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(20,14,8,.22); }
.lp-drawer.show { transform: translateX(0); }
.lp-drawer .dh { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; color: #fff; background: var(--gradient-festive); }
.lp-drawer .dh h3 { font-family: var(--font-display); font-size: 22px; display: inline-flex; align-items: center; gap: 9px; color: #fff; }
.lp-drawer .dh .x { background: rgba(255,255,255,.2); border: none; width: 34px; height: 34px; border-radius: 50%; font-size: 22px; cursor: pointer; color: #fff; line-height: 1; display: grid; place-items: center; transition: background .15s; }
.lp-drawer .dh .x:hover { background: rgba(255,255,255,.35); }
.lp-drawer .db { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.lp-drawer .df { border-top: 1px solid var(--border); padding: 18px 20px; background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.05); }
/* cart item card */
.ci { display: flex; gap: 13px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 12px; box-shadow: var(--shadow-sm); animation: fadeUp .35s ease both; }
.ci img { width: 70px; height: 70px; flex: none; object-fit: cover; border-radius: 11px; border: 1px solid var(--border); }
.ci .info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ci .info .n { font-weight: 700; font-size: 14px; line-height: 1.25; }
.ci .info .p { color: var(--text-muted); font-size: 12px; margin-top: 1px; }
.ci .ci-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.ci .line { font-weight: 800; font-size: 15px; color: var(--gold-dark); }
.ci .rm { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 4px; border-radius: 8px; display: grid; place-items: center; transition: color .15s, background .15s; }
.ci .rm:hover { color: var(--danger); background: #fef2f2; }
.ci-qty { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); overflow: hidden; align-self: flex-start; margin-top: 8px; background: #fff; }
.ci-qty button { width: 28px; height: 28px; border: none; background: #fff; cursor: pointer; font-size: 16px; font-weight: 700; color: var(--gold-dark); transition: background .14s; }
.ci-qty button:hover { background: var(--brand-soft); }
.ci-qty span { min-width: 32px; text-align: center; font-weight: 800; font-size: 13px; }
.cart-empty { text-align: center; color: var(--text-muted); padding: 50px 14px; margin: auto 0; }
.cart-empty .ce-ic { width: 70px; height: 70px; margin: 0 auto 12px; border-radius: 50%; background: var(--brand-soft); color: var(--gold); display: grid; place-items: center; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; }
.sum-row.total { font-size: 18px; font-weight: 800; }
.sum-row.total b { color: var(--gold-dark); }
.sum-row .gold { color: var(--gold-dark); }
.df-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11.5px; color: var(--text-muted); margin: 10px 0 0; }

/* ---------- Modal (details + order form) ---------- */
.lp-modal { display: none; position: fixed; inset: 0; z-index: 100; }
.lp-modal.show { display: block; }
.lp-modal .bk { position: absolute; inset: 0; background: rgba(20,14,8,.6); }
.lp-modal .cd { position: relative; z-index: 1; width: 92%; max-width: 820px; margin: 5vh auto; max-height: 90vh; overflow-y: auto; overflow-x: hidden; background: #fff; border-radius: 18px; box-shadow: var(--shadow-md); animation: popIn .25s ease both; }
#oModal .cd { max-width: 560px; }
.lp-modal .x { position: absolute; top: 12px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: #fff; font-size: 22px; cursor: pointer; }
.lp-modal .mg { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px; }
@media (max-width: 720px) { .lp-modal .mg { grid-template-columns: 1fr; } }
.lp-modal .big { width: 100%; max-height: 420px; min-height: 280px; object-fit: contain; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 8px; }
.lp-modal .th { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.lp-modal .th img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; border: 2px solid var(--border); cursor: pointer; }
.lp-modal .th img.active { border-color: var(--gold); }
.lp-modal .nm { font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.lp-modal .pr { font-size: 28px; font-weight: 800; color: var(--gold-dark); margin: 8px 0; }
.lp-form .fg { margin-bottom: 12px; }
.lp-form label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 5px; }

/* Professional confirm-order modal */
.ord-form { padding: 26px; }
.ord-head h2 { font-family: var(--font-display); font-size: 26px; margin: 0 0 4px; }
.ord-head p { color: var(--text-muted); font-size: 13px; margin: 0 0 16px; }
.ord-err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; font-size: 13px; }
.os-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; }
.os-card h4, .lp-form h4.sec { display: flex; align-items: center; gap: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin: 0 0 10px; font-weight: 700; }
.os-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.os-row:last-of-type { border-bottom: none; }
.os-total { display: flex; justify-content: space-between; font-size: 17px; font-weight: 800; margin-top: 10px; padding-top: 11px; border-top: 2px solid var(--border); }
.os-total .a { color: var(--gold-dark); }
.ord-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ord-fields .fg { margin-bottom: 0; }
.ord-fields .fg.full { grid-column: 1 / -1; }
@media (max-width: 520px) { .ord-fields { grid-template-columns: 1fr; } }
.lp-form input, .lp-form textarea, .lp-form select { width: 100%; max-width: 100%; padding: 11px 13px; border: 1px solid var(--border-strong); border-radius: 9px; font-family: inherit; font-size: 14px; box-sizing: border-box; background: #fff; color: inherit; }
.lp-form textarea { resize: vertical; }
/* Native select: hide default arrow, add a matching custom chevron */
.lp-form select { appearance: none; -webkit-appearance: none; -moz-appearance: none; padding-right: 38px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b08428' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 13px center; }
.lp-form input:focus, .lp-form textarea:focus, .lp-form select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 16%, white); }

/* ---------- Success ---------- */
.lp-success { display: none; position: fixed; inset: 0; z-index: 120; background: rgba(20,14,8,.7); }
.lp-success.show { display: grid; place-items: center; padding: 20px; }
.lp-success .cd { background: #fff; border-radius: 20px; max-width: 460px; width: 100%; padding: 36px 30px; text-align: center; animation: popIn .3s ease both; }
.lp-success .ok { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; }
.lp-success h2 { font-family: var(--font-display); font-size: 28px; }
.lp-success .codes { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 12px; margin: 14px 0; font-weight: 700; }
.lp-success img.qr { width: 180px; height: 180px; border: 1px solid var(--border); border-radius: 10px; padding: 6px; margin: 10px auto; }

/* ---------- Footer ---------- */
.lp-footer { background: var(--brown); color: #e9d9be; margin-top: 30px; }
.lp-footer .wrap { max-width: 1200px; margin: 0 auto; padding: 36px 20px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.lp-footer .bn { font-family: var(--font-display); font-size: 24px; color: #fff; }
.lp-footer a { color: var(--gold-light); }
.lp-footer .qr { text-align: center; }
.lp-footer .qr img { width: 130px; height: 130px; background: #fff; border-radius: 10px; padding: 6px; }
@media (max-width: 640px) { .lp-footer .wrap { grid-template-columns: 1fr; text-align: center; } .lp-footer .qr img { margin: 0 auto; } }

/* ---------- Auth (customer login / signup) ---------- */
.lp-auth-wrap {
    min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 30px 20px;
    background: var(--cream);
    background-image: radial-gradient(circle at 14% 16%, rgba(226,59,46,.10), transparent 40%),
                      radial-gradient(circle at 86% 84%, rgba(245,166,35,.12), transparent 40%);
}
.lp-auth { background: #fff; border: 1px solid var(--border-strong); border-top: 4px solid var(--festive-orange); border-radius: 18px; box-shadow: var(--shadow-md); width: 100%; max-width: 430px; padding: 36px 32px; }
.lp-auth .logo { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-size: 30px; font-family: var(--font-display); background: var(--gradient-festive); box-shadow: 0 8px 20px rgba(226,59,46,.4); }
.lp-auth h1 { text-align: center; font-family: var(--font-display); font-size: 26px; margin: 0 0 2px; }
.lp-auth .sub { text-align: center; color: var(--text-muted); font-size: 13px; margin: 0 0 20px; }
.lp-auth .alt { text-align: center; margin-top: 16px; font-size: 13.5px; color: var(--text-muted); }
.lp-auth .alt a { color: var(--festive-red); font-weight: 700; }
.lp-auth .err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; font-size: 13px; }
.lp-auth .ok { background: #ecfdf3; color: #0f7a4b; border: 1px solid #bbf3d4; padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; font-size: 13px; }
.lp-back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); text-decoration: none; font-size: 13px; margin-bottom: 14px; }

/* header account chip */
.lp-acct { display: inline-flex; align-items: center; gap: 10px; }
.lp-acct a { text-decoration: none; font-weight: 600; font-size: 13.5px; color: var(--brown); }
.lp-acct .hi { color: var(--text-muted); font-size: 13px; }
.lp-link { color: var(--brown); font-weight: 600; text-decoration: none; font-size: 13.5px; }

/* ---------- Account / My Orders (redesigned) ---------- */
.acct-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--gradient-festive); color: #fff; border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.acct-hero::after { content: ""; position: absolute; right: -40px; top: -50px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.2), transparent 70%); }
.acct-hero .ah-left { display: flex; align-items: center; gap: 16px; position: relative; z-index: 1; }
.acct-hero .ah-avatar { width: 58px; height: 58px; flex: none; border-radius: 50%; background: rgba(255,255,255,.22); border: 2px solid rgba(255,255,255,.6); display: grid; place-items: center; font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.acct-hero .ah-hi { font-size: 13px; opacity: .9; }
.acct-hero .ah-name { font-family: var(--font-display); font-size: 28px; margin: 0; line-height: 1.1; }
.acct-hero .ah-sub { font-size: 12px; opacity: .9; margin-top: 3px; }
.acct-hero .ah-cta { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; background: #fff; color: var(--festive-red); font-weight: 800; padding: 11px 20px; border-radius: 999px; text-decoration: none; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.acct-hero .ah-cta:hover { color: var(--festive-red); transform: translateY(-2px); }

.acct-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0 26px; }
@media (max-width: 680px) { .acct-stats { grid-template-columns: 1fr 1fr; } }
.astat { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }
.astat .ic { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.astat .ic.c1 { background: linear-gradient(135deg,#4361ee,#3a0ca3); }
.astat .ic.c2 { background: var(--gradient-gold); }
.astat .ic.c3 { background: linear-gradient(135deg,#2dd36f,#0f7a4b); }
.astat .ic.c4 { background: var(--gradient-festive); }
.astat .l { font-size: 11.5px; color: var(--text-muted); font-weight: 600; }
.astat .v { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }

/* ---------- Professional order history (Amazon-style) ---------- */
.acc-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.acc-top h1 { font-family: var(--font-display); font-size: 30px; margin: 0; }
.acc-top p { color: var(--text-muted); font-size: 13.5px; margin: 4px 0 0; }
.acc-top { animation: fadeUp .45s cubic-bezier(.22,.61,.36,1) both; }
.op { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 16px; box-shadow: var(--shadow-sm); animation: fadeUp .55s cubic-bezier(.22,.61,.36,1) both; transition: box-shadow .25s ease, transform .2s ease, border-color .2s ease; }
.op:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gold-light); }
.op:nth-child(2){animation-delay:.05s} .op:nth-child(3){animation-delay:.12s} .op:nth-child(4){animation-delay:.19s}
.op:nth-child(5){animation-delay:.26s} .op:nth-child(6){animation-delay:.33s} .op:nth-child(n+7){animation-delay:.4s}
.op-head { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; padding: 13px 18px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.op-head .opc { display: flex; flex-direction: column; }
.op-head .opc span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); font-weight: 600; }
.op-head .opc b { font-size: 14px; font-weight: 700; margin-top: 2px; }
.op-head .opc-r { margin-left: auto; text-align: right; align-items: flex-end; }
.op-head .opc-r span { font-weight: 700; color: var(--brown); }
.op-body { display: flex; align-items: center; gap: 16px; padding: 16px 18px; }
.op-media { width: 80px; height: 80px; flex: none; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); }
.op-media img { width: 100%; height: 100%; object-fit: cover; }
.op-media .op-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--gold-light); }
.op-main { flex: 1; min-width: 0; }
.op-name { font-weight: 700; font-size: 17px; line-height: 1.2; }
.op-code { font-size: 12.5px; color: var(--gold-dark); font-weight: 600; margin-top: 2px; }
.op-prog { display: flex; align-items: center; gap: 9px; margin-top: 10px; max-width: 360px; }
.op-prog .bar { flex: 1; height: 7px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 99px; overflow: hidden; }
.op-prog .bar span { display: block; height: 100%; background: var(--gradient-gold); border-radius: 99px; transform-origin: left; animation: growBar 1s .25s cubic-bezier(.22,.61,.36,1) both; }
@keyframes growBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.op-prog .pl { font-size: 11px; color: var(--gold-dark); font-weight: 700; white-space: nowrap; }
.op-act { display: flex; flex-direction: column; gap: 8px; flex: none; }
.op-act .lp-btn { font-size: 13px; padding: 9px 16px; white-space: nowrap; }
@media (max-width: 760px) {
    .op-head { gap: 14px 20px; }
    .op-head .opc-r { width: 100%; margin-left: 0; text-align: left; align-items: flex-start; }
    .op-body { flex-wrap: wrap; }
    .op-act { flex-direction: row; width: 100%; }
    .op-act .lp-btn { flex: 1; }
}

/* one booking per row (list, not cards) */
.ord-list { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.ord-row { display: grid; grid-template-columns: 76px minmax(0,1.5fr) 1.3fr auto; align-items: center; gap: 18px; padding: 16px 18px; border-bottom: 1px solid var(--border); transition: background .15s; }
.ord-row:last-child { border-bottom: none; }
.ord-row:hover { background: var(--brand-soft); }
.orr-media { width: 76px; height: 76px; flex: none; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); }
.orr-media img { width: 100%; height: 100%; object-fit: cover; }
.orr-media .orr-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--gold-light); }
.orr-main { min-width: 0; }
.orr-name { font-weight: 700; font-size: 16px; line-height: 1.25; }
.orr-code { font-size: 11.5px; font-weight: 700; color: var(--gold-dark); background: var(--brand-soft); border: 1px solid color-mix(in srgb,var(--gold) 25%,white); padding: 2px 8px; border-radius: 999px; margin-left: 4px; }
.orr-meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; display: inline-flex; align-items: center; gap: 5px; }
.orr-prog { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.orr-prog .bar { flex: 1; max-width: 200px; height: 7px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 99px; overflow: hidden; }
.orr-prog .bar span { display: block; height: 100%; background: var(--gradient-gold); border-radius: 99px; }
.orr-prog .pl { font-size: 11px; color: var(--gold-dark); font-weight: 700; }
.orr-amts { display: flex; gap: 20px; }
.orr-amts span { display: flex; flex-direction: column; }
.orr-amts small { font-size: 10.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; }
.orr-amts b { font-size: 15px; font-weight: 800; margin-top: 1px; }
.orr-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.orr-act { display: flex; gap: 8px; }
.orr-act .lp-btn { font-size: 12.5px; padding: 8px 13px; }
@media (max-width: 880px) {
    .ord-row { grid-template-columns: 64px 1fr; grid-template-areas: "media main" "amts amts" "side side"; gap: 12px 14px; }
    .orr-media { width: 64px; height: 64px; grid-area: media; }
    .orr-main { grid-area: main; }
    .orr-amts { grid-area: amts; justify-content: space-between; }
    .orr-side { grid-area: side; flex-direction: row; align-items: center; justify-content: space-between; }
}

/* My Orders (legacy) */
.acct-order { background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 16px 18px; margin-bottom: 14px; }
.acct-order .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.acct-order .oc { font-weight: 800; font-family: var(--font-display); font-size: 18px; }
.acct-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px,1fr)); gap: 10px; }
.acct-grid .b { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 9px 11px; }
.acct-grid .b .l { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); font-weight: 700; }
.acct-grid .b .v { font-weight: 800; font-size: 15px; margin-top: 2px; }

/* ---------- Booking details (side-by-side) ---------- */
.od-wrap { max-width: 920px; margin: 0 auto; }
.od-2col { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .od-2col { grid-template-columns: minmax(0, 1fr); } }
.od-col-r { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.od-left { position: sticky; top: 84px; min-width: 0; }
.od-card { min-width: 0; }
@media (max-width: 860px) { .od-left { position: static; } }
.od-sum { padding: 18px; }
.od-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); }
.od-sum .od-name { font-weight: 700; font-size: 18px; margin-top: 12px; line-height: 1.25; }
.od-sum .od-codeline { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; }
.od-rows { margin-top: 14px; border-top: 1px solid var(--border); }
.od-rows .r { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.od-rows .r:last-child { border-bottom: none; }
.od-rows .r span { color: var(--text-muted); font-size: 13.5px; }
.od-rows .r b { font-size: 16px; font-weight: 800; }
.od-note { margin-top: 14px; padding: 11px 14px; border-radius: 10px; font-weight: 600; font-size: 13.5px; }
.od-note.ok-note { background: #ecfdf3; border: 1px solid #bbf3d4; color: #0f7a4b; }
.od-note.bal-note { background: linear-gradient(135deg, #fff3d6, #ffe0cf); border: 1px solid #f4c58a; color: #b5521a; display: flex; align-items: center; gap: 7px; }
.od-note.bal-note strong { color: var(--festive-red); }
.od-pad { padding: 18px; }
.od-h { font-family: var(--font-display); font-size: 20px; margin: 0 0 12px; }
@media (max-width: 600px) {
    .od-2col { gap: 14px; }
    .od-sum, .od-pad { padding: 14px; }
    .od-img { aspect-ratio: 4/3; }
    .od-h { font-size: 18px; }
    .od-top { padding: 12px 14px; }
    .od-top .oc { font-size: 18px; }
    .pay-amount { flex-direction: column; align-items: flex-start; gap: 6px; padding: 13px 15px; }
    .pay-amount .pa-value { font-size: 24px; }
    .pay-table th, .pay-table td { padding: 8px 9px; font-size: 12.5px; white-space: nowrap; }
    .co-pay-box { flex-direction: column; text-align: center; }
    .co-pay-box .co-pay-info { min-width: 0; }
    .co-qr { margin: 0 auto; }
}
.od-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-md); overflow: hidden; }
.od-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 20px; background: var(--gradient-festive); color: #fff; }
.od-top .oc { word-break: break-word; }
.od-top .oc { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.od-top .badge { background: rgba(27, 87, 13, 0.92); border: none; padding:6px; border-radius:10px; font-size:12px }
.od-body { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 26px; padding: 24px 22px; }
@media (max-width: 680px) { .od-body { grid-template-columns: 1fr; } }
.od-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 1px solid var(--border); }
.od-media .mn { font-weight: 800; font-size: 18px; margin-top: 12px; }
.od-media .mc { color: var(--text-muted); font-size: 13px; }
.od-amts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.od-amt { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px 15px; }
.od-amt .l { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); font-weight: 700; }
.od-amt .v { font-size: 22px; font-weight: 800; margin-top: 3px; }
.od-amt.big { grid-column: 1 / -1; background: var(--brand-soft); border-color: color-mix(in srgb, var(--gold) 22%, white); }
.od-amt.big .v { font-size: 28px; color: var(--brown); }
.pay-sec { padding: 4px 22px 22px; }
.pay-sec h3 { font-family: var(--font-display); font-size: 21px; margin: 6px 0 12px; }
.pay-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pay-table th, .pay-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.pay-table th { background: var(--surface-2); text-transform: uppercase; font-size: 11px; letter-spacing: .04em; color: var(--text-muted); }
.pay-empty { color: var(--text-muted); font-size: 14px; }
.od-payqr { text-align: center; padding: 4px 22px 24px; }
.od-payqr img { width: 180px; height: 180px; border: 1px solid var(--border); border-radius: 10px; padding: 6px; background: #fff; }
.ao-prod { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.ao-prod img, .ao-prod .ao-ph { width: 60px; height: 60px; flex: none; border-radius: 12px; object-fit: cover; border: 1px solid var(--border); background: var(--surface-2); }
.ao-prod .ao-ph { display: grid; place-items: center; color: var(--gold-light); }
.ao-prod .ao-name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.ao-prod .ao-code { font-size: 12px; color: var(--gold-dark); font-weight: 600; }
.acct-order .vd { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; font-size: 13.5px; color: var(--festive-red); text-decoration: none; }
.acct-order .vd:hover { text-decoration: underline; }

/* ---------- Responsive polish ---------- */
@media (max-width: 600px) {
    .lp-header .wrap { padding: 10px 14px; gap: 8px; }
    .lp-brand .bn { font-size: 18px; }
    .lp-brand .logo { width: 40px; height: 40px; }
    .lp-acct { gap: 8px; }
    .lp-acct .hi { display: none; }
    .lp-cart-btn { padding: 9px 12px; font-size: 13px; }
    .lp-section { padding: 36px 16px; }
    .lp-section .head h2 { font-size: 26px; }
    .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .lp-card .bd { padding: 12px 12px 8px; }
    .lp-card .ac { padding: 0 12px 14px; gap: 7px; }
    .lp-card .bd .nm { font-size: 15px; }
    .lp-card .ac .b-add { padding-left: 10px; padding-right: 10px; }
    .lp-card .ac .b-view { display: none; }   /* tap image to view; keep Share + Add */
    /* compact badges + keep code-tag (top-left) and status badge from overlapping on narrow cards */
    .lp-card .ph .code-tag { font-size: 10px; padding: 4px 8px; gap: 4px; }
    .lp-card .ph .code-tag svg { width: 11px; height: 11px; }
    .bs-badge, .oos-badge { top: auto; bottom: 11px; left: 11px; right: auto; font-size: 9.5px; padding: 4px 8px; }
    .off-badge { bottom: 11px; right: 11px; font-size: 10px; padding: 4px 8px; }
    .lp-hero h1 { font-size: 32px; }
    .acct-grid { grid-template-columns: 1fr 1fr; }
    .od-amts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
    .lp-grid { grid-template-columns: minmax(0, 1fr); }   /* one rich card per row */
    .hero-cta { width: 100%; justify-content: center; }
    .hero-ctas { width: 100%; }
}

/* ---------- Auth tabs (combined login/signup/forgot) ---------- */
.auth-tabs { display: flex; gap: 5px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 5px; margin-bottom: 16px; }
.auth-tab { flex: 1; padding: 9px; border: none; background: none; border-radius: 8px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--text-muted); font-family: inherit; transition: background .15s, color .15s; }
.auth-tab.active { background: var(--gradient-festive); color: #fff; }
.auth-intro { text-align: center; color: var(--text-muted); font-size: 13px; line-height: 1.5; margin: -4px 0 16px; }
.auth-alt { text-align: right; margin-top: 10px; }
.auth-alt a { color: var(--text-muted); font-size: 12.5px; font-weight: 600; text-decoration: none; }
.auth-alt a:hover { color: var(--festive-red); }
.auth-switch { text-align: center; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); font-size: 13.5px; color: var(--text-muted); }
.auth-switch a { color: var(--festive-red); font-weight: 700; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

/* ---------- Banner slideshow (hero) ---------- */
.banner-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.banner-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.banner-slide.active { opacity: 1; animation: kenburns 8s ease forwards; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.2); } }
.banner-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(140,14,24,.9), rgba(226,82,26,.8) 55%, rgba(245,166,35,.72)); }
.banner-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.banner-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; transition: all .2s; }
.banner-dots button.active { background: #fff; width: 24px; border-radius: 5px; }

/* ---------- Location filter pills ---------- */
.loc-filter { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; margin: 0 0 26px; }
.loc-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border-strong); background: #fff; color: var(--brown); font-weight: 600; font-size: 13px; text-decoration: none; transition: all .15s; }
.loc-pill:hover { border-color: var(--festive-orange); color: var(--festive-red); }
.loc-pill.active { background: var(--gradient-festive); color: #fff; border-color: transparent; box-shadow: 0 3px 10px rgba(226,59,46,.3); }

/* ---------- Checkout (professional) ---------- */
.co-wrap { max-width: 1060px; margin: 0 auto; padding: 28px 20px 50px; }
.co-title { font-family: var(--font-display); font-size: 34px; font-weight: 700; margin: 6px 0 14px; }
.co-steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.co-step { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; }
.co-step b { width: 20px; height: 20px; border-radius: 50%; background: var(--border-strong); color: #fff; display: grid; place-items: center; font-size: 11px; }
.co-step.active { color: var(--gold-dark); border-color: color-mix(in srgb, var(--gold) 35%, white); background: var(--brand-soft); }
.co-step.active b { background: var(--gradient-gold); }

.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: 20px; align-items: start; }
@media (max-width: 820px) { .co-grid { grid-template-columns: 1fr; } .co-summary { position: static !important; } }
.co-col { display: flex; flex-direction: column; gap: 18px; }
.co-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.co-h { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.co-h h3 { font-family: var(--font-display); font-size: 21px; font-weight: 700; margin: 0; }
.co-num { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--gradient-gold); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }

/* delivery option cards */
.co-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 440px) { .co-opts { grid-template-columns: 1fr; } }
.co-opt { display: flex; align-items: center; gap: 11px; border: 2px solid var(--border); border-radius: 12px; padding: 13px; cursor: pointer; transition: border-color .15s, background .15s; }
.co-opt input { display: none; }
.co-opt .co-opt-ic { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--gold-dark); }
.co-opt .co-opt-tx b { display: block; font-size: 14px; }
.co-opt .co-opt-tx small { color: var(--text-muted); font-size: 11.5px; }
.co-opt.selected { border-color: var(--festive-orange); background: var(--brand-soft); }
.co-opt.selected .co-opt-ic { background: var(--gradient-gold); color: #fff; }
.co-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-when { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 13px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--brown); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--gold) 22%, white); }
.co-when .ico { color: var(--gold-dark); flex: none; }
.co-when span { font-weight: 400; color: var(--text-muted); }
.co-when-deliver { color: var(--success); background: color-mix(in srgb, var(--success) 9%, white); border-color: color-mix(in srgb, var(--success) 25%, white); }
.co-when-deliver .ico { color: var(--success); }

/* payment */
.co-pay-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-top: 8px; }
.pay-quick { display: flex; gap: 8px; }
.pay-quick .chip { background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 999px; padding: 9px 13px; font-size: 12.5px; font-weight: 700; cursor: pointer; color: var(--brown); font-family: inherit; white-space: nowrap; }
.pay-quick .chip span { color: var(--gold-dark); }
.pay-quick .chip:hover { border-color: var(--festive-orange); color: var(--festive-red); }
.co-pay-box { display: flex; gap: 16px; align-items: center; margin-top: 14px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 14px; flex-wrap: wrap; }
.co-qr { flex: none; }
.co-qr img { width: 150px; height: 150px; border: 1px solid var(--border); border-radius: 10px; padding: 6px; background: #fff; }
.co-pay-info { flex: 1; min-width: 180px; }
.co-pay-info b { font-size: 15px; }
.co-pay-info p { color: var(--text-muted); font-size: 13px; margin: 5px 0 8px; }
.co-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--success); background: #ecfdf3; border: 1px solid #bbf3d4; padding: 4px 9px; border-radius: 999px; }
.co-upload { display: flex; align-items: center; gap: 12px; margin-top: 14px; border: 2px dashed var(--border-strong); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.co-upload:hover { border-color: var(--festive-orange); background: var(--brand-soft); }
.co-upload.has-file { border-style: solid; border-color: var(--success); background: #f4fef8; }
.co-upload input { display: none; }
.co-upload .co-upload-ic { width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--surface-2); color: var(--gold-dark); display: grid; place-items: center; }
.co-upload small { color: var(--text-muted); }

/* summary */
.co-summary { position: sticky; top: 16px; }
/* highlighted payment amount + method */
.co-hl { background: var(--brand-soft); border: 1.5px solid color-mix(in srgb, var(--gold) 38%, white); border-radius: 12px; padding: 14px; margin-top: 8px; }
.co-hl label { color: var(--gold-dark); font-weight: 700; }
.co-hl input, .co-hl select { border-color: color-mix(in srgb, var(--gold) 40%, white); background: #fff; font-weight: 600; }
/* payment method chips */
.pm-options { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.pm { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--border-strong); border-radius: 10px; padding: 9px 14px; cursor: pointer; font-weight: 600; font-size: 13px; background: #fff; color: var(--text); transition: border-color .15s, background .15s, box-shadow .15s; }
.pm input { display: none; }
.pm .pm-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.pm:hover { border-color: var(--festive-orange); }
.pm.sel, .pm:has(input:checked) { border-color: var(--festive-orange); background: #fff; color: var(--gold-dark); box-shadow: 0 2px 10px rgba(226,59,46,.2); }
.co-hint { display: flex; align-items: center; gap: 7px; background: #fff7e6; border: 1px solid #f3d488; color: #9a6b12; font-size: 12.5px; font-weight: 600; padding: 10px 12px; border-radius: 9px; margin-top: 14px; }
/* pay-balance amount display */
.pay-amount { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1.5px solid color-mix(in srgb, var(--gold) 45%, white); border-radius: 12px; padding: 14px 18px; box-shadow: 0 2px 8px rgba(176,132,40,.12); }
.pay-amount .pa-label { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--gold-dark); }
.pay-amount .pa-value { font-size: 27px; font-weight: 800; color: var(--brown); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.co-items { display: flex; flex-direction: column; gap: 12px; max-height: 320px; overflow-y: auto; }
.co-item { display: flex; align-items: flex-start; gap: 11px; }
.co-item img, .co-item .ph { width: 52px; height: 52px; flex: none; border-radius: 10px; object-fit: cover; border: 1px solid var(--border); background: var(--surface-2); }
.co-item .ci-tx { flex: 1; min-width: 0; }
.co-item .ci-tx .n { font-weight: 700; font-size: 13.5px; line-height: 1.2; }
.co-item .ci-tx .q { font-size: 12px; color: var(--text-muted); }
.co-qty { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: 999px; overflow: hidden; margin-top: 6px; background: #fff; }
.co-qty button { width: 26px; height: 26px; border: none; background: #fff; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--gold-dark); line-height: 1; transition: background .14s; }
.co-qty button:hover { background: var(--brand-soft); }
.co-qty button.dis { color: #c8c0b2; pointer-events: none; }
.co-qty span { min-width: 30px; text-align: center; font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }
.co-item .ci-amt { font-weight: 800; font-size: 13.5px; align-self: flex-start; }
.co-tot { border-top: 1px solid var(--border); margin-top: 14px; padding-top: 12px; }
.co-tot .row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; }
.co-tot .row.pay { font-weight: 700; } .co-tot .row .g { color: var(--success); } .co-tot .row .r { color: var(--danger); }
.co-tot .row#coDeliveryRow span:first-child { display: inline-flex; align-items: center; gap: 5px; color: var(--text-muted); }
.co-tot .row.grand { font-weight: 800; font-size: 15.5px; border-top: 1px dashed var(--border); margin-top: 6px; padding-top: 9px; }
.co-tot .row.co-disc { color: var(--success); font-weight: 700; }
.co-tot .row.co-disc span:last-child { color: var(--success); }
.co-secure { text-align: center; font-size: 12px; color: var(--text-muted); margin: 10px 0 0; display: flex; align-items: center; justify-content: center; gap: 6px; }
.co-noref { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 13px; border-radius: 12px; background: linear-gradient(135deg, #fff4e0, #ffe3e0); border: 1px solid #f3b89a; }
.co-noref .nr-ic { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--festive-red); color: #fff; }
.co-noref b { font-size: 13px; color: var(--brown); }
.co-noref p { font-size: 12px; color: #7a3a25; margin: 2px 0 0; line-height: 1.5; }
.co-noref strong { color: var(--festive-red); }
.co-agree { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--text); cursor: pointer; line-height: 1.4; }
.co-agree input { width: auto; margin-top: 2px; flex: none; }

/* ---------- Page hero (about/contact) ---------- */
.page-hero { position: relative; text-align: center; color: #fff; padding: 52px 20px 56px; background: linear-gradient(135deg, #b5121f, #e2521a 55%, #f5a623); }
.page-hero .om { font-family: var(--font-display); font-size: 34px; opacity: .95; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 44px); margin: 4px 0; }
.page-hero p { opacity: .92; letter-spacing: .04em; }

/* ---------- Instagram section ---------- */
.ig-sec { max-width: 1200px; margin: 0 auto; padding: 44px 20px 16px; }
.ig-head { text-align: center; margin-bottom: 22px; }
.ig-head .ig-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: #fff; background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); box-shadow: 0 8px 20px rgba(220,39,67,.35); }
.ig-head h2 { font-family: var(--font-display); font-size: 30px; margin: 12px 0 2px; }
.ig-head .ig-handle { color: var(--festive-red); font-weight: 800; text-decoration: none; }
.ig-head p { color: var(--text-muted); margin-top: 4px; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
@media (max-width: 760px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
.ig-cell { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 14px; display: block; }
.ig-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ig-cell:hover img { transform: scale(1.1); }
.ig-ov { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; opacity: 0; background: linear-gradient(45deg, rgba(240,148,51,.85), rgba(188,24,136,.85)); transition: opacity .25s; }
.ig-cell:hover .ig-ov { opacity: 1; }

/* ---------- Footer ---------- */
.ftr { background: linear-gradient(160deg, #2e2417, #1c1610); color: #e9d9be; margin-top: 44px; }
.ftr-grid { max-width: 1200px; margin: 0 auto; padding: 46px 20px 32px; display: grid; grid-template-columns: 1.8fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 760px) { .ftr-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 480px) { .ftr-grid { grid-template-columns: 1fr; } }
.ftr-col h5 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-light); margin: 0 0 12px; }
.ftr-col a { display: block; color: #d9c7a8; text-decoration: none; padding: 4px 0; font-size: 14px; }
.ftr-col a:hover { color: #fff; }
.ftr-col p { font-size: 13.5px; margin: 7px 0; display: flex; align-items: center; gap: 8px; color: #d9c7a8; }
.ftr-brand .ftr-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.ftr-brand .ftr-logo .logo { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-size: 20px; font-family: var(--font-display); background: var(--gradient-gold); }
.ftr-brand .ftr-logo .logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 11px; }
.ftr-brand .bn { display: block; font-family: var(--font-display); font-size: 21px; color: #fff; }
.ftr-brand .bg { display: block; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.ftr-brand p { color: #b59a78; font-size: 13.5px; max-width: 320px; }
.ftr-social { display: flex; gap: 10px; margin-top: 14px; }
.ftr-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #e9d9be; }
.ftr-social a:hover { background: var(--gradient-gold); color: #fff; }
.ftr-qr img { width: 118px; height: 118px; background: #fff; border-radius: 10px; padding: 6px; }
.ftr-qr small { display: block; color: #b59a78; font-size: 12px; margin-top: 6px; }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 16px; font-size: 13px; color: #b59a78; }

/* ---------- About / Contact ---------- */
.about-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
.about-card h2 { font-family: var(--font-display); font-size: 28px; margin: 0 0 10px; }
.about-card p { color: var(--text-muted); line-height: 1.7; margin: 0 0 12px; }
.about-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
@media (max-width: 700px) { .about-feats { grid-template-columns: 1fr 1fr; } }
.af { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; text-align: center; box-shadow: var(--shadow); }
.af .af-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--gold-dark); background: var(--brand-soft); margin-bottom: 8px; }
.af b { display: block; font-size: 14.5px; }
.af p { color: var(--text-muted); font-size: 12.5px; margin: 4px 0 0; }
.contact-line { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text); }
.contact-line:last-child { border-bottom: none; }
.contact-line span { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--gold-dark); }
.contact-line b { font-size: 13.5px; }
.contact-line p { margin: 2px 0 0; color: var(--text-muted); font-size: 13px; }

@media (max-width: 600px) { .ftr-navlink { display: none; } }

/* ====================  QR SCANNER (shop)  ==================== */
.scan-sec { max-width: 560px; }
.scan-head { text-align: center; margin-bottom: 22px; }
.scan-badge { display: inline-flex; align-items: center; gap: 7px; background: var(--gradient-festive); color: #fff; font-weight: 700; font-size: 12.5px; padding: 6px 15px; border-radius: 999px; box-shadow: 0 4px 12px rgba(226,59,46,.3); }
.scan-head h1 { font-family: var(--font-display); font-size: clamp(28px, 5vw, 40px); margin: 12px 0 6px; color: var(--brown); }
.scan-head p { color: var(--text-muted); font-size: 14px; max-width: 440px; margin: 0 auto; }
.scan-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 10px 30px rgba(61,42,27,.1); padding: 18px; text-align: center; }
.scan-card #qr-reader { width: 100%; border-radius: 14px; overflow: hidden; border: 2px dashed var(--gold-light); background: var(--gradient-soft); min-height: 240px; }
.scan-status { margin: 14px 0 0; font-weight: 600; font-size: 13.5px; color: var(--gold-dark); display: inline-flex; align-items: center; gap: 7px; justify-content: center; }
.scan-hint { margin: 12px 0 0; font-size: 12px; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 6px; }
.scan-manual { margin-top: 20px; text-align: center; }
.scan-manual p { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.scan-manual form { display: flex; gap: 8px; justify-content: center; max-width: 320px; margin: 0 auto; }
.scan-manual input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--border-strong); border-radius: 10px; font-size: 14px; }

/* ====================  SCAN DETAILS / QR landing  ==================== */
.sd-wrap { max-width: 1000px; }
.sd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: start; margin-top: 14px; }
.sd-media { min-width: 0; }
.sd-main { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 18px; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(61,42,27,.12); background: var(--gradient-soft); }
.sd-noimg { display: grid; place-items: center; color: var(--gold-light); }
.sd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.sd-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 11px; border: 2px solid var(--border); cursor: pointer; transition: border-color .15s, transform .15s; }
.sd-thumbs img:hover { transform: translateY(-2px); border-color: var(--gold-light); }
.sd-thumbs img.active { border-color: var(--festive-orange); }
.sd-info { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.sd-code { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--gold-dark); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--gold) 25%, white); padding: 5px 12px; border-radius: 999px; }
.sd-name { font-family: var(--font-display); font-size: clamp(26px, 4vw, 38px); font-weight: 700; line-height: 1.1; margin: 0; color: var(--brown); }
.sd-avail { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.sd-avail.in { color: var(--success); background: color-mix(in srgb, var(--success) 12%, white); }
.sd-avail.out { color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, white); }
.sd-price { font-size: 32px; font-weight: 800; color: var(--festive-red); letter-spacing: -.02em; }
.sd-booking { font-size: 14px; color: var(--text); background: var(--brand-soft); border: 1px dashed color-mix(in srgb, var(--gold) 30%, white); padding: 10px 14px; border-radius: 12px; }
.sd-booking b { color: var(--gold-dark); }
.sd-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sd-spec { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px 13px; }
.sd-spec .l { display: flex; align-items: center; gap: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); font-weight: 700; }
.sd-spec .v { display: block; font-size: 15px; font-weight: 700; margin-top: 3px; }
.sd-desc { font-size: 14px; line-height: 1.65; color: var(--text); border-top: 1px solid var(--border); padding-top: 12px; }
.sd-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.sd-cta .lp-btn { flex: 1; min-width: 150px; justify-content: center; padding: 13px; }
.sd-added { display: none; align-items: center; gap: 7px; color: var(--success); font-weight: 700; font-size: 13.5px; }
.sd-empty { text-align: center; padding: 50px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sd-empty-ic { color: var(--gold-light); }
.sd-empty h2 { font-family: var(--font-display); font-size: 28px; color: var(--brown); margin: 0; }
.sd-empty p { color: var(--text-muted); }
.sd-empty .lp-btn { margin-top: 8px; }
@media (max-width: 720px) { .sd-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Accessory option chips (inside the product detail) ---------- */
/* small colour swatch + image thumbnail shown on each selectable chip */
.d-ad-chip { display: inline-flex; align-items: center; gap: 6px; }
.d-ad-sw { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); flex: none; }
.d-ad-thumb { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; border: 1px solid var(--border); flex: none; }

/* ---------- Checkout: accessory selector — clean list rows + radio ---------- */
/* Lives inside the left "Add Accessories" card; one block per murti. */
.co-acc { margin: 0; }
.co-acc + .co-acc { margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--border); }
.co-acc-mur { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; color: var(--brown); margin-bottom: 9px; }
.co-acc-mur img { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; border: 1px solid var(--border); flex: none; }
/* Compact swatch rows: category name + colour dots + selected colour·price */
.acc-rows { display: flex; flex-direction: column; }
.acc-r { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.acc-r + .acc-r { border-top: 1px solid var(--border); }
.acc-r-lbl { flex: 0 0 56px; font-size: 11px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.acc-r-dots { display: flex; flex-wrap: wrap; gap: 7px; flex: 1; min-width: 0; }
.acc-r-sel { font-size: 12.5px; color: var(--text-muted); white-space: nowrap; text-align: right; min-width: 86px; }
.acc-r-sel b { color: var(--brown); font-weight: 700; }
.acc-r-none { color: var(--text-muted); }
.acc-dot { width: 22px; height: 22px; border-radius: 50%; border: none; cursor: pointer; padding: 0; background-size: cover;
    background-position: center; box-shadow: 0 0 0 1.5px var(--border-strong); transition: box-shadow .14s, transform .1s; }
.acc-dot:hover { transform: scale(1.12); }
.acc-dot.on { box-shadow: 0 0 0 2px var(--gold); }
.acc-dot.none { display: grid; place-items: center; background: var(--surface-2); color: var(--text-muted); }
.acc-dot.none svg { width: 12px; height: 12px; }
#coAccCard .help { margin: -4px 0 14px; font-size: 12.5px; }

/* ===========================================================================
   CHECKOUT — CLEAN PROFESSIONAL REFRESH
   (overrides only; HTML/IDs unchanged so the booking flow is untouched)
   =========================================================================== */
.co-wrap { max-width: 1080px; padding: 36px 20px 64px; }
.co-title { font-size: 29px; margin: 2px 0 4px; letter-spacing: -.01em; }

/* Steps → slim segmented pill bar */
.co-steps { gap: 4px; margin: 8px 0 28px; padding: 5px; background: #fff; border: 1px solid var(--border);
    border-radius: 999px; width: fit-content; max-width: 100%; box-shadow: var(--shadow-sm); }
.co-step { border: none; background: transparent; padding: 8px 18px; color: var(--text-muted); }
.co-step b { background: #e7e2d6; color: #fff; }
.co-step.active { background: var(--brand-soft); color: var(--gold-dark); }
.co-step.active b { background: var(--gradient-gold); }

/* Cards → airy, soft, premium */
.co-card { border: 1px solid #efe9dd; border-radius: 18px; padding: 24px 24px 26px;
    box-shadow: 0 1px 2px rgba(24,24,27,.04), 0 12px 32px -22px rgba(24,24,27,.28); }
.co-h { margin-bottom: 18px; padding-bottom: 15px; border-bottom: 1px solid #f1ece1; }
.co-h h3 { font-size: 19px; }
.co-num { width: 26px; height: 26px; font-size: 12px; box-shadow: 0 5px 12px rgba(176,132,40,.32); }

/* Unify accent to a refined gold (calmer than the loud red/orange) */
.co-opt { border-width: 1.5px; border-radius: 14px; }
.co-opt:hover { border-color: color-mix(in srgb, var(--gold) 55%, white); }
.co-opt.selected { border-color: var(--gold); background: var(--brand-soft); }
.co-opt.selected .co-opt-ic { background: var(--gradient-gold); color: #fff; }
.co-upload:hover { border-color: var(--gold); }
.pm:hover { border-color: var(--gold); }
.pm.sel, .pm:has(input:checked) { border-color: var(--gold); color: var(--gold-dark); box-shadow: 0 2px 10px rgba(176,132,40,.18); }
.chip.active, .chip:hover { border-color: var(--gold) !important; }

/* Order summary → premium sticky panel */
.co-summary { border-radius: 18px; }
.co-items { gap: 14px; }
.co-item img, .co-item .ph { width: 54px; height: 54px; border-radius: 11px; }
.co-tot { margin-top: 16px; padding-top: 14px; }
.co-tot .row { padding: 5px 0; }
.co-tot .row.grand { font-size: 16px; padding-top: 11px; }
.pay-amount { border-radius: 14px; border-color: color-mix(in srgb, var(--gold) 38%, white); }


/* Place Order → clean gold CTA */
#placeBtn { border-radius: 12px !important; background: var(--gradient-gold) !important;
    box-shadow: 0 12px 26px -8px rgba(176,132,40,.5) !important; }

@media (max-width: 820px) { .co-wrap { padding: 24px 14px 48px; } .co-card { padding: 20px; } }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
