/*
Theme Name: Beautyu
Theme URI: https://beauty-you-glow.base44.app
Author: Beautyu
Description: Korean skincare — pixel-perfect replica of Base44 original
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: beautyu
*/

/* ============================================================
   CSS VARIABLES — exact values from Base44 globals.css
   ============================================================ */
:root {
  /* Colors (converted from HSL) */
  --bg:          #fbfaf8;   /* hsl(40 33% 98%) */
  --bg-card:     #f9f8f5;   /* hsl(40 30% 97%) */
  --bg-secondary:#f2ede7;   /* hsl(33 30% 93%) — sections */
  --bg-muted:    #f2f0ec;   /* hsl(40 20% 94%) */
  --bg-accent:   #e1e9e4;   /* hsl(143 16% 90%) — icon backgrounds */
  --white:       #ffffff;
  --green:       #6c9d7e;   /* hsl(143 20% 52%) — primary */
  --green-dark:  #3d5b48;   /* hsl(143 20% 30%) — hover */
  --green-light: #a8c4b4;   /* lighter for step numbers */
  --text-dark:   #20242b;   /* hsl(220 15% 15%) — foreground */
  --text-mid:    #2b303a;   /* hsl(220 15% 20%) */
  --text-muted:  #697181;   /* hsl(220 10% 46%) — muted-foreground */
  --border:      #e4e1db;   /* hsl(40 15% 88%) */

  /* Typography — exact from globals.css */
  --font-head:   'Poppins', sans-serif;
  --font-body:   'Inter', sans-serif;

  /* Spacing & Shape */
  --radius:      0.75rem;   /* --radius: 0.75rem */
  --radius-sm:   calc(0.75rem - 4px);
  --radius-pill: 50px;
  --shadow:      0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 24px rgba(0,0,0,0.09);
  --max-w:       1280px;
  --px:          2rem;
  --transition:  0.25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.65; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 0.75rem;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
.section     { padding: 80px 0; }
.section--sm { padding: 48px 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn--primary {
  background: var(--green);
  color: #fff;
}
.btn--primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--link {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--text-dark);
  padding-bottom: 2px;
  border-radius: 0;
}
.btn--link:hover { color: var(--green); border-color: var(--green); }

/* ============================================================
   HEADER
   ============================================================ */
/* site-header styles consolidated below */
.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}
.site-logo em {
  font-style: italic;
  font-weight: 300;
  color: var(--green);
}
.site-nav { display: flex; gap: 2.5rem; }
.site-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  transition: color var(--transition);
}
.site-nav a:hover,
.site-nav a.current-menu-item { color: var(--text-dark); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.cart-link {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.cart-link:hover { border-color: var(--green); color: var(--green); }
.cart-link svg { width: 18px; height: 18px; }
.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 64px; /* header height */
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(251,250,248,0.92) 0%,
    rgba(251,250,248,0.65) 45%,
    rgba(251,250,248,0.10) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 0 var(--px);
  margin-left: max(var(--px), calc((100vw - var(--max-w)) / 2 + var(--px)));
}
.hero__title {
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.hero__title em {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--green);
}
.hero__subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 400px;
  line-height: 1.65;
}

/* ============================================================
   VALUE PROPS
   ============================================================ */
.value-props { padding: 80px 0; background: var(--bg); }
.value-props__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}
.value-prop { text-align: center; }
.value-prop__icon {
  width: 56px; height: 56px;
  background: var(--bg-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.value-prop__icon svg { width: 24px; height: 24px; color: var(--green-dark); }
.value-prop h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.value-prop p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 260px;
  margin: 0 auto;
}

/* ============================================================
   BEST SELLERS
   ============================================================ */
.best-sellers { padding: 80px 0; background: var(--bg-secondary); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-top: 0.25rem; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.product-card { cursor: pointer; }
.product-card__image {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-secondary);
  margin-bottom: 1rem;
}
.product-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.05); }
.product-card__badges {
  position: absolute;
  top: 12px; left: 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(108,157,126,0.9);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 20px;
  width: fit-content;
}
.product-card__quick-add {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 40px; height: 40px;
  background: rgba(251,250,248,0.9);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
  color: var(--text-dark);
}
.product-card:hover .product-card__quick-add {
  opacity: 1;
  transform: translateY(0);
}
.product-card__quick-add:hover {
  background: var(--green);
  color: #fff;
}
.product-card__quick-add svg { width: 16px; height: 16px; }
.product-card__name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.product-card__desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-card__price {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}
.product-card__price del {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 12px;
  margin-left: 4px;
}
.product-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}
.product-card__rating svg { width: 14px; height: 14px; color: var(--green); fill: var(--green); }
.section-footer { text-align: center; margin-top: 3rem; }

/* ============================================================
   ROUTINE PREVIEW
   ============================================================ */
.routine-preview { padding: 80px 0; background: var(--bg); }
.routine-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.routine-preview__image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.routine-preview__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.routine-steps { margin: 2.5rem 0; display: flex; flex-direction: column; gap: 2rem; }
.routine-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.routine-step__number {
  font-family: var(--font-head);
  font-size: 1.875rem;
  font-weight: 300;
  color: var(--green-light);
  line-height: 1;
  padding-top: 4px;
  flex-shrink: 0;
  min-width: 36px;
}
.routine-step__content h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-dark);
}
.routine-step__content p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.social-proof { padding: 80px 0; background: var(--bg-secondary); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}
.review-card__stars svg { width: 14px; height: 14px; color: var(--green); fill: var(--green); }
.review-card__text {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.review-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.review-card__name { font-size: 14px; font-weight: 500; color: var(--text-dark); }
.review-card__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

/* ============================================================
   BRAND STORY
   ============================================================ */
.brand-story { padding: 80px 0; background: var(--bg); }
.brand-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.brand-story__image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  order: 2;
}
.brand-story__image img { width: 100%; height: 100%; object-fit: cover; }
.brand-story__text { order: 1; }
.brand-story__text h2 { margin-bottom: 1.5rem; line-height: 1.2; }
.brand-story__text p { font-size: 14px; margin-bottom: 1rem; }
.brand-story__text .btn--link { margin-top: 0.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}
.footer-brand .site-logo { font-size: 1.1rem; display: inline-block; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 14px; color: var(--text-muted); max-width: 200px; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: var(--text-muted); transition: color var(--transition); }
.footer-social a:hover { color: var(--green); }
.footer-social svg { width: 20px; height: 20px; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 14px; color: var(--text-muted); transition: color var(--transition); }
.footer-col a:hover { color: var(--text-dark); }
.footer-newsletter p { font-size: 14px; color: var(--text-muted); margin-bottom: 1rem; }
.newsletter-form { display: flex; gap: 0.5rem; }
.newsletter-form input {
  flex: 1;
  padding: 0.625rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
  font-family: var(--font-body);
}
.newsletter-form input:focus { border-color: var(--green); }
.newsletter-form button {
  padding: 0.625rem 1.25rem;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition);
  font-family: var(--font-body);
}
.newsletter-form button:hover { background: var(--green-dark); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); margin: 0; }

/* ============================================================
   CART DRAWER
   ============================================================ */
.cart-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 200; opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.cart-drawer-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 400px; max-width: 100vw;
  background: var(--white);
  z-index: 201;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25,0.1,0.25,1);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.cart-drawer__header h3 { font-size: 15px; font-weight: 600; font-family: var(--font-body); }
.cart-close {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); padding: 4px;
  transition: color var(--transition);
}
.cart-close:hover { color: var(--text-dark); }
.cart-close svg { width: 20px; height: 20px; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-item {
  display: flex; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item__img {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-secondary);
  flex-shrink: 0;
}
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { flex: 1; }
.cart-item__name { font-size: 14px; font-weight: 500; margin-bottom: 4px; color: var(--text-dark); }
.cart-item__price { font-size: 14px; color: var(--green); font-weight: 600; margin-bottom: 8px; }
.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 26px; height: 26px;
  border: 1px solid var(--border);
  border-radius: 50%; background: none;
  cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); color: var(--text-dark);
}
.qty-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }
.qty-value { font-size: 14px; min-width: 20px; text-align: center; }
.cart-item__delete {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); align-self: center;
  transition: color var(--transition);
}
.cart-item__delete:hover { color: #dc2626; }
.cart-item__delete svg { width: 16px; height: 16px; }
.cart-drawer__footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
}
.cart-totals { margin-bottom: 1rem; }
.cart-row {
  display: flex; justify-content: space-between;
  font-size: 14px; color: var(--text-muted);
  margin-bottom: 6px;
}
.cart-row.total {
  font-weight: 700; font-size: 15px;
  color: var(--text-dark);
  padding-top: 8px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.cart-free-shipping { font-size: 12px; color: var(--green); margin-bottom: 8px; }
.cart-checkout-btn { width: 100%; justify-content: center; font-size: 15px; }

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--green) !important;
  color: #fff !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  padding: 0.75rem 1.75rem !important;
  border: none !important;
  transition: background var(--transition) !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover { background: var(--green-dark) !important; }
.woocommerce .price ins { color: var(--text-dark); font-weight: 600; }
.woocommerce .price del { color: var(--text-muted); }
.woocommerce .star-rating span::before { color: var(--green) !important; }
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--green) !important;
  color: #fff !important;
}
.woocommerce-content { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
/* Scroll animations — purely JS driven, CSS only provides transition */
.beautyu-will-animate {
  transition: opacity 0.65s ease, transform 0.65s ease;
}



/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding-top: 64px;
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 20%, var(--bg) 100%);
}
.page-hero__content { position: relative; z-index: 2; padding: 3rem var(--px); width: 100%; max-width: var(--max-w); margin: 0 auto; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-container { max-width: 720px; margin: 0 auto; padding: 0 var(--px); }
.faq-group { margin-bottom: 3rem; }
.faq-group h3 { font-size: 15px; font-weight: 700; font-family: var(--font-body); margin-bottom: 1rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 6px; background: var(--white); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem; background: none; border: none; cursor: pointer;
  font-size: 15px; color: var(--text-dark); text-align: left; gap: 1rem;
  transition: background var(--transition); font-family: var(--font-body);
}
.faq-question:hover { background: var(--bg-muted); }
.faq-question svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--text-muted); transition: transform var(--transition); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 20px; }
.faq-item.open .faq-answer { padding-bottom: 16px; }
.faq-answer p { font-size: 14px; color: var(--text-muted); }
.faq-contact { text-align: center; padding: 3rem 0 5rem; border-top: 1px solid var(--border); margin-top: 2rem; }
.faq-contact p { color: var(--text-muted); margin-bottom: 4px; font-size: 14px; }
.faq-contact a { color: var(--green); font-weight: 500; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-body { max-width: 660px; margin: 0 auto; text-align: center; }
.about-body p { font-size: 16px; line-height: 1.75; margin-bottom: 1.25rem; }
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.value-card__icon { width: 60px; height: 60px; background: var(--bg-accent); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.value-card__icon svg { width: 26px; height: 26px; color: var(--green-dark); }
.value-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.value-card p { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   ROUTINE PAGE
   ============================================================ */
.routine-page-header { padding: 80px 0 48px; text-align: center; }
.routine-step-section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.routine-step-section:last-of-type { border-bottom: none; }
.routine-step-number { font-family: var(--font-head); font-size: 5rem; font-weight: 300; color: var(--border); line-height: 1; margin-bottom: 0; }
.routine-step-content h2 { font-size: 2rem; margin-bottom: 0.75rem; }
.pro-tip { background: var(--bg-accent); border-left: 3px solid var(--green); padding: 0.875rem 1.25rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 14px; color: var(--text-muted); margin-bottom: 2rem; }
.pro-tip strong { color: var(--green-dark); }

/* ============================================================
   SHOP
   ============================================================ */
.shop-header { padding: 48px 0 32px; text-align: center; }
.shop-filters { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 3rem; }
.filter-btn {
  padding: 8px 20px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; cursor: pointer;
  border: 1.5px solid var(--border); background: transparent;
  color: var(--text-muted); transition: all var(--transition);
  font-family: var(--font-body);
}
.filter-btn:hover, .filter-btn.active { background: var(--green); color: #fff; border-color: var(--green); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .reviews-grid  { grid-template-columns: repeat(2,1fr); }
  .values-grid   { grid-template-columns: repeat(2,1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-nav { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav-open .site-nav {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--bg); padding: 1.5rem var(--px);
    border-bottom: 1px solid var(--border); gap: 1.25rem; z-index: 99;
  }
  .hero { min-height: 80vh; }
  .hero__content { max-width: 100%; }
  .value-props__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .products-grid { grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
  .routine-preview__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .brand-story__grid { grid-template-columns: 1fr; gap: 2rem; }
  .brand-story__image { order: 1; }
  .brand-story__text { order: 2; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .reviews-grid  { grid-template-columns: 1fr; }
}

/* ============================================================
   NOTICES & WOOCOMMERCE FORMS
   ============================================================ */
.woocommerce-message { background: var(--bg-accent); border-top: 3px solid var(--green); padding: 1rem 1.25rem; font-size: 14px; list-style: none; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 1.5rem; }
.woocommerce-error  { background: #fef2f2; border-top: 3px solid #dc2626; color: #991b1b; padding: 1rem 1.25rem; font-size: 14px; list-style: none; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 1.5rem; }
.woocommerce-info   { background: #eff6ff; border-top: 3px solid #3b82f6; color: #1e40af; padding: 1rem 1.25rem; font-size: 14px; list-style: none; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 1.5rem; }
.woocommerce-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--text-dark); }
.woocommerce-form input, .woocommerce-form select, .woocommerce-form textarea { width: 100%; padding: 0.625rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px; background: var(--white); outline: none; transition: border-color var(--transition); }
.woocommerce-form input:focus, .woocommerce-form select:focus { border-color: var(--green); }
@media print { .site-header, .site-footer, .cart-drawer, .cart-drawer-overlay { display: none !important; } }

/* ============================================================
   HEADER
   - At rest (top of page): solid #fbfaf8, opaque, no blur
   - While scrolling: semi-transparent + blur (background visible)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  background: #fbfaf8;
  transition: background 0.35s ease,
              backdrop-filter 0.35s ease,
              -webkit-backdrop-filter 0.35s ease,
              box-shadow 0.35s ease;
}
.site-header.scrolled {
  background: rgba(251, 250, 248, 0.75) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow: 0 1px 0 rgba(228,225,219,0.4) !important;
}

/* Mobile nav */
@media (max-width: 768px) {
  #primaryNav { display: none !important; }
  #menuToggle { display: flex !important; }
  .mobile-nav-open #primaryNav {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(251,250,248,0.97);
    backdrop-filter: blur(12px);
    padding: 1.5rem 2rem;
    gap: 1rem !important;
    border-bottom: 1px solid #e4e1db;
    z-index: 99;
  }
  .mobile-nav-open #primaryNav span { display: none !important; }
}

/* ============================================================
   HERO ENTRANCE ANIMATION — fade up from bottom like Base44
   ============================================================ */
@keyframes beautyuHeroIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content-inner {
  animation: beautyuHeroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

/* ============================================================
   SHOP NOW BUTTON — arrow slides on hover
   ============================================================ */
.btn-shop-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #6c9d7e;
  color: #fff;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  font-family: Inter, sans-serif;
  transition: background 0.25s ease;
  overflow: hidden;
}
.btn-shop-now:hover { background: #3d5b48; }
.btn-shop-now .arrow-icon {
  display: inline-flex;
  transition: transform 0.25s ease;
}
.btn-shop-now:hover .arrow-icon { transform: translateX(4px); }

/* ============================================================
   SCROLL REVEAL — slide from left/right like Base44
   ============================================================ */
.reveal-left,
.reveal-right,
.reveal-up {
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.hidden  { opacity: 0; transform: translateX(-40px); }
.reveal-right.hidden { opacity: 0; transform: translateX(40px); }
.reveal-up.hidden    { opacity: 0; transform: translateY(30px); }
