

/* Start:/local/templates/aspro-digital/components/bitrix/news.detail/advertising_detail/style.css?17859908218055*/
:root {
    --btn-radius: 12px;
    --btn-height: 48px;
    --btn-max-width: 240px;
    --color-black: #000;
    --color-yellow: #ffec0d;
    --color-white: #fff;
    --color-text-muted: #777;
    --color-text-dark: #222;
    --color-text-gray: #555;
    --box-shadow-light: 0 2px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.15);
    --box-shadow-heavy: 0 6px 20px rgba(0, 0, 0, 0.1);
    --box-shadow-image: 0 10px 30px rgba(0, 0, 0, 0.12);
    --radius-base: 8px;
}
.request-popup {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.request-popup[hidden] {
    display: none;
}

.request-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.request-popup__content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 2;
    animation: fadeIn 0.3s ease-in-out;
}

.request-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.request-popup__close:hover {
    color: #333;
}

.request-popup h2 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 24px;
    color: #333;
    text-align: center;
}

.request-popup form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #555;
}


.request-popup form input,
.request-popup form textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #f9f9f9;
    transition: border-color 0.2s, background-color 0.2s;
}

.request-popup form input:focus,
.request-popup form textarea:focus {
    outline: none;
    border-color: #ffbf00;
    background: #fff;
}

.request-popup form textarea {
    resize: vertical;
}

.request-popup form .submit-form__btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    font-size: 16px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.request-popup form .submit-form__btn:hover {
    background-color: #ffec0d;
    color: black;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .request-popup__content {
        padding: 20px;
    }

    .request-popup h2 {
        font-size: 20px;
    }
}
button,
.open-request-form__btn,
.side-switcher__button,
.btn-share,
#add-to-favorites__btn {
    border-radius: var(--btn-radius);
    height: var(--btn-height);
    border: none;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.open-request-form__btn:disabled{
    opacity: 0.5%;
}

#add-to-favorites__btn:active {
    width: 100%;
    margin-top: 10px;
    max-width: var(--btn-max-width);
    background-color: brown;
    color: greenyellow;
}



.open-request-form__btn,
.btn-share,
#add-to-favorites__btn {
    width: 100%;
    margin-top: 10px;
    max-width: var(--btn-max-width);
    background-color: var(--color-black);
    color: var(--color-white);
}

.side-switcher__button {
    width: 100%;
    max-width: 100px;
    font-size: 1.5rem;
    font-weight: 700;
    background-color: var(--color-black);
    color: var(--color-white);
}

.open-request-form__btn:hover,
.btn-share:hover,
.btn-share:focus,
#add-to-favorites__btn:hover,
.side-switcher__button:hover:not(.active):not([aria-pressed="true"]) {
    background-color: var(--color-yellow);
    color: var(--color-black);
    border: 2px solid #000;
}

.side-switcher__button.active,
.side-switcher__button[aria-pressed="true"] {
    background-color: var(--color-yellow);
    color: var(--color-black);
    cursor: default;
    pointer-events: none;
    border: 2px solid #000;
}

.btn-share:active {
    background-color: #222;
    color: var(--color-yellow);
}

.btn-share:focus-visible {
    outline: 2px solid var(--color-yellow);
    outline-offset: 2px;
}

/* Layout wrappers */


.detail-wrapper {
    /*max-width: 1200px;*/
    padding: 1rem 1.5rem;
    background: var(--color-white);
    border-radius: var(--radius-base);
    box-shadow: var(--box-shadow-heavy);
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.detail-left {
    flex: 1 1 50%;
    min-width: 300px;

}

.detail-title {
    margin-top: 0;
    font-size: 24px;
}

.detail-right {
    flex: 1 1 40%;
    min-width: 250px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.detail-image {
    width: 100%;
    margin-bottom: 2rem;
    height: auto;
    display: block;
    border-radius: var(--radius-base);
    overflow: hidden;
    box-shadow: var(--box-shadow-image);
    cursor: pointer;
    transition: transform 0.25s ease;
}

.detail-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.detail-image:hover img {
    transform: scale(1.05);
}

/* Side switcher */
.side-watch__label {
    margin: 0 0 8px;
    font-weight: bold;
}


.side-switcher {
    margin-bottom: 20px;
}

.side-switcher__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Properties */

.detail-properties {
    margin-top: 1.5rem;
}

.property-card {
    flex: 1 1 280px;
    border: 1px solid #ddd;
    border-radius: var(--radius-base);
    padding: 16px;
    background-color: var(--color-white);
    box-shadow: var(--box   -shadow-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

.property-card:hover {
    box-shadow: var(--box-shadow-medium);
}

.property-icon {
    font-size: 28px;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}

.property-title {
    font-weight: 600;
    margin: 0 0 8px;
    font-size: 1.6rem;
    color: var(--color-text-dark);
}

.property-value {
    margin: 0;
    color: var(--color-text-gray);
    font-size: 2rem;
    word-break: break-word;
}

/* Misc */

.ya-share,
.buttons-wrapper {
    margin-top: 20px;
}

.buttons-wrapper {
    display: block;
}

.buttons-wrapper button {
    flex: 1 1 auto;
    min-width: 120px;
}

/* Popups */

.share-popup,
.request-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.share-popup[hidden],
.request-popup[hidden] {
    display: none;
}

.share-popup__overlay,
.request-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.share-popup__content,
.request-popup__content {
    position: relative;
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--radius-base);
    z-index: 1;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.request-popup__content {
    max-width: 500px;
    padding: 24px;
    z-index: 2;
}

.share-popup__close,
.request-popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.request-popup__close {
    font-size: 20px;
}

/* End */
/* /local/templates/aspro-digital/components/bitrix/news.detail/advertising_detail/style.css?17859908218055 */
