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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #fff;
}

/* ── NAV ── */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px;
    background-color: #0a2540;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d4ff;
    text-decoration: none;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav ul li a:hover { color: #00d4ff; }

.cart-link {
    position: relative;
}

.cart-count {
    display: none;
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ff4757;
    color: #fff;
    border-radius: 50%;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    text-align: center;
    line-height: 18px;
    font-weight: 700;
}

/* ── BUTTONS ── */
.btn {
    display: inline-block;
    padding: 13px 32px;
    background-color: #00d4ff;
    color: #0a2540;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #00b8d9;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #00d4ff;
    color: #00d4ff;
    margin-left: 12px;
}

.btn-outline:hover {
    background-color: #00d4ff;
    color: #0a2540;
}

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

.btn-dark:hover { background-color: #112f52; }

/* ── HERO ── */
.hero {
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
                url('assets/images/hero.jpg') center/cover no-repeat;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 18px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 35px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
    background: linear-gradient(135deg, #0a2540, #0e3d6b);
    color: #fff;
    text-align: center;
    padding: 70px 60px;
}

.page-hero h1 { font-size: 2.8rem; margin-bottom: 12px; }
.page-hero p { font-size: 1.1rem; opacity: 0.85; max-width: 600px; margin: 0 auto; }

/* ── SECTIONS ── */
section { padding: 80px 60px; }
section h2 {
    font-size: 2.1rem;
    text-align: center;
    margin-bottom: 50px;
    color: #0a2540;
}

/* ── CATEGORIES ── */
.categories { background-color: #f4f9ff; }

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.category-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: #333;
    padding-bottom: 20px;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}

.category-card .icon { font-size: 3.2rem; padding: 28px 20px 8px; }
.category-card h3 { font-size: 1rem; color: #0a2540; padding: 0 12px; }

/* ── PRODUCT GRID ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.product-card .product-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #d0eaf5, #a8d8ea);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
}

.product-card .product-info { padding: 20px; }
.product-card .badge {
    display: inline-block;
    background: #00d4ff;
    color: #0a2540;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.product-card .badge.sale { background: #ff4757; color: #fff; }

.product-card h3 { font-size: 1rem; margin-bottom: 6px; color: #0a2540; }
.product-card .stars { color: #f5a623; font-size: 0.85rem; margin-bottom: 10px; }

.product-card .price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.product-card .price { font-size: 1.2rem; font-weight: 700; color: #00a8cc; }
.product-card .old-price { font-size: 0.9rem; color: #aaa; text-decoration: line-through; }

.product-card .btn {
    width: 100%;
    text-align: center;
    padding: 11px;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* ── SHOP FILTERS ── */
.shop-controls {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    background: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    color: #555;
}

.filter-btn.active, .filter-btn:hover {
    border-color: #00d4ff;
    background: #00d4ff;
    color: #0a2540;
    font-weight: 700;
}

/* ── WHY US ── */
.why-us { background-color: #0a2540; color: #fff; }
.why-us h2 { color: #00d4ff; }

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.why-item .icon { font-size: 2.5rem; margin-bottom: 14px; }
.why-item h3 { font-size: 1.1rem; margin-bottom: 10px; color: #00d4ff; }
.why-item p { font-size: 0.9rem; color: #cce8f0; line-height: 1.6; }

/* ── NEWSLETTER ── */
.newsletter {
    background: linear-gradient(135deg, #00d4ff, #0a2540);
    text-align: center;
    color: #fff;
    padding: 70px 60px;
}

.newsletter h2 { color: #fff; margin-bottom: 12px; }
.newsletter p { margin-bottom: 28px; font-size: 1rem; opacity: 0.9; }

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 14px 24px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    width: 320px;
    outline: none;
}

.newsletter-form .btn {
    background-color: #0a2540;
    color: #00d4ff;
}

/* ── CART PAGE ── */
.cart-page { max-width: 900px; margin: 0 auto; padding: 60px 30px; }
.cart-page h1 { font-size: 2rem; color: #0a2540; margin-bottom: 35px; }

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-emoji { font-size: 3rem; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { color: #0a2540; margin-bottom: 5px; }
.cart-item-price { color: #00a8cc; font-weight: 600; }

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-item-controls button {
    width: 30px;
    height: 30px;
    border: 2px solid #00d4ff;
    border-radius: 50%;
    background: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: #0a2540;
    font-weight: 700;
}

.cart-item-subtotal { font-weight: 700; color: #0a2540; min-width: 70px; text-align: right; }

.remove-btn {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.2s;
}

.remove-btn:hover { color: #ff4757; }

.cart-summary {
    margin-top: 30px;
    text-align: right;
}

.cart-summary .total {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 20px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: #777;
}

.empty-cart h3 { font-size: 1.4rem; margin: 15px 0 8px; color: #0a2540; }
.empty-cart p { margin-bottom: 25px; }

/* ── BLOG ── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    text-decoration: none;
    color: #333;
    background: #fff;
}

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

.blog-card .blog-img {
    height: 180px;
    background: linear-gradient(135deg, #0a2540, #00d4ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.blog-card .blog-content { padding: 22px; }
.blog-card .blog-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #00a8cc;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.blog-card h3 { font-size: 1.1rem; color: #0a2540; margin-bottom: 10px; line-height: 1.4; }
.blog-card p { font-size: 0.88rem; color: #666; line-height: 1.6; margin-bottom: 15px; }
.blog-card .read-more { font-size: 0.85rem; color: #00a8cc; font-weight: 700; }

/* ── CONTACT ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 { font-size: 1.4rem; color: #0a2540; margin-bottom: 20px; }
.contact-info p { color: #666; line-height: 1.8; margin-bottom: 25px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; color: #555; }
.contact-detail .icon { font-size: 1.4rem; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #00d4ff;
}

.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .btn { align-self: flex-start; }

/* ── ABOUT ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.about-img {
    background: linear-gradient(135deg, #0a2540, #00d4ff);
    border-radius: 16px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
}

.about-text h2 { text-align: left; margin-bottom: 20px; }
.about-text p { color: #555; line-height: 1.8; margin-bottom: 18px; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.value-item { padding: 30px 20px; }
.value-item .icon { font-size: 2.5rem; margin-bottom: 12px; }
.value-item h3 { color: #0a2540; margin-bottom: 8px; }
.value-item p { color: #666; font-size: 0.9rem; line-height: 1.6; }

/* ── TOAST ── */
#toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #0a2540;
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    z-index: 9999;
    transition: transform 0.4s ease;
    white-space: nowrap;
    border-left: 4px solid #00d4ff;
}

#toast.show { transform: translateX(-50%) translateY(0); }

/* ── FOOTER ── */
footer {
    background-color: #061a2e;
    color: #888;
    padding: 50px 60px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.footer-brand .logo { font-size: 1.4rem; font-weight: 700; color: #00d4ff; }
.footer-brand p { margin-top: 12px; font-size: 0.88rem; line-height: 1.7; color: #777; }

.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 15px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #777; text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: #00d4ff; }

.footer-bottom {
    border-top: 1px solid #0f2d47;
    padding-top: 25px;
    text-align: center;
    font-size: 0.82rem;
    color: #555;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-bottom a { color: #00d4ff; text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    nav { padding: 15px 20px; flex-direction: column; gap: 12px; }
    nav ul { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .hero h1 { font-size: 2.2rem; }
    section { padding: 60px 20px; }
    .contact-grid, .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .newsletter-form input { width: 100%; }
    .page-hero { padding: 50px 20px; }
    .page-hero h1 { font-size: 2rem; }
}
