/* ОБЩИЕ СТИЛИ ДЛЯ ВСЕХ СТРАНИЦ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    background: #fff;
}

/* ПРМО-СЛАЙДЕР */
#promo-bar {
    height: 40px;
    background: #000;
    color: #fff;
    text-align: center;
    line-height: 40px;
    font-size: 12px;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 101;
    overflow: hidden;
    white-space: nowrap;
}

.promo-slide {
    display: inline-block;
    width: 100%;
}

.promo-slide a {
    color: #fff;
    text-decoration: underline;
    margin-left: 8px;
}

/* HEADER */
header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: #fff;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    z-index: 200;
}

.burger {
    font-size: 24px;
    cursor: pointer;
    color: #000;
}

.logo {
    width: 100px;
}

.search-box {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 0;
    padding: 8px 12px;
    width: 220px;
    font-size: 14px;
    outline: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-right nav {
    display: flex;
    gap: 32px;
}

.header-right nav a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: color 0.2s;
}

.header-right nav a:hover {
    color: #666;
}

.icons {
    display: flex;
    gap: 24px;
}

.icons i {
    color: #000;
    cursor: pointer;
    transition: color 0.2s;
}

.icons i:hover {
    color: #666;
}

.icons svg:hover {
    opacity: 0.6;
}

.icons svg {
    transition: opacity 0.2s;
}

/* BURGER MENU */
.burger-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.burger-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 66vh;
    background: #fff;
    z-index: 1001;
    display: none;
    /* overflow-y: auto; */
    overflow-y: auto;
    padding: 30px 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #eee;
}

.burger-panel.open {
    display: block;
}

.burger-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.burger-logo {
    width: 80px;
    height: auto;
}

.close-burger {
    font-size: 28px;
    cursor: pointer;
    color: #000;
}

/* Основные разделы меню */
.burger-main-sections {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.burger-main-sections ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.burger-main-sections li {
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    color: #333;
    transition: color 0.3s;
}

.burger-main-sections li:hover,
.burger-main-sections li.active {
    color: #000;
    font-weight: 600;
}

/* Иконки и язык в бургер-меню */
.burger-icons-section {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.burger-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.burger-icon-btn {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.burger-icon-btn:hover {
    background-color: #f5f5f5;
}

.burger-icon-btn svg {
    width: 24px;
    height: 24px;
    stroke: #000;
    stroke-width: 2;
}

.burger-language {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.burger-language label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.language-dropdown {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s;
}

.language-dropdown:hover,
.language-dropdown:focus {
    border-color: #000;
    outline: none;
}

.burger-two-columns {
    display: flex;
    gap: 80px;
}

.burger-left-col {
    width: 250px;
}

.burger-left-col ul {
    list-style: none;
}

.burger-left-col li {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}

.burger-left-col li.active {
    font-weight: 700;
    border-left: 3px solid #000;
    padding-left: 12px;
}

.burger-right-col {
    flex: 1;
}

.burger-right-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 500;
}

.burger-right-col .category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px 20px;
}

#dynamicRightCol {
    justify-content: flex-start;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    cursor: pointer;
    padding: 6px 3px;
    transition: opacity 0.2s;
    text-align: center;
}

.category-item:hover {
    opacity: 0.7;
}

.category-item img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

#dynamicContent {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1024px) {
    header {
        padding: 0 30px;
    }

    .header-right nav,
    .header-right .icons {
        display: none;
    }

    .burger-panel {
        padding: 20px 30px;
    }

    .burger-two-columns {
        gap: 40px;
    }

    .burger-right-col .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 0 15px;
    }

    .burger-panel {
        height: auto;
        max-height: 90vh;
        padding: 16px;
        overflow-y: auto;
    }

    .burger-panel.open {
        display: block;
    }

    .burger-two-columns {
        display: block;
    }

    .burger-left-col {
        width: 100%;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid #ddd;
    }

    .burger-right-col {
        width: 100%;
        display: grid;
        place-items: center;
    }

    .burger-right-col h3 {
        margin-bottom: 16px;
        font-size: 18px;
        /* text-align: center; */
        width: 100%;
        grid-column: 1 / -1;
    }

    .burger-right-col .category-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px 16px;
        width: fit-content;
    }

    .category-item {
        font-size: 11px;
        gap: 8px;
    }

    .category-item img {
        width: 54px;
        height: 54px;
    }

    #dynamicContent {
        grid-template-columns: repeat(1, 1fr);
    }

    .hide-collection {
        display: none;
    }
}

.hide-collection {
    height: auto;
}

.hide-collection img {
    max-width: 400px;
    max-height: 450px;
}

.hide-collection .collection-info,
.hide-collection .collection-link {
    /* color: #000; */
}

/* MODAL STYLES */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: #fff;
    padding: 40px;
    max-width: 500px;
    text-align: center;
    position: relative;
    border-radius: 0;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
}

.modal-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.modal-buttons a {
    padding: 10px 30px;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.modal-buttons a.btn-primary {
    background: #000;
    color: #fff;
}

.modal-buttons a.btn-primary:hover {
    background: #333;
    border-color: #333;
}

.modal-buttons a.btn-outline:hover {
    background: #f2f2f2;
}

.modal-content h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 14px;
}

.modal-content p {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

/* LOGIN MODAL STYLES */
.login-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ccc;
    font-size: 16px;
    margin-top: 24px;
    outline: none;
    text-align: center;
    letter-spacing: 1px;
}

.login-input:focus {
    border-color: #000;
}

.login-btn-primary {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.2s;
}

.login-btn-primary:hover {
    background: #333;
}

.login-back {
    background: none;
    border: none;
    color: #777;
    font-size: 13px;
    cursor: pointer;
    margin-top: 18px;
}

.login-back:hover {
    color: #000;
}

.bot-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.bot-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.bot-link i {
    width: 20px;
    height: 20px;
}

.bot-whatsapp:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

.bot-telegram:hover {
    background: #229ED9;
    color: #fff;
    border-color: #229ED9;
}

.bot-whatsapp i {
    color: #25D366;
}

.bot-telegram i {
    color: #229ED9;
}

.bot-whatsapp:hover i,
.bot-telegram:hover i {
    color: #fff;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #aaa;
    font-size: 12px;
    margin: 8px 0 4px;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eee;
}

.code-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 18px 0;
}

.code-inputs input {
    width: 52px;
    height: 60px;
    border: 1px solid #ccc;
    text-align: center;
    font-size: 26px;
    outline: none;
}

.code-inputs input:focus {
    border-color: #000;
}

/* CART DRAWER STYLES */
.cart-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2999;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -440px;
    width: 420px;
    max-width: 90%;
    height: 100%;
    background: #fff;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    transition: right 0.35s ease;
}

.cart-drawer.open {
    right: 0;
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid #eee;
}

.cart-drawer-header h3 {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

.cart-drawer-close {
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 12px 24px;
}

.cart-drawer-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-drawer-item-img {
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
    background: #f7f7f7;
}

.cart-drawer-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-drawer-item-info {
    flex: 1;
}

.cart-drawer-item-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-drawer-item-sku {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.cart-drawer-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-item-qty {
    font-size: 13px;
    color: #555;
}

.cart-drawer-item-price {
    font-weight: 600;
    font-size: 15px;
}

.cart-drawer-empty {
    text-align: center;
    color: #888;
    padding: 60px 0;
}

.cart-drawer-footer {
    border-top: 1px solid #eee;
    padding: 20px 24px 28px;
}

.cart-drawer-total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
}

.cart-drawer-buttons {
    display: flex;
    gap: 12px;
}

.cart-drawer-btn {
    flex: 1;
    padding: 14px;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
}

.cart-drawer-btn-outline {
    border: 1px solid #000;
    color: #000;
    background: #fff;
}

.cart-drawer-btn-outline:hover {
    background: #f2f2f2;
}

.cart-drawer-btn-primary {
    background: #000;
    color: #fff;
    border: 1px solid #000;
}

.cart-drawer-btn-primary:hover {
    background: #333;
}

@media (max-width: 480px) {
    .cart-drawer-buttons {
        flex-direction: column;
    }
}

/* VIDEO MODAL */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.video-modal iframe {
    width: 80%;
    height: 70%;
    max-width: 1000px;
}

.close-video {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
}

/* FOOTER */
footer {
    background: #f9f9f9;
    padding: 70px 80px 40px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

footer h4 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

footer ul {
    list-style: none;
    line-height: 2.2;
    color: #555;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.social-icons i {
    cursor: pointer;
    color: #333;
}

.subscribe-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    margin-top: 10px;
    font-size: 14px;
}

.footer-bottom {
    background: #000;
    color: #fff;
    padding: 20px 80px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
    margin-left: 30px;
}

.cat-slider .slick-prev:before,
.cat-slider .slick-next:before {
    font-size: 30px !important;
    color: #000 !important;
}

.cat-slider .slick-prev,
.cat-slider .slick-next {
    width: 40px !important;
    height: 40px !important;
    z-index: 100;
}

.cat-slider .slick-prev {
    left: 0 !important;
}

.cat-slider .slick-next {
    right: -30px !important;
}


.collection-block {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.burger-panel .collection-block {
    height: auto !important;
}

.collection-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.collection-info {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.collection-info h3 {
    font-size: 28px;
    font-weight: 300;
}

.collection-link {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #fff;
    font-size: 13px;
    letter-spacing: 1px;
}

.product-card img:not(.thumb) {
    width: 100%;
    max-height: 350px;
    height: auto;
    object-fit: contain;
    background: transparent;
    margin-bottom: 12px;
}

.accordion.mobile {
    display: none;
}


.accordion {
    /* margin-top: 40px; */
    border-top: 1px solid #eee;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-weight: 500;
    cursor: pointer;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #555;
    line-height: 1.5;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding-bottom: 20px;
}

@media (max-width: 1024px) {
    footer {
        grid-template-columns: repeat(2, 1fr);
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    footer {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }

    .footer-bottom a {
        margin: 0 10px;
    }

    .cat-slider .slick-next {
        right: 0px !important;
    }

    /* footer>div:not(:last-child, .mobile) {
        display: none;
    } */
     footer > div:not(.accordion):not(:last-child) {
        display: none;
    }

    .mobile {
        display: block;
    }

}