/**
 * Product Detail Page — CarmelaShop
 * Design tokens + full component styles
 * Version: 2.0.0 — Selectors aligned to PHP templates
 */

/* ==========================================================================
   Design Tokens
   ========================================================================== */

:root {
    /* Colors */
    --pd-black: #000000;
    --pd-dark: #111111;
    --pd-gray-900: #333333;
    --pd-gray-600: #666666;
    --pd-gray-400: #999999;
    --pd-gray-200: #dddddd;
    --pd-gray-100: #eeeeee;
    --pd-gray-50: #f5f5f5;
    --pd-white: #ffffff;
    --pd-green: #54c63a;
    --pd-red: #e70e25;
    --pd-accent: #000000;

    /* Typography */
    --pd-font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --pd-title-size: 25px;
    --pd-title-size-mobile: 18px;
    --pd-price-size: 25px;
    --pd-price-size-mobile: 18px;
    --pd-body-size: 14px;
    --pd-small-size: 12px;
    --pd-tab-size: 13px;

    /* Layout */
    --pd-container-max: 1400px;
    --pd-image-width: 55%;
    --pd-info-width: 45%;
    --pd-thumb-width: 80px;
    --pd-gap: 30px;

    /* Animation */
    --pd-transition: all 0.3s ease-in-out;
}

/* ==========================================================================
   1. Container & Two-Column Layout
   ========================================================================== */

.product-detail-wrapper {
    max-width: var(--pd-container-max);
    margin: 0 auto;
    padding: 0 15px;
    font-family: var(--pd-font);
}

/* Breadcrumb */
.bredcrumbWrap {
    padding: 15px 0;
    margin-bottom: 20px;
}

.bredcrumbWrap .breadcrumbs {
    font-size: var(--pd-small-size);
    color: var(--pd-gray-600);
}

.bredcrumbWrap .breadcrumbs a {
    color: var(--pd-gray-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

.bredcrumbWrap .breadcrumbs a:hover {
    color: var(--pd-black);
}

.bredcrumbWrap .symbol {
    margin: 0 8px;
    color: var(--pd-gray-400);
}

/* Two-column layout */
.product-single {
    display: flex;
    align-items: flex-start;
    gap: var(--pd-gap);
}

.product-single .pr_photoes {
    width: var(--pd-image-width);
    flex-shrink: 0;
    position: sticky;
    top: 90px;
    align-self: flex-start;
}

.product-single .product-single__meta {
    width: var(--pd-info-width);
    flex-shrink: 0;
}

/* ==========================================================================
   2. Media Gallery
   ========================================================================== */

/* Gallery container (flex: thumbnails + viewer).
   R18-④: also the badge anchor — the sale/NET spans mount at this wrapper's
   end (NOT inside the scrolling viewer), so position:relative pins them to
   the main image area's top-right corner. */
.product-gallery {
    display: flex;
    gap: 10px;
    position: relative;
}

/* Thumbnail strip */
.product-gallery__thumbnails {
    width: var(--pd-thumb-width);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
    overflow: hidden;
}

.product-gallery__thumb-track {
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: transform 0.3s ease;
}

.product-gallery__thumb {
    width: 80px;
    height: 100px;
    flex-shrink: 0;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--pd-transition);
    border: 2px solid transparent;
    overflow: hidden;
    padding: 0;
    background: none;
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery__thumb:hover {
    opacity: 0.8;
}

.product-gallery__thumb.is-active {
    opacity: 1;
    border-color: var(--pd-black);
}

/* Thumbnail scroll arrows */
.product-gallery__thumb-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 20px;
    background: var(--pd-white);
    border: 1px solid var(--pd-gray-200);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: var(--pd-transition);
    font-size: 10px;
    color: var(--pd-gray-600);
}

.product-gallery__thumb-arrow--up {
    top: 0;
}

.product-gallery__thumb-arrow--down {
    bottom: 0;
}

.product-gallery__thumbnails:hover .product-gallery__thumb-arrow {
    opacity: 1;
    visibility: visible;
}

.product-gallery__thumb-arrow:hover {
    background: var(--pd-gray-50);
}

/* Hover Zoom Lens */
.product-gallery__zoom-lens {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    background-repeat: no-repeat;
    background-size: 200% 200%;
    transition: opacity 0.2s ease;
}

.product-gallery__slide:hover .product-gallery__zoom-lens {
    opacity: 1;
}

/* Main image area */
.product-gallery__viewer {
    width: calc(100% - 90px);
    flex: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
}

.product-gallery__viewer::-webkit-scrollbar {
    display: none;
}

.product-gallery__track {
    display: flex;
}

.product-gallery__slide {
    min-width: 100%;
    scroll-snap-align: start;
    aspect-ratio: 4 / 5;
    position: relative;
}

.product-gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: opacity 0.3s ease;
}

/* Sale badge on gallery */
.product-gallery__badge.badge--sale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--pd-red);
    color: var(--pd-white);
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 2;
}

/* Zoom hint overlay */
.product-gallery__zoom-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--pd-gray-900);
}

.product-gallery__viewer:hover .product-gallery__zoom-hint {
    opacity: 1;
}

/* Lightbox */
.product-gallery__lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Lightbox stacking escape (B4): position:sticky always creates a stacking
   context, so the z:9999 lightbox was trapped inside the photo column — the
   later meta column (swatch selectors) and the z:1000 sticky header both
   painted above it (user report: swatches overlap the zoomed image). Lift
   the column above both while — and only while — the lightbox is open. */
.gitem.pr_photoes:has(.product-gallery__lightbox.is-open) {
    z-index: 1002;
}

.product-gallery__lightbox[hidden] {
    display: none;
}

.product-gallery__lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--pd-white);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.product-gallery__lightbox-close:hover {
    transform: scale(1.15);
}

.product-gallery__lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery__lightbox-img img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    user-select: none;
}

.product-gallery__lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--pd-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--pd-transition);
}

.product-gallery__lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.product-gallery__lightbox-nav--prev {
    left: 20px;
}

.product-gallery__lightbox-nav--next {
    right: 20px;
}

/* Social sharing */
.social-sharing {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    clear: both;
    padding-top: 20px;
}

.social-sharing .lbl {
    font-size: var(--pd-body-size);
    color: var(--pd-gray-600);
}

.social-sharing .btn--share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--pd-gray-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-sharing .btn--share:hover {
    color: var(--pd-black);
}

.social-sharing .btn--share svg {
    width: 18px;
    height: 18px;
}

.share-insta {
    text-align: center;
    font-size: var(--pd-body-size);
    color: var(--pd-gray-600);
    margin-top: 1rem;
}

/* ==========================================================================
   3. Product Info Panel
   ========================================================================== */

/* Stock badge */
.stock-badge {
    display: inline-block;
    background: var(--pd-green);
    color: var(--pd-white);
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stock-badge.out-of-stock {
    background: var(--pd-red);
}

/* Stock label (quantity_msg from variable.php) */
.quantity_msg {
    font-size: var(--pd-body-size);
    color: var(--pd-green);
    font-weight: 500;
    margin-bottom: 10px;
}

/* Product title */
.product-single__title {
    font-size: var(--pd-title-size);
    font-weight: 500;
    text-transform: capitalize;
    color: var(--pd-black);
    margin: 0 0 15px;
    line-height: 1.3;
}

/* Price wrapper */
.psinglePriceWr {
    margin-bottom: 20px;
}

/* Current price */
.price--current {
    font-size: var(--pd-price-size);
    font-weight: 500;
    color: var(--pd-black);
    margin-bottom: 8px;
}

.price--current .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* Original (struck-through) price */
.price--original {
    text-decoration: line-through;
    color: var(--pd-gray-400);
    font-weight: 400;
    margin-right: 8px;
    font-size: 0.85em;
}

.price--original .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* ==========================================================================
   4. Color Swatch Selector
   ========================================================================== */

.color-swatch {
    margin-bottom: 20px;
}

.swatch__header {
    font-size: var(--pd-body-size);
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--pd-gray-900);
}

.swatch__header .selected-value {
    font-weight: 500;
}

.swatch__options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Hidden radio input */
.swatchLbl input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.swatchLbl.color {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--pd-transition);
    position: relative;
}

.swatchLbl.color:hover {
    transform: scale(1.1);
}

.swatchLbl.color.active,
.swatchInput:checked + .swatchLbl.color {
    border-color: var(--pd-black);
    box-shadow: 0 0 0 2px var(--pd-white), 0 0 0 4px var(--pd-black);
}

.swatchLbl.color.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.swatchLbl.color.disabled::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 2px;
    background: var(--pd-red);
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Tooltip */
.tooltip-label {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pd-black);
    color: var(--pd-white);
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--pd-transition);
    pointer-events: none;
    margin-bottom: 5px;
}

.swatchLbl:hover .tooltip-label {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   5. Size Pill Selector
   ========================================================================== */

.size-swatch {
    margin-bottom: 20px;
}

.size-swatch .swatch__header {
    font-size: var(--pd-body-size);
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--pd-gray-900);
}

.size-swatch .swatch__header .selected-value {
    font-weight: 500;
}

.swatchLbl.size-pill {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    background: var(--pd-gray-50);
    cursor: pointer;
    font-size: var(--pd-body-size);
    font-weight: 400;
    color: var(--pd-gray-900);
    border: 1px solid transparent;
    transition: var(--pd-transition);
    user-select: none;
    position: relative;
}

.swatchLbl.size-pill:hover {
    background: var(--pd-gray-100);
}

.swatchLbl.size-pill.active,
.swatchInput:checked + .swatchLbl.size-pill {
    background: var(--pd-black);
    color: var(--pd-white);
    border-color: var(--pd-black);
}

.swatchLbl.size-pill.disabled {
    border: 1px dashed var(--pd-gray-200);
    opacity: 0.5;
    text-decoration: line-through;
    cursor: not-allowed;
    background: transparent;
}

.swatchLbl.size-pill.disabled:hover {
    background: transparent;
    transform: none;
}

.form-notice {
    font-size: var(--pd-small-size);
    color: var(--pd-gray-400);
    margin-top: 8px;
    font-style: italic;
}

/* ==========================================================================
   6. Quantity Stepper
   ========================================================================== */

.qtyField {
    display: flex;
    align-items: center;
    border: 1px solid var(--pd-gray-200);
    height: 45px;
    margin-bottom: 15px;
    max-width: 160px;
}

.qtyBtn {
    flex-shrink: 0;
    width: 40px;
    height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--pd-gray-900);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    user-select: none;
}

.qtyBtn:hover {
    background: var(--pd-gray-50);
}

.qtyBtn:active {
    background: var(--pd-gray-100);
}

.qtyBtn svg {
    width: 16px;
    height: 16px;
}

input.pr_input.qty {
    flex: 1;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 16px;
    font-family: var(--pd-font);
    color: var(--pd-black);
    min-width: 50px;
    outline: none;
    -moz-appearance: textfield;
}

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

/* ==========================================================================
   7. Add to Cart Button
   ========================================================================== */

.pr_btn {
    width: 100%;
    background: var(--pd-black);
    color: var(--pd-white);
    height: 50px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    font-family: var(--pd-font);
    transition: background 0.2s ease, opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.pr_btn:hover {
    background: #222;
}

.pr_btn:active {
    background: #111;
}

.pr_btn.disabled {
    background: var(--pd-gray-400);
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.7;
}

.pr_btn.loading {
    background: var(--pd-gray-400);
    cursor: not-allowed;
    pointer-events: none;
}

.pr_btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid var(--pd-white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: pd-spin 0.6s linear infinite;
}

@keyframes pd-spin {
    to { transform: rotate(360deg); }
}

/* Button spinner */
.btn_spinner {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
}

.btn_spinner.hidden {
    display: none;
}

.btn_spinner .spin {
    animation: pd-spin 0.8s linear infinite;
}

/* Wishlist link */
.inLink.wishlist {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--pd-gray-900);
    text-decoration: none;
    transition: color 0.2s ease;
}

.inLink.wishlist:hover {
    color: var(--pd-black);
}

.inLink.wishlist svg {
    flex-shrink: 0;
}

/* Shipping message (B4: restored — locale-neutral d/m/Y dates + lead-time hint) */
.shippingMsg {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--pd-gray-600);
}

.shippingMsg svg {
    flex-shrink: 0;
    color: var(--pd-gray-400);
}

.shippingMsg b {
    color: var(--pd-gray-900);
}

/* Plain-text lead-time hint under the date range */
.shippingMsg--hint {
    font-size: 12px;
}

/* Material composition under the price (B4) — swatch-header idiom */
.psingleMaterial__label {
    font-size: 15px;
    font-weight: 500;
    color: #444;
    margin-bottom: 8px;
}

.psingleMaterial__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.psingleMaterial__list li {
    font-size: 13px;
    color: #444;
    line-height: 1.7;
}

/* ==========================================================================
   8. Product Benefits / Short Description
   ========================================================================== */

.product-benefits-metafield {
    margin-bottom: 25px;
}

.product-benefits-metafield p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
    color: var(--pd-gray-900);
}

/* ==========================================================================
   9. Tabs
   ========================================================================== */

/* Desktop tabs */
.product-tabs-nav {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--pd-gray-200);
    margin-bottom: 30px;
    list-style: none;
    padding: 0;
}

.product-tabs-nav li {
    padding: 12px 30px;
    font-size: var(--pd-tab-size);
    font-weight: 500;
    color: var(--pd-dark);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--pd-transition);
    user-select: none;
}

.product-tabs-nav li:hover {
    color: var(--pd-black);
}

.product-tabs-nav li a.tablink {
    color: inherit;
    text-decoration: none;
    display: block;
    /* B4 (2026-10-04): hit area must match the li cell (where the underline
       border lives) — stretch over the li's padding so the whole tab is
       clickable, not just the text. Layout is unchanged. */
    margin: -12px -30px;
    padding: 12px 30px;
}

.product-tabs-nav li a.tablink.active {
    color: var(--pd-black);
}

.product-tabs-nav li a.tablink.active ~ li,
.product-tabs-nav li:has(a.tablink.active) {
    color: var(--pd-black);
    border-bottom-color: var(--pd-black);
}

/* Tab content */
.tab-content {
    display: none;
    padding: 0;
}

.tab-content.active {
    display: block;
}

.tab-content .rte {
    font-size: var(--pd-body-size);
    line-height: 1.7;
    color: var(--pd-gray-900);
}

.tab-content .rte h1,
.tab-content .rte h2,
.tab-content .rte h3,
.tab-content .rte h4 {
    font-weight: 600;
    margin: 1.2em 0 0.5em;
    color: var(--pd-black);
}

.tab-content .rte p {
    margin-bottom: 1em;
}

.tab-content .rte ul,
.tab-content .rte ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.tab-content .rte img {
    max-width: 100%;
    height: auto;
}

/* Mobile accordion headers */
.acor-ttl {
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid var(--pd-gray-200);
}

.acor-ttl a.tablink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 0;
    font-size: var(--pd-body-size);
    font-weight: 500;
    color: var(--pd-dark);
    cursor: pointer;
    text-decoration: none;
    font-family: var(--pd-font);
    transition: color 0.2s ease;
}

.acor-ttl a.tablink.active {
    color: var(--pd-black);
}

/* B4 (2026-10-04): no dotted ring on tab CLICK — outline off on :focus;
   keyboard users keep a visible state via the :focus-visible underline. */
.product-tabs-nav a.tablink:focus,
.acor-ttl a.tablink:focus {
    outline: none;
}
.product-tabs-nav a.tablink:focus-visible,
.acor-ttl a.tablink:focus-visible {
    outline: none;
    color: var(--pd-black);
    text-decoration: underline;
    text-underline-offset: 6px;
}

.acor-ttl a.tablink.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: var(--pd-gray-400);
    flex-shrink: 0;
}

/* ==========================================================================
   11. Sale Badge (standalone, for gallery)
   ========================================================================== */

.sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--pd-red);
    color: var(--pd-white);
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 2;
}

/* ==========================================================================
   12. Responsive — Tablet (768–1024px)
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
    .product-single .pr_photoes {
        width: 50%;
    }
    .product-single .product-single__meta {
        width: 50%;
    }
    .product-gallery__thumbnails {
        width: 50px;
    }
    .product-gallery__thumb {
        width: 50px;
        height: 62px;
    }
}

/* ==========================================================================
   13. Responsive — Mobile (<768px)
   ========================================================================== */

@media (max-width: 767px) {
    .product-single {
        flex-direction: column;
        gap: 20px;
    }

    .product-single .pr_photoes,
    .product-single .product-single__meta {
        width: 100%;
    }

    .product-single .product-single__meta {
        position: static;
    }

    /* Gallery: horizontal thumbnails on mobile */
    .product-gallery {
        flex-direction: column;
    }

    .product-gallery__thumbnails {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        gap: 5px;
        order: 2;
        scrollbar-width: none;
    }

    .product-gallery__thumbnails::-webkit-scrollbar {
        display: none;
    }

    .product-gallery__thumb-track {
        flex-direction: row;
    }

    .product-gallery__thumb {
        width: 50px;
        height: 62px;
    }

    .product-gallery__zoom-lens {
        display: none;
    }

    .product-gallery__thumb-arrow {
        display: none;
    }

    .product-single .pr_photoes {
        position: static;
    }

    .product-gallery__viewer {
        order: 1;
    }

    /* Title & price */
    .product-single__title {
        font-size: var(--pd-title-size-mobile);
    }

    .price--current {
        font-size: var(--pd-price-size-mobile);
    }

    /* Tabs -> Accordion */
    .product-tabs-nav {
        display: none;
    }

    .acor-ttl {
        display: block !important;
    }

    .tab-content {
        display: none !important;
    }

    .tab-content.active {
        display: block !important;
    }

    /* Related products */

    /* Lightbox adjustments */
    .product-gallery__lightbox-nav {
        width: 36px;
        height: 36px;
    }

    .product-gallery__lightbox-nav--prev {
        left: 10px;
    }

    .product-gallery__lightbox-nav--next {
        right: 10px;
    }
}

/* ==========================================================================
   14. Responsive — Small Mobile (<480px)
   ========================================================================== */

@media (max-width: 480px) {
    .product-detail-wrapper {
        padding: 0 10px;
    }


    .product-tabs-nav li {
        padding: 10px 15px;
        font-size: 12px;
    }

    .swatchLbl.size-pill {
        padding: 6px 12px;
        font-size: 13px;
    }

    .pr_btn {
        height: 46px;
        font-size: 15px;
    }
}

/* B4 guest-default fix (suspenders): even if anything re-adds the disabled
   classes on the PDP ATC, a guest's button stays clickable and normal —
   the login modal is the response, selection or not (R9f rule). */
body:not(.logged-in) .product-detail-page .pr_btn.disabled {
	background: var(--pd-black, #111);
	color: #fff;
	opacity: 1;
	cursor: pointer;
	pointer-events: auto;
}
