﻿:root {
    --store-bg: #eef0f3;
    --store-bg-2: #f5f6f8;
    --store-surface: #ffffff;
    --store-surface-soft: #f7f8fa;
    --store-surface-dark: #e5e7eb;
    --store-text: #25282b;
    --store-text-soft: #6b7280;
    --store-line: #e5e7eb;
    --store-accent: #ae746d;
    --store-accent-hover: #98635d;
    --store-accent-soft: #c59690;
    --store-dark: #33373a;
    --store-danger: #bf1d24;
    --store-success: #2f7d4e;
    --store-shadow-sm: 0 8px 20px rgba(37, 40, 43, 0.05);
    --store-shadow-md: 0 14px 34px rgba(37, 40, 43, 0.07);
    --store-shadow-lg: 0 20px 48px rgba(37, 40, 43, 0.10);
    --store-radius-xs: 10px;
    --store-radius-sm: 14px;
    --store-radius-md: 18px;
    --store-radius-lg: 24px;
    --store-radius-xl: 30px;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--store-bg);
    color: var(--store-text);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    line-height: 1.45;
    min-width: 320px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

.form-control {
    height: 48px;
    border-radius: 999px;
    border: 1px solid var(--store-line);
    background: #fff;
    color: var(--store-text);
    padding: 0 16px;
    box-shadow: none !important;
}

textarea.form-control {
    min-height: 110px;
    height: auto;
    border-radius: var(--store-radius-md);
    padding: 14px 16px;
}

.form-control:focus {
    border-color: var(--store-accent);
}

.btn-outline-secondary,
.btn-outline-dark {
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
}

.btn-outline-secondary {
    border-color: var(--store-line);
    color: var(--store-text);
}

.btn-outline-dark {
    border-color: var(--store-dark);
    color: var(--store-dark);
}

/* =========================
   HEADER
========================= */

.store-header {
    position: relative;
    z-index: 1040;
    background: transparent;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.store-topbar {
    background: rgba(243, 244, 246, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.store-nav-wrap {
    position: relative;
    z-index: 1039;
    background: rgba(243, 244, 246, 0.96);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(174, 116, 109, 0.08);
    border-bottom: 1px solid rgba(174, 116, 109, 0.08);
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.store-header.is-sticky {
    padding-top: 60px;
}

    .store-header.is-sticky .store-nav-wrap {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        box-shadow: 0 10px 30px rgba(37, 40, 43, 0.08);
    }

.store-topbar-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.store-logo {
    min-width: 120px;
    font-size: 38px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--store-text);
}

.store-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

    .store-search input {
        height: 50px;
        border-radius: 999px;
        padding: 0 18px;
        border: 1px solid var(--store-line);
        background: rgba(255,255,255,0.9);
        color: var(--store-text);
    }

        .store-search input::placeholder {
            color: #9ca3af;
        }

.store-search-btn {
    width: 50px;
    min-width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--store-accent) 0%, var(--store-accent-hover) 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(174, 116, 109, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .store-search-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 24px rgba(174, 116, 109, 0.28);
    }

.store-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.store-profile-link {
    height: 46px;
    padding: 0 18px;
    border: 1px solid var(--store-line);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.9);
    color: var(--store-text);
    font-weight: 600;
    transition: transform 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

    .store-profile-link:hover {
        transform: translateY(-1px);
        border-color: var(--store-accent-soft);
    }

.store-profile-link-sm {
    height: 42px;
    padding: 0 14px;
    font-size: 14px;
}

.store-icon-btn,
.store-burger,
.store-icon-mini,
.store-lang-btn {
    position: relative;
    border: 0;
    cursor: pointer;
    color: #2f3437;
}

    .store-icon-btn i,
    .store-burger i,
    .store-icon-mini i,
    .store-search-btn i,
    .store-lang-btn i,
    .store-footer-contact-icon i {
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .store-icon-mini.active,
    .store-icon-btn.active {
        color: #111827;
    }

        .store-icon-mini.active i,
        .store-icon-btn.active i {
            color: #111827;
        }

.store-icon-btn,
.store-burger,
.store-lang-btn {
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--store-line);
    box-shadow: var(--store-shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

    .store-icon-btn:hover,
    .store-burger:hover,
    .store-lang-btn:hover {
        transform: translateY(-1px);
        border-color: var(--store-accent-soft);
        box-shadow: var(--store-shadow-md);
    }

.store-icon-btn {
    width: 46px;
    height: 46px;
    font-size: 20px;
    border-radius: 50%;
}

.store-icon-btn-sm {
    width: 42px;
    height: 42px;
    font-size: 18px;
}

.store-burger {
    width: 46px;
    height: 46px;
    font-size: 22px;
    border-radius: 50%;
}

.store-icon-mini {
    width: 36px;
    height: 36px;
    font-size: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--store-shadow-sm);
}

.store-badge {
    position: absolute;
    top: -4px;
    right: -2px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--store-danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(191, 29, 36, 0.24);
}

.store-nav {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.store-categories-dropdown {
    position: relative;
}

.store-categories-btn {
    height: 44px;
    padding: 0 18px;
    border: 1px solid var(--store-line);
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    font-weight: 700;
    color: var(--store-text);
    transition: border-color 0.2s ease;
}

    .store-categories-btn:hover {
        border-color: var(--store-accent-soft);
    }

.store-categories-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 320px;
    max-height: 440px;
    overflow: auto;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--store-line);
    border-radius: 22px;
    box-shadow: var(--store-shadow-lg);
    padding: 10px 0;
    display: none;
    z-index: 40;
}

    .store-categories-menu.open {
        display: block;
    }

.store-categories-item {
    display: block;
    padding: 12px 18px;
    color: var(--store-text);
    transition: background 0.2s ease, color 0.2s ease;
}

    .store-categories-item:hover {
        background: var(--store-surface-soft);
        color: var(--store-accent-hover);
    }

.store-main-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
}

    .store-main-menu a {
        color: var(--store-text);
        font-weight: 500;
        transition: color 0.2s ease;
    }

        .store-main-menu a:hover {
            color: var(--store-accent-hover);
        }

.store-nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    margin-left: auto;
}

.store-lang-dropdown {
    position: relative;
}

.store-lang-btn {
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--store-text);
}

.store-lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 170px;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--store-line);
    border-radius: 18px;
    box-shadow: var(--store-shadow-lg);
    padding: 8px;
    display: none;
    z-index: 50;
}

    .store-lang-menu.open {
        display: block;
    }

.store-lang-item {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--store-text);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

    .store-lang-item:hover,
    .store-lang-item.active {
        background: var(--store-surface-soft);
        color: var(--store-accent-hover);
    }

.store-sticky-actions {
    display: none;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.store-header.is-sticky .store-sticky-actions {
    display: flex;
}

.store-header.is-sticky .store-actions {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.store-mobile-menu {
    display: none;
    background: rgba(255,255,255,0.98);
    border-top: 1px solid rgba(174, 116, 109, 0.08);
    box-shadow: 0 14px 34px rgba(37, 40, 43, 0.07);
}

    .store-mobile-menu.open {
        display: block;
    }

.store-mobile-menu-inner {
    padding: 18px 15px 24px 15px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.store-mobile-search {
    display: none;
}

.store-mobile-title,
.store-mobile-block-title {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--store-text);
}

.store-mobile-block {
    margin-bottom: 18px;
}

.store-mobile-link {
    display: block;
    padding: 11px 0;
    color: var(--store-text);
    border-bottom: 1px solid var(--store-line);
}

/* =========================
   PAGE
========================= */

.store-page-section {
    padding: 36px 0 60px 0;
}

.store-page-head {
    margin-bottom: 28px;
    text-align: center;
}

.store-page-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(174, 116, 109, 0.12);
    color: var(--store-accent-hover);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
}

.store-page-title {
    font-size: 48px;
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -1.4px;
    margin-bottom: 12px;
    color: var(--store-text);
}

.store-page-subtitle {
    color: var(--store-text-soft);
    font-size: 18px;
    max-width: 860px;
    margin: 0 auto;
}

.store-page-content {
    background: rgba(255,255,255,0.94);
    border-radius: var(--store-radius-xl);
    padding: 30px;
    box-shadow: var(--store-shadow-md);
    border: 1px solid rgba(229, 231, 235, 0.9);
}

.store-section {
    margin-bottom: 64px;
}

.store-section-head {
    text-align: center;
    margin-bottom: 28px;
}

.store-section-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.store-section-subtitle {
    color: var(--store-text-soft);
}

/* =========================
   FOOTER
========================= */

.store-footer {
    margin-top: 70px;
    background: linear-gradient(180deg, #2f3437 0%, #25282b 100%);
    color: #fff;
    padding: 56px 0 22px 0;
}

.store-footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1fr;
    gap: 40px;
    align-items: start;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.store-footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-width: 0;
}

.store-footer-logo-wrap {
    display: inline-flex;
    flex-shrink: 0;
}

.store-footer-logo-img {
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

.store-footer-brand-content {
    min-width: 0;
    padding-top: 4px;
}

.store-footer-brand-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #fff;
}

.store-footer-brand-text {
    max-width: 420px;
    color: rgba(255,255,255,0.74);
    font-size: 15px;
    line-height: 1.65;
}

.store-footer-column {
    min-width: 0;
}

.store-footer-title {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 14px;
    color: #fff;
}

.store-footer-links,
.store-footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-footer-link,
.store-footer-contact {
    color: rgba(255,255,255,0.78);
    font-size: 15px;
    line-height: 1.55;
    transition: color 0.2s ease, transform 0.2s ease;
}

    .store-footer-link:hover,
    .store-footer-contact:hover {
        color: #fff;
        transform: translateX(2px);
        text-decoration: none;
    }

.store-footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.store-footer-contact-icon {
    width: 18px;
    min-width: 18px;
    margin-top: 2px;
    display: inline-flex;
    justify-content: center;
    color: rgba(255,255,255,0.92);
}

.store-footer-bottom {
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.store-footer-copy {
    color: rgba(255,255,255,0.56);
    font-size: 13px;
}

.store-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.store-footer-bottom-link {
    color: rgba(255,255,255,0.62);
    font-size: 13px;
    transition: color 0.2s ease;
}

    .store-footer-bottom-link:hover {
        color: #fff;
        text-decoration: none;
    }

/* =========================
   DRAWERS
========================= */

.store-scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--store-text);
    box-shadow: 0 12px 26px rgba(37, 40, 43, 0.16);
    display: none;
    z-index: 1050;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

    .store-scroll-top i {
        line-height: 1;
    }

    .store-scroll-top.show {
        display: block;
    }

.store-drawer {
    position: fixed;
    inset: 0;
    background: rgba(30, 33, 35, 0.42);
    display: none;
    justify-content: flex-end;
    z-index: 2000;
}

    .store-drawer.open {
        display: flex;
    }

.store-drawer-content {
    width: 430px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 34px rgba(0,0,0,0.12);
}

.store-drawer-header,
.store-drawer-footer {
    padding: 16px;
    border-bottom: 1px solid var(--store-line);
}

.store-drawer-footer {
    border-top: 1px solid var(--store-line);
    border-bottom: 0;
    margin-top: auto;
}

.store-drawer-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--store-text);
}

.store-drawer-close {
    border: 0;
    background: transparent;
    font-size: 28px;
    margin-left: auto;
    color: var(--store-text);
}

.store-drawer-header {
    display: flex;
    align-items: center;
}

.store-drawer-body {
    padding: 16px;
    overflow: auto;
}

.store-drawer-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--store-line);
}

.store-drawer-item-img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    background: var(--store-surface-soft);
    border-radius: 14px;
}

.store-drawer-item-name {
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--store-text);
}

.store-drawer-item-price {
    color: var(--store-accent-hover);
    font-weight: 800;
}

.store-drawer-item-remove {
    border: 0;
    background: transparent;
    color: var(--store-text-soft);
    margin-top: 8px;
    padding: 0;
}

.store-qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--store-line);
    border-radius: 999px;
    background: #fff;
    color: var(--store-text);
    font-weight: 700;
}

.store-qty-value {
    min-width: 20px;
    text-align: center;
    font-weight: 700;
}

/* =========================
   UTIL
========================= */

.store-empty-box {
    background: rgba(255,255,255,0.96);
    padding: 28px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--store-shadow-md);
    color: var(--store-text-soft);
    border: 1px solid rgba(229, 231, 235, 0.9);
}

/* =========================
   TABLET
========================= */

@media (max-width: 1199.98px) {
    .store-footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .store-footer-brand {
        flex-direction: column;
        gap: 16px;
    }

    .store-footer-logo-img {
        max-width: 130px;
    }
}

@media (max-width: 991.98px) {
    .store-topbar-inner {
        min-height: 74px;
    }

    .store-page-title,
    .store-section-title {
        font-size: 36px;
    }

    .store-mobile-search {
        display: block;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767.98px) {
    .store-nav-wrap {
        display: none;
    }

    .store-header {
        position: sticky;
        top: 0;
        z-index: 1040;
        background: rgba(243, 244, 246, 0.96);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(174, 116, 109, 0.08);
    }

        .store-header.is-sticky {
            padding-top: 0;
            box-shadow: 0 10px 30px rgba(37, 40, 43, 0.08);
        }

            .store-header.is-sticky .store-nav-wrap {
                position: relative;
                top: auto;
                left: auto;
                width: auto;
                box-shadow: none;
            }

            .store-header.is-sticky .store-actions {
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
            }

    .store-sticky-actions,
    .store-lang-dropdown {
        display: none !important;
    }

    .store-page-section {
        padding: 24px 0 42px 0;
    }

    .store-page-title,
    .store-section-title {
        font-size: 30px;
    }

    .store-page-subtitle {
        font-size: 15px;
    }

    .store-topbar-inner {
        min-height: 68px;
        gap: 12px;
    }

    .store-logo {
        min-width: auto;
        font-size: 22px;
        letter-spacing: -0.8px;
    }

    .store-actions {
        gap: 8px;
    }

    .store-profile-link {
        display: none !important;
    }

    .store-icon-btn,
    .store-burger {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .store-search.d-none.d-lg-flex {
        display: none !important;
    }

    .store-page-head {
        margin-bottom: 22px;
    }

    .store-footer {
        padding: 34px 0 18px 0;
        margin-top: 46px;
    }

    .store-footer-inner {
        gap: 22px;
        padding-bottom: 20px;
    }

    .store-footer-brand-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .store-footer-brand-text,
    .store-footer-link,
    .store-footer-contact {
        font-size: 14px;
    }

    .store-footer-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .store-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .store-footer-bottom-links {
        gap: 12px;
    }

    .store-footer-copy,
    .store-footer-bottom-link {
        font-size: 12px;
    }

    .store-page-content {
        padding: 18px;
        border-radius: 20px;
    }

    .store-empty-box {
        padding: 20px;
        border-radius: 20px;
    }

    .store-scroll-top {
        right: 14px;
        bottom: 14px;
        width: 46px;
        height: 46px;
    }
}
/* =========================
   VERY SMALL MOBILE
========================= */

@media (max-width: 420px) {
    .store-logo {
        font-size: 20px;
    }

    .store-icon-btn,
    .store-burger {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/* =========================
   PAGINATION
========================= */

.store-catalog-more {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.store-btn-red-outline {
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--store-accent);
    background: #fff;
    color: var(--store-accent-hover);
    font-weight: 700;
    transition: 0.2s ease;
}

    .store-btn-red-outline:hover {
        text-decoration: none;
        background: var(--store-accent);
        color: #fff;
    }