/* =====================================================
   AURA TECH STORE - MODERN E-COMMERCE STYLESHEET
   Brand Colors: Dark Slate (#0F172A), Accent Cyan (#0EA5E9), Royal Violet (#6366F1)
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #0B1120;
    color: #F8FAFC;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ================= TOP BAR ================= */
.top-bar {
    background: linear-gradient(90deg, #1279C6, #5C249B);
    color: #FFFFFF;
    text-align: center;
    padding: 7px 15px;
    font-size: 13px;
    font-weight: 500;
}

/* ================= HEADER ================= */
.store-header {
    position: sticky;
    top: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 900;
}

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

.brand-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #FFFFFF;
}

.logo-accent {
    color: #0EA5E9;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-size: 14.5px;
    font-weight: 500;
    color: #94A3B8;
    transition: 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #38BDF8;
}

.cart-trigger-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    font-size: 18px;
    padding: 10px 16px;
    border-radius: 30px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.cart-trigger-btn:hover {
    background: #0EA5E9;
    border-color: #0EA5E9;
}

.cart-badge {
    background: #EF4444;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================= HERO ================= */
.store-hero {
    background: linear-gradient(rgba(11, 17, 32, 0.8), rgba(11, 17, 32, 0.95)),
                url('https://images.unsplash.com/photo-1550009158-9ebf69173e03?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    padding: 90px 20px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero-text {
    max-width: 800px;
}

.badge-pill {
    display: inline-block;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.4);
    color: #38BDF8;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
    color: #FFFFFF;
}

.hero-text p {
    font-size: 16px;
    color: #CBD5E1;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-shop {
    background: linear-gradient(135deg, #1279C6, #5C249B);
    color: #FFFFFF;
    padding: 13px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(18, 121, 198, 0.4);
    transition: 0.3s;
}

.btn-shop:hover {
    transform: translateY(-3px);
}

.hero-guarantee {
    font-size: 14px;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-guarantee i {
    color: #10B981;
}

/* ================= FEATURES ================= */
.store-features {
    background: #0F172A;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
}

.features-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: rgba(14, 165, 233, 0.1);
    color: #38BDF8;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-box h4 {
    font-size: 15px;
    color: #FFFFFF;
}

.feature-box p {
    font-size: 13px;
    color: #94A3B8;
}

/* ================= PRODUCTS ================= */
.products-section {
    max-width: 1240px;
    margin: 60px auto 90px;
    padding: 0 20px;
}

.section-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title-wrap h2 {
    font-size: 32px;
    color: #FFFFFF;
}

.section-title-wrap p {
    color: #94A3B8;
    font-size: 15px;
}

.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #CBD5E1;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background: #0EA5E9;
    color: #FFFFFF;
    border-color: #0EA5E9;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: #151F36;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.35s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.card-media {
    position: relative;
    height: 250px;
    background: #0B1120;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.product-card:hover .card-media img {
    transform: scale(1.06);
}

.sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #EF4444;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.sale-badge.hot {
    background: linear-gradient(135deg, #F59E0B, #EF4444);
}

.card-info {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #F59E0B;
    margin-bottom: 8px;
}

.card-rating span {
    color: #94A3B8;
    margin-left: 5px;
}

.card-info h3 {
    font-size: 18px;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-snippet {
    color: #94A3B8;
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-box .currency {
    font-size: 13px;
    font-weight: 600;
    color: #38BDF8;
}

.price-box .current-price {
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
}

.price-box .old-price {
    font-size: 13px;
    color: #64748B;
    text-decoration: line-through;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #1279C6, #5C249B);
    color: #FFFFFF;
    border: none;
    padding: 9px 18px;
    border-radius: 20px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.add-to-cart-btn:hover {
    box-shadow: 0 4px 15px rgba(18, 121, 198, 0.4);
    transform: translateY(-2px);
}

/* ================= CART DRAWER ================= */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 1000;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90%;
    height: 100%;
    background: #0F172A;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    font-size: 18px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cart-btn {
    background: none;
    border: none;
    color: #94A3B8;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.close-cart-btn:hover {
    color: #FFFFFF;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-empty-state {
    text-align: center;
    color: #94A3B8;
    margin: auto 0;
}

.cart-empty-state i {
    font-size: 45px;
    color: #334155;
    margin-bottom: 15px;
}

.cart-item-row {
    display: flex;
    gap: 12px;
    background: #151F36;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

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

.cart-item-title {
    font-size: 13.5px;
    color: #FFFFFF;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 13px;
    color: #38BDF8;
    font-weight: 700;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.qty-btn {
    background: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.qty-num {
    font-size: 13px;
    color: #FFFFFF;
}

.remove-item-btn {
    background: none;
    border: none;
    color: #EF4444;
    cursor: pointer;
    font-size: 15px;
    padding: 5px;
}

.cart-drawer-footer {
    padding: 20px;
    background: #0B1120;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #94A3B8;
    margin-bottom: 8px;
}

.summary-row.total-row {
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 12px 0 16px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.total-price {
    color: #38BDF8;
}

.free-shipping {
    color: #10B981;
    font-weight: 600;
}

.btn-checkout-whatsapp {
    width: 100%;
    background: #25D366;
    color: #FFFFFF;
    border: none;
    padding: 13px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-checkout-whatsapp:hover {
    background: #20BA56;
    transform: translateY(-2px);
}

.checkout-note {
    font-size: 11.5px;
    text-align: center;
    color: #64748B;
    margin-top: 8px;
}

/* ================= TOAST ================= */
.toast-notification {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #10B981;
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(100px);
    opacity: 0;
    transition: 0.35s ease;
    z-index: 1200;
}

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

/* ================= FOOTER ================= */
.store-footer {
    background: #060913;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 20px 25px;
}

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

.footer-col p {
    color: #94A3B8;
    font-size: 14px;
    margin-top: 12px;
}

.footer-col h4 {
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #94A3B8;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col ul a:hover {
    color: #38BDF8;
}

.pay-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.pay-badges span {
    font-size: 12.5px;
    color: #CBD5E1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    font-size: 13px;
    color: #64748B;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .hero-text h1 {
        font-size: 34px;
    }
}

@media (max-width: 640px) {
    .nav-menu {
        display: none;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .hero-text h1 {
        font-size: 28px;
    }
    .cart-drawer {
        width: 100%;
        max-width: 100%;
    }
}