/* ============================================================
   SHOP — Public shopfront, product detail, product cards
   ============================================================ */

/* ── Shopfront ── */
.shopfront { width:100%; padding:24px 24px 34px; }
.shopfront-hero { position:relative; min-height:220px; border-radius:28px; overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow); }
.shopfront-hero::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(15,23,42,.08), rgba(15,23,42,.14)); pointer-events:none; }
.shopfront-hero-content { position:relative; z-index:1; display:flex; align-items:flex-end; min-height:220px; padding:28px 30px; }
.shopfront-hero-copy { max-width:760px; color:#fff; text-shadow:0 2px 14px rgba(0,0,0,.14); }
.shopfront-hero-copy h1 { margin:0; font-size:40px; line-height:1.04; letter-spacing:-.03em; }
.shopfront-hero-copy p { margin:10px 0 0; max-width:640px; font-size:15px; line-height:1.6; color:rgba(255,255,255,.94); }

.shopfront-grid { display:grid; grid-template-columns:250px minmax(0, 1fr); gap:22px; margin-top:22px; align-items:start; }
.shopfront-sidebar, .shopfront-products { min-width:0; }
.shopfront-sidebar { display:flex; flex-direction:column; gap:14px; }
.shopfront-sidebar > .shopfront-panel + .shopfront-panel { margin-top:0; }
.shopfront-panel { background:var(--surface); border:1px solid var(--line); border-radius:24px; box-shadow:var(--shadow); }
.shopfront-category-panel { order:3; position:sticky; top:calc(var(--topbar-height) + 24px); padding:18px; }
.shopfront-panel-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.shopfront-panel-head h2 { margin:0; font-size:20px; }
.shopfront-panel-head span { color:var(--muted); font-size:13px; }
.shopfront-category-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.shopfront-category-link { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 14px; border-radius:18px; border:1px solid transparent; transition:.16s ease; background:rgba(148,163,184,.04); }
.shopfront-category-link:hover { transform:translateY(-1px); border-color:var(--line); background:var(--accent-soft); }
.shopfront-category-link.is-active { border-color:rgba(56,189,248,.22); background:linear-gradient(135deg, rgba(56,189,248,.16), rgba(16,185,129,.12)); }
.shopfront-category-meta { display:flex; flex-direction:column; gap:2px; min-width:0; }
.shopfront-category-meta strong { font-size:15px; line-height:1.25; }
.shopfront-category-meta span, .shopfront-category-count { color:var(--muted); font-size:12px; }
.shopfront-products-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:14px; padding:2px 4px 0; }
.shopfront-products-head h2 { margin:0; font-size:24px; }
.shopfront-products-head p { margin:6px 0 0; color:var(--muted); }
.shopfront-filter-bar { display:grid; grid-template-columns:minmax(260px,1.6fr) minmax(180px,.9fr) auto auto auto auto; gap:12px; align-items:center; padding:18px; margin-bottom:16px; }
.shopfront-filter-field input, .shopfront-filter-field select { width:100%; min-height:46px; border-radius:16px; border:1px solid var(--line); background:#fff; padding:0 16px; font-size:15px; }
.shopfront-filter-check { display:inline-flex; align-items:center; gap:10px; min-height:46px; padding:0 16px; border:1px solid var(--line); border-radius:16px; background:#fff; white-space:nowrap; font-weight:700; }
.shopfront-filter-check input { width:18px; height:18px; margin:0; }
.shopfront-filter-bar .btn { min-height:46px; border-radius:16px; padding:0 18px; white-space:nowrap; }
.shopfront-products-grid { display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:16px; }

/* ── Product cards ── */
.shop-product-card { overflow:hidden; border-radius:22px; }
.shop-product-media { position:relative; aspect-ratio:1/1; background:rgba(148,163,184,.08); border-bottom:1px solid var(--line); overflow:hidden; }
.shop-product-media-link { display:block; width:100%; height:100%; }
.shop-product-media img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .22s ease; }
.shop-product-card:hover .shop-product-media img { transform:scale(1.035); }
.shop-product-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:14px; background:linear-gradient(135deg, rgba(56,189,248,.10), rgba(16,185,129,.08)); }
.shop-product-badges { position:absolute; inset:12px 12px auto 12px; display:flex; align-items:flex-start; justify-content:space-between; gap:10px; pointer-events:none; }
.shop-product-category { display:inline-flex; align-items:center; max-width:calc(100% - 72px); padding:6px 10px; border-radius:999px; background:rgba(255,255,255,.92); backdrop-filter:blur(8px); color:#0f172a; font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; box-shadow:0 8px 20px rgba(15,23,42,.10); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.shop-product-stock-pill { display:inline-flex; align-items:center; justify-content:center; min-width:44px; padding:6px 10px; border-radius:999px; background:rgba(255,255,255,.92); backdrop-filter:blur(8px); color:#334155; font-size:12px; font-weight:700; box-shadow:0 8px 20px rgba(15,23,42,.10); }
.shop-product-price-badge { position:absolute; left:12px; bottom:12px; display:inline-flex; align-items:center; gap:8px; padding:10px 12px; border-radius:16px; background:rgba(15,23,42,.76); color:#fff; backdrop-filter:blur(10px); box-shadow:0 10px 24px rgba(15,23,42,.24); }
.shop-product-price-badge strong { font-size:18px; line-height:1; letter-spacing:-.03em; }
.shop-product-body { display:flex; flex-direction:column; gap:10px; padding:14px 16px 16px; }
.shop-product-title { margin:0; font-size:18px; line-height:1.25; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:45px; }
.shop-product-title a { color:inherit; text-decoration:none; }
.shop-product-title a:hover { text-decoration:underline; }
.shop-product-description { margin:0; color:var(--muted); line-height:1.5; font-size:14px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:42px; }
.shop-product-actions { display:flex; align-items:center; gap:8px; width:100%; margin-top:auto; }
.shop-product-actions input[type="number"] { width:64px; min-width:64px; min-height:38px; height:38px; padding:8px 10px; text-align:center; border-radius:12px; font-size:14px; font-weight:700; }
.shop-product-actions .btn { min-height:38px; height:38px; padding:0 14px; border-radius:12px; font-size:14px; font-weight:800; line-height:1; flex:1; white-space:nowrap; }
.shop-product-favorite-btn { width:100%; min-height:36px; border:1px solid var(--line); border-radius:12px; background:rgba(148,163,184,.06); color:var(--text); font-size:13px; font-weight:700; cursor:pointer; transition:.16s ease; }
.shop-product-favorite-btn:hover { transform:translateY(-1px); background:rgba(56,189,248,.10); border-color:rgba(56,189,248,.22); }
.shop-product-favorite-btn.is-active { background:rgba(239,68,68,.08); border-color:rgba(239,68,68,.18); color:#b91c1c; }

.shop-empty { padding:28px; text-align:center; }
.shop-alert { margin:18px 0 0; padding:14px 16px; border-radius:18px; border:1px solid var(--line); background:rgba(148,163,184,.08); color:var(--text); }
.shop-alert strong { display:block; margin-bottom:4px; }
.shop-alert.shop-alert-warning { background:rgba(251,191,36,.08); border-color:rgba(251,191,36,.16); }
.shop-trust-strip { display:grid; grid-template-columns:minmax(220px,.8fr) minmax(0,1.8fr); gap:14px; align-items:center; margin:18px 0 0; padding:16px 18px; border:1px solid var(--line); border-radius:22px; background:var(--surface); box-shadow:var(--shadow); }
.shop-trust-strip-main { display:flex; flex-direction:column; gap:8px; min-width:0; }
.shop-trust-strip-main strong { font-size:18px; line-height:1.2; }
.shop-follow-row { display:flex; flex-wrap:wrap; align-items:center; gap:8px; color:var(--muted); font-size:12px; font-weight:800; }
.shop-follow-row form { margin:0; }
.trust-badge { display:inline-flex; align-items:center; width:max-content; max-width:100%; padding:6px 10px; border-radius:999px; background:rgba(148,163,184,.10); border:1px solid var(--line); color:var(--muted); font-size:11px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.trust-badge.is-verified { background:rgba(16,185,129,.12); border-color:rgba(16,185,129,.24); color:var(--accent); }
.shop-trust-metrics, .seller-trust-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.shop-trust-metrics { grid-template-columns:repeat(5,minmax(0,1fr)); }
.shop-trust-metrics div, .seller-trust-grid div { min-width:0; padding:10px 12px; border-radius:16px; border:1px solid var(--line-soft); background:rgba(148,163,184,.05); }
.shop-trust-metrics span, .seller-trust-grid span { display:block; color:var(--muted); font-size:11px; margin-bottom:4px; }
.shop-trust-metrics strong, .seller-trust-grid strong { display:block; font-size:14px; line-height:1.2; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.shop-profile-link { grid-column:1/-1; display:flex; align-items:center; justify-content:center; gap:6px; padding:10px 16px; border-radius:16px; border:1px solid rgba(124,58,237,.28); background:linear-gradient(135deg,rgba(124,58,237,.08),rgba(168,85,247,.06)); color:var(--accent); font-size:13px; font-weight:700; text-decoration:none; transition:background .15s, border-color .15s, transform .1s; }
.shop-profile-link:hover { background:linear-gradient(135deg,rgba(124,58,237,.14),rgba(168,85,247,.10)); border-color:rgba(124,58,237,.45); transform:translateY(-1px); }
.shopfront-trust-panel { order:2; padding:14px; }
.shopfront-trust-panel .shopfront-panel-head { margin-bottom:10px; }
.shopfront-trust-panel .shopfront-panel-head h2 { font-size:16px; }
.trust-check-list { display:flex; flex-wrap:wrap; gap:6px; }
.trust-check-list span { position:relative; display:inline-flex; align-items:center; min-height:26px; padding:0 9px 0 22px; border:1px solid var(--line-soft); border-radius:999px; background:rgba(148,163,184,.05); font-size:11px; line-height:1.2; color:var(--muted); font-weight:800; }
.trust-check-list span::before { content:""; position:absolute; left:9px; top:50%; transform:translateY(-50%); width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 3px rgba(16,185,129,.10); }
.trust-review-policy { display:none; }
.trust-recent-reviews { display:none; gap:8px; margin-top:12px; }
.trust-recent-reviews article { padding-top:10px; border-top:1px solid var(--line-soft); }
.trust-recent-reviews strong { display:block; color:#f59e0b; letter-spacing:.08em; font-size:12px; }
.trust-recent-reviews p { margin:4px 0 0; color:var(--muted); font-size:12px; line-height:1.45; }
.shop-support-panel { order:1; padding:18px; }
.shopfront-sidebar > .shop-support-panel:not(.shop-support-panel--compact) { display:none; }
.shop-support-panel--compact { display:grid; gap:10px; padding:14px; }
.shop-support-panel--compact .shopfront-panel-head { margin-bottom:0; }
.shop-support-panel--compact .shopfront-panel-head h2 { font-size:16px; }
.shop-support-summary { margin:0; color:var(--muted); font-size:13px; line-height:1.45; }
.shop-support-open { width:100%; justify-content:center; min-height:40px; }
.shop-support-list { display:grid; gap:10px; }
.shop-support-tier { display:grid; gap:10px; padding:12px; border:1px solid color-mix(in srgb,var(--tier-color,#10b981) 26%,var(--line-soft)); border-radius:16px; background:linear-gradient(135deg,color-mix(in srgb,var(--tier-color,#10b981) 10%,transparent),rgba(148,163,184,.04)); }
.shop-support-tier strong { display:block; font-size:14px; }
.shop-support-tier span { display:block; margin-top:3px; color:var(--muted); font-size:12px; line-height:1.45; }
.shop-support-tier b { color:var(--tier-color,#10b981); font-size:18px; line-height:1; }
.shop-support-tier input[type=text] { width:100%; min-height:38px; border:1px solid var(--line); border-radius:12px; padding:8px 10px; background:#fff; color:var(--text); font:inherit; font-size:13px; }
.shop-support-tier .btn { width:100%; justify-content:center; }
.shop-support-modal { position:fixed; inset:0; z-index:80; display:none; place-items:center; padding:18px; }
.shop-support-modal:target { display:grid; }
.shop-support-modal-backdrop { position:absolute; inset:0; background:rgba(15,23,42,.58); backdrop-filter:blur(5px); }
.shop-support-modal-card { position:relative; z-index:1; width:min(760px,100%); max-height:min(82vh,760px); overflow:auto; padding:18px; border:1px solid var(--line); border-radius:12px; background:var(--surface); box-shadow:0 24px 60px rgba(15,23,42,.24); }
.shop-support-modal-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:14px; }
.shop-support-modal-head h2 { margin:8px 0 0; font-size:24px; line-height:1.15; }
.shop-support-modal-close { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border:1px solid var(--line); border-radius:999px; background:var(--surface-2); color:var(--text); text-decoration:none; font-size:24px; line-height:1; }
.shop-support-modal-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; }
.shop-support-modal-list .shop-support-tier { align-content:start; min-height:100%; }
.shop-support-tier-copy { min-width:0; }
.shopfront-info-panel { order:4; }

/* ── Product detail ── */
.product-detail-page { width:100%; padding:24px 24px 34px; }
.product-detail-hero { position:relative; overflow:hidden; border-radius:28px; border:1px solid var(--line); box-shadow:var(--shadow); }
.product-detail-hero-inner { padding:24px 28px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.product-detail-hero-copy { color:#fff; text-shadow:0 2px 14px rgba(0,0,0,.14); }
.product-detail-hero-copy h1 { margin:8px 0 0; font-size:18px; }
.product-detail-hero-copy p { margin:8px 0 0; color:rgba(255,255,255,.92); }
.product-detail-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr); gap:22px; margin-top:22px; }
.detail-panel { background:var(--surface); border:1px solid var(--line); border-radius:24px; box-shadow:var(--shadow); }
.product-gallery { overflow:hidden; }
.product-gallery-media { position:relative; aspect-ratio:1/1; background:rgba(148,163,184,.08); }
.product-gallery-media img { width:100%; height:100%; object-fit:cover; }
.product-gallery-copy { padding:18px; }
.detail-badges { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.detail-pill { display:inline-flex; align-items:center; gap:6px; padding:7px 11px; border-radius:999px; font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; background:rgba(56,189,248,.12); border:1px solid rgba(56,189,248,.18); color:var(--accent-2); }
.detail-pill.warn { background:rgba(245,158,11,.14); border-color:rgba(245,158,11,.18); color:#f59e0b; }
.detail-pill.danger { background:rgba(239,68,68,.14); border-color:rgba(239,68,68,.18); color:#ef4444; }
.detail-pill.success { background:rgba(16,185,129,.14); border-color:rgba(16,185,129,.18); color:var(--accent); }
.product-detail-title { margin:0 0 10px; font-size:34px; line-height:1.06; }
.product-detail-sub { color:var(--muted); line-height:1.65; font-size:15px; }
.product-detail-price { display:flex; align-items:flex-end; gap:12px; margin:18px 0; }
.product-detail-price strong { font-size:38px; line-height:1; letter-spacing:-.04em; }
.product-detail-card { padding:22px; display:flex; flex-direction:column; gap:16px; }
.product-meta-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.product-meta-item { padding:14px; border-radius:18px; border:1px solid var(--line); background:rgba(148,163,184,.05); }
.product-meta-item span { display:block; color:var(--muted); font-size:12px; margin-bottom:5px; }
.product-meta-item strong { font-size:15px; }
.product-buyer-guide {
    display:grid;
    gap:5px;
    padding:14px;
    border:1px solid rgba(37,99,235,.16);
    border-radius:18px;
    background:rgba(37,99,235,.07);
}
.product-buyer-guide strong { font-size:14px; }
.product-buyer-guide span { color:var(--muted); font-size:13px; line-height:1.5; }
.seller-trust-card { padding:14px; border-radius:18px; border:1px solid var(--line); background:rgba(148,163,184,.05); display:grid; gap:12px; }
.seller-trust-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.seller-trust-head strong { font-size:14px; text-align:right; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.seller-trust-notes { display:flex; flex-wrap:wrap; gap:8px; }
.seller-trust-notes span { display:inline-flex; align-items:center; padding:6px 9px; border-radius:999px; background:#fff; border:1px solid var(--line-soft); color:var(--muted); font-size:12px; font-weight:700; }
.product-buy-form { display:grid; grid-template-columns:74px 1fr; gap:10px; }
.product-buy-form input[type="number"] { min-height:46px; text-align:center; font-weight:800; }
.product-buy-actions { display:grid; grid-template-columns:1fr auto; gap:10px; }
.product-buy-actions .btn { min-height:46px; }
.detail-alert { padding:14px 16px; border-radius:18px; border:1px solid var(--line); background:rgba(148,163,184,.08); }
.reviews-grid { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:22px; margin-top:22px; }
.review-summary, .review-form, .review-list { padding:22px; }
.review-score { font-size:44px; font-weight:900; letter-spacing:-.04em; }
.stars { color:#f59e0b; letter-spacing:.12em; }
.review-item { padding:16px 0; border-top:1px solid var(--line-soft); }
.review-item:first-child { border-top:0; padding-top:0; }
.review-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.review-form form { display:grid; gap:12px; }
.related-section { margin-top:22px; }
.related-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; }
.related-card { overflow:hidden; }
.related-card-media { display:block; aspect-ratio:1/1; overflow:hidden; background:rgba(148,163,184,.08); }
.related-card-media img { width:100%; height:100%; object-fit:cover; }
.related-card-copy { padding:14px; display:grid; gap:8px; }
.muted-text { color:var(--muted); }

/* ── Responsive ── */
@media (max-width:1380px){ .shopfront-products-grid, .related-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:1320px){ .shopfront-filter-bar { grid-template-columns:1fr 220px auto auto; } }
@media (max-width:1180px){ .shopfront-products-grid, .related-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .shopfront-filter-bar { grid-template-columns:1fr 1fr; } }
@media (max-width:980px){ .shopfront { padding:18px 18px 28px; } .shopfront-grid { grid-template-columns:1fr; } .shopfront-category-panel { position:static; } .shopfront-filter-bar { grid-template-columns:1fr; } .shopfront-hero, .shopfront-hero-content { min-height:190px; } .shopfront-hero-copy h1 { font-size:34px; } .shopfront-products-grid, .related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .product-detail-page { padding:18px 18px 28px; } .product-detail-grid, .reviews-grid { grid-template-columns:1fr; } .product-detail-title { font-size:30px; } }
@media (max-width:640px){ .shopfront { padding:14px 14px 24px; } .shopfront-hero-content { padding:22px 20px; } .shopfront-hero-copy h1 { font-size:28px; } .shopfront-products-grid, .related-grid { gap:12px; } .shop-product-body { padding:12px; } .shop-product-title { font-size:16px; min-height:40px; } .product-detail-page { padding:14px 14px 24px; } .product-detail-hero-inner { padding:18px 20px; } .product-meta-grid, .product-buy-actions { grid-template-columns:1fr; } }
@media (max-width:520px){ .shopfront-products-grid, .related-grid { grid-template-columns:1fr; } }
@media (max-width:980px){ .shop-trust-strip { grid-template-columns:1fr; } }
@media (max-width:640px){ .shop-trust-metrics, .seller-trust-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .seller-trust-head { align-items:flex-start; flex-direction:column; } .seller-trust-head strong { text-align:left; } }
@media (max-width:520px){ .shop-trust-metrics, .seller-trust-grid { grid-template-columns:1fr; } }

/* ── Search page ── */
.srch-shell { max-width:1200px; margin:0 auto; padding:24px 18px 48px; }
.srch-bar { display:flex; gap:10px; margin-bottom:28px; }
.srch-bar-input { flex:1 1 0; position:relative; }
.srch-bar-input input { width:100%; height:50px; padding:0 18px 0 50px; border-radius:999px; border:2px solid var(--line); background:var(--input-bg); color:var(--text); font-size:16px; outline:none; transition:.15s; }
.srch-bar-input input:focus { border-color:var(--accent); box-shadow:0 0 0 4px rgba(16,185,129,.12); }
.srch-bar-input input::placeholder { color:var(--muted); }
.srch-bar-icon { position:absolute; left:16px; top:50%; transform:translateY(-50%); font-size:18px; color:var(--muted); }
.srch-bar button { height:50px; padding:0 28px; border-radius:999px; border:none; background:var(--accent); color:#fff; font-size:15px; font-weight:800; cursor:pointer; transition:.15s; white-space:nowrap; }
.srch-bar button:hover { opacity:.9; }
/* ── Zoekpagina meta ──────────────────────────────────────────────────────── */
.srch-meta { color:var(--muted); font-size:14px; margin-bottom:20px; }
.srch-meta strong { color:var(--text); }

/* ── Categoriefilterbar ───────────────────────────────────────────────────── */
.srch-filter-bar { display:flex; align-items:center; gap:12px; padding:12px 16px; background:var(--surface); border:1px solid var(--line); border-radius:18px; margin-bottom:24px; }
.srch-filter-label { font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; color:var(--muted); white-space:nowrap; flex-shrink:0; }
.srch-filter-divider { width:1px; height:22px; background:var(--line); flex-shrink:0; }
.srch-cats { display:flex; flex-wrap:nowrap; gap:6px; overflow-x:auto; scrollbar-width:none; -ms-overflow-style:none; padding:2px 0; }
.srch-cats::-webkit-scrollbar { display:none; }
.srch-cat-pill { display:inline-flex; align-items:center; gap:5px; padding:7px 15px; border-radius:999px; font-size:13px; font-weight:600; border:1.5px solid transparent; background:var(--line-soft); color:var(--text); text-decoration:none; transition:.15s; white-space:nowrap; flex-shrink:0; }
.srch-cat-pill:hover { background:rgba(16,185,129,.1); color:var(--accent); border-color:rgba(16,185,129,.3); }
.srch-cat-pill.is-active { background:var(--accent); border-color:var(--accent); color:#fff; font-weight:800; box-shadow:0 2px 10px rgba(16,185,129,.28); }

/* ── Categoriebrowse-header ───────────────────────────────────────────────── */
.srch-cat-hero { display:flex; align-items:center; gap:16px; padding:18px 20px; background:var(--surface); border:1px solid var(--line); border-radius:18px; margin-bottom:24px; }
.srch-cat-hero-icon { font-size:36px; line-height:1; flex-shrink:0; }
.srch-cat-hero-copy h2 { font-size:20px; font-weight:900; margin:0 0 2px; }
.srch-cat-hero-copy p { margin:0; font-size:13px; color:var(--muted); }
.srch-cat-hero-count { margin-left:auto; font-size:13px; font-weight:700; padding:5px 14px; border-radius:999px; background:var(--line-soft); color:var(--text); white-space:nowrap; flex-shrink:0; }
.srch-section { margin-bottom:36px; }
.srch-section-title { font-size:18px; font-weight:900; margin-bottom:14px; display:flex; align-items:center; gap:8px; }
.srch-count { font-size:13px; font-weight:600; color:var(--muted); background:var(--line-soft); padding:2px 9px; border-radius:999px; }
.srch-product-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:14px; }
.srch-product-card { border-radius:16px; border:1px solid var(--line); background:var(--surface); overflow:hidden; text-decoration:none; color:var(--text); transition:.16s; display:block; }
.srch-product-card:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.18); border-color:var(--accent); }
.srch-product-thumb { aspect-ratio:1; background:var(--bg-soft); overflow:hidden; display:flex; align-items:center; justify-content:center; font-size:32px; }
.srch-product-thumb img { width:100%; height:100%; object-fit:cover; }
.srch-product-info { padding:10px 12px 12px; }
.srch-product-name { font-size:13px; font-weight:700; line-height:1.3; margin-bottom:4px; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.srch-product-price { font-size:15px; font-weight:800; color:var(--accent); }
.srch-product-shop { font-size:11px; color:var(--muted); margin-top:3px; }
.srch-shop-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:14px; }
.srch-shop-card { border-radius:16px; border:1px solid var(--line); background:var(--surface); overflow:hidden; text-decoration:none; color:var(--text); transition:.16s; display:block; }
.srch-shop-card:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.18); border-color:var(--accent-2); }
.srch-shop-banner { height:72px; background:linear-gradient(135deg,rgba(56,189,248,.14),rgba(16,185,129,.10)); display:flex; align-items:center; justify-content:center; font-size:26px; overflow:hidden; }
.srch-shop-banner img { width:100%; height:100%; object-fit:cover; }
.srch-shop-info { padding:10px 12px 12px; }
.srch-shop-name { font-size:14px; font-weight:800; margin-bottom:2px; }
.srch-shop-meta { font-size:12px; color:var(--muted); }
.srch-stream-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:14px; }
.srch-stream-card { border-radius:16px; border:1px solid var(--line); background:var(--surface); overflow:hidden; text-decoration:none; color:var(--text); transition:.16s; display:block; }
.srch-stream-card:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.18); border-color:var(--accent); }
.srch-stream-thumb { aspect-ratio:3/4; background:var(--bg-soft); position:relative; overflow:hidden; display:flex; align-items:center; justify-content:center; font-size:36px; }
.srch-stream-thumb img { width:100%; height:100%; object-fit:cover; }
.srch-stream-info { padding:10px 12px 12px; }
.srch-stream-title { font-size:13px; font-weight:700; line-height:1.3; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.srch-stream-shop { font-size:11px; color:var(--muted); margin-top:3px; }
.srch-empty { text-align:center; padding:60px 20px; color:var(--muted); }
.srch-empty .icon { font-size:52px; margin-bottom:16px; }
.srch-empty h2 { font-size:22px; font-weight:900; color:var(--text); margin-bottom:8px; }
.live-pill { display:inline-flex; align-items:center; gap:4px; padding:2px 8px; border-radius:999px; font-size:10px; font-weight:800; background:rgba(239,68,68,.15); color:#ef4444; border:1px solid rgba(239,68,68,.25); position:absolute; top:8px; left:8px; }
.live-pill::before { content:''; width:6px; height:6px; border-radius:50%; background:#ef4444; animation:livepulse 1.4s ease-in-out infinite; }

/* ------------------------------------------------------------------ */
/* Aankondigingsbanner (shop public-view)                              */
/* ------------------------------------------------------------------ */
.shop-announcement { display:flex; align-items:flex-start; gap:10px; margin:18px 0 0; padding:14px 18px; background:rgba(245,158,11,.12); border:1px solid rgba(245,158,11,.25); border-radius:18px; color:var(--text); font-size:14px; line-height:1.5; }
.shop-announcement-icon { font-size:18px; flex-shrink:0; margin-top:1px; }

/* ------------------------------------------------------------------ */
/* Shop sidebar info (shipping / return policy)                        */
/* ------------------------------------------------------------------ */
.shopfront-info-panel { padding:18px; font-size:13px; }
.shopfront-info-block + .shopfront-info-block { margin-top:16px; padding-top:16px; border-top:1px solid var(--line-soft); }
.shopfront-info-block h3 { font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); margin:0 0 6px; }
.shopfront-info-block p { margin:0; color:var(--text); line-height:1.55; }

/* ------------------------------------------------------------------ */
/* Product galerij thumbnails                                          */
/* ------------------------------------------------------------------ */
.product-gallery-thumbs { display:flex; gap:8px; margin-top:10px; flex-wrap:wrap; }
.product-gallery-thumb { width:64px; height:64px; border-radius:10px; border:2px solid var(--line); overflow:hidden; cursor:pointer; padding:0; background:none; transition:.14s; flex-shrink:0; }
.product-gallery-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.product-gallery-thumb.is-active { border-color:var(--accent); }
.product-gallery-thumb:hover { border-color:var(--accent-2); }

/* ── TCG kaartgegevens blok (product-detail pagina) ── */
.tcg-detail-block { margin-top:18px; padding:14px 16px; border-radius:16px; background:var(--bg-soft,rgba(255,255,255,.04)); border:1px solid var(--line-soft); }
.tcg-detail-title { font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; color:var(--muted); margin:0 0 10px; }
.tcg-detail-list { margin:0; padding:0; display:flex; flex-direction:column; gap:0; }
.tcg-detail-row { display:flex; justify-content:space-between; align-items:baseline; gap:8px; padding:6px 0; border-bottom:1px solid var(--line-soft); }
.tcg-detail-row:last-child { border-bottom:none; padding-bottom:0; }
.tcg-detail-row dt { font-size:12px; color:var(--muted); flex-shrink:0; white-space:nowrap; }
.tcg-detail-row dd { font-size:13px; font-weight:600; margin:0; text-align:right; }
.tcg-condition-note { margin-top:12px; padding:12px; border-radius:14px; background:rgba(16,185,129,.08); border:1px solid rgba(16,185,129,.16); display:grid; gap:4px; }
.tcg-condition-note strong { font-size:12px; font-weight:900; text-transform:uppercase; letter-spacing:.06em; color:var(--accent); }
.tcg-condition-note span { color:var(--muted); font-size:12px; line-height:1.5; }

/* ============================================================
   CLIPS & HIGHLIGHTS — shop.css additions (0.11.35)
   ============================================================ */

/* Shopfront clips section */
.shopfront-clips { max-width:1440px; margin:0 auto; padding:32px 24px 40px; }
.shopfront-clips h3 { font-size:20px; font-weight:800; margin:0 0 18px; }

/* Clips grid */
.clips-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px; }
.clips-grid--compact { grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:12px; }

/* Clip card */
.clip-card { display:flex; flex-direction:column; border-radius:16px; overflow:hidden; background:var(--surface,#fff); border:1px solid var(--line-soft,#e5e7eb); box-shadow:var(--shadow,0 2px 8px rgba(15,23,42,.06)); text-decoration:none; color:inherit; transition:transform .14s ease,box-shadow .14s ease; }
.clip-card:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(15,23,42,.11); }

/* Clip card thumbnail */
.clip-card-thumb { position:relative; aspect-ratio:16/9; overflow:hidden; background:#f1f5f9; }
.clip-card-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.clip-card-placeholder { display:flex; align-items:center; justify-content:center; width:100%; height:100%; font-size:32px; color:var(--muted,#94a3b8); }
.clip-play-icon { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:28px; color:#fff; text-shadow:0 2px 8px rgba(0,0,0,.4); pointer-events:none; }
.clip-card-thumb::after { content:""; position:absolute; inset:0; background:rgba(15,23,42,.0); transition:background .14s; }
.clip-card:hover .clip-card-thumb::after { background:rgba(15,23,42,.06); }

/* Clip card body */
.clip-card-body { padding:12px 14px 14px; display:flex; flex-direction:column; gap:4px; flex:1; }
.clip-card-title { font-size:13px; font-weight:700; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.clip-card-product { font-size:11px; color:var(--muted,#64748b); }

/* Product clips block */
.product-clips-block { padding:24px 0 0; }
.product-clips-block h3 { font-size:18px; font-weight:800; margin:0 0 14px; }

/* Clip show page */
.clip-show-page { max-width:900px; margin:0 auto; padding:24px; }
.clip-media-block { border-radius:18px; overflow:hidden; background:#0f172a; margin-bottom:24px; aspect-ratio:16/9; display:flex; align-items:center; justify-content:center; }
.clip-video-embed { width:100%; height:100%; border:0; display:block; }
.clip-video-native { width:100%; height:100%; display:block; object-fit:contain; background:#000; outline:none; }
.clip-thumb-large { width:100%; height:100%; object-fit:cover; display:block; }
.clip-media-placeholder { background:linear-gradient(135deg,rgba(15,23,42,.08),rgba(16,185,129,.06)); }
.clip-show-title { font-size:26px; font-weight:900; margin:0 0 10px; line-height:1.2; }
.clip-show-description { color:var(--muted,#64748b); margin:0 0 16px; line-height:1.6; }
.clip-show-meta { display:flex; flex-wrap:wrap; gap:6px 0; font-size:13px; color:var(--muted,#64748b); }
.clip-show-meta a { color:var(--accent,#10b981); text-decoration:none; }
.clip-show-meta a:hover { text-decoration:underline; }
.clip-show-meta-sep { margin:0 8px; color:var(--line,#d1d5db); }
.clip-show-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; }
.clip-action-btn { display:inline-flex; align-items:center; gap:5px; padding:8px 14px; border:1px solid var(--line,#d1d5db); border-radius:8px; background:var(--surface,#fff); color:var(--text,#111827); font-size:13px; font-weight:600; text-decoration:none; cursor:pointer; transition:border-color .15s,background .15s; font-family:inherit; }
.clip-action-btn:hover { border-color:var(--accent,#10b981); background:rgba(16,185,129,.06); color:var(--accent,#10b981); }
.clip-action-btn--primary { background:var(--accent,#10b981); color:#fff; border-color:var(--accent,#10b981); }
.clip-action-btn--primary:hover { background:#059669; border-color:#059669; color:#fff; }

/* 0.17.0 phase 5 - mobile usability polish */
@media (max-width:640px) {
    .shopfront-filter-bar {
        padding: 14px;
        gap: 10px;
    }

    .shopfront-filter-field input,
    .shopfront-filter-field select,
    .shopfront-filter-check,
    .shopfront-filter-bar .btn {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }

    .shop-product-actions {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 8px;
    }

    .shop-product-actions input {
        width: 100%;
        min-width: 0;
    }

    .shop-product-actions .btn {
        min-width: 0;
    }

    .product-buy-form,
    .product-buy-actions {
        grid-template-columns: 1fr;
    }

    .product-detail-price {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .product-detail-price strong {
        font-size: 32px;
    }

    .review-head,
    .srch-bar,
    .srch-filter-bar,
    .srch-cat-hero,
    .clip-show-meta {
        align-items: stretch;
        flex-direction: column;
    }

    .srch-bar button,
    .clip-show-actions .clip-action-btn {
        width: 100%;
        justify-content: center;
    }

    .srch-filter-divider {
        display: none;
    }

    .srch-filter-label {
        white-space: normal;
    }

    .srch-cat-hero-count {
        margin-left: 0;
        align-self: flex-start;
    }

    .clips-grid,
    .clips-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width:420px) {
    .shop-product-actions,
    .clips-grid,
    .clips-grid--compact {
        grid-template-columns: 1fr;
    }

    .shop-announcement {
        margin-top: 12px;
        padding: 12px 14px;
    }

    .product-gallery-thumb {
        width: 56px;
        height: 56px;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   0.26.0 — UX additions
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Quick-view hover button ─────────────────────────────────────────────── */
.shop-product-qv-btn {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line-soft);
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    transition: opacity .18s, transform .18s;
    box-shadow: 0 4px 14px rgba(15,23,42,.14);
    white-space: nowrap;
    z-index: 2;
}
html[data-theme="dark"] .shop-product-qv-btn { background: rgba(30,40,52,.92); color: #f1f5f9; }
.shop-product-card:hover .shop-product-qv-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── Quick-view modal ────────────────────────────────────────────────────── */
.qv-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(17,24,39,.62);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s;
}
.qv-overlay.is-open { opacity: 1; pointer-events: all; }
.qv-modal {
    background: var(--surface);
    border-radius: 24px;
    box-shadow: 0 28px 64px rgba(17,24,39,.24);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    transform: scale(.96);
    transition: transform .22s;
}
.qv-overlay.is-open .qv-modal { transform: scale(1); }
.qv-media {
    aspect-ratio: 1/1;
    border-radius: 24px 0 0 24px;
    overflow: hidden;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.qv-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qv-media-empty { font-size: 72px; }
.qv-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    overflow-y: auto;
}
.qv-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background .14s;
    z-index: 10;
    line-height: 1;
}
.qv-close:hover { background: var(--line-soft); }
.qv-tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; width: fit-content; }
.qv-title { font-size: 20px; font-weight: 800; line-height: 1.2; margin: 0; }
.qv-price { font-size: 28px; font-weight: 900; color: var(--accent); line-height: 1; }
.qv-compare-price { text-decoration: line-through; color: var(--muted); font-size: 16px; font-weight: 600; margin-left: 8px; }
.qv-desc { color: var(--muted); font-size: 14px; line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.qv-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.qv-chip { padding: 5px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line-soft); font-size: 12px; font-weight: 700; }
.qv-add-row { display: flex; gap: 8px; align-items: center; margin-top: auto; }
.qv-add-row input[type="number"] { width: 64px; min-height: 42px; text-align: center; border-radius: 10px; border: 1px solid var(--line); background: var(--input-bg); color: var(--text); font-weight: 700; font-size: 14px; padding: 0 8px; }
.qv-add-row .btn { flex: 1; min-height: 42px; }
.qv-view-link { display: block; text-align: center; font-size: 13px; color: var(--accent); text-decoration: none; font-weight: 600; }
.qv-view-link:hover { text-decoration: underline; }
@media (max-width: 640px) {
    .qv-modal { grid-template-columns: 1fr; }
    .qv-media { aspect-ratio: 16/9; border-radius: 24px 24px 0 0; }
}

/* ── Sticky buy bar ──────────────────────────────────────────────────────── */
.sticky-buy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(17,24,39,.12);
    padding: 12px 20px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateY(100%);
    transition: transform .28s cubic-bezier(.16,1,.3,1);
}
.sticky-buy-bar.is-visible { transform: translateY(0); }
.sticky-buy-bar-info { flex: 1; min-width: 0; }
.sticky-buy-bar-title { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.sticky-buy-bar-price { font-size: 16px; color: var(--accent); font-weight: 800; }
.sticky-buy-bar-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sticky-buy-bar-qty { width: 58px; min-height: 42px; text-align: center; border-radius: 10px; border: 1px solid var(--line); background: var(--input-bg); color: var(--text); padding: 0 6px; font-weight: 700; font-size: 14px; }

/* ── Skeleton loading ────────────────────────────────────────────────────── */
@keyframes skel-shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
.skel {
    background: linear-gradient(
        90deg,
        var(--surface-2, rgba(148,163,184,.12)) 25%,
        rgba(148,163,184,.24) 50%,
        var(--surface-2, rgba(148,163,184,.12)) 75%
    );
    background-size: 800px 100%;
    animation: skel-shimmer 1.5s infinite linear;
    border-radius: 6px;
}
.skel-card { border-radius: 22px; border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.skel-media { aspect-ratio: 1/1; }
.skel-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.skel-line { height: 13px; }
.skel-line--60 { width: 60%; }
.skel-line--80 { width: 80%; }
.skel-line--40 { width: 40%; }
.skel-btn { height: 38px; border-radius: 12px; }
