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

body {
    font-family: 'Comfortaa', sans-serif;
    color: #333;
    line-height: 1.6;
}

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

header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    height: 40px;
}

nav a {
    margin-left: 30px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: #87CEEB;
}

.hero {
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 20px;
    opacity: 0.9;
}

.cta-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.cta-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.cta-box h2 {
    color: #87CEEB;
    margin-bottom: 20px;
    font-size: 32px;
}

.cta-box p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
}

.highlight {
    font-weight: 600;
    color: #4682B4;
    margin-top: 20px;
}

.cta-box ul {
    list-style: none;
    margin: 15px 0;
}

.cta-box ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.cta-box ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #87CEEB;
    font-weight: bold;
}

.products {
    padding: 60px 0;
}

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

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

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.product-card h3 {
    padding: 20px 20px 10px;
    font-size: 20px;
}

.price {
    padding: 0 20px;
    font-size: 24px;
    color: #87CEEB;
    font-weight: 600;
}

.btn-primary {
    width: calc(100% - 40px);
    margin: 20px;
    padding: 12px;
    background: #87CEEB;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Comfortaa', sans-serif;
}

.btn-primary:hover {
    background: #4682B4;
}

.thank-you {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}

.thank-you h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

.thank-you p {
    font-size: 18px;
    color: #666;
}

footer {
    background: #333;
    color: white;
    padding: 30px 0;
    text-align: center;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

.footer-links a:hover {
    color: #87CEEB;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    nav a {
        margin-left: 15px;
        font-size: 14px;
    }
    
    .cta-box {
        padding: 25px;
    }
    
    footer .container {
        flex-direction: column;
        gap: 15px;
    }
}

/* Cart Button */
.cart-btn {
    background: #87CEEB;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-family: 'Comfortaa', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 20px;
    transition: background 0.3s;
}
.cart-btn:hover { background: #4682B4; }
.cart-count {
    background: white;
    color: #4682B4;
    border-radius: 50%;
    padding: 1px 6px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 4px;
}

/* Cart Overlay & Drawer */
.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 200;
}
.cart-overlay.open { display: block; }

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100vh;
    background: white;
    z-index: 201;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
}
.cart-drawer.open { right: 0; }

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}
.cart-header h3 { font-size: 20px; }
.cart-header button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

.cart-items { flex: 1; overflow-y: auto; padding: 16px; }
.empty-cart { text-align: center; color: #999; margin-top: 40px; }

.cart-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.cart-item-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.cart-item-name { font-weight: 600; font-size: 14px; }
.cart-item-price { color: #87CEEB; font-weight: 600; }
.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart-item-controls button {
    background: #f0f0f0;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-item-controls button:hover { background: #87CEEB; color: white; }
.remove-btn { background: #ffe0e0 !important; }
.remove-btn:hover { background: #ff6b6b !important; }

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}
.cart-total {
    font-size: 18px;
    margin-bottom: 12px;
    text-align: right;
}

/* Checkout Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 300;
    align-items: center;
    justify-content: center;
}
.modal-overlay.open { display: flex; }

.checkout-modal {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.modal-header h3 { font-size: 22px; }
.modal-header button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #555;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Comfortaa', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: #87CEEB; }

.order-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    font-size: 14px;
}
.order-summary strong { display: block; margin-bottom: 10px; }
.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    color: #555;
}
.order-total {
    border-top: 1px solid #ddd;
    margin-top: 10px;
    padding-top: 10px;
    font-size: 16px;
    text-align: right;
}

@media (max-width: 480px) {
    .cart-drawer { width: 100%; right: -100%; }
    .checkout-modal { padding: 20px; }
}

/* Toast */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #333;
    color: white;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-family: 'Comfortaa', sans-serif;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 999;
    white-space: nowrap;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
