/* Base styles and resets */
:root {
    --primary-color: #4a6cf7;
    --primary-dark: #3a5bd9;
    --secondary-color: #2d3748;
    --text-color: #4a5568;
    --text-light: #a0aec0;
    --text-dark: #1a202c;
    --background-color: #f7fafc;
    --background-alt: #edf2f7;
    --white: #ffffff;
    --black: #000000;
    --border-color: #e2e8f0;
    --success-color: #48bb78;
    --error-color: #f56565;
    --warning-color: #ed8936;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

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

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

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

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 2rem;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    color: var(--white);
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

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

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

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

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

.btn-large {
    padding: 1.6rem 3.2rem;
    font-size: 1.8rem;
}

.btn-sm {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

.btn-block {
    display: block;
    width: 100%;
}

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

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

.logo {
    flex-shrink: 0;
}

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

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 2.5rem;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

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

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

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

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

.language-switch button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--text-dark);
}

.language-switch button svg {
    margin-left: 0.5rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 3rem;
    height: 2.4rem;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Breadcrumb */
.breadcrumb {
    background-color: var(--background-alt);
    padding: 1.5rem 0;
    margin-bottom: 4rem;
}

.breadcrumb ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb ul li {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.breadcrumb ul li:not(:last-child):after {
    content: "/";
    margin-left: 1rem;
    color: var(--text-light);
}

.breadcrumb ul li:last-child {
    color: var(--text-dark);
    font-weight: 500;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 60vh;
    min-height: 500px;
    background-color: var(--secondary-color);
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide .content {
    width: 50%;
    padding: 5rem;
    color: var(--white);
    z-index: 2;
}

.slide .content h1 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.slide .content p {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.slide .image {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.8;
}

.slider-controls {
    position: absolute;
    bottom: 3rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.slider-controls button {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 1rem;
}

.dots {
    display: flex;
    margin: 0 1rem;
}

.dot {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--white);
}

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

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

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

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

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.benefit-card .icon {
    margin: 0 auto 2rem;
    width: 8rem;
    height: 8rem;
    background-color: rgba(74, 108, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.benefit-card h3 {
    margin-bottom: 1.5rem;
}

.benefit-card p {
    color: var(--text-color);
    margin-bottom: 0;
}

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

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

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

.stat p {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 0;
}

.cta {
    text-align: center;
}

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

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.text-section p {
    margin-bottom: 2rem;
}

.quality-section h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.quality-section ul {
    margin-bottom: 2rem;
    padding-left: 2rem;
    list-style-type: disc;
}

.quality-section ul li {
    margin-bottom: 1rem;
}

/* 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(300px, 1fr));
    gap: 3rem;
}

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

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

.product-card.small {
    display: flex;
    flex-direction: column;
}

.product-image {
    height: 25rem;
    overflow: hidden;
}

.product-card.small .product-image {
    height: 20rem;
}

.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-details {
    padding: 2rem;
}

.product-card.small .product-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-details h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.product-card.small .product-details h4 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

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

.product-card.small .price {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.description {
    margin-bottom: 2rem;
    color: var(--text-color);
}

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

.product-card.small .product-actions {
    margin-top: auto;
}

/* Newsletter */
.newsletter {
    padding: 8rem 0;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.newsletter h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.newsletter p {
    font-size: 1.8rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

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

.newsletter-form input {
    flex-grow: 1;
    padding: 1.5rem 2rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1.6rem;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.newsletter-form button:hover {
    background-color: var(--text-dark);
    border-color: var(--text-dark);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 8rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.link-column h4 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.link-column ul li {
    margin-bottom: 1rem;
}

.link-column ul li a {
    color: var(--text-light);
    transition: var(--transition);
}

.link-column ul li a:hover {
    color: var(--white);
}

.footer-contact h4 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

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

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

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

.copyright {
    text-align: center;
    color: var(--text-light);
    font-size: 1.4rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
}

.cookie-content h3 {
    margin-bottom: 1rem;
}

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

.cookie-policy-link {
    font-size: 1.4rem;
    margin-bottom: 0;
}

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

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

.notification-content {
    display: flex;
    align-items: center;
}

.notification-content svg {
    margin-right: 1.5rem;
    color: var(--success-color);
}

.notification-content p {
    margin-bottom: 0;
    font-weight: 500;
}

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

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

.product-images {
    display: flex;
    flex-direction: column;
}

.main-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2rem;
    height: 40rem;
}

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

.thumbnail-gallery {
    display: flex;
    gap: 1rem;
}

.thumbnail-gallery img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.thumbnail-gallery img:hover,
.thumbnail-gallery img.active {
    opacity: 1;
}

.product-info h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.sku {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 0;
}

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

.stars {
    display: flex;
    color: #f59e0b;
    margin-right: 1rem;
}

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

.price-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.price-block .price {
    font-size: 3rem;
    margin-bottom: 0;
}

.availability {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.in-stock {
    color: var(--success-color);
}

.out-of-stock {
    color: var(--error-color);
}

.availability svg {
    margin-right: 0.5rem;
}

.short-description {
    margin-bottom: 3rem;
    font-size: 1.8rem;
}

.product-options {
    margin-bottom: 3rem;
}

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

.option-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 1rem;
}

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

.option-btn {
    padding: 1rem 2rem;
    background-color: var(--background-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 1.4rem;
    transition: var(--transition);
}

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

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

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

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

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    width: fit-content;
}

.quantity-btn {
    width: 4rem;
    height: 4rem;
    background-color: var(--background-alt);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.product-actions {
    margin-bottom: 3rem;
}

.delivery-info {
    padding: 2rem;
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
}

.delivery-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

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

.delivery-item svg {
    margin-right: 1.5rem;
    color: var(--primary-color);
}

.product-tabs {
    margin-bottom: 5rem;
}

.tab-headers {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 1.5rem 3rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary-color);
}

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

.tab-panel {
    display: none;
}

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

.tab-panel h3 {
    margin-bottom: 2rem;
}

.tab-panel h4 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.tab-panel ul {
    margin-bottom: 2rem;
    padding-left: 2rem;
    list-style-type: disc;
}

.tab-panel ul li {
    margin-bottom: 1rem;
}

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

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

.specs-table th {
    width: 30%;
    font-weight: 600;
    color: var(--text-dark);
    background-color: var(--background-alt);
}

.review-summary {
    display: flex;
    gap: 5rem;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

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

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

.rating-overall .rating-stars {
    justify-content: center;
    margin-bottom: 1rem;
}

.rating-count {
    font-size: 1.4rem;
    color: var(--text-light);
}

.rating-breakdown {
    flex-grow: 1;
}

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

.rating-row span {
    width: 15%;
}

.rating-row span:last-child {
    text-align: right;
}

.progress-bar {
    flex-grow: 1;
    height: 0.8rem;
    background-color: var(--background-alt);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin: 0 1.5rem;
}

.progress {
    height: 100%;
    background-color: #f59e0b;
}

.review-item {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

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

.avatar {
    width: 4rem;
    height: 4rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: var(--white);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.name {
    font-weight: 600;
    color: var(--text-dark);
}

.review-rating {
    text-align: right;
}

.date {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-top: 0.5rem;
}

.review-item h4 {
    margin-bottom: 1.5rem;
}

.review-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination-btn {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    margin: 0 0.5rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.pagination-btn:hover {
    border-color: var(--primary-color);
}

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

.related-products h3 {
    margin-bottom: 3rem;
}

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

.cart-empty {
    text-align: center;
    padding: 5rem 0;
}

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

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

.cart-empty p {
    margin-bottom: 3rem;
}

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

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

.cart-item {
    display: flex;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

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

.cart-item-image {
    width: 10rem;
    height: 10rem;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-right: 2rem;
}

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

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

.cart-item-details h3 {
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.remove-item {
    background: none;
    border: none;
    color: var(--error-color);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.remove-item svg {
    margin-right: 0.5rem;
}

.cart-summary {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    position: sticky;
    top: 10rem;
}

.cart-summary h3 {
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.summary-row.total {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 1.8rem;
}

.recommended-products {
    padding: 5rem 0;
    background-color: var(--background-alt);
}

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

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

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

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

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

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

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

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

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

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

.terms-checkbox {
    display: flex;
    align-items: flex-start;
}

.terms-checkbox input {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.5rem;
}

.checkout-buttons {
    margin-top: 3rem;
}

.checkout-buttons .btn {
    margin-bottom: 1rem;
}

.order-summary {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    position: sticky;
    top: 10rem;
}

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

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

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

.order-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.order-item-image {
    width: 6rem;
    height: 6rem;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-right: 1.5rem;
}

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

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

.order-item-details h4 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.order-item-price {
    font-weight: 600;
    color: var(--primary-color);
}

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

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

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

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

.success-message {
    font-size: 2.4rem;
    color: var(--text-dark);
}

.what-happens-next {
    margin: 5rem 0;
    text-align: left;
    background-color: var(--background-alt);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.what-happens-next h2 {
    margin-bottom: 2rem;
}

.what-happens-next ol {
    padding-left: 2rem;
}

.what-happens-next ol li {
    margin-bottom: 1.5rem;
}

.success-buttons {
    margin-top: 3rem;
}

.success-buttons .btn {
    margin: 0 1rem;
}

.featured-products {
    padding: 5rem 0;
    background-color: var(--background-alt);
}

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

/* Contact Page */
.contact-section {
    padding: 5rem 0 8rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 5rem;
}

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

.contact-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.8rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

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

.contact-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
}

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

.contact-card .icon {
    width: 6rem;
    height: 6rem;
    background-color: rgba(74, 108, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--primary-color);
}

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

.contact-card p {
    margin-bottom: 0.5rem;
}

.contact-card p.hours {
    color: var(--text-light);
    font-size: 1.4rem;
}

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

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

.contact-map {
    margin-bottom: 5rem;
}

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

.map-container {
    height: 45rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

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

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.8rem;
}

.faq-toggle {
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

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

.about-hero h1 {
    color: var(--white);
    margin-bottom: 2rem;
}

.about-hero .subtitle {
    font-size: 2.4rem;
    margin-bottom: 3rem;
}

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

.our-story {
    padding: 8rem 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    margin-bottom: 1.5rem;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.8rem;
}

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

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

.timeline-item {
    display: flex;
    margin-bottom: 5rem;
    position: relative;
}

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

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.year {
    width: 8rem;
    height: 8rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.content {
    width: calc(50% - 6rem);
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.timeline-item:nth-child(odd) .content {
    margin-right: 6rem;
}

.timeline-item:nth-child(even) .content {
    margin-left: 6rem;
}

.content h3 {
    margin-bottom: 1.5rem;
}

.content p {
    margin-bottom: 0;
}

.our-mission {
    padding: 8rem 0;
    background-color: var(--background-alt);
}

.mission-content {
    max-width: 1000px;
    margin: 0 auto;
}

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

.mission-statement {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    margin-bottom: 5rem;
}

.mission-statement p {
    font-size: 2.4rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 0;
}

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

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

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

.value-item .icon {
    width: 6rem;
    height: 6rem;
    background-color: rgba(74, 108, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--primary-color);
}

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

.value-item p {
    margin-bottom: 0;
}

.our-team {
    padding: 8rem 0;
    background-color: var(--white);
}

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

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

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

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

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

.team-member p {
    margin: 0 2rem 1.5rem;
}

.team-member p:nth-of-type(1) {
    color: var(--primary-color);
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    background-color: var(--background-alt);
    border-radius: 50%;
    color: var(--text-dark);
    transition: var(--transition);
}

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

.partners {
    padding: 8rem 0;
    background-color: var(--background-alt);
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5rem;
}

.partner {
    text-align: center;
}

.partner svg {
    margin: 0 auto 1.5rem;
    color: var(--text-dark);
}

.partner p {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0;
}

.testimonials {
    padding: 8rem 0;
    background-color: var(--white);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    display: none;
}

.testimonial:first-child {
    display: block;
}

.testimonial-content {
    background-color: var(--background-alt);
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
    position: relative;
}

.testimonial-content:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: var(--background-alt) transparent transparent;
}

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

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

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

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

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.cta-section {
    padding: 8rem 0;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.8rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.cta-buttons .btn {
    margin: 0 1rem;
}

.cta-buttons .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

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

/* Responsive styles */
@media (max-width: 1200px) {
    html {
        font-size: 56.25%; /* 9px = 1rem */
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-logo {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .footer-logo img {
        margin: 0 auto 2rem;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 50%; /* 8px = 1rem */
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1001;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 8rem 2rem 2rem;
    }
    
    nav ul li {
        margin-left: 0;
        margin-bottom: 2rem;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1002;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
    
    .slide .content {
        width: 100%;
        background-color: rgba(45, 55, 72, 0.7);
    }
    
    .slide .image {
        width: 100%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .product-grid,
    .cart-content,
    .checkout-container,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .cart-summary,
    .order-summary {
        position: static;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .story-timeline:before {
        left: 0;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
    }
    
    .year {
        left: 0;
        transform: none;
        width: 6rem;
        height: 6rem;
        font-size: 1.6rem;
    }
    
    .content {
        width: calc(100% - 3rem);
        margin-left: 3rem !important;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .benefits-grid,
    .values {
        grid-template-columns: 1fr;
    }
    
    .footer-content,
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .review-summary {
        flex-direction: column;
        gap: 3rem;
    }
    
    .checkout-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .slide .content {
        padding: 2rem;
    }
    
    .slide .content h1 {
        font-size: 3.6rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
    }
    
    .footer-bottom {
        flex-direction: column;
    }
}
