/*
Theme Name: GameDress
Theme URI: https://mygamedress.com
Author: GameDress
Description: Custom WooCommerce theme for GameDress — cute college game day outfits. Editorial layout with a video hero, dynamic featured products, shop-by-team categories and a fully theme-customizer-driven homepage.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
Text Domain: gamedress
Tags: e-commerce, custom-colors, custom-menu, featured-images, translation-ready
*/

/* -----------------------------------------------------------
   Tokens
----------------------------------------------------------- */
:root{
  --navy:#142B4A;
  --red:#D83A32;
  --warm-white:#F7F3EA;
  --blue:#4F7CBF;
  --gray:#D9D9D9;
  --paper:#EFEAE0;
  --navy-a55:rgba(20,43,74,0.55);
  --navy-a60:rgba(20,43,74,0.6);
  --navy-a82:rgba(20,43,74,0.82);
  --white-a15:rgba(247,243,234,0.15);

  --font-display:'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --font-body:'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script:'Kaushan Script', cursive;

  --container: 1280px;
  --gutter: 24px;
}

/* -----------------------------------------------------------
   Reset
----------------------------------------------------------- */
*, *::before, *::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  background:var(--warm-white);
  color:var(--navy);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.5;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
button, input, select, textarea{ font-family:inherit; font-size:inherit; color:inherit; }
button{ cursor:pointer; background:none; border:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
.screen-reader-text{
  position:absolute !important;
  clip:rect(1px,1px,1px,1px);
  width:1px; height:1px; overflow:hidden;
}
:focus-visible{ outline:2px solid var(--blue); outline-offset:2px; }

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 var(--gutter);
}

.eyebrow{
  display:block;
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--blue);
  font-weight:600;
  margin-bottom:16px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:999px;
  padding:14px 32px;
  font-size:12px;
  font-weight:600;
  letter-spacing:1.5px;
  text-transform:uppercase;
  white-space:nowrap;
}
.btn-outline-light{
  border:1.5px solid var(--warm-white);
  color:var(--warm-white);
}
.btn-outline-light:hover{ background:var(--warm-white); color:var(--navy); }
.btn-fill{
  background:var(--red);
  color:#fff;
  border:1.5px solid var(--red);
}
.btn-fill:hover{ background:#c22f28; border-color:#c22f28; }

.link-arrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:600;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:var(--red);
}
.link-arrow svg{ transition:transform .15s ease; }
.link-arrow:hover svg{ transform:translateX(3px); }

/* -----------------------------------------------------------
   Header
----------------------------------------------------------- */
.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:0 var(--gutter);
  height:88px;
  background:var(--warm-white);
  border-bottom:1px solid var(--gray);
  position:relative;
  z-index:40;
}
.site-header__nav{ display:flex; gap:32px; align-items:center; flex:1; }
.site-header__nav a{
  font-size:12px;
  font-weight:500;
  letter-spacing:1px;
  text-transform:uppercase;
  white-space:nowrap;
}
.site-header__nav a.current-menu-item,
.site-header__nav .current-menu-item > a{
  border-bottom:1.5px solid var(--navy);
  padding-bottom:4px;
}
.site-header__logo{
  font-family:var(--font-script);
  font-size:28px;
  color:var(--navy);
  display:flex;
  align-items:flex-start;
  gap:3px;
  line-height:1;
  flex-shrink:0;
}
.site-header__logo sup{ font-family:var(--font-body); font-size:10px; margin-top:2px; }
.site-header__icons{ display:flex; gap:22px; align-items:center; flex:1; justify-content:flex-end; }
.site-header__icons a,
.site-header__icons button{ display:flex; align-items:center; }
.cart-count{
  position:absolute;
  top:-6px; right:-8px;
  min-width:15px; height:15px;
  padding:0 3px;
  border-radius:50%;
  background:var(--red);
  color:#fff;
  font-size:9px;
  font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
.icon-wrap{ position:relative; display:flex; }
.menu-toggle{ display:none; }
.search-toggle{ display:flex; }

.site-search{
  position:fixed; left:0; right:0; top:0;
  background:var(--warm-white);
  border-bottom:1px solid var(--gray);
  transform:translateY(-100%);
  opacity:0;
  transition:transform .18s ease, opacity .18s ease;
  z-index:50;
  padding:24px;
}
.site-search.is-open{ transform:translateY(0); opacity:1; }
.site-search__inner{
  max-width:640px; margin:0 auto;
  display:flex; align-items:center; gap:16px;
}
.site-search__inner form{ flex:1; max-width:none !important; }
.site-search__close{ flex-shrink:0; }

@media (max-width: 900px){
  .site-header__nav{ display:none; }
  .menu-toggle{ display:flex; align-items:center; }
  .site-header{ padding:0 16px; }
  .mobile-nav{
    position:fixed; inset:88px 0 0 0;
    background:var(--warm-white);
    padding:32px 24px;
    transform:translateY(-8px);
    opacity:0;
    pointer-events:none;
    transition:opacity .18s ease, transform .18s ease;
    z-index:39;
    overflow-y:auto;
  }
  .mobile-nav.is-open{ opacity:1; transform:translateY(0); pointer-events:auto; }
  .mobile-nav a{
    display:block;
    padding:16px 0;
    border-bottom:1px solid var(--gray);
    font-size:15px;
    font-weight:500;
    text-transform:uppercase;
    letter-spacing:1px;
  }
}

/* -----------------------------------------------------------
   Hero (video)
----------------------------------------------------------- */
.hero{
  position:relative;
  overflow:hidden;
  min-height:560px;
  display:flex;
  align-items:flex-end;
  background:linear-gradient(160deg,#0a1626 0%,#142B4A 55%,#1d3a63 100%);
}
.hero__media{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
}
.hero__overlay{
  position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(10,22,38,0.78) 0%, rgba(10,22,38,0.15) 55%, rgba(10,22,38,0.35) 100%);
}
.hero__badge{
  position:absolute; top:20px; right:20px;
  border:1px dashed rgba(247,243,234,0.45);
  border-radius:20px;
  padding:6px 14px;
  font-size:10px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:rgba(247,243,234,0.7);
}
.hero__play{
  position:absolute; left:50%; top:50%;
  transform:translate(-50%,-50%);
  width:76px; height:76px;
  border-radius:50%;
  border:1.5px solid rgba(247,243,234,0.65);
  display:flex; align-items:center; justify-content:center;
  pointer-events:none;
}
.hero__content{
  position:relative; z-index:2;
  width:100%;
  padding:56px var(--gutter);
}
.hero__content-inner{ max-width:var(--container); margin:0 auto; }
.hero__title{
  font-family:var(--font-display);
  font-style:italic;
  font-weight:500;
  font-size:clamp(32px, 6vw, 60px);
  line-height:1.1;
  color:var(--warm-white);
  margin:0 0 28px;
  max-width:680px;
}

@media (max-width:640px){
  .hero{ min-height:420px; }
  .hero__play{ width:56px; height:56px; }
}

/* -----------------------------------------------------------
   Marquee
----------------------------------------------------------- */
.marquee{
  height:48px;
  background:var(--navy);
  overflow:hidden;
  display:flex;
  align-items:center;
}
.marquee__track{
  display:flex;
  gap:44px;
  white-space:nowrap;
  padding-left:44px;
  animation:marquee 24s linear infinite;
  width:max-content;
}
.marquee__track span.item{
  font-size:11px;
  font-weight:600;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--warm-white);
}
.marquee__dot{
  width:5px; height:5px; border-radius:50%;
  background:var(--red);
  align-self:center;
}
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce){
  .marquee__track{ animation:none; }
}

/* -----------------------------------------------------------
   Brand story
----------------------------------------------------------- */
.brand-story{
  padding:96px var(--gutter);
  background:#fff;
}
.brand-story__inner{
  max-width:var(--container);
  margin:0 auto;
  display:flex;
  gap:64px;
}
.brand-story__title{
  width:34%;
  flex-shrink:0;
}
.brand-story__title h2{
  font-family:var(--font-display);
  font-weight:500;
  font-size:32px;
  line-height:1.25;
  color:var(--navy);
}
.brand-story__body{ max-width:640px; }
.brand-story__body p{
  font-size:15.5px;
  line-height:1.85;
  color:var(--navy-a82);
  margin:0 0 22px;
}
@media (max-width:900px){
  .brand-story__inner{ flex-direction:column; gap:32px; }
  .brand-story__title{ width:100%; }
}

/* -----------------------------------------------------------
   Section heading row
----------------------------------------------------------- */
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:48px;
  flex-wrap:wrap;
}
.section-head h2{
  font-family:var(--font-display);
  font-weight:500;
  font-size:clamp(28px, 4vw, 40px);
  color:var(--navy);
}
.section-head .link-underline{
  font-size:12px; font-weight:600; letter-spacing:1.5px; text-transform:uppercase;
  color:var(--navy); border-bottom:1px solid var(--navy); padding-bottom:4px;
}

/* -----------------------------------------------------------
   Product grid + cards (shared: home + shop archive)
----------------------------------------------------------- */
.featured-products{ padding:96px var(--gutter); background:var(--warm-white); }
.featured-products__inner{ max-width:var(--container); margin:0 auto; }

.products-grid,
ul.products{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:36px;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}
@media (max-width:960px){ .products-grid, ul.products{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:28px; } }
@media (max-width:520px){ .products-grid, ul.products{ grid-template-columns:1fr; } }

.product-card, ul.products li.product{
  width:auto !important;
  margin:0 !important;
  float:none !important;
  padding:0 !important;
}
.product-card__media{
  position:relative;
  aspect-ratio:1/1.15;
  background:var(--paper);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.product-card__media img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
}
.product-card__tag{
  position:absolute; top:14px; left:14px;
  background:rgba(255,255,255,0.9);
  border-radius:20px;
  padding:5px 12px 5px 8px;
  display:flex; align-items:center; gap:6px;
  z-index:2;
}
.product-card__tag .dot{ width:7px; height:7px; border-radius:50%; display:inline-block; }
.product-card__tag span.label{ font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:0.5px; color:var(--navy); }
.product-card__wishlist{ position:absolute; top:14px; right:14px; z-index:2; }
.product-card__body{
  border-top:1px solid var(--gray);
  padding-top:16px;
  margin-top:16px;
}
.product-card__body .name,
ul.products li.product .woocommerce-loop-product__title{
  font-size:15px; font-weight:500; color:var(--navy);
  margin:0 0 6px;
}
.product-card__body .price,
ul.products li.product .price{
  font-size:15px; font-weight:600; color:var(--navy) !important;
}
.product-card__body .price del{ color:var(--navy-a55) !important; opacity:1; margin-right:6px; }
.product-card__body .price ins{ text-decoration:none; }
.product-card__body a.button,
.product-card__body a.added_to_cart{
  display:inline-block;
  margin-top:12px;
  font-size:11px; font-weight:600; letter-spacing:1px; text-transform:uppercase;
  color:var(--red);
  background:none;
  padding:0;
}
.product-card__body a.added_to_cart{ display:block; margin-top:6px; }
.product-card__placeholder{ width:56px; height:56px; }

/* -----------------------------------------------------------
   Shop by team
----------------------------------------------------------- */
.shop-by-team{
  padding:72px var(--gutter);
  background:#fff;
  border-top:1px solid var(--gray);
  border-bottom:1px solid var(--gray);
}
.shop-by-team__inner{ max-width:var(--container); margin:0 auto; }
.shop-by-team h2{
  font-family:var(--font-display);
  font-weight:500;
  font-size:28px;
  margin:0 0 28px;
  color:var(--navy);
}
.team-chips{ display:flex; gap:14px; flex-wrap:wrap; }
.team-chip{
  display:inline-flex; align-items:center; gap:9px;
  border:1px solid var(--gray);
  border-radius:999px;
  padding:11px 22px;
}
.team-chip .dot{ width:9px; height:9px; border-radius:50%; }
.team-chip .label{ font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:0.5px; color:var(--navy); }

/* -----------------------------------------------------------
   Pride / manifesto
----------------------------------------------------------- */
.manifesto{
  padding:112px var(--gutter);
  background:var(--navy);
  text-align:center;
}
.manifesto__rule{ width:48px; height:2px; background:var(--red); margin:0 auto 32px; }
.manifesto__quote{
  font-family:var(--font-display);
  font-style:italic;
  font-weight:500;
  font-size:clamp(22px, 3.2vw, 34px);
  line-height:1.4;
  color:var(--warm-white);
  max-width:760px;
  margin:0 auto;
}
.manifesto__facts{
  display:flex; flex-wrap:wrap; justify-content:center;
  max-width:900px; margin:48px auto 0;
}
.manifesto__facts div{
  flex:1 1 240px;
  padding:0 32px;
  font-size:13px; line-height:1.7; color:var(--gray);
  border-left:1px solid var(--white-a15);
}
.manifesto__facts div:first-child{ border-left:none; }
@media (max-width:640px){
  .manifesto__facts div{ border-left:none; border-top:1px solid var(--white-a15); padding:24px 12px 0; margin-top:24px; flex:1 1 100%; }
  .manifesto__facts div:first-child{ border-top:none; margin-top:0; padding-top:0; }
}

/* -----------------------------------------------------------
   Footer
----------------------------------------------------------- */
.site-footer{ background:var(--warm-white); padding:72px var(--gutter) 32px; }
.site-footer__inner{ max-width:var(--container); margin:0 auto; }
.site-footer__grid{ display:flex; gap:56px; flex-wrap:wrap; }
.site-footer__brand{ flex:1.4 1 220px; }
.site-footer__brand .logo{ font-family:var(--font-script); font-size:26px; color:var(--navy); }
.site-footer__brand p{ font-size:13px; color:var(--navy-a60); line-height:1.6; margin-top:14px; max-width:240px; }
.site-footer__col{ flex:1 1 140px; }
.site-footer__col h3{
  font-size:11px; letter-spacing:1.5px; text-transform:uppercase; color:var(--navy-a55);
  margin:0 0 16px; font-weight:600;
}
.site-footer__col ul{ display:flex; flex-direction:column; gap:11px; }
.site-footer__col a{ font-size:14px; color:var(--navy); }
.site-footer__signup{ flex:1.6 1 240px; }
.site-footer__signup p{ font-size:13px; color:var(--navy-a60); margin:0 0 16px; line-height:1.6; }
.site-footer__signup form{ display:flex; border-bottom:1px solid var(--navy); padding-bottom:10px; gap:8px; }
.site-footer__signup input[type=email]{ flex:1; background:transparent; border:none; min-width:0; }
.site-footer__signup button{ color:var(--red); font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:1px; }
.site-footer__bottom{
  border-top:1px solid var(--gray);
  margin-top:48px; padding-top:24px;
  font-size:12px; color:var(--navy-a55);
}

/* -----------------------------------------------------------
   Generic page / blog / 404
----------------------------------------------------------- */
.page-wrap{ max-width:840px; margin:0 auto; padding:72px var(--gutter) 96px; }
.page-title{ font-family:var(--font-display); font-weight:500; font-size:40px; margin-bottom:32px; }
.entry-content{ font-size:16px; line-height:1.8; color:var(--navy-a82); }
.entry-content p{ margin:0 0 20px; }
.breadcrumb{ font-size:12px; color:var(--navy-a55); }
.breadcrumb .sep{ margin:0 8px; }
