/* Premium Footwear PDP — scoped under .pdp-premium-footwear */
.pdp-premium-footwear {
    --pdp-premium-gap: 2rem;
}

.pdp-premium-footwear__breadcrumb {
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.pdp-premium-footwear__breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.pdp-premium-footwear__main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: var(--pdp-premium-gap);
    align-items: start;
}

.pdp-premium-footwear__info-panel {
    position: sticky;
    top: 100px;
}

.pdp-premium-footwear__main-wrap {
    border: 1px solid var(--gray-100, #f3f4f6);
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
}

.pdp-premium-footwear__main-img {
    width: 100%;
    max-height: 640px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.35s ease;
}

.pdp-premium-footwear__main-trigger {
    cursor: zoom-in;
    display: block;
}

.pdp-premium-footwear__main-trigger:hover .pdp-premium-footwear__main-img {
    transform: scale(1.04);
}

.pdp-premium-footwear__thumb-btn {
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pdp-premium-footwear__thumb-btn.is-active,
.pdp-premium-footwear__thumb-slider .slick-current .pdp-premium-footwear__thumb-btn,
.pdp-premium-footwear__thumb-btn:hover {
    border-color: var(--main-600, #043729) !important;
    box-shadow: 0 0 0 2px rgba(4, 55, 41, 0.12);
}

.pdp-premium-footwear__thumb-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.pdp-premium-footwear__lightbox {
    position: fixed;
    inset: 0;
    z-index: 1060;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.pdp-premium-footwear__lightbox:not(.d-none) {
    display: flex !important;
}

.pdp-premium-footwear__lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.pdp-premium-footwear__lightbox-close {
    position: absolute;
    top: 1rem;
    inset-inline-end: 1rem;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.pdp-premium-footwear__qty-control {
    display: inline-flex;
    align-items: stretch;
    width: auto;
    max-width: 100%;
    background: #fff;
}

.pdp-premium-footwear__qty-btn {
    flex: 0 0 48px;
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    margin: 0;
    border: 0;
    border-inline-end: 1px solid var(--gray-100, #f3f4f6);
    background-color: var(--gray-50, #f9fafb) !important;
    color: var(--neutral-600, #4b5563);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pdp-premium-footwear__qty-btn.quantity__plus {
    border-inline-end: 0;
    border-inline-start: 1px solid var(--gray-100, #f3f4f6);
}

.pdp-premium-footwear__qty-btn i {
    font-size: 1.125rem;
    line-height: 1;
    pointer-events: none;
}

.pdp-premium-footwear__qty-btn:hover,
.pdp-premium-footwear__qty-btn:focus-visible {
    background-color: var(--main-600, #043729) !important;
    color: #fff;
    outline: none;
}

.pdp-premium-footwear__qty-input {
    flex: 1 1 auto;
    width: 72px;
    min-width: 56px;
    max-width: 96px;
    height: 48px;
    padding: 0 12px;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900, #111827);
    background: #fff;
    -moz-appearance: textfield;
    appearance: textfield;
}

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

.pdp-premium-footwear__sticky-cta {
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    padding-bottom: env(safe-area-inset-bottom, 0);
    bottom: 56px;
}

[dir="rtl"] .pdp-premium-footwear__main-grid {
    direction: rtl;
}

@media (max-width: 991.98px) {
    .pdp-premium-footwear__main-grid {
        grid-template-columns: 1fr;
    }

    .pdp-premium-footwear__info-panel {
        position: static;
    }

    .pdp-premium-footwear__main-img {
        max-height: 420px;
    }

    body.has-bottom-nav .pdp-premium-footwear__sticky-cta {
        bottom: 56px;
    }
}

@media (max-width: 575.98px) {
    .pdp-premium-footwear__actions .btn {
        width: 100%;
    }
}
