/* ============================================================
   Premium Product Section - Wholesale Nursery
   ============================================================ */
.psection {
    --p-primary: #4F6F52;
    --p-primary-dark: #3d5840;
    --p-secondary: #739072;
    --p-accent: #DDE5D4;
    --p-bg: transparent;
    --p-card: var(--suko-surface-solid, #fffdf9);
    --p-text: #2C2C2C;
    --p-muted: #6b7280;
    --p-border: #E9ECE8;
    --p-radius-card: 24px;
    --p-radius-btn: 14px;
    --p-shadow-soft: var(--suko-shadow-card, 0 8px 24px rgba(68, 54, 39, 0.08));
    --p-shadow-hover: 0 22px 55px rgba(0, 0, 0, 0.14);

    background: var(--p-bg);
    color: var(--p-text);
    padding: 32px 0 20px;
    font-family: 'Heebo', 'Rubik', sans-serif;
    position: relative;
    z-index: 2;
    margin-top: 0;
    box-shadow: none;
}

.psection + .psection {
    padding-top: 12px;
}

/* ---------- Header ---------- */
.psection__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 22px;
}

.psection__eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--p-secondary);
}
}

.psection__title {
    font-size: clamp(2rem, 4.5vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
}

.psection__subtitle {
    font-size: clamp(1rem, 2vw, 18px);
    color: var(--p-muted);
    margin: 0 auto;
    max-width: 560px;
}

.psection__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--p-radius-btn);
    border: 1px solid var(--p-border);
    background: #fff;
    color: var(--p-primary);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.psection__all:hover {
    background: var(--p-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--p-shadow-soft);
}

.psection__all i { transition: transform 0.3s ease; }
.psection__all:hover i { transform: translateX(-4px); }

/* ---------- Toolbar ---------- */
.psection__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.psection__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pchip {
    border: 1px solid var(--p-border);
    background: #fff;
    color: var(--p-text);
    border-radius: 50px;
    padding: 9px 18px;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.pchip:hover { transform: translateY(-2px); border-color: var(--p-secondary); }

.pchip.is-active {
    background: var(--p-primary);
    color: #fff;
    border-color: var(--p-primary);
}

.psection__tools {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.psearch {
    position: relative;
    display: flex;
    align-items: center;
}

.psearch i {
    position: absolute;
    inset-inline-start: 14px;
    color: var(--p-muted);
    pointer-events: none;
}

.psearch__input {
    border: 1px solid var(--p-border);
    background: #fff;
    border-radius: 50px;
    padding: 10px 16px;
    padding-inline-start: 40px;
    font-size: 0.92rem;
    width: 220px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, width 0.3s ease;
}

.psearch__input:focus {
    outline: none;
    border-color: var(--p-secondary);
    box-shadow: 0 0 0 4px rgba(115, 144, 114, 0.15);
    width: 260px;
}

.psort {
    position: relative;
    display: flex;
    align-items: center;
}

.psort__select {
    appearance: none;
    border: 1px solid var(--p-border);
    background: #fff;
    border-radius: 50px;
    padding: 10px 38px 10px 16px;
    font-size: 0.92rem;
    cursor: pointer;
    color: var(--p-text);
}

.psort__select:focus {
    outline: none;
    border-color: var(--p-secondary);
    box-shadow: 0 0 0 4px rgba(115, 144, 114, 0.15);
}

.psort__chevron {
    position: absolute;
    inset-inline-end: 14px;
    pointer-events: none;
    color: var(--p-muted);
    font-size: 0.8rem;
}

.pview {
    display: inline-flex;
    border: 1px solid var(--p-border);
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
}

.pview__btn {
    border: none;
    background: transparent;
    color: var(--p-muted);
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.pview__btn.is-active {
    background: var(--p-primary);
    color: #fff;
}

/* ---------- Grid ---------- */
.psection__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.psection__cell { display: flex; }

.psection__empty {
    text-align: center;
    color: var(--p-muted);
    font-size: 1.05rem;
    padding: 48px 0;
}

/* ---------- Standalone host (e.g. shop page) ---------- */
.pcards, .pcard {
    --p-primary: #4F6F52;
    --p-primary-dark: #3d5840;
    --p-secondary: #739072;
    --p-accent: #DDE5D4;
    --p-bg: transparent;
    --p-card: var(--suko-surface-solid, #fffdf9);
    --p-text: #2C2C2C;
    --p-muted: #6b7280;
    --p-border: #E9ECE8;
    --p-radius-card: 24px;
    --p-radius-btn: 14px;
    --p-shadow-soft: var(--suko-shadow-card, 0 8px 24px rgba(68, 54, 39, 0.08));
    --p-shadow-hover: 0 22px 55px rgba(0, 0, 0, 0.14);
    font-family: 'Heebo', 'Rubik', sans-serif;
}

.pcards__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .pcards__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .pcards__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

/* ---------- Product Card ---------- */
.pcard {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: var(--p-card);
    border: 1px solid var(--p-border);
    border-radius: var(--p-radius-card);
    box-shadow: var(--p-shadow-soft);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    /* scroll entrance */
    opacity: 0;
    transform: translateY(30px);
}

.pcard.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s ease, border-color 0.3s ease;
}

.pcard:hover,
.pcard:focus-within {
    transform: translateY(-10px);
    box-shadow: var(--p-shadow-hover);
    border-color: var(--p-accent);
}

/* Media — white stage so catalog photos with white BG blend in */
.pcard__media {
    position: relative;
    height: 280px;
    background: #fff;
    overflow: hidden;
    flex-shrink: 0;
    border-bottom: 1px solid var(--p-border);
}

.pcard__media-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px 22px 16px;
    box-sizing: border-box;
}

.pcard__img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
    opacity: 0;
}

.pcard__img.is-loaded { opacity: 1; }

.pcard:hover .pcard__img,
.pcard:focus-within .pcard__img { transform: scale(1.04); }

.pcard__img-skeleton {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f4f4f2 25%, #fafaf8 37%, #f4f4f2 63%);
    background-size: 400% 100%;
    animation: pcard-shimmer 1.4s ease infinite;
}

.pcard__img.is-loaded ~ .pcard__img-skeleton { display: none; }

@keyframes pcard-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Wishlist — pinned on media above the "פרטי מוצר" reveal */
.pcard__wish {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    z-index: 6;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.96);
    color: #3a3a3a;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pcard__wish i {
    font-size: 1rem;
    line-height: 1;
}

.pcard__wish:hover {
    transform: scale(1.08);
    border-color: #e0566d;
    color: #e0566d;
    box-shadow: 0 6px 18px rgba(224, 86, 109, 0.22);
}

.pcard__wish[aria-pressed="true"] {
    color: #e0566d;
    border-color: rgba(224, 86, 109, 0.35);
    background: #fff5f7;
}

/* Tags (soft, flat - placed in card body above the name) */
.pcard__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0 10px;
}

.pcard__tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 7px;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    background: #eef1ea;
    color: var(--p-text);
}

.pcard__tag i { font-size: 0.85em; line-height: 1; }

.pcard__tag .flag-icon {
    width: 1.05em;
    height: 0.8em;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.pcard__tag--new { background: #e7f0e7; color: #3f6b43; }
.pcard__tag--sale { background: #fbe9e5; color: #c43d2c; }
.pcard__tag--popular { background: #fbf0db; color: #b67410; }
.pcard__tag--exclusive { background: #ecedf7; color: #474d86; }
.pcard__tag--stock { background: #e4f1f4; color: #2d6f87; }
.pcard__tag--dutch { background: #e7f0e7; color: #3f6b43; }

/* Reveal overlay - "opens product details" on hover */
.pcard__reveal {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 14px 16px;
    color: var(--p-text);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.pcard:hover .pcard__reveal,
.pcard:focus-within .pcard__reveal {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.pcard__reveal-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--p-primary);
    flex-shrink: 0;
}

.pcard__reveal-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.pcard__rbtn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--p-border);
    background: #fff;
    color: var(--p-primary);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.pcard__rbtn:hover {
    background: var(--p-primary);
    transform: translateY(-2px);
    color: #fff;
}

/* Description (default state - fills the card body) */
.pcard__desc {
    color: var(--p-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Body */
.pcard__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 22px 22px;
}

.pcard__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.pcard__sku {
    font-size: 0.76rem;
    color: var(--p-muted);
    letter-spacing: 0.03em;
}

.pcard__stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
}

.pcard__stock-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #9aa39a;
}

.pcard__stock.is-in { color: #2f8a4e; }
.pcard__stock.is-in .pcard__stock-dot { background: #36b365; box-shadow: 0 0 0 4px rgba(54, 179, 101, 0.15); }
.pcard__stock.is-low { color: #c9821f; }
.pcard__stock.is-low .pcard__stock-dot { background: #f0a330; box-shadow: 0 0 0 4px rgba(240, 163, 48, 0.15); }
.pcard__stock.is-out { color: #c0463b; }
.pcard__stock.is-out .pcard__stock-dot { background: #e0564a; box-shadow: 0 0 0 4px rgba(224, 86, 74, 0.15); }
.pcard__stock.is-pre { color: #3a6ea5; }
.pcard__stock.is-pre .pcard__stock-dot { background: #4f86c6; box-shadow: 0 0 0 4px rgba(79, 134, 198, 0.15); }

.pcard__name {
    font-size: clamp(1.25rem, 2.4vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px;
}

.pcard__name a { color: var(--p-text); text-decoration: none; }
.pcard__name a:hover { color: var(--p-primary); }

/* Specs (inside reveal overlay) */
.pcard__specs {
    display: flex;
    flex-direction: column;
}

.pcard__spec {
    display: grid;
    grid-template-columns: 18px auto 1fr;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid var(--p-border);
    font-size: 0.82rem;
}

.pcard__spec:last-child { border-bottom: none; }
.pcard__spec i { color: var(--p-secondary); }
.pcard__spec-k { color: var(--p-muted); }
.pcard__spec-v { text-align: start; font-weight: 600; color: var(--p-text); }

/* Footer */
.pcard__footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pcard__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 8px;
}

.pcard__price-now {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--p-primary);
    line-height: 1;
}

.pcard__price-was {
    font-size: 0.9rem;
    color: var(--p-muted);
    text-decoration: line-through;
}

.pcard__price-note {
    flex-basis: 100%;
    font-size: 0.72rem;
    color: var(--p-muted);
}

/* VAT-aware price blocks (catalog prices are net / before VAT) */
.price-vat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.price-vat__row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.price-vat__now {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--p-primary, var(--primary, #2f5d3a));
    line-height: 1.1;
}

.price-vat--compact .price-vat__now,
.price-vat--pcard .price-vat__now {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.price-vat--product .price-vat__now {
    font-size: 1.75rem;
}

.price-vat--bestsellers .price-vat__now {
    font-size: 1.05rem;
}

.price-vat--cart .price-vat__now,
.price-vat--summary .price-vat__now {
    font-size: 1rem;
    font-weight: 600;
}

.price-vat__was {
    font-size: 0.85rem;
    color: var(--p-muted, #8a8a8a);
    text-decoration: line-through;
}

.price-vat__incl {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--p-text, #1f1f1f);
}

.price-vat--pcard .price-vat__incl,
.price-vat--compact .price-vat__incl {
    font-size: 0.92rem;
}

.price-vat__tag {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--p-primary, #2f5d3a);
    background: color-mix(in srgb, var(--p-primary, #2f5d3a) 10%, transparent);
    border-radius: 6px;
    padding: 0.12rem 0.45rem;
    line-height: 1.25;
}

.price-vat__tag--muted {
    background: transparent;
    color: var(--p-muted, #7a7a7a);
    padding-inline: 0;
    font-weight: 500;
    font-size: 0.7rem;
}

.price-vat__note {
    font-size: 0.7rem;
    color: var(--p-muted, #8a8a8a);
    margin-top: 1px;
    line-height: 1.3;
}

.price-vat__from {
    font-size: 0.8rem;
    color: var(--p-muted, #8a8a8a);
}

.price-vat--nursery .price-vat__row--inclusive {
    padding-top: 3px;
    border-top: 1px dashed color-mix(in srgb, var(--p-muted, #bbb) 40%, transparent);
    margin-top: 2px;
}

.price-vat--compact.price-vat--retail {
    gap: 0;
}

.price-vat--compact.price-vat--nursery {
    gap: 3px;
}

.pcard__price-locked {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--p-secondary);
}

/* Buy row */
.pcard__buy {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.pcard__qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--p-border);
    border-radius: var(--p-radius-btn);
    overflow: hidden;
    flex-shrink: 0;
    height: 36px;
}

.pcard__qty-btn {
    border: none;
    background: #f4f6f1;
    color: var(--p-text);
    width: 28px;
    height: 100%;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pcard__qty-btn:hover { background: var(--p-accent); }

.pcard__qty-input {
    width: 36px;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    -moz-appearance: textfield;
    background: #fff;
    padding: 0;
}

.pcard__qty-input::-webkit-outer-spin-button,
.pcard__qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pcard__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    border-radius: var(--p-radius-btn);
    padding: 8px 12px;
    min-height: 36px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.pcard__btn .bi { font-size: 0.95rem; }

.pcard__btn--primary {
    background: var(--p-primary);
    color: #fff;
}

.pcard__btn--primary:hover {
    background: var(--p-primary-dark);
    box-shadow: 0 10px 24px rgba(79, 111, 82, 0.3);
}

.pcard__btn--primary:disabled {
    background: #c8cdc6;
    cursor: not-allowed;
    box-shadow: none;
}

.pcard__btn--quote {
    background: var(--p-accent);
    color: var(--p-primary-dark);
}

.pcard__btn--quote:hover { background: var(--p-secondary); color: #fff; }

.pcard__btn-arrow { transition: transform 0.3s ease; }
body.rtl .pcard__btn-arrow { transform: scaleX(-1); }
.pcard__btn:hover .pcard__btn-arrow { transform: translateX(-4px); }
body.rtl .pcard__btn:hover .pcard__btn-arrow { transform: scaleX(-1) translateX(-4px); }

.pcard__btn.is-loading { pointer-events: none; opacity: 0.85; }
.pcard__btn.is-added { background: #2f8a4e; }

/* ---------- List view ---------- */
.psection__grid[data-view="list"] {
    grid-template-columns: 1fr;
    gap: 18px;
}

.psection__grid[data-view="list"] .pcard {
    flex-direction: row;
    min-height: 0;
}

.psection__grid[data-view="list"] .pcard__media {
    width: 280px;
    height: auto;
    flex-shrink: 0;
}

.psection__grid[data-view="list"] .pcard__body { flex: 1; }

.psection__grid[data-view="list"] .pcard__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 640px) {
    .psection__grid[data-view="list"] .pcard { flex-direction: column; }
    .psection__grid[data-view="list"] .pcard__media { width: 100%; height: 240px; }
    .psection__grid[data-view="list"] .pcard__footer { flex-direction: column; align-items: stretch; }
}

/* ---------- Quick View Modal ---------- */
.pqv {
    --p-primary: #4F6F52;
    --p-primary-dark: #3d5840;
    --p-secondary: #739072;
    --p-accent: #DDE5D4;
    --p-bg: transparent;
    --p-card: var(--suko-surface-solid, #fffdf9);
    --p-text: #2C2C2C;
    --p-muted: #6b7280;
    --p-border: #E9ECE8;
    --p-radius-btn: 14px;

    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pqv[hidden] { display: none; }

.pqv__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 26, 20, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: pqv-fade 0.25s ease;
}

.pqv__dialog {
    position: relative;
    background: var(--p-card);
    border-radius: 26px;
    max-width: 920px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    animation: pqv-pop 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes pqv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pqv-pop { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: none; } }

.pqv__close {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.pqv__close:hover { transform: rotate(90deg); }

.pqv__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.pqv__media {
    position: relative;
    background: linear-gradient(160deg, #f3f5f0, #e6eae2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    min-height: 320px;
}

.pqv__img {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.pqv__badges {
    position: absolute;
    top: 18px;
    inset-inline-end: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.pqv__info { padding: 40px 36px; }

.pqv__sku { font-size: 0.8rem; color: var(--p-muted); }

.pqv__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin: 6px 0 12px;
}

.pqv__desc { color: var(--p-muted); line-height: 1.6; margin-bottom: 18px; }

.pqv__stock { margin-bottom: 18px; }

.pqv__specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px;
    margin-bottom: 22px;
}

.pqv__specs .pqv__spec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    padding: 8px 0;
    border-bottom: 1px dashed var(--p-border);
}

.pqv__specs .pqv__spec i { color: var(--p-secondary); }
.pqv__specs .pqv__spec b { margin-inline-start: auto; }

.pqv__price {
    display: block;
    margin-bottom: 22px;
}

.pqv__price .price-vat--qv .price-vat__now {
    font-size: 1.85rem;
}

.pqv__price .price-vat--qv .price-vat__incl {
    font-size: 1.05rem;
}

.pqv__price .price-vat--qv .price-vat__was {
    font-size: 1rem;
}

.pqv__price .now { font-size: 2.2rem; font-weight: 700; color: var(--p-primary); }
.pqv__price .was { font-size: 1.1rem; color: var(--p-muted); text-decoration: line-through; }

.pqv__actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 768px) {
    .pqv__grid { grid-template-columns: 1fr; }
    .pqv__media { min-height: 240px; }
    .pqv__info { padding: 26px 22px; }
    .pqv__specs { grid-template-columns: 1fr; }
}

/* ---------- Responsive grid ---------- */
@media (max-width: 1100px) {
    .psection__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .psection { padding: 24px 0 16px; }
    .psection__toolbar { gap: 16px; }
    .psearch__input { width: 180px; }
    .psearch__input:focus { width: 200px; }
}

@media (max-width: 640px) {
    .psection { padding: 20px 0 12px; }
    .psection__tools { width: 100%; }
    .psearch__input { width: 100%; }
    .psearch { flex: 1; }
}

.pcard__arrive {
    display: none;
}

/* ---------- Mobile catalog cards (phones only; desktop/tablet cards stay as-is) ---------- */
@media (max-width: 768px) {
    .psection__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .psection__grid[data-view="list"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pcard {
        background: #fffdf9;
        border: 1px solid rgba(45, 65, 50, 0.06);
        border-radius: 14px;
        box-shadow: 0 4px 14px rgba(60, 50, 35, 0.06);
    }

    .pcard:hover,
    .pcard:focus-within {
        transform: none;
        box-shadow: 0 4px 14px rgba(60, 50, 35, 0.06);
        border-color: rgba(45, 65, 50, 0.06);
    }

    .pcard.is-visible:hover,
    .pcard.is-visible:focus-within {
        transform: none;
    }

    .pcard:hover .pcard__img,
    .pcard:focus-within .pcard__img {
        transform: none;
    }

    .pcard__media {
        height: auto;
        aspect-ratio: 1 / 1;
        border-bottom: 1px solid rgba(45, 65, 50, 0.06);
    }

    .pcard__media-link {
        position: absolute;
        inset: 0;
        z-index: 1;
        padding: 0;
        display: block;
    }

    .pcard__img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        inset: 0;
    }

    .pcard__wish {
        top: 6px;
        inset-inline-end: 6px;
        width: 30px;
        height: 30px;
        z-index: 6;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .pcard__wish i { font-size: 0.82rem; }

    .pcard__reveal {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: none !important;
    }

    .pcard:hover .pcard__reveal,
    .pcard:focus-within .pcard__reveal {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .pcard__tags {
        position: absolute;
        top: 6px;
        inset-inline-start: 6px;
        z-index: 5;
        margin: 0;
        max-width: calc(100% - 44px);
        pointer-events: none;
    }

    .pcard__tag {
        padding: 2px 7px;
        font-size: 0.62rem;
        border-radius: 6px;
    }

    .pcard__tag--popular,
    .pcard__tag--exclusive,
    .pcard__tag--stock,
    .pcard__tag--dutch {
        display: none;
    }

    .pcard__body {
        padding: 8px;
        gap: 4px;
    }

    .pcard__head,
    .pcard__desc {
        display: none;
    }

    .pcard__arrive {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 4px 8px;
        margin: 0;
        font-size: 0.68rem;
        font-weight: 700;
        line-height: 1.25;
        color: #3a6ea5;
    }

    .pcard__arrive-date {
        font-weight: 600;
        color: #5a7aa0;
    }

    .pcard__name {
        font-size: 0.82rem;
        line-height: 1.3;
        margin: 0;
        min-height: 2.6em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pcard__name a {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pcard__footer {
        margin-top: 4px;
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 6px;
    }

    .pcard__price {
        flex: 1;
        min-width: 0;
        gap: 2px 6px;
    }

    .price-vat--pcard .price-vat__now,
    .pcard__price-now {
        font-size: 0.95rem;
    }

    .price-vat--pcard .price-vat__was,
    .pcard__price-was {
        font-size: 0.72rem;
    }

    .price-vat__note,
    .price-vat__incl,
    .price-vat--pcard .price-vat__row--inclusive {
        display: none;
    }

    .pcard__buy {
        flex: 0 0 auto;
        align-items: center;
    }

    .pcard__qty {
        display: none;
    }

    .pcard__btn--primary {
        position: relative;
        flex: 0 0 36px;
        width: 36px;
        min-width: 36px;
        min-height: 36px;
        padding: 0;
        border-radius: 50%;
        gap: 0;
    }

    .pcard__btn--primary .pcard__btn-label,
    .pcard__btn--primary .pcard__btn-arrow {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .pcard__price-locked {
        font-size: 0;
        gap: 0;
    }

    .pcard__price-locked i {
        font-size: 0.9rem;
    }

    .pcard__btn--quote {
        position: relative;
        flex: 0 0 36px;
        width: 36px;
        min-width: 36px;
        min-height: 36px;
        padding: 0;
        border-radius: 50%;
        max-width: none;
        gap: 0;
    }

    .pcard__btn--quote .pcard__btn-label,
    .pcard__btn--quote .pcard__btn-arrow {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .psection *,
    .pcard,
    .pcard__img,
    .pcard__btn-arrow { transition: none !important; animation: none !important; }
    .pcard { opacity: 1; transform: none; }
}
