:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --grey: #f5f5f5;
    --dark-grey: #888;
    --red: #D32F2F; /* Christmas Red */
    --pink: #ff007f; /* UV Pink */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body { 
    font-family: var(--font-body); 
    background-color: var(--white); 
    color: var(--black); 
    line-height: 1.6; 
    -webkit-font-smoothing: antialiased; 
}

a { text-decoration: none; color: inherit; transition: 0.2s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* UTILITIES */
.container { max-width: 1300px; margin: 0 auto; padding: 0 25px; }
.flex { display: flex; align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.hidden-mobile { display: flex; }

/* PROMO BAR */
.promo-bar { 
    background: var(--black); 
    color: var(--white); 
    padding: 10px; 
    font-size: 12px; 
    font-weight: 700; 
    letter-spacing: 1px; 
    text-transform: uppercase; 
}

/* HEADER */
header { 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px); /* Icy blur effect */
    padding: 25px 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 1px solid #eaeaea; 
}

.logo { 
    font-family: var(--font-heading); 
    font-size: 28px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: -0.5px; 
    color: var(--black);
}

nav a { 
    margin-left: 30px; 
    font-weight: 600; 
    font-size: 13px; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    position: relative;
}

nav a:hover { opacity: 0.6; }
.highlight-pink { color: var(--pink); }
.highlight-red { color: var(--red); }

.teams-pill {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-btn { 
    font-weight: 700; 
    font-size: 13px; 
    background: var(--black); 
    color: white; 
    padding: 10px 20px; 
    border-radius: 50px; /* Pill shape */
}

/* HERO SECTION (Homepage) */
.hero-box {
    margin: 60px 0;
    text-align: center;
}
.hero-box h1 {
    font-family: var(--font-heading);
    font-size: 4rem; /* HUGE TEXT */
    line-height: 1;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.hero-box p {
    font-size: 1.1rem;
    color: var(--dark-grey);
    max-width: 500px;
    margin: 0 auto 20px auto;
}

/* PRODUCT GRID */
.grid { 
    display: grid; 
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 items per row */
    gap: 30px 20px; 
    max-width: 1100px;
    margin: 40px auto; 
}

/* PRODUCT CARD (The Shopify Look) */
.product-card { 
    background: transparent; 
    position: relative; 
}

.product-img { 
    width: 100%; 
    aspect-ratio: 1/1; 
    object-fit: contain; 
    background: #f9f9f9; 
    border-radius: 8px; 
    margin-bottom: 15px; 
    transition: transform 0.3s ease;
}

.product-card:hover .product-img { 
    transform: scale(1.02); /* Subtle zoom */
}

.product-title { 
    font-family: var(--font-heading); 
    font-size: 16px; 
    font-weight: 500; 
    margin-bottom: 5px; 
    text-transform: uppercase; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.price-container { font-family: var(--font-body); font-size: 14px; font-weight: 600; }
.strike { text-decoration: line-through; color: var(--dark-grey); margin-right: 8px; font-weight: 400; }
.price-tag { color: var(--red); }

.badge { 
    position: absolute; 
    top: 10px; 
    left: 10px; 
    background: var(--black); 
    color: white; 
    padding: 4px 10px; 
    font-size: 10px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    border-radius: 2px;
}

/* MOBILE + TABLET RESPONSIVENESS */
@media(max-width: 1200px) {
    .grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
}

@media(max-width: 900px) {
    .grid { 
        grid-template-columns: 1fr; /* 1 per row on mobile */
        gap: 20px 15px; 
        max-width: 100%;
        width: 100%;
        justify-items: center; /* center the card inside the grid cell */
    }
    .product-card {
        width: 100%;
        max-width: 360px; /* keeps card from being overly wide while still centered */
    }
    .product-img {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        margin: 0 auto;
    }
    .hero-box h1 { font-size: 2.5rem; }
    .hidden-mobile { display: none; }
}

/* DROPDOWN MENU */
.dropdown-trigger {
    position: relative;
    display: inline-block;
}

.dropdown-trigger:hover .dropdown-menu {
    display: block !important;
}
