/* ==========================================================================
   KapanStore (zpro.am) — Studio-Grade 2-Card Product Detail Page (PDP)
   100% ZPro Crimson (#CC0000) & Deep Slate (#0F172A) · Tailwind v2.2.19 Safe
   Responsive across 360px-430px Mobile & 1280px-2560px+ Desktop
   ========================================================================== */

.zpro-pdp-section,
.zpro-pdp-section *,
.zpro-pdp-section *::before,
.zpro-pdp-section *::after,
.zpro-pdp-lightbox,
.zpro-pdp-lightbox * {
    box-sizing: border-box;
}

.zpro-pdp-section {
    padding: 18px 14px 52px;
    font-family: 'Inter', 'Noto Sans Armenian', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    color: #0f172a;
}

@media (min-width: 640px) {
    .zpro-pdp-section {
        padding: 22px 24px 64px;
    }
}

.zpro-pdp-container {
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
}

.zpro-pdp-breadcrumbs {
    margin-bottom: 14px;
}

@media (min-width: 640px) {
    .zpro-pdp-breadcrumbs {
        margin-bottom: 18px;
    }
}

/* ==========================================================================
   2-Card Studio Top Grid (Gallery Left | Buy-Box Right)
   ========================================================================== */
.zpro-pdp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

@media (min-width: 1024px) {
    .zpro-pdp-grid {
        grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
        gap: 28px;
    }
}

.zpro-pdp-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 26px -14px rgba(15, 23, 42, 0.08);
    min-width: 0;
    max-width: 100%;
}

/* ==========================================================================
   Left Column — Elevated Studio Gallery Card
   ========================================================================== */
.zpro-pdp-gallery-card {
    padding: 12px;
}

@media (min-width: 640px) {
    .zpro-pdp-gallery-card {
        padding: 16px;
    }
}

@media (min-width: 1024px) {
    .zpro-pdp-gallery-card {
        padding: 18px;
        position: sticky;
        top: 86px;
    }
}

.zpro-pdp-gallery-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
}

.zpro-pdp-gallery-inner.no-thumbs {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1024px) {
    .zpro-pdp-gallery-inner:not(.no-thumbs) {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 14px;
    }
}

/* Thumbnail Rail (Horizontal swipe on < 1024px, Vertical rail on >= 1024px) */
.zpro-pdp-thumbs-wrap {
    order: 2;
    position: relative;
    min-width: 0;
    user-select: none;
}

.zpro-pdp-thumbs-list {
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.zpro-pdp-thumbs-list::-webkit-scrollbar {
    display: none;
}

@media (min-width: 1024px) {
    .zpro-pdp-thumbs-wrap {
        order: 1;
        width: 72px;
        height: 100%;
        max-height: clamp(320px, 53vh, 456px);
    }

    .zpro-pdp-thumbs-list {
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
        height: 100%;
        max-height: 100%;
        padding: 2px;
    }
}

.zpro-pdp-thumb-btn {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 10px;
    background-color: #f6f7f8;
    border: 2px solid transparent;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

@media (min-width: 1024px) {
    .zpro-pdp-thumb-btn {
        width: 68px;
        height: 68px;
    }
}

.zpro-pdp-thumb-btn:hover {
    border-color: #cbd5e1;
}

.zpro-pdp-thumb-btn.is-active {
    border-color: #cc0000 !important;
    background-color: #fef2f2;
    box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.14);
}

.zpro-pdp-thumb-btn:focus-visible,
.zpro-pdp-nav-btn:focus-visible,
.zpro-pdp-zoom-btn:focus-visible,
.zpro-pdp-lightbox-close:focus-visible {
    outline: 2px solid #cc0000;
    outline-offset: 2px;
}

.zpro-pdp-thumb-btn img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.zpro-pdp-thumb-scroll {
    display: none;
}

@media (min-width: 1024px) {
    .zpro-pdp-thumb-scroll {
        position: absolute;
        left: 2px;
        right: 2px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid #e2e8f0;
        color: #334155;
        cursor: pointer;
        z-index: 8;
        opacity: 0;
        pointer-events: none;
        transition: opacity 150ms ease, color 150ms ease, background-color 150ms ease;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    }

    .zpro-pdp-thumb-scroll:hover {
        color: #cc0000;
        background-color: #ffffff;
    }

    .zpro-pdp-thumb-scroll--up {
        top: 0;
        border-radius: 8px 8px 4px 4px;
    }

    .zpro-pdp-thumb-scroll--down {
        bottom: 0;
        border-radius: 4px 4px 8px 8px;
    }

    .zpro-pdp-thumb-scroll.is-visible {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Main Photo Stage */
.zpro-pdp-stage {
    order: 1;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f6f7f8;
    border: 0;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: pan-y;
    cursor: zoom-in;
}

@media (max-width: 1023px) {
    .zpro-pdp-stage {
        max-height: 330px;
    }
}

@media (min-width: 1024px) {
    .zpro-pdp-stage {
        order: 2;
        padding: 20px;
        max-height: clamp(320px, 53vh, 456px);
    }
}

.zpro-pdp-stage.is-zooming {
    cursor: crosshair;
}

.zpro-pdp-stage-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    user-select: none;
    -webkit-user-drag: none;
}

/* CSP-Safe Desktop Hover Magnifier Canvas */
.zpro-pdp-zoom-pane {
    position: absolute;
    inset: 0;
    z-index: 5;
    background-color: #f6f7f8;
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease;
}

.zpro-pdp-stage.is-zooming .zpro-pdp-zoom-pane {
    opacity: 1;
}

.zpro-pdp-zoom-canvas {
    width: 100%;
    height: 100%;
    display: block;
    mix-blend-mode: multiply;
}

/* Floating Carousel Arrows (Frosted Studio White Circles — override legacy _head_styles.html IDs) */
.zpro-pdp-nav-btn,
.zpro-pdp-stage #gallery-slider-prev,
.zpro-pdp-stage #gallery-slider-next,
.zpro-pdp-lightbox-stage .zpro-pdp-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) !important;
    z-index: 7;
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    background-color: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #0f172a !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.zpro-pdp-nav-btn svg,
.zpro-pdp-stage #gallery-slider-prev svg,
.zpro-pdp-stage #gallery-slider-next svg {
    color: currentColor !important;
    stroke: currentColor !important;
}

.zpro-pdp-nav-btn:hover,
.zpro-pdp-stage #gallery-slider-prev:hover,
.zpro-pdp-stage #gallery-slider-next:hover,
.zpro-pdp-lightbox-stage .zpro-pdp-nav-btn:hover {
    background: #cc0000 !important;
    background-color: #cc0000 !important;
    border-color: #cc0000 !important;
    color: #ffffff !important;
    transform: translateY(-50%) scale(1.04) !important;
}

.zpro-pdp-nav-btn:active,
.zpro-pdp-stage #gallery-slider-prev:active,
.zpro-pdp-stage #gallery-slider-next:active {
    transform: translateY(-50%) scale(0.96) !important;
}

.zpro-pdp-nav-btn--prev {
    left: 10px;
}

.zpro-pdp-nav-btn--next {
    right: 10px;
}

@media (max-width: 639px) {
    .zpro-pdp-nav-btn,
    .zpro-pdp-stage #gallery-slider-prev,
    .zpro-pdp-stage #gallery-slider-next,
    .zpro-pdp-lightbox-stage .zpro-pdp-nav-btn {
        width: 36px;
        height: 36px;
    }
}

/* Stage Bottom Bar: 1 / N Counter (left) & 40x40 Zoom Icon (right) */
.zpro-pdp-stage-bar {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    pointer-events: none;
}

.zpro-pdp-counter {
    pointer-events: auto;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
    padding: 4px 10px;
    border-radius: 9999px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.zpro-pdp-zoom-btn {
    pointer-events: auto;
    margin-left: auto;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.zpro-pdp-zoom-btn:hover {
    background-color: #ffffff;
    border-color: #cc0000;
    color: #cc0000;
}

/* ==========================================================================
   Right Column — Elevated Studio Buy-Box Card
   ========================================================================== */
.zpro-pdp-buy-card {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

@media (min-width: 640px) {
    .zpro-pdp-buy-card {
        padding: 24px 26px;
        gap: 14px;
    }
}

/* Top Typographic Row */
.zpro-pdp-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
}

.zpro-pdp-meta-left {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.zpro-pdp-brand-link {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #cc0000;
    text-decoration: none;
    padding: 0;
    background: transparent;
    border: 0;
    transition: color 140ms ease;
}

a.zpro-pdp-brand-link:hover {
    color: #b30000;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.zpro-pdp-meta-sep {
    color: #94a3b8;
    font-weight: 700;
    user-select: none;
}

.zpro-pdp-sku {
    font-size: 0.78125rem;
    font-weight: 600;
    color: #64748b;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.zpro-pdp-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78125rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    flex-shrink: 0;
}

.zpro-pdp-stock-dot {
    width: 7px;
    height: 7px;
    border-radius: 9999px;
    flex-shrink: 0;
}

.zpro-pdp-stock--in {
    color: #059669;
}

.zpro-pdp-stock--in .zpro-pdp-stock-dot {
    background-color: #10b981;
}

.zpro-pdp-stock--out {
    color: #e11d48;
}

.zpro-pdp-stock--out .zpro-pdp-stock-dot {
    background-color: #e11d48;
}

/* Sans-Serif Product Heading + Optional Star Rating */
.zpro-pdp-title-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.zpro-pdp-title {
    margin: 0;
    font-family: 'Inter', 'Noto Sans Armenian', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: clamp(1.3125rem, 1.1rem + 0.85vw, 1.75rem);
    font-weight: 800;
    line-height: 1.24;
    letter-spacing: -0.02em;
    color: #0f172a;
    overflow-wrap: anywhere;
}

.zpro-pdp-rating-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: color 140ms ease;
}

.zpro-pdp-rating-link.hidden {
    display: none !important;
}

.zpro-pdp-rating-link:hover {
    color: #cc0000;
}

.zpro-pdp-rating-avg {
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

/* Neutral Hairline Tags & Quick Attribute Chips */
.zpro-pdp-chips-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.zpro-pdp-chip {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 4px 10px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    font-size: 0.75rem;
    line-height: 1.35;
    text-decoration: none;
    max-width: 100%;
    overflow-wrap: anywhere;
    transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

a.zpro-pdp-chip {
    font-weight: 600;
    color: #334155;
}

a.zpro-pdp-chip:hover {
    border-color: #cbd5e1;
    background-color: #f1f5f9;
    color: #0f172a;
}

.zpro-pdp-chip-key {
    color: #64748b;
    font-weight: 500;
}

.zpro-pdp-chip-val {
    color: #0f172a;
    font-weight: 700;
}

.zpro-pdp-chip-swatch {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    flex-shrink: 0;
}

.zpro-pdp-chip-subpill {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border-radius: 5px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-size: 0.71875rem;
    font-weight: 700;
}

/* Price + Inline Unit Row */
.zpro-pdp-price-panel {
    padding: 2px 0 4px;
}

.zpro-pdp-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
}

.zpro-pdp-price {
    font-size: clamp(1.75rem, 1.45rem + 0.9vw, 2.125rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.zpro-pdp-price-orig {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: line-through;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.zpro-pdp-discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 6px;
    background-color: #cc0000;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
}

.zpro-pdp-unit {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    white-space: nowrap;
}

/* Standard Purchase Box: Unified 44px Stepper + +5/+10 + 48px Crimson CTA */
.zpro-pdp-purchase-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zpro-pdp-qty-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.zpro-pdp-stepper {
    display: inline-flex;
    align-items: stretch;
    height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background-color: #ffffff;
    overflow: hidden;
    flex-shrink: 0;
}

.zpro-pdp-stepper:focus-within {
    border-color: #cc0000;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.14);
}

.zpro-pdp-step-btn {
    width: 44px;
    height: 44px;
    border: 0;
    background-color: #f8fafc;
    color: #0f172a;
    font-size: 1.125rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background-color 140ms ease, color 140ms ease;
}

.zpro-pdp-step-btn:hover:not(:disabled) {
    background-color: #fef2f2;
    color: #cc0000;
}

.zpro-pdp-step-btn:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.zpro-pdp-qty-input {
    width: 56px;
    height: 44px;
    border: 0;
    border-left: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: #0f172a;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    padding: 0 4px;
    outline: none;
    -moz-appearance: textfield;
}

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

.zpro-pdp-quick-chips {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.zpro-pdp-quick-btn {
    min-width: 48px;
    height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.zpro-pdp-quick-btn:hover:not(:disabled) {
    background-color: #fef2f2;
    border-color: #cc0000;
    color: #cc0000;
}

.zpro-pdp-quick-btn:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.zpro-pdp-atc-btn {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: 0;
    background-color: #cc0000;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    cursor: pointer;
    box-shadow: 0 6px 16px -4px rgba(204, 0, 0, 0.34);
    transition: background-color 150ms ease, transform 120ms ease, box-shadow 150ms ease;
}

.zpro-pdp-atc-btn:hover {
    background-color: #b30000;
    box-shadow: 0 8px 20px -4px rgba(179, 0, 0, 0.42);
}

.zpro-pdp-atc-btn:active {
    transform: scale(0.99);
}

.zpro-pdp-atc-btn:focus-visible,
.zpro-pdp-quick-btn:focus-visible,
.zpro-pdp-step-btn:focus-visible {
    outline: 2px solid #cc0000;
    outline-offset: 2px;
}

.zpro-pdp-oos-btn {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background-color: #f1f5f9;
    color: #94a3b8;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: not-allowed;
}

.zpro-pdp-notify-btn {
    width: 100%;
    height: 46px;
    border-radius: 12px;
    border: 1px solid #cc0000;
    background-color: #ffffff;
    color: #cc0000;
    font-size: 0.875rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
}

.zpro-pdp-notify-btn:hover {
    background-color: #fef2f2;
}

/* Bottom Trust & Fulfillment Footer Inside Buy-Box */
.zpro-pdp-trust-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 13px;
    margin-top: 2px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.zpro-pdp-trust-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.zpro-pdp-trust-title svg {
    width: 16px;
    height: 16px;
    color: #cc0000;
    flex-shrink: 0;
}

.zpro-pdp-trust-desc {
    margin: 0;
    font-size: 0.78125rem;
    color: #64748b;
    line-height: 1.45;
}

/* ==========================================================================
   Below-the-Fold Studio Harmony (Bundles, Description, Specs, Reviews)
   ========================================================================== */
.zpro-pdp-below-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.zpro-pdp-panel {
    padding: 20px 18px;
}

@media (min-width: 640px) {
    .zpro-pdp-panel {
        padding: 24px 28px;
    }
}

.zpro-pdp-panel-heading {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #475569;
}

.zpro-pdp-details-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    width: 100%;
}

@media (min-width: 1024px) {
    .zpro-pdp-details-grid {
        grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
        gap: 28px;
    }

    .zpro-pdp-details-grid:has(> :only-child),
    .zpro-pdp-details-grid.zpro-pdp-details-grid--single {
        grid-template-columns: minmax(0, 1fr);
    }
}

.zpro-pdp-panel--specs .zpro-pdp-panel-heading,
.zpro-pdp-panel:has(.zpro-pdp-specs-table) .zpro-pdp-panel-heading {
    margin-bottom: 8px;
}

.zpro-pdp-prose {
    font-size: 0.90625rem;
    color: #334155;
    line-height: 1.68;
    overflow-wrap: anywhere;
    max-width: 68ch;
}

.zpro-pdp-panel--specs .zpro-pdp-prose {
    font-size: 0.84375rem;
    line-height: 1.45;
}

.zpro-pdp-prose > :last-child {
    margin-bottom: 0;
}

.zpro-pdp-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84375rem;
    line-height: 1.35;
}

.zpro-pdp-specs-table tr:not(:last-child) {
    border-bottom: 1px solid #f1f5f9;
}

.zpro-pdp-specs-table th {
    text-align: left;
    color: #64748b;
    font-weight: 600;
    line-height: 1.35;
    padding: 6px 12px 6px 0;
    width: 45%;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.zpro-pdp-specs-table td {
    color: #0f172a;
    font-weight: 700;
    line-height: 1.35;
    padding: 6px 0 6px 12px;
    vertical-align: top;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

/* ==========================================================================
   Fullscreen Studio Lightbox (z-index 1000020 above cookie banner 999999)
   ========================================================================== */
.zpro-pdp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000020 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background-color: rgba(15, 23, 42, 0.84);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
}

.zpro-pdp-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.zpro-pdp-lightbox-card {
    width: min(980px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px -12px rgba(15, 23, 42, 0.45);
    transform: scale(0.96);
    transition: transform 200ms ease;
}

.zpro-pdp-lightbox.is-open .zpro-pdp-lightbox-card {
    transform: scale(1);
}

.zpro-pdp-lightbox-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background-color: #0f172a;
    color: #ffffff;
}

.zpro-pdp-lightbox-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.zpro-pdp-lightbox-controls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.zpro-pdp-lightbox-counter {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    font-variant-numeric: tabular-nums;
}

.zpro-pdp-lightbox-close {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 140ms ease;
}

.zpro-pdp-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.zpro-pdp-lightbox-stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 300px;
    background-color: #f6f7f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow: hidden;
}

.zpro-pdp-lightbox-img {
    max-width: 100%;
    max-height: 74vh;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    user-select: none;
}

@media (prefers-reduced-motion: reduce) {
    .zpro-pdp-thumb-btn,
    .zpro-pdp-nav-btn,
    .zpro-pdp-zoom-btn,
    .zpro-pdp-atc-btn,
    .zpro-pdp-lightbox,
    .zpro-pdp-lightbox-card {
        transition: none !important;
        transform: none !important;
    }
}

@media print {
    .zpro-pdp-lightbox,
    .zpro-pdp-zoom-pane,
    .zpro-pdp-stage-bar,
    .zpro-pdp-nav-btn,
    .zpro-pdp-thumb-scroll,
    #type-availability-modal,
    #reservation-modal {
        display: none !important;
    }
}
