/* ========== ШРИФТЫ ========== */
@font-face {
    font-family: 'Carmen';
    src: url('../fonts/Carmen.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Carmen';
    src: url('../fonts/Carmen.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Carmen';
    src: url('../fonts/Carmen.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Roscha';
    src: url('../fonts/roscha.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

/* ========== ОБЩИЕ НАСТРОЙКИ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Cormorant Garamond', serif;
    background-color: #0F1A12;
    color: #EDE7D9;
    line-height: 1.7;
    font-size: 18px;
    background-image: radial-gradient(ellipse at 50% 0%, #1E2E1E 0%, #0F1A12 80%);
    background-attachment: fixed;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ========== ШАПКА ========== */
header {
    background: rgba(8, 18, 12, 0.9);
    border-bottom: 2px solid #2C3A2C;
    padding: 15px 0;
    box-shadow: 0 5px 25px rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
    z-index: 100;
    position: relative;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.logo a {
    font-family: 'Carmen', sans-serif;
    font-size: 2.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #C4B89A;
    text-shadow: 0 0 10px #2C3A2C, 2px 2px 0 #1A2A1A;
    line-height: 1.2;
    text-decoration: none;
}
.logo a:hover {
    color: #EDE7D9;
    text-shadow: 0 0 20px #A58F6B;
}
.logo span {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: #8F9E8B;
    text-transform: lowercase;
    font-style: italic;
}
.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.user-actions a {
    color: #C4B89A;
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.2s;
    font-weight: 500;
}
.user-actions a:hover {
    color: #EDE7D9;
    text-shadow: 0 0 8px #A58F6B;
}
/* Кнопки Вход/Регистрация */
.user-actions .login-link,
.user-actions .register-link {
    display: inline-block;
    padding: 8px 18px;
    border: 2px solid #2C3A2C;
    border-radius: 40px;
    background: transparent;
    color: #EDE7D9;
    font-family: 'Roscha', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(44, 58, 44, 0.3);
}
.user-actions .login-link:hover,
.user-actions .register-link:hover {
    background: #2C3A2C;
    color: #EDE7D9;
    border-color: #A58F6B;
    box-shadow: 0 0 20px #A58F6B;
    transform: translateY(-2px);
}
.user-actions .login-link:active,
.user-actions .register-link:active {
    transform: translateY(0);
    background: #1A2A1A;
    color: #C4B89A;
    border-color: #2C3A2C;
    box-shadow: 0 0 10px #2C3A2C;
}
/* Авторизованный пользователь */
.user-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: transparent;
    border: 2px solid #2C3A2C;
    border-radius: 40px;
    color: #EDE7D9;
    font-family: 'Roscha', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 0 8px rgba(44, 58, 44, 0.3);
    line-height: 1.2;
}
.user-link::before {
    content: "👤";
    font-size: 1.2rem;
    line-height: 1;
}
.user-link:hover {
    background: #2C3A2C;
    border-color: #A58F6B;
    color: #EDE7D9;
    transform: translateY(-2px);
    box-shadow: 0 0 20px #A58F6B;
}
.user-link:active {
    transform: translateY(0);
    background: #1A2A1A;
    border-color: #2C3A2C;
    box-shadow: 0 0 10px #2C3A2C;
}
.wishlist-link,
.logout-link {
    display: inline-block;
    padding: 8px 18px;
    border: 2px solid #2C3A2C;
    border-radius: 40px;
    background: transparent;
    color: #EDE7D9;
    font-family: 'Roscha', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(44, 58, 44, 0.3);
}
.wishlist-link:hover,
.logout-link:hover {
    background: #2C3A2C;
    color: #EDE7D9;
    border-color: #A58F6B;
    box-shadow: 0 0 20px #A58F6B;
    transform: translateY(-2px);
}
.wishlist-link:active,
.logout-link:active {
    transform: translateY(0);
    background: #1A2A1A;
    color: #C4B89A;
    border-color: #2C3A2C;
    box-shadow: 0 0 10px #2C3A2C;
}
.cart-icon {
    background: transparent;
    border: 2px solid #2C3A2C;
    color: #EDE7D9;
    padding: 8px 15px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 8px rgba(44, 58, 44, 0.3);
    font-weight: 600;
    font-family: 'Roscha', sans-serif;
}
.cart-icon:hover {
    background: #2C3A2C;
    color: #EDE7D9;
    border-color: #A58F6B;
    box-shadow: 0 0 20px #A58F6B;
    transform: translateY(-2px);
}
.cart-count {
    background: #A58F6B;
    color: #0F1A12;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

/* ========== ГЕРОЙ ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
    background: #0F1A12;
}
.hero-bog {
    background-image: url('../images/bog-bg.jpg');
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 18, 12, 0.65);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-title {
    font-family: 'Carmen', sans-serif;
    font-size: 4.5rem;
    font-weight: bold;
    color: #EDE7D9;
    text-shadow: 0 0 30px #2C3A2C, 3px 3px 0 #1A2A1A;
    margin-bottom: 20px;
    letter-spacing: 4px;
    animation: fadeInUp 1.2s ease;
}
.hero-subtitle {
    font-size: 1.8rem;
    color: #C4B89A;
    font-style: italic;
    text-shadow: 0 0 20px #0F1A12;
    margin-bottom: 30px;
    animation: fadeInUp 1.4s ease;
}
.hero-btn {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid #A58F6B;
    border-radius: 60px;
    background: transparent;
    color: #EDE7D9;
    font-family: 'Roscha', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(165, 143, 107, 0.2);
    animation: fadeInUp 1.6s ease;
}
.hero-btn:hover {
    background: #A58F6B;
    color: #0F1A12;
    box-shadow: 0 0 40px #A58F6B;
    transform: scale(1.05);
}
/* Светлячки */
.fireflies {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.firefly {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #D4C9A8;
    border-radius: 50%;
    box-shadow: 0 0 10px #D4C9A8, 0 0 20px #D4C9A8;
    animation: floatFirefly 8s infinite alternate ease-in-out;
}
.firefly:nth-child(1) { top:10%; left:20%; animation-duration:6s; }
.firefly:nth-child(2) { top:30%; left:70%; animation-duration:9s; animation-delay:1s; }
.firefly:nth-child(3) { top:60%; left:15%; animation-duration:7s; animation-delay:2s; }
.firefly:nth-child(4) { top:80%; left:60%; animation-duration:10s; animation-delay:0.5s; }
.firefly:nth-child(5) { top:20%; left:85%; animation-duration:8s; animation-delay:3s; }
@keyframes floatFirefly {
    0% { transform:translate(0,0) scale(0.8); opacity:0.3; }
    25% { transform:translate(30px,-40px) scale(1.2); opacity:1; }
    50% { transform:translate(-20px,20px) scale(0.9); opacity:0.8; }
    75% { transform:translate(40px,-10px) scale(1.1); opacity:1; }
    100% { transform:translate(-10px,30px) scale(0.8); opacity:0.4; }
}
@keyframes fadeInUp {
    from { opacity:0; transform:translateY(30px); }
    to { opacity:1; transform:translateY(0); }
}

/* ========== БЛОК О БРЕНДЕ ========== */
.brand-story {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/les.jpg') center/cover no-repeat;
    background-attachment: fixed;
}
.brand-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.brand-text h2 {
    font-family: 'Carmen', sans-serif;
    font-size: 2.8rem;
    color: #C4B89A;
    text-shadow: 0 0 15px #2C3A2C;
    margin-bottom: 20px;
    letter-spacing: 4px;
}
.brand-text p {
    font-size: 1.3rem;
    color: #EDE7D9;
    line-height: 1.9;
    text-shadow: 0 0 8px #0F1A12;
    margin-bottom: 20px;
}
.brand-text .closing {
    font-size: 1.4rem;
    font-style: italic;
    color: #C4B89A;
    border-top: 1px dashed #2C3A2C;
    padding-top: 20px;
}
.heart {
    color: #A58F6B;
    font-size: 2rem;
    vertical-align: middle;
    animation: pulse 2.5s infinite;
}
@keyframes pulse {
    0% { opacity:0.7; text-shadow:0 0 10px #A58F6B; }
    50% { opacity:1; text-shadow:0 0 30px #D4C9A8; }
    100% { opacity:0.7; text-shadow:0 0 10px #A58F6B; }
}
.brand-symbol {
    font-size: 8rem;
    color: #2C3A2C;
    text-align: center;
    opacity: 0.6;
    text-shadow: 0 0 30px #A58F6B;
}

/* ========== КАТЕГОРИИ (плитки) ========== */
.categories-section {
    padding: 60px 0;
}
.section-title {
    font-family: 'Carmen', sans-serif;
    font-size: 2.5rem;
    color: #C4B89A;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #1A2A1A;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0;
}
.category-card {
    display: block;
    background: #1A2A1A;
    border: 2px solid #2C3A2C;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #EDE7D9;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.category-card:hover {
    transform: translateY(-5px);
    border-color: #A58F6B;
    box-shadow: 0 8px 20px rgba(165, 143, 107, 0.3);
}
.category-card h3 {
    font-family: 'Carmen', sans-serif;
    font-size: 1.3rem;
    color: #C4B89A;
    margin-bottom: 8px;
}
.category-card p {
    font-size: 0.95rem;
    color: #8F9E8B;
    line-height: 1.4;
}

/* ========== ПОИСК (на главной) ========== */
.search-section {
    padding: 20px 0 10px;
    text-align: center;
}
.search-section .section-title {
    font-size: 2rem;
    margin-bottom: 20px;
}
.search-form-main {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
}
.search-form-main input {
    flex: 1;
    padding: 12px 20px;
    background: #1F2A1F;
    border: 2px solid #2C3A2C;
    border-right: none;
    border-radius: 40px 0 0 40px;
    color: #EDE7D9;
    font-size: 1.1rem;
    outline: none;
    transition: 0.2s;
}
.search-form-main input:focus {
    border-color: #A58F6B;
    box-shadow: 0 0 20px rgba(165, 143, 107, 0.3);
}
.search-form-main button {
    background: #2C3A2C;
    border: 2px solid #2C3A2C;
    border-left: none;
    border-radius: 0 40px 40px 0;
    color: #EDE7D9;
    padding: 12px 24px;
    font-size: 1.2rem;
    font-family: 'Roscha', sans-serif;
    cursor: pointer;
    transition: 0.2s;
}
.search-form-main button:hover {
    background: #A58F6B;
    border-color: #A58F6B;
    color: #0F1A12;
}

/* ========== КАТАЛОГ И ФИЛЬТРЫ ========== */
.catalog-section {
    padding: 40px 0;
}
.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
}
.catalog-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    width: 100%;
    justify-content: center;
}
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 0 0 10px 0;
}
.category-btn {
    background: transparent;
    border: 2px solid #2C3A2C;
    color: #C4B89A;
    padding: 10px 25px;
    border-radius: 60px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
    font-family: 'Roscha', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 8px rgba(44, 58, 44, 0.3);
    font-weight: 600;
}
.category-btn.active,
.category-btn:hover {
    background: #2C3A2C;
    color: #EDE7D9;
    border-color: #A58F6B;
    box-shadow: 0 0 20px #A58F6B;
    transform: translateY(-2px);
}
.category-btn:active {
    transform: translateY(0);
    background: #1A2A1A;
}
.sort-select {
    background: #1A2A1A;
    border: 2px solid #2C3A2C;
    color: #EDE7D9;
    padding: 8px 15px;
    border-radius: 40px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    cursor: pointer;
}
.sort-select:focus {
    outline: none;
    border-color: #A58F6B;
}
.category-description {
    margin: 20px 0 30px;
    font-style: italic;
    color: #C4B89A;
    text-align: center;
    font-size: 1.2rem;
    padding: 15px;
    border-left: 3px solid #2C3A2C;
    border-right: 3px solid #2C3A2C;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

/* ========== СЕТКА ТОВАРОВ ========== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}
.product-card {
    background: #1A2A1A;
    border: 2px solid #2C3A2C;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 25px rgba(0,0,0,0.8);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}
.product-card:nth-child(1) { animation-delay:0.05s; }
.product-card:nth-child(2) { animation-delay:0.10s; }
.product-card:nth-child(3) { animation-delay:0.15s; }
.product-card:nth-child(4) { animation-delay:0.20s; }
.product-card:nth-child(5) { animation-delay:0.25s; }
.product-card:nth-child(6) { animation-delay:0.30s; }
.product-card:nth-child(7) { animation-delay:0.35s; }
.product-card:nth-child(8) { animation-delay:0.40s; }
.product-card:nth-child(9) { animation-delay:0.45s; }
.product-card:nth-child(10) { animation-delay:0.50s; }
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(165, 143, 107, 0.1), transparent 70%);
    pointer-events: none;
}
.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 35px rgba(0,0,0,0.9), 0 0 30px rgba(44, 58, 44, 0.5);
    border-color: #A58F6B;
}
.product-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-bottom: 2px solid #2C3A2C;
    transition: 0.3s;
}
.product-card:hover img {
    filter: brightness(1.1) contrast(1.05);
}
.product-info {
    padding: 20px;
    background: #1F2A1F;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-title {
    font-family: 'Carmen', sans-serif;
    font-size: 1.6rem;
    font-weight: bold;
    color: #EDE7D9;
    margin-bottom: 8px;
    line-height: 1.3;
}
.product-material {
    font-size: 1.1rem;
    color: #8F9E8B;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}
.product-description {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #C4B89A;
    flex-grow: 1;
    line-height: 1.7;
}
.product-price {
    font-family: 'Carmen', sans-serif;
    font-size: 2rem;
    color: #A58F6B;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 0 8px #2C3A2C;
}
.add-to-cart {
    background: #2C3A2C;
    color: #EDE7D9;
    border: 2px solid #A58F6B;
    padding: 12px 15px;
    font-family: 'Roscha', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    font-size: 1.1rem;
    border-radius: 12px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.5);
    font-weight: 600;
    margin-bottom: 10px;
}
.add-to-cart:hover {
    background: #A58F6B;
    color: #0F1A12;
    border-color: #EDE7D9;
    box-shadow: 0 0 25px #A58F6B;
    transform: translateY(-2px);
}
.add-to-cart:active {
    transform: translateY(0);
    background: #1A2A1A;
    color: #EDE7D9;
}
.wishlist-btn {
    background: transparent;
    border: 2px solid #2C3A2C;
    color: #C4B89A;
    padding: 10px 15px;
    font-family: 'Roscha', sans-serif;
    font-size: 1.1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.wishlist-btn:hover {
    background: #2C3A2C;
    color: #EDE7D9;
    border-color: #A58F6B;
    box-shadow: 0 0 20px #A58F6B;
    transform: translateY(-2px);
}
.wishlist-btn.in-wishlist {
    background: #2C3A2C;
    color: #EDE7D9;
    border-color: #A58F6B;
}

/* ========== КОРЗИНА ========== */
.cart-toggle {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #2C3A2C;
    color: #EDE7D9;
    border: 2px solid #A58F6B;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-size: 32px;
    cursor: pointer;
    box-shadow: 0 0 30px #A58F6B;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.cart-toggle:hover {
    background: #A58F6B;
    color: #0F1A12;
    transform: scale(1.1);
    box-shadow: 0 0 45px #D4C9A8;
}
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: #1A2A1A;
    border-left: 3px solid #A58F6B;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    z-index: 200;
    padding: 25px;
    overflow-y: auto;
    box-shadow: -10px 0 50px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
}
.cart-sidebar.open { right:0; }
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #2C3A2C;
    padding-bottom: 15px;
    margin-bottom: 25px;
}
.cart-header h3 {
    font-family: 'Carmen', sans-serif;
    color: #EDE7D9;
    font-size: 2rem;
    font-weight: bold;
}
.close-cart {
    background: none;
    border: none;
    color: #A58F6B;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    transition: 0.2s;
}
.close-cart:hover {
    color: #EDE7D9;
    transform: scale(1.1);
}
.cart-items {
    flex-grow: 1;
    overflow-y: auto;
}
.cart-item {
    padding: 15px 0;
    border-bottom: 1px solid #2C3A2C;
}
.cart-item-title {
    font-weight: bold;
    color: #EDE7D9;
    font-size: 1.2rem;
    font-family: 'Carmen', sans-serif;
}
.cart-item-price {
    font-family: 'Carmen', sans-serif;
    color: #A58F6B;
    font-size: 1.1rem;
    margin: 5px 0;
}
.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}
.cart-item-actions button {
    background: #1A2A1A;
    border: 1px solid #2C3A2C;
    color: #EDE7D9;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
    font-size: 1rem;
    font-family: 'Roscha', sans-serif;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.cart-item-actions button:hover {
    background: #2C3A2C;
    color: #EDE7D9;
    border-color: #A58F6B;
    transform: scale(1.1);
}
.cart-item-actions .remove-item {
    width: auto;
    height: auto;
    padding: 6px 12px;
    background: #2C3A2C;
    color: #EDE7D9;
    border: 1px solid #A58F6B;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: normal;
    white-space: nowrap;
    margin-left: 8px;
    transition: 0.2s;
    font-family: 'Roscha', sans-serif;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.cart-item-actions .remove-item:hover {
    background: #A58F6B;
    border-color: #EDE7D9;
    color: #0F1A12;
    transform: scale(1.05);
}
.cart-total {
    margin-top: 25px;
    text-align: right;
    font-size: 1.6rem;
    border-top: 2px solid #2C3A2C;
    padding-top: 20px;
    color: #EDE7D9;
}
.cart-total span {
    font-family: 'Carmen', sans-serif;
    color: #A58F6B;
    font-weight: bold;
}
.checkout-btn {
    background: #A58F6B;
    color: #0F1A12;
    border: none;
    padding: 15px;
    width: 100%;
    font-family: 'Roscha', sans-serif;
    font-size: 1.3rem;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
    border-radius: 12px;
    font-weight: bold;
    letter-spacing: 1.5px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.5);
}
.checkout-btn:hover {
    background: #D4C9A8;
    box-shadow: 0 8px 20px #A58F6B;
    transform: translateY(-2px);
}
.checkout-btn:active {
    transform: translateY(0);
    background: #8F9E8B;
}

/* ========== МОДАЛЬНОЕ ОКНО ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.97);
    z-index: 300;
    align-items: center;
    justify-content: center;
}
.modal.open { display: flex; }
.modal-content {
    background: #1A2A1A;
    border: 3px solid #A58F6B;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    box-shadow: 0 0 70px #A58F6B;
    border-radius: 20px;
}
.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #A58F6B;
    font-size: 38px;
    cursor: pointer;
    line-height: 1;
    transition: 0.2s;
}
.close-modal:hover {
    color: #EDE7D9;
    transform: scale(1.1);
}
.modal-content h2 {
    font-family: 'Carmen', sans-serif;
    color: #EDE7D9;
    margin-bottom: 25px;
    text-align: center;
    font-size: 2.2rem;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #C4B89A;
    font-size: 1.1rem;
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: #1F2A1F;
    border: 2px solid #2C3A2C;
    color: #EDE7D9;
    font-family: 'Cormorant Garamond', serif;
    border-radius: 10px;
    font-size: 1rem;
    transition: 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #A58F6B;
    box-shadow: 0 0 20px #A58F6B;
    outline: none;
}
.size-warning-modal {
    background: #1F2A1F;
    border-left: 5px solid #A58F6B;
    padding: 12px;
    margin: 15px 0;
    color: #EDE7D9;
    font-style: italic;
    border-radius: 8px;
}
.consent-group {
    margin: 20px 0;
}
.consent-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #C4B89A;
    font-size: 0.95rem;
    line-height: 1.4;
}
.consent-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #1F2A1F;
    border: 2px solid #2C3A2C;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}
.consent-label input[type="checkbox"]:checked {
    background: #2C3A2C;
    border-color: #A58F6B;
}
.consent-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #EDE7D9;
    font-size: 14px;
    font-weight: bold;
}
.consent-label input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(165,143,107,0.3);
}
.consent-label a {
    color: #A58F6B;
    text-decoration: underline;
    transition: color 0.2s;
}
.consent-label a:hover {
    color: #EDE7D9;
    text-decoration: none;
}

/* ========== СТРАНИЦЫ ЛОГИНА / РЕГИСТРАЦИИ / ПРОФИЛЯ ========== */
.auth-container {
    max-width: 450px;
    margin: 60px auto;
    padding: 30px;
    background: #1A2A1A;
    border: 2px solid #2C3A2C;
    border-radius: 24px;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
}
.auth-container h1 {
    font-family: 'Carmen', sans-serif;
    color: #C4B89A;
    text-align: center;
    margin-bottom: 25px;
    font-size: 2.2rem;
}
.auth-form .form-group { margin-bottom:20px; }
.auth-form label {
    display: block;
    margin-bottom:5px;
    color:#C4B89A;
    font-size:1.1rem;
}
.auth-form input {
    width:100%;
    padding:12px;
    background:#1F2A1F;
    border:2px solid #2C3A2C;
    color:#EDE7D9;
    border-radius:10px;
    font-size:1rem;
}
.auth-form input:focus {
    border-color:#A58F6B;
    box-shadow:0 0 15px #A58F6B;
    outline:none;
}
.auth-btn {
    background: #2C3A2C;
    color: #EDE7D9;
    border: none;
    padding: 14px;
    width: 100%;
    font-family: 'Roscha', sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}
.auth-btn:hover {
    background: #A58F6B;
    color: #0F1A12;
    box-shadow: 0 8px 20px #A58F6B;
    transform: translateY(-2px);
}
.auth-btn:active {
    transform: translateY(0);
    background: #1A2A1A;
    color: #EDE7D9;
}
.auth-links {
    text-align: center;
    margin-top: 20px;
    color: #8F9E8B;
}
.auth-links a {
    color: #A58F6B;
    text-decoration: none;
    font-weight: 600;
}
.auth-links a:hover { text-decoration:underline; }

/* Профиль */
.profile-container { max-width:800px; margin:40px auto; }
.profile-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
    border-bottom:2px solid #2C3A2C;
    padding-bottom:15px;
}
.profile-header h1 {
    font-family:'Carmen',sans-serif;
    color:#C4B89A;
    font-size:2.2rem;
}
.profile-info {
    background:#1A2A1A;
    border:2px solid #2C3A2C;
    border-radius:20px;
    padding:30px;
    margin-bottom:40px;
    box-shadow:0 10px 25px rgba(0,0,0,0.6);
}
.profile-field {
    margin-bottom:20px;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
}
.profile-field label {
    width:150px;
    font-weight:bold;
    color:#C4B89A;
    font-size:1.1rem;
}
.profile-field span {
    color:#EDE7D9;
    font-size:1.2rem;
}
.profile-edit-btn {
    background:#2C3A2C;
    color:#EDE7D9;
    border:none;
    padding:12px 25px;
    border-radius:12px;
    font-family:'Roscha',sans-serif;
    font-size:1.1rem;
    cursor:pointer;
    transition:0.3s;
    margin-top:10px;
    box-shadow:0 4px 8px rgba(0,0,0,0.3);
}
.profile-edit-btn:hover {
    background:#A58F6B;
    color:#0F1A12;
    box-shadow:0 8px 20px #A58F6B;
    transform:translateY(-2px);
}
.orders-history {
    background:#1A2A1A;
    border:2px solid #2C3A2C;
    border-radius:20px;
    padding:30px;
    box-shadow:0 10px 25px rgba(0,0,0,0.6);
}
.orders-history h2 {
    font-family:'Carmen',sans-serif;
    color:#C4B89A;
    margin-bottom:20px;
    font-size:1.8rem;
}
.orders-table {
    width:100%;
    border-collapse:collapse;
}
.orders-table th,
.orders-table td {
    padding:12px;
    text-align:left;
    border-bottom:1px solid #2C3A2C;
}
.orders-table th {
    color:#C4B89A;
    font-weight:bold;
    font-size:1.1rem;
}
.orders-table td { color:#EDE7D9; }

.wishlist-container { margin:40px auto; }
.wishlist-container h1 {
    font-family:'Carmen',sans-serif;
    color:#C4B89A;
    margin-bottom:30px;
    font-size:2.2rem;
    border-bottom:2px solid #2C3A2C;
    padding-bottom:15px;
}
.remove-wishlist {
    background:#1A2A1A;
    border:1px solid #2C3A2C;
    color:#EDE7D9;
    padding:5px 10px;
    border-radius:8px;
    cursor:pointer;
    font-size:0.9rem;
    margin-top:10px;
    transition:0.2s;
    font-family:'Roscha',sans-serif;
    box-shadow:0 2px 5px rgba(0,0,0,0.2);
}
.remove-wishlist:hover {
    background:#2C3A2C;
    color:#EDE7D9;
    border-color:#A58F6B;
    transform:translateY(-1px);
}

/* ========== СТРАНИЦА ТОВАРА ========== */
.product-detail {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    margin:30px 0 50px;
}
.product-gallery {
    display:flex;
    flex-direction:column;
    gap:15px;
}
.main-image {
    width:100%;
    max-height:500px;
    object-fit:contain;
    border:2px solid #2C3A2C;
    border-radius:12px;
    background:#1A2A1A;
    transition:0.2s;
    box-shadow:0 5px 15px rgba(0,0,0,0.5);
}
.thumbnail-list {
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding-bottom:10px;
    scrollbar-width:thin;
    scrollbar-color:#2C3A2C #1A2A1A;
}
.thumbnail-list::-webkit-scrollbar { height:6px; }
.thumbnail-list::-webkit-scrollbar-track { background:#1A2A1A; border-radius:10px; }
.thumbnail-list::-webkit-scrollbar-thumb { background:#2C3A2C; border-radius:10px; }
.thumbnail {
    width:80px;
    height:80px;
    object-fit:cover;
    border:2px solid transparent;
    border-radius:8px;
    cursor:pointer;
    transition:all 0.2s;
    flex-shrink:0;
    opacity:0.7;
    box-shadow:0 2px 5px rgba(0,0,0,0.2);
}
.thumbnail:hover,
.thumbnail.active {
    opacity:1;
    border-color:#A58F6B;
    box-shadow:0 0 10px #A58F6B;
    transform:scale(1.05);
}
.back-button {
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:transparent;
    border:2px solid #2C3A2C;
    color:#C4B89A;
    padding:10px 24px;
    border-radius:40px;
    font-size:1.2rem;
    text-decoration:none;
    transition:0.3s;
    margin:20px 0;
    font-weight:600;
    font-family:'Roscha',sans-serif;
    box-shadow:0 4px 8px rgba(0,0,0,0.2);
}
.back-button:hover {
    background:#2C3A2C;
    color:#EDE7D9;
    border-color:#A58F6B;
    box-shadow:0 8px 15px rgba(165,143,107,0.3);
    transform:translateY(-2px);
}
.product-meta {
    color:#8F9E8B;
    font-size:1.2rem;
    margin-bottom:15px;
    line-height:1.6;
}
.product-meta a {
    color:#A58F6B;
    text-decoration:none;
    border-bottom:1px dotted #2C3A2C;
}
.product-meta a:hover {
    color:#EDE7D9;
    border-bottom-color:#A58F6B;
}
.size-selector {
    margin:25px 0;
}
.size-selector label {
    display:block;
    margin-bottom:12px;
    font-weight:600;
    color:#C4B89A;
    font-size:1.2rem;
    text-transform:uppercase;
    letter-spacing:1px;
    font-family:'Cormorant Garamond',serif;
}
.size-options {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:10px;
}
.size-option {
    display:inline-block;
    padding:10px 22px;
    background:#1A2A1A;
    border:2px solid #2C3A2C;
    color:#EDE7D9;
    border-radius:40px;
    cursor:pointer;
    transition:all 0.2s ease;
    font-size:1.1rem;
    font-weight:600;
    text-align:center;
    min-width:70px;
    font-family:'Roscha',sans-serif;
    box-shadow:0 4px 8px rgba(0,0,0,0.3);
    line-height:1.2;
    user-select:none;
}
.size-option:hover {
    background:#2C3A2C;
    border-color:#A58F6B;
    color:#EDE7D9;
    transform:translateY(-2px);
    box-shadow:0 8px 15px rgba(165,143,107,0.3);
}
.size-option.selected {
    background:#A58F6B;
    color:#0F1A12;
    border-color:#EDE7D9;
    box-shadow:0 0 20px #A58F6B;
    transform:translateY(-1px);
}
.size-option.out-of-stock {
    opacity:0.7;
    background:#1A2A1A;
    border-color:#2C3A2C;
    color:#8F9E8B;
    cursor:pointer;
    box-shadow:none;
}
.size-option.out-of-stock:hover {
    opacity:0.9;
    background:#2C3A2C;
    border-color:#A58F6B;
    color:#EDE7D9;
    transform:translateY(-2px);
    box-shadow:0 8px 15px rgba(165,143,107,0.2);
}
.size-option.out-of-stock::after {
    content:" (под заказ)";
    font-size:0.7rem;
    color:#8F9E8B;
    display:block;
    text-transform:lowercase;
    margin-top:2px;
}
.size-option.out-of-stock.selected {
    background:#2C3A2C;
    color:#EDE7D9;
    border-color:#A58F6B;
    box-shadow:0 0 15px #A58F6B;
    opacity:1;
}
.size-option.out-of-stock.selected:hover {
    background:#A58F6B;
    color:#0F1A12;
    transform:translateY(-2px);
}
.lead-time-warning,
.size-warning-modal {
    background:#1F2A1F;
    border-left:5px solid #A58F6B;
    padding:15px;
    margin:20px 0;
    color:#EDE7D9;
    font-style:italic;
    border-radius:10px;
    font-size:1rem;
    box-shadow:0 2px 8px rgba(0,0,0,0.3);
}
.product-actions {
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:25px;
}

/* ========== СТРАНИЦА КАТЕГОРИИ ========== */
.category-page { padding:20px 0; }
.category-header {
    text-align:center;
    margin-bottom:30px;
}
.category-title {
    font-family:'Carmen',sans-serif;
    font-size:3rem;
    color:#C4B89A;
    text-shadow:0 0 15px #1A2A1A;
    letter-spacing:2px;
    margin-bottom:10px;
}
.category-divider {
    width:80px;
    height:3px;
    background:linear-gradient(90deg, transparent, #A58F6B, transparent);
    margin:0 auto;
    border-radius:2px;
}
.category-description-block {
    display:flex;
    align-items:flex-start;
    gap:15px;
    background:rgba(26,42,26,0.5);
    border-left:4px solid #A58F6B;
    border-radius:12px;
    padding:20px 25px;
    margin-bottom:40px;
    backdrop-filter:blur(5px);
}
.category-quote-icon {
    font-size:2.5rem;
    color:#A58F6B;
    line-height:1;
    opacity:0.7;
    flex-shrink:0;
}
.category-description-text {
    font-size:1.2rem;
    color:#EDE7D9;
    line-height:1.7;
    font-style:italic;
}
.empty-category {
    text-align:center;
    font-size:1.3rem;
    color:#8F9E8B;
    padding:60px 0;
}

/* ========== СТРАНИЦА ЗАКАЗА ========== */
.order-detail {
    max-width:800px;
    margin:40px auto;
    padding:20px;
    background:#1A2A1A;
    border:2px solid #2C3A2C;
    border-radius:20px;
    box-shadow:0 0 30px rgba(0,0,0,0.7);
}
.order-header {
    display:flex;
    justify-content:space-between;
    align-items:baseline;
    border-bottom:2px solid #2C3A2C;
    padding-bottom:15px;
    margin-bottom:20px;
}
.order-header h1 {
    font-family:'Carmen',sans-serif;
    color:#C4B89A;
    font-size:2rem;
    margin:0;
}
.order-date {
    color:#8F9E8B;
    font-size:1.1rem;
}
.order-info {
    margin-bottom:25px;
    font-size:1.2rem;
    background:#1F2A1F;
    padding:15px;
    border-radius:12px;
}
.order-info p { margin:8px 0; }
.order-total {
    font-family:'Carmen',sans-serif;
    color:#A58F6B;
    font-weight:bold;
    font-size:1.4rem;
}
.order-comment {
    background:#1F2A1F;
    border-left:5px solid #A58F6B;
    padding:15px;
    margin:20px 0;
    border-radius:10px;
}
.order-items { margin-top:25px; }
.order-item {
    display:flex;
    gap:20px;
    padding:15px 0;
    border-bottom:1px solid #2C3A2C;
}
.order-item:last-child { border-bottom:none; }
.order-item-image {
    width:100px;
    height:100px;
    flex-shrink:0;
    overflow:hidden;
    border:2px solid #2C3A2C;
    border-radius:10px;
    background:#1A2A1A;
}
.order-item-image img {
    width:100%;
    height:100%;
    object-fit:cover;
}
.order-item-details { flex:1; }
.order-item-details h3 {
    margin:0 0 5px;
    font-size:1.3rem;
}
.order-item-details h3 a {
    color:#EDE7D9;
    text-decoration:none;
}
.order-item-details h3 a:hover {
    color:#A58F6B;
    text-decoration:underline;
}
.item-size {
    color:#8F9E8B;
    margin:5px 0;
}
.item-price {
    font-family:'Carmen',sans-serif;
    color:#A58F6B;
    font-weight:bold;
    margin-top:10px;
    font-size:1.1rem;
}
.status-pending { color:#8F9E8B; }
.status-confirmed { color:#C4B89A; font-weight:bold; }
.status-paid { color:#6B8E6B; font-weight:bold; }
.status-cancelled { color:#B34A4A; font-weight:bold; }

/* ========== ПОДПИСКА TELEGRAM ========== */
.newsletter {
    padding:80px 0;
    background:linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/newsletter-bg.jpg') center/cover no-repeat;
    background-attachment:fixed;
    text-align:center;
}
.newsletter-content h3 {
    font-family:'Carmen',sans-serif;
    font-size:2.5rem;
    color:#C4B89A;
    margin-bottom:10px;
}
.newsletter-content p {
    font-size:1.3rem;
    color:#EDE7D9;
    margin-bottom:30px;
}
.telegram-subscribe-btn {
    display:inline-block;
    padding:14px 40px;
    background:#A58F6B;
    border:none;
    border-radius:60px;
    color:#0F1A12;
    font-family:'Roscha',sans-serif;
    font-size:1.2rem;
    font-weight:600;
    text-decoration:none;
    transition:all 0.3s ease;
    box-shadow:0 4px 12px rgba(0,0,0,0.3);
}
.telegram-subscribe-btn:hover {
    background:#D4C9A8;
    box-shadow:0 8px 20px rgba(165,143,107,0.5);
    transform:scale(1.05);
}

/* ========== ФУТЕР ========== */
footer {
    background:#0F1A12;
    border-top:3px solid #2C3A2C;
    padding:40px 0;
    margin-top:70px;
    position:relative;
}
footer::before {
    content:'';
    position:absolute;
    top:-3px;
    left:0;
    width:100%;
    height:3px;
    background:linear-gradient(90deg, transparent, #A58F6B, #2C3A2C, #A58F6B, transparent);
}
.footer-content {
    font-size:11px;
    line-height:1.4;
    color:#8F9E8B;
}
.footer-content p { margin:5px 0; }
@media (max-width:768px) { .footer-content { font-size:10px; } }
.footer-links {
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
    margin-bottom:25px;
}
.footer-links a {
    display:inline-block;
    padding:8px 20px;
    background:transparent;
    border:2px solid #2C3A2C;
    border-radius:40px;
    color:#C4B89A;
    font-family:'Roscha',sans-serif;
    font-size:1rem;
    font-weight:500;
    text-decoration:none;
    transition:all 0.2s ease;
    box-shadow:0 2px 5px rgba(0,0,0,0.2);
}
.footer-links a:hover {
    background:#2C3A2C;
    color:#EDE7D9;
    border-color:#A58F6B;
    transform:translateY(-2px);
    box-shadow:0 5px 15px rgba(165,143,107,0.3);
}
.payment-logos {
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
    margin:15px 0;
}
.payment-logos img {
    height:30px;
    width:auto;
    opacity:0.8;
    transition:opacity 0.2s ease;
}
.payment-logos img:hover { opacity:1; }
@media (max-width:768px) {
    .payment-logos { gap:15px; }
    .payment-logos img { height:25px; }
}

/* ========== ЮРИДИЧЕСКИЕ СТРАНИЦЫ ========== */
.legal-page {
    max-width:800px;
    margin:40px auto;
    padding:30px;
    background:#1A2A1A;
    border:2px solid #2C3A2C;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.8);
}
.legal-page h1 {
    font-family:'Carmen',sans-serif;
    color:#C4B89A;
    border-bottom:2px solid #2C3A2C;
    padding-bottom:15px;
    margin-bottom:20px;
}
.legal-page .date {
    color:#8F9E8B;
    font-style:italic;
    margin-bottom:30px;
}
.legal-page h2 {
    font-family:'Carmen',sans-serif;
    color:#EDE7D9;
    margin:25px 0 15px;
    font-size:1.5rem;
}
.legal-page p, .legal-page li {
    color:#C4B89A;
    line-height:1.8;
}
.legal-page ul {
    margin-left:20px;
    margin-bottom:20px;
}
.legal-page a { color:#A58F6B; text-decoration:underline; }

/* ========== АДАПТАЦИЯ ========== */
@media (max-width: 768px) {
    body { font-size:16px; }
    .header-inner { flex-direction:column; align-items:stretch; }
    .user-actions { justify-content:space-between; flex-wrap:wrap; }
    .logo { text-align:center; order:1; }
    .hero-title { font-size:2.8rem; }
    .hero-subtitle { font-size:1.4rem; }
    .brand-story-grid { grid-template-columns:1fr; text-align:center; }
    .brand-symbol { font-size:4rem; }
    .product-detail { grid-template-columns:1fr; gap:30px; }
    .main-image { max-height:400px; }
    .thumbnail { width:70px; height:70px; }
    .back-button { padding:8px 20px; font-size:1rem; }
    .size-option { padding:8px 16px; font-size:1rem; }
    .product-meta { font-size:1.1rem; }
    .profile-field { flex-direction:column; align-items:flex-start; }
    .profile-field label { width:100%; margin-bottom:5px; }
    .orders-table { display:block; overflow-x:auto; }
    .wishlist-link, .logout-link, .login-link, .register-link { padding:6px 12px; font-size:1rem; }
    .user-link { padding:6px 12px; font-size:1rem; }
    .user-link::before { font-size:1rem; }
    .category-filter { gap:10px; }
    .category-btn { padding:8px 16px; font-size:1rem; }
    .search-section .section-title { font-size:1.6rem; }
    .search-form-main input { font-size:1rem; padding:10px 15px; }
    .search-form-main button { font-size:1rem; padding:10px 18px; }
    .category-title { font-size:2.2rem; }
    .category-description-block { flex-direction:column; align-items:center; text-align:center; padding:15px; }
    .category-quote-icon { font-size:2rem; }
    .category-description-text { font-size:1rem; }
    .order-item { flex-direction:column; align-items:center; text-align:center; }
    .order-item-image { width:150px; height:150px; }
    .order-header { flex-direction:column; align-items:center; gap:10px; }
    .newsletter-form { flex-direction:column; max-width:100%; }
    .newsletter-form input { border-radius:60px; }
    .newsletter-form button { border-radius:60px; }
}
@media (max-width: 480px) {
    .logo a { font-size:1.8rem; }
    .logo span { font-size:0.8rem; }
    .hero-title { font-size:2.2rem; }
    .hero-subtitle { font-size:1.2rem; }
    .section-title { font-size:2rem; }
    .product-title { font-size:1.4rem; }
    .cart-toggle { width:60px; height:60px; font-size:28px; bottom:15px; right:15px; }
    .auth-container { padding:20px; }
    .size-options { gap:8px; }
    .size-option { padding:8px 12px; min-width:50px; }
    .newsletter-content h3 { font-size:2rem; }
}

/* ========== TOAST-УВЕДОМЛЕНИЯ ========== */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 360px;
    width: 100%;
    pointer-events: none;
}
.toast {
    padding: 16px 20px;
    border-radius: 12px;
    background: #1A2A1A;
    border: 2px solid #2C3A2C;
    box-shadow: 0 8px 25px rgba(0,0,0,0.8);
    color: #EDE7D9;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast.show {
    transform: translateX(0);
    opacity: 1;
}
.toast.hide {
    transform: translateX(120%);
    opacity: 0;
}
.toast-success {
    border-color: #6B8E6B;
    background: #1A2A1A;
}
.toast-success .toast-icon { color: #6B8E6B; }
.toast-error {
    border-color: #B34A4A;
    background: #1A2A1A;
}
.toast-error .toast-icon { color: #B34A4A; }
.toast-warning {
    border-color: #D4C9A8;
    background: #1A2A1A;
}
.toast-warning .toast-icon { color: #D4C9A8; }
.toast-info {
    border-color: #A58F6B;
    background: #1A2A1A;
}
.toast-info .toast-icon { color: #A58F6B; }
.toast-icon {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
}
.toast-close {
    background: none;
    border: none;
    color: #8F9E8B;
    font-size: 1.4rem;
    cursor: pointer;
    margin-left: auto;
    padding: 0 4px;
    transition: 0.2s;
}
.toast-close:hover {
    color: #EDE7D9;
}
@media (max-width: 480px) {
    .toast-container {
        bottom: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
    .toast {
        padding: 14px 16px;
        font-size: 1rem;
    }
}