/* PDP Adidas-style layout — Glamour */

.pdp-shell {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 1024px) {
    .pdp-shell {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1280px) {
    .pdp-shell {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* Outer grid — 24 cols so 0.5/12 steps are exact */
.pdp-grid {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
    width: 100%;
    align-items: start;
    overflow: visible;
}

/*
 * 12-column page: thumbs 0.5, image 4, options 4, cart 3.5.
 * Track is 24 so those splits stay exact: 9 + 8 + 7.
 * Description stays under thumbs + image + options. The cart column is only the cart.
 */
.pdp-grid--single .pdp-gallery-wrap,
.pdp-grid--multi .pdp-gallery-wrap {
    grid-column: 1 / span 9;
    grid-row: 1;
}

.pdp-grid--single .pdp-options,
.pdp-grid--multi .pdp-options {
    grid-column: 10 / span 8;
    grid-row: 1;
}

.pdp-grid--single .pdp-cart,
.pdp-grid--multi .pdp-cart {
    grid-column: 18 / span 7;
    grid-row: 1;
}

.pdp-grid--single .pdp-below,
.pdp-grid--multi .pdp-below {
    grid-column: 1 / span 17;
    grid-row: 2;
}

.pdp-options,
.pdp-cart {
    z-index: 2;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    align-self: start;
}

.pdp-below {
    min-width: 0;
    width: 100%;
    margin-top: 0.5rem;
}

.pdp-price-inline {
    display: none;
}

.pdp-selection {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.35;
}

.pdp-selection__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.pdp-selection__label {
    font-weight: 600;
    color: #111;
}

.pdp-selection__label::after {
    content: ":";
}

.pdp-selection__value {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    min-width: 0;
    color: #3f3f46;
    text-align: right;
}

.pdp-selection__value img {
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    object-fit: cover;
    border: 1px solid #e4e4e7;
    border-radius: 0.25rem;
    background: #f4f4f5;
}

.pdp-below__tabs {
    display: block;
}

.pdp-below__accordions {
    display: none;
    gap: 0.75rem;
}

.pdp-similar-wrap {
    max-width: 1440px;
    margin: 2.5rem auto 0;
}

.pdp-similar {
    margin-top: 0;
    width: 100%;
}

.pdp-similar .container {
    max-width: none;
    margin-top: 0 !important;
    padding-left: 0;
    padding-right: 0;
}

.pdp-similar .container > .flex:first-child h2 {
    font-size: 1.5rem;
}

@media (max-width: 1180px) {
    .pdp-similar {
        margin-top: 2rem;
    }
}

/* Ähnliche Produkte — mobil tek ürün slider */
.pdp-similar-mobile {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-inline: 1rem;
    margin-top: 1.75rem;
    overflow: hidden;
}

.pdp-similar-mobile__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pdp-similar-mobile__title {
    margin: 0;
    font-family: "DM Serif Display", serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.2;
    color: #1a1a1a;
}

.pdp-similar-mobile__nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.pdp-similar-mobile__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid #d4d4d8;
    border-radius: 999px;
    background: #fff;
    color: #1a1a1a;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.pdp-similar-mobile__stage {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.pdp-similar-mobile__card,
.pdp-similar-mobile__card.group {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.pdp-similar-mobile__card > div {
    max-width: 100% !important;
}

.pdp-similar-mobile__card .glamour-installment-banner {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    font-size: 0.6875rem;
    line-height: 1.35;
    padding-inline: 0.4rem;
}

.pdp-similar-mobile__dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.pdp-similar-mobile__dot {
    width: 1.75rem;
    height: 3px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #d4d4d8;
    cursor: pointer;
}

.pdp-similar-mobile__dot.is-active {
    background: #8b1538;
}

@media (min-width: 768px) {
    .pdp-similar-mobile {
        display: none !important;
    }
}

@media (min-width: 1181px) {
    .pdp-grid,
    .pdp-shell {
        overflow: visible;
    }

    .pdp-cart {
        position: sticky !important;
        top: 5rem;
        max-height: none;
        overflow: visible;
    }

    .pdp-cart > .flex {
        gap: 0.5rem;
        align-items: stretch;
    }

    .pdp-cart > .flex > :first-child {
        flex: 0 0 auto;
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }

    .pdp-cart .secondary-button {
        min-width: 0;
        padding-left: 0.7rem;
        padding-right: 0.7rem;
        font-size: 0.9rem;
        line-height: 1.25;
        text-align: center;
    }

    .pdp-cart .glamour-product-detail-meta {
        max-width: none;
        margin-top: 1.25rem;
    }

    .pdp-cart .glamour-product-detail-meta__content {
        font-size: 0.875rem;
    }
}

@media (max-width: 1180px) {
    .pdp-grid,
    .pdp-grid--single,
    .pdp-grid--multi {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .pdp-grid--single .pdp-gallery-wrap,
    .pdp-grid--multi .pdp-gallery-wrap,
    .pdp-grid--single .pdp-options,
    .pdp-grid--multi .pdp-options,
    .pdp-grid--single .pdp-cart,
    .pdp-grid--multi .pdp-cart,
    .pdp-grid--single .pdp-below,
    .pdp-grid--multi .pdp-below {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
    }

    .pdp-options,
    .pdp-cart {
        position: relative !important;
        top: auto;
        max-height: none;
        overflow: visible;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .pdp-gallery-wrap {
        order: 1;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .pdp-gallery-mobile-only {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .pdp-mobile-carousel {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .pdp-mobile-carousel__slide {
        box-sizing: border-box;
    }

    .pdp-mobile-carousel__media {
        display: block;
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
        object-fit: contain;
    }

    .pdp-options {
        order: 2;
    }

    .pdp-cart {
        order: 3;
    }

    .pdp-below {
        order: 4;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .pdp-below__tabs {
        display: none;
    }

    .pdp-below__accordions {
        display: grid;
    }

    .pdp-options h1 {
        font-size: 1.75rem !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
    }

    .pdp-price-inline {
        display: block;
        margin-top: 0.85rem;
    }

    .pdp-cart__price-block {
        display: none;
    }
}

.pdp-gallery-root {
    position: relative;
}

.pdp-discount-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 25;
    pointer-events: none;
    margin: 0;
    display: inline-block;
    border-radius: 44px;
    background-color: #dc2626;
    padding: 0.25rem 0.625rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: #fff;
}

@media (max-width: 1024px) {
    .pdp-discount-badge {
        top: 0.5rem;
        left: 0;
        border-radius: 0 999px 999px 0;
        padding: 0.125rem 0.5rem;
        font-size: 0.75rem;
        line-height: 1.125rem;
    }
}

/* Desktop gallery: thumbs | main images */
.pdp-gallery-desktop {
    display: grid;
    gap: 0.75rem;
    width: 100%;
    align-items: start;
}

/* Show desktop gallery only ≥1181px; mobile gallery only ≤1180px */
.pdp-gallery-desktop-only {
    display: grid;
}

.pdp-gallery-mobile-only {
    display: none;
}

@media (max-width: 1180px) {
    .pdp-gallery-desktop-only {
        display: none !important;
    }

    .pdp-gallery-mobile-only {
        display: block !important;
        width: 100%;
    }
}

/* Thumbs are 0.5/12 of the page, the image is 4/12. */
.pdp-gallery-desktop {
    grid-template-columns: minmax(0, 1fr) minmax(0, 8fr);
}

.pdp-gallery-desktop--single {
    grid-template-columns: minmax(0, 1fr);
}

.pdp-gallery-desktop--single .pdp-main {
    grid-column: 1 / -1;
    width: 100%;
}

.pdp-thumbs-column {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-height: 0;
    overflow: hidden;
}

.pdp-thumbs-nav {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.15rem 0;
    border: 0;
    background: transparent;
    color: #18181b;
    cursor: pointer;
    line-height: 1;
}

.pdp-thumbs-nav:hover {
    opacity: 0.65;
}

.pdp-thumbs-nav .icon-arrow-up,
.pdp-thumbs-nav .icon-arrow-down {
    font-size: 1.25rem;
}

.pdp-thumbs {
    display: flex;
    width: 100%;
    min-height: 0;
    flex: 1 1 0;
    flex-direction: column;
    gap: 0.5rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

.pdp-thumbs::-webkit-scrollbar {
    width: 4px;
}

.pdp-thumbs::-webkit-scrollbar-thumb {
    background: #d4d4d8;
    border-radius: 999px;
}

.pdp-thumbs__item {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    background: #f4f4f5;
    transition: border-color 0.15s ease;
}

.pdp-thumbs__item.is-active,
.pdp-thumbs__item:hover {
    border-color: #18181b;
}

.pdp-main {
    min-width: 0;
    width: 100%;
}

.pdp-main-stage {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: #f4f4f5;
    cursor: zoom-in;
}

.pdp-main-stage img,
.pdp-main-stage video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.pdp-main-grid__item img,
.pdp-main-grid__item video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-main-grid__item.is-active {
    outline: 2px solid #18181b;
    outline-offset: -2px;
}

.pdp-mehr-btn {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.875rem 1rem;
    border: 1px solid #18181b;
    background: #fff;
    color: #18181b;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.pdp-mehr-btn:hover {
    background: #18181b;
    color: #fff;
}

/* Mobile thumbs */
.pdp-mobile-thumbs {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 1rem 0;
}

.pdp-mobile-thumbs__viewport {
    flex: 1;
    overflow: hidden;
}

.pdp-mobile-thumbs__track {
    display: flex;
    transition: transform 0.25s ease;
}

.pdp-mobile-thumbs__item {
    flex: 0 0 25%;
    padding: 0 0.2rem;
    box-sizing: border-box;
    background: none;
    border: 0;
    cursor: pointer;
}

.pdp-mobile-thumbs__item img,
.pdp-mobile-thumbs__item video {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 2px solid transparent;
    background: #f4f4f5;
}

.pdp-mobile-thumbs__item.is-active img,
.pdp-mobile-thumbs__item.is-active video {
    border-color: #18181b;
}

.pdp-mobile-thumbs__nav {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border: 1px solid #d4d4d8;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
}

.pdp-mobile-thumbs__nav:disabled {
    opacity: 0.35;
    cursor: default;
}

/* Option grids */
.pdp-option-grid {
    display: grid;
    gap: 0.4rem;
    width: 100%;
}

.pdp-option-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pdp-option-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pdp-option-grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pdp-option-cell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.55rem 0.35rem;
    border: 1px solid #d4d4d8;
    background: #fff;
    color: #18181b;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    user-select: none;
}

.pdp-option-cell:hover {
    border-color: #18181b;
    background: #f4f4f5;
}

.pdp-option-cell.is-selected {
    border-color: #18181b;
    background: #18181b;
    color: #fff;
}

.pdp-option-cell.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.pdp-option-cell input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pdp-option-cell--swatch {
    padding: 0.35rem;
    min-height: 0;
}

.pdp-option-cell__swatch-img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.pdp-option-cell__label {
    margin-top: 0.35rem;
    font-size: 0.7rem;
    color: inherit;
}

.pdp-option-cell--font {
    min-height: 3.25rem;
    font-size: 1rem;
}

.pdp-gravur-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 640px) {
    .pdp-option-grid--3,
    .pdp-option-grid--4,
    .pdp-option-grid--5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pdp-gravur-row {
        grid-template-columns: 1fr;
    }
}

/* SKU satırı — marka logosu (/marken) */
.glamour-pdp-brand-logo {
    max-width: 7.5rem;
    line-height: 0;
    opacity: 1;
    transition: opacity 0.15s ease;
}

.glamour-pdp-brand-logo:hover {
    opacity: 0.82;
}

.glamour-pdp-brand-logo__img {
    display: block;
    max-height: 2rem;
    max-width: 7.5rem;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left center;
}
