/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #d4b5c0;
    --color-secondary: #a8a8a8;
    --color-accent: #d4a574;
    --color-bg: #ffffff;
    --color-bg-light: #faf8f9;
    --color-border: #e8dde3;
    --color-text: #5a4a52;
    --color-text-light: #8b7a82;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-bg);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 248, 249, 0.98) 100%);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(212, 181, 192, 0.08);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--color-primary) 0%,
        var(--color-accent) 50%,
        var(--color-primary) 100%);
    opacity: 0.6;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    position: relative;
    gap: 8px;
    min-width: 0;
    width: 100%;
}

.header__logo {
    position: relative;
    background: rgba(255, 255, 255, 0.6);
    padding: 6px 14px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(212, 181, 192, 0.1);
    flex-shrink: 0;
    flex-grow: 0;
    white-space: nowrap;
}

.header__logo a {
    text-decoration: none;
    display: inline-block;
}

.header__logo .logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    transition: var(--transition);
    white-space: nowrap;
}

.header__logo:hover .logo-text {
    transform: translateY(-1px);
}

.header__logo .logo-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    opacity: 0.4;
    border-radius: 2px;
}

.header__nav {
    display: flex;
    gap: 2px;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    padding: 6px 10px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(212, 181, 192, 0.1);
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: visible;
    position: relative;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    transition: var(--transition);
    position: relative;
    padding: 6px 12px;
    border-radius: 25px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 25px;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.nav-link:hover {
    color: white;
    transform: translateY(-1px);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link.active {
    color: white;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    box-shadow: 0 4px 12px rgba(212, 181, 192, 0.3);
}

.nav-link.active::after {
    display: none;
}

.nav-link--sale {
    color: #c62828 !important;
    font-weight: 600;
}

.nav-link--sale::before {
    background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%) !important;
}

.nav-link--sale:hover {
    color: white !important;
}

.nav-link--sale:hover::before {
    opacity: 1;
}

.nav-link--sale.active {
    color: white !important;
    background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%) !important;
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.35);
}

.nav-link--sale.active::after {
    display: none;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    z-index: 100;
}

.nav-link--dropdown {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
    background: none !important;
    border: none !important;
    font-family: var(--font-primary) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--color-text) !important;
    text-decoration: none !important;
    padding: 6px 12px !important;
    border-radius: 25px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
}

.nav-link--dropdown:hover {
    color: white !important;
}

.nav-link--dropdown::before {
    z-index: -1;
}

.nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(212, 181, 192, 0.2);
    min-width: 250px;
    padding: 8px 0;
    display: none !important;
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown.active .nav-dropdown__menu {
    display: block !important;
}

/* Категорія на ПК: явно показувати меню при hover і при .active */
.nav-dropdown--category:hover .nav-dropdown__menu--category,
.nav-dropdown--category.active .nav-dropdown__menu--category {
    display: block !important;
}

.nav-dropdown__link {
    display: block;
    padding: 12px 20px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-dropdown__link:hover,
.nav-dropdown__link.active {
    background: rgba(212, 181, 192, 0.1);
    color: var(--color-primary);
}

/* Категорії з випадайкою на ПК */
.nav-link--dropdown-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    padding-right: 10px;
}

.nav-dropdown__chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.nav-dropdown--category:hover .nav-dropdown__chevron {
    transform: rotate(90deg);
}

.nav-dropdown__menu--category {
    left: 0;
    right: auto;
    min-width: 220px;
}

.nav-dropdown__item--has-sub {
    position: relative;
}

.nav-dropdown__item--has-sub .nav-dropdown__link {
    padding-right: 28px;
}

.nav-dropdown__sub-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--color-text-light);
    pointer-events: none;
}

.nav-dropdown__submenu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(212, 181, 192, 0.2);
    padding: 8px 0;
    display: none !important;
    z-index: 1002;
    margin-left: 4px;
    border: 1px solid rgba(212, 181, 192, 0.15);
}

.nav-dropdown__item--has-sub:hover .nav-dropdown__submenu {
    display: block !important;
}

.nav-dropdown__link--sub {
    padding: 10px 20px;
    font-size: 13px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    z-index: 101;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(212, 181, 192, 0.1);
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--color-text);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.mobile-menu.active .mobile-menu__overlay {
    opacity: 1;
}

.mobile-menu__nav {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 248, 249, 0.98) 100%);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    overflow-y: auto;
    z-index: 2;
    box-shadow: 2px 0 20px rgba(212, 181, 192, 0.2);
}

.mobile-menu__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 16px;
}

.mobile-menu__section {
    padding: 0 0 16px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 16px;
}

.mobile-menu__section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.mobile-menu__category {
    position: relative;
}

.mobile-menu__category-row {
    position: relative;
    display: flex;
    align-items: center;
}

.mobile-menu__category-row .mobile-menu__link {
    flex: 1;
    padding-right: 40px;
    min-width: 0;
}

.mobile-menu__toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 1;
}

.mobile-menu__toggle:hover {
    color: var(--color-primary);
}

.mobile-menu__category.active .mobile-menu__toggle {
    transform: translateY(-50%) rotate(90deg);
}

.mobile-menu__submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* Тільки прямий дочірній submenu (рівень 2), не level3 */
.mobile-menu__category.active > .mobile-menu__submenu {
    max-height: 1000px;
}

/* Підкатегорії другого рівня (випадайка з третього рівня) */
.mobile-menu__subcategory-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.mobile-menu__subcategory-wrap .mobile-menu__link {
    flex: 1;
    padding-right: 44px;
    min-width: 0;
}

.mobile-menu__toggle--sub {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-menu__toggle--sub:hover {
    color: var(--color-primary);
}

li.mobile-menu__category--has-sub .mobile-menu__submenu--level3 {
    list-style: none;
    padding: 0 0 0 20px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

li.mobile-menu__category--has-sub.active .mobile-menu__submenu--level3 {
    max-height: 1000px;
}

li.mobile-menu__category--has-sub.active .mobile-menu__toggle--sub {
    transform: translateY(-50%) rotate(90deg);
}

.mobile-menu__link--sub3 {
    font-size: 14px;
    padding: 10px 20px;
}

.mobile-menu__link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 0;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.mobile-menu__link--sub {
    padding-left: 40px;
    font-size: 14px;
    font-weight: 400;
}

.mobile-menu__link--icon {
    padding: 12px 20px;
}

.mobile-menu__link--icon svg {
    flex-shrink: 0;
}

.mobile-menu__link--button {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    margin: 8px 20px;
    padding: 14px 20px;
    font-weight: 600;
    cursor: pointer;
    width: calc(100% - 40px);
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu__link--button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 181, 192, 0.3);
}

.mobile-menu__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 0;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.mobile-menu__link:hover {
    background: rgba(212, 181, 192, 0.1);
    color: var(--color-text);
}

.mobile-menu__link.active {
    color: var(--color-text);
    background: rgba(212, 181, 192, 0.15);
    font-weight: 600;
}

.mobile-menu__link:hover::before,
.mobile-menu__link.active::before {
    opacity: 0;
}

.mobile-menu__link--sale {
    color: #c62828 !important;
    font-weight: 600;
}

.mobile-menu__link--sale:hover {
    background: rgba(198, 40, 40, 0.1) !important;
    color: #b71c1c !important;
}

.mobile-menu__link--sale.active {
    background: rgba(198, 40, 40, 0.15) !important;
    color: #c62828 !important;
}

.mobile-menu__link--sale.active::before {
    opacity: 0;
}

.mobile-menu__social-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 20px 12px;
    margin-bottom: 12px;
}

.mobile-menu__social {
    display: flex;
    gap: 16px;
    padding: 0 20px;
}

.mobile-menu__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 181, 192, 0.1);
    color: var(--color-text);
    transition: var(--transition);
}

.mobile-menu__social-link:hover {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
    transform: translateY(-2px);
}

.header__actions {
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    padding: 8px 12px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(212, 181, 192, 0.1);
    flex-shrink: 0;
    flex-grow: 0;
    white-space: nowrap;
}

.header__action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 16px;
    color: var(--color-text);
    position: relative;
    transition: var(--transition);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.header__action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(212, 181, 192, 0.15);
    border-radius: 25px;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.header__action-btn:hover {
    color: var(--color-text);
    transform: translateY(-1px);
}

.header__action-btn:hover::before {
    opacity: 1;
}

.header__action-btn svg {
    transition: var(--transition);
}

.header__action-btn:hover svg {
    transform: scale(1.1);
}

.cart-count,
.favorites-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
    border: 2px solid white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
    text-align: center;
}

.btn-primary {
    background: var(--color-primary);
    color: #5a4a52;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
}

/* Повноекранний лоадер */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.page-loader--active {
    opacity: 1;
    visibility: visible;
}

.page-loader__spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: page-loader-spin 0.8s linear infinite;
}

@keyframes page-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider__container {
    position: relative;
    width: 100%;
    height: auto;
    padding: 20px 0;
}

.hero-slider__wrapper {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 1200px) {
    .hero-slider__wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 360px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-slide.active {
    display: flex;
}

.hero-slide__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.hero-slide__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .hero-slide__image {
        background: var(--color-bg-light);
    }

    .hero-slide__image img {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100%;
    }
}

.hero-slide__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.hero-slide__content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.hero-slide__text {
    text-align: center;
    max-width: 700px;
    padding: 40px 20px;
    color: var(--color-text);
    width: 100%;
}

.hero-slide__title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--color-text);
}

.hero-slide__subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-slider__controls {
    position: static;
    transform: none;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    justify-content: center;
    margin-top: 12px;
}

.hero-slider__prev,
.hero-slider__next {
    background: #fff;
    border: 1px solid rgba(90, 74, 82, 0.15);
    cursor: pointer;
    padding: 8px;
    color: var(--color-text);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    width: 36px;
    height: 36px;
}

.hero-slider__prev:hover,
.hero-slider__next:hover {
    color: var(--color-accent);
    border-color: rgba(212, 165, 116, 0.5);
    box-shadow: 0 6px 16px rgba(212, 165, 116, 0.25);
}

.hero-slider__dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.hero-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(212, 181, 192, 0.4);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero-slider__dot.active {
    background: var(--color-accent);
    width: 12px;
    height: 12px;
}

@media (max-width: 1145px) {
    .header__nav {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-slider__container {
        padding: 6px 0 2px;
    }

    .hero-slider__wrapper {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hero-slide {
        height: 260px;
        border-radius: 14px;
    }

    .hero-slider__controls {
        margin-top: 6px;
    }

    .hero-slide__content {
        padding: 15px;
        align-items: flex-end;
        padding-bottom: 80px;
    }

    .hero-slide__text {
        padding: 20px 16px;
        max-width: 100%;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 12px;
        backdrop-filter: blur(10px);
    }

    .hero-slide__title {
        font-size: 24px;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .hero-slide__subtitle {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .hero-slide__text .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero-slider__controls {
        bottom: 15px;
        padding: 8px 12px;
        gap: 12px;
        border-radius: 30px;
    }

    .hero-slider__prev,
    .hero-slider__next {
        padding: 6px;
    }

    .hero-slider__prev svg,
    .hero-slider__next svg {
    width: 18px;
    height: 18px;
    }

    .hero-slider__dot {
        width: 8px;
        height: 8px;
    }

    .hero-slider__dot.active {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero-slider__container {
        height: 45vh;
        min-height: 280px;
        max-height: 400px;
    }
    
    .hero-slide__image {
        width: 100%;
        height: 100%;
    }
    
    .hero-slide__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .hero-slide__text {
        padding: 16px 12px;
    }

    .hero-slide__title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .hero-slide__subtitle {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .hero-slide__text .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .hero-slider__controls {
        bottom: 10px;
        padding: 6px 10px;
        gap: 10px;
    }

    .hero-slider__prev svg,
    .hero-slider__next svg {
        width: 18px;
        height: 18px;
    }

    .hero-slider__dot {
        width: 6px;
        height: 6px;
    }

    .hero-slider__dot.active {
        width: 8px;
        height: 8px;
    }
}

/* Section Title */
.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

/* Categories Grid */
.categories {
    padding: 80px 0;
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .categories__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .category-card__title {
        font-size: 16px;
    }
    
    .categories {
        padding: 24px 0 40px;
    }
}

.category-card {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card__image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--color-bg-light);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.category-card__title {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

/* Products Grid */
.products {
    padding: 80px 0;
    background: var(--color-bg-light);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card-wrapper {
    position: relative;
}

.product-card {
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 181, 192, 0.2);
}

.product-card__image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--color-bg-light);
    overflow: hidden;
    position: relative;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.product-card__info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card__brand {
    font-size: 12px;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-card__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-card__price {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin-top: auto;
}

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e74c3c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-card__badge--ticker {
    padding: 0;
    width: 140px;
    height: 24px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.product-card__badge-track {
    display: inline-flex;
    white-space: nowrap;
    gap: 14px;
    padding: 0 10px;
    animation: productBadgeTicker 6s linear infinite;
}

.product-card__badge-text {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

@keyframes productBadgeTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.product-card__price .price-new {
    color: var(--color-accent);
}

.product-card__price .price-old {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-light);
    text-decoration: line-through;
    margin-left: 8px;
}

.product-card__variations {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.variation-badge {
    font-size: 11px;
    padding: 4px 8px;
    background: var(--color-bg-light);
    border-radius: 4px;
    color: var(--color-text-light);
}

.product-card__favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(212, 181, 192, 0.2);
    color: var(--color-text-light);
}

.product-card__favorite:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(212, 181, 192, 0.3);
}

.product-card__favorite.active {
    color: #e74c3c;
}

.product-card__favorite.active svg {
    fill: #e74c3c;
    stroke: #e74c3c;
}

.product-card__favorite svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

/* Shop Page */
.shop-page {
    padding: 40px 0;
}

.shop-page__inner {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

/* Sidebar */
.shop-sidebar {
    background: var(--color-bg-light);
    padding: 30px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.shop-sidebar__section {
    margin-bottom: 40px;
}

.shop-sidebar__section:last-child {
    margin-bottom: 0;
}

.shop-sidebar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.shop-sidebar__title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.shop-sidebar__clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--color-text-secondary);
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    flex-shrink: 0;
}

.shop-sidebar__clear:hover {
    background: rgba(212, 165, 116, 0.1);
    color: var(--color-accent);
}

.shop-sidebar__list {
    list-style: none;
}

.shop-sidebar__list li {
    margin-bottom: 12px;
}

.shop-sidebar__category-item {
    margin-bottom: 8px;
}

.shop-sidebar__category-header {
    position: relative;
    display: flex;
    align-items: center;
}

.shop-sidebar__category-item.expanded .shop-sidebar__toggle svg {
    transform: rotate(90deg);
}

.shop-sidebar__link {
    display: block;
    padding: 8px 12px;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    font-size: 14px;
    flex: 1;
}

.shop-sidebar__link:hover {
    background: rgba(212, 165, 116, 0.1);
    color: var(--color-accent);
}

.shop-sidebar__link.active {
    background: var(--color-accent);
    color: white;
    font-weight: 600;
}

.shop-sidebar__link--sale {
    color: #c62828;
    font-weight: 600;
}

.shop-sidebar__link--sale:hover {
    background: rgba(198, 40, 40, 0.1);
    color: #b71c1c;
}

.shop-sidebar__link--sale.active {
    background: #c62828;
    color: white;
}

.shop-sidebar__toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 4px;
}

.shop-sidebar__toggle:hover {
    color: var(--color-accent);
}

.shop-sidebar__toggle svg {
    transition: transform 0.2s ease;
}

.shop-sidebar__sublist {
    list-style: none;
    margin-top: 8px;
    margin-left: 20px;
    display: none;
    padding-left: 0;
}

/* Тільки прямий sublist (рівень 2), не level3 */
.shop-sidebar__category-item.expanded > .shop-sidebar__sublist {
    display: block;
}

/* Підкатегорії другого рівня з випадайкою (рівень 3) */
.shop-sidebar__category-item--sub {
    margin-left: 0;
}

.shop-sidebar__category-header--sub {
    display: flex;
    align-items: center;
    position: relative;
}

.shop-sidebar__category-header--sub .shop-sidebar__link {
    flex: 1;
    padding-right: 32px;
    min-width: 0;
}

.shop-sidebar__toggle--sub {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    min-width: 28px;
    min-height: 28px;
    padding: 4px;
}

.shop-sidebar__category-item--sub.expanded .shop-sidebar__toggle--sub svg {
    transform: rotate(90deg);
}

.shop-sidebar__sublist--level3 {
    list-style: none;
    margin-top: 4px;
    margin-left: 16px;
    padding-left: 0;
    display: none;
}

.shop-sidebar__category-item--sub.expanded .shop-sidebar__sublist--level3 {
    display: block;
}

.shop-sidebar__link--sub3 {
    padding: 4px 12px;
    font-size: 12px;
    color: var(--color-text-secondary);
}

.shop-sidebar__link--sub3:hover,
.shop-sidebar__link--sub3.active {
    color: var(--color-accent);
}

.shop-sidebar__link--sub3.active {
    font-weight: 600;
    background: rgba(212, 165, 116, 0.1);
}

.shop-sidebar__link--sub {
    padding: 6px 12px;
    font-size: 13px;
    color: var(--color-text-secondary);
}

.shop-sidebar__link--sub:hover {
    color: var(--color-accent);
}

.shop-sidebar__link--sub.active {
    color: var(--color-accent);
    font-weight: 600;
    background: rgba(212, 165, 116, 0.1);
}


.shop-sidebar__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.shop-sidebar__checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Price Filter */
.price-filter {
    margin-top: 20px;
}

#price-slider {
    margin: 20px 0;
    height: 4px;
}

.price-filter__values {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    margin: 15px 0;
}

.price-filter form {
    margin-top: 20px;
}

.price-filter__button {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* noUiSlider Custom Styles */
.noUi-target {
    background: var(--color-border);
    border: none;
    box-shadow: none;
}

.noUi-connect {
    background: var(--color-accent);
}

.noUi-handle {
    width: 18px !important;
    height: 18px !important;
    right: -9px !important;
    top: -7px !important;
    border: 2px solid var(--color-accent);
    background: white;
    box-shadow: 0 2px 4px rgba(212, 181, 192, 0.2);
    border-radius: 50%;
}

.noUi-handle:before,
.noUi-handle:after {
    display: none;
}

.noUi-handle:focus {
    outline: none;
}

/* Shop Content */
.shop-content__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
}

.shop-content__title {
    font-size: 32px;
    font-weight: 700;
}

.shop-content__controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-clear-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--color-bg-light);
    color: var(--color-text);
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid var(--color-border);
    white-space: nowrap;
    height: 40px;
    box-sizing: border-box;
    flex-shrink: 1;
    min-width: 0;
}

.btn-clear-filters:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.btn-clear-filters svg {
    flex-shrink: 0;
}

.btn-clear-filters__text {
    display: inline;
}

.sort-select {
    padding: 10px 15px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    height: 40px;
    box-sizing: border-box;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-light);
}

/* Product Page */
.product-page {
    padding: 60px 0;
}

.product-page__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Product Gallery */
.product-gallery__main {
    width: 100%;
    aspect-ratio: 1;
    background: var(--color-bg-light);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.product-gallery__thumbs {
    display: flex;
    gap: 10px;
}

.product-gallery__thumb {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background: var(--color-bg-light);
    padding: 0;
    transition: var(--transition);
}

.product-gallery__thumb:hover {
    border-color: var(--color-accent);
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info__brand {
    font-size: 12px;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.product-info__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-info__description {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Product Variations */
.product-variations {
    margin: 30px 0;
}

.product-variations__title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-variations__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.variation-option {
    display: block;
    cursor: pointer;
}

.variation-option input {
    display: none;
}

.variation-option__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    transition: var(--transition);
}

.variation-option input:checked + .variation-option__label {
    border-color: var(--color-accent);
    background: rgba(212, 165, 116, 0.05);
}

.variation-option__value {
    font-weight: 600;
}

.variation-option__price {
    font-weight: 700;
    color: var(--color-accent);
}

.variation-option__price .price-old {
    font-weight: 500;
    color: var(--color-text-light);
    text-decoration: line-through;
    margin-left: 6px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.product-price__label {
    font-size: 14px;
    color: var(--color-text-light);
}

.product-price__value {
    font-size: 32px;
    font-weight: 700;
}

.product-price__old {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-light);
    text-decoration: line-through;
}

.product-price__badge {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: #e74c3c;
    padding: 4px 8px;
    border-radius: 999px;
}

.product-discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 4px 10px;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
}

.product-actions {
    margin: 30px 0;
}

.product-details {
    margin: 40px 0;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.product-details__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    margin-bottom: 0;
}

.product-details__header:hover {
    opacity: 0.8;
}

.product-details__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--color-text);
}

.product-details__icon {
    color: var(--color-text);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.product-details.active .product-details__icon {
    transform: rotate(180deg);
}

.product-details__content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    padding: 0;
    margin: 0;
}

.product-details.active .product-details__content {
    max-height: 2000px;
    padding-top: 16px;
    margin-top: 16px;
}

/* Footer */
.footer {
    background: var(--color-primary);
    color: #5a4a52;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer__subtitle {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer__text {
    color: #8b7a82;
    line-height: 1.6;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    color: #8b7a82;
    text-decoration: none;
    transition: var(--transition);
}

.footer__links a:hover {
    color: #5a4a52;
}

.footer__social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    color: #8b7a82;
    text-decoration: none;
    transition: var(--transition);
}

.footer__social-link:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #5a4a52;
    transform: translateY(-2px);
}

.footer__social-link svg {
    width: 20px;
    height: 20px;
}

.footer__bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(90, 74, 82, 0.2);
    color: #8b7a82;
    font-size: 14px;
}

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

.pagination a,
.pagination span {
    padding: 10px 16px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--color-bg-light);
}

.pagination .active span {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Blog Styles */
.blog-page {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 181, 192, 0.2);
}

.blog-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card__image {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--color-bg-light);
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.blog-card__content {
    padding: 24px;
}

.blog-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card__excerpt {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card__date {
    font-size: 13px;
    color: var(--color-text-light);
}

.blog-post {
    padding: 60px 0;
}

.blog-post__header {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.blog-post__back {
    display: inline-block;
    color: var(--color-text-light);
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 14px;
    transition: var(--transition);
}

.blog-post__back:hover {
    color: var(--color-accent);
}

.blog-post__title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.blog-post__date {
    font-size: 14px;
    color: var(--color-text-light);
}

.blog-post__image {
    max-width: 1000px;
    margin: 0 auto 40px;
    border-radius: 8px;
    overflow: hidden;
}

.blog-post__image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-post__content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
}

.blog-post__content p {
    margin-bottom: 20px;
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: flex-end;
    justify-content: flex-end;
}

.cart-modal.active {
    display: flex;
}

.cart-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(212, 181, 192, 0.3);
    backdrop-filter: blur(4px);
}

.cart-modal__content {
    position: relative;
    background: white;
    width: 100%;
    max-width: 480px;
    height: 100%;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(212, 181, 192, 0.2);
    animation: slideInRight 0.3s ease;
    z-index: 1001;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.cart-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--color-border);
}

.cart-modal__title {
    font-size: 24px;
    font-weight: 700;
}

.cart-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-text);
    transition: var(--transition);
}

.cart-modal__close:hover {
    color: var(--color-accent);
}

/* Search Overlay: full-screen on mobile, partial panel on desktop */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(90, 74, 82, 0.4);
    backdrop-filter: blur(6px);
}

.search-overlay__panel {
    position: relative;
    z-index: 2001;
    background: var(--color-bg);
    width: 100%;
    height: 100%;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(90, 74, 82, 0.15);
    transition: transform 0.25s ease;
}

.search-overlay__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
    background: var(--color-bg);
}

.search-overlay__form-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 10px 14px;
}

.search-overlay__input {
    flex: 1;
    border: none;
    background: none;
    font-size: 16px;
    font-family: var(--font-primary);
    color: var(--color-text);
    outline: none;
}

.search-overlay__input::placeholder {
    color: var(--color-text-light);
}

.search-overlay__clear,
.search-overlay__submit {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--color-text-light);
    transition: var(--transition);
}

.search-overlay__clear:hover,
.search-overlay__submit:hover {
    color: var(--color-text);
}

.search-overlay__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-text);
    transition: var(--transition);
    flex-shrink: 0;
}

.search-overlay__close:hover {
    color: var(--color-accent);
}

.search-overlay__results {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    min-height: 0;
}

.search-overlay__empty {
    color: var(--color-text-light);
    font-size: 14px;
    text-align: center;
    padding: 24px 16px;
}

.search-overlay__loading {
    text-align: center;
    padding: 16px;
    color: var(--color-text-light);
    font-size: 14px;
}

.search-overlay__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-result-card {
    display: flex;
    gap: 16px;
    padding: 12px;
    background: var(--color-bg-light);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    border: 1px solid transparent;
}

.search-result-card:hover {
    border-color: var(--color-border);
    background: #fff;
    box-shadow: 0 4px 12px rgba(212, 181, 192, 0.12);
}

.search-result-card__image {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

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

.search-result-card__image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0e8ec 0%, #e8dde3 100%);
}

.search-result-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.search-result-card__title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-card__description {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-card__price {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
}

/* Desktop: search panel is a centered box (part of screen) */
@media (min-width: 769px) {
    .search-overlay {
        align-items: flex-start;
        padding: 40px 20px 20px;
    }

    .search-overlay__panel {
        width: 100%;
        max-width: 560px;
        height: auto;
        max-height: 75vh;
        border-radius: 12px;
        margin: 0 auto;
    }

    .search-overlay__results {
        max-height: 50vh;
    }

    .search-result-card__image {
        width: 80px;
        height: 80px;
    }

    .search-result-card__title {
        font-size: 16px;
    }

    .search-result-card__price {
        font-size: 20px;
    }
}

.cart-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-light);
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item__image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: var(--color-bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.cart-item__info {
    flex: 1;
    min-width: 0;
}

.cart-item__name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
}

.cart-item__details {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.cart-item__price {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-accent);
}

.cart-item__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.cart-item__quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 4px;
}

.quantity-btn {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--color-text);
    transition: var(--transition);
    border-radius: 4px;
}

.quantity-btn:hover {
    background: var(--color-bg-light);
}

.cart-item__quantity span {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
}

.cart-item__remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--color-text-light);
    transition: var(--transition);
}

.cart-item__remove:hover {
    color: #dc3545;
}

.cart-modal__footer {
    padding: 24px;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-light);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cart-total__label {
    font-size: 18px;
    font-weight: 600;
}

.cart-total__value {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
}

/* Auth Pages */
.auth-page {
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.auth-page__inner {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.auth-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(212, 181, 192, 0.15);
}

.auth-card__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.auth-card__subtitle {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.5;
}

.auth-card__forgot {
    font-size: 14px;
    color: var(--color-accent);
    text-decoration: none;
    margin-left: auto;
}

.auth-card__forgot:hover {
    text-decoration: underline;
}

.form-group--row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.form-message {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.form-message--success {
    background: rgba(40, 167, 69, 0.1);
    color: #1e7e34;
}

.form-message--error {
    background: rgba(220, 53, 69, 0.1);
    color: #c82333;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.form-group {
    position: relative;
}

.form-input {
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 15px;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(212, 181, 192, 0.2);
    display: none;
}

.suggestions-dropdown:not(:empty) {
    display: block;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: var(--color-bg-light);
}

.suggestion-item:active {
    background: var(--color-accent);
    color: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.form-error {
    font-size: 13px;
    color: #dc3545;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.auth-card__footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--color-text-light);
}

.auth-card__footer a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
}

.auth-card__footer a:hover {
    text-decoration: underline;
}

.header__user {
    font-size: 14px;
    color: var(--color-text);
    margin-right: 12px;
}

/* Checkout Page */
.checkout-page {
    padding: 40px 0 80px;
}

.checkout-page__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.checkout-empty {
    text-align: center;
    padding: 80px 20px;
}

.checkout-empty__content {
    max-width: 500px;
    margin: 0 auto;
}

.checkout-empty__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: var(--color-text-light);
    opacity: 0.5;
}

.checkout-empty__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
}

.checkout-empty__text {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.checkout-page__inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.checkout-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
}

.checkout-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-border);
}

.checkout-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.checkout-section__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 32px;
}

.checkout-section__note {
    font-size: 14px;
    color: var(--color-text-light);
    margin-top: 16px;
}

.checkout-section__note a {
    color: var(--color-accent);
    text-decoration: none;
}

.checkout-summary {
    background: var(--color-bg-light);
    padding: 40px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.checkout-summary__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 32px;
}

.checkout-summary__items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.checkout-summary__item {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    align-items: flex-start;
}

.checkout-summary__item:last-child {
    border-bottom: none;
}

.checkout-summary__item-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: white;
    border-radius: 4px;
    overflow: hidden;
}

.checkout-summary__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-summary__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.checkout-summary__item-info {
    flex: 1;
    min-width: 0;
}

.checkout-summary__item-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
}

.checkout-summary__item-info p {
    font-size: 12px;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.checkout-summary__item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
    margin-top: 4px;
}

.checkout-summary__item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    min-width: 120px;
}

.checkout-summary__quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 4px;
}

.checkout-summary__quantity .quantity-btn {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--color-text);
    transition: var(--transition);
    border-radius: 4px;
}

.checkout-summary__quantity .quantity-btn:hover {
    background: var(--color-bg-light);
}

.checkout-summary__quantity .quantity-value {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.checkout-summary__item-total {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
}

.checkout-summary__remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--color-text-light);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-summary__remove:hover {
    color: #dc3545;
}

.checkout-summary__total {
    padding-top: 32px;
    border-top: 2px solid var(--color-border);
}

.checkout-summary__total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 16px;
}

.checkout-summary__total-row--discount {
    color: var(--color-accent);
    font-weight: 600;
}

.checkout-summary__total-row--final {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

/* Checkout Success */
.checkout-success {
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.checkout-success__inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.checkout-success__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #28a745;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.checkout-success__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.checkout-success__text {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

.checkout-success__actions {
    margin-top: 40px;
}

/* Filter Toggle Button */
.filter-toggle-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    height: 40px;
    box-sizing: border-box;
}

.filter-toggle-btn:hover {
    background: var(--color-accent);
}

.filter-toggle-btn svg {
    flex-shrink: 0;
}

/* Shop Sidebar Mobile Header */
.shop-sidebar__mobile-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
    margin: -30px -30px 30px -30px;
}

.shop-sidebar__mobile-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.shop-sidebar__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-text);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-sidebar__close:hover {
    color: var(--color-accent);
}

/* Responsive */
@media (max-width: 968px) {
    .shop-content__controls {
        gap: 12px;
        flex-wrap: nowrap;
    }

    .btn-clear-filters {
        padding: 10px 12px;
        font-size: 13px;
    }

    .filter-toggle-btn {
        padding: 10px 12px;
        font-size: 13px;
    }

    .sort-select {
        padding: 10px 12px;
        font-size: 13px;
        min-width: 140px;
    }
    /* Header завжди зверху на мобільних */
    .header {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    /* Controls (фільтри + сортування) завжди зверху після хедера */
    .shop-content__header {
        position: sticky;
        top: 70px; /* Висота хедера приблизно */
        z-index: 99;
        background: var(--color-bg);
        padding: 20px 0 20px 0;
        margin-bottom: 20px;
        margin-top: -20px;
        padding-top: 20px;
        box-shadow: 0 2px 8px rgba(212, 181, 192, 0.1);
    }

    .shop-page__inner {
        grid-template-columns: 1fr;
    }

    .filter-toggle-btn {
        display: flex;
    }

    .shop-content__controls {
        gap: 12px;
    }

    .btn-clear-filters {
        padding: 10px 12px;
        font-size: 13px;
        gap: 6px;
    }

    .btn-clear-filters svg {
        width: 14px;
        height: 14px;
    }

    .sort-select {
        font-size: 13px;
        padding: 10px 12px;
    }

    .shop-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        max-height: 100vh;
        z-index: 1001;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        box-shadow: 2px 0 20px rgba(212, 181, 192, 0.2);
        border-radius: 0;
        padding-top: 0;
    }

    .shop-sidebar.active {
        transform: translateX(0);
    }

    .shop-sidebar__mobile-header {
        display: flex;
        position: sticky;
        top: 0;
        background: var(--color-bg-light);
        z-index: 10;
    }

    body.filter-open {
        overflow: hidden;
    }

    body.filter-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(212, 181, 192, 0.3);
        z-index: 1000;
        backdrop-filter: blur(4px);
    }

    .product-page__inner {
        grid-template-columns: 1fr;
    }

    .header__inner {
        padding: 12px 0;
        flex-wrap: nowrap;
        gap: 8px;
        align-items: center;
        justify-content: space-between;
        overflow: hidden;
        min-width: 0;
    }

    .header__logo {
        display: flex !important;
        order: 2;
        flex: 0 0 auto;
        flex-shrink: 1;
        margin: 0;
        max-width: 120px;
        min-width: 0;
        overflow: hidden;
    }

    .header__logo .logo-text {
        font-size: 12px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header__nav {
        display: none !important;
    }
    
    .nav-dropdown {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
        order: 1;
        flex: 0 0 auto;
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        margin: 0;
        z-index: 101;
    }

    .header__actions {
        display: flex !important;
        gap: 4px;
        padding: 6px 8px;
        order: 3;
        flex: 0 0 auto;
        flex-shrink: 0;
        margin-left: 0;
        min-width: 0;
    }
    
    .header__action-btn {
        padding: 6px 8px;
        font-size: 11px;
    }
    
    .header__action-btn--text {
        display: none;
    }

    .header__action-btn {
        padding: 8px 10px;
        font-size: 12px;
        white-space: nowrap;
    }

    .hero__title {
        font-size: 36px;
    }

    .cart-modal__content {
        max-width: 100%;
    }
}

/* Account Page */
.account-page {
    padding: 40px 0 80px;
}

.account-page__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
}

.account-tabs {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.account-tab {
    padding: 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-light);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    margin-bottom: -1px;
}

.account-tab:hover {
    color: var(--color-text);
}

.account-tab.active {
    color: var(--color-text);
    border-bottom-color: var(--color-accent);
}

.account-content {
    background: white;
    border-radius: 8px;
    padding: 40px;
}

.account-loyalty {
    margin-bottom: 40px;
}

.account-loyalty__card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 12px;
    padding: 30px;
    color: white;
}

.account-loyalty__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.account-loyalty__info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.account-loyalty__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.account-loyalty__item--discount {
    background: rgba(255, 255, 255, 0.3);
}

.account-loyalty__label {
    font-size: 16px;
    font-weight: 500;
}

.account-loyalty__value {
    font-size: 18px;
    font-weight: 700;
}

.account-loyalty__link {
    display: inline-block;
    color: white;
    text-decoration: underline;
    font-size: 14px;
    transition: var(--transition);
}

.account-loyalty__link:hover {
    opacity: 0.8;
}

.account-empty {
    text-align: center;
    padding: 80px 20px;
}

.account-empty__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: var(--color-text-light);
    opacity: 0.5;
}

.account-empty__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.account-empty__text {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

/* Orders List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.order-card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.order-card:hover {
    box-shadow: 0 4px 12px rgba(212, 181, 192, 0.2);
}

.order-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
}

.order-card__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-card__number {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.order-card__date {
    font-size: 14px;
    color: var(--color-text-light);
}

.order-card__body {
    padding: 24px;
}

.order-card__items {
    margin-bottom: 24px;
}

.order-item-preview {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.order-item-preview:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.order-item-preview__image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: var(--color-bg-light);
}

.order-item-preview__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-preview__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.order-item-preview__info {
    flex: 1;
}

.order-item-preview__info h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.order-item-preview__info p {
    font-size: 12px;
    color: var(--color-text-light);
    margin: 0 0 4px 0;
}

.order-item-preview__quantity {
    font-size: 12px;
    color: var(--color-text-light);
}

.order-card__more {
    font-size: 14px;
    color: var(--color-text-light);
    margin-top: 8px;
}

.order-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.order-card__discount {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
}

.order-card__discount-label {
    font-size: 12px;
    color: var(--color-accent);
}

.order-card__discount-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-accent);
}

.order-card__total {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-card__total-label {
    font-size: 14px;
    color: var(--color-text-light);
}

.order-card__total-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
}

.order-card__payment-status {
    margin: 0 16px;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge--pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge--processing {
    background: #cfe2ff;
    color: #084298;
}

.status-badge--shipped {
    background: #d1e7dd;
    color: #0f5132;
}

.status-badge--delivered {
    background: #d1e7dd;
    color: #0f5132;
}

.status-badge--cancelled {
    background: #f8d7da;
    color: #842029;
}

.payment-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.payment-status--pending {
    background: #fff3cd;
    color: #856404;
}

.payment-status--paid {
    background: #d1e7dd;
    color: #0f5132;
}

.payment-status--failed {
    background: #f8d7da;
    color: #842029;
}

.payment-status--refunded {
    background: #e2e3e5;
    color: #41464b;
}

/* Order Detail */
.order-detail {
    max-width: 1200px;
    margin: 0 auto;
}

.order-detail__header {
    margin-bottom: 40px;
}

.order-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-light);
    text-decoration: none;
    margin-bottom: 16px;
    transition: var(--transition);
}

.order-detail__back:hover {
    color: var(--color-accent);
}

.order-detail__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.order-detail__meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.order-detail__date {
    font-size: 14px;
    color: var(--color-text-light);
}

.order-detail__content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.order-detail__section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.order-detail__section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.order-detail__section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.order-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--color-bg-light);
    border-radius: 8px;
}

.order-item__image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: white;
}

.order-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.order-item__info {
    flex: 1;
}

.order-item__name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.order-item__details {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0 0 8px 0;
}

.order-item__quantity {
    font-size: 14px;
    color: var(--color-text-light);
}

.order-item__price {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    align-self: flex-start;
}

.order-address {
    background: var(--color-bg-light);
    padding: 20px;
    border-radius: 8px;
}

.order-address p {
    margin: 0 0 8px 0;
    font-size: 14px;
}

.order-address p:last-child {
    margin-bottom: 0;
}

.order-notes {
    background: var(--color-bg-light);
    padding: 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.order-summary {
    background: var(--color-bg-light);
    padding: 24px;
    border-radius: 8px;
    position: sticky;
    top: 100px;
}

.order-summary__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.order-summary__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 14px;
}

.order-summary__row--discount {
    color: var(--color-accent);
    font-weight: 600;
}

.order-summary__row--total {
    font-size: 18px;
    font-weight: 700;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    margin-top: 16px;
}

.order-summary__payment {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text);
    background: white;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

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

    .order-summary {
        position: static;
    }

    .order-card__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .order-card__payment-status {
        margin: 0;
    }
}

@media (max-width: 968px) {
    .checkout-page__inner {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .products-grid,
    .products__grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero__title {
        font-size: 28px;
    }

    .checkout-form,
    .checkout-summary {
        padding: 20px;
    }

    .auth-card {
        padding: 30px 20px;
    }

    .header__actions {
        gap: 6px;
        padding: 6px 8px;
    }

    .header__action-btn {
        padding: 8px 10px;
        font-size: 12px;
    }


    .header__nav {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .header__user {
        display: none;
    }

    .header__logo .logo-text {
        font-size: 14px;
    }

    .nav-link {
        padding: 8px 14px;
        font-size: 14px;
    }
}


