/* =========================
   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:flex-end;
    align-items:center;
    padding:18px 30px;
    background:#000000;
    border-bottom:1px solid #000;
    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
}

.logo img{
    height:48px;
}

.logo span{
    font-family:'Creepster', cursive;
    font-size:28px;
    letter-spacing:2px;
    color:var(--white);
}

.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:18px;
    height:18px;
    border-radius:5px;
    border:1.5px solid var(--gray-500);
}


/* =========================
   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:36px;
    height:36px;
    border-radius:8px;
    border:2px solid var(--gray-500);
    cursor:pointer;
    transition:0.15s;
    box-shadow:0 2px 6px rgba(0,0,0,0.15);
}

.color:hover,
.color.selected{
    transform:scale(1.12);
    border-color:var(--red-bright);
    box-shadow:0 0 0 3px rgba(226,0,26,0.2);
}

.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);
}

.main-image-wrap{
    position:relative;
}

.image-fallback{
    display:none;
    position:absolute;
    inset:0;
    align-items:center;
    justify-content:center;
    background:var(--gray-100);
    border:1px solid var(--gray-200);
    border-radius:16px;
    color:var(--gray-500);
    font-size:14px;
}

.view-thumbs{
    display:flex;
    gap:12px;
    margin:14px 0;
}

.view-thumb{
    width:110px;
    height:110px;
    border:2px solid var(--gray-200);
    border-radius:10px;
    cursor:pointer;
    position:relative;
    overflow:hidden;
    background:var(--white);
    display:flex;
    align-items:center;
    justify-content:center;
    transition:0.15s;
}

.view-thumb:hover{
    border-color:var(--gray-500);
}

.view-thumb.selected{
    border-color:var(--ink);
}

.view-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.view-thumb-label{
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    background:rgba(0,0,0,0.55);
    color:#fff;
    font-size:10px;
    font-weight:700;
    letter-spacing:0.5px;
    text-align:center;
    padding:3px 0;
}

.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
========================= */

.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;
}


/* =========================
   STICKERS ADD-ON (cart page)
========================= */

.sticker-section{
    max-width:1000px;
    margin:0 auto 30px;
    padding:0 20px;
}

.sticker-section h2{
    font-size:20px;
    margin-bottom:6px;
}

.sticker-note{
    color:var(--gray-500);
    font-size:14px;
    margin-bottom:16px;
}

.sticker-note strong{
    color:var(--ink);
}

.sticker-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(110px, 1fr));
    gap:14px;
}

.sticker-tile{
    position:relative;
    border:2px solid var(--gray-200);
    border-radius:12px;
    background:var(--white);
    cursor:pointer;
    text-align:center;
    padding:10px;
    transition:0.15s;
}

.sticker-tile:hover{
    border-color:var(--gray-500);
}

.sticker-tile.selected{
    border-color:var(--red-bright);
    box-shadow:0 0 0 3px rgba(226,0,26,0.15);
}

.sticker-tile img{
    width:100%;
    height:70px;
    object-fit:contain;
    margin-bottom:8px;
}

.sticker-fallback{
    display:none;
    align-items:center;
    justify-content:center;
    height:70px;
    background:var(--off-white);
    border-radius:8px;
    margin-bottom:8px;
    color:var(--gray-500);
    font-size:11px;
    padding:6px;
    text-align:center;
}

.sticker-tile-name{
    font-size:12px;
    font-weight:600;
    color:var(--ink);
}

.sticker-tile-price{
    font-size:11px;
    color:var(--gray-500);
    margin-top:2px;
}

.sticker-tile.selected .sticker-tile-price{
    color:var(--red-bright);
    font-weight:700;
}

.sticker-check{
    position:absolute;
    top:8px;
    right:8px;
    min-width:20px;
    height:20px;
    padding:0 5px;
    border-radius:10px;
    background:var(--red-bright);
    color:#fff;
    font-size:12px;
    font-weight:bold;
    display:flex;
    align-items:center;
    justify-content:center;
}

.sticker-qty-row{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin-top:10px;
}

.sticker-qty-btn{
    width:26px;
    height:26px;
    padding:0;
    margin:0;
    border-radius:6px;
    background:var(--off-white);
    border:1px solid var(--gray-300);
    color:var(--ink);
    font-size:16px;
    line-height:1;
    cursor:pointer;
}

.sticker-qty-btn:hover{
    background:var(--gray-100);
}

.sticker-qty-btn:disabled{
    opacity:0.4;
    cursor:not-allowed;
}

.sticker-qty-count{
    min-width:16px;
    text-align:center;
    font-weight:700;
    font-size:14px;
}


/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .view-thumb{
        width:80px;
        height:80px;
    }

    .navbar{
        justify-content:flex-start;
    }

    .menu-toggle{
        margin-right:14px;
    }

    .nav-links{
        left:0;
        right:auto;
    }

    .hero h1{
        font-size:2.4rem;
    }

    .product-detail-grid{
        grid-template-columns:1fr;
        gap:24px;
    }

    .products{
        grid-template-columns:repeat(2, 1fr);
        gap:14px;
        padding:16px;
    }

    .product-card img{
        height:150px;
    }

    .product-card-info{
        padding:10px 12px 14px;
    }

    .product-card-info h3{
        font-size:13px;
    }

    .product-card-info .price{
        font-size:13px;
    }

    .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;
    }
}


/* =========================
   INTRO — FLOATING IMAGE
========================= */

/*
   intro.png is split into two halves in index.html.
   Both halves use the exact same animation so they
   continue to look like one complete image.
*/

.intro-half{
    animation:introFloat 3.8s ease-in-out infinite;
}

/* Gentle floating movement */
@keyframes introFloat{

    0%{
        top:0;
    }

    50%{
        top:-18px;
    }

    100%{
        top:0;
    }
}

/*
   Once TAP TO ENTER is pressed:
   - stop the floating animation
   - return image to its normal vertical position
   - existing door animation takes over
*/

#tapToEnter.open .intro-half{
    animation:none;
    top:0;
}


/* Accessibility:
   removes floating movement for users who have
   reduced-motion enabled on their device.
*/

@media (prefers-reduced-motion: reduce){

    .intro-half{
        animation:none;
    }
}


/* =========================
   CURRENCY SELECTOR
========================= */

#vandalCurrencyBar{
    position:fixed;
    left:20px;
    bottom:20px;
    z-index:9999;
}

.currency-button{
    width:auto;
    min-width:95px;
    height:48px;
    padding:0 16px;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;

    background:#fff;
    color:#141414;

    border:1px solid #e2e2e2;
    border-radius:0;

    font-family:Georgia, "Times New Roman", serif;
    font-size:20px;
    font-weight:400;

    cursor:pointer;

    box-shadow:0 2px 8px rgba(0,0,0,0.06);
}

.currency-button:hover{
    background:#fff;
    color:#141414;
}

.currency-arrow{
    width:0;
    height:0;

    border-left:7px solid transparent;
    border-right:7px solid transparent;
    border-top:7px solid #555;
}

.currency-menu{
    position:absolute;
    left:0;
    bottom:56px;

    width:95px;

    background:#fff;
    border:1px solid #e2e2e2;

    display:none;

    box-shadow:0 4px 14px rgba(0,0,0,0.12);
}

.currency-menu.currency-open{
    display:block;
}

.currency-menu button{
    width:100%;
    padding:11px 16px;

    background:#fff;
    color:#141414;

    border:none;
    border-radius:0;

    text-align:left;

    font-family:Arial, Helvetica, sans-serif;
    font-size:14px;

    cursor:pointer;
}

.currency-menu button:hover{
    background:#f6f6f6;
    color:#e2001a;
}

@media(max-width:600px){

    #vandalCurrencyBar{
        left:12px;
        bottom:12px;
    }

    .currency-button{
        min-width:85px;
        height:44px;
        padding:0 13px;
        font-size:18px;
    }

    .currency-menu{
        width:85px;
        bottom:52px;
    }
}