/*
Theme Name: WLD BEST Child
Theme URI: https://wldbest.com
Description: Original luxury skincare storefront child theme for Blocksy.
Author: WLD BEST
Template: blocksy
Version: 1.0.0
Text Domain: wld-best
*/

:root {
  --wld-ink: #24231f;
  --wld-muted: #6f6b61;
  --wld-ivory: #f7f3eb;
  --wld-sand: #e6ddcf;
  --wld-sage: #65705a;
  --wld-sage-dark: #3f4938;
  --wld-white: #fffdf9;
  --wld-line: rgba(36, 35, 31, 0.16);
  --wld-serif: Georgia, 'Times New Roman', serif;
  --wld-sans: Inter, 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--wld-ink);
  background: var(--wld-white);
  font-family: var(--wld-sans);
  line-height: 1.6;
}

body.admin-bar .wld-header { top: 32px; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.wld-announcement {
  background: var(--wld-sage-dark);
  color: white;
  padding: 9px 20px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.wld-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding: 0 4vw;
  border-bottom: 1px solid var(--wld-line);
  background: rgba(255, 253, 249, .94);
  backdrop-filter: blur(12px);
}

.wld-logo {
  font: 600 21px/1 var(--wld-serif);
  letter-spacing: .2em;
  text-decoration: none;
}

.wld-nav,
.wld-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.wld-nav a,
.wld-actions a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.wld-nav a:hover,
.wld-actions a:hover { color: var(--wld-sage); }
.wld-actions { justify-content: flex-end; }
.wld-menu-toggle { display: none; }

.wld-main { overflow: hidden; }
.wld-wrap { width: min(1180px, 90vw); margin-inline: auto; }
.wld-eyebrow {
  margin: 0 0 18px;
  color: var(--wld-sage-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.wld-heading {
  margin: 0;
  font: 400 clamp(38px, 5vw, 68px)/1.02 var(--wld-serif);
  letter-spacing: -.03em;
}
.wld-subheading {
  margin: 0;
  font: 400 clamp(30px, 4vw, 50px)/1.08 var(--wld-serif);
  letter-spacing: -.025em;
}
.wld-copy { color: var(--wld-muted); font-size: 16px; }
.wld-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 27px;
  border: 1px solid var(--wld-ink);
  background: var(--wld-ink);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-decoration: none;
  text-transform: uppercase;
  transition: .25s ease;
}
.wld-button:hover { background: var(--wld-sage-dark); border-color: var(--wld-sage-dark); color: white; }
.wld-button--ghost { background: transparent; color: var(--wld-ink); }
.wld-button--ghost:hover { color: white; }

.wld-hero {
  position: relative;
  min-height: min(760px, 82vh);
  background: var(--wld-ivory);
}
.wld-hero__image {
  position: absolute;
  inset: 0 0 0 42%;
  width: 58%;
  height: 100%;
  object-fit: cover;
}
.wld-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(42%, 590px);
  min-height: inherit;
  margin-left: 5vw;
  padding: 60px 5vw 60px 0;
}
.wld-hero__content .wld-copy { max-width: 500px; margin: 25px 0 30px; }
.wld-hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.wld-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--wld-line);
}
.wld-proof__item { padding: 28px 4vw; text-align: center; }
.wld-proof__item + .wld-proof__item { border-left: 1px solid var(--wld-line); }
.wld-proof strong { display: block; margin-bottom: 4px; font: 400 20px/1.2 var(--wld-serif); }
.wld-proof span { color: var(--wld-muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

.wld-section { padding: 110px 0; }
.wld-section--sand { background: var(--wld-ivory); }
.wld-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 44px;
}
.wld-text-link {
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
}

.wld-product-grid,
.wld-concern-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.wld-card { position: relative; }
.wld-card__media {
  position: relative;
  aspect-ratio: 1 / 1.12;
  overflow: hidden;
  background: var(--wld-sand);
}
.wld-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.wld-card:hover img { transform: scale(1.035); }
.wld-card__body { padding: 18px 2px 0; }
.wld-card h3 { margin: 0 0 4px; font: 400 24px/1.2 var(--wld-serif); }
.wld-card p { margin: 0; color: var(--wld-muted); font-size: 13px; }
.wld-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 7px 10px;
  background: rgba(255,255,255,.88);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wld-product-placeholder {
  display: flex;
  align-items: end;
  justify-content: center;
  height: 100%;
  padding: 12%;
  background: linear-gradient(145deg, #f0e9dc, #d9cebc);
}
.wld-bottle {
  width: 42%;
  height: 70%;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(90deg, #5b3b1f, #a66f38 50%, #4a2f19);
  box-shadow: 0 28px 40px rgba(50, 32, 18, .18);
}
.wld-bottle--cream { height: 54%; border-radius: 22px; background: linear-gradient(90deg,#d7cfbf,#fffdf6 50%,#cbc0ad); }
.wld-bottle--sage { height: 62%; background: linear-gradient(90deg,#3e4a3a,#76806d 50%,#34402f); }

.wld-split {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: 650px;
}
.wld-split__visual {
  min-height: 520px;
  background: url('assets/hero.jpg') 62% center / cover no-repeat;
}
.wld-split__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vw;
  background: var(--wld-sage-dark);
  color: white;
}
.wld-split__content .wld-eyebrow,
.wld-split__content .wld-copy { color: rgba(255,255,255,.72); }
.wld-split__content .wld-copy { max-width: 540px; margin: 24px 0 30px; }
.wld-split__content .wld-button { background: white; border-color: white; color: var(--wld-ink); align-self: flex-start; }

.wld-concern-card { position: relative; overflow: hidden; min-height: 500px; color: white; }
.wld-concern-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.wld-concern-card::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(20,20,17,.7)); }
.wld-concern-card__label { position: absolute; z-index: 2; inset: auto 30px 28px; }
.wld-concern-card__label span { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.wld-concern-card__label h3 { margin: 5px 0 0; font: 400 31px/1.1 var(--wld-serif); }
.wld-concern-card:hover img { transform: scale(1.04); }

.wld-consult {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 7vw;
}
.wld-consult__numbers { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--wld-line); }
.wld-stat { padding: 42px; }
.wld-stat:nth-child(odd) { border-right: 1px solid var(--wld-line); }
.wld-stat:nth-child(-n+2) { border-bottom: 1px solid var(--wld-line); }
.wld-stat strong { display: block; font: 400 34px/1 var(--wld-serif); }
.wld-stat span { color: var(--wld-muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.wld-wholesale {
  position: relative;
  padding: 120px 5vw;
  background: #2e322b;
  color: white;
  text-align: center;
}
.wld-wholesale__inner { width: min(760px, 90vw); margin: auto; }
.wld-wholesale .wld-eyebrow,
.wld-wholesale .wld-copy { color: rgba(255,255,255,.72); }
.wld-wholesale .wld-copy { margin: 24px auto 30px; }
.wld-wholesale .wld-button { background: white; border-color: white; color: var(--wld-ink); }

.wld-journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.wld-journal article { padding-top: 22px; border-top: 1px solid var(--wld-line); }
.wld-journal h3 { margin: 12px 0; font: 400 25px/1.2 var(--wld-serif); }
.wld-journal p { color: var(--wld-muted); font-size: 14px; }

.wld-footer { padding: 72px 5vw 30px; background: #1f211d; color: white; }
.wld-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 60px; }
.wld-footer__brand strong { display: block; margin-bottom: 20px; font: 400 30px/1 var(--wld-serif); letter-spacing: .14em; }
.wld-footer p { color: rgba(255,255,255,.65); font-size: 13px; }
.wld-footer h4 { margin: 0 0 18px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.wld-footer a { display: block; margin: 9px 0; color: rgba(255,255,255,.72); font-size: 13px; text-decoration: none; }
.wld-footer a:hover { color: white; }
.wld-footer__bottom { margin-top: 55px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.5); font-size: 11px; }

@media (max-width: 1000px) {
  .wld-header { grid-template-columns: 1fr auto; }
  .wld-nav { display: none; }
  .wld-logo { justify-self: start; }
  .wld-hero__image { left: 35%; width: 65%; opacity: .58; }
  .wld-hero__content { width: 58%; padding-right: 0; }
  .wld-split { grid-template-columns: 1fr; }
  .wld-split__visual { min-height: 450px; }
  .wld-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .wld-footer__grid > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 760px) {
  body.admin-bar .wld-header { top: 46px; }
  .wld-announcement { font-size: 9px; }
  .wld-header { min-height: 66px; padding-inline: 20px; }
  .wld-actions a:first-child { display: none; }
  .wld-hero { min-height: 700px; }
  .wld-hero__image { inset: 0; width: 100%; opacity: .45; }
  .wld-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,243,235,.96), rgba(247,243,235,.25)); }
  .wld-hero__content { width: auto; margin: 0; padding: 70px 24px; }
  .wld-heading { font-size: 48px; }
  .wld-proof { grid-template-columns: 1fr; }
  .wld-proof__item + .wld-proof__item { border-left: 0; border-top: 1px solid var(--wld-line); }
  .wld-section { padding: 78px 0; }
  .wld-section__head { display: block; }
  .wld-section__head .wld-text-link { display: inline-block; margin-top: 20px; }
  .wld-product-grid,
  .wld-concern-grid,
  .wld-journal-grid { grid-template-columns: 1fr; }
  .wld-concern-card { min-height: 420px; }
  .wld-consult { grid-template-columns: 1fr; }
  .wld-stat { padding: 28px 20px; }
  .wld-footer__grid { grid-template-columns: 1fr 1fr; }
  .wld-footer__brand { grid-column: 1 / -1; }
  .wld-footer__grid > :last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
