/*
Theme Name: Broviane Minimal
Theme URI: https://broviane.com
Author: Broviane
Description: A minimal WooCommerce-ready theme for Broviane natural crystal bracelets, inspired by warm gemstone jewelry layouts.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: broviane-minimal
*/

:root {
  --bv-bg: #faf7f2;
  --bv-paper: #fffdf9;
  --bv-ink: #2b2623;
  --bv-muted: #786d65;
  --bv-line: #eadfd4;
  --bv-gold: #b88a5a;
  --bv-gold-dark: #8f653c;
  --bv-blush: #efe4dc;
  --bv-shadow: 0 18px 50px rgba(43, 38, 35, 0.08);
  --bv-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --bv-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bv-bg);
  color: var(--bv-ink);
  font-family: var(--bv-sans);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.bv-announcement {
  background: var(--bv-ink);
  color: #fffaf3;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 9px 16px;
  text-align: center;
  text-transform: uppercase;
}

.bv-site-header {
  background: rgba(250, 247, 242, 0.92);
  border-bottom: 1px solid var(--bv-line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.bv-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.bv-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.bv-logo {
  font-family: var(--bv-serif);
  font-size: 30px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bv-logo span {
  display: block;
  color: var(--bv-muted);
  font-family: var(--bv-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  margin-top: -6px;
}

.bv-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--bv-muted);
  font-size: 14px;
}

.bv-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bv-nav a:hover,
.bv-nav .current-menu-item > a {
  color: var(--bv-ink);
}

.bv-cart-link {
  border: 1px solid var(--bv-gold);
  border-radius: 999px;
  color: var(--bv-gold-dark);
  padding: 8px 16px;
}

.bv-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 56px;
  padding: 74px 0 54px;
}

.bv-kicker {
  color: var(--bv-gold-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bv-hero h1,
.bv-page-title,
.bv-section-title {
  font-family: var(--bv-serif);
  font-weight: 500;
  line-height: 0.98;
}

.bv-hero h1 {
  font-size: clamp(48px, 8vw, 90px);
  margin: 16px 0 22px;
}

.bv-hero p {
  color: var(--bv-muted);
  font-size: 18px;
  max-width: 620px;
}

.bv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.bv-button,
.button,
.wp-element-button,
button.single_add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--bv-ink) !important;
  border: 1px solid var(--bv-ink) !important;
  border-radius: 999px !important;
  color: #fffaf3 !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-family: var(--bv-sans) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  min-height: 46px;
  padding: 12px 24px !important;
  text-transform: uppercase;
}

.bv-button--ghost {
  background: transparent !important;
  color: var(--bv-ink) !important;
}

.bv-hero-card {
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.9), transparent 32%),
    linear-gradient(145deg, #f2e5dc, #fffaf5);
  border: 1px solid var(--bv-line);
  border-radius: 32px;
  box-shadow: var(--bv-shadow);
  min-height: 520px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.bv-hero-card img {
  border-radius: 24px;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  width: 100%;
}

.bv-trust {
  border-top: 1px solid var(--bv-line);
  border-bottom: 1px solid var(--bv-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 24px 0 56px;
}

.bv-trust div {
  padding: 22px 18px;
  text-align: center;
}

.bv-trust strong {
  display: block;
  font-family: var(--bv-serif);
  font-size: 22px;
  font-weight: 500;
}

.bv-trust span {
  color: var(--bv-muted);
  font-size: 13px;
}

.bv-section {
  padding: 52px 0;
}

.bv-section-head {
  align-items: end;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.bv-section-title,
.bv-page-title {
  font-size: clamp(38px, 6vw, 66px);
  margin: 0;
}

.bv-section-head p,
.bv-collection-intro p {
  color: var(--bv-muted);
  max-width: 620px;
}

.bv-meaning-grid,
.bv-category-pills {
  display: grid;
  gap: 14px;
}

.bv-meaning-grid {
  grid-template-columns: repeat(5, 1fr);
}

.bv-meaning-card,
.bv-pill {
  background: var(--bv-paper);
  border: 1px solid var(--bv-line);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(43, 38, 35, 0.04);
}

.bv-meaning-card {
  padding: 22px;
}

.bv-meaning-card strong {
  display: block;
  font-family: var(--bv-serif);
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 6px;
}

.bv-meaning-card span {
  color: var(--bv-muted);
  font-size: 14px;
}

.bv-collection-intro {
  padding: 52px 0 24px;
  text-align: center;
}

.bv-category-pills {
  grid-template-columns: repeat(6, 1fr);
  margin: 26px auto 12px;
  max-width: 980px;
}

.bv-pill {
  color: var(--bv-muted);
  font-size: 14px;
  padding: 13px 16px;
  text-align: center;
}

.bv-pill:hover {
  border-color: var(--bv-gold);
  color: var(--bv-ink);
}

.woocommerce .woocommerce-ordering select,
.woocommerce .woocommerce-result-count {
  color: var(--bv-muted);
  font-size: 14px;
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px !important;
  margin: 26px 0 60px !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product {
  background: transparent;
  float: none !important;
  margin: 0 !important;
  width: auto !important;
}

.woocommerce ul.products li.product a img {
  aspect-ratio: 1 / 1.18;
  background: var(--bv-paper);
  border: 1px solid var(--bv-line);
  border-radius: 26px;
  box-shadow: 0 12px 34px rgba(43, 38, 35, 0.06);
  object-fit: cover;
  padding: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--bv-ink);
  font-family: var(--bv-serif);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.08;
  padding: 14px 0 2px;
}

.woocommerce ul.products li.product .price {
  color: var(--bv-gold-dark) !important;
  font-size: 15px;
  font-weight: 700;
}

.woocommerce span.onsale {
  background: var(--bv-gold) !important;
  border-radius: 999px !important;
}

.bv-site-footer {
  background: #231f1d;
  color: #fff8ef;
  margin-top: 60px;
  padding: 54px 0 30px;
}

.bv-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 28px;
}

.bv-site-footer h3,
.bv-site-footer h4 {
  font-family: var(--bv-serif);
  font-weight: 500;
  margin: 0 0 12px;
}

.bv-site-footer p,
.bv-site-footer a {
  color: rgba(255, 248, 239, 0.72);
  font-size: 14px;
}

.bv-copyright {
  border-top: 1px solid rgba(255, 248, 239, 0.16);
  color: rgba(255, 248, 239, 0.58);
  font-size: 13px;
  margin-top: 34px;
  padding-top: 18px;
}

.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 50px;
  padding-top: 54px;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none !important;
  width: auto !important;
}

.woocommerce div.product .product_title {
  font-family: var(--bv-serif);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 500;
  line-height: 1;
}

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

@media (max-width: 900px) {
  .bv-hero,
  .single-product div.product,
  .bv-footer-grid {
    grid-template-columns: 1fr;
  }

  .bv-trust,
  .bv-meaning-grid,
  .bv-category-pills {
    grid-template-columns: repeat(2, 1fr);
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px !important;
  }

  .bv-nav {
    display: none;
  }
}

@media (max-width: 520px) {
  .bv-container {
    width: min(100% - 22px, 1180px);
  }

  .bv-trust,
  .bv-meaning-grid,
  .bv-category-pills {
    grid-template-columns: 1fr;
  }

  .bv-hero-card {
    min-height: auto;
    padding: 16px;
  }
}
