/* ========================================
   Царский Сон - OctoberCMS Custom Styles
   Все стили - кастомные, без Tailwind
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ========================================
   CSS Variables & Root
   ======================================== */
:root {
    --font-size: 16px;
    --background: #ffffff;
    --foreground: #2E1500;

    /* Premium colors */
    --gold: #C9A961;
    --gold-light: #E8D5A8;
    --gold-dark: #A88B4D;
    --bronze: #CD7F32;
    --orange-accent: #F56200;
    --dark-brown: #2E1500;
    --light-beige: #E3D9CD;

    --radius: 0;
}

/* ========================================
   Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size);
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;

}

/* Premium headings with Futura */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.3;
}

h2 {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
}

h4 {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.5;
}

p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button reset */
button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========================================
   Premium Animations
   ======================================== */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes goldGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(201, 169, 97, 0.15); }
    50% { box-shadow: 0 0 30px rgba(201, 169, 97, 0.3); }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Premium Scrollbar
   ======================================== */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #C9A961 0%, #A88B4D 100%);
    border-radius: 0px;
    border: 2px solid #F5F5F5;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #F56200 0%, #C9A961 100%);
}

/* ========================================
   Premium Selection
   ======================================== */
::selection {
    background-color: rgba(201, 169, 97, 0.2);
    color: #2E1500;
}

/* ========================================
   Layout Utilities
   ======================================== */
.container-1440 {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.container-1960 {
    max-width: 1960px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Grid utilities */
.grid {
    display: grid;
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Z-index */
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }
.z-100 { z-index: 100; }

/* ========================================
   Background Colors
   ======================================== */
.bg-white { background-color: #ffffff; }
.bg-dark-brown { background-color: #2E1500; }
.bg-light-beige { background-color: #E3D9CD; }
.bg-beige { background-color: #F5F0E8; }
.bg-beige-light { background-color: #F9F6F2; }
.bg-orange { background-color: #F56200; }
.bg-gold { background-color: #C9A961; }
.bg-gold-dark { background-color: #A88B4D; }
.bg-gray-100 { background-color: #F5F5F5; }
.bg-gray-50 { background-color: #fafafa; }

/* Background gradients */
.bg-gradient-gold {
    background: linear-gradient(135deg, #C9A961 0%, #A88B4D 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #2E1500 0%, #1E0A00 100%);
}

.bg-gradient-dark-premium {
    background: linear-gradient(135deg, #2E1500 0%, #3E2510 50%, #2E1500 100%);
}

.bg-gradient-gray {
    background: linear-gradient(to bottom, #fafafa 0%, #ffffff 100%);
}

/* ========================================
   Text Colors
   ======================================== */
.text-white { color: #ffffff; }
.text-dark { color: #2E1500; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-orange { color: #F56200; }
.text-gold { color: #C9A961; }

.text-dark-60 { color: rgba(46, 21, 0, 0.6); }
.text-dark-70 { color: rgba(46, 21, 0, 0.7); }

/* ========================================
   Typography
   ======================================== */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }

.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.line-through { text-decoration: line-through; }

/* Line clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   Spacing
   ======================================== */
/* Padding */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.pt-2 { padding-top: 0.5rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }

/* Margin */
.m-0 { margin: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mx-4 {
    margin-left: 1rem;
    margin-right: 1rem;
}

/* ========================================
   Borders
   ======================================== */
.border { border: 1px solid #e5e7eb; }
.border-t { border-top: 1px solid #e5e7eb; }
.border-b { border-bottom: 1px solid #e5e7eb; }
.border-y { border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }

.border-dark-10 { border-color: rgba(46, 21, 0, 0.1); }
.border-dark-20 { border-color: rgba(46, 21, 0, 0.2); }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-700 { border-color: #374151; }

.border-2 { border-width: 2px; }

/* Border radius */
.rounded { border-radius: 0rem; }
.rounded-lg { border-radius: 0rem; }
.rounded-full { border-radius: 100px; }

/* ========================================
   Shadows
   ======================================== */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-premium {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.shadow-premium-lg {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.shadow-gold {
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.2), 0 2px 8px rgba(201, 169, 97, 0.1);
}

.drop-shadow-lg {
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1));
}

/* ========================================
   Sizing
   ======================================== */
.w-full { width: 100%; }
.w-1-2 { width: 50%; }
.w-1-4 { width: 25%; }

.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-64 { width: 16rem; }
.w-180 { width: 180px; }

.h-full { height: 100%; }
.h-auto { height: auto; }

.h-0-5 { height: 0.125rem; }
.h-1 { height: 0.25rem; }
.h-2 { height: 0.5rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-45 { height: 45px; }
.h-50 { height: 50px; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }
.h-80 { height: 20rem; }
.h-520 { height: 520px; }

.min-w-280 { min-width: 280px; }

.max-w-500 { max-width: 500px; }
.max-w-600 { max-width: 600px; }
.max-w-1440 { max-width: 1440px; }
.max-w-1960 { max-width: 1960px; }

.max-h-90 { max-height: 90vh; }

/* ========================================
   Flex & Grid Utilities
   ======================================== */
.flex-shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }

.col-span-3 { grid-column: span 3 / span 3; }
.col-span-6 { grid-column: span 6 / span 6; }
.col-span-12 { grid-column: span 12 / span 12; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* ========================================
   Display
   ======================================== */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* ========================================
   Overflow
   ======================================== */
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }

/* ========================================
   Opacity
   ======================================== */
.opacity-0 { opacity: 0; }
.opacity-40 { opacity: 0.4; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

/* ========================================
   Transitions
   ======================================== */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* ========================================
   Transform
   ======================================== */
.translate-y-neg-1-2 { transform: translateY(-50%); }
.translate-x-neg-1-2 { transform: translateX(-50%); }
.scale-105 { transform: scale(1.05); }
.scale-120 { transform: scale(1.2); }

/* ========================================
   Object Fit
   ======================================== */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* ========================================
   Aspect Ratio
   ======================================== */
.aspect-square {
    aspect-ratio: 1 / 1;
}

/* ========================================
   Cursor
   ======================================== */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }

/* ========================================
   User Select
   ======================================== */
.select-none {
    user-select: none;
}

/* ========================================
   Visibility
   ======================================== */
.invisible { visibility: hidden; }

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
    background-color: #2E1500;
    color: white;
    padding: 0.5rem 0;
}

.top-bar-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
}

.top-bar-right {
    display: flex;
    gap: 1rem;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Stores Dropdown */
.stores-dropdown {
    position: relative;
    display: none;
}

.stores-dropdown-btn {
    color: white;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stores-dropdown-btn:hover {
    opacity: 0.8;
}

.stores-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: white;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 0rem;
    padding: 0.5rem 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.stores-dropdown:hover .stores-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.store-item {
    padding: 0.5rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.store-item:hover {
    background-color: #fafafa;
}

.store-icon {
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    color: #2E1500;
    flex-shrink: 0;
}

.store-info p {
    font-size: 0.875rem;
    margin: 0;
}

.store-hours {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.125rem;
}

/* ========================================
   Header
   ======================================== */
.header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 180px;
}

.logo-img {
    height: 45px;
    object-fit: contain;
    width: 100%;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #4b5563;
    margin-top: 0.25rem;
    letter-spacing: 0.1em;
    width: 100%;
    text-align: center;
}

/* Navigation */
.nav {
    display: none;
    align-items: center;
    column-gap: 2rem;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0;
    position: relative;
    color: #374151;
    transition: color 0.3s ease;
}

.nav-btn:hover {
    color: #F56200;
}

.nav-btn.active {
    color: #F56200;
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.125rem;
    background-color: #F56200;
    display: none;
}

.nav-btn.active .nav-indicator {
    display: block;
}

.nav a {
    color: #374151;
}

.nav a:hover {
    color: #F56200;
}

.nav a.active {
    color: #F56200;
}

/* Header Actions */
.header-actions {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

/* Показываем header-actions на мобильных устройствах */
@media (max-width: 768px) {
    .header-actions {
        display: flex; /* Показываем на мобильных */
        gap: 0.5rem;
    }



    /* Меняем цвет иконок на фирменный коричневый */
    .action-btn {
        color: #2E1500; /* Фирменный коричневый цвет */
        padding: 0.375rem;
        transition: color 0.3s ease;
    }

    .action-btn:hover {
        color: #F56200; /* Оранжевый при наведении */
        background-color: transparent;
    }

    /* Уменьшаем иконки */
    .action-btn-icon {
        width: 1.125rem;
        height: 1.125rem;
    }

    /* Настройка бейджей */
    .action-btn-badge,  .action-btn-badge_fav {
        background-color: #F56200;
        color: white;
        width: 1rem;
        height: 1rem;
        font-size: 0.625rem;
        top: -0.125rem;
        right: -0.125rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .header-actions {
        gap: 0.25rem;
    }

    .action-btn {
        padding: 0.25rem;
    }

    .action-btn-icon {
        width: 1rem;
        height: 1rem;
    }
}

/* ========================================
   Mobile Header Adjustments - обновленные стили
   ======================================== */
@media (max-width: 768px) {
    /* Скрываем верхний бар полностью */
    .top-bar {
        display: none;
    }

    /* Скрываем десктопную навигацию */
    .nav {
        display: none;
    }

    /* Уменьшаем высоту хедера */
    .header-content {
        height: 4rem;
        padding: 0 0.5rem;
    }

    /* Уменьшаем логотип */
    .logo-container {
        flex-shrink: 0;
    }

    .logo-link {
        width: 120px; /* Еще меньше на мобильных */
    }

    .logo-img {
        height: 30px; /* Уменьшаем высоту лого */
        object-fit: contain;
    }

    .logo-subtitle {
        font-size: 0.6rem; /* Еще меньше подзаголовок */
        margin-top: 0.125rem;
    }

    /* Убираем отступы контейнера */
    .header-container {
        padding: 0 0.5rem;
    }

    /* Показываем кнопку мобильного меню */
    .mobile-menu-btn {
        display: flex;
        color: #2E1500; /* Фирменный коричневый */
    }

    .mobile-menu-btn:hover {
        color: #F56200; /* Оранжевый при наведении */
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .header-content {
        height: 3.5rem;
    }

    .logo-link {
        width: 100px; /* Минимальный размер */
    }

    .logo-img {
        height: 25px;
    }

    .logo-subtitle {
        font-size: 0.5rem;
    }
}

/* ========================================
   Desktop styles for header actions
   ======================================== */
@media (min-width: 1024px) {
    .header-actions {
        display: flex; /* Показываем на десктопе */
    }

    /* Цвет иконок на десктопе */
    .action-btn {
        color: #374151; /* Стандартный серый на десктопе */
    }

    .action-btn:hover {
        color: #F56200;
        background-color: #f3f4f6;
    }
}

.search-wrapper {
    position: relative;
}

.search-input {
    width: 16rem;
    padding-left: 2.5rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(245, 98, 0, 0.2);
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    color: #9ca3af;
}

.action-btn {
    padding: 0.5rem;
    border-radius: 0rem;
    position: relative;
    transition: background-color 0.3s ease;
}

.action-btn:hover {
    background-color: #f3f4f6;
}

.action-btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.action-btn-badge, .action-btn-badge_fav {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    background-color: #F56200;
    color: white;
    font-size: 0.75rem;
    border-radius: 9999px;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    padding: 0.5rem;
}

.mobile-menu-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-menu-icon.close-icon {
    display: none;
}

.mobile-menu-btn.active .menu-icon {
    display: none;
}

.mobile-menu-btn.active .close-icon {
    display: block;
}

/* ========================================
   Mobile Header Adjustments
   ======================================== */
@media (max-width: 768px) {
    /* Скрываем верхний бар полностью */
    .top-bar {
        display: none;
    }

    /* Скрываем десктопную навигацию */
    .nav {
        display: none;
    }

    /* Скрываем поле поиска в хедере */
    .search-wrapper {
        display: none;
    }

    /* Уменьшаем высоту хедера */
    .header-content {
        height: 4rem;
    }

    /* Уменьшаем логотип */
    .logo-link {
        width: 140px;
    }

    .logo-img {
        height: 35px;
    }

    .logo-subtitle {
        font-size: 0.65rem;
    }

    /* Показываем только иконки действий (лупа, кабинет, избранное, корзина) */
    .header-actions {
        display: flex;
        gap: 0.5rem;
    }

    /* Уменьшаем кнопки действий */
    .action-btn {
        padding: 0.375rem;
    }

    .action-btn-icon {
        width: 1.125rem;
        height: 1.125rem;
    }

    /* Уменьшаем бейджи */
    .action-btn-badge {
        width: 1rem;
        height: 1rem;
        font-size: 0.625rem;
        top: -0.125rem;
        right: -0.125rem;
    }

    /* Убираем отступы контейнера */
    .header-container {
        padding: 0 0.5rem;
    }

    /* Скрываем существующее мобильное меню если оно есть */
    .mobile-menu {
        display: none;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .header-content {
        height: 3.5rem;
    }

    .logo-link {
        width: 120px;
    }

    .logo-img {
        height: 40px;
    }

    .header-actions {
        gap: 0.25rem;
    }

    .action-btn {
        padding: 0.25rem;
    }
}

/* ========================================
   Mobile Search Modal (вместо скрытого поля поиска)
   ======================================== */
.mobile-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1003;
    padding: 1rem;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-search-modal.active {
    transform: translateY(0);
}

.mobile-search-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mobile-search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.mobile-search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(245, 98, 0, 0.2);
}

.mobile-search-close {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.mobile-search-close svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* ========================================
   Update existing mobile menu button styles
   ======================================== */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
    }

    .mobile-menu-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .logo-subtitle {
        display: none;
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    background: linear-gradient(to bottom, #fafafa 0%, #ffffff 100%);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.hero-container {
    max-width: 1960px;
    width: 100%;
    position: relative;
    /*margin: 0 1rem;*/
}

.hero-bg-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(201,169,97,0.04) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 10;
    margin: 0 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .hero-grid {
        column-gap: 0;
    }
}
.hero-main {
    grid-column: span 2 / span 2;
}

.hero-slider {
    position: relative;
    height: 520px;
    border-radius: 0rem;
    overflow: hidden;
}

.hero-slider:hover .slider-nav-btn {
    opacity: 1;
}

.slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 10;
}

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

/* Hero Slides Wrapper */
.slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slide Overlay */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(46, 21, 0, 0.7) 0%, transparent 100%);
}

/* Slide Content */
.slide-content {
    position: absolute;
    left: 2rem;
    top: 60%;
   z-index: 10;
    color: white;
}




.slide-title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}



.slide-desc {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #C9A961 0%, #A88B4D 100%);
    color: white;
    border-radius: 0rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: relative;
}

.slide-btn::after {

    content: '→';
    margin-left: 0.5rem;
    transition: margin-left 0.3s ease;
}

.slide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(201, 169, 97, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.slide-btn:hover::after {
    margin-left: 0.75rem;
}


/* Product Image */
.product-image {
    position: absolute;
    inset: 0;

    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-image.active {
    opacity: 1;
    visibility: visible;
}

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

/* Size and Color Selection */
.size-btn.active {
    border-color: #F56200;
    background-color: #F56200;
    color: white;
}

.color-btn.active {
    border-color: #F56200;
    border-width: 3px;
}

/* Slider Navigation */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.slider-nav-btn:hover {
    background: white;
}

.slider-nav-btn.prev {
    left: 1rem;
}

.slider-nav-btn.next {
    right: 1rem;
}

.slider-nav-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #1f2937;
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Featured Product Card */
.featured-product-card {
    background: white;
    border-radius: 0;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    padding: 1rem;
    height: 520px;
}

.featured-product {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-product:hover .hover-element {
    opacity: 1;
}

.product-image-wrapper {
    position: relative;
    flex: 1;
    border-radius: 0rem;
    overflow: hidden;
    margin-bottom: 1rem;
    background-color: #f5f5f5;
}

.product-images-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.discount-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: #F56200;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.hover-element {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.favorite-button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorite-button:hover {
    background: rgba(243, 111, 171, 0.1);
}

.favorite-button.active .favorite-icon path {
    fill: var(--pink-1);
    stroke: var(--pink-1);
}

.favorite-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.favorite-icon path {
    fill: transparent;
    stroke: #7c7478;
    stroke-width: 2;
    transition: all 0.3s ease;
}

.favorite-button:hover .favorite-icon path {
    stroke: var(--pink-1);
}

/* Стили для страницы избранного */
.favorites-empty {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: var(--gray);
    grid-column: 1 / -1;
}

.product-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.product-nav-btn:hover {
    background: white;
}

.product-nav-btn.prev {
    left: 0.5rem;
}

.product-nav-btn.next {
    right: 0.5rem;
}

.product-nav-btn svg {
    width: 1rem;
    height: 1rem;
    color: #1f2937;
}

/* Product Dots */
.product-dots {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.product-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-dot.active {
    background: white;
}

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-price {
    color: #F56200;
    font-size: 1.25rem;
    font-weight: 600;
}

.product-old-price {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.product-name {
    color: #2E1500;
    transition: color 0.3s ease;
}

.featured-product:hover .product-name {
    color: #F56200;
}

.product-sizes,
.product-colors {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.size-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(46, 21, 0, 0.2);
    border-radius: 0rem;
    color: rgba(46, 21, 0, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-btn:hover {
    border-color: #F56200;
    color: #F56200;
}

.color-btn {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    border: 2px solid #d1d5db;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.color-btn:hover {
    border-color: #F56200;
}

.cart-btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 0.5rem;
}

.cart-btn {
    padding: 0.75rem;
    background-color: #C9A961;
    color: white;
    transition: all 0.3s ease;
    border-radius: 0rem;
    opacity: 0;
}

.featured-product:hover .cart-btn {
    opacity: 1;
}

.cart-btn:hover {
    background-color: #A88B4D;
}

.cart-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ========================================
   Category Grid
   ======================================== */
.category-grid-section {
    padding: 4rem 0;
    background-color: #F5F0E8;
}

.category-header {
    max-width: 1440px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.category-title {
    font-size: 1.875rem;
    color: #2E1500;
}

.category-grid-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 0rem;
    display: block;
}

.category-card-large {
    grid-column: span 12 / span 12;
    height: 16rem;
}

.category-card-medium {
    grid-column: span 6 / span 6;
    height: 16rem;
}

.category-card-small {
    grid-column: span 6 / span 6;
    height: 12rem;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.category-card:hover .category-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.category-name {
    position: absolute;
    color: white;
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1));
}

.category-name-large {
    bottom: 1.5rem;
    left: 1.5rem;
    font-size: 1.5rem;
}

.category-name-medium {
    bottom: 1.5rem;
    left: 1.5rem;
    font-size: 1.25rem;
}

.category-name-small {
    bottom: 1rem;
    left: 1rem;
    font-size: 1.125rem;
}

/* ========================================
   Advantages Section
   ======================================== */
.advantages-section {
    padding: 3rem 0;
    background-color: #F9F6F2;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(46, 21, 0, 0.1);
    border-bottom: 1px solid rgba(46, 21, 0, 0.1);
}

.advantages-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
}

.advantages-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem 2rem;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: default;
}

.advantage-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #C9A961 0%, #A88B4D 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.advantage-item:hover .advantage-icon {
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.2), 0 2px 8px rgba(201, 169, 97, 0.1);
}

.advantage-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.advantage-text {
    text-align: left;
}

.advantage-title {
    color: #2E1500;
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 0.125rem;
    transition: color 0.3s ease;
}

.advantage-item:hover .advantage-title {
    color: #F56200;
}

.advantage-desc {
    font-size: 0.875rem;
    color: rgba(46, 21, 0, 0.6);
}

/* ========================================
   Trending Products
   ======================================== */

/* ========================================
   Category Switching
   ======================================== */
.category-home {
    display: block;
}

.category-clothing {
    display: none;
}

body.active-category-clothing .category-home {
    display: none;
}

body.active-category-clothing .category-clothing {
    display: block;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: linear-gradient(to bottom, #2E1500 0%, #1E0A00 100%);
    color: #d1d5db;
    position: relative;
    overflow: hidden;
}

.footer-top-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, #C9A961 50%, transparent 100%);
    opacity: 0.5;
}

.footer-pattern {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAxMCAwIEwgMCAwIDAgMTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgyMDEsIDE2OSwgOTcsIDAuMDUpIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=');
    opacity: 0.4;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 3rem 1rem;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 50px;
    object-fit: contain;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-heading {
    color: white;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 2rem;
    height: 1px;
    background-color: #C9A961;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    padding-left: 0px;
}

.footer-links a {
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #C9A961;
}

.footer-contact {
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;

}

.footer-contact-item p {
       font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-contact-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-contact-icon.gold {
    color: #C9A961;
}

.footer-contact a {
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #C9A961;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

/* ========================================
   Form Styles
   ======================================== */
input[type="search"],
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

input:focus,
textarea:focus {
    outline: none;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (min-width: 768px) {
    /* Grid columns */
    .md\\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    /* Column spans */
    .md\\:col-span-2 { grid-column: span 2 / span 2; }
    .md\\:col-span-3 { grid-column: span 3 / span 3; }
    .md\\:col-span-6 { grid-column: span 6 / span 6; }

    /* Display */
    .md\\:block { display: block; }
    .md\\:flex { display: flex; }

    /* Heights */
    .md\\:h-64 { height: 16rem; }
    .md\\:h-80 { height: 20rem; }

    /* Spacing */
    .md\\:space-y-0 > * + * { margin-top: 0; }

    /* Flex direction */
    .md\\:flex-row { flex-direction: row; }

    /* Stores dropdown */
    .stores-dropdown {
        display: block;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-bottom-content {
        flex-direction: row;
    }

    /* Category cards */
    .category-card-large {
        grid-column: span 6 / span 6;
        height: 20rem;
    }

    .category-card-medium {
        grid-column: span 3 / span 3;
        height: 20rem;
    }

    .category-card-small {
        grid-column: span 3 / span 3;
        height: 16rem;
    }

    /* Order methods */
    .order-methods-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    /* Navigation */
    .nav {
        display: flex;
    }

    /* Header actions */
    .header-actions {
        display: flex;
    }

    /* Mobile menu button */
    .mobile-menu-btn {
        display: none;
    }

    /* Grid */
    .lg\\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    /* Hero grid */
    .hero-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-main {
        grid-column: span 2 / span 2;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ========================================
   Utility: Prevent layout shift
   ======================================== */
img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Order Methods Section
   ======================================== */
.order-methods-section {
    padding: 4rem 0;
    background-color: #E3D9CD;
}

.order-methods-title {
    font-size: 1.875rem;
    color: #2E1500;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.order-methods-grid {
    display: grid;

    gap: 1.5rem;
    margin-bottom: 4rem;
}

.order-method-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 0rem;
    padding: 1.5rem;
    transition: background 0.3s ease;
}

.order-method-card:hover {
    background: rgba(255, 255, 255, 0.6);
}

.order-method-heading {
    color: #2E1500;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.order-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-step {
    display: flex;
    gap: 1rem;
}

.order-step-number {
    font-size: 2.25rem;
    color: rgba(46, 21, 0, 0.2);
    flex-shrink: 0;
    line-height: 1;
}

.order-step-text {
    font-size: 0.875rem;
    color: rgba(46, 21, 0, 0.7);
    padding-top: 0.5rem;
}
.size-fitting-section {
    background: linear-gradient(to bottom right, #F9F6F2, #E3D9CD);
    border-radius: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .size-fitting-section {
        grid-template-columns: 1fr 1fr;
    }
}

.size-fitting-image {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    border-radius: 0;
    position: relative;
    filter: brightness(1.15) contrast(0.95);
    opacity: 0.95;
}

.size-fitting-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 3rem 3.5rem;
    background: transparent;
}

.size-fitting-title {
    font-family: 'Futura', 'Montserrat', sans-serif;
    font-size: 1.75rem;
    color: #2E1500;
    margin-bottom: 0.5rem;

    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.size-fitting-description {
    font-size: 0.9375rem;
    color: rgba(46, 21, 0, 0.75);
    line-height: 1.65;
    margin-bottom: 0;
}

.size-fitting-description .highlight {
    color: #C9A961;
}

.size-fitting-button-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;


}

.size-fitting-button {

    background-color: transparent;
    color: #C9A961;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
   transition: color 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.line {
    border: 1px solid  #A88B4D;
    width: 4rem;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .order-methods-section {
        padding: 2rem 0;
    }

    .order-methods-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .order-method-card-title {
        font-size: 1rem;
    }

    .step-number {
        font-size: 1.75rem;
    }

    .size-fitting-section {
        padding: 1.5rem;
    }

    .size-fitting-title {
        font-size: 1.25rem;
    }
}
/* ========================================
   Stores Map Section
   ======================================== */
.stores-map-section {
    padding-top: 4rem;
    background-color: #FAF7F0;
}

.stores-map-header {
    max-width: 1440px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.stores-map-title {
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
    color: #2E1500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.stores-map-subtitle {
    color: rgba(46, 21, 0, 0.6);
}

.map-container {
    position: relative;
    width: 100%;
    height: 600px;
    background-color: #f5f5f5;
    overflow: hidden;
}

.map-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.store-cards-overlay {
    position: absolute;
    top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 10;
    pointer-events: none;
    left: max(1.5rem, calc((100vw - 1440px) / 2));
}

.store-card {
    background: white;
    border-radius: 0rem;
    padding: 1.25rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}

.store-card-title {
    margin-bottom: 0.75rem;
    color: #2E1500;
    font-size: 1.125rem;
}

.store-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    flex-grow: 1;
}

.store-card-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.store-card-icon {
    width: 1rem;
    height: 1rem;
    color: #F56200;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.store-card-text {
    color: #374151;
}

.store-card-link {
    color: #374151;
    transition: color 0.3s ease;
}

.store-card-link:hover {
    color: #F56200;
}

.store-route-link {
    margin-top: 0.75rem;
    display: inline-block;
    color: #F56200;
    font-size: 0.875rem;
    text-decoration: underline;
}

/* ========================================
   Contact Section
   ======================================== */
.social-section {
    background-color: #E3D9CD;
    padding: 2rem 0;
}

.social-container {
    max-width: 1440px;
    margin: 0 auto;
    text-align: center;
}

.social-text {
    color: rgba(46, 21, 0, 0.7);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: white;
    border: 1px solid rgba(46, 21, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #F56200;
    border-color: #F56200;
    color: white;
}

.social-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.contact-cta-section {
    background-color: #F56200;
    padding: 1.5rem 0;
}

.contact-cta-container {
    max-width: 1440px;
    margin: 0 auto;
}

.contact-cta-title {
    color: white;
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-size: 1.125rem;
}

.contact-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.contact-cta-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    transition: color 0.3s ease;
}

.contact-cta-btn:hover {
    color: #2E1500;
}

.contact-cta-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.contact-cta-btn span {
    text-decoration: underline;
}

/* Callback Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-content {
    background: white;
    border-radius: 0rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    color: #2E1500;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: rgba(46, 21, 0, 0.7);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(245, 98, 0, 0.2);
}

.form-textarea {
    resize: vertical;
}

.form-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-checkbox {
    margin-top: 0.25rem;
}

.form-checkbox-label {
    font-size: 0.875rem;
    color: rgba(46, 21, 0, 0.7);
    cursor: pointer;
    line-height: 1.25;
}

.form-checkbox-label a {
    text-decoration: underline;
}

.form-checkbox-label a:hover {
    color: #F56200;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-primary {
    flex: 1;
    background-color: #F56200;
    color: white;
    padding: 0.75rem;
    border-radius: 0rem;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: rgba(245, 98, 0, 0.9);
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0rem;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #fafafa;
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .no-print {
        display: none;
    }
}

@media (max-width: 756px) {
    .slide-content {

        top: 50%;}


    .slide-title {
        font-size: 1.5rem;
    }

    .slide-desc {
        font-size: 0.9rem;

    }

    .slide-btn {
        font-size: 1rem;
        padding: 0.5rem 1rem;

    }

    .trending-header, .sale-header  {
        margin-left: 2rem;
    }

    .size-fitting-content {
        padding: 1rem;
    }

}

@media (min-width: 768px) {
    #mobileSearchOverlay {
            display: none;
    }
}

@media (max-width: 768px){
    .slick-next {
        display: none;
    }
}


/* ========================================
   Auth Checkmark Styles
   ======================================== */

.auth-done {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    width: 1.25rem;
    height: 1.25rem;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s ease;
    /*border: 2px solid white;*/
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
    z-index: 10;
}

.auth-done.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.auth-done svg {
    width: 1rem;
    height: 1rem;
    color: white;
    stroke-width: 3;
}

/* Анимация появления галочки */
@keyframes auth-check-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.auth-done.active {
    animation: auth-check-pop 0.4s ease-out;
}

/* Стили для иконки аккаунта с галочкой */
.account-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.account-icon:hover .auth-done {
    transform: scale(1.1);
}

/* Альтернативный вариант с более заметной галочкой */
.auth-done.alternative {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: 2px solid #ffffff;
    box-shadow: 0 3px 6px rgba(16, 185, 129, 0.3);
}

.auth-done.alternative svg {
    width: 10px;
    height: 10px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

/* Вариант с pulsating эффектом */
.auth-done.pulse::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #10b981;
    border-radius: 50%;
    animation: auth-pulse 2s infinite;
    z-index: -1;
}

@keyframes auth-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .auth-done {
        width: 14px;
        height: 14px;
        top: -3px;
        right: -3px;
    }

    .auth-done svg {
        width: 8px;
        height: 8px;
    }
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
    .auth-done {
        border-color: #1f2937;
    }
}

.production__card-favorites-icon {
    transition: all .1s ease;
}




.offer-selection-more {
    display: block;
    text-align: center;
    margin-top: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #C9A961 0%, #A88B4D 100%);
    border-radius: 0rem;
    color: white;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(201, 169, 97, 0.2);
}

.offer-selection-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(201, 169, 97, 0.3);
    color: white;
    background: linear-gradient(135deg, #A88B4D 0%, #C9A961 100%);
}
