/* Base Styles */
:root {
    --primary-color: #d82b1f; /* Swiss Red */
    --secondary-color: #8b0000; /* Darker Red */
    --accent-color: #f8b83c; /* Golden Yellow */
    --background-color: #ffffff;
    --light-bg: #f8f9fa;
    --dark-color: #333333;
    --text-color: #333333;
    --text-light: #6c757d;
    --border-color: #e1e1e1;
    --success-color: #28a745;
    --error-color: #dc3545;
    --border-radius: 6px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --section-padding: 60px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

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

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

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

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.btn-secondary {
    background-color: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.btn-outline {
    background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: white;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

.btn-large {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

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

section {
    padding: var(--section-padding);
}

/* Header */
header {
    background-color: var(--background-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 60px;
    border-radius: var(--border-radius);
}

nav ul {
    display: flex;
    gap: 25px;
}

nav a {
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

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

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a.active {
    color: var(--primary-color);
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

#cart-count {
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -10px;
}

/* Hero Section */
.hero {
    background-color: var(--light-bg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Advantages Section */
.advantages {
    background-color: white;
    padding: 80px 0;
}

.advantages h2 {
    margin-bottom: 50px;
}

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

.advantage-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    background-color: var(--light-bg);
    box-shadow: var(--box-shadow);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.advantage-card h3 {
    margin-bottom: 10px;
}

.advantage-card p {
    color: var(--text-light);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
    padding: 20px;
}

.stat h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat p {
    font-weight: 600;
}

.cta-container {
    text-align: center;
}

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

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-content h3 {
    margin-top: 30px;
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: white;
}

.products h2 {
    margin-bottom: 40px;
}

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

.product-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
}

.product-info .price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-info .description {
    margin-bottom: 15px;
    color: var(--text-light);
}

.product-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

/* Page Header */
.page-header {
    background-color: var(--light-bg);
    text-align: center;
    padding: 60px 0;
}

.page-header h1 {
    margin-bottom: 10px;
}

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

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-detail-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.product-detail-info h1 {
    margin-bottom: 10px;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.stars {
    display: flex;
    color: var(--accent-color);
}

.product-description {
    margin-bottom: 30px;
}

.product-options {
    margin-bottom: 30px;
}

.option-group {
    margin-bottom: 20px;
}

.option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.radio-options, .checkbox-options {
    display: grid;
    gap: 10px;
}

.radio-option, .checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-selector {
    margin-top: 30px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.quantity-btn {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
}

#quantity {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-left: none;
    border-right: none;
}

/* Product Details Tabs */
.product-details-tabs {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 10px 20px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.tab-button:hover, .tab-button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tab-content {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    text-align: left;
    margin-bottom: 20px;
}

.tab-content h2::after {
    margin-left: 0;
}

/* Nutrition Table */
.nutrition-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.nutrition-row {
    border-bottom: 1px solid var(--border-color);
}

.nutrition-header {
    font-weight: 700;
    background-color: var(--light-bg);
}

.nutrition-cell {
    padding: 12px 15px;
}

.nutrition-row:nth-child(even) {
    background-color: var(--light-bg);
}

/* Ingredients Section */
.ingredients-section h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.allergens {
    margin-top: 30px;
    padding: 15px;
    background-color: #fff9e6;
    border-left: 4px solid var(--accent-color);
    border-radius: var(--border-radius);
}

/* Preparation Steps */
.preparation-steps {
    margin-top: 20px;
}

.step {
    margin-bottom: 20px;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

/* Reviews Section */
.reviews-summary {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.average-rating {
    text-align: center;
    flex: 0 0 200px;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1;
}

.average-rating .stars {
    margin: 10px 0;
    justify-content: center;
}

.rating-bars {
    flex: 1;
    min-width: 300px;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-bar span:first-child {
    width: 70px;
}

.rating-bar span:last-child {
    width: 40px;
    text-align: right;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background-color: var(--light-bg);
    border-radius: 4px;
    margin: 0 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--accent-color);
}

.customer-reviews {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.review {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-name {
    font-weight: 600;
}

.review-date {
    color: var(--text-light);
}

.review-rating {
    margin-bottom: 10px;
}

/* Related Products */
.related-products {
    padding: 60px 0;
}

.related-products h2 {
    margin-bottom: 40px;
}

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

.related-product {
    text-align: center;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background-color: white;
}

.related-product:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.related-product img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.related-product h3 {
    margin-bottom: 10px;
}

.related-product .price {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Cart Page */
.cart-section {
    min-height: 400px;
    padding: 60px 0;
}

.cart-empty {
    text-align: center;
    padding: 60px 0;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
}

.cart-empty svg {
    color: var(--text-light);
    margin-bottom: 20px;
}

.cart-items-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.cart-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
    background-color: var(--light-bg);
    padding: 15px 20px;
    font-weight: 600;
}

.cart-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

.cart-item-details h3 {
    margin-bottom: 5px;
}

.cart-item-price, .cart-item-total {
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
}

.cart-quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid var(--border-color);
    margin: 0 5px;
    padding: 5px;
}

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

.cart-subtotal, .cart-tax, .cart-delivery, .cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cart-total {
    font-size: 1.2rem;
    font-weight: 700;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.cart-actions {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

/* Popular Items Section */
.popular-items {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.popular-items h2 {
    margin-bottom: 40px;
}

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

.popular-item {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.popular-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.popular-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.popular-item-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.popular-item-info h3 {
    margin-bottom: 10px;
}

.popular-item-info .price {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.popular-item-info .description {
    margin-bottom: 15px;
    color: var(--text-light);
    flex: 1;
}

/* Delivery Info Section */
.delivery-info {
    padding: 60px 0;
}

.delivery-info h2 {
    margin-bottom: 40px;
}

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

.delivery-info-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    background-color: var(--light-bg);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.delivery-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.delivery-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.delivery-info-card h3 {
    margin-bottom: 15px;
}

/* Checkout Page */
.checkout-section {
    padding: 60px 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
}

.checkout-form-container, .order-summary-container {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.checkout-form-container h2, .order-summary-container h2 {
    text-align: left;
    margin-bottom: 30px;
}

.checkout-form-container h2::after, .order-summary-container h2::after {
    margin-left: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(216, 43, 31, 0.2);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 4px;
}

.checkout-items {
    margin-bottom: 30px;
}

.checkout-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.checkout-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-right: 15px;
}

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

.checkout-item-details {
    flex: 1;
}

.checkout-item-details h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.checkout-item-price {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.order-totals {
    margin-bottom: 20px;
}

.order-subtotal, .order-tax, .order-delivery, .order-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.order-total {
    font-size: 1.2rem;
    font-weight: 700;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.empty-checkout {
    padding: 30px;
    text-align: center;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
}

/* Success Page */
.success-section {
    padding: 80px 0 60px;
    text-align: center;
}

.success-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.success-icon {
    color: var(--success-color);
    margin-bottom: 20px;
}

.success-message {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.success-info {
    margin-bottom: 30px;
}

.success-actions {
    margin-top: 30px;
}

/* Order Timeline */
.order-timeline {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.timeline {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 2px;
    background-color: var(--border-color);
    left: 50px;
    top: 0;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    padding-left: 100px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    left: 25px;
    top: 0;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1;
}

.timeline-content {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Customer Recommendations */
.customer-recommendations {
    padding: 60px 0;
}

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

.recommendation-card {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.recommendation-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.recommendation-card h3 {
    margin-bottom: 10px;
}

.recommendation-card p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Interesting Facts Section */
.interesting-facts {
    padding: 60px 0;
    background-color: var(--light-bg);
}

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

.fact-card {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.fact-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Glossary Section */
.glossary {
    padding: 60px 0;
}

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

.glossary-item {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.glossary-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo img {
    max-height: 60px;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
}

.footer-links h3, .footer-contact h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    margin-top: 10px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #bbb;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #bbb;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 20px;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content p {
    flex: 1 0 300px;
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-link {
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .order-summary-container {
        order: -1;
    }
    
    .cart-header, .cart-item {
        grid-template-columns: 3fr 1fr 1fr;
    }
    
    .cart-header-price, .cart-header-quantity, .cart-item-price, .cart-item-quantity {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .advantages-grid, .facts-grid, .glossary-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
}
