/* =============================================
   Bianca – Single Product Page Styles
   ============================================= */

/* ── Page wrapper ── */
.pd-page {
    padding-bottom: 64px;
}

/* ── Breadcrumb ── */
.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    padding: 14px 0 10px;
    flex-wrap: wrap;
}
.pd-breadcrumb a {
    color: var(--text-muted);
    transition: color var(--transition);
}
.pd-breadcrumb a:hover { color: var(--maroon); }
.pd-breadcrumb span:last-child { color: var(--text); font-weight: 500; }

/* ── Main 3-col grid ── */
.pd-grid {
    display: grid;
    grid-template-columns: 460px 1fr 300px;
    gap: 32px;
    align-items: start;
    margin-top: 8px;
}

/* ── Gallery ── */
.pd-gallery { display: flex; flex-direction: column; gap: 12px; }

.pd-gallery__main {
    position: relative;
    background: #f5f0ea;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.pd-gallery__slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pd-gallery__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease;
    pointer-events: none;
}
.pd-gallery__slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.pd-gallery__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    cursor: zoom-in;
    -webkit-user-drag: none;
    user-select: none;
    touch-action: pan-y;
}

.pd-gallery__zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 14px;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    cursor: zoom-in;
    pointer-events: none;
}
.pd-gallery__zoom-hint svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.pd-gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    cursor: pointer;
    color: var(--maroon);
    transition: background var(--transition), box-shadow var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.pd-gallery__arrow:hover { background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.16); }
.pd-gallery__arrow--prev { right: 12px; }
.pd-gallery__arrow--next { left: 12px; }

/* Chef badge on main image */
.pd-gallery .pd-badge--chef {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 6;
    background: var(--maroon);
    color: #fff;
    border-radius: 20px;
    padding: 5px 13px 5px 10px;
    font-size: 12px;
    font-weight: 600;
    display: flex; align-items: center; gap: 5px;
}
.pd-gallery .pd-badge--chef svg {
    width: 14px; height: 14px;
    stroke: #fff;
}

/* Thumbnails */
.pd-gallery__thumbs {
    display: flex;
    gap: 10px;
}
.pd-gallery__thumb {
    flex: 0 0 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: none;
    padding: 0;
    transition: border-color var(--transition);
}
.pd-gallery__thumb.is-active { border-color: var(--maroon); }
.pd-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.pd-gallery__thumb--more {
    flex: 0 0 80px;
    height: 80px;
    border-radius: 10px;
    background: rgba(92,18,21,.08);
    color: var(--maroon);
    font-size: 17px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}

/* ── Details column ── */
.pd-details {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pd-wishlist {
    position: absolute;
    top: 0;
    left: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
    transition: color var(--transition), transform 0.2s;
}
.pd-wishlist svg { width: 22px; height: 22px; }
.pd-wishlist:hover { color: var(--maroon); transform: scale(1.15); }
.pd-wishlist.is-saved svg { fill: var(--maroon); color: var(--maroon); }

.pd-title {
    font-family: var(--font-sans);
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    padding-left: 30px;
}

.pd-short-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.pd-full-desc {
    color: var(--text);
    font-size: 14px;
    line-height: 1.9;
    margin-top: 4px;
}

.pd-options {
    margin-top: 8px;
}

.pd-option {
    margin-bottom: 16px;
}

.pd-option--error .pd-section__title {
    color: #b42318;
}

.pd-option__req {
    color: #b42318;
    margin-inline-start: 4px;
}

.pd-option__items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.pd-option__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
    font-size: 14px;
}

.pd-option__item:has(input:checked) {
    border-color: var(--maroon);
    background: rgba(92, 18, 21, 0.04);
}

.pd-option__item-title {
    flex: 1;
}

.pd-option__item-price {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
}

.pd-allergens__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.pd-allergens__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(180, 35, 24, 0.08);
    color: #9a3412;
    font-size: 13px;
}

.pd-allergens__item svg {
    flex-shrink: 0;
    color: #b42318;
}

.pd-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.pd-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--maroon);
}
.pd-price--original {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Time + calorie chips */
.pd-meta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.pd-meta-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(92,18,21,.06);
    color: var(--text-muted);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 13px;
}
.pd-meta-chip svg { width: 14px; height: 14px; stroke: var(--maroon); }

/* Feature badges grid */
.pd-badges {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
}
.pd-badge-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
}
.pd-badge-item__icon {
    flex-shrink: 0;
    width: 22px; height: 22px;
    color: var(--maroon);
}
.pd-badge-item__icon svg { width: 18px; height: 18px; stroke: var(--maroon); }
.pd-badge-item__label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1px;
}
.pd-badge-item__val {
    display: block;
    color: var(--text-muted);
}

/* Sections */
.pd-section { display: flex; flex-direction: column; gap: 8px; }
.pd-section__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}
.pd-ingredients {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 2;
}

/* Tags */
.pd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pd-tag {
    background: rgba(92,18,21,.07);
    color: var(--maroon);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 12.5px;
    font-weight: 500;
}

/* Mobile CTA (hidden on desktop) */
.pd-actions--mobile { display: none; }

/* ── Order card (right sidebar) ── */
.pd-order-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: calc(var(--header-h) + 12px);
}

.pd-order-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
    text-align: center;
}

.pd-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.pd-order-item__info { flex: 1; min-width: 0; }
.pd-order-item__name {
    font-size: 14px;
    font-weight: 600;
    display: block;
}
.pd-order-item__price {
    font-size: 14px;
    font-weight: 700;
    color: var(--maroon);
    white-space: nowrap;
}

/* Qty control */
.pd-order-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}
.pd-order-qty__btn {
    background: none;
    border: none;
    padding: 4px 10px;
    font-size: 17px;
    cursor: pointer;
    color: var(--maroon);
    transition: background var(--transition);
    font-weight: 700;
}
.pd-order-qty__btn:hover { background: rgba(92,18,21,.06); }
.pd-order-qty__val {
    padding: 4px 8px;
    font-size: 14px;
    font-weight: 600;
    min-width: 28px;
    text-align: center;
    border-right: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

/* Summary rows */
.pd-order-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}
.pd-order-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}
.pd-order-row--total {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    border-top: 1px solid var(--border);
    padding-top: 10px;
    margin-top: 4px;
}
.pd-order-free { color: #2a8a4a; font-weight: 600; }

/* Buttons */
.pd-order-btn {
    display: block;
    width: 100%;
    padding: 13px;
    border-radius: var(--radius);
    border: none;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform 0.15s;
    text-align: center;
}
.pd-order-btn:not(.pd-order-btn--ghost) {
    background: var(--maroon);
    color: #fff;
}
.pd-order-btn:not(.pd-order-btn--ghost):hover {
    background: var(--maroon-dark);
    transform: translateY(-1px);
}
.pd-order-btn--ghost {
    background: transparent;
    color: var(--maroon);
    border: 1.5px solid var(--maroon);
}
.pd-order-btn--ghost:hover {
    background: rgba(92,18,21,.05);
}

.pd-unavailable {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    padding: 8px;
    background: rgba(92,18,21,.05);
    border-radius: var(--radius);
}

.pd-order-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    justify-content: center;
    line-height: 1.5;
}
.pd-order-note svg { flex-shrink: 0; stroke: var(--gold); }

/* ── Section headings ── */
.pd-section-heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

/* ── Recommendations ── */
.pd-recommend {
    margin-top: 48px;
}
.pd-recommend .pd-section-heading { margin-bottom: 20px; }

.pd-recommend__grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.pd-recommend__card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    transition: box-shadow var(--transition);
}
.pd-recommend__card:hover { box-shadow: 0 4px 20px rgba(92,18,21,.1); }

.pd-recommend__img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    display: block;
}
.pd-recommend__img img { width: 100%; height: 100%; object-fit: cover; }

.pd-recommend__info { flex: 1; min-width: 0; }
.pd-recommend__name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.pd-recommend__desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}
.pd-recommend__price {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--maroon);
}

.pd-recommend__add-form {
    flex-shrink: 0;
    margin: 0;
}

.pd-recommend__add {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--maroon);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background var(--transition);
    white-space: nowrap;
}
.pd-recommend__add svg { width: 14px; height: 14px; stroke: #fff; }
.pd-recommend__add:hover { background: var(--maroon-dark); }

/* ── Related products slider ── */
.pd-related {
    margin-top: 48px;
}
.pd-related__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.pd-related__more {
    font-size: 13px;
    color: var(--maroon);
    font-weight: 600;
    transition: opacity var(--transition);
}
.pd-related__more:hover { opacity: 0.75; }

.pd-related__slider {
    position: relative;
    overflow: hidden;
}
.pd-related__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    cursor: pointer;
    color: var(--maroon);
    transition: box-shadow var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.pd-related__arrow:hover { box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.pd-related__arrow--prev { right: -4px; }
.pd-related__arrow--next { left: -4px; }

.pd-related__track {
    display: flex;
    gap: 16px;
    overflow: visible;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 4px 2px 8px;
}

.pd-related__card {
    flex: 0 0 calc(25% - 12px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
    color: inherit;
}
.pd-related__card:hover {
    box-shadow: 0 6px 24px rgba(92,18,21,.12);
    transform: translateY(-3px);
}

.pd-related__img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f0ea;
}
.pd-related__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.pd-related__card:hover .pd-related__img img { transform: scale(1.05); }

.pd-related__card-info {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pd-related__card-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
}
.pd-related__card-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--maroon);
}

/* ── Gallery zoom lightbox ── */
.pd-zoom {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.pd-zoom[hidden] { display: none; }

.pd-zoom__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
}

.pd-zoom__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 960px);
    height: min(88vh, 720px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd-zoom__close {
    position: absolute;
    top: -6px;
    left: 0;
    z-index: 3;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition);
}
.pd-zoom__close:hover { background: rgba(255, 255, 255, 0.24); }

.pd-zoom__toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
}

.pd-zoom__tool {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition);
}
.pd-zoom__tool:hover { background: rgba(255, 255, 255, 0.24); }

.pd-zoom__level {
    min-width: 56px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.pd-zoom__stage {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    touch-action: none;
    cursor: grab;
}
.pd-zoom__stage.is-dragging { cursor: grabbing; }

.pd-zoom__img-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
    will-change: transform;
}

.pd-zoom__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

/* ── Image slide counter ── */
.pd-gallery__counter {
    position: absolute;
    bottom: 12px;
    left: 14px;
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 6;
    pointer-events: none;
    letter-spacing: 0.5px;
}

/* ── Mobile qty (hidden on desktop, shown on mobile via @media) ── */
.pd-mob-qty {
    display: none;
}

/* ── Sticky mobile bottom bar ── */
.pd-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 10px 16px;
    z-index: 200;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.10);
}
.pd-sticky-bar__total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
}
.pd-sticky-bar__label {
    font-size: 11px;
    color: var(--text-muted);
}
.pd-sticky-bar__price {
    font-size: 15px;
    font-weight: 700;
    color: var(--maroon);
}
.pd-sticky-bar__btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--maroon);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background var(--transition);
    white-space: nowrap;
}
.pd-sticky-bar__btn svg { width: 17px; height: 17px; stroke: #fff; flex-shrink: 0; }
.pd-sticky-bar__btn:hover { background: var(--maroon-dark); }

/* ── Responsive: Tablet ── */
@media (max-width: 1100px) {
    .pd-grid {
        grid-template-columns: 400px 1fr 280px;
        gap: 24px;
    }
}

/* ── Responsive: Mobile ── */
@media (max-width: 900px) {
    .pd-page { padding-bottom: 80px; } /* space for sticky bar */

    .pd-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* hide desktop sidebar card */
    .pd-order-card { display: none; }

    /* gallery: full-width edge-to-edge */
    .pd-gallery {
        gap: 8px;
        width: calc(100% + 48px);
        max-width: none;
        margin-inline: -24px;
    }
    .pd-gallery__main {
        border-radius: 0;
        aspect-ratio: 1 / 1;
        width: 100%;
    }
    .pd-gallery__slides,
    .pd-gallery__slide,
    .pd-gallery__slide img {
        width: 100%;
        height: 100%;
    }

    /* show counter, hide arrows on very small or keep subtle */
    .pd-gallery__arrow {
        width: 32px; height: 32px;
        font-size: 18px;
    }
    .pd-gallery__arrow--prev { right: 8px; }
    .pd-gallery__arrow--next { left: 8px; }

    /* thumbs: scroll horizontally */
    .pd-gallery__thumbs {
        padding: 0 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px;
    }
    .pd-gallery__thumbs::-webkit-scrollbar { display: none; }
    .pd-gallery__thumb { flex: 0 0 64px; height: 64px; }
    .pd-gallery__thumb--more { flex: 0 0 64px; height: 64px; }

    /* details column padding */
    .pd-details {
        padding: 16px 16px 0;
        gap: 14px;
    }

    /* wishlist */
    .pd-wishlist { top: 2px; left: 0; }

    /* title */
    .pd-title {
        font-size: 24px;
        padding-left: 28px;
    }

    /* price */
    .pd-price--final { font-size: 22px; }

    /* badges: 3 across, compact */
    .pd-badges {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .pd-badge-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px 6px;
        gap: 4px;
    }
    .pd-badge-item__icon { margin: 0 auto; }

    /* section spacing */
    .pd-section { gap: 6px; }
    .pd-recommend { margin-top: 32px; }
    .pd-related  { margin-top: 32px; }

    /* ── Mobile qty control ── */
    .pd-mob-qty {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        border: 1.5px solid var(--border);
        border-radius: 10px;
        overflow: hidden;
        align-self: center;
        width: fit-content;
        margin: 0 auto;
    }
    .pd-mob-qty__btn {
        background: none;
        border: none;
        padding: 8px 18px;
        font-size: 20px;
        cursor: pointer;
        color: var(--maroon);
        font-weight: 700;
        font-family: var(--font-sans);
        transition: background var(--transition);
        line-height: 1;
    }
    .pd-mob-qty__btn:hover { background: rgba(92,18,21,.06); }
    .pd-mob-qty__val {
        padding: 8px 16px;
        font-size: 16px;
        font-weight: 700;
        min-width: 40px;
        text-align: center;
        border-right: 1.5px solid var(--border);
        border-left: 1.5px solid var(--border);
    }

    /* mobile CTA section */
    .pd-actions--mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0 16px 16px;
        margin-top: 4px;
    }

    .btn-add-mobile {
        display: block;
        width: 100%;
        background: var(--maroon);
        color: #fff;
        border: none;
        border-radius: var(--radius);
        padding: 15px;
        font-family: var(--font-sans);
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        transition: background var(--transition);
        text-align: center;
    }
    .btn-add-mobile:hover { background: var(--maroon-dark); }

    .btn-wishlist-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        width: 100%;
        background: transparent;
        color: var(--text-muted);
        border: none;
        padding: 8px;
        font-family: var(--font-sans);
        font-size: 13.5px;
        font-weight: 500;
        cursor: pointer;
        transition: color var(--transition);
    }
    .btn-wishlist-mobile svg { width: 16px; height: 16px; }
    .btn-wishlist-mobile:hover { color: var(--maroon); }
    .btn-wishlist-mobile.is-saved { color: var(--maroon); }
    .btn-wishlist-mobile.is-saved svg { fill: var(--maroon); }

    /* show sticky bar */
    .pd-sticky-bar { display: flex; }

    /* recommendations: horizontal card */
    .pd-recommend { padding: 0 16px; }
    .pd-recommend__grid { gap: 12px; }
    .pd-recommend__card {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 12px;
    }
    .pd-recommend__img {
        width: 70px;
        height: 70px;
        border-radius: 10px;
        flex-shrink: 0;
    }
    .pd-recommend__info { flex: 1; }
    .pd-recommend__add {
        padding: 7px 12px;
        font-size: 12px;
    }

    /* related: native horizontal scroll */
    .pd-related { padding: 0 16px; }
    .pd-related__slider {
        overflow: visible;
    }
    .pd-related__arrow { display: none; }
    .pd-related__track {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-bottom: 8px;
        transform: none !important; /* override JS on mobile */
    }
    .pd-related__track::-webkit-scrollbar { display: none; }
    .pd-related__card {
        flex: 0 0 150px;
        scroll-snap-align: start;
    }

    /* section headings padding */
    .pd-section-heading { padding: 0 0; font-size: 17px; }
    .pd-related__header { padding: 0; }
    .pd-breadcrumb { padding: 10px 16px 6px; }
}

@media (max-width: 420px) {
    .pd-gallery__main { aspect-ratio: 4/5; }
    .pd-badges { grid-template-columns: repeat(3, 1fr); }
    .pd-related__card { flex: 0 0 140px; }
}
