/*
 * Panda Valy one-page landing funnel.
 *
 * Self-contained: the multi-page theme's stylesheets are NOT loaded here, so
 * every rule the funnel needs lives in this file. The palette is the same
 * magenta/ink system as the rest of the storefront — change it in :root.
 */

:root {
    --primary: #e6007e;
    --primary-dark: #c0006a;
    --primary-light: #ff3ba0;
    --primary-soft: #fdf2f8;
    --primary-border: #fbcfe8;

    --ink: #1a1a1a;
    --heading: #1a1a1a;
    --body-text: #374151;
    --muted: #6b7280;
    --line: #e5e7eb;

    --success: #16a34a;
    --gold: #ffb800;
    --page: #f7f8fc;

    --shadow: 0 2px 10px rgba(0, 0, 0, .06);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, .10);
    --brand-shadow: 0 8px 22px rgba(230, 0, 126, .30);
}

*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Hind Siliguri', 'Roboto', system-ui, sans-serif;
    background: var(--page);
    color: var(--body-text);
    font-size: 16px;
    line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.lp-container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* ---------- Offer marquee ---------- */
.lp-marquee {
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    padding: 9px 0;
    font-size: 14px;
    white-space: nowrap;
}
.lp-marquee-track { display: inline-flex; gap: 60px; animation: lp-scroll 26s linear infinite; }
.lp-marquee-item { display: inline-flex; align-items: center; gap: 8px; }
.lp-marquee-item i { color: var(--primary-light); }
.lp-marquee-item strong { color: var(--primary-light); }
.lp-marquee-sep { opacity: .35; }
@keyframes lp-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Respect users who ask for less motion; the text stays readable, just still. */
@media (prefers-reduced-motion: reduce) {
    .lp-marquee-track { animation: none; }
}

/* ---------- Brand header band ---------- */
.lp-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}
.lp-header-inner { display: flex; align-items: center; gap: 22px; padding: 11px 16px; }
.lp-logo img {
    height: 42px; width: auto; object-fit: contain;
    /* Storefront logos are dark wordmarks built for a white header; this
       renders any of them as a solid white mark on the magenta band. */
    filter: brightness(0) invert(1);
}
.lp-header-rule { height: 6px; background: var(--ink); }

.lp-search { position: relative; flex: 1 1 auto; min-width: 0; max-width: 560px; }
.lp-search input {
    width: 100%; height: 40px; border: 0; border-radius: 999px;
    padding: 0 44px 0 18px; font-family: inherit; font-size: 15px; background: #fff; color: var(--heading);
}
.lp-search input:focus { outline: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.lp-search i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--primary); }

.lp-actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.lp-action {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    color: #fff; font-size: 11px; font-weight: 500; line-height: 1; white-space: nowrap; transition: opacity .15s;
}
.lp-action:hover { color: #fff; opacity: .8; }
.lp-action > i, .lp-action-icon > i { font-size: 18px; }
.lp-action-icon { position: relative; display: inline-flex; }
.lp-badge {
    position: absolute; top: -7px; right: -11px; min-width: 16px; height: 16px; padding: 0 4px;
    border-radius: 8px; background: #fff; color: var(--primary);
    font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* ---------- Buttons ---------- */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
    font-family: inherit; line-height: 1.4; text-align: center;
    border: 2px solid transparent; cursor: pointer; transition: .2s; white-space: nowrap;
}
.lp-btn-solid { background: var(--primary); color: #fff; border-color: var(--primary); }
.lp-btn-solid:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.lp-btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.lp-btn-outline:hover { background: var(--primary); color: #fff; }
.lp-btn-lg { padding: 14px 34px; font-size: 17px; box-shadow: var(--brand-shadow); }
.lp-btn-block { width: 100%; }

/* ---------- Section shell ---------- */
.lp-section { padding: 46px 0; }
.lp-section-alt { background: #fff; }
.lp-head { text-align: center; margin-bottom: 30px; }
.lp-head h2 {
    margin: 0 0 6px; font-size: 28px; font-weight: 700; color: var(--primary); line-height: 1.4;
}
.lp-head p { margin: 0; color: var(--muted); font-size: 15px; }
/* Decorative divider under a heading (the reference's squiggle + star). */
.lp-divider { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; color: var(--primary-border); }
.lp-divider::before, .lp-divider::after { content: ''; height: 1px; width: 90px; background: var(--primary-border); }
.lp-divider i { color: var(--primary); font-size: 12px; }

/* ---------- Hero banner ---------- */
.lp-hero { padding: 22px 0 8px; }
.lp-hero-banner {
    display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg);
    background: var(--primary-soft);
}
.lp-hero-banner img {
    /* Full-width artwork: let it size to its own aspect ratio rather than
       cropping to a fixed height, so a designed banner is never cut off. */
    width: 100%; height: auto; display: block;
}

/* ---------- Product gallery ---------- */
.lp-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-gallery-item {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: .2s;
}
.lp-gallery-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.lp-gallery-media { position: relative; }
.lp-gallery-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.lp-gallery-code {
    position: absolute; top: 10px; left: 10px; background: rgba(255, 255, 255, .95);
    color: var(--ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px;
    max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lp-gallery-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lp-gallery-name { font-size: 14.5px; font-weight: 600; color: var(--primary); line-height: 1.4; }
.lp-gallery-price { font-size: 17px; font-weight: 700; color: var(--primary); }
.lp-gallery-price del { color: var(--muted); font-size: 13.5px; font-weight: 500; margin-right: 7px; }
.lp-gallery-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.lp-mini {
    flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 8px 6px; border-radius: 999px; font-size: 12.5px; font-weight: 600; font-family: inherit;
    cursor: pointer; border: 1px solid var(--primary); transition: .18s; white-space: nowrap;
}
.lp-mini-outline { background: #fff; color: var(--primary); }
.lp-mini-outline:hover, .lp-mini-outline.is-added { background: var(--primary); color: #fff; }
.lp-mini-solid { background: var(--primary); color: #fff; }
.lp-mini-solid:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

/* ---------- Reviews ---------- */
.lp-rating { text-align: center; margin-bottom: 26px; }
.lp-rating .lp-stars { color: var(--gold); font-size: 20px; letter-spacing: 3px; }
.lp-rating p { margin: 6px 0 0; color: var(--primary); font-weight: 600; font-size: 14.5px; }
.lp-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.lp-review {
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px;
    box-shadow: var(--shadow);
}
.lp-review-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }
.lp-review-body { font-size: 14.5px; line-height: 1.8; color: var(--body-text); margin: 0 0 16px; }
.lp-review-who { display: flex; align-items: center; gap: 11px; border-top: 1px solid #f1f1f1; padding-top: 13px; }
.lp-review-avatar {
    width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); color: var(--primary);
    display: grid; place-items: center; font-weight: 700; flex-shrink: 0;
}
.lp-review-name { font-weight: 700; font-size: 14px; color: var(--heading); line-height: 1.3; }
.lp-review-role { font-size: 12px; color: var(--muted); }

/* ---------- Order form ---------- */
.lp-order { background: #fff; }
.lp-order-card {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.lp-order-grid { display: grid; grid-template-columns: 1.15fr .85fr; }
.lp-order-col { padding: 26px; }
.lp-order-col + .lp-order-col { border-left: 1px solid var(--line); background: #fcfcfd; }
.lp-order-legend {
    font-size: 16px; font-weight: 700; color: var(--primary); margin: 0 0 14px;
    display: flex; align-items: center; gap: 8px;
}

/* Size picker */
.lp-pick { display: grid; gap: 12px; margin-bottom: 24px; }
.lp-pick-row {
    display: flex; align-items: center; gap: 12px; border: 1px solid var(--line);
    border-radius: 10px; padding: 12px 14px; background: #fff; cursor: pointer; transition: .18s;
}
.lp-pick-row:hover { border-color: var(--primary-border); }
.lp-pick-row.is-on { border-color: var(--primary); background: var(--primary-soft); }
.lp-pick-row input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; flex-shrink: 0; }
.lp-pick-thumb { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--primary-soft); }
.lp-pick-info { flex: 1; min-width: 0; }
.lp-pick-name { font-size: 14.5px; font-weight: 600; color: var(--heading); line-height: 1.35; }
.lp-pick-price { font-size: 14px; font-weight: 700; color: var(--primary); }
.lp-qty { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.lp-qty button {
    width: 30px; height: 30px; border: 1px solid var(--line); background: #fff; cursor: pointer;
    font-size: 16px; line-height: 1; color: var(--ink);
}
.lp-qty button:first-child { border-radius: 6px 0 0 6px; }
.lp-qty button:last-child { border-radius: 0 6px 6px 0; }
.lp-qty input {
    width: 42px; height: 30px; text-align: center; border: 1px solid var(--line);
    border-left: 0; border-right: 0; font-size: 14px; font-weight: 600;
}

/* Fields */
.lp-field { margin-bottom: 15px; }
.lp-field label { display: block; font-size: 14px; font-weight: 600; color: var(--heading); margin-bottom: 6px; }
.lp-field .req { color: #dc2626; }
.lp-input {
    width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 9px;
    font-size: 15px; font-family: inherit; background: #fff; color: var(--heading);
}
.lp-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(230, 0, 126, .12); }
.lp-input.is-bad { border-color: #dc2626; }
textarea.lp-input { min-height: 78px; resize: vertical; }
.lp-err { color: #dc2626; font-size: 13px; margin: 5px 0 0; }

/* Summary */
.lp-summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 9px 0; }
.lp-summary-row + .lp-summary-row { border-top: 1px dashed var(--line); }
.lp-summary-row.is-total { border-top: 2px solid var(--line); font-size: 18px; font-weight: 700; color: var(--primary); padding-top: 13px; }
.lp-summary-empty { color: var(--muted); font-size: 14px; padding: 10px 0; }
.lp-cod {
    margin: 16px 0; border: 1px dashed var(--primary-border); background: var(--primary-soft);
    border-radius: 10px; padding: 13px 15px; font-size: 14px; color: var(--heading);
}
.lp-cod strong { color: var(--primary); }

/* Alerts */
.lp-alert { border-radius: 10px; padding: 13px 16px; margin-bottom: 18px; font-size: 14.5px; }
.lp-alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.lp-alert-error ul { margin: 6px 0 0; padding-left: 18px; }

/* ---------- Footer band ---------- */
/* The funnel has no other pages to link to, so the footer is a single magenta
   band carrying the copyright line — the same brand colour as the header, so
   the page is bookended rather than trailing off into the page background. */
.lp-footer {
    margin-top: 44px;
    background: var(--primary);
    color: #fff;
    text-align: center;
    font-size: 14.5px;
    padding: 18px 0;
}
.lp-footer strong { font-weight: 700; }

/* ---------- Floating ---------- */
.lp-whatsapp {
    position: fixed; right: 18px; bottom: 92px; z-index: 60; width: 54px; height: 54px;
    border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center;
    font-size: 26px; box-shadow: 0 6px 18px rgba(37, 211, 102, .4);
}
.lp-whatsapp:hover { color: #fff; transform: translateY(-2px); }
.lp-sticky-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .lp-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lp-order-grid { grid-template-columns: 1fr; }
    .lp-order-col + .lp-order-col { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 768px) {
    .lp-hero { padding: 14px 0 6px; }
    .lp-head h2 { font-size: 23px; }
    .lp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-logo img { height: 38px; }
    .lp-btn { padding: 9px 15px; font-size: 14px; }

    /* A always-visible order CTA is the point of the funnel on mobile. */
    .lp-sticky-cta {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        display: flex; align-items: center; justify-content: center; gap: 9px;
        background: var(--primary); color: #fff; font-weight: 700; font-size: 16px;
        padding: 15px; box-shadow: 0 -3px 14px rgba(0, 0, 0, .15);
    }
    .lp-sticky-cta:hover { color: #fff; }
    .lp-whatsapp { bottom: 74px; width: 48px; height: 48px; font-size: 23px; }
    body { padding-bottom: 56px; }
}

/* ---------- Order received ---------- */
.lp-thanks { text-align: center; margin-bottom: 26px; }
.lp-thanks-tick {
    width: 66px; height: 66px; border-radius: 50%; background: var(--success); color: #fff;
    display: grid; place-items: center; font-size: 30px; margin: 0 auto 16px;
}
.lp-thanks h2 { margin: 0 0 6px; font-size: 25px; color: var(--heading); font-weight: 700; }
.lp-thanks p { margin: 0; color: var(--muted); }
.lp-receipt { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.lp-receipt-meta {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    background: var(--primary-soft); border-bottom: 1px solid var(--primary-border);
}
.lp-receipt-meta > div { padding: 14px 18px; }
.lp-receipt-meta span { display: block; font-size: 12.5px; color: var(--muted); }
.lp-receipt-meta strong { font-size: 15px; color: var(--heading); word-break: break-word; }
.lp-receipt-table { width: 100%; border-collapse: collapse; }
.lp-receipt-table th, .lp-receipt-table td { padding: 11px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.lp-receipt-table th { background: #fafafa; font-weight: 600; color: var(--heading); text-align: left; }
.lp-receipt-table tr.is-total td { font-weight: 700; font-size: 17px; color: var(--primary); border-bottom: 0; }
.lp-receipt-address { padding: 18px; }
.lp-receipt-address strong { display: block; font-size: 14px; color: var(--heading); margin-bottom: 4px; }
.lp-receipt-address p { margin: 0 0 12px; font-size: 14.5px; color: var(--body-text); }


/* ---------- Floating selection pill ---------- */
.lp-cart-pill {
    position: fixed; right: 0; top: 46%; z-index: 60;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    background: var(--primary); color: #fff; padding: 12px 14px;
    border-radius: 12px 0 0 12px; box-shadow: var(--brand-shadow); font-size: 12px; line-height: 1.3;
}
.lp-cart-pill:hover { color: #fff; background: var(--primary-dark); }
.lp-cart-pill i { font-size: 17px; margin-bottom: 2px; }
.lp-cart-pill-total { font-weight: 700; font-size: 13px; }
.lp-cart-pill[hidden] { display: none; }

/* Confirmation toast when something is added from the gallery. */
.lp-toast {
    position: fixed; top: 18px; left: 50%; transform: translate(-50%, -14px); z-index: 90;
    background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px;
    font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 9px; opacity: 0; pointer-events: none; transition: .25s;
}
.lp-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.lp-toast i { color: #4ade80; }

/* Selection rows inside the order form (built from the gallery picks). */
.lp-picked-empty {
    border: 1px dashed var(--primary-border); background: var(--primary-soft);
    border-radius: 10px; padding: 18px; text-align: center; color: var(--muted); font-size: 14px;
}
.lp-picked-remove {
    background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 15px; padding: 4px; flex-shrink: 0;
}
.lp-picked-remove:hover { color: #dc2626; }

@media (max-width: 992px) {
    .lp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .lp-header-inner { flex-wrap: wrap; gap: 10px; }
    .lp-search { order: 3; flex-basis: 100%; max-width: none; }
    .lp-actions { gap: 16px; }
    .lp-action span:not(.lp-action-icon):not(.lp-badge) { display: none; }
    .lp-cart-pill { display: none; }
    .lp-sticky-total { margin-left: auto; }
    .lp-sticky-cta { justify-content: space-between; padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 480px) {
    .lp-gallery { grid-template-columns: minmax(0, 1fr); }
}
