/**
 * Product detail — mounting options (MONTAJ SEÇENEKLERİ)
 */

.pm-mount {
    background: #eef3f7;
}

.pm-mount .inner-container {
    padding-bottom: 0;
}

.pm-mount__shell {
    padding: 1.75rem 1.25rem 2rem;
    background: #fff;
    border-top: 3px solid #1b6a92;
    box-shadow: 0 12px 36px rgba(15, 45, 68, 0.07);
}

@media (min-width: 768px) {
    .pm-mount__shell {
        padding: 2rem 2rem 2.5rem;
    }
}

.pm-mount__head {
    margin-bottom: 1.75rem;
    text-align: center;
}

@media (min-width: 768px) {
    .pm-mount__head {
        margin-bottom: 2rem;
    }
}

.pm-mount__eyebrow {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1b6a92;
}

.pm-mount__head h2 {
    margin: 0;
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    color: #0f3d54;
}

.pm-mount__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Tam 3 montaj seçeneği — tek satırda eşit genişlik */
@media (min-width: 520px) {
    .pm-mount__grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .pm-mount__grid--3 {
        gap: 1.35rem;
    }
}

/* 2 veya 4+ öğe için esnek grid */
@media (min-width: 520px) {
    .pm-mount__grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .pm-mount__grid:not(.pm-mount__grid--3):not(.pm-mount__grid--2) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.pm-mount__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #d4e4ee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 45, 68, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.pm-mount__card:hover {
    border-color: #b8d4e4;
    box-shadow: 0 12px 28px rgba(15, 45, 68, 0.12);
    transform: translateY(-2px);
}

.pm-mount .pm-product-image-trigger.pm-mount__media {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.pm-mount__media {
    position: relative;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 220px;
    padding: 0.85rem;
    margin: 0;
    border: 0;
    background: linear-gradient(180deg, #f8fbfd 0%, #edf4f8 100%);
    cursor: zoom-in;
}

.pm-mount__media::before {
    content: '';
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231b6a92' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E") center / 14px no-repeat;
    box-shadow: 0 2px 8px rgba(15, 45, 68, 0.12);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.pm-mount__card:hover .pm-mount__media::before {
    opacity: 1;
    transform: scale(1);
}

.pm-mount__media img {
    display: block;
    float: none !important;
    flex: 1 1 auto;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    min-width: 0;
    min-height: 0;
    margin: 0 !important;
    object-fit: contain;
    object-position: center center;
    transition: transform 0.25s ease;
    align-self: stretch;
}

@media (min-width: 520px) {
    .pm-mount__grid--3 .pm-mount__media {
        flex: 0 0 auto;
        aspect-ratio: 1;
        min-height: 0;
        padding: 0.75rem;
    }

    .pm-mount__grid--3 .pm-mount__body {
        padding: 1.15rem 1rem 1.35rem;
        flex-shrink: 0;
    }
}

@media (min-width: 992px) {
    .pm-mount__grid--3 .pm-mount__media {
        padding: 0.85rem;
    }

    .pm-mount__grid--3 .pm-mount__body {
        padding: 1.3rem 1.15rem 1.55rem;
    }

    .pm-mount__grid--3 .pm-mount__title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}

.pm-mount__card:hover .pm-mount__media img {
    transform: scale(1.03);
}

.pm-mount__body {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    padding: 1.1rem 1rem 1.3rem;
    border-top: 1px solid #e4eef4;
    background: #fff;
}

.pm-mount__title {
    margin: 0 0 0.4rem;
    font-size: 0.94rem;
    line-height: 1.35;
    color: #14526f;
    font-style: normal !important;
}

.pm-mount__desc {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.55;
    color: #5a7282;
    font-style: normal !important;
}

/* Eski product-range stillerini bu bölümde devre dışı bırak */
.pm-mount.product-range .product-list {
    padding: 0;
}

.pm-mount .product-list__item__info {
    background: transparent;
    padding: 0;
    text-align: left;
}

.pm-mount .product-list__item__info h2,
.pm-mount .product-list__item__info p {
    color: inherit;
    font-style: normal !important;
}
