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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111;
    text-decoration: none;
}

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

.nav a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.nav a:hover {
    color: #111;
}

.desktop-nav {
    display: none;
}

.mobile-nav {
    justify-content: center;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    gap: 1.5rem;
}

.cart-icon {
    position: relative;
    color: #555;
    text-decoration: none;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slide {
    display: none;
    position: relative;
    height: 100%;
}

.slide.active {
    display: block;
}

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

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.slide-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.5);
    border: none;
    font-size: 1.5rem;
    padding: 1rem;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.75);
}

.slider-btn.prev {
    left: 1rem;
}

.slider-btn.next {
    right: 1rem;
}

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #fff;
    width: 32px;
    border-radius: 6px;
}

.btn {
    display: inline-block;
    background: #fff;
    color: #111;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #f3f4f6;
}

.btn-dark {
    background: #111;
    color: #fff;
}

.btn-dark:hover {
    background: #222;
}

/* Sections */
.section {
    padding: 4rem 0;
}

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

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #666;
}

.bg-light {
    background: #f9fafb;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.product-card {
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 1rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
}

.product-info p {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.25rem;
    font-weight: bold;
}

.add-to-cart {
    background: #111;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    transition: background 0.3s;
}

.add-to-cart:hover {
    background: #222;
}

/* CTA Banner */
.cta-banner {
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    background: url('https://images.unsplash.com/photo-1607083206869-4c7672e72a8a?w=1920') center/cover;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(126, 34, 206, 0.75), rgba(219, 39, 119, 0.75));
}

.cta-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.offer-code {
    margin-bottom: 2rem !important;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.testimonial-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.testimonial-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h4 {
    margin-bottom: 0.25rem;
}

.stars {
    color: #fbbf24;
}

.testimonial-comment {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.testimonial-product {
    color: #999;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #111;
    color: #fff;
    padding: 3rem 0 0;
    margin-top: 4rem;
}

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

.footer h3 {
    margin-bottom: 1rem;
}

.footer p, .footer ul {
    color: #999;
    font-size: 0.875rem;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #fff;
}

.contact-info li {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 2rem 0;
    text-align: center;
    color: #999;
    font-size: 0.875rem;
}

/* Cart Page */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cart-item {
    background: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.remove-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1.25rem;
}

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

.quantity-btn {
    border: 1px solid #ddd;
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #f3f4f6;
}

.order-summary {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

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

.summary-total {
    border-top: 1px solid #eee;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    font-size: 1.25rem;
    font-weight: bold;
}

.payment-method {
    margin: 1.5rem 0;
}

.payment-method label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Content Pages */
.content-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.content-page h1 {
    margin-bottom: 1rem;
}

.content-page h2 {
    margin: 2rem 0 1rem;
}

.content-page h3 {
    margin: 1.5rem 0 0.75rem;
}

.content-page p {
    margin-bottom: 1rem;
    color: #555;
}

.content-page ul, .content-page ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
    color: #555;
}

.content-page li {
    margin-bottom: 0.5rem;
}

.info-box {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.value-card {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    background: #f3f4f6;
    padding: 0.75rem;
    border-radius: 0.5rem;
    height: fit-content;
}

.empty-cart {
    text-align: center;
    padding: 4rem 1rem;
}

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

.empty-cart p {
    color: #666;
    margin-bottom: 2rem;
}

/* Success Message */
.success-message {
    max-width: 500px;
    margin: 4rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #10b981;
    font-size: 2rem;
}

/* Responsive */
@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
    
    .mobile-nav {
        display: none;
    }
    
    .hero-slider {
        height: 600px;
    }
    
    .slide-content h1 {
        font-size: 3.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Page Styles */
.page-content {
    padding: 3rem 0;
    min-height: 60vh;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.policy-date {
    text-align: center;
    color: #999;
    margin-bottom: 2rem;
}

/* About Page */
.prose {
    max-width: 1000px;
    margin: 0 auto;
}

.section-block {
    margin-bottom: 3rem;
}

.section-block h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.section-block p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.value-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: #555;
    line-height: 1.6;
}

.feature-list {
    list-style: disc;
    padding-left: 2rem;
    color: #555;
}

.feature-list li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.cta-block {
    background: #111;
    color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-top: 3rem;
}

.cta-block h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.cta-block p {
    color: #e5e7eb;
    margin-bottom: 1rem;
}

.cta-block .highlight {
    font-weight: 600;
    color: #fff;
}

/* Contact Page */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.icon-box {
    background: #f3f4f6;
    padding: 0.75rem;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.icon-box svg {
    display: block;
}

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

.contact-card p {
    color: #555;
    font-size: 0.875rem;
    line-height: 1.6;
}

.contact-card a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: #111;
}

.info-box {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.info-box h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.info-box p {
    color: #555;
    font-size: 0.875rem;
    line-height: 1.6;
}

.contact-form-wrapper h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    margin-bottom: 1rem;
}

.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.btn-primary {
    background: #111;
    color: #fff;
}

.btn-primary:hover {
    background: #222;
}

.btn-block {
    width: 100%;
}

/* Cart Page */
.empty-cart {
    text-align: center;
    padding: 4rem 1rem;
}

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

.empty-cart p {
    color: #666;
    margin-bottom: 2rem;
}

.order-success {
    text-align: center;
    padding: 4rem 1rem;
}

.success-card {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    color: #10b981;
}

.success-card h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.success-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

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

#cartItemsList .cart-item {
    background: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    gap: 1rem;
}

#cartItemsList .cart-item img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.summary-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.summary-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.summary-details {
    margin-bottom: 1.5rem;
}

.summary-divider {
    border-top: 1px solid #e5e7eb;
    margin: 1rem 0;
}

.total-row {
    font-size: 1.125rem;
    font-weight: bold;
}

.free-text {
    color: #10b981;
    font-weight: 600;
}

.payment-method h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    width: 16px;
    height: 16px;
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.continue-shopping:hover {
    color: #111;
}

/* Policy Pages */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.policy-section li {
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-info-box {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.contact-info-box p {
    color: #555;
    line-height: 1.8;
}

.return-steps {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.return-step {
    margin-bottom: 1.5rem;
}

.return-step:last-child {
    margin-bottom: 0;
}

.return-step h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.return-step p {
    color: #555;
    line-height: 1.6;
}

.policy-note {
    background: #dbeafe;
    border-left: 4px solid #3b82f6;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.policy-note p {
    color: #1e40af;
    line-height: 1.6;
}

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

.footer-section h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #999;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-section a {
    display: block;
    color: #999;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.nav a.active {
    color: #111;
    font-weight: 600;
}

.cart-icon.active {
    color: #111;
}

/* Additional Responsive Styles */
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cart-grid {
        grid-template-columns: 2fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .summary-card {
        position: sticky;
        top: 100px;
    }
}