/*
 | Catalogus en productdetail. Alleen geladen op de shoppagina's via
 | @push('styles'). Kleuren volgen de sitetokens; het groen is hetzelfde
 | als legal.css (--sr-legal-groen) en de knoppen (sr-btn).
 */

.sr-shop-balk {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .75rem 1.5rem;
    margin: 1.5rem 0 2rem;
}

.sr-shop-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }

.sr-shop-tab {
    padding: .45rem 1rem;
    border: 1px solid #d5d5cf;
    border-radius: 999px;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    font-size: .95rem;
}

.sr-shop-tab-actief {
    background: #a4c422;
    border-color: #a4c422;
    color: #1f2937;
}

.sr-shop-sorteer { display: flex; gap: .9rem; font-size: .95rem; align-items: center; }
.sr-shop-sorteer a { color: inherit; text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 1px; }
.sr-shop-sorteer a.sr-shop-sorteer-actief { border-bottom-color: #a4c422; font-weight: 600; }

/* ---- kaarten ---- */

.sr-shop-grid {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.25rem;
}

.sr-shop-kaart a {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    height: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .15s ease, transform .15s ease;
}

.sr-shop-kaart a:hover,
.sr-shop-kaart a:focus-visible {
    box-shadow: 0 6px 18px rgba(31, 41, 55, .12);
    transform: translateY(-2px);
}

.sr-shop-beeld { display: flex; justify-content: center; min-height: 180px; align-items: center; }
.sr-shop-beeld img { max-width: 100%; height: auto; max-height: 200px; object-fit: contain; }

.sr-shop-naam { font-weight: 700; font-size: 1.05rem; }

.sr-shop-prijs { font-size: 1.05rem; }
.sr-shop-prijs em { font-style: normal; font-size: .85rem; color: #55554f; }
.sr-shop-prijs s { color: #9ca3af; margin-right: .5rem; font-size: .9rem; }

.sr-shop-knop { margin-top: auto; align-self: flex-start; }

.sr-shop-leeg { padding: 3rem 0; text-align: center; color: #55554f; }

.sr-shop-paginering { display: flex; justify-content: center; margin-top: 2rem; }

/* ---- detail ---- */

.sr-shop-terug { margin-bottom: 1rem; }
.sr-shop-terug a { color: inherit; text-decoration: none; border-bottom: 2px solid #a4c422; }

.sr-shop-detail-boven {
    display: grid;
    grid-template-columns: minmax(260px, 460px) 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 760px) {
    .sr-shop-detail-boven { grid-template-columns: 1fr; }
}

.sr-shop-detail-beeld { display: flex; flex-direction: column; gap: 1rem; }
.sr-shop-detail-beeld img { max-width: 100%; height: auto; object-fit: contain; }

.sr-shop-detail-prijs { font-size: 1.75rem; font-weight: 700; margin: .25rem 0; }
.sr-shop-detail-prijs s { color: #9ca3af; font-size: 1.1rem; font-weight: 400; margin-right: .6rem; }

.sr-shop-koopblok {
    border: 1px solid #e5e7eb;
    border-left: 4px solid #a4c422;
    border-radius: 10px;
    padding: 1.1rem 1.25rem;
    margin: 1.25rem 0;
}

.sr-shop-voorraad { color: #b45309; font-weight: 600; }
.sr-shop-voorraad.is-op-voorraad { color: #3f6212; }

.sr-shop-units { list-style: none; margin: .5rem 0; padding: 0; }
.sr-shop-units li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .55rem 0;
    border-bottom: 1px solid #eef0f2;
}
.sr-shop-unit-info { display: flex; gap: 1rem; flex-wrap: wrap; }
.sr-shop-unit-prijs { font-weight: 700; white-space: nowrap; }

.sr-shop-specs { margin-top: 2.5rem; }
.sr-shop-specs dl {
    display: grid;
    grid-template-columns: minmax(140px, 220px) 1fr;
    gap: .4rem 1.5rem;
    max-width: 720px;
}
.sr-shop-specs dt { font-weight: 600; }
.sr-shop-specs dd { margin: 0; }

/* ---- kenmerkfilters ---- */

.sr-shop-filters {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin: -0.75rem 0 1.75rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.sr-shop-filtergroep {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .4rem .6rem;
}

.sr-shop-filternaam {
    font-weight: 600;
    font-size: .9rem;
    min-width: 7.5rem;
}

.sr-shop-filter {
    padding: .25rem .7rem;
    border: 1px solid #d5d5cf;
    border-radius: 999px;
    font-size: .88rem;
    text-decoration: none;
    color: inherit;
}

.sr-shop-filter-actief {
    background: #a4c422;
    border-color: #a4c422;
    font-weight: 600;
}

.sr-shop-filter-reset {
    align-self: flex-start;
    margin-top: .35rem;
    font-size: .88rem;
    color: inherit;
    text-decoration: none;
    border-bottom: 2px solid #a4c422;
}

/* ── paginering ─────────────────────────────────────────────────────── */
.sr-shop-paginering {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 28px 0 6px;
    flex-wrap: wrap;
}
.sr-shop-pagina {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 10px;
    border: 1px solid var(--sm-rp-houtskool, #2b2b2b);
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    font-weight: 700;
}
.sr-shop-pagina.is-actief {
    background: var(--sm-rp-limoen, #a6c934);
    border-color: var(--sm-rp-limoen, #a6c934);
}
.sr-shop-pagina.is-uit {
    opacity: .35;
    border-style: dashed;
}
.sr-shop-paginering-telling {
    text-align: center;
    color: #666;
    font-size: .85rem;
    margin: 0 0 24px;
}

/* ── accessoirestrook op de refurbished-pagina ──────────────────────── */
.sr-shop-extras { margin-top: 40px; padding-top: 24px; border-top: 2px solid var(--sm-rp-lijn, #d9dad4); }
.sr-shop-extras h2 { font-size: 1.35rem; margin: 0 0 16px; }
.sr-shop-grid-extras .sr-shop-kaart img { max-height: 120px; object-fit: contain; }
