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

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --light-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    
    --primary-color: #667eea;
    --secondary-color: #f093fb;
    --accent-color: #4facfe;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 25px rgba(0,0,0,0.15);
    --shadow-heavy: 0 10px 40px rgba(0,0,0,0.2);
    --border-radius: 12px;
    --border-radius-small: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background: var(--light-gradient);
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin: 0 0 1rem 0;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--dark-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

/* Modern Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

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

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo .love {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

header nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

header nav ul li a:hover::after {
    width: 100%;
}

header nav ul li a:hover {
    color: var(--primary-color);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-icons svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-dark);
    cursor: pointer;
    transition: stroke 0.3s ease;
}

.header-icons svg:hover {
    stroke: var(--primary-color);
}

.header-icons .icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    stroke: var(--text-dark);
    transition: var(--transition);
}

.header-icons .icon:hover {
    stroke: var(--primary-color);
    transform: scale(1.1);
}

.cart-icon {
    position: relative;
}

.cart-icon #cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary-gradient);
    color: var(--white);
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* Modern Hero Section */
#hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

#hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    text-align: left;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: none;
    -webkit-text-fill-color: var(--white);
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn, .read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: var(--secondary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-light);
}

.read-more:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Modern Features Section */
#features {
    padding: 5rem 0;
    background: var(--light-gradient);
}

.feature-card h3 {
    color: var(--text-dark);
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.feature-card p {
    color: var(--text-dark);
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--white);
    display: block;
    margin: 0 auto;
    fill: none;
    stroke-width: 2;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Updated USP Section */
#usp {
    padding: 5rem 0;
    background: var(--primary-gradient);
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.usp-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.usp-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

.usp-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.9;
}

.usp-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #7B68EE; /* Фиолетовый цвет */
    border-radius: 15px; /* Более скругленные углы */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Более выраженная тень */
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 150px; /* Минимальная высота для единообразия */
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02); /* Эффект при наведении */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 6vw, 3rem); /* Адаптивный размер шрифта */
    font-weight: 900; /* Более жирный шрифт */
    margin-bottom: 0.5rem;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 4px 10px rgba(0,0,0,0.4); /* Более выраженная тень для текста */
    line-height: 1; /* Уменьшаем межстрочный интервал */
}

.stat-label {
    font-size: 1.1rem; /* Увеличенный размер шрифта */
    font-weight: 600; /* Более жирный шрифт */
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase; /* Заглавные буквы */
    letter-spacing: 1px; /* Увеличенный интервал между буквами */
    line-height: 1.3;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modern Testimonials Section */
#testimonials {
    padding: 5rem 0;
    background: var(--light-gradient);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.testimonial-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
}

.testimonial-rating .star {
    color: #ffd700;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-product {
    background: var(--light-gradient);
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius-small);
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Modern Product Cards */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.product {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    padding: 1.5rem;
    text-align: center;
}

.product:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product:hover::before {
    opacity: 1;
}

.product img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: var(--white);
    padding: 1rem;
    box-sizing: border-box;
    transition: transform 0.3s ease;
    border-radius: var(--border-radius-small);
}

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

.product h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem 0;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
}

.product p {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0.5rem 0 1rem 0;
}

.product .add-to-cart {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.product .add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.product .add-to-cart:hover::before {
    left: 100%;
}

.product .add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Modern Collection Grid */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.collection-item {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
}

.collection-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.collection-item img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: var(--white);
    padding: 1rem;
    box-sizing: border-box;
}

.collection-item:hover img {
    transform: scale(1.1);
}

.collection-item h3 {
    padding: 1rem;
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-dark);
    background: var(--light-gradient);
}

.collection-item .add-to-cart {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 10px;
}

.collection-item .add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.collection-item .add-to-cart:hover::before {
    left: 100%;
}

.collection-item .add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* Modern About Section */
#about {
    background: var(--white);
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    text-align: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Custom checkbox styles for about section */
.about-features {
    margin-top: 2rem;
}

.about-features fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

.about-features legend {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}

.about-features .control {
    display: inline-flex;
    position: relative;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 99em;
    width: 100%;
    justify-content: center;
}

.about-features .control input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.about-features .control svg {
    margin-right: 12px;
    border-radius: 50%;
    box-shadow: 3px 3px 16px rgba(0, 0, 0, 0.2);
}

.about-features .control__content {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    font-size: 1.1rem;
    line-height: 1.5;
    color: white;
    font-weight: bold;
    background-color: rgba(102, 126, 234, 0.2);
    border-radius: 99em;
    width: 100%;
    justify-content: center;
    transition: all 0.3s ease;
}

.about-features .control:hover .control__content {
    background-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.about-features .control input:focus ~ .control__content {
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.4);
    background-color: rgba(102, 126, 234, 0.3);
}

.about-features .control input:checked ~ .control__content {
    background-color: rgba(102, 126, 234, 0.8);
}

.about-features .control input:disabled {
    cursor: not-allowed;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Responsive design for About section */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-feature {
        justify-content: center;
    }
}

/* Modern Contact Section */
#contact {
    background: var(--light-gradient);
    padding: 80px 0;
}

#contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-gradient);
    color: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    fill: none;
}

.contact-details h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-details p {
    font-size: 1rem;
    color: var(--text-light);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    width: 100%;
    background: var(--secondary-gradient);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: var(--border-radius-small);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Modern Footer */
.modern-footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius-small);
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.footer-bottom-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* Modern Perfume Cards */
.hero-images {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.hero-images.chessboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.perfume-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.perfume-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.perfume-card:hover::before {
    opacity: 1;
}

.perfume-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.perfume-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.perfume-card:hover img {
    transform: scale(1.1);
}

.perfume-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.price {
    margin-bottom: 1rem;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-right: 10px;
}

.new-price {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 800;
}

.discount-ribbon {
    position: absolute;
    top: 15px;
    right: -30px;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: white;
    padding: 5px 35px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.perfume-card .add-to-cart {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    max-width: 180px;
    position: relative;
    overflow: hidden;
}

.perfume-card .add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.perfume-card .add-to-cart:hover::before {
    left: 100%;
}

.perfume-card .add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.product .add-to-cart {
    background-color: #e74c3c;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product .add-to-cart:hover {
    background-color: #c0392b;
}

#cart-items button {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

#cart-modal #checkout {
    display: block;
    width: 100%;
    background-color: var(--primary);
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: var(--transition);
}

#cart-modal #checkout:hover {
    background-color: var(--primary-dark);
}

#order-form #choose-pvz {
    background-color: #007bff;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

#order-form #confirm-order {
    background-color: #28a745;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjusted minmax */
    gap: 30px;
    padding: 40px 0;
}

/* About Section */
#about {
    background-color: #333;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

#about h2 {
    font-size: 36px; /* Adjusted to match general h2 */
    margin-bottom: 20px;
}

#about p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: #222;
    color: #bbb;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 800px;
    border-radius: 8px; /* Единый радиус */
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* Единая тень */
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1003;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 1px solid #ddd;
}

.close-button:hover,
.close-button:focus {
    color: #000;
    text-decoration: none;
    background: rgba(255,255,255,1);
    border-color: #999;
}

.modal-content h2 {
    margin-top: 0;
    color: #333;
    font-size: 36px; /* Adjusted to match general h2 */
    margin-bottom: 20px;
}

.modal-content h3 {
    color: var(--primary);
    margin: 25px 0 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.modal-content p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
    font-size: 1rem;
}

.article-content {
    padding: 20px 0;
}

.article-intro {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--secondary);
    margin-bottom: 20px;
}

.article-highlight {
    background: linear-gradient(135deg, var(--light), #f8f9ff);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}

.article-highlight p {
    margin: 0;
    line-height: 1.8;
    font-size: 1.05rem;
}

.article-highlight strong {
    color: var(--primary);
    font-weight: 600;
}

.article-conclusion {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary);
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--light), #f8f9ff);
    border-radius: 12px;
    margin-top: 30px;
    border: 2px solid var(--primary-light);
}

#cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

#cart-modal .modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-large);
}

#cart-modal h2 {
    font-size: 28px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    color: var(--dark);
}

#cart-items div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
}

#cart-items div:last-child {
    border-bottom: none;
}

#cart-items span {
    font-size: 16px;
}

#cart-items button {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

#cart-modal #total {
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    text-align: right;
    color: var(--dark);
    padding: 15px 0;
    border-top: 2px solid var(--primary-light);
}

#cart-modal #checkout {
    display: block;
    width: 100%;
    background-color: #28a745;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
}

#order-form h3 {
    font-size: 28px; /* Adjusted to match general h3 */
    margin-top: 30px;
    margin-bottom: 20px;
}

#order-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

#order-form input[type="text"],
#order-form input[type="tel"],
#order-form input[type="email"] {
    width: calc(100% - 22px);
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#order-form h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
}

#order-form #choose-pvz {
    background-color: #007bff;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

#order-form #selected-pvz {
    width: calc(100% - 22px);
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f0f0f0;
}

#order-form #confirm-order {
    background-color: #28a745;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 48px; /* Adjusted to match general h1 */
    }

    .perfume-card {
        /* Removed fixed width and height */
    }

    .collection-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjusted minmax */
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
    }

    header nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }

    header nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    header nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    header nav ul li {
        margin: 0;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    header nav ul li:last-child {
        border-bottom: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    #hero .container {
        flex-direction: column;
    }

    .hero-images {
        margin-top: 40px;
    }

    .hero-images.chessboard {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        padding: 0 20px;
    }

    .perfume-card {
        margin: 0;
        padding: 15px;
    }

    .perfume-card img {
        width: 150px;
        height: 150px;
    }

    .discount-ribbon {
        font-size: 10px;
        padding: 3px 25px;
        right: -25px;
        top: 10px;
    }

    #usp .container {
        flex-direction: column;
        gap: 30px;
    }

    .usp-text {
        font-size: 24px;
    }

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

    #cart-modal {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
        flex-shrink: 0;
    }

    header nav ul li {
        margin: 0 10px 10px 10px;
    }

    .header-icons .icon {
        width: 20px;
        height: 20px;
        margin-left: 10px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .perfume-card {
        /* Removed fixed width and height */
    }

    .discount-badge {
        font-size: 12px;
        padding: 3px 8px;
    }

    .usp-text {
        font-size: 20px;
    }

    #best-collections h2,
    #catalog h2,
    #about h2 {
        font-size: 30px;
    }

    .collection-item img {
        height: auto; /* Changed to auto */
        max-width: 100%; /* Added max-width */
    }

    .product {
        padding: 15px;
    }

    .product h4 {
        font-size: 18px;
    }

    .product p {
        font-size: 16px;
    }

    .product .add-to-cart {
        padding: 8px 15px;
        font-size: 14px;
    }

    #cart-modal h2 {
        font-size: 24px;
    }

    #cart-modal #checkout,
    #order-form #confirm-order {
        padding: 12px;
        font-size: 16px;
    }

    /* Responsive styles for new sections */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-text h3 {
        font-size: 1.3rem;
    }

    .about-image img {
        height: 300px;
    }

    #contact h2 {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}