/* ═══════════════════════════════════════════
   YSÉLINE — Global Stylesheet
   Ysoria Labs Vietnam · 2024
═══════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --forest:    #2D4A3E;
  --deep:      #1E3329;
  --canopy:    #3D5A4E;
  --gold:      #C9A96E;
  --gold-dk:   #B8945A;
  --mist:      #9FE1CB;
  --leaf:      #5DCAA5;
  --ivory:     #F5F0E8;
  --linen:     #EDE8E0;
  --parchment: #FAF7F2;
  --sand:      #D5CFC4;
  --stone:     #888780;
  --charcoal:  #2D2D2B;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Jost', sans-serif; background: var(--parchment); color: var(--charcoal); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: var(--parchment);
  border-bottom: 0.5px solid var(--sand);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px; letter-spacing: 4px; color: var(--forest);
}
.nav-logo span {
  display: block; font-family: 'Jost', sans-serif;
  font-size: 9px; letter-spacing: 5px; color: var(--gold);
  font-weight: 300; margin-top: 2px; text-transform: uppercase;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--stone); transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--forest); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  padding: 15px 36px; background: var(--gold); color: var(--ivory);
  border: none; cursor: pointer; font-family: 'Jost', sans-serif;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--gold-dk); }

.btn-ghost {
  display: inline-block;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  padding: 15px 36px; background: transparent; color: var(--ivory);
  border: 0.5px solid var(--ivory); cursor: pointer;
  font-family: 'Jost', sans-serif; transition: all 0.2s; margin-left: 12px;
}
.btn-ghost:hover { background: var(--ivory); color: var(--forest); }

.btn-nav {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  padding: 10px 22px; border: 0.5px solid var(--forest);
  background: transparent; color: var(--forest);
  cursor: pointer; font-family: 'Jost', sans-serif; transition: all 0.2s;
}
.btn-nav:hover { background: var(--forest); color: var(--ivory); }

.btn-add {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  padding: 8px 16px; border: 0.5px solid var(--forest);
  background: transparent; color: var(--forest);
  cursor: pointer; font-family: 'Jost', sans-serif; transition: all 0.2s;
}
.btn-add:hover { background: var(--forest); color: var(--ivory); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 580px;
  background: url(https://yselineskin.com/wp-content/uploads/2026/06/hero-bg.jpg) center/cover no-repeat;
  display: flex;
  align-items: stretch;
}
.hero-left {
  background: linear-gradient(90deg, rgba(30,51,41,0.96) 0%, rgba(30,51,41,0.88) 45%, rgba(30,51,41,0.3) 75%, transparent 100%);
  flex: 0 0 52%;
  padding: 80px 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px; line-height: 1.15; color: var(--ivory);
  font-weight: 400; margin-bottom: 18px;
}
.hero-title em { font-style: italic; color: var(--mist); }
.hero-lead {
  font-size: 14px; color: var(--mist); line-height: 1.85;
  font-weight: 300; max-width: 380px; margin-bottom: 36px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 0; }
.hero-right { display: none; }

/* ── STRIP ── */
.strip {
  background: var(--gold); padding: 14px 48px;
  display: flex; gap: 48px; justify-content: center; flex-wrap: wrap;
}
.strip-item {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--ivory); display: flex; align-items: center; gap: 8px;
}
.strip-dot {
  width: 3px; height: 3px; background: var(--ivory);
  border-radius: 50%; display: inline-block;
}

/* ── COMMON SECTION ── */
.section { padding: 80px 48px; }
.section-center { text-align: center; }
.eyebrow {
  font-size: 10px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px; display: block;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px; color: var(--forest);
  font-weight: 400; margin-bottom: 12px;
}
.section-sub {
  font-size: 14px; color: var(--stone); line-height: 1.85;
  font-weight: 300; max-width: 500px; margin: 0 auto 48px;
}

/* ── PRODUCTS ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px; margin-top: 0;
}
.product-card {
  background: #fff; border: 0.5px solid var(--sand);
  transition: border-color 0.2s;
}
.product-card:hover { border-color: var(--forest); }
.product-img {
  aspect-ratio: 3/4; height: auto; display: flex; align-items: center; justify-content: center;
}
.product-placeholder {
  font-family: 'Playfair Display', serif;
  font-size: 28px; letter-spacing: 4px; color: var(--forest);
  opacity: 0.35;
}
.product-info { padding: 22px 20px; }
.product-herb {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px; color: var(--forest); font-weight: 400; margin-bottom: 8px;
}
.product-desc {
  font-size: 12px; color: var(--stone); line-height: 1.7;
  margin-bottom: 16px; font-weight: 300;
}
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 15px; color: var(--forest); font-weight: 500; }
.product-price span { font-size: 11px; color: var(--sand); font-weight: 300; margin-left: 4px; }

/* ── STORY ── */
.story-section {
  background: var(--forest);
  display: grid; grid-template-columns: 1fr 1fr;
}
.story-left {
  padding: 80px 56px;
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
}
.story-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px; color: var(--ivory); font-weight: 400; line-height: 1.2;
}
.story-title em { font-style: italic; color: var(--mist); }
.story-text {
  font-size: 14px; color: var(--mist); line-height: 1.9; font-weight: 300;
}
.story-right {
  background: var(--canopy);
  display: flex; align-items: center; justify-content: center; padding: 48px;
}

/* ── INGREDIENTS ── */
.ing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px; margin-top: 40px;
}
.ing-card { background: #fff; border: 0.5px solid var(--sand); padding: 28px 24px; }
.ing-icon {
  width: 42px; height: 42px; background: #E8F3EE;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 20px; margin-bottom: 16px;
}
.ing-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px; color: var(--forest); font-weight: 400; margin-bottom: 4px;
}
.ing-latin {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px; display: block;
}
.ing-desc { font-size: 13px; color: var(--stone); line-height: 1.75; font-weight: 300; }

/* ── STEPS ── */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 48px;
}
.step { text-align: center; }
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 52px; color: var(--sand); margin-bottom: 10px; line-height: 1;
}
.step-title {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--forest); font-weight: 500; margin-bottom: 8px; display: block;
}
.step-desc { font-size: 12px; color: var(--stone); line-height: 1.7; font-weight: 300; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { border: 0.5px solid var(--canopy); padding: 28px; }
.testi-stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; display: block; }
.testi-text {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 14px; color: var(--ivory); line-height: 1.75; margin-bottom: 14px;
}
.testi-author {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--mist); font-weight: 300;
}

/* ── NEWSLETTER ── */
.nl-form { display: flex; max-width: 420px; margin: 32px auto 0; }
.nl-input {
  flex: 1; padding: 14px 16px; border: 0.5px solid var(--forest);
  background: #fff; font-family: 'Jost', sans-serif; font-size: 13px; outline: none;
}
.nl-btn {
  padding: 14px 24px; background: var(--forest); color: var(--ivory);
  border: none; font-family: 'Jost', sans-serif; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase; cursor: pointer;
  transition: background 0.2s;
}
.nl-btn:hover { background: var(--deep); }

/* ── FOOTER ── */
footer {
  background: var(--deep); padding: 48px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px; letter-spacing: 3px; color: var(--ivory); margin-bottom: 10px;
}
.footer-tagline { font-size: 12px; color: var(--leaf); line-height: 1.7; font-weight: 300; }
.footer-heading {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px; display: block;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13px; color: var(--stone); transition: color 0.2s; }
.footer-links a:hover { color: var(--mist); }
.footer-bottom {
  background: var(--deep); padding: 16px 48px;
  border-top: 0.5px solid var(--canopy);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 11px; color: #5F5E5A; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--forest); padding: 72px 48px; text-align: center;
}
.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 44px; color: var(--ivory); font-weight: 400; margin-bottom: 14px;
}
.page-hero-title em { font-style: italic; color: var(--mist); }
.page-hero-sub {
  font-size: 14px; color: var(--mist); font-weight: 300;
  line-height: 1.8; max-width: 520px; margin: 0 auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 14px 24px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 48px 24px; }
  .hero-title { font-size: 34px; }
  .section { padding: 56px 24px; }
  .story-section { grid-template-columns: 1fr; }
  .story-left { padding: 56px 24px; }
  .story-right { display: none; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .strip { gap: 16px; padding: 14px 24px; }
  .page-hero { padding: 48px 24px; }
  .page-hero-title { font-size: 32px; }
}
@media (max-width: 500px) {
  .hero-title { font-size: 28px; }
  .section-title { font-size: 26px; }
  footer { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Yseline mobile hamburger (2026-06-24 v2: actions on top + animated) ── */
.nav-toggle{display:none}
.nav-x{display:none}
.nav-burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:42px;height:42px;cursor:pointer;padding:9px;box-sizing:border-box}
.nav-burger span{display:block;width:22px;height:2px;background:var(--forest,#2D4A3E);border-radius:2px;transition:transform .25s,opacity .2s}
.nav-toggle:checked ~ .nav-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle:checked ~ .nav-burger span:nth-child(2){opacity:0}
.nav-toggle:checked ~ .nav-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media(max-width:900px){
  .nav-burger{display:flex}
  .nav-logo{margin-right:auto}
  nav > div{display:none !important}
  nav .nav-links{display:flex;flex-direction:column;gap:0;margin:0;padding:0;list-style:none;position:absolute;top:100%;left:0;right:0;background:var(--parchment,#F4EFE6);box-shadow:0 10px 28px rgba(0,0,0,.12);z-index:120;max-height:0;overflow:hidden;opacity:0;transition:max-height .32s ease,opacity .25s ease,padding .32s ease}
  nav .nav-toggle:checked ~ .nav-links{max-height:360px;opacity:1;padding:6px 0;border-bottom:0.5px solid var(--sand,#E0D4BC)}
  nav .nav-links li{width:100%;list-style:none}
  nav .nav-links a{display:block;padding:15px 28px;font-size:14px}
  nav .nav-links .nav-x{display:block;order:-1}
  nav .nav-links .nav-x-end a{border-bottom:0.5px solid var(--sand,#E0D4BC);margin-bottom:6px}
}

/* ── Yseline header emblem ── */
.nav-logo{display:flex;align-items:center;gap:11px}
.nav-logo-mark{width:48px;height:48px;flex:none;display:block}
.nav-logo .nav-logo-text{display:flex;flex-direction:column;justify-content:center;font-size:22px;letter-spacing:4px;color:var(--forest);line-height:1}
@media(max-width:900px){ .nav-logo-mark{width:40px;height:40px} .nav-logo{gap:8px} }

/* ── Yseline footer seal + product badge ── */
.footer-seal{width:120px;height:120px;display:block;margin-bottom:18px}
.prod-detail{position:relative}
.prod-seal{position:absolute;top:30px;right:30px;width:64px;height:auto}
.prod-detail .prod-herb,.prod-detail .prod-name{padding-right:78px}
@media(max-width:900px){
  .footer-seal{width:96px;height:96px;margin:0 auto 14px}
  .footer-brand{text-align:center}
  .footer-brand .footer-tagline{max-width:340px;margin-left:auto;margin-right:auto}
  .prod-seal{width:46px;top:20px;right:20px}
  .prod-detail .prod-herb,.prod-detail .prod-name{padding-right:54px}
}

/* ── Yseline footer mobile columns: SHOP/COMPANY/SUPPORT thanh 3 cot ngang ── */
@media(max-width:500px){
  footer{grid-template-columns:1fr 1fr 1fr;gap:24px 10px;padding:40px 20px}
  .footer-brand{grid-column:1 / -1;margin-bottom:4px}
  .footer-heading{font-size:11px;letter-spacing:1.5px;margin-bottom:12px}
  .footer-links a{font-size:12px}
  .footer-links li{margin-bottom:9px}
}
