

/* Start:/bitrix/templates/preventa/components/bitrix/search.title/preventa/style.css?17821133775176*/
#search-form {
    position: relative;
}

.header nav .right-content .list li#search-form {
    width: 420px;
}

#search-form .preventa-title-search {
    width: 420px;
    margin: 0;
}

#search-form .preventa-title-search__field {
    position: relative;
    display: flex;
    align-items: center;
    height: 44px;
    margin-top: 22px;
    border: 1px solid #e7dfe4;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(27, 28, 30, 0.08);
}

#search-form .preventa-title-search__input {
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 0 46px 0 16px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #1b1c1e;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0;
    outline: 0;
}

#search-form .preventa-title-search__input:focus {
    border: 0;
    box-shadow: inset 0 -2px 0 #cb0051;
}

#search-form .preventa-title-search__input::placeholder {
    color: #8b8f96;
    opacity: 1;
}

#search-form .preventa-title-search__submit {
    position: absolute;
    top: 50%;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #2c2d2f;
    transform: translateY(-50%);
    transition: color 0.2s ease, background-color 0.2s ease;
}

#search-form .preventa-title-search__submit:hover,
#search-form .preventa-title-search__submit:focus {
    background: #fff0f6;
    color: #cb0051;
    outline: 0;
}

#search-form .preventa-title-search__submit i {
    font-size: 17px;
    line-height: 1;
}

div.title-search-result {
    box-sizing: border-box;
    display: none;
    overflow: hidden;
    z-index: 1100;
    border: 1px solid #eadfe5;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(27, 28, 30, 0.16);
}

table.title-search-result {
    table-layout: fixed;
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}

table.title-search-result tr {
    transition: background-color 0.16s ease;
}

table.title-search-result th {
    width: 92px;
    max-width: 92px;
    padding: 12px 10px 12px 14px;
    border: 0;
    border-right: 1px solid #f1e7ec;
    background: #fbf8fa;
    color: #8b8f96;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-align: left;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

table.title-search-result th span {
    display: block;
    max-width: 68px;
    overflow: hidden;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

table.title-search-result td {
    min-width: 0;
    padding: 0;
    border: 0;
    background: #fff;
    color: #1b1c1e;
    font-size: 15px;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: left;
    vertical-align: middle;
}

table.title-search-result tr + tr td,
table.title-search-result tr + tr th {
    border-top: 1px solid #f3edf0;
}

table.title-search-result td a {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 10px 14px;
    color: inherit;
    text-decoration: none;
}

table.title-search-result td.title-search-all a {
    min-height: 48px;
    color: #cb0051;
    font-weight: 600;
}

table.title-search-result .title-search-thumb {
    position: relative;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    overflow: hidden;
    border: 1px solid #f0e7ec;
    border-radius: 4px;
    background: #fbf8fa;
}

table.title-search-result .title-search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

table.title-search-result .title-search-thumb--empty::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid #cb0051;
    border-radius: 50%;
    opacity: 0.25;
}

table.title-search-result .title-search-name {
    max-width: 100%;
    display: block;
    min-width: 0;
    overflow: hidden;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: pre-wrap;
}

table.title-search-result tr.title-search-selected th,
table.title-search-result tr:hover th {
    background: #fff3f8;
    color: #cb0051;
}

table.title-search-result tr.title-search-selected td,
table.title-search-result tr.title-search-selected a,
table.title-search-result tr:hover td,
table.title-search-result tr:hover a {
    background: #fff8fb;
    color: #cb0051;
}

@media (max-width: 1399px) {
    .header nav .right-content .list li#search-form {
        width: 340px;
    }

    #search-form .preventa-title-search {
        width: 340px;
    }
}

@media (max-width: 1199px) {
    div.title-search-result {
        max-width: calc(100vw - 32px);
    }

    table.title-search-result th {
        width: 78px;
        max-width: 78px;
        padding-left: 10px;
        padding-right: 8px;
    }

    table.title-search-result th span {
        max-width: 58px;
    }
}

/* End */


/* Start:/bitrix/templates/preventa/template_styles.css?178230358512049*/
/*
 * Preventa Violet Theme - Bitrix Integration Styles
 * Additional styles for Bitrix CMS compatibility
 */

/* Bitrix Admin Panel Adjustments */
#panel {
    position: relative;
    z-index: 9999;
}

/* Admin mode fixes */
.bx-compact-menu .header {
    top: 40px;
}

/* Bitrix Content Area */
.bx-content-section {
    min-height: 400px;
}

/* Search form integration */
#search-form form {
    margin: 0;
}

#search-form .input-group {
    display: flex;
    align-items: center;
}

/* Menu active states */
.menu-item.active > a,
.menu-item a.active {
    color: #d19c7f;
}

/* Product card fixes for Bitrix */
.product-card .showcase-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Pagination styling */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #d19c7f;
    color: #d19c7f;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: #d19c7f;
    color: #fff;
}

/* Breadcrumb styling */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    padding: 0 8px;
    color: #6c757d;
}

.breadcrumb-item a {
    color: #d19c7f;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Bitrix Messages */
.bx-messenger {
    z-index: 9998;
}

/* Form styling for Bitrix */
.bx-content input[type="text"],
.bx-content input[type="email"],
.bx-content input[type="password"],
.bx-content textarea,
.bx-content select {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.bx-content input:focus,
.bx-content textarea:focus,
.bx-content select:focus {
    border-color: #d19c7f;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(209, 156, 127, 0.25);
}

/* Utility classes for spacing */
.mt-48 { margin-top: 48px; }
.mb-48 { margin-bottom: 48px; }
.pt-48 { padding-top: 48px; }
.pb-48 { padding-bottom: 48px; }

/* Fix for Bitrix components inside template */
.bx-component-content {
    position: relative;
}

/* Loading state for AJAX requests */
.bx-ajax-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Cart popup adjustments */
#sidebar-cart {
    z-index: 9997;
}

#sidebar-cart-curtain {
    z-index: 9996;
}

/* Responsive fixes */
@media (max-width: 1199px) {
    .right-content {
        display: none !important;
    }
    
    .navbar-collapse {
        background: #fff;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }
}

/* Page banner title */
.page-start-banner .title {
    word-break: break-word;
    max-width: 90%;
}

@media (max-width: 767px) {
    .page-start-banner .title {
        max-width: 100%;
    }
}

/* Sidebar Cart Styles */
#sidebar-cart {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100vh;
    background: #fff;
    z-index: 9997;
    padding: 48px;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}

#sidebar-cart.open {
    right: 0;
}

#sidebar-cart-curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9996;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#sidebar-cart-curtain.show {
    opacity: 1;
    visibility: visible;
}

#sidebar-cart .close-button {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 24px;
    color: #000;
    text-decoration: none;
}

#sidebar-cart .font-sec {
    font-family: 'Roboto Serif', serif;
    font-size: 24px;
    font-weight: 600;
}

#sidebar-cart .h-27 {
    color: #d19c7f;
}

#sidebar-cart .vr-line {
    height: 1px;
    background: #e5e5e5;
}

#sidebar-cart .product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#sidebar-cart .product-item {
    display: flex;
    gap: 16px;
}

#sidebar-cart .item-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

#sidebar-cart .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#sidebar-cart .product-text {
    flex: 1;
}

#sidebar-cart .product-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

#sidebar-cart .qp_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#sidebar-cart .quantity-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5;
}

#sidebar-cart .quantity-wrap input {
    width: 32px;
    height: 32px;
    border: none;
    text-align: center;
    background: #fff;
}

#sidebar-cart .quantity-wrap .decrement,
#sidebar-cart .quantity-wrap .increment {
    cursor: pointer;
    background: #f5f5f5;
}

#sidebar-cart .quantity-wrap .number {
    font-weight: 600;
}

#sidebar-cart .price h5 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

#sidebar-cart .color-primary {
    color: #d19c7f;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
}

#sidebar-cart .price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
}

#sidebar-cart .price-total h4 {
    font-size: 18px;
    font-weight: 600;
}

#sidebar-cart .action-buttons {
    display: flex;
    gap: 16px;
}

#sidebar-cart .action-buttons .cus-btn {
    flex: 1;
    text-align: center;
}

/* Hide default Bitrix cart */
.bx-basket {
    display: none !important;
}

/* Responsive */
@media (max-width: 480px) {
    #sidebar-cart {
        width: 100%;
        right: -100%;
    }
}

/* Product Card Fixed Height */
.product-card {
    height: 100%;
    max-height: 430px;
    display: flex;
    flex-direction: column;
}

.product-card .showcase-box {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    margin-bottom: 0!important;
}

.product-card .showcase-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-card .title {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: start;
    min-height: 40px;
    max-height: 110px;
    overflow: hidden;
    font-size: 18px!important;
    line-height: 1!important;
}

.product-card .title .price {
    font-size: 20px!important;
    line-height: 1!important;
}

/* Ensure grid items have consistent height - only for product cards */
.row.row-cols-xl-4 > [class*="col-"],
.row.row-cols-lg-3 > [class*="col-"],
.row.row-cols-md-2 > [class*="col-"] {
    display: flex;
}

.row.row-cols-xl-4 > [class*="col-"] > .product-card,
.row.row-cols-lg-3 > [class*="col-"] > .product-card,
.row.row-cols-md-2 > [class*="col-"] > .product-card {
    width: 100%;
}

/* Sidebar Cart Open State */
#sidebar-cart.open {
    right: 0;
    visibility: visible;
}

#sidebar-cart-curtain.show {
    display: block;
}

/* Add to Cart button loading state */
.add-to-cart.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Pagination styles - matching html/shop.html design */
.pagination-wrape {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.pagination-wrape .pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.pagination-wrape .page-item {
    display: inline-block;
}

.pagination-wrape .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #FFFFFF;
    color: #333333;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
}

.pagination-wrape .page-link:hover {
    background: #F5F5F5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.pagination-wrape .page-link.current,
.pagination-wrape .page-item.active .page-link {
    background: #CB0051;
    color: #FFFFFF;
    box-shadow: 0 4px 15px #bb004c;
}

.pagination-wrape .page-link.arrow {
    font-size: 16px;
}

.pagination-wrape .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Manager contact widget */
.manager-contact-widget {
    position: fixed;
    right: 73px;
    bottom: 107px;
    z-index: 9995;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.manager-contact-widget__list {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.manager-contact-widget.is-open .manager-contact-widget__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.manager-contact-widget__item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #34303a;
    text-decoration: none;
}

.manager-contact-widget__item:hover {
    color: #34303a;
    text-decoration: none;
}



.manager-contact-widget__icon,
.manager-contact-widget__toggle {
    width: 45px;
    height: 45px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(36, 32, 42, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.manager-contact-widget__icon {
    flex: 0 0 45px;
    font-size: 18px;
}

.manager-contact-widget__item--phone .manager-contact-widget__icon {
    background: #cb0051;
}

.manager-contact-widget__item--telegram .manager-contact-widget__icon {
    background: #36a8e5;
}

.manager-contact-widget__item--max .manager-contact-widget__icon {
    background: transparent;
    box-shadow: 0 10px 28px rgba(45, 127, 249, 0.28);
}

.manager-contact-widget__icon img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    /* padding: 5px; */
    /* background: #45bcfd; */
}

.manager-contact-widget__toggle {
    position: relative;
    background: #c3024f;
    font-size: 18px;
    cursor: pointer;
}

.manager-contact-widget__toggle:hover,
.manager-contact-widget__item:hover .manager-contact-widget__icon {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(36, 32, 42, 0.26);
}

.manager-contact-widget__toggle .fa-times,
.manager-contact-widget.is-open .manager-contact-widget__toggle .fa-comments {
    display: none;
}

.manager-contact-widget.is-open .manager-contact-widget__toggle .fa-times {
    display: inline-block;
}

.product-card .title{
    flex-direction: column;
    align-items: start !important;
    gap: 10px;
}
.not_available {
    position: absolute;
    left: 25px;
    top: 25px;
    z-index: 99;
    background: #54575c;
    color: white;
    padding: 5px;
    border-radius: 8px;
}
.product-detail .detail-img-block{
    position:relative;
}

@media (max-width: 767px) {
    .manager-contact-widget {
        right: 33px;
        bottom: 81px;
    }

    .manager-contact-widget__icon,
    .manager-contact-widget__toggle {
        width: 45px;
        height: 45px;
    }

    .manager-contact-widget__icon {
        flex-basis: 45px;
    }

}

/* End */
/* /bitrix/templates/preventa/components/bitrix/search.title/preventa/style.css?17821133775176 */
/* /bitrix/templates/preventa/template_styles.css?178230358512049 */
