/*
Theme Name: Belvari Child
Template: astra
Version: 1.0
*/

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300&family=Inter:wght@300;400;500&display=swap");

:root {
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --dark: #0a0a0a;
  --dark-2: #111111;
  --dark-card: #141414;
  --dark-border: #252525;
  --text: #f0f0f0;
  --text-muted: #888;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--dark) !important;
  color: var(--text) !important;
  font-family: "Inter", sans-serif !important;
  font-weight: 300;
}

h1,h2,h3,h4,h5,h6 {
  font-family: "Cormorant Garamond", serif !important;
  font-weight: 400;
  letter-spacing: 0.05em;
}

a { color: var(--text); text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold); }

/* ── HEADER ── */
#masthead, .ast-primary-header-bar, .site-header {
  background: rgba(10,10,10,0.96) !important;
  border-bottom: 1px solid var(--dark-border) !important;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 999;
}

.site-title a, .ast-site-identity .site-title {
  font-family: "Cormorant Garamond", serif !important;
  font-size: 22px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase;
  color: var(--text) !important;
}

.main-header-bar .menu-item > a,
.ast-builder-menu .menu-item > a {
  color: var(--text) !important;
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;
}
.main-header-bar .menu-item > a:hover { color: var(--gold) !important; }

/* ── HERO ── */
.belvari-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1c1c1c 0%, #0a0a0a 100%);
}

.belvari-hero video.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.belvari-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.72) 0%, rgba(0,0,0,.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 8vw;
  max-width: 760px;
}

.hero-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.hero-title {
  font-family: "Cormorant Garamond", serif !important;
  font-size: clamp(50px, 8vw, 100px);
  font-weight: 300;
  line-height: 1.02;
  margin-bottom: 36px;
  color: var(--text) !important;
}

.hero-btn {
  display: inline-block;
  padding: 14px 44px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all .35s;
}
.hero-btn:hover { background: var(--gold); color: #000 !important; }

/* ── SECTIONS ── */
.belvari-section { padding: 90px 5vw; }
.belvari-section.dark { background: var(--dark-2); }

.section-header { text-align: center; margin-bottom: 55px; }
.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 14px;
}
.section-line {
  width: 36px; height: 1px;
  background: var(--gold);
  margin: 0 auto;
}

/* ── CATEGORY GRID ── */
.belvari-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.belvari-cat-item {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  display: block;
  background: var(--dark-card);
}

.belvari-cat-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.belvari-cat-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 55%);
  z-index: 1;
}

.belvari-cat-item:hover img { transform: scale(1.06); }

.belvari-cat-label {
  position: absolute;
  bottom: 26px; left: 0; right: 0;
  text-align: center;
  z-index: 2;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  letter-spacing: 0.1em;
  color: #fff;
}

.belvari-cat-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #1e1e1e, #111);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  opacity: .3;
}

/* ── PRODUCTS GRID ── */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 3px !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product {
  background: var(--dark-card) !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  position: relative;
}

.woocommerce ul.products li.product a img {
  width: 100% !important;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform .5s ease;
  margin: 0 !important;
  display: block;
}

.woocommerce ul.products li.product:hover a img { transform: scale(1.04); }

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--text) !important;
  font-family: "Cormorant Garamond", serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  padding: 14px 16px 4px !important;
  letter-spacing: 0.04em;
}

.woocommerce ul.products li.product .price {
  color: var(--gold) !important;
  font-size: 13px !important;
  padding: 0 16px 16px !important;
  display: block;
}

.woocommerce ul.products li.product .button { display: none !important; }

.woocommerce ul.products li.product .onsale {
  background: var(--gold) !important;
  color: #000 !important;
  border-radius: 0 !important;
  font-size: 9px !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px !important;
}

/* ── SINGLE PRODUCT ── */
.woocommerce div.product { background: var(--dark); }

.woocommerce div.product .product_title {
  font-family: "Cormorant Garamond", serif !important;
  color: var(--text) !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 300 !important;
  letter-spacing: 0.05em;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--gold) !important; font-size: 20px !important; }

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--text-muted) !important;
  line-height: 1.8;
}

.woocommerce .single_add_to_cart_button,
.woocommerce button.button.alt {
  background: var(--gold) !important;
  color: #000 !important;
  border-radius: 0 !important;
  font-size: 11px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  padding: 17px 45px !important;
  border: none !important;
  font-weight: 500 !important;
  transition: background .3s !important;
}
.woocommerce .single_add_to_cart_button:hover { background: var(--gold-light) !important; }

/* Product video */
.belvari-video-wrap {
  position: relative;
  width: 100%;
  background: #000;
}
.belvari-video-wrap video {
  width: 100%;
  max-height: 75vh;
  object-fit: cover;
  display: block;
}

/* Gallery */
.woocommerce-product-gallery__image img {
  background: var(--dark-card);
}

/* ── BREADCRUMBS ── */
.woocommerce-breadcrumb, .woocommerce-breadcrumb a { color: var(--text-muted) !important; }

/* ── FORMS ── */
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select,
input[type="text"],
input[type="email"],
input[type="password"] {
  background: #181818 !important;
  border: 1px solid var(--dark-border) !important;
  color: var(--text) !important;
  border-radius: 0 !important;
}

/* ── FOOTER ── */
#colophon, .site-footer {
  background: #050505 !important;
  border-top: 1px solid var(--dark-border) !important;
  color: var(--text-muted) !important;
}

/* ── BRAND STORY ── */
.belvari-story {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 100px 5vw;
}
.belvari-story p { color: var(--text-muted); line-height: 1.95; font-size: 15px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .belvari-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .hero-title { font-size: 44px !important; }
}

@media (max-width: 500px) {
  .hero-content { padding: 0 24px; }
  .belvari-section { padding: 60px 20px; }
}
