/* =========================
   VANDAL — DESIGN SYSTEM
   White / Gray base, Red accent
========================= */

:root{
    --white:#ffffff;
    --off-white:#f6f6f6;
    --gray-100:#efefef;
    --gray-200:#e2e2e2;
    --gray-300:#cfcfcf;
    --gray-500:#8a8a8a;
    --gray-700:#4a4a4a;
    --ink:#141414;
    --red:#e2001a;
    --red-bright:#ff0000;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--white);
    color:var(--ink);
    font-family:Arial, Helvetica, sans-serif;
    overflow-x:hidden;
    overflow-wrap:break-word;
}

img{
    max-width:100%;
    height:auto;
}

a{
    color:inherit;
}

/* =========================
   TOAST NOTIFICATIONS
========================= */

#toast-container{
    position:fixed;
    bottom:24px;
    left:50%;
    transform:translateX(-50%);
    z-index:99999;
    display:flex;
    flex-direction:column;
    gap:10px;
    align-items:center;
    pointer-events:none;
}

.toast{
    background:var(--ink);
    border-left:4px solid var(--red-bright);
    color:#fff;
    padding:14px 20px;
    border-radius:8px;
    font-size:14px;
    box-shadow:0 8px 24px rgba(0,0,0,0.25);
    opacity:0;
    transform:translateY(10px);
    transition:opacity 0.25s ease, transform 0.25s ease;
    max-width:min(90vw, 360px);
    text-align:center;
}

.toast.toast-visible{
    opacity:1;
    transform:translateY(0);
}

.toast.toast-error{
    border-left-color:#ff4444;
}

.toast.toast-success{
    border-left-color:#2ecc71;
}

/* =========================
   NAVBAR (shared across pages)
========================= */

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 30px;
    background:var(--ink);
    border-bottom:1px solid #000;
    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo img{
    height:48px;
}

.logo span{
    font-family:'Creepster', cursive;
    font-size:28px;
    letter-spacing:2px;
    color:var(--white);
}

.nav{
    position:relative;
}

.menu-toggle{
    width:auto;
    background:none;
    border:1px solid #555;
    color:var(--white);
    padding:9px 14px;
    border-radius:8px;
    cursor:pointer;
    font-size:14px;
    font-weight:bold;
    letter-spacing:0.5px;
    display:flex;
    align-items:center;
    gap:8px;
    transition:0.2s;
}

.menu-toggle:hover{
    border-color:var(--red-bright);
    color:var(--red-bright);
}

.menu-toggle .bars{
    display:flex;
    flex-direction:column;
    gap:3px;
}

.menu-toggle .bars span{
    display:block;
    width:16px;
    height:2px;
    background:currentColor;
}

.nav-links{
    position:absolute;
    top:100%;
    right:0;
    background:var(--white);
    border:1px solid var(--gray-200);
    border-radius:0 0 12px 12px;
    box-shadow:0 12px 28px rgba(0,0,0,0.10);
    list-style:none;
    display:none;
    flex-direction:column;
    min-width:200px;
    overflow:hidden;
    z-index:1001;
}

.nav-links.nav-open{
    display:flex;
}

.nav-links li{
    border-top:1px solid var(--gray-100);
}

.nav-links li:first-child{
    border-top:none;
}

.nav-links a{
    display:block;
    padding:14px 20px;
    color:var(--ink);
    text-decoration:none;
    font-weight:700;
    transition:0.2s;
}

.nav-links a:hover{
    background:var(--off-white);
    color:var(--red-bright);
}

.nav-links a.active{
    color:var(--red-bright);
}

/* =========================
   HERO
========================= */

.hero{
    height:90vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px;
    position:relative;
}

.hero h1{
    font-family:'Creepster', cursive;
    font-size:4.5rem;
    letter-spacing:3px;
    color:var(--ink);
}

.hero p{
    max-width:700px;
    color:var(--gray-700);
    margin-top:12px;
    font-size:18px;
}

.hero button{
    width:auto;
    margin-top:30px;
    padding:16px 38px;
    background:var(--red-bright);
    border:none;
    border-radius:10px;
    font-size:18px;
    color:#fff;
    cursor:pointer;
    transition:0.25s;
    font-weight:bold;
}

.hero button:hover{
    background:var(--ink);
    transform:scale(1.03);
}

/* =========================
   PRODUCTS GRID (shop)
========================= */

.products{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:24px;
    padding:35px;
}

.product-card{
    background:var(--white);
    border:1px solid var(--gray-200);
    border-radius:14px;
    overflow:hidden;
    transition:0.2s;
    text-decoration:none;
    color:var(--ink);
    display:block;
}

.product-card:hover{
    transform:translateY(-6px);
    border-color:var(--red-bright);
    box-shadow:0 14px 30px rgba(0,0,0,0.08);
}

.product-card img{
    width:100%;
    height:280px;
    object-fit:cover;
    background:var(--gray-100);
    display:block;
}

.product-card-info{
    padding:16px 18px 20px;
}

.product-card-info h3{
    font-size:16px;
    margin-bottom:6px;
}

.product-card-info .price{
    color:var(--red-bright);
    font-weight:bold;
    font-size:15px;
}

.swatch-preview{
    display:flex;
    gap:6px;
    margin-top:10px;
}

.swatch-preview .dot{
    width:14px;
    height:14px;
    border-radius:4px;
    border:1px solid var(--gray-300);
}

/* =========================
   SEARCH BAR
========================= */

.search-wrap{
    padding:25px 30px 0;
}

.search-wrap input{
    width:100%;
    padding:14px 18px;
    background:var(--off-white);
    border:1px solid var(--gray-200);
    color:var(--ink);
    border-radius:10px;
    font-size:16px;
    outline:none;
    transition:0.2s;
}

.search-wrap input::placeholder{
    color:var(--gray-500);
}

.search-wrap input:focus{
    border-color:var(--red-bright);
    background:var(--white);
}

.no-results{
    grid-column:1/-1;
    padding:60px 30px;
    text-align:center;
    color:var(--gray-500);
    font-size:18px;
}

/* =========================
   COLOR SWATCHES (product page)
========================= */

.color{
    width:26px;
    height:26px;
    border-radius:6px;
    border:1px solid var(--gray-300);
    cursor:pointer;
    transition:0.15s;
}

.color:hover, .color.selected{
    transform:scale(1.1);
    border-color:var(--red-bright);
    box-shadow:0 0 0 2px rgba(226,0,26,0.15);
}

.color-options{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:14px 0;
}

select{
    width:100%;
    padding:12px;
    margin-top:5px;
    background:var(--off-white);
    color:var(--ink);
    border:1px solid var(--gray-200);
    border-radius:10px;
}

/* =========================
   BUTTONS (site-wide default)
========================= */

button{
    width:100%;
    padding:13px;
    border:none;
    border-radius:10px;
    background:var(--red-bright);
    color:white;
    font-weight:bold;
    cursor:pointer;
    transition:0.2s;
}

button:hover{
    background:var(--ink);
}

button:disabled{
    background:var(--gray-200);
    color:var(--gray-500);
    cursor:not-allowed;
}

/* =========================
   PRODUCT DETAIL PAGE
========================= */

.product-detail{
    max-width:1000px;
    margin:0 auto;
    padding:40px 30px 80px;
}

.back-link{
    display:inline-block;
    color:var(--gray-500);
    text-decoration:none;
    margin-bottom:24px;
    font-size:14px;
    font-weight:600;
}

.back-link:hover{
    color:var(--red-bright);
}

.product-detail-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}

.product-detail-image img{
    width:100%;
    border-radius:16px;
    border:1px solid var(--gray-200);
    background:var(--gray-100);
}

.product-detail-info h1{
    font-size:28px;
    margin-bottom:8px;
}

.product-detail-info .price{
    color:var(--red-bright);
    font-size:22px;
    font-weight:bold;
    margin-bottom:20px;
}

.detail-label{
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:0.5px;
    color:var(--gray-500);
    margin-top:20px;
    margin-bottom:8px;
    font-weight:700;
}

.add-to-cart-btn{
    margin-top:28px;
}

/* =========================
   CART
========================= */

.cart-container{
    max-width:1000px;
    margin:auto;
    padding:50px 20px;
}

.cart-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:var(--white);
    border:1px solid var(--gray-200);
    padding:20px;
    margin-bottom:15px;
    border-radius:12px;
}

.cart-item img{
    width:140px;
    border-radius:10px;
    object-fit:cover;
    background:var(--gray-100);
}

.cart-item-info{
    flex:1;
    padding:0 20px;
}

.remove-btn{
    width:auto;
    padding:10px 18px;
    background:var(--gray-100);
    color:var(--ink);
}

.remove-btn:hover{
    background:var(--red-bright);
    color:#fff;
}

.cart-total{
    font-size:1.8rem;
    margin-top:30px;
    text-align:right;
}

.checkout-btn{
    margin-top:20px;
    display:inline-block;
    float:right;
    padding:15px 30px;
    background:var(--red-bright);
    color:white;
    text-decoration:none;
    border-radius:10px;
    font-weight:bold;
    transition:0.2s;
}

.checkout-btn:hover{
    background:var(--ink);
}

.empty-cart{
    text-align:center;
    color:var(--gray-500);
    padding:60px 20px;
}

.empty-cart a{
    color:var(--red-bright);
}

/* =========================
   CONTACT PAGE
========================= */

.contact-page{
    max-width:1200px;
    margin:auto;
    padding:80px 20px;
    text-align:center;
}

.contact-page h1{
    font-size:2.6rem;
    margin-bottom:20px;
}

.contact-subtitle{
    color:var(--gray-500);
    margin-bottom:50px;
}

.contact-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.contact-card{
    background:var(--white);
    border:1px solid var(--gray-200);
    padding:30px;
    border-radius:14px;
    transition:0.2s;
}

.contact-card:hover{
    border-color:var(--red-bright);
    transform:translateY(-5px);
}

.contact-card a{
    color:var(--ink);
    text-decoration:none;
}

.contact-card a:hover{
    color:var(--red-bright);
}

/* =========================
   FOOTER
========================= */

footer{
    text-align:center;
    padding:40px;
    border-top:1px solid var(--gray-200);
    margin-top:60px;
    color:var(--gray-500);
}

/* =========================
   CHECKOUT
========================= */

.checkout-page{
    min-height:80vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px 20px;
}

.checkout-box{
    background:var(--white);
    border:1px solid var(--gray-200);
    padding:40px;
    border-radius:20px;
    width:100%;
    max-width:400px;
}

.checkout-box h1{
    margin-bottom:10px;
}

.checkout-box input,
.checkout-box select{
    width:100%;
    padding:12px;
    margin-top:15px;
    background:var(--off-white);
    border:1px solid var(--gray-200);
    color:var(--ink);
    border-radius:10px;
}

.cart-summary{
    margin-top:20px;
    max-height:200px;
    overflow-y:auto;
}

.cart-line{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:4px 10px;
    font-size:14px;
    color:var(--gray-700);
    padding:8px 0;
    border-bottom:1px solid var(--gray-100);
}

/* =========================
   GATED ZONE
   (used by the entrance lock and the Unreleased zone)
========================= */

.gate-screen{
    position:fixed;
    inset:0;
    background:
        linear-gradient(rgba(255,255,255,0.90), rgba(255,255,255,0.90)),
        url("VANDAL LOGO.png") no-repeat center center;
    background-size:cover;
    z-index:99999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.gate-screen.gate-inline{
    position:static;
    background:var(--off-white);
    min-height:80vh;
}

.gate-box{
    text-align:center;
    max-width:420px;
}

.gate-box h1{
    font-family:'Creepster',cursive;
    font-size:44px;
    letter-spacing:3px;
    color:var(--ink);
    margin-bottom:6px;
}

.gate-sub{
    color:var(--gray-500);
    font-size:14px;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:22px;
}

.gate-countdown{
    font-size:44px;
    font-weight:bold;
    letter-spacing:3px;
    color:var(--red-bright);
    margin-bottom:28px;
}

.gate-row{
    display:flex;
    gap:10px;
}

.gate-row input{
    flex:1;
    min-width:0;
    padding:14px 16px;
    background:var(--white);
    border:1px solid var(--gray-300);
    color:var(--ink);
    border-radius:10px;
    font-size:15px;
    outline:none;
    text-align:center;
    letter-spacing:2px;
    text-transform:uppercase;
    transition:0.2s;
}

.gate-row input:focus{
    border-color:var(--red-bright);
}

.gate-row button{
    width:auto;
    padding:14px 22px;
    margin:0;
}

.gate-msg{
    min-height:18px;
    margin-top:12px;
    font-size:13px;
    color:var(--red-bright);
}

/* =========================
   UNRELEASED ZONE CONTENT
========================= */

.unreleased-header{
    text-align:center;
    padding:60px 20px 20px;
}

.unreleased-header h1{
    font-family:'Creepster',cursive;
    font-size:42px;
}

.unreleased-header p{
    color:var(--gray-500);
    margin-top:8px;
}

.unreleased-card{
    position:relative;
}

.coming-soon-badge{
    position:absolute;
    top:14px;
    left:14px;
    background:var(--ink);
    color:#fff;
    font-size:11px;
    font-weight:bold;
    letter-spacing:0.5px;
    padding:5px 10px;
    border-radius:6px;
    z-index:2;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .hero h1{
        font-size:2.4rem;
    }

    .product-detail-grid{
        grid-template-columns:1fr;
        gap:24px;
    }

    .products{
        grid-template-columns:1fr;
        padding:20px;
    }

    .contact-grid{
        grid-template-columns:1fr;
    }

    .contact-page{
        padding:50px 20px;
    }

    .checkout-box{
        padding:25px;
    }

    .cart-item{
        flex-direction:column;
        text-align:center;
    }

    .cart-item img{
        width:100%;
        max-width:220px;
    }

    .cart-item-info{
        padding:15px 0 0;
    }

    .checkout-btn{
        float:none;
        display:block;
        text-align:center;
    }

    .cart-total{
        text-align:center;
    }

    .logo img{
        height:40px;
    }

    .logo span{
        font-size:22px;
    }
}