/* =========================================================
   PLUS MOBILE — DISPLAY BRAND PAGES
   Ana tasarım pm-display-repair.css dosyasından gelir.
   Ortak marka template'inin model arama / görsel alanını tamamlar.
========================================================= */

.pm-display-brand-page .pm-display-brand-hero-phone {
    position: relative;
    z-index: 2;
    display: block;
    width: auto;
    height: auto;
    max-width: min(82%, 360px);
    max-height: 340px;
    object-fit: contain;
    filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .24));
}

.pm-display-brand-page .pm-display-wide-story-copy p + p {
    margin-top: 18px;
}

.pm-display-brand-page .pm-display-feature-copy p + p {
    margin-top: 16px;
}

/* =========================================================
   MODEL SEARCH
========================================================= */

.pm-display-brand-page .pm-display-brand-models {
    padding-top: 86px;
    padding-bottom: 96px;
}

.pm-display-brand-page .pm-display-brand-search-panel {
    display: grid;
    grid-template-columns: minmax(300px, .78fr) minmax(440px, 1.22fr);
    gap: 46px;
    align-items: center;
    margin-bottom: 38px;
    padding: 30px 34px;
    border: 1px solid rgba(102, 37, 199, .14);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(24, 12, 36, .04);
}

.pm-display-brand-page .pm-display-brand-search-copy > span {
    display: inline-block;
    margin-bottom: 9px;
    color: #6625c7;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.pm-display-brand-page .pm-display-brand-search-copy h3 {
    margin: 0;
    color: #18131d;
    font-size: 27px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.035em;
}

.pm-display-brand-page .pm-display-brand-search-copy p {
    margin: 10px 0 0;
    color: rgba(24, 19, 29, .60);
    font-size: 13px;
    line-height: 1.65;
}

.pm-display-brand-page .pm-display-brand-search-field input {
    width: 100%;
    height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(102, 37, 199, .22);
    border-radius: 7px;
    outline: 0;
    background: #fff;
    color: #18131d;
    font: inherit;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.pm-display-brand-page .pm-display-brand-search-field input:focus {
    border-color: #6625c7;
    box-shadow: 0 0 0 4px rgba(102, 37, 199, .08);
}

.pm-display-brand-page .pm-display-brand-search-count {
    margin-top: 9px;
    color: rgba(24, 19, 29, .55);
    font-size: 12px;
    font-weight: 700;
}

/* =========================================================
   MODEL CARDS
========================================================= */

.pm-display-brand-page .pm-display-brand-grid {
    grid-auto-columns: calc((100% - 54px) / 4);
    gap: 18px;
}

.pm-display-brand-page .pm-display-brand-model-card {
    min-height: 390px;
    padding: 26px 24px 24px;
}

.pm-display-brand-page .pm-display-brand-model-card[hidden] {
    display: none !important;
}

.pm-display-brand-page .pm-display-brand-model-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 170px;
    margin-bottom: 22px;
}

.pm-display-brand-page .pm-display-brand-model-image img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 170px !important;
    max-height: 160px !important;
    object-fit: contain;
}

.pm-display-brand-page .pm-display-brand-model-card h3 {
    margin: 0 0 12px;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 850;
}

.pm-display-brand-page .pm-display-brand-model-card h3 a {
    color: #18131d;
    text-decoration: none;
}

.pm-display-brand-page .pm-display-brand-model-card h3 a:hover {
    color: #6625c7;
}

.pm-display-brand-page .pm-display-brand-model-card > p {
    margin: 0 0 22px;
    color: rgba(24, 19, 29, .58);
    font-size: 13px;
    line-height: 1.6;
}

.pm-display-brand-page .pm-display-brand-empty {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid rgba(102, 37, 199, .14);
    background: #fff;
    color: #18131d;
    text-align: center;
    font-size: 14px;
    font-weight: 750;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {
    .pm-display-brand-page .pm-display-brand-grid {
        grid-auto-columns: calc((100% - 36px) / 3);
    }
}

@media (max-width: 900px) {
    .pm-display-brand-page .pm-display-brand-search-panel {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .pm-display-brand-page .pm-display-brand-grid {
        grid-auto-columns: calc((100% - 18px) / 2);
    }

    .pm-display-brand-page .pm-display-brand-hero-phone {
        max-width: min(78%, 300px);
        max-height: 270px;
    }
}

@media (max-width: 620px) {
    .pm-display-brand-page .pm-display-brand-models {
        padding-top: 60px;
        padding-bottom: 68px;
    }

    .pm-display-brand-page .pm-display-brand-search-panel {
        padding: 22px 18px;
    }

    .pm-display-brand-page .pm-display-brand-grid {
        grid-auto-columns: 88%;
    }

    .pm-display-brand-page .pm-display-brand-model-card {
        min-height: 360px;
    }

    .pm-display-brand-page .pm-display-brand-hero-phone {
        max-width: min(76%, 230px);
        max-height: 210px;
    }
}


/* =========================================================
   SERVICE PROCESS
   Ekran tamiri süreci
========================================================= */

.pm-display-brand-page .pm-display-brand-service-process {
    padding: 84px 0 92px;
    background: #ffffff;
    border-top: 1px solid rgba(102, 37, 199, .12);
}

.pm-display-brand-page .pm-display-brand-service-process-head {
    max-width: 780px;
    margin: 0 auto 40px;
    text-align: center;
}

.pm-display-brand-page .pm-display-brand-service-process-head h2 {
    margin: 0;
    color: #18131d;
    font-size: clamp(32px, 3vw, 46px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.04em;
}

.pm-display-brand-page .pm-display-brand-service-process-head > p:last-child {
    max-width: 680px;
    margin: 16px auto 0;
    color: rgba(24, 19, 29, .62);
    font-size: 14px;
    line-height: 1.75;
}

.pm-display-brand-page .pm-display-brand-service-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pm-display-brand-page .pm-display-brand-service-process-step {
    position: relative;
    min-height: 188px;
    padding: 28px 28px 30px;
    overflow: hidden;
    border: 1px solid rgba(102, 37, 199, .14);
    border-radius: 10px;
    background: #ffffff;
}

.pm-display-brand-page .pm-display-brand-service-process-step::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: #6625c7;
}

.pm-display-brand-page .pm-display-brand-service-process-step:last-child::before {
    background: #f36c0a;
}

.pm-display-brand-page .pm-display-brand-service-process-step > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 30px;
    margin-bottom: 20px;
    padding: 0 9px;
    border-radius: 5px;
    background: rgba(102, 37, 199, .08);
    color: #6625c7;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
}

.pm-display-brand-page .pm-display-brand-service-process-step h3 {
    margin: 0;
    color: #18131d;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -.025em;
}

.pm-display-brand-page .pm-display-brand-service-process-step p {
    margin: 12px 0 0;
    color: rgba(24, 19, 29, .62);
    font-size: 13px;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .pm-display-brand-page .pm-display-brand-service-process-grid {
        grid-template-columns: 1fr;
    }

    .pm-display-brand-page .pm-display-brand-service-process-step {
        min-height: 0;
    }
}

@media (max-width: 620px) {
    .pm-display-brand-page .pm-display-brand-service-process {
        padding: 62px 0 68px;
    }

    .pm-display-brand-page .pm-display-brand-service-process-head {
        margin-bottom: 30px;
    }

    .pm-display-brand-page .pm-display-brand-service-process-step {
        padding: 24px 22px 26px;
    }
}


/* =========================================================
   IPAD DISPLAY — TABLET HERO
========================================================= */

.pm-display-brand-page.service-ipad-display-reparatur
.pm-display-brand-hero-phone {
    max-width: min(88%, 430px);
    max-height: 340px;
}


/* =========================================================
   COMPACT SEARCH PICKER
   iPad gibi tek genel reparatur sayfasına giden markalar.
========================================================= */

.pm-display-brand-page .pm-display-brand-picker {
    overflow: hidden;
    margin-top: 4px;
    border: 1px solid rgba(102, 37, 199, .14);
    border-radius: 10px;
    background: #ffffff;
}

.pm-display-brand-page .pm-display-brand-picker-hint {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(102, 37, 199, .12);
    color: rgba(24, 19, 29, .58);
    font-size: 13px;
    line-height: 1.55;
}

.pm-display-brand-page .pm-display-brand-picker-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pm-display-brand-page .pm-display-brand-picker-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    min-height: 62px;
    padding: 0 20px;

    border-right: 1px solid rgba(24, 19, 29, .09);
    border-bottom: 1px solid rgba(24, 19, 29, .09);

    background: #ffffff;
    color: #18131d;
    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease,
        padding-left .2s ease;
}

.pm-display-brand-page .pm-display-brand-picker-option:nth-child(2n) {
    border-right: 0;
}

.pm-display-brand-page .pm-display-brand-picker-option[hidden] {
    display: none !important;
}

.pm-display-brand-page .pm-display-brand-picker-option:hover {
    padding-left: 25px;
    background: rgba(102, 37, 199, .045);
    color: #6625c7;
}

.pm-display-brand-page .pm-display-brand-picker-option span {
    min-width: 0;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 850;
}

.pm-display-brand-page .pm-display-brand-picker-option small {
    flex: 0 0 auto;
    color: #f36c0a;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

@media (max-width: 900px) {

    .pm-display-brand-page.service-ipad-display-reparatur
    .pm-display-brand-hero-phone {
        max-width: min(88%, 360px);
        max-height: 280px;
    }

    .pm-display-brand-page .pm-display-brand-picker-results {
        grid-template-columns: 1fr;
    }

    .pm-display-brand-page .pm-display-brand-picker-option {
        border-right: 0;
    }
}

@media (max-width: 620px) {

    .pm-display-brand-page.service-ipad-display-reparatur
    .pm-display-brand-hero-phone {
        max-width: min(90%, 290px);
        max-height: 230px;
    }

    .pm-display-brand-page .pm-display-brand-picker-option {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        padding: 16px 18px;
    }

    .pm-display-brand-page .pm-display-brand-picker-option:hover {
        padding-left: 18px;
    }
}
