/* ═══════════════════════════════════════════════════════════════════════
   SHOP LANDING PAGE
   Own stylesheet on purpose: components.css was once truncated by an edit,
   so nothing here touches it. Reuses .pcard from components.css and only
   ADDS to it (badges, sold-out, options hint).
   ═══════════════════════════════════════════════════════════════════════ */

.lshop { background: var(--ls-bg, #fff); }

/* ─── Hero ─────────────────────────────────────────────────────────── */
.lshop-hero {
    position: relative;
    padding: calc(var(--ls-nav-height, 72px) + clamp(44px, 8vh, 84px)) 0 clamp(40px, 7vh, 72px);
    background:
        radial-gradient(1000px 420px at 12% -8%, rgba(201,168,76,.16), transparent 62%),
        radial-gradient(760px 380px at 92% 8%, rgba(201,168,76,.10), transparent 60%),
        linear-gradient(180deg, #fffdf7 0%, var(--ls-bg, #fff) 100%);
    overflow: hidden;
    text-align: center;
}
.lshop-hero__glow {
    position: absolute; inset: auto -10% -60% -10%; height: 320px;
    background: radial-gradient(closest-side, rgba(201,168,76,.14), transparent);
    pointer-events: none;
}
.lshop-hero__inner { position: relative; }
.lshop-hero__over { color: var(--ls-gold, #c9a84c); margin: 0 0 10px; }
.lshop-hero__title {
    font-family: var(--ls-font-display, 'Playfair Display', Georgia, serif);
    font-size: clamp(2rem, 6vw, 3.4rem);
    font-weight: 900; letter-spacing: -.025em; line-height: 1.05;
    color: var(--ls-text, #1a1a1a); margin: 0 0 14px;
}
.lshop-hero__sub {
    max-width: 620px; margin: 0 auto 28px;
    font-size: clamp(.94rem, 2.2vw, 1.05rem); line-height: 1.65;
    color: var(--ls-text-muted, #6b7280);
}
.lshop-hero__sub strong { color: var(--ls-text, #1a1a1a); font-weight: 800; }

/* Search */
.lshop-search {
    position: relative; display: flex; align-items: center; gap: 8px;
    max-width: 560px; margin: 0 auto;
    background: #fff; border: 1.5px solid var(--ls-border, #e5e7eb);
    border-radius: 50px; padding: 6px 6px 6px 18px;
    box-shadow: 0 1px 2px rgba(10,9,8,.04), 0 14px 38px -18px rgba(10,9,8,.22);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.lshop-search:focus-within {
    border-color: var(--ls-gold, #c9a84c);
    box-shadow: 0 0 0 4px rgba(201,168,76,.14), 0 14px 38px -18px rgba(10,9,8,.24);
}
.lshop-search > svg { width: 19px; height: 19px; flex: 0 0 19px; color: var(--ls-text-light, #9ca3af); }
.lshop-search input {
    flex: 1 1 auto; min-width: 0;
    border: 0; background: none; outline: none;
    font: inherit; font-size: .95rem; color: var(--ls-text, #1a1a1a);
    padding: 12px 0;
}
.lshop-search input::placeholder { color: var(--ls-text-light, #9ca3af); }
.lshop-search button {
    flex: 0 0 auto; border: 0; cursor: pointer;
    padding: 12px 24px; border-radius: 50px;
    background: linear-gradient(135deg, var(--ls-gold, #c9a84c), var(--ls-gold-light, #e8c97a));
    color: #fff; font: inherit; font-size: .88rem; font-weight: 800;
    transition: filter .16s ease;
}
.lshop-search button:hover { filter: brightness(1.06); }

/* Jump nav */
.lshop-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.lshop-jump a {
    padding: 8px 16px; border-radius: 50px;
    background: rgba(10,9,8,.045); color: var(--ls-text-body, #2d2d2d);
    font-size: .82rem; font-weight: 700; text-decoration: none;
    transition: background .16s ease, color .16s ease;
}
.lshop-jump a:hover { background: var(--ls-text, #1a1a1a); color: #fff; }

/* ─── Sections ─────────────────────────────────────────────────────── */
.lshop-sec { padding: clamp(44px, 7vh, 76px) 0; }
.lshop-sec--tint { background: var(--ls-cream, #fff8f0); }
.lshop-over { color: var(--ls-gold, #c9a84c); margin: 0 0 6px; }
.lshop-h2 {
    font-family: var(--ls-font-display, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.45rem, 3.6vw, 2.1rem);
    font-weight: 900; letter-spacing: -.02em; color: var(--ls-text, #1a1a1a); margin: 0;
}
.lshop-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; margin-bottom: 26px;
}
.lshop-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .86rem; font-weight: 800; color: var(--ls-gold, #c9a84c); text-decoration: none;
    white-space: nowrap;
}
.lshop-link svg { width: 14px; height: 14px; transition: transform .18s ease; }
.lshop-link:hover svg { transform: translateX(3px); }

/* Category filter box */
.lshop-filter {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1.5px solid var(--ls-border, #e5e7eb);
    border-radius: 50px; padding: 8px 16px;
}
.lshop-filter svg { width: 16px; height: 16px; color: var(--ls-text-light, #9ca3af); }
.lshop-filter input { border: 0; outline: none; background: none; font: inherit; font-size: .86rem; width: 150px; }

.lshop-empty { text-align: center; color: var(--ls-text-muted, #6b7280); font-size: .9rem; padding: 24px 0 0; }

/* ─── Category grid ────────────────────────────────────────────────── */
.lshop-cats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: clamp(14px, 2vw, 22px);
}
.lcat {
    position: relative; display: block; overflow: hidden;
    border-radius: 18px; text-decoration: none;
    background: #fff; border: 1px solid rgba(10,9,8,.07);
    box-shadow: 0 1px 2px rgba(10,9,8,.04);
    transition: transform .26s cubic-bezier(.2,.9,.3,1), box-shadow .26s ease, border-color .26s ease;
}
.lcat:hover {
    transform: translateY(-5px);
    border-color: rgba(201,168,76,.4);
    box-shadow: 0 1px 2px rgba(10,9,8,.05), 0 22px 44px -18px rgba(10,9,8,.28);
}
.lcat:focus-visible { outline: 3px solid rgba(201,168,76,.5); outline-offset: 3px; }

.lcat__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ls-surface, #fafafa); }
.lcat__media img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; transition: transform .5s cubic-bezier(.2,.9,.3,1);
}
.lcat:hover .lcat__media img { transform: scale(1.07); }

/* Each card gets its own hue, so a long grid reads as colourful without
   needing a hand-picked colour per category. */
.lcat__ph {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background:
        linear-gradient(135deg,
            hsl(var(--lcat-hue, 40) 52% 62%) 0%,
            hsl(calc(var(--lcat-hue, 40) + 26) 58% 48%) 100%);
    color: rgba(255,255,255,.9);
    font-family: var(--ls-font-display, 'Playfair Display', Georgia, serif);
    font-size: 3rem; font-weight: 900;
}
.lcat__wash {
    position: absolute; inset: 0;
    /* A light tint only — the label no longer sits on the image, so this is
       purely decorative and never has to carry text contrast. */
    background: linear-gradient(135deg, hsl(var(--lcat-hue, 40) 60% 50% / .14), transparent 68%);
}

/* The name sits on a SOLID panel under the image. White-on-photo was
   unreadable over pale product shots; this cannot fail whatever the image. */
.lcat__body {
    padding: 14px 16px 16px;
    background: #fff;
    border-top: 1px solid rgba(10,9,8,.06);
}
.lcat__name {
    margin: 0;
    font-size: .98rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--ls-text, #1a1a1a);
    /* Long category names wrap rather than being clipped. */
    overflow-wrap: break-word;
}
.lcat:hover .lcat__name { color: var(--ls-gold-deep, #9a7c2e); }

.lcat__go {
    position: absolute; right: 12px; top: 12px;
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(255,255,255,.7);
    color: var(--ls-text, #1a1a1a);
    box-shadow: 0 2px 10px -2px rgba(10,9,8,.3);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.lcat__go svg { width: 15px; height: 15px; }
.lcat:hover .lcat__go {
    background: var(--ls-gold, #c9a84c);
    border-color: var(--ls-gold, #c9a84c);
    color: #fff;
    transform: translateX(3px);
}

/* ─── Length chips ─────────────────────────────────────────────────── */
.lshop-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.lchip {
    padding: 12px 22px; border-radius: 50px;
    background: #fff; border: 1.5px solid var(--ls-border, #e5e7eb);
    color: var(--ls-text, #1a1a1a); font-size: .9rem; font-weight: 700;
    text-decoration: none;
    transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}
.lchip:hover {
    border-color: var(--ls-gold, #c9a84c);
    background: var(--ls-gold, #c9a84c); color: #fff;
    transform: translateY(-2px);
}

/* ─── Product grid ─────────────────────────────────────────────────── */
.lshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: clamp(12px, 2vw, 20px);
}

/* Additions to .pcard — the base rules live in components.css. */
.pcard__badges {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
}
.pcard__new, .pcard__oos {
    padding: 4px 10px; border-radius: 50px;
    font-size: .64rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.pcard__new { background: #166534; color: #fff; }
.pcard__oos { background: rgba(10,9,8,.75); color: #fff; }
.pcard--oos .pcard__img img { filter: grayscale(.7); opacity: .72; }

.pcard__options {
    position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
    padding: 9px 12px; border-radius: 9px; text-align: center;
    background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
    color: var(--ls-text, #1a1a1a); font-size: .74rem; font-weight: 800;
    opacity: 0; transform: translateY(6px);
    transition: opacity .22s ease, transform .22s ease;
}
.pcard:hover .pcard__options,
.pcard:focus-visible .pcard__options { opacity: 1; transform: none; }

/* Touch devices never hover, so show the hint permanently there. */
@media (hover: none) {
    .pcard__options { opacity: 1; transform: none; }
}

/* ─── Trust row ────────────────────────────────────────────────────── */
.lshop-trust { background: var(--ls-text, #1a1a1a); }
.lshop-trust__grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: clamp(20px, 3vw, 34px);
}
.ltrust__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; margin-bottom: 14px;
    border-radius: 12px;
    background: rgba(201,168,76,.16); border: 1px solid rgba(201,168,76,.32);
    color: var(--ls-gold-light, #e8c97a);
}
.ltrust__icon svg { width: 22px; height: 22px; }
.ltrust__title { margin: 0 0 6px; font-size: .98rem; font-weight: 800; color: #fff; }
.ltrust__text { margin: 0; font-size: .85rem; line-height: 1.65; color: rgba(255,255,255,.65); }

/* WhatsApp call-to-action on the trust card. The card used to describe ordering
   on WhatsApp without giving anyone a way to do it. */
.ltrust__cta {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 14px; padding: 10px 18px;
    border-radius: 50px;
    background: #25D366; color: #fff;
    font-size: .82rem; font-weight: 800; text-decoration: none;
    transition: filter .16s ease, transform .16s ease;
}
.ltrust__cta svg { width: 16px; height: 16px; flex: 0 0 16px; }
.ltrust__cta:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff; }
.ltrust__cta:focus-visible { outline: 3px solid rgba(37,211,102,.5); outline-offset: 2px; }

/* ─── Closing CTA ──────────────────────────────────────────────────── */
.lshop-cta {
    padding: clamp(48px, 8vh, 84px) 0;
    text-align: center;
    background:
        radial-gradient(760px 300px at 50% 0%, rgba(201,168,76,.13), transparent 65%),
        var(--ls-cream, #fff8f0);
}
.lshop-cta__title {
    font-family: var(--ls-font-display, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.4rem, 3.6vw, 2rem); font-weight: 900;
    color: var(--ls-text, #1a1a1a); margin: 0 0 10px;
}
.lshop-cta__sub { color: var(--ls-text-muted, #6b7280); font-size: .94rem; margin: 0 0 24px; }
.lshop-cta__row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lshop-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 15px 32px; border-radius: 12px;
    font-size: .92rem; font-weight: 800; text-decoration: none;
    transition: filter .16s ease, transform .16s ease, background .16s ease, color .16s ease;
}
.lshop-btn--gold {
    background: linear-gradient(135deg, var(--ls-gold, #c9a84c), var(--ls-gold-light, #e8c97a));
    color: #fff; box-shadow: 0 6px 18px -6px rgba(201,168,76,.55);
}
.lshop-btn--gold:hover { filter: brightness(1.06); transform: translateY(-2px); }
.lshop-btn--ghost {
    background: transparent; color: var(--ls-text, #1a1a1a);
    border: 1.5px solid var(--ls-border-dark, #d1d5db);
}
.lshop-btn--ghost:hover { background: var(--ls-text, #1a1a1a); color: #fff; border-color: var(--ls-text, #1a1a1a); }

/* ─── Mobile ───────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .lshop-cats { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    .lcat__body { padding: 11px 13px 13px; }
    .lcat__name { font-size: .88rem; }
    .lcat__go { width: 28px; height: 28px; right: 9px; top: 9px; }
    .lshop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .lshop-head { margin-bottom: 18px; }
    .lshop-search { padding-left: 14px; }
    .lshop-search button { padding: 12px 18px; font-size: .82rem; }
    /* Keep the bottom nav clear of the closing CTA. */
    .lshop-cta { padding-bottom: calc(clamp(48px, 8vh, 84px) + 72px); }
}

@media (prefers-reduced-motion: reduce) {
    .lcat, .lcat__media img, .lcat__go, .lchip, .pcard__options, .lshop-btn { transition: none; }
    .lcat:hover { transform: none; }
    .lcat:hover .lcat__media img { transform: none; }
}
