/* Base Styles */
:root {
    --primary: #4a6fa5;
    --primary-dark: #3a5a80;
    --secondary: #f19953;
    --secondary-dark: #e07a2e;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --light-grey: #f5f5f5;
    --mid-grey: #e0e0e0;
    --dark-grey: #aaa;
    --success: #5cb85c;
    --error: #d9534f;
    --info: #5bc0de;
    --warning: #f0ad4e;
    --border-radius: 4px;
    --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-view, .btn-add-to-cart, .btn-buy-now {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.6rem;
}

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

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

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

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

.btn-view {
    background-color: var(--light-grey);
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
}

.btn-view:hover {
    background-color: var(--mid-grey);
}

.btn-add-to-cart {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.8rem 1.5rem;
}

.btn-add-to-cart:hover {
    background-color: var(--primary-dark);
}

.btn-buy-now {
    background-color: var(--secondary);
    color: var(--white);
    padding: 0.8rem 1.5rem;
}

.btn-buy-now:hover {
    background-color: var(--secondary-dark);
}

.btn-cookie-accept, .btn-cookie-customize, .btn-cookie-decline {
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-cookie-accept:hover {
    background-color: var(--primary-dark);
}

.btn-cookie-customize {
    background-color: var(--light-grey);
    color: var(--text-dark);
}

.btn-cookie-customize:hover {
    background-color: var(--mid-grey);
}

.btn-cookie-decline {
    background-color: transparent;
    color: var(--text-light);
    text-decoration: underline;
}

.btn-cookie-decline:hover {
    color: var(--text-dark);
}

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

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

.logo img {
    height: 5rem;
    width: auto;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

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

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

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

#cart-count {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background-color: var(--secondary);
    color: var(--white);
    font-size: 1.2rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Section */
.hero {
    background-color: #eef2f7;
    padding: 8rem 0;
    text-align: center;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('images/logo.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.hero p {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 2rem;
    color: var(--primary);
}

.feature-item h3 {
    margin-bottom: 1.5rem;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 5rem 0;
}

.stat {
    text-align: center;
    padding: 2rem;
}

.stat h4 {
    font-size: 3.6rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.cta-banner {
    text-align: center;
    margin-top: 5rem;
    padding: 4rem;
    background-color: var(--light-grey);
    border-radius: var(--border-radius);
}

.cta-banner h3 {
    margin-bottom: 2rem;
}

/* About Products Section */
.about-products {
    padding: 8rem 0;
    background-color: #f9f9f9;
}

.about-products h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.about-products p {
    margin-bottom: 2rem;
    max-width: 90rem;
    margin-left: auto;
    margin-right: auto;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.about-feature {
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-feature h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.brand-story {
    margin-top: 4rem;
    padding: 3rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Comparison Table */
.comparison-table {
    padding: 6rem 0;
    background-color: var(--white);
}

.comparison-table h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.comparison-item {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
}

.comparison-image {
    flex: 1;
    text-align: center;
}

.comparison-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 0 auto;
}

.comparison-content {
    flex: 2;
}

.comparison-content h3 {
    margin-bottom: 2rem;
}

.comparison-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.comparison-content th, .comparison-content td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--mid-grey);
}

.comparison-content th {
    background-color: var(--light-grey);
    font-weight: 600;
}

.comparison-content tr:hover {
    background-color: rgba(74, 111, 165, 0.05);
}

@media (min-width: 768px) {
    .comparison-item {
        flex-direction: row;
        align-items: center;
    }
}

/* Products Section */
.products {
    padding: 8rem 0;
    background-color: var(--white);
}

.products h2 {
    text-align: center;
    margin-bottom: 5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
    gap: 3rem;
}

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

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 25rem;
    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.05);
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    min-height: 4.8rem; /* Ensure consistent height */
}

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

.product-actions {
    display: flex;
    gap: 1rem;
}

/* Newsletter Section */
.newsletter {
    padding: 6rem 0;
    background-color: #eef2f7;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 1.5rem;
}

.newsletter p {
    margin-bottom: 3rem;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 50rem;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1.2rem;
    border: 1px solid var(--mid-grey);
    border-radius: var(--border-radius);
    font-size: 1.6rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: var(--white);
    padding: 6rem 0 2rem;
}

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

.footer-logo img {
    height: 5rem;
    margin-bottom: 1.5rem;
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    margin-bottom: 2rem;
    position: relative;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 5rem;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: #a7b4c2;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.footer-contact p {
    margin-bottom: 1rem;
    color: #a7b4c2;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

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

.social-icons svg {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(44, 62, 80, 0.95);
    color: var(--white);
    z-index: 9999;
    padding: 2rem;
    display: none;
}

.cookie-notice.active {
    display: block;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-content p {
    margin-bottom: 0;
}

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

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

.cookie-content a:hover {
    color: var(--secondary-dark);
}

/* Notification */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background-color: var(--success);
    color: var(--white);
    padding: 1.5rem 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    opacity: 0;
    transform: translateY(-2rem);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1001;
}

.notification.active {
    opacity: 1;
    transform: translateY(0);
}

.notification p {
    margin-bottom: 0;
}

/* Product Detail Page */
.product-detail {
    padding: 6rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.breadcrumb {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

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

.product-meta {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--light-grey);
    border-radius: var(--border-radius);
}

.product-meta p {
    margin-bottom: 0.5rem;
}

.product-meta p:last-child {
    margin-bottom: 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-buttons {
    display: flex;
    align-items: center;
    border: 1px solid var(--mid-grey);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.quantity-decrease, .quantity-increase {
    background-color: var(--light-grey);
    border: none;
    width: 4rem;
    height: 4rem;
    cursor: pointer;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-decrease:hover, .quantity-increase:hover {
    background-color: var(--mid-grey);
}

.quantity-selector input {
    width: 6rem;
    height: 4rem;
    border: none;
    border-left: 1px solid var(--mid-grey);
    border-right: 1px solid var(--mid-grey);
    text-align: center;
    font-size: 1.6rem;
}

.product-additional {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.shipping-info, .returns-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
}

/* Related Products */
.related-products {
    padding: 6rem 0;
    background-color: var(--light-grey);
}

.related-products h2 {
    text-align: center;
    margin-bottom: 4rem;
}

/* Cart Page */
.cart-page {
    padding: 6rem 0;
    min-height: 50vh;
}

.cart-page h1 {
    text-align: center;
    margin-bottom: 4rem;
}

.cart-empty {
    text-align: center;
    padding: 4rem;
    background-color: var(--light-grey);
    border-radius: var(--border-radius);
}

.cart-empty svg {
    margin: 0 auto 2rem;
    color: var(--text-light);
}

.cart-empty h2 {
    margin-bottom: 1.5rem;
}

.cart-empty p {
    margin-bottom: 3rem;
    color: var(--text-light);
}

.cart-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--mid-grey);
    font-weight: 600;
}

.cart-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
    gap: 1rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--mid-grey);
    align-items: center;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

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

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

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

.cart-quantity-decrease, .cart-quantity-increase {
    background-color: var(--light-grey);
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-quantity-decrease:hover, .cart-quantity-increase:hover {
    background-color: var(--mid-grey);
}

.cart-item-quantity span {
    display: inline-block;
    width: 3rem;
    text-align: center;
}

.cart-item-remove {
    color: var(--error);
    cursor: pointer;
    display: flex;
    justify-content: center;
}

.cart-summary {
    margin-top: 4rem;
    background-color: var(--light-grey);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 40rem;
    margin-left: auto;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--mid-grey);
}

.cart-total {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.cart-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Checkout Page */
.checkout-page {
    padding: 6rem 0;
}

.checkout-page h1 {
    text-align: center;
    margin-bottom: 4rem;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .checkout-container {
        grid-template-columns: 3fr 2fr;
    }
}

.checkout-form-container h2, .checkout-summary h2 {
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--mid-grey);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 0.8rem;
    font-weight: 500;
}

input, select, textarea {
    padding: 1.2rem;
    border: 1px solid var(--mid-grey);
    border-radius: var(--border-radius);
    font-size: 1.6rem;
    font-family: var(--font-family);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.checkout-summary {
    background-color: var(--light-grey);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    align-self: flex-start;
}

.checkout-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--mid-grey);
}

.checkout-item-image {
    width: 6rem;
    height: 6rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

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

.checkout-item-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.checkout-item-price {
    color: var(--text-light);
}

.checkout-item-quantity {
    color: var(--text-light);
    font-size: 1.4rem;
}

.checkout-item-total {
    font-weight: 600;
}

.checkout-totals {
    margin-top: 2rem;
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--mid-grey);
}

.checkout-final-total {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

/* Success Page */
.success-page {
    padding: 8rem 0;
    min-height: 60vh;
}

.success-content {
    max-width: 70rem;
    margin: 0 auto;
    text-align: center;
    padding: 4rem;
    background-color: var(--light-grey);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.success-icon {
    margin: 0 auto 3rem;
    width: 8rem;
    height: 8rem;
    background-color: rgba(92, 184, 92, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
}

.success-message {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.success-email {
    color: var(--text-light);
    margin-bottom: 3rem;
}

.success-next {
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    text-align: left;
}

.success-next h2 {
    margin-bottom: 1.5rem;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

/* Contact Page */
.page-header {
    background-color: #eef2f7;
    padding: 6rem 0;
    text-align: center;
}

.contact-page {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--light-grey);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.info-icon {
    color: var(--primary);
}

.info-details h3 {
    margin-bottom: 1rem;
}

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

.contact-form-container {
    background-color: var(--light-grey);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
    margin-bottom: 3rem;
    text-align: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    height: 2.4rem;
    width: 2.4rem;
    background-color: var(--white);
    border: 1px solid var(--mid-grey);
    border-radius: var(--border-radius);
}

.checkbox-container:hover input ~ .checkmark {
    background-color: var(--light-grey);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 0.9rem;
    top: 0.5rem;
    width: 0.5rem;
    height: 1rem;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.map-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.map-placeholder {
    height: 40rem;
    background-color: var(--light-grey);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.map-content {
    padding: 2rem;
}

.map-content p:first-child {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* About Page */
.about-story {
    padding: 6rem 0;
}

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

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 2fr;
    }
}

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

.about-image img {
    max-width: 30rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-content h2 {
    margin-bottom: 2.5rem;
}

.about-mission {
    padding: 6rem 0;
    background-color: #eef2f7;
}

.mission-content h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

.mission-item {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.mission-item:hover {
    transform: translateY(-5px);
}

.mission-icon {
    color: var(--primary);
    margin-bottom: 2rem;
}

.mission-item h3 {
    margin-bottom: 1.5rem;
}

.team-section {
    padding: 8rem 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.team-intro {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto 5rem;
    color: var(--text-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
}

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

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.team-member p:nth-of-type(1) {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.team-member .social-icons {
    justify-content: center;
    margin-top: 1.5rem;
}

.testimonials {
    padding: 8rem 0;
    background-color: #eef2f7;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 5rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 2rem;
    left: 3rem;
    font-size: 8rem;
    line-height: 1;
    color: rgba(74, 111, 165, 0.1);
    font-family: Georgia, serif;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    padding-top: 2rem;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-author {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-grey);
}

.testimonial-author h4 {
    margin-bottom: 0.5rem;
}

.testimonial-author p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    html {
        font-size: 56.25%; /* 1rem = 9px */
    }
    
    .container {
        padding: 0 2rem;
    }
    
    h1 {
        font-size: 3.2rem;
    }
    
    h2 {
        font-size: 2.6rem;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
    .product-card {
        max-width: 35rem;
        margin: 0 auto;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .cart-header, .cart-item {
        grid-template-columns: 2fr 1fr 1fr 0.5fr;
    }
    
    .cart-header-price, .cart-item-price {
        display: none;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 50%; /* 1rem = 8px */
    }
    
    h1 {
        font-size: 3rem;
    }
    
    .cart-header, .cart-item {
        grid-template-columns: 3fr 1fr 0.5fr;
    }
    
    .cart-header-quantity, .cart-item-quantity {
        display: none;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .success-actions {
        flex-direction: column;
    }
}
