/*
Theme Name: Vurzen Astra Child (AllSaints Dark)
Theme URI: https://vurzen.com/
Description: Minimal dark editorial homepage for WooCommerce (Astra child theme). Built for fast migration: all homepage content is configurable in Customizer.
Author: Vurzen
Template: astra
Version: 1.0.6
Text Domain: vurzen-astra-child
*/

/* ---------- Global / Brand ---------- */
:root{
  --vz-bg: #000;
  --vz-fg: #fff;
  --vz-muted: rgba(255,255,255,.72);
  --vz-dim: rgba(255,255,255,.55);
  --vz-line: rgba(255,255,255,.18);
  --vz-overlay: rgba(0,0,0,.35);
  --vz-overlay-strong: rgba(0,0,0,.55);
  --vz-max: 1180px;
}

body{
  background: var(--vz-bg);
  color: var(--vz-fg);
}

a{ color: var(--vz-fg); }
a:hover{ opacity: .9; }

/* Keep Astra header, but make it more "brand" */
.site-header{
  background: rgba(0,0,0,.55) !important;
  backdrop-filter: blur(10px);
}
.site-header a,
.site-header .main-header-menu a{
  color: var(--vz-fg) !important;
}
.main-header-menu a{
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}
.main-header-menu a:hover{ opacity: .85; }

/* ---------- Front page layout ---------- */
.vz-wrap{
  max-width: var(--vz-max);
  margin: 0 auto;
  padding: 0 20px;
}

.vz-section{
  padding: 70px 0;
}

.vz-kicker{
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vz-dim);
  margin: 0 0 10px 0;
}

.vz-h2{
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.05;
  margin: 0 0 26px 0;
  letter-spacing: .01em;
}

/* ---------- HERO ---------- */
.vz-hero{
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.vz-hero-media{
  position: absolute;
  inset: 0;
}

.vz-hero video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* AllSaints A1 vibe: force cinematic B/W (auto) */
  filter: grayscale(1) contrast(1.10) brightness(.86);
}

.vz-hero-slides{
  position:absolute;
  inset:0;
  background:#000;
}

.vz-hero-slide{
  position:absolute;
  inset:0;
  background-position:center;
  background-size:cover;
  opacity:0;
  transition: opacity 1s ease;
  /* Same B/W treatment for image slides */
  filter: grayscale(1) contrast(1.10) brightness(.86);
}

.vz-hero-overlay{
  position:absolute;
  inset:0;
  background: var(--vz-overlay);
}

.vz-hero-content{
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
}

.vz-hero-inner{
  width: 100%;
  padding: 90px 0 70px 0;
}

.vz-hero-headline{
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  margin: 0 0 12px 0;
  letter-spacing: .01em;
}

.vz-hero-sub{
  color: var(--vz-muted);
  font-size: clamp(14px, 1.5vw, 18px);
  margin: 0 0 22px 0;
  max-width: 560px;
}

.vz-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid var(--vz-line);
  color: var(--vz-fg);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  background: transparent;
  text-decoration: none;
}
.vz-btn:hover{ background: rgba(255,255,255,.06); }

/* ---------- Category tiles ---------- */
.vz-tiles{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}
@media (max-width: 980px){
  .vz-tiles{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px){
  .vz-tiles{ grid-template-columns: 1fr; }
}

.vz-tile{
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255,255,255,.06);
}
.vz-tile::before{
  content:"";
  position:absolute;
  inset:0;
  background: var(--vz-overlay-strong);
  opacity: .0;
  transition: opacity .25s ease;
}
.vz-tile:hover::before{ opacity: .22; }

.vz-tile img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
  transition: transform .6s ease;
}
.vz-tile:hover img{ transform: scale(1.06); }

.vz-tile-label{
  position:absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  z-index: 2;
}

.vz-tile-title{
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vz-fg);
  margin:0;
}

.vz-tile-arrow{
  width: 32px;
  height: 32px;
  border: 1px solid var(--vz-line);
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  font-size: 14px;
  color: var(--vz-fg);
}

/* ---------- Editorial strip ---------- */
.vz-editorial{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 26px;
  align-items: center;
}
@media (max-width: 980px){
  .vz-editorial{ grid-template-columns: 1fr; }
}

.vz-editorial-figure{
  aspect-ratio: 16/10;
  background:#111;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.06);
}
.vz-editorial-figure img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
}

.vz-editorial-copy p{
  color: var(--vz-muted);
  margin: 0 0 18px 0;
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Woo product sections ---------- */
.vz-products .woocommerce ul.products{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
@media (max-width: 980px){
  .vz-products .woocommerce ul.products{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px){
  .vz-products .woocommerce ul.products{ grid-template-columns: 1fr !important; }
}
.vz-products .woocommerce ul.products li.product{
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  padding: 12px !important;
}
.vz-products .woocommerce ul.products li.product .woocommerce-loop-product__title,
.vz-products .woocommerce ul.products li.product .price{
  color: var(--vz-fg) !important;
}
.vz-products .woocommerce ul.products li.product a.button{
  background: transparent !important;
  color: var(--vz-fg) !important;
  border: 1px solid var(--vz-line) !important;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
}

/* Footer */
.site-footer{
  background:#000 !important;
  color: var(--vz-muted) !important;
  border-top: 1px solid rgba(255,255,255,.08);
}


/* ========== VZ Header (AllSaints-inspired) ========== */
:root{
  --vz-bg: #050505;
  --vz-fg: #f2f2f2;
  --vz-muted: rgba(242,242,242,.72);
  --vz-line: rgba(242,242,242,.18);
}

body{
  background: var(--vz-bg);
  color: var(--vz-fg);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  letter-spacing: .2px;
}

.vz-header{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 9999;
  background: rgba(0,0,0,.74);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--vz-line);
}
.vz-header__inner{
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.vz-header__logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--vz-fg);
}
.vz-header__logo img{ max-height: 26px; width: auto; }
.vz-wordmark{ font-weight: 700; letter-spacing: .32em; font-size: 14px; }

.vz-header__nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  white-space: nowrap;
}
.vz-header__link{
  color: var(--vz-muted);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .18em;
  padding: 8px 4px;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.vz-header__link:hover{
  color: var(--vz-fg);
  border-color: rgba(242,242,242,.35);
}

.vz-header__right{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}
.vz-icon{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--vz-line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--vz-fg);
  font-size: 14px;
  line-height: 1;
  opacity: .92;
}
.vz-icon:hover{ opacity: 1; border-color: rgba(242,242,242,.35); }
.vz-cart-count{
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

@media (max-width: 1024px){
  .vz-header__inner{ grid-template-columns: 1fr auto; }
  .vz-header__nav{ display:none; }
}

/* Make Astra containers blend into dark */
.site-content, .ast-container, .content-area{ background: transparent !important; }
a{ color: inherit; }


/* ========== Mobile PRO Patch (AllSaints-like on phones) ========== */
@media (max-width: 768px){
  /* Give space for fixed VZ header */
  body{ padding-top: 72px !important; }

  /* Hero should feel cinematic but not eat the whole screen */
  .vz-hero{ min-height: 78vh; }
  .vz-hero-content{ min-height: 78vh; }
  .vz-hero video{ object-position: center 22%; }
  .vz-hero-inner{ padding: 64px 0 44px 0; }

  /* AllSaints mobile typography: smaller, tighter, more breathing room */
  .vz-hero-headline{ font-size: clamp(28px, 7vw, 44px); letter-spacing: .005em; }
  .vz-hero-sub{ font-size: 14px; line-height: 1.55; max-width: 34ch; }
  .vz-btn{ padding: 12px 18px; font-size: 11px; letter-spacing: .16em; }

  /* Sections: bigger brand-like spacing without feeling long */
  .vz-section{ padding: 54px 0; }

  /* Tiles: keep premium look, reduce chrome */
  .vz-tiles{ gap: 12px; }
  .vz-tile-label{ left: 14px; right: 14px; bottom: 14px; }
  .vz-tile-arrow{ width: 30px; height: 30px; }
}

@media (max-width: 480px){
  body{ padding-top: 68px !important; }
  .vz-hero{ min-height: 74vh; }
  .vz-hero-content{ min-height: 74vh; }
  .vz-hero video{ object-position: center 18%; }
  .vz-hero-inner{ padding: 58px 0 38px 0; }

  .vz-wrap{ padding: 0 16px; }
  .vz-hero-headline{ font-size: 30px; }
  .vz-hero-sub{ max-width: 32ch; }

  .vz-section{ padding: 48px 0; }
}


/* --- V105 Mobile Typography Revert (v103 feel) --- */
@media (max-width: 768px){
  .vz-hero-headline{
    font-size: clamp(34px, 5vw, 64px);
    letter-spacing: .01em;
  }
  .vz-hero-sub{
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 1.5;
    max-width: 560px;
  }
  .vz-btn{
    padding: 14px 22px;
    font-size: 12px;
    letter-spacing: .14em;
  }
}
@media (max-width: 480px){
  .vz-hero-headline{ font-size: 34px; }
}
