/* General Styles */
:root {
    --primary-color: #2e3a87; /* Dark Blue for text/accents */
    --secondary-color: #f0f8ff; /* Alice Blue - light background */
    --accent-color: #00ffff; /* Cyan for neon */
    --dark-background: #1a1a2e; /* Dark background for neon elements */
    --text-color: #333;
    --light-text-color: #f0f8ff;
    --shadow-light: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    --shadow-medium: rgba(0, 0, 0, 0.2) 0px 8px 24px;
    --shadow-neon: 0 0 8px var(--accent-color), 0 0 16px var(--accent-color);
    --border-radius: 8px;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll due to animations */
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    text-align: center;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

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

section {
    padding: 4rem 0;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-light);
}

.cta-button:hover {
    background-color: var(--dark-background);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium), var(--shadow-neon);
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-light);
}

.secondary-button:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.pulsate {
    animation: pulsate 1.5s infinite alternate;
}

@keyframes pulsate {
    0% { transform: scale(1); box-shadow: var(--shadow-light); }
    100% { transform: scale(1.03); box-shadow: var(--shadow-medium), 0 0 15px var(--accent-color); }
}

/* Header */
.main-header {
    background-color: var(--light-text-color);
    padding: 1rem 0;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.main-header .logo a {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.main-header .logo img {
    height: 40px;
    margin-right: 0.5rem;
    border-radius: 50%;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li {
    margin-left: 2rem;
}

.main-nav ul li a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.cart-icon-button {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.cart-icon-button:hover {
    color: var(--accent-color);
    text-shadow: var(--shadow-neon);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--accent-color);
    color: var(--dark-background);
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    line-height: 1;
    box-shadow: var(--shadow-neon);
}

/* Hero Section */
.hero-section {
    background-image: url('pictures/graphics/hero-fashion-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text-color);
    text-align: center;
    padding: 8rem 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: var(--light-text-color);
    background: none; /* Override gradient for hero H1 */
    -webkit-text-fill-color: var(--light-text-color); /* Ensure text is white */
}

.hero-content .slogan {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--light-text-color);
}

.hero-content .cta-button {
    background-color: var(--accent-color);
    color: var(--dark-background);
    box-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color);
}

.hero-content .cta-button:hover {
    background-color: var(--light-text-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px var(--accent-color), 0 0 30px var(--accent-color);
}

/* About Us Section */
.about-section {
    background-color: var(--light-text-color);
    text-align: center;
}

.about-section h2 .icon-glow {
    margin-right: 0.8rem;
    color: var(--accent-color);
}

.about-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
}

/* Product Grid Section */
.products-section {
    background-color: var(--secondary-color);
}

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

.product-card {
    background-color: var(--light-text-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium), 0 0 10px rgba(0, 255, 255, 0.3);
}

.product-card img {
    max-width: 100%;
    height: 250px; /* Fixed height for product images */
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    flex-grow: 1;
}

.product-card .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: green;
    margin-bottom: 1rem;
}

.product-card .view-details-button {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    font-weight: 600;
}

.product-card .view-details-button:hover {
    background-color: var(--dark-background);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium), var(--shadow-neon);
}

/* Featured Products Slider */
.featured-slider-section {
    background-color: var(--dark-background);
    color: var(--light-text-color);
    padding: 6rem 0;
}

.featured-slider-section h2 {
    color: var(--light-text-color);
    background: none;
    -webkit-text-fill-color: var(--light-text-color);
}

.slider-container {
    position: relative;
    margin-top: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.product-slide {
    width: calc(33.33% - 40px); /* 3 items per row */
    box-sizing: border-box;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    background-color: #2a2a4a; /* Slightly lighter dark for slides */
    border-radius: var(--border-radius);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-slide:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium), 0 0 15px var(--accent-color);
}

.product-slide img {
    max-width: 100%;
    height: 280px; /* Fixed height for slider images */
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.product-slide h3 {
    color: var(--light-text-color);
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.product-slide p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.product-slide .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: green;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--light-text-color);
    border: none;
    padding: 1rem 0.8rem;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background-color: var(--accent-color);
    color: var(--dark-background);
    box-shadow: var(--shadow-neon);
}

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

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

/* Why Choose Us / Benefits */
.benefits-section {
    background-color: var(--light-text-color);
}

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

.benefit-card {
    background-color: var(--light-text-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium), 0 0 10px rgba(0, 255, 255, 0.3);
}

.benefit-card i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.benefit-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.benefit-card p {
    color: #555;
    font-size: 1rem;
}

/* Call to Action (CTA) Section */
.cta-section {
    background-image: url('pictures/graphics/cta-fashion-bg.png');
    background-size: cover;
    background-position: center;
    color: var(--light-text-color);
    text-align: center;
    padding: 6rem 0;
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--light-text-color);
    background: none;
    -webkit-text-fill-color: var(--light-text-color);
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-content .cta-button {
    background-color: var(--accent-color);
    color: var(--dark-background);
    box-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color);
}

.cta-content .cta-button:hover {
    background-color: var(--light-text-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px var(--accent-color), 0 0 30px var(--accent-color);
}

/* Footer */
.footer-section {
    background-color: var(--dark-background);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0;
    font-size: 0.95rem;
}

.footer-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-info, .footer-links {
    flex: 1 1 45%;
    margin-bottom: 2rem;
}

.footer-info {
    text-align: left;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--light-text-color);
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-logo-link img {
    height: 35px;
    margin-right: 0.5rem;
    border-radius: 50%;
}

.footer-info p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-info a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    text-shadow: var(--shadow-neon);
    text-decoration: none;
}

/* Modals */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* 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.6); /* Black w/ opacity */
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--light-text-color);
    margin: auto;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    position: relative;
    max-width: 90%;
    width: 600px;
    animation: fadeInScale 0.3s ease-out;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

/* Product Details Modal Specific */
.product-details-content .modal-body {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.product-details-content img {
    max-width: 40%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.product-details-content .product-info {
    flex: 1;
}

.product-details-content .product-info h2 {
    text-align: left;
    margin-top: 0;
    font-size: 1.8rem;
}

.product-details-content .modal-product-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: green;
    margin-top: 1rem;
}

.product-details-content .quantity-selector {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-details-content .quantity-selector label {
    font-weight: 600;
    color: var(--primary-color);
}

.product-details-content .quantity-selector input[type="number"] {
    width: 70px;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.product-details-content #add-to-cart-button {
    width: 100%;
    margin-top: 1rem;
}

.product-details-content #modal-product-description h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.product-details-content #modal-product-description ul {
    list-style: disc inside;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.product-details-content #modal-product-description li {
    margin-bottom: 0.3rem;
}

/* Cart Modal Specific */
.cart-content {
    width: 700px;
    max-width: 95%;
}

#cart-items-container {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding-right: 1rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

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

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-details h3 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
}

.cart-item-details .item-price {
    font-size: 1rem;
    color: #666;
}

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

.cart-item-actions .quantity-input {
    width: 60px;
    padding: 0.4rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.cart-item-actions .remove-item-button {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.cart-item-actions .remove-item-button:hover {
    color: #c82333;
}

.cart-item-subtotal {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 80px;
    text-align: right;
}

.cart-summary {
    border-top: 2px solid var(--primary-color);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    text-align: right;
}

.cart-summary p {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cart-summary #cart-total {
    color: green;
}

.cart-summary .delivery-payment-info {
    font-size: 0.9rem;
    color: #777;
    margin-top: 1rem;
    line-height: 1.4;
}

#checkout-button {
    width: 100%;
    margin-top: 1.5rem;
}

/* Checkout Form Modal Specific */
.checkout-form-content {
    width: 600px;
    max-width: 95%;
}

.checkout-form-content .form-group {
    margin-bottom: 1rem;
}

.checkout-form-content label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.checkout-form-content input[type="text"],
.checkout-form-content input[type="email"],
.checkout-form-content input[type="tel"],
.checkout-form-content select,
.checkout-form-content textarea {
    width: calc(100% - 20px);
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 1rem;
    box-sizing: border-box;
}

.checkout-form-content textarea {
    resize: vertical;
}

.checkout-form-content .cta-button {
    width: 100%;
    margin-top: 1.5rem;
}

/* Order Confirmation Modal Specific */
.order-confirmation-content {
    text-align: center;
}

.order-confirmation-content h2 {
    font-size: 2.2rem;
    color: var(--accent-color);
    background: none;
    -webkit-text-fill-color: var(--accent-color);
}

.order-confirmation-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.order-confirmation-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

.order-confirmation-content .close-modal-button {
    margin-top: 1.5rem;
}

/* Cookie Banner */
.cookie-banner {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: calc(100% - 3rem);
    background-color: var(--dark-background);
    color: var(--light-text-color);
    padding: 1rem 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1500;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-top: 2px solid var(--accent-color);
}

.cookie-banner p {
    margin: 0;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.4;
}

.cookie-banner p a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-banner p a:hover {
    color: var(--light-text-color);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-banner .cta-button, .cookie-banner .secondary-button {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 5px;
    white-space: nowrap;
}

.cookie-banner .cta-button {
    background-color: var(--accent-color);
    color: var(--dark-background);
    box-shadow: var(--shadow-neon);
}

.cookie-banner .cta-button:hover {
    background-color: var(--light-text-color);
    color: var(--primary-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.cookie-banner .secondary-button {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.cookie-banner .secondary-button:hover {
    background-color: var(--accent-color);
    color: var(--dark-background);
}

/* Cookie Customization Modal */
.cookie-customization-content {
    width: 500px;
    max-width: 90%;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.cookie-category input[type="checkbox"] {
    margin-right: 0.8rem;
    transform: scale(1.2);
}

.cookie-category label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cookie-category p.cookie-description {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
    margin-left: 1.8rem;
}

#save-cookie-preferences {
    width: 100%;
    margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-nav ul li {
        margin-left: 1.5rem;
    }
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-content .slogan {
        font-size: 1.3rem;
    }
    .product-slide {
        min-width: calc(50% - 2rem); /* 2 items per row on medium screens */
    }
    .footer-info, .footer-links {
        flex: 1 1 100%;
        text-align: center;
    }
    .footer-links ul {
        text-align: center;
    }
    .product-details-content .modal-body {
        flex-direction: column;
        align-items: center;
    }
    .product-details-content img {
        max-width: 70%;
        margin-bottom: 1.5rem;
    }
    .product-details-content .product-info h2 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-header .logo {
        margin-bottom: 1rem;
        width: 100%;
        text-align: center;
    }
    .main-nav ul {
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
    }
    .main-nav ul li {
        margin: 0 0.8rem;
    }
    .cart-icon-button {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 2rem;
    }
    .hero-section {
        padding: 6rem 0;
        min-height: 500px;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content .slogan {
        font-size: 1.1rem;
    }
    .product-grid {
        grid-template-columns: 1fr; /* 1 item per row on small screens */
    }
    .product-slide {
        min-width: 100%; /* 1 item per row on small screens */
        margin: 0;
    }
    .slider-nav {
        padding: 0.8rem 0.6rem;
        font-size: 1.2rem;
    }
    .cta-content h2 {
        font-size: 2.2rem;
    }
    .cta-content p {
        font-size: 1.1rem;
    }
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    .cookie-banner .cta-button, .cookie-banner .secondary-button {
        width: 100%;
    }
    .modal-content {
        padding: 1.5rem;
    }
    .product-details-content img {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .main-nav ul li {
        margin: 0 0.5rem;
        font-size: 0.9rem;
    }
    .main-header .logo a {
        font-size: 1.5rem;
    }
    .main-header .logo img {
        height: 35px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content .slogan {
        font-size: 1rem;
    }
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    .product-card h3 {
        font-size: 1.3rem;
    }
    .product-card .price {
        font-size: 1.1rem;
    }
    .product-slide h3 {
        font-size: 1.4rem;
    }
    .product-slide .price {
        font-size: 1.2rem;
    }
    .benefit-card i {
        font-size: 3rem;
    }
    .benefit-card h3 {
        font-size: 1.4rem;
    }
    .modal-content h2 {
        font-size: 1.8rem;
    }
    .close-button {
        font-size: 1.5rem;
    }
    .product-details-content .product-info h2 {
        font-size: 1.5rem;
    }
    .product-details-content .modal-product-price {
        font-size: 1.4rem;
    }
    .cart-item img {
        width: 60px;
        height: 60px;
    }
    .cart-item-details h3 {
        font-size: 1rem;
    }
    .cart-item-actions .quantity-input {
        width: 50px;
    }
    .cart-item-subtotal {
        min-width: 60px;
        font-size: 0.9rem;
    }
    .cart-summary p {
        font-size: 1.1rem;
    }
    .cart-summary .delivery-payment-info {
        font-size: 0.8rem;
    }
}
/* New styles for content within .infoGuardBlock */

.infoGuardBlock {
    /* Padding for the block itself, providing space from the edges */
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    /* Optional: Max-width and margin for centering the content block */
    margin-left: auto;
    margin-right: auto;
    /* Background color for the block, if it needs to stand out */
    background-color: var(--light-text-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.infoGuardBlock h1 {
    /* Heading 1 style: Moderate size for main section titles within the block */
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color); /* Using the primary brand color */
    font-family: 'Playfair Display', serif; /* Consistent with other headings */
}

.infoGuardBlock h2 {
    /* Heading 2 style: Slightly smaller than H1 */
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.infoGuardBlock h3 {
    /* Heading 3 style: Standard sub-section title size */
    font-size: 1.75rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.infoGuardBlock h4 {
    /* Heading 4 style: Smaller heading, good for minor titles or lists */
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.infoGuardBlock h5 {
    /* Heading 5 style: Smallest heading, useful for emphasizing short phrases */
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 0.6rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.infoGuardBlock p {
    /* Paragraph style: Standard text size and line height for readability */
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-color); /* Using the general text color */
}

.infoGuardBlock ul {
    /* Unordered list style: Default disc bullet points with indentation */
    list-style-type: disc;
    padding-left: 1.5rem; /* Standard indentation */
    margin-bottom: 1rem;
    color: var(--text-color);
}

.infoGuardBlock ol {
    /* Ordered list style: Default decimal numbers with indentation */
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.infoGuardBlock li {
    /* List item style: Spacing between individual list items */
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Optional: Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .infoGuardBlock {
        padding-top: 2rem;
        padding-bottom: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .infoGuardBlock h1 {
        font-size: 2rem;
    }
    .infoGuardBlock h2 {
        font-size: 1.75rem;
    }
    .infoGuardBlock h3 {
        font-size: 1.5rem;
    }
    .infoGuardBlock h4 {
        font-size: 1.3rem;
    }
    .infoGuardBlock h5 {
        font-size: 1.1rem;
    }
    .infoGuardBlock p,
    .infoGuardBlock li {
        font-size: 0.95rem;
    }
    .infoGuardBlock ul,
    .infoGuardBlock ol {
        padding-left: 1rem;
    }
}

.slider-container {
  overflow: hidden; /* чтобы карточки не вылезали */
}

.slider-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.product-slide {
  flex: 0 0 auto; /* фиксированная ширина */
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-slide img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

@media (max-width: 991px){
    .main-nav{
        display: none;
    }

    .main-header .container{
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: nowrap;
        align-items: center;
    }

    .cart-item{
        flex-direction: column !important;
    }

    .cart-items-container{
        max-height: none;
  overflow: visible;
    }

    .footer-logo-link{
        justify-content: center;
    }
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;         /* перенос на новые строки */
  gap: 2rem;               /* расстояние между карточками */
  margin-top: 3rem;
  justify-content: center; /* выравнивание по центру */
}

.benefit-card {
  flex: 1 1 280px;         /* базовая ширина 280px, но можно растягиваться */
  max-width: 400px;        /* ограничение максимальной ширины */
}
