* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-main: #0B0B0B;
    --bg-secondary: #111111;
    --bg-card: #151515;
    --bg-input: #181818;
    --bg-drawer: #101010;
    --bg-drawer-footer: #0D0D0D;
    --accent: #B58A5A;
    --accent-hover: #C09A70;
    --accent-soft: rgba(181, 138, 90, 0.10);
    --accent-border: rgba(181, 138, 90, 0.25);
    --text-main: #E8E4DE;
    --text-secondary: #B8B3AB;
    --text-muted: #85817B;
    --border: rgba(255, 255, 255, 0.08);
    --track: #444444;
    --inactive: #303030;
    --black: #000000;
    --white: #FFFFFF;
}

body {
    font-family: "Montserrat", sans-serif;
}

.menu-page {
    position: relative;
    z-index: 2;
}

.menu-logo {
    width: 100%;
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-logo a {
    display: block;
}

.menu-logo img {
    width: 280px;
    height: auto;
    display: block;
    transition: opacity .3s ease, transform .3s ease;
}

.menu-logo img:hover {
    opacity: .8;
    transform: scale(1.03);
}

.close-icon {
    position:absolute;
    top:35px;
    left:50%;
    transform:translateX(-50%);
    width:45px;
    height:45px;
}

.close-icon span {
    position:absolute;
    width:35px;
    height:2px;
    background: #B58A5A;
    left:5px;
    top:22px;
    transition:.4s;
}

.close-icon span:first-child {
    transform:rotate(45deg);
}

.close-icon span:last-child {
    transform:rotate(-45deg);
}

.close-icon:hover span:first-child {
    transform: rotate(0) translateY(-7px);
    width:22px;
}

.close-icon:hover span:last-child {
    transform: rotate(0) translateY(7px);
    width:22px;
}

.contacts-header {
    height:217px;
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
    z-index:2;
    background: #000;
}

.contacts-header h1 {
    color: #B58A5A;
    font-size:56px;
    font-weight:300;
    letter-spacing:5px;
    margin-top: 20px;
}

.cart-notification {
    position:fixed;
    top:30px;
    left:50%;
    transform: translateX(-50%) translateY(-120px);
    background:#090909;
    border:1px solid #CA8E46;
    color:white;
    padding:18px 35px;
    min-width:320px;
    text-align:center;
    font-size:16px;
    letter-spacing:1px;
    z-index:5000;
    opacity:0;
    transition: .4s ease;
}

.cart-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity:1;
}

.notification-text {
    color:#CA8E46;
}

.shop-page {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    color: var(--text-main);
    padding: 80px 60px;
    display: flex;
    gap: 40px;
}

.shop-content {
    flex:1;
}

.parent-title {
    font-size: 40px;
    margin-bottom: 30px;
}

.parent-toggle {
    width:100%;
    height: 280px;
    background: rgba(255,255,255,0.03);
    border: none;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    cursor: pointer;
    font-size: 48px;
    transition: background 0.4s ease;
}

.subcategory-toggle {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 28px;
    padding: 18px 0;
    cursor: pointer;
}

.subcategory-line {
    width: 50px;
    height: 1px;
    background: var(--accent);
    display: block;
}

.subcategory-icon {
    margin-left: auto;
    font-size: 30px;
    transition: transform .3s ease;
}

.subcategory-toggle.active .subcategory-icon {
    transform: rotate(45deg);
}

.parent-toggle:hover {
    background: rgba(202,142,70,0.12);
}

.category-icon {
    font-size: 50px;
}

.subcategory-title {
    font-size: 25px;
    margin-bottom: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap:35px;
    padding:30px 0;
    max-height:0;
    overflow:hidden;
    opacity:0;
    transform:translateY(-20px);
    transition: max-height .7s ease, opacity .5s ease, transform .5s ease;
}

.products-grid.open {
    max-height:3000px;
    opacity:1;
    transform:translateY(0);
}

.product-image {
    width:100%;
    height:260px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.product-image img {
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}

.product-card {
    position:relative;
    min-height:420px;
    background: var(--bg-card);
    padding:30px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    cursor: pointer;
    opacity:0;
    transform:translateY(30px);
    transition: opacity .5s ease, transform .5s ease, background .4s ease;
}

.products-grid.open .product-card {
    opacity:1;
    transform:translateY(0);
}

.products-grid.open .product-card:nth-child(1){
    transition-delay:.05s;
}

.products-grid.open .product-card:nth-child(2){
    transition-delay:.1s;
}

.products-grid.open .product-card:nth-child(3){
    transition-delay:.15s;
}

.products-grid.open .product-card:nth-child(4){
    transition-delay:.2s;
}

.product-card:hover {
    background: var(--accent-soft);
    transform:translateY(-8px);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
}

.product-card button {
    background: none;
    border: 1px solid #CA8E46;
    color: #CA8E46;
    font-size: 25px;
}

.shop-filter {
    width:320px;
    position:sticky;
    top:40px;
    align-self:flex-start;
    padding:35px;
    border:1px solid var(--accent-border);
    background: var(--bg-secondary);
    border-radius:18px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    backdrop-filter:blur(18px);
}

.shop-filter label {
    display: block;
    margin-bottom: 10px;
}

.shop-filter h2 {
    font-size:32px;
    font-weight:300;
    margin-bottom:40px;
    var(--text-main)
}

.shop-filter h3 {
    font-size:20px;
    font-weight:400;
    margin: 30px 0 20px;
}

.shop-category {
    margin-bottom: 80px;
}

.subcategories {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.3s ease;
}

.subcategories.open {
    max-height: 3000px;
    opacity: 1;
}

.product-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 20px;
    margin-top: 25px;
}

.product-info h3 {
    color: var(--text-main);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.25;
    min-width: 0;
    overflow-wrap: break-word;
}

.product-info p {
    color: var(--accent);
    font-size: 20px;
    font-weight: 500;
    white-space: nowrap;
    text-align: right;
}

.product-open {
    position:absolute;
    right:25px;
    bottom:25px;
    width:45px;
    height:45px;
    border-radius:50%;
    background:none;
    border:1px solid #CA8E46;
    color:#CA8E46;
    font-size:28px;
    cursor:pointer;
    transition:.3s;
}

.product-open:hover {
    background:#CA8E46;
    color:#000;
}

.price-slider {
    position:relative;
    height:40px;
}

.range-container {
    position:relative;
    height:40px;
}

.slider-track {
    position:absolute;
    top:50%;
    left:0;
    right:0;
    height:5px;
    background:#555;
    transform:translateY(-50%);
    border-radius:10px;
    z-index:1;
}

.price-slider input[type="range"] {
    position:absolute;
    width:100%;
    top:50%;
    transform:translateY(-50%);
    pointer-events:none;
    appearance:none;
    background:none;
}

.price-slider input[type="range"]::-webkit-slider-thumb {
    appearance:none;
    width:20px;
    height:20px;
    background:#CA8E46;
    border-radius:50%;
    border:3px solid #000;
    cursor:pointer;
    pointer-events:auto;
    transition:.2s;
}

.price-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform:scale(1.15);
}

.price-slider input[type="range"] {
    z-index:2;
}

.filter-search input{
    width:100%;
    padding:15px 18px;
    border-radius:12px;
    border:1px solid rgba(202,142,70,.25);
    background:#131313;
    transition:.3s;
}

.filter-search input:focus{
    border-color: var(--accent);
    box-shadow:0 0 15px rgba(202,142,70,.15);
}

.filter-search input::placeholder {
    color: var(--text-muted);
}

.filter-categories input {
    appearance:none;
    width:16px;
    height:16px;
    border: 1px solid #CA8E46;
    cursor:pointer;
}

.filter-categories input:checked {
    background:#CA8E46;
}

.filter-categories label{
    display:flex;
    align-items:center;
    gap:14px;
    padding:9px 0;
    cursor:pointer;
}
.range-container {
    position:relative;
    width:100%;
    height:40px;
}

.range-container input {
    position:absolute;
    width:100%;
    pointer-events:none;
    appearance:none;
    background:none;
}

.range-container input::-webkit-slider-thumb {
    pointer-events:auto;
    appearance:none;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#CA8E46;
    cursor:pointer;
}

.filter-apply,
.filter-reset {
    width:100%;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top:20px;
    font-size:18px;
    font-weight:400;
    text-decoration:none;
    cursor:pointer;
    transition: background .3s ease, color .3s ease, border .3s ease;
    border-radius:12px;
}

.filter-apply:disabled {
    background:#555;
    border-color:#555;
    color:#999;
    cursor:not-allowed;
}

.filter-apply:disabled:hover {
    background:#555;
    color:#999;
}

.filter-apply {
    background:#CA8E46;
    border:1px solid #CA8E46;
    color:#000;
}

.filter-apply:hover {
    background:transparent;
    color:#CA8E46;
}

.filter-reset {
    border: 1px solid rgba(202,142,70,0.5);
    color:#CA8E46;
    background:transparent;

}

.filter-reset:hover {
    border-color:#CA8E46;
    background: rgba(202,142,70,0.1);
}

.product-drawer {
    position:fixed;
    top:0;
    right:0;
    width:600px;
    max-width:95vw;
    height:100vh;
    background: linear-gradient(180deg, #111 0%, #050505 100%);
    transform:translateX(100%);
    transition:transform .6s cubic-bezier(.4,0,.2,1);
    z-index:1000;
    display:flex;
    flex-direction:column;
    box-shadow: -20px 0 60px rgba(0,0,0,.7);
}

.product-drawer.open {
    transform:translateX(0);
}

.drawer-header {
    height:80px;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    padding:0 35px;
}

.drawer-close {
    background:none;
    border:none;
    color:#CA8E46;
    font-size:40px;
    cursor:pointer;
    opacity:.8;
    transition:.3s;
}

.drawer-close:hover {
    opacity:1;
    transform:rotate(90deg);
}

.drawer-content {
    flex:1;
    overflow-y:auto;
    padding:0 55px 50px;
    scrollbar-width:none;
}

.drawer-content::-webkit-scrollbar {
    display:none;
}

.drawer-title {
    color: var(--text-main);
    font-size:42px;
    font-weight:300;
    letter-spacing:1px;
    margin-bottom:15px;
}

.drawer-price {
    color: var(--accent);
    font-size:30px;
    font-weight:300;
    margin-bottom:40px;
}

.drawer-gallery {
    height:330px;
    margin-bottom:35px;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
}

.drawer-image {
    width:100%;
    height:100%;
    object-fit:contain;
}

.gallery-prev,
.gallery-next {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:none;
    border:none;
    color:#CA8E46;
    font-size:55px;
    cursor:pointer;
    opacity:.7;
    transition:.3s;
}

.gallery-prev:hover,
.gallery-next:hover {
    opacity:1;
}

.gallery-prev {
    left:0;
}

.gallery-next {
    right:0;
}

.drawer-section {
    margin-top:45px;
}

.drawer-section h3 {
    color: var(--accent);
    font-size:24px;
    font-weight:400;
    margin-bottom:20px;
    letter-spacing: .5px;
}

.drawer-section p {
    color: var(--text-secondary);
    font-size:15px;
    line-height:1.6;
}

.specification {
    margin-bottom:25px;
}

.specification-name {
    color:#ddd;
    margin-bottom:12px;
    font-size:17px;
}

.specification-bars {
    display:flex;
    gap:7px;
}

.specification-bars span {
    width:40px;
    height:6px;
    background: var(--inactive);
}

.specification-bars span.active {
    background: var(--accent);
}

.drawer-files {
    display:flex;
    flex-direction:column;
    gap:12px;
}

.drawer-files a {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 20px;
    background:rgba(202,142,70,0.05);
    border:1px solid rgba(202,142,70,0.25);
    color:#CA8E46;
    text-decoration:none;
    font-size:16px;
    transition: background .3s ease, border .3s ease, transform .3s ease;
}

.drawer-files a::after {
    content:"↓";
    font-size:20px;
    opacity:.8;
}

.drawer-files a:hover {
    background:rgba(202,142,70,0.15);
    border-color:#CA8E46;
    transform:translateX(5px);
}

.drawer-footer {
    height:100px;
    background:#080808;
    border-top:1px solid rgba(202,142,70,.25);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 45px;
}

.drawer-cart {
    background: var(--accent);
    color: var(--black);
    border:none;
    padding:16px 35px;
    font-size:17px;
    letter-spacing: .5px;
    cursor:pointer;
    transition:.3s;
}

.drawer-cart:hover {
    transform:translateY(-2px);
    opacity:.9;
}

.cart-widget {
    position:fixed;
    right:40px;
    bottom:40px;
    z-index:900;
}

.cart-button {
    width:65px;
    height:65px;
    border-radius:50%;
    background:#000;
    border:1px solid rgb(202,142,70);
    color:rgb(202,142,70);
    font-size:30px;
    cursor:pointer;
    position:relative;
    transition:.3s;
}

.cart-button:hover {
    transform:translateY(-5px);
}

.cart-count {
    position:absolute;
    top:-5px;
    right:-5px;
    width:25px;
    height:25px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#000;
    border:1px solid #CA8E46;
    color:#CA8E46;
    border-radius:50%;
    font-size:14px;
}

.mini-cart {
    position:absolute;
    right:0;
    bottom:75px;
    width:360px;
    background:#090909;
    border:1px solid rgba(202,142,70,.3);
    opacity:0;
    pointer-events:none;
    transform:translateY(20px);
    transition:.35s;
}

.mini-cart::after {
    content:"";
    position:absolute;
    bottom:-25px;
    left:0;
    width:100%;
    height:25px;
}

.cart-widget:hover .mini-cart {
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);
}

.mini-cart-header {
    padding:25px;
    border-bottom:1px solid rgba(202,142,70,.2);
}

.mini-cart-header h3 {
    color:#CA8E46;
    font-size:24px;
    font-weight:400;
    margin-bottom:15px;
}

.mini-cart-header a {
    color:#CA8E46;
    font-size:15px;
    text-decoration:none;
}

.mini-cart-items {
    max-height:300px;
    overflow-y:auto;
}

.mini-cart-item {
    padding:20px 25px;
    display:flex;
    justify-content:space-between;
    gap:20px;
    border-bottom:1px solid rgba(255,255,255,.05);
}

.mini-cart-item h4 {
    color:#CA8E46;
    font-size:16px;
    font-weight:400;
}

.mini-cart-item p {
    color:#aaa;
    font-size:14px;
    margin-top:8px;
}

.mini-cart-item span {
    color:white;
    white-space:nowrap;
}

.mini-cart-footer {
    padding:20px 25px;
    color:#CA8E46;
    font-size:20px;
}

.mini-cart-button {
    display:flex;
    align-items:center;
    justify-content:center;
    height:45px;
    margin-top:20px;
    border:1px solid rgb(202,142,70);
    color:rgb(202,142,70);
    text-decoration:none;
    transition:.3s;
}

.mini-cart-button:hover {
    background:rgb(202,142,70);
    color:#000;
}

.drawer-preparations {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.preparation-item {
    width: 70px;
    height: 70px;
    border: 1px solid #CA8E46;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px;
    transition: background .3s ease, transform .3s ease, border-color .3s ease;
}

.preparation-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: help;
    transition: transform .3s ease, opacity .3s ease;
}

.preparation-item:hover {
    background: rgba(202, 142, 70, .08);
    transform: translateY(-3px);
}

.preparation-item img:hover {
    transform: scale(1.05);
    opacity: .85;
}

@media (max-width: 1100px) {

    .shop-page {
        flex-direction: column;
        padding: 35px 25px;
        gap: 35px;
    }

    .shop-content {
        width: 100%;
        order: 1;
    }

    .shop-filter {
        width: 100%;
        position: relative;
        top: auto;
        order: 2;
        padding: 25px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px 0;
    }

    .parent-toggle {
        height: 200px;
        padding: 0 25px;
        font-size: 36px;
    }

    .category-icon {
        font-size: 40px;
    }

    .subcategory-toggle {
        font-size: 24px;
        padding: 12px 0;
    }

    .product-card {
        min-height: 330px;
        padding: 20px;
    }

    .product-image {
        height: 200px;
    }

    .product-info h3 {
        font-size: 20px;
        margin-top: 15px;
    }

    .product-info p {
        font-size: 17px;
    }

    .shop-category {
        margin-bottom: 45px;
    }

    .cart-widget {
        right: 25px;
        bottom: 25px;
    }

    .mini-cart {
        width: 320px;
    }


    /* DRAWER */

    .product-drawer {
        width: 620px;
        max-width: 90vw;
    }

    .drawer-header {
        height: 65px;
        padding: 0 25px;
    }

    .drawer-close {
        font-size: 34px;
    }

    .drawer-content {
        padding: 0 35px 30px;
    }

    .drawer-gallery {
        height: 270px;
        margin-bottom: 25px;
    }

    .drawer-title {
        font-size: 34px;
        margin-bottom: 10px;
    }

    .drawer-price {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .drawer-section {
        margin-top: 30px;
    }

    .drawer-section h3 {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .drawer-section p {
        font-size: 15px;
        line-height: 1.6;
    }

    .specification {
        margin-bottom: 18px;
    }

    .specification-name {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .drawer-files {
        gap: 8px;
    }

    .drawer-files a {
        padding: 12px 15px;
        font-size: 14px;
    }

    .drawer-preparations {
        gap: 25px;
    }

    .preparation-item {
        width: 65px;
        height: 65px;
    }

    .drawer-footer {
        height: 80px;
        padding: 0 30px;
    }

    .drawer-cart {
        padding: 13px 25px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {

    .shop-page {
        padding: 20px 15px;
        gap: 20px;
    }

    .menu-logo {
        height: 130px;
    }

    .menu-logo img {
        width: 150px;
    }

    .shop-category {
        margin-bottom: 25px;
    }

    .parent-toggle {
        height: 130px;
        padding: 0 18px;
        font-size: 27px;
    }

    .category-icon {
        font-size: 30px;
    }

    .subcategory-toggle {
        font-size: 19px;
        gap: 10px;
        padding: 9px 0;
    }

    .subcategory-line {
        width: 30px;
    }

    .subcategory-icon {
        font-size: 23px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 12px 0;
    }

    .product-card {
        min-height: 245px;
        padding: 12px;
    }

    .product-image {
        height: 140px;
    }

    .product-card img {
        height: 140px;
    }

    .product-info {
        gap: 10px;
        margin-top: 8px;
    }

    .product-info h3 {
        font-size: 15px;
        line-height: 1.2;
    }

    .product-info p {
        font-size: 14px;
    }

    .shop-filter {
        padding: 18px;
        border-radius: 12px;
    }

    .shop-filter h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .shop-filter h3 {
        font-size: 17px;
        margin: 20px 0 12px;
    }

    .filter-search input {
        padding: 11px 13px;
        font-size: 14px;
    }

    .filter-categories label {
        padding: 6px 0;
        font-size: 14px;
    }

    .filter-apply,
    .filter-reset {
        height: 42px;
        margin-top: 12px;
        font-size: 14px;
    }

    .cart-widget {
        right: 15px;
        bottom: 15px;
    }

    .cart-button {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .cart-count {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }

    .product-drawer {
        width: 100%;
        max-width: 100%;
    }

    .drawer-header {
        height: 55px;
        padding: 0 18px;
    }

    .drawer-close {
        font-size: 32px;
    }

    .drawer-content {
        padding: 0 22px 25px;
    }

    .drawer-gallery {
        height: 210px;
        margin-bottom: 18px;
    }

    .drawer-title {
        font-size: 28px;
        line-height: 1.15;
        margin-bottom: 6px;
    }

    .drawer-price {
        font-size: 21px;
        margin-bottom: 20px;
    }

    .drawer-section {
        margin-top: 25px;
    }

    .drawer-section h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .drawer-section p {
        font-size: 14px;
        line-height: 1.5;
    }

    .specification {
        margin-bottom: 14px;
    }

    .specification-name {
        font-size: 14px;
        margin-bottom: 7px;
    }

    .specification-bars {
        gap: 5px;
    }

    .specification-bars span {
        width: 30px;
        height: 5px;
    }

    .drawer-files {
        gap: 7px;
    }

    .drawer-files a {
        padding: 10px 12px;
        font-size: 13px;
    }

    .drawer-files a::after {
        font-size: 16px;
    }

    .drawer-preparations {
        gap: 20px;
    }

    .preparation-item {
        width: 58px;
        height: 58px;
    }

    .drawer-footer {
        height: 72px;
        padding: 0 20px;
        gap: 15px;
    }

    .drawer-price {
        white-space: nowrap;
    }

    .drawer-cart {
        padding: 11px 18px;
        font-size: 13px;
        white-space: nowrap;
    }

    .gallery-prev,
    .gallery-next {
        font-size: 40px;
    }
}

@media (max-width: 600px) {

    .shop-page {
        padding: 12px 10px;
        gap: 15px;
    }

    .menu-logo {
        height: 105px;
    }

    .menu-logo img {
        width: 125px;
    }

    .parent-toggle {
        height: 105px;
        padding: 0 14px;
        font-size: 22px;
    }

    .category-icon {
        font-size: 27px;
    }

    .subcategory-toggle {
        font-size: 16px;
        gap: 7px;
        padding: 7px 0;
    }

    .subcategory-line {
        width: 22px;
    }

    .subcategory-icon {
        font-size: 20px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 8px 0;
    }

    .product-card {
        min-height: 205px;
        padding: 8px;
    }

    .product-image {
        height: 110px;
    }

    .product-card img {
        height: 110px;
    }

    .product-info {
        gap: 7px;
        margin-top: 5px;
    }

    .product-info h3 {
        font-size: 12px;
        line-height: 1.2;
    }

    .product-info p {
        font-size: 12px;
    }

    .shop-category {
        margin-bottom: 20px;
    }

    .shop-filter {
        padding: 14px;
    }

    .shop-filter h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .shop-filter h3 {
        font-size: 15px;
        margin: 15px 0 8px;
    }

    .filter-search input {
        padding: 9px 11px;
        font-size: 13px;
    }

    .filter-categories label {
        padding: 4px 0;
        font-size: 12px;
    }

    .filter-categories input {
        width: 13px;
        height: 13px;
    }

    .filter-apply,
    .filter-reset {
        height: 38px;
        margin-top: 8px;
        font-size: 12px;
    }

    .mini-cart {
        position: fixed;
        right: 10px;
        left: 10px;
        bottom: 80px;
        width: auto;
        max-height: 70vh;
    }

    .mini-cart-header {
        padding: 14px;
    }

    .mini-cart-header h3 {
        font-size: 19px;
        margin-bottom: 10px;
    }

    .mini-cart-button {
        height: 38px;
        margin-top: 10px;
        font-size: 12px;
    }

    .mini-cart-item {
        padding: 12px 14px;
        gap: 10px;
    }

    .mini-cart-item h4 {
        font-size: 13px;
    }

    .mini-cart-item p {
        font-size: 11px;
        margin-top: 5px;
    }

    .mini-cart-footer {
        padding: 12px 14px;
        font-size: 16px;
    }

    .cart-widget {
        right: 10px;
        bottom: 10px;
    }

    .cart-button {
        width: 48px;
        height: 48px;
        font-size: 21px;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }

    .drawer-header {
        height: 48px;
        padding: 0 14px;
    }

    .drawer-close {
        font-size: 28px;
    }

    .drawer-content {
        padding: 0 15px 20px;
    }

    .drawer-gallery {
        height: 170px;
        margin-bottom: 14px;
    }

    .drawer-title {
        font-size: 23px;
        line-height: 1.1;
    }

    .drawer-price {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .drawer-section {
        margin-top: 20px;
    }

    .drawer-section h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .drawer-section p {
        font-size: 13px;
        line-height: 1.45;
    }

    .specification {
        margin-bottom: 11px;
    }

    .specification-name {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .specification-bars {
        gap: 4px;
    }

    .specification-bars span {
        width: 25px;
        height: 4px;
    }

    .drawer-preparations {
        gap: 15px;
    }

    .preparation-item {
        width: 50px;
        height: 50px;
    }

    .drawer-files {
        gap: 5px;
    }

    .drawer-files a {
        padding: 8px 10px;
        font-size: 12px;
    }

    .drawer-footer {
        height: 65px;
        padding: 0 14px;
        gap: 10px;
    }

    .drawer-price {
        font-size: 17px;
    }

    .drawer-cart {
        padding: 9px 13px;
        font-size: 12px;
    }

    .gallery-prev,
    .gallery-next {
        font-size: 32px;
    }
}

@media (max-width: 400px) {

    .shop-page {
        padding: 8px;
        gap: 10px;
    }

    .menu-logo {
        height: 90px;
    }

    .menu-logo img {
        width: 105px;
    }

    .parent-toggle {
        height: 90px;
        font-size: 19px;
        padding: 0 10px;
    }

    .category-icon {
        font-size: 23px;
    }

    .subcategory-toggle {
        font-size: 14px;
    }

    .products-grid {
        gap: 6px;
    }

    .product-card {
        min-height: 180px;
        padding: 6px;
    }

    .product-image {
        height: 90px;
    }

    .product-card img {
        height: 90px;
    }

    .product-info h3 {
        font-size: 11px;
    }

    .product-info p {
        font-size: 11px;
    }

    .shop-filter {
        padding: 10px;
    }

    .drawer-content {
        padding: 0 12px 15px;
    }

    .drawer-gallery {
        height: 145px;
    }

    .drawer-title {
        font-size: 20px;
    }

    .drawer-price {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .drawer-section {
        margin-top: 16px;
    }

    .drawer-section h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .drawer-section p {
        font-size: 12px;
        line-height: 1.4;
    }

    .specification {
        margin-bottom: 8px;
    }

    .specification-name {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .specification-bars {
        gap: 3px;
    }

    .specification-bars span {
        width: 22px;
        height: 4px;
    }

    .drawer-preparations {
        gap: 12px;
    }

    .preparation-item {
        width: 46px;
        height: 46px;
    }

    .drawer-footer {
        height: 60px;
        padding: 0 12px;
    }

    .drawer-cart {
        padding: 8px 11px;
        font-size: 11px;
    }

    .gallery-prev,
    .gallery-next {
        font-size: 28px;
    }
}

.shop-page * {
    font-family: "Montserrat", sans-serif !important;
}

.page-background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.page-background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 2s ease, transform 8s ease;
}

.page-background-image.active {
    opacity: 1;
    transform: scale(1.08);
}

.page-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}