/* ═══════════════════════════════════════════════════════════════
   BlueLayer Shop
   Storefront, category and product-detail styles.

   Inherits the full design DNA (colour tokens, Courier New, glow and
   panel treatments) from recipe-theme.css -- load that first. Nothing
   here redefines a token; everything references var(--…) so the shop
   follows the rest of the site if the palette ever changes.

   Lives in assets/ rather than inline so the storefront and the ~180
   product pages share one cached file (mod_expires caches CSS for a
   month) instead of re-sending the same rules on every page.
   ═══════════════════════════════════════════════════════════════ */

/* ── Focus, motion and skip link ───────────────────────────────────
   The theme has no site-wide focus system, so on this dark palette a
   keyboard user was relying on whatever ring the browser happened to
   draw. Everything interactive in the shop gets an explicit, high
   contrast ring instead. :focus-visible rather than :focus, so a mouse
   click doesn't leave a ring behind. */
.shop-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 10px 18px;
    background: var(--accent);
    color: var(--bg);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 0 0 var(--radius-sm) 0;
    text-decoration: none;
}
.shop-skip-link:focus { left: 0; }

.shop-chip:focus-visible,
.shop-card-name a:focus-visible,
.shop-card-cta:focus-visible,
.shop-feature-name a:focus-visible,
.shop-cat-more:focus-visible,
.shop-page-link:focus-visible,
.pdp-buy:focus-visible,
.pdp-copy-btn:focus-visible,
.shop-search-wrap input:focus-visible,
.shop-skip-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* A stretched link's ring would trace the tiny title text rather than
   the card it actually activates, so the card draws the ring instead. */
.shop-card:has(.shop-card-name a:focus-visible),
.shop-feature:has(.shop-feature-name a:focus-visible) {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
.shop-card:has(.shop-card-name a:focus-visible) .shop-card-name a:focus-visible,
.shop-feature:has(.shop-feature-name a:focus-visible) .shop-feature-name a:focus-visible {
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    .shop-card,
    .shop-card-media img,
    .shop-feature,
    .shop-card-cta,
    .pdp-buy,
    .shop-chip,
    .shop-page-link {
        transition: none;
    }
    .shop-card:hover,
    .shop-feature:hover,
    .shop-card-cta:hover,
    .pdp-buy:hover { transform: none; }
    .shop-card:hover .shop-card-media img { transform: none; }
}

/* ── Hero ──────────────────────────────────────────────────────────
   Deliberately compact. The hero's job is to say what this is and let
   you search; the featured products directly beneath it are what should
   own the top of the screen, so nothing here is allowed to grow tall
   enough to push them under the fold. */
.search-hero { min-height: auto; padding: 32px 40px 24px; text-align: center; }
.search-hero-inner { align-items: center; }
.search-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 6px; }
.search-hero .hero-tagline { font-size: 0.86rem; line-height: 1.6; }

.shop-disclosure-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(22, 238, 255, 0.04);
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 0.03em;
}
.shop-disclosure-note a { color: var(--accent); }

/* ── Controls: search + filter chips ───────────────────────────── */
.shop-controls { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }

.shop-search-wrap {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    gap: 8px;
}
.shop-search-btn {
    flex: 0 0 auto;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: rgba(22, 238, 255, 0.1);
    color: var(--accent);
    font-family: "Courier New", Courier, monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s var(--ease);
}
.shop-search-btn:hover { background: var(--accent); color: var(--bg); }
.shop-search-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.shop-search-wrap input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.5);
    color: var(--text);
    font-family: "Courier New", Courier, monospace;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease);
}
.shop-search-wrap input[type="search"]:focus-visible {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(22, 238, 255, 0.1);
}
.shop-search-wrap input::placeholder { color: rgba(223, 252, 255, 0.32); font-style: italic; }

.shop-chip-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 34px; }
.shop-disclosure-inline { display: flex; margin: 18px auto 0; max-width: max-content; }
.shop-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid rgba(22, 238, 255, 0.18);
    border-radius: 999px;
    background: rgba(22, 238, 255, 0.04);
    color: var(--muted);
    font-family: "Courier New", Courier, monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    white-space: nowrap;
    text-decoration: none;
}
.shop-chip:hover { border-color: var(--accent); background: rgba(22, 238, 255, 0.09); color: var(--text); }
.shop-chip.active { border-color: var(--accent); background: rgba(22, 238, 255, 0.14); color: var(--accent); }
.shop-chip-count { font-size: 0.68rem; opacity: 0.65; }

/* ── Featured strip (above the fold) ───────────────────────────── */
.shop-featured-section { margin-top: 30px; }
.shop-featured-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.shop-featured-head h2 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0;
}
.shop-featured-head p { margin: 0; font-size: 0.76rem; color: var(--muted); }

.shop-featured {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.shop-feature {
    position: relative;
    display: flex;
    gap: 14px;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(22, 238, 255, 0.07), var(--panel) 60%);
    transition: all 0.3s var(--ease);
}
.shop-feature:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3), 0 0 32px rgba(22, 238, 255, 0.08);
}

.shop-feature-media {
    flex: 0 0 96px;
    height: 96px;
    border-radius: var(--radius-sm);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.shop-feature-media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

.shop-feature-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.shop-feature-flag {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.9;
}
.shop-feature-name { margin: 0; font-size: 0.85rem; font-weight: 700; line-height: 1.35; }
.shop-feature-name a {
    color: var(--text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shop-feature-name a:hover { color: var(--accent); }
.shop-feature-name a::after { content: ''; position: absolute; inset: 0; }
.shop-feature-hook {
    margin: 0;
    font-size: 0.74rem;
    color: var(--muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.shop-feature-foot {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: 2px;
}
.shop-feature-view { font-size: 0.68rem; color: var(--accent); letter-spacing: 0.04em; white-space: nowrap; }

/* ── Search suggestions ────────────────────────────────────────── */
.shop-suggest {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: 380px;
    overflow-y: auto;
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-md);
    background: var(--panel-strong);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    text-align: left;
}
.shop-suggest[hidden] { display: none; }

.shop-suggest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(22, 238, 255, 0.1);
    color: var(--text);
    text-decoration: none;
    transition: background 0.15s var(--ease);
}
.shop-suggest-item:last-of-type { border-bottom: 0; }
.shop-suggest-item:hover,
.shop-suggest-item.is-active { background: rgba(22, 238, 255, 0.1); }
.shop-suggest-item:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.shop-suggest-item img {
    flex: 0 0 40px;
    width: 40px; height: 40px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
    padding: 3px;
}
.shop-suggest-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.shop-suggest-name {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shop-suggest-name mark { background: rgba(22, 238, 255, 0.28); color: var(--accent); padding: 0 1px; }
.shop-suggest-meta { font-size: 0.68rem; color: var(--muted); }
.shop-suggest-price { font-size: 0.82rem; font-weight: 700; color: var(--accent); white-space: nowrap; }

.shop-suggest-all {
    display: block;
    width: 100%;
    padding: 11px 14px;
    border: 0;
    border-top: 1px solid var(--border);
    background: rgba(22, 238, 255, 0.06);
    color: var(--accent);
    font-family: "Courier New", Courier, monospace;
    font-size: 0.76rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}
.shop-suggest-all:hover { background: rgba(22, 238, 255, 0.14); }
.shop-suggest-empty { margin: 0; padding: 16px; color: var(--muted); font-size: 0.8rem; text-align: center; }

/* ── Filters ───────────────────────────────────────────────────── */
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.shop-filters {
    margin-top: 28px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(5, 16, 20, 0.6);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.shop-facet { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.shop-facet-label {
    flex: 0 0 46px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}
.shop-facet-opts { display: flex; flex-wrap: wrap; gap: 7px; flex: 1; }
.shop-facet .shop-chip { padding: 6px 13px; font-size: 0.73rem; }

.shop-active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid rgba(22, 238, 255, 0.12);
}
.shop-active-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    padding: 4px 13px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    background: rgba(22, 238, 255, 0.14);
    color: var(--accent);
    font-size: 0.73rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s var(--ease);
}
.shop-active-chip:hover { background: var(--accent); color: var(--bg); }
.shop-active-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.shop-reset {
    margin-left: auto;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    color: var(--muted);
    font-size: 0.73rem;
    text-decoration: underline;
}
.shop-reset:hover { color: var(--accent); }
.shop-reset:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 620px) {
    .shop-facet { flex-direction: column; gap: 7px; }
    .shop-facet-label { flex: none; }
    .shop-reset { margin-left: 0; }
}

/* ── Toolbar: result count + sort ──────────────────────────────── */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 26px 0 2px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(22, 238, 255, 0.12);
}
.shop-results-meta { margin: 0; color: var(--muted); font-size: 0.82rem; }
.shop-results-meta strong { color: var(--accent); }

.shop-clear {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-left: 10px;
    padding: 2px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--accent);
    font-size: 0.72rem;
    text-decoration: none;
    transition: all 0.2s var(--ease);
}
.shop-clear:hover { border-color: var(--accent); background: rgba(22, 238, 255, 0.08); }
.shop-clear:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.shop-sort { display: flex; align-items: center; gap: 8px; }
.shop-sort label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.shop-sort select {
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.5);
    color: var(--text);
    font-family: "Courier New", Courier, monospace;
    font-size: 0.78rem;
    cursor: pointer;
}
.shop-sort select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.shop-sort-go {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    background: rgba(22, 238, 255, 0.08);
    color: var(--accent);
    font-family: "Courier New", Courier, monospace;
    cursor: pointer;
}

.shop-browse-all { text-align: center; margin: 40px 0 8px; }
.shop-browse-all .shop-card-cta { display: inline-flex; padding: 0 28px; margin-top: 0; }

/* ── Empty states ──────────────────────────────────────────────── */
.shop-empty-state { text-align: center; padding: 48px 20px; color: var(--muted); font-size: 0.9rem; }
.shop-empty-state[hidden] { display: none; }
.shop-empty-state .shop-chip-strip { margin-top: 10px; }

@media (max-width: 560px) {
    .shop-toolbar { justify-content: center; text-align: center; }
    .shop-search-wrap { flex-direction: column; }
    .shop-search-btn { width: 100%; }
}

/* ── Category sections ─────────────────────────────────────────── */
.shop-cat-section { margin-top: 44px; }
.shop-cat-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
.shop-cat-head h2 {
    font-size: 1.15rem;
    color: var(--text);
    margin: 0;
    letter-spacing: 0.02em;
}
.shop-cat-head h2 .accent-dot { color: var(--accent); }
.shop-cat-count { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.06em; }
/* Standalone link, so it needs a 24px-plus target rather than the 19px
   its text alone would give it. */
.shop-cat-more {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 2px;
    font-size: 0.76rem;
    color: var(--accent);
    white-space: nowrap;
}

/* ── Product grid ──────────────────────────────────────────────── */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.shop-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--panel);
    backdrop-filter: blur(16px);
    overflow: hidden;
    transition: all 0.3s var(--ease);
    position: relative;
}
.shop-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    z-index: 2;
}
.shop-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 40px rgba(22, 238, 255, 0.06);
}
.shop-card:hover::before { opacity: 1; }
.shop-card:focus-within { border-color: var(--border-hover); }
.shop-card[hidden] { display: none; }

.shop-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.shop-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.4s var(--ease);
}
.shop-card:hover .shop-card-media img { transform: scale(1.04); }

.shop-card-sponsored {
    position: absolute;
    top: 8px; left: 8px;
    background: rgba(0, 0, 0, 0.72);
    color: rgba(223, 252, 255, 0.85);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    z-index: 1;
}
.shop-card-save {
    position: absolute;
    top: 8px; right: 8px;
    background: var(--accent);
    color: var(--bg);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    z-index: 1;
}

.shop-card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; gap: 6px; }
.shop-card-merchant {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.85;
}
.shop-card-name { font-size: 0.9rem; font-weight: 700; line-height: 1.35; margin: 0; }
.shop-card-name a {
    color: var(--text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shop-card-name a:hover { color: var(--accent); }
/* Stretched link: the whole card is the click target for the product
   page, while the sponsored outbound button above it keeps its own. */
.shop-card-name a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}
.shop-card-desc {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.shop-card-pricerow { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.shop-card-price { font-size: 1.05rem; font-weight: 700; color: var(--accent); }
.shop-card-rrp { font-size: 0.78rem; color: var(--muted); text-decoration: line-through; opacity: 0.7; }

.shop-card-cta {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: rgba(22, 238, 255, 0.06);
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s var(--ease);
    position: relative;
    z-index: 2;
}
.shop-card-cta:hover {
    background: var(--accent);
    color: var(--bg);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(22, 238, 255, 0.2);
}

/* ── Pagination ────────────────────────────────────────────────── */
.shop-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 44px 0 8px;
}
.shop-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(22, 238, 255, 0.03);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s var(--ease);
}
.shop-page-link:hover { border-color: var(--accent); color: var(--text); background: rgba(22, 238, 255, 0.08); }
.shop-page-link[aria-current="page"] { border-color: var(--accent); background: rgba(22, 238, 255, 0.14); color: var(--accent); }
.shop-page-gap { color: var(--muted); padding: 0 4px; }

/* ═══ PRODUCT DETAIL PAGE ═══════════════════════════════════════ */
.pdp {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    margin-top: 28px;
    align-items: start;
}

.pdp-media {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pdp-media img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }

.pdp-info { display: flex; flex-direction: column; gap: 14px; }
.pdp-merchant {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}
.pdp h1 {
    font-size: clamp(1.4rem, 3.2vw, 2.1rem);
    line-height: 1.25;
    margin: 0;
    color: var(--text);
}

.pdp-pricerow { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price { font-size: 1.9rem; font-weight: 700; color: var(--accent); }
.pdp-rrp { font-size: 1rem; color: var(--muted); text-decoration: line-through; opacity: 0.7; }
.pdp-save {
    background: var(--accent);
    color: var(--bg);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

.pdp-lead { color: var(--muted); font-size: 0.92rem; line-height: 1.7; margin: 0; }

.pdp-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 56px;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: rgba(22, 238, 255, 0.1);
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s var(--ease);
}
.pdp-buy:hover {
    background: var(--accent);
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(22, 238, 255, 0.25);
}

.pdp-sponsored-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(22, 238, 255, 0.03);
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.6;
}
.pdp-sponsored-note a { color: var(--accent); }

/* Specs table */
.pdp-specs { width: 100%; border-collapse: collapse; margin-top: 4px; font-size: 0.84rem; }
.pdp-specs caption {
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    padding-bottom: 8px;
}
.pdp-specs th,
.pdp-specs td { padding: 9px 0; border-bottom: 1px solid rgba(22, 238, 255, 0.12); text-align: left; }
.pdp-specs th { color: var(--muted); font-weight: 400; width: 45%; }
.pdp-specs td { color: var(--text); font-weight: 700; }

/* Long-form description block */
.pdp-section { margin-top: 52px; }
.pdp-section h2 {
    font-size: 1.05rem;
    color: var(--text);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.pdp-body { color: var(--muted); font-size: 0.9rem; line-height: 1.85; }
.pdp-body p { margin: 0 0 14px; }

.pdp-uses { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.pdp-uses li {
    position: relative;
    padding-left: 22px;
    color: var(--text);
    font-size: 0.87rem;
    line-height: 1.6;
}
.pdp-uses li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-size: 0.7rem;
    line-height: 1.9;
}

.pdp-note { font-size: 0.78rem; opacity: 0.72; line-height: 1.7; }
.pdp-note a { color: var(--accent); }

.pdp-brand-more { text-align: center; margin-top: 24px; }
.pdp-brand-more a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 20px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--accent);
    font-size: 0.78rem;
    text-decoration: none;
    transition: all 0.2s var(--ease);
}
.pdp-brand-more a:hover { border-color: var(--accent); background: rgba(22, 238, 255, 0.08); }
.pdp-brand-more a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.pdp-section .shop-cat-head h2 { border-bottom: 0; padding-bottom: 0; margin: 0; }

/* ── Wishlist ──────────────────────────────────────────────────── */
.shop-saved-link { white-space: nowrap; }

/* Sits above the card's stretched title link so a tap saves rather than
   navigating. */
.shop-save-btn {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 3;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: rgba(0, 0, 0, 0.32);
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}
.shop-save-btn:hover { transform: scale(1.1); color: #e0245e; border-color: rgba(0, 0, 0, 0.3); }
.shop-save-btn.is-saved { color: #e0245e; border-color: #e0245e; background: #fff; }
.shop-save-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.pdp-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-save-btn,
.pdp-share-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(22, 238, 255, 0.04);
    color: var(--text);
    font-family: "Courier New", Courier, monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}
.pdp-save-btn:hover,
.pdp-share-btn:hover { border-color: var(--accent); background: rgba(22, 238, 255, 0.1); }
.pdp-save-btn.is-saved { border-color: #e0245e; color: #e0245e; background: rgba(224, 36, 94, 0.08); }
.pdp-save-btn:focus-visible,
.pdp-share-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── Share bar ─────────────────────────────────────────────────── */
.pdp-sharebar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid rgba(22, 238, 255, 0.12);
}
.pdp-sharebar-label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.pdp-share-link,
.pdp-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 6px 13px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(22, 238, 255, 0.04);
    color: var(--accent);
    font-family: "Courier New", Courier, monospace;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}
.pdp-share-link:hover,
.pdp-copy-btn:hover { border-color: var(--accent); background: rgba(22, 238, 255, 0.1); }
.pdp-share-link:focus-visible,
.pdp-copy-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 860px) {
    .pdp { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
    .search-hero { padding: 40px 20px 32px; }
    .shop-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    .shop-card-name { font-size: 0.82rem; }
    .shop-card-desc { display: none; }
    .pdp-media img { padding: 12px; }
    .pdp-price { font-size: 1.5rem; }
}
