﻿:root{
    --accent:#f59e0b;
    --bg:#0a0a0f;
    --surface:#12121a;
    --surface-2:#16161f;
    --text:#f7f7fb;
    --muted:#a1a1aa;
    --border:rgba(255,255,255,0.08);
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'DM Sans',sans-serif;
    background:var(--bg);
    color:var(--text);
}

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

button,input,select,textarea{
    font:inherit;
}

header.navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:24px 48px;
    background:var(--surface);
    position:sticky;
    top:0;
    z-index:20;
}

.nav-brand{
    display:flex;
    align-items:center;
    gap:32px;
}

.logo{
    color:var(--accent);
    font-size:1.5rem;
    font-weight:800;
}

.nav-links{
    display:flex;
    align-items:center;
    gap:24px;
}

.nav-links a{
    opacity:.85;
    transition:opacity .2s ease;
}

.nav-links a:hover{
    opacity:1;
}

.nav-actions{
    display:flex;
    align-items:center;
    gap:16px;
}

.cart-link{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 18px;
    border-radius:999px;
    background:rgba(245,158,11,.15);
}

.cart-badge{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    min-width:34px;
    height:34px;
    border-radius:999px;
    background:var(--accent);
    color:#111;
    font-weight:800;
}

footer{
    text-align:center;
    padding:36px 24px;
    color:var(--muted);
}

.page-home{
    display:grid;
    gap:64px;
}

.hero{
    display:grid;
    grid-template-columns:1.1fr 1fr;
    gap:40px;
    align-items:center;
    padding:60px 48px;
}

.hero-copy .eyebrow{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:var(--accent);
    text-transform:uppercase;
    letter-spacing:.12em;
    font-size:.82rem;
    font-weight:700;
    margin-bottom:24px;
}

.hero-copy h1{
    font-family:'IBM Plex Sans',sans-serif;
    font-size:4rem;
    line-height:1.05;
    margin-bottom:24px;
}

.hero-copy p{
    max-width:560px;
    color:var(--muted);
    margin-bottom:32px;
    font-size:1.05rem;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    margin-bottom:36px;
}

.btn-primary,
.btn-outline{
    border:none;
    border-radius:999px;
    padding:16px 28px;
    font-weight:700;
    cursor:pointer;
    transition:transform .2s ease, box-shadow .2s ease;
}

.btn-primary{
    background:var(--accent);
    color:#111;
}

.btn-outline{
    background:transparent;
    color:var(--accent);
    border:1px solid rgba(245,158,11,.85);
}

.btn-primary:hover,
.btn-outline:hover{
    transform:translateY(-2px);
}

.hero-stats{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.hero-stats div{
    background:var(--surface-2);
    border:1px solid var(--border);
    border-radius:20px;
    padding:22px;
    text-align:center;
}

.hero-stats strong{
    display:block;
    margin-bottom:6px;
    font-size:1.1rem;
}

.hero-media{
    display:flex;
    justify-content:center;
}

.hero-card{
    position:relative;
    overflow:hidden;
    border-radius:32px;
    box-shadow:0 32px 90px rgba(0,0,0,.35);
}

.hero-card img{
    width:100%;
    height:560px;
    object-fit:cover;
}

.deal-badge{
    position:absolute;
    left:24px;
    bottom:24px;
    background:var(--accent);
    color:#111;
    padding:14px 22px;
    border-radius:999px;
    font-weight:700;
}

.feature-strip{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:18px;
    padding:30px 48px;
    background:var(--surface-2);
    border-radius:28px;
}

.feature-item{
    display:flex;
    gap:16px;
    align-items:flex-start;
    border-radius:22px;
    padding:22px;
    background:var(--bg);
    border:1px solid var(--border);
}

.feature-item span{
    font-size:1.8rem;
}

.feature-item strong{
    display:block;
    margin-bottom:6px;
}

.section-heading{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:16px;
    margin-bottom:32px;
    padding:0 48px;
}

.section-heading h2{
    font-family:'IBM Plex Sans',sans-serif;
    font-size:2rem;
}

.section-heading p{
    color:var(--muted);
}

.category-grid,
.products-section,
.testimonials,
.newsletter,
.deal-day{
    padding:0 48px;
}

.grid,
.product-grid,
.testimonial-grid{
    display:grid;
    gap:24px;
}

.grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

.product-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

.product-grid.product-grid-small{
    grid-template-columns:repeat(4,minmax(0,1fr));
}

.category-card,
.product-card,
.testimonial-card,
.summary-box,
.sidebar-card,
.checkout-summary .summary-box{
    background:var(--surface-2);
    border:1px solid var(--border);
    border-radius:24px;
}

.category-card{
    padding:34px;
    transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.category-card:hover{
    transform:translateY(-6px);
    border-color:rgba(245,158,11,.5);
    box-shadow:0 20px 50px rgba(0,0,0,.2);
}

.category-card span{
    font-size:2rem;
    margin-bottom:18px;
    display:inline-block;
}

.category-card h3{
    margin-bottom:8px;
}

.category-card p{
    color:var(--muted);
}

.product-card{
    overflow:hidden;
    border-radius:24px;
    transition:transform .25s ease, box-shadow .25s ease;
}

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

.product-card img{
    width:100%;
    height:280px;
    object-fit:cover;
}

.product-body{
    padding:24px;
}

.product-body small{
    color:var(--muted);
}

.product-body h3{
    margin:16px 0 12px;
    font-size:1.15rem;
}

.price-row{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:20px;
}

.old-price{
    color:var(--muted);
    text-decoration:line-through;
}

.card-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 24px 0;
}

.deal-day{
    display:grid;
    grid-template-columns:1.3fr 1fr;
    gap:32px;
    align-items:center;
    margin:0;
    padding:60px 48px;
    border-radius:32px;
    background:linear-gradient(135deg,rgba(245,158,11,.18),transparent);
}

.deal-copy h2{
    font-size:2.6rem;
    margin:18px 0;
}

.deal-pricing{
    display:flex;
    align-items:center;
    gap:18px;
    margin:24px 0;
}

.deal-pricing strong{
    font-size:2.4rem;
}

.deal-meta{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-bottom:28px;
}

.deal-actions{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

.testimonials{
    padding:60px 48px;
}

.testimonial-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

.testimonial-card{
    padding:30px;
}

.testimonial-stars{
    color:var(--accent);
    margin-bottom:18px;
}

.testimonial-card p{
    color:var(--muted);
    margin-bottom:24px;
}

.testimonial-person{
    display:flex;
    align-items:center;
    gap:14px;
}

.testimonial-person span{
    width:52px;
    height:52px;
    border-radius:999px;
    background:rgba(245,158,11,.2);
    display:grid;
    place-items:center;
    font-weight:800;
    color:var(--accent);
}

.newsletter{
    padding:60px 48px;
    border-radius:32px;
    background:var(--accent);
}

.newsletter-copy{
    max-width:650px;
    margin-bottom:24px;
}

.newsletter-copy h2{
    color:#111;
    font-size:2rem;
    margin-bottom:14px;
}

.newsletter-copy p{
    color:#262626;
}

.newsletter-form{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.newsletter-form input{
    flex:1 1 320px;
    padding:18px 22px;
    border-radius:999px;
    border:none;
}

.newsletter-form button{
    border:none;
    border-radius:999px;
    padding:18px 34px;
    background:#111;
    color:#fff;
    cursor:pointer;
}

.shop-layout{
    display:grid;
    grid-template-columns:320px 1fr;
    gap:32px;
    padding:48px;
}

.shop-sidebar{
    position:sticky;
    top:100px;
    align-self:start;
}

.sidebar-card{
    padding:28px;
    display:grid;
    gap:22px;
}

.sidebar-card h3{
    font-family:'IBM Plex Sans',sans-serif;
}

.filter-group{
    display:grid;
    gap:12px;
}

.filter-group label{
    color:var(--muted);
    font-size:.95rem;
}

.filter-label{
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 14px;
    border-radius:16px;
    background:var(--bg);
    border:1px solid var(--border);
    cursor:pointer;
}

.range-inputs{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.range-inputs input{
    width:100%;
}

.filter-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.shop-main{
    display:grid;
    gap:24px;
}

.shop-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
}

.breadcrumbs{
    color:var(--muted);
}

.shop-header h1{
    font-size:1.6rem;
}

.shop-subtitle{
    color:var(--muted);
}

.shop-sort select,
.checkout-form input,
.checkout-form select,
.checkout-form textarea,
.auth-card input,
.profile-form input,
.admin-form input,
.admin-form select{
    width:100%;
    border-radius:16px;
    border:1px solid var(--border);
    background:var(--surface);
    color:var(--text);
    padding:14px 16px;
}

.empty-state{
    padding:60px;
    border-radius:24px;
    background:var(--surface-2);
    border:1px solid var(--border);
    text-align:center;
}

.pagination{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    margin-top:20px;
}

.page-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:44px;
    padding:12px 16px;
    border:1px solid var(--border);
    border-radius:16px;
    background:var(--surface);
}

.page-btn.active{
    background:var(--accent);
    color:#111;
    border-color:var(--accent);
}

.cart-items{
    display:grid;
    gap:18px;
}

.cart-row{
    display:grid;
    grid-template-columns:110px 1.5fr 220px 140px 40px;
    gap:18px;
    align-items:center;
    padding:22px;
    border-radius:22px;
    background:var(--surface-2);
    border:1px solid var(--border);
}

.cart-product{
    display:flex;
    align-items:center;
    gap:18px;
}

.cart-product img{
    width:90px;
    height:90px;
    object-fit:cover;
    border-radius:18px;
}

.cart-product h3{
    margin-bottom:8px;
    font-size:1rem;
}

.cart-product small{
    color:var(--muted);
}

.unit-price{
    margin-top:10px;
    color:var(--accent);
    font-weight:700;
}

.cart-qty-control{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}

.cart-qty{
    width:58px;
    text-align:center;
    border:none;
    border-radius:16px;
    background:var(--surface);
    color:var(--text);
    padding:12px 0;
}

.row-subtotal{
    font-weight:700;
    color:var(--accent);
}

.remove-btn{
    border:none;
    width:40px;
    height:40px;
    border-radius:16px;
    background:rgba(255,255,255,.08);
    cursor:pointer;
    color:var(--text);
}

.summary-row{
    display:flex;
    justify-content:space-between;
    color:var(--muted);
    margin-bottom:18px;
}

.total-row{
    color:var(--text);
    font-size:1.35rem;
}

.summary-divider{
    height:1px;
    background:var(--border);
    margin:18px 0;
}

.btn-full{
    width:100%;
}

.checkout-layout{
    display:grid;
    grid-template-columns:1.8fr 1fr;
    gap:32px;
    padding:48px;
}

.checkout-main{
    display:grid;
    gap:32px;
}

.checkout-section{
    padding:32px;
    border-radius:24px;
    border:1px solid var(--border);
    background:var(--surface-2);
}

.section-header{
    display:flex;
    gap:18px;
    align-items:flex-start;
    margin-bottom:24px;
}

.step-indicator{
    width:45px;
    height:45px;
    border-radius:50%;
    background:rgba(245,158,11,.18);
    color:var(--accent);
    display:grid;
    place-items:center;
    font-weight:700;
}

.section-header h2{
    font-family:'IBM Plex Sans',sans-serif;
}

.section-header p{
    color:var(--muted);
}

.form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}

.form-grid-full{
    grid-template-columns:1fr;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select{
    border-radius:18px;
    border:1px solid var(--border);
    background:var(--surface);
    color:var(--text);
    padding:16px 18px;
}

.payment-options{
    display:grid;
    gap:16px;
}

.payment-card{
    display:flex;
    align-items:center;
    gap:18px;
    border:1px solid var(--border);
    border-radius:22px;
    padding:18px 22px;
    cursor:pointer;
}

.payment-card input{
    width:18px;
    height:18px;
}

.payment-card strong{
    display:block;
    margin-bottom:6px;
}

.checkout-summary{
    position:sticky;
    top:100px;
}

.summary-box{
    padding:28px;
    display:grid;
    gap:16px;
    border-radius:24px;
}

.summary-item{
    display:flex;
    justify-content:space-between;
    gap:16px;
    color:var(--muted);
}

.summary-item strong{
    color:var(--text);
}

.shipping-note{
    color:var(--muted);
    font-size:.95rem;
}

.auth-container{
    min-height:calc(100vh - 112px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:60px 24px;
}

.auth-card{
    width:min(480px,100%);
    padding:40px 36px;
    display:grid;
    gap:20px;
    border-radius:32px;
    background:var(--surface-2);
    border:1px solid var(--border);
    box-shadow:0 24px 80px rgba(0,0,0,.35);
}

.auth-card h1{
    font-family:'IBM Plex Sans',sans-serif;
    font-size:2rem;
}

.auth-card p{
    color:var(--muted);
    line-height:1.6;
}

.auth-card a{
    color:var(--accent);
}

.auth-btn{
    padding:16px 20px;
    border-radius:18px;
    border:none;
    background:var(--accent);
    color:#111;
    font-weight:700;
    cursor:pointer;
}

.error-box{
    padding:14px 18px;
    border-radius:18px;
    background:rgba(220,38,38,.12);
    color:#fee2e2;
    border:1px solid rgba(248,113,113,.25);
}

@media(max-width:1100px){
    .hero,
    .deal-day,
    .shop-layout,
    .checkout-layout,
    .category-grid,
    .products-section,
    .testimonials,
    .newsletter{
        padding-left:24px;
        padding-right:24px;
    }
    .hero,
    .deal-day,
    .shop-layout,
    .checkout-layout{
        grid-template-columns:1fr;
    }
    .grid,
    .product-grid,
    .testimonial-grid{
        grid-template-columns:1fr;
    }
    .product-grid.product-grid-small{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:760px){
    header.navbar{
        padding:20px 24px;
        flex-wrap:wrap;
    }
    .nav-links{
        gap:14px;
        flex-wrap:wrap;
    }
    .hero-copy h1{
        font-size:2.8rem;
    }
    .feature-strip,
    .hero-stats,
    .deal-meta,
    .testimonial-grid,
    .product-grid.product-grid-small{
        grid-template-columns:1fr;
    }
    .cart-row{
        grid-template-columns:1fr;
    }
    .cart-qty-control{
        justify-content:flex-start;
    }
    .shop-layout,
    .checkout-layout{
        grid-template-columns:1fr;
    }
    .checkout-summary{
        position:static;
    }
}
