/*
Theme Name: Mycomputers
Version: 0.1.0
Text Domain: mycomputers
*/

img,
video {
    max-width: 100%;
    height: auto;
}

:focus-visible {
    outline: 2px solid #08738c;
    outline-offset: 3px;
}

header > .mobile-menu[aria-hidden="true"] {
    visibility: hidden;
}

.mobile-menu__sub.mycomputers-submenu-open {
    display: block;
}

.mobile-menu__child > [role="button"] {
    cursor: pointer;
}

#sait1-cookie-control.is-visible:has(+ .spb-mobile-call),
body:has(.spb-mobile-call) > #sait1-cookie-control.is-visible {
    bottom: max(16px, env(safe-area-inset-bottom));
}

dialog.mmodal::backdrop {
    background: rgba(0, 0, 0, .51);
}

dialog.mmodal[open] {
    box-sizing: border-box;
    margin: auto;
    border: 0;
    max-width: calc(100vw - 24px);
}

.mycomputers-captcha-notice {
    display: block;
    font-size: 0.75rem;
    line-height: 1.35;
    margin-block: 0.35rem;
}

.mycomputers-captcha-notice a {
    color: inherit;
    text-decoration: underline;
}

.mycomputers-form-message:empty {
    display: none;
}

.cta-sect form.myform .sait1-consent,
.cta-sect form.myform .sait1-consent a,
.cta-sect form.myform .mycomputers-captcha-notice,
.cta-sect form.myform .mycomputers-form-message {
    color: #fff;
}

.cta-sect form.myform .sait1-consent a {
    text-decoration: underline;
}

.hidden-main-text.mycomputers-text-open {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.mycomputers-expanded-facts[hidden] {
    display: none;
}

@media (max-width: 767px) {
    .mycomputers-search-results {
        padding-block-start: 56px;
    }
}

.inside-trigger-block > p.inside-trigger-text {
    white-space: normal;
    overflow-wrap: break-word;
}


.mycomputers-model-availability {
    margin: 8px 0 0;
    padding: 5px 8px;
    color: #fff;
    background: #202830;
    border-radius: 4px;
    line-height: 1.35;
}

.mycomputers-model-availability:empty {
    margin: 0;
    padding: 0;
}


.page-footer .mycomputers-quality-trigger {
    padding: 0;
    border: 0;
    background: transparent;
    text-align: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.page-footer .mycomputers-quality-trigger:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.gomodal.mycomputers-quality-panel[hidden] {
    display: none;
}


dialog.gomodal[open] {
    max-height: calc(100dvh - 24px);
    overflow: auto;
}

.gomodal .modal-heading {
    font-size: clamp(16px, 3.5vw, 23px);
    line-height: 1.28;
    text-transform: none;
}

.gomodal form label:has(input[name="personal_data_consent"]) {
    display: block;
    text-align: left;
    line-height: 1.4;
}

.gomodal form label:has(input[name="personal_data_consent"]) input {
    float: none;
    vertical-align: middle;
    margin: 0 4px 0 0;
}

.gomodal form label:has(input[name="personal_data_consent"]) a {
    display: inline;
}

.gomodal .mycomputers-captcha-notice {
    font-size: 12px;
}


.mycomputers-city-marker {
    margin-inline-end: 5px;
}

.mobile-header .mycomputers-mobile-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding-inline: 4px;
    padding-block-start: 7px;
    color: #273342;
    font-size: 11px;
    line-height: 1.05;
    text-align: center;
}

.mobile-header .mycomputers-mobile-brand img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.mobile-header > .col-xs-2:has(.mycomputers-mobile-brand) {
    width: clamp(69px, 19vw, 96px);
}

.mobile-header:has(.mycomputers-mobile-brand) > .phonesxs {
    width: calc(100% - clamp(69px, 19vw, 96px) - 16.666667%);
}

@media (max-width: 767px) {
    #mycomputers-service-summary {
        text-align: start;
    }
}


@media (max-width: 767px) {
    .row.reverse:has(> .com-text-price > #mycomputers-service-summary):has(> .commerc-img-block > .triggers-mobile) {
        flex-direction: column;
    }

    .row.reverse:has(> .commerc-img-block > .triggers-mobile) > .com-text-price:has(> #mycomputers-service-summary) {
        display: contents;
    }

    .row.reverse:has(> .commerc-img-block > .triggers-mobile) > .com-text-price > #mycomputers-service-summary {
        order: -1;
        padding-inline: 15px;
    }

    .row.reverse:has(> .commerc-img-block > .triggers-mobile) > .com-text-price:has(> #mycomputers-service-summary) > .read-more-service {
        order: 1;
        margin-inline: 15px;
    }
}

@media (max-width: 360px) {
    .mobile-header > .col-xs-2:has(> .burger-container) {
        display: flex;
        justify-content: center;
        padding-inline: 0;
    }
}
