:root {
    --primary: #e63946;
    --secondary: #2a9d8f;
    --dark: #264653;
    --light: #f4a261;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray: #6c757d;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--off-white);
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 16px;
}

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

.btn-primary:hover {
    background-color: #c1121f;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background-color: #21867a;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.site-header {
    background-color: var(--dark);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--light);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 10px 15px;
    border-radius: 30px;
}

.main-nav a:hover {
    background-color: var(--primary);
    color: var(--white);
}

.cart-icon a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    background-color: var(--primary);
    padding: 10px 20px;
    border-radius: 30px;
    transition: var(--transition);
}

.cart-icon a:hover {
    background-color: #c1121f;
    transform: scale(1.05);
}

.hero-section {
    background: linear-gradient(135deg, var(--dark) 0%, #355070 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--light);
}

.hero-content p {
    font-size: 20px;
    max-width: 700px;
    margin: auto;
    margin-bottom: 30px;
}

.features-section {
    padding: 60px 20px;
}

.features-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--dark);
}

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

.feature-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.feature-box h3 {
    margin: 15px 0;
    color: var(--primary);
}

.feature-box p {
    color: var(--gray);
}

.story-section {
    background-color: var(--white);
    padding: 60px 20px;
}

.story-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--dark);
}

.story-section h3 {
    color: var(--primary);
    margin: 20px 0 10px;
}

.story-content p {
    margin-bottom: 15px;
    color: var(--gray);
    line-height: 1.8;
}

.products-section {
    padding: 60px 20px;
}

.products-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

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

.product-card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.product-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

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

.product-card p {
    color: var(--gray);
    margin-bottom: 10px;
}

.product-card .price {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 15px;
}

.history-section {
    background-color: var(--light);
    padding: 60px 20px;
}

.history-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--dark);
}

.letter-box {
    background: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-style: italic;
    line-height: 1.8;
}

.letter-box p {
    margin-bottom: 15px;
}

.stats-section {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-box h3 {
    font-size: 48px;
    color: var(--light);
}

.stat-box p {
    font-size: 18px;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary), #c1121f);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 30px;
}

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

.cta-section .btn-primary:hover {
    background-color: var(--light);
    color: var(--dark);
}

.site-footer {
    background-color: #1a2a36;
    color: var(--white);
    padding: 40px 20px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 20px;
}

.footer-info {
    flex: 1;
    min-width: 200px;
}

.footer-info h3,
.footer-links h3,
.footer-social h3 {
    color: var(--light);
    margin-bottom: 15px;
}

.footer-info p {
    margin-bottom: 5px;
}

.footer-links ul {
    list-style: none;
}

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

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

.footer-links a:hover {
    color: var(--light);
    padding-left: 5px;
}

.footer-social {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
}

.footer-social a {
    display: flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.footer-social svg {
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #3a4a5a;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(38, 70, 83, 0.95);
    color: var(--white);
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.cookie-content a {
    color: var(--light);
    text-decoration: underline;
}

.cookie-banner.hidden {
    display: none;
}

.product-detail {
    padding: 60px 20px;
    background-color: var(--white);
}

.product-detail-layout {
    display: flex;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-image {
    flex: 1;
}

.product-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.product-info {
    flex: 1;
}

.product-info h1 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 10px;
}

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

.product-price {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-info p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.product-specs {
    list-style-type: none;
    margin: 20px 0;
}

.product-specs li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: var(--dark);
    position: relative;
    padding-left: 25px;
}

.product-specs li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.product-info .letter-box {
    margin: 20px 0;
    padding: 20px;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.cart-section,
.checkout-section {
    padding: 60px 20px;
}

.cart-section h1,
.checkout-section h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
}

.cart-items {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.checkout-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.checkout-form-wrapper .btn {
    width: 100%;
}

.success-content {
    text-align: center;
    padding: 80px 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 60px auto;
}

.success-content h2 {
    font-size: 36px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.success-content p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 18px;
}

.success-content .btn {
    margin-top: 20px;
}

.success-content svg {
    display: block;
    margin: 20px auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 30px 0;
}

.contact-item {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

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

.contact-item p {
    color: var(--gray);
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 30px 0;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.our-story {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin: 30px 0;
}

.our-story h2 {
    color: var(--dark);
    margin-bottom: 15px;
}

.our-story p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

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

.team-member {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-member h3 {
    color: var(--dark);
    margin-bottom: 5px;
}

.team-member p:first-of-type {
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 10px;
}

.team-member p:last-of-type {
    color: var(--gray);
    font-size: 14px;
}

.about-story {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin: 30px 0;
}

.about-story h2 {
    color: var(--dark);
    margin-bottom: 15px;
}

.about-story p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

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

    .product-detail-layout {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
    }

    .product-actions {
        flex-direction: column;
    }

    .cart-summary {
        flex-direction: column;
    }

    .cookie-buttons {
        flex-direction: column;
    }
}