:root {
    --primary-color: #5e35b1;
    --primary-dark: #4527a0;
    --primary-light: #7e57c2;
    --secondary-color: #ff9800;
    --secondary-dark: #f57c00;
    --secondary-light: #ffb74d;
    --success-color: #4caf50;
    --error-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196f3;
    --text-color: #333333;
    --text-light: #757575;
    --text-lighter: #9e9e9e;
    --background-color: #ffffff;
    --background-light: #f5f5f5;
    --background-dark: #eeeeee;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --footer-bg: #263238;
    --footer-text: #eceff1;
    --header-height: 80px;
    --container-width: 1200px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition-speed: 0.3s;
    --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Dark mode variables */
.dark {
    --primary-color: #7e57c2;
    --primary-dark: #5e35b1;
    --primary-light: #9575cd;
    --secondary-color: #ffb74d;
    --secondary-dark: #ff9800;
    --secondary-light: #ffe0b2;
    --text-color: #eceff1;
    --text-light: #b0bec5;
    --text-lighter: #78909c;
    --background-color: #121212;
    --background-light: #1e1e1e;
    --background-dark: #272727;
    --border-color: #424242;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --footer-bg: #1a1a1a;
    --footer-text: #b0bec5;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

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

button {
    cursor: pointer;
    font-family: var(--font-main);
}

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-speed);
    white-space: nowrap;
}

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

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

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

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

.tertiary-btn {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

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

/* Header Styles */
header {
    background-color: var(--background-color);
    box-shadow: 0 2px 8px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color var(--transition-speed);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    padding: 0 20px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

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

.cart-icon {
    position: relative;
    color: var(--text-color);
}

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

#cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color var(--transition-speed);
}

.theme-toggle:hover {
    background-color: var(--background-light);
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    background-image: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

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

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

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

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

.feature-card {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px var(--shadow-color);
    text-align: center;
    transition: transform var(--transition-speed);
}

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

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

.feature-card h3 {
    margin-bottom: 1rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cta-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 8px 24px var(--shadow-color);
}

.cta-banner h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

/* About Products Section */
.about-products {
    padding: 5rem 0;
}

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

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

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Products Section */
.products {
    padding: 5rem 0;
}

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

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

.small-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.product-card {
    background-color: var(--background-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow-color);
}

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

.product-card h3 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.25rem;
}

.product-card .price {
    padding: 0 1rem;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-card .description {
    padding: 0 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    height: 60px;
    overflow: hidden;
}

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

.product-actions .btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--primary-light);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

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

.newsletter p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-size: 1rem;
}

.newsletter-form button {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Product Details Page */
.breadcrumb {
    margin: 2rem 0;
    color: var(--text-light);
}

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

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

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.product-info h1 {
    margin-bottom: 1rem;
}

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

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

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

.review-count {
    margin-left: 0.5rem;
    color: var(--text-light);
}

.product-description {
    margin-bottom: 2rem;
}

.product-description h3 {
    margin: 1.5rem 0 0.5rem;
}

.product-description ul {
    padding-left: 1.5rem;
    list-style-type: disc;
    margin-bottom: 1.5rem;
}

.product-description li {
    margin-bottom: 0.5rem;
}

.quantity-selector {
    margin-bottom: 1.5rem;
}

.quantity-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.quantity-selector select {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    width: 100px;
}

/* Product Tabs */
.product-tabs {
    margin-bottom: 4rem;
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.tab-btn:hover, .tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-pane {
    display: none;
}

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

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th, .specs-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.specs-table th {
    font-weight: 600;
    width: 30%;
}

.overall-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.rating-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: var(--radius-md);
}

.reviewer-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

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

.review-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.review-rating {
    margin-bottom: 1rem;
}

/* Related Products */
.related-products {
    margin-bottom: 4rem;
}

.related-products h2 {
    margin-bottom: 2rem;
}

/* About Page */
.about-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.about-hero h1 {
    margin-bottom: 1.5rem;
}

.about-hero p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
}

.about-story {
    padding: 5rem 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.story-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 24px var(--shadow-color);
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-mission {
    padding: 5rem 0;
    background-color: var(--background-light);
}

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

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

.mission-card {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px var(--shadow-color);
    text-align: center;
}

.mission-icon {
    margin: 0 auto 1.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: white;
    border-radius: 50%;
}

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

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

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

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

.team-member {
    background-color: var(--background-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

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

.team-member p {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0 2rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-speed);
}

.social-links a:hover {
    background-color: var(--primary-dark);
}

.values-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

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

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

.value-card {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.value-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.achievements-section {
    padding: 5rem 0;
}

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

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

.achievement-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--radius-md);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.cta-section {
    padding: 5rem 0;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Contact Page */
.contact-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.contact-hero h1 {
    margin-bottom: 1.5rem;
}

.contact-hero p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
}

.contact-info {
    padding: 5rem 0;
}

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

.contact-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.contact-icon {
    margin: 0 auto 1.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: white;
    border-radius: 50%;
}

.contact-card h3 {
    margin-bottom: 1rem;
}

.contact-hours {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.contact-form-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-form-section > .container > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px var(--shadow-color);
}

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

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

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background-color: var(--background-color);
    color: var(--text-color);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.3rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.full-width {
    grid-column: 1 / -1;
}

.faq-section {
    padding: 5rem 0;
}

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

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--background-color);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
}

.faq-icon {
    transition: transform var(--transition-speed);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed), padding var(--transition-speed);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

/* Cart Page */
.cart-section {
    padding: 5rem 0;
}

.cart-section h1 {
    text-align: center;
    margin-bottom: 3rem;
}

.cart-content {
    margin-bottom: 2rem;
}

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

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

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

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

.quantity-btn:hover {
    background-color: var(--border-color);
}

.remove-item {
    background: none;
    border: none;
    color: var(--error-color);
    cursor: pointer;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    text-align: center;
}

.cart-empty svg {
    color: var(--text-lighter);
    margin-bottom: 1.5rem;
}

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

.cart-empty p {
    margin-bottom: 2rem;
    max-width: 500px;
}

.cart-summary {
    max-width: 400px;
    margin-left: auto;
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--radius-md);
}

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

.summary-row.total {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.checkout-btn {
    width: 100%;
    margin-bottom: 1rem;
}

.clear-cart-btn {
    width: 100%;
}

.cart-features {
    padding: 5rem 0;
    background-color: var(--background-light);
}

/* Checkout Page */
.checkout-section {
    padding: 5rem 0;
}

.checkout-header {
    margin-bottom: 3rem;
    text-align: center;
}

.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 150px;
}

.step::after {
    content: '';
    position: absolute;
    top: 15px;
    right: -30px;
    width: 60px;
    height: 2px;
    background-color: var(--border-color);
}

.step:last-child::after {
    display: none;
}

.step-number {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-light);
    border-radius: 50%;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step.active .step-number {
    background-color: var(--primary-color);
    color: white;
}

.step.active .step-name {
    color: var(--primary-color);
    font-weight: 600;
}

.checkout-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
}

.checkout-form-container {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.checkout-form-container h2 {
    margin-bottom: 2rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.checkout-summary {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--radius-md);
    height: fit-content;
}

.checkout-summary h2 {
    margin-bottom: 2rem;
}

.order-items {
    margin-bottom: 2rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.order-totals {
    margin-bottom: 2rem;
}

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

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

.secure-checkout {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: var(--background-color);
    border-radius: var(--radius-md);
}

.secure-icon {
    color: var(--success-color);
}

.checkout-help {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.checkout-help h3 {
    margin-bottom: 1rem;
}

/* Success Page */
.success-section {
    padding: 5rem 0;
}

.success-content {
    max-width: 700px;
    margin: 0 auto 4rem;
    text-align: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--success-color);
    color: white;
    border-radius: 50%;
}

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

.email-info {
    margin-bottom: 2rem;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.next-steps, .customer-support {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.next-steps h2, .customer-support h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.step-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
}

.step-card .step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
}

.step-card h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.customer-support p {
    text-align: center;
    margin-bottom: 2rem;
}

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

.support-option {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.support-icon {
    margin: 0 auto 1.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: white;
    border-radius: 50%;
}

.support-hours {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 5rem 0 2rem;
}

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

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

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

.footer-links a {
    color: var(--footer-text);
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: white;
}

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

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

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

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

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

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--success-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: transform var(--transition-speed), opacity var(--transition-speed);
    box-shadow: 0 4px 12px var(--shadow-color);
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    box-shadow: 0 -4px 12px var(--shadow-color);
    z-index: 1001;
    display: none;
}

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

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

.cookie-content a {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .product-details {
        grid-template-columns: 1fr;
    }

    .checkout-content {
        grid-template-columns: 1fr;
    }
    
    .story-content {
        grid-template-columns: 1fr;
    }

    .story-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 10px;
    }
    
    .nav-links {
        gap: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: var(--radius-md);
        margin-bottom: 1rem;
    }

    .newsletter-form button {
        border-radius: var(--radius-md);
    }

    .cart-header, .cart-item {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .cart-product {
        grid-column: span 3;
        margin-bottom: 1rem;
    }

    .cart-actions {
        grid-column: span 3;
        display: flex;
        justify-content: flex-end;
        margin-top: 1rem;
    }

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

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

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

@media (max-width: 576px) {
    .nav-links a {
        font-size: 0.9rem;
    }

    .header-icons {
        gap: 1rem;
    }

    .cart-header, .cart-item {
        grid-template-columns: 1fr;
    }

    .cart-price, .cart-quantity, .cart-total {
        margin-bottom: 0.5rem;
    }
}
