/* ============================================================
   K-Skincare Glow — K-Beauty Webshop Stylesheet
   ============================================================ */

:root {
  --bg:           #F7FAF8;
  --white:        #FFFFFF;
  --text:         #1A1A1A;
  --text-muted:   #6E6E6E;
  --accent:       #6EBF97;
  --accent-dark:  #4A9E78;
  --accent-light: #E3F4EC;
  --mint:         #A8C5BC;
  --mint-light:   #E4F0EE;
  --border:       #EBEBEB;
  --shadow-xs:    0 1px 4px rgba(0,0,0,.05);
  --shadow-sm:    0 2px 12px rgba(0,0,0,.07);
  --shadow-md:    0 8px 28px rgba(0,0,0,.10);
  --shadow-lg:    0 20px 50px rgba(0,0,0,.14);
  --r-sm:         8px;
  --r-md:         16px;
  --r-lg:         24px;
  --r-xl:         32px;
  --r-full:       9999px;
  --font:         'Poppins', sans-serif;
  --ease:         cubic-bezier(.4,0,.2,1);
  --dur:          .24s;
  --header-h:     108px;
  --max-w:        100%;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
ul { list-style: none; }
input, button { outline: none; }

/* ---- Container ---- */
.container { max-width: 100%; margin: 0 auto; padding: 0 48px; }

/* ============================================================
   Announcement Bar
   ============================================================ */
.announcement-bar {
  background: var(--text);
  color: rgba(255,255,255,.9);
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 101;
}
.announcement-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  animation: ticker 28s linear infinite;
  will-change: transform;
}
.announcement-bar:hover .announcement-track { animation-play-state: paused; }
.announcement-bar span { font-size: 12.5px; letter-spacing: .2px; }
.announcement-bar strong { color: var(--accent); }
.ann-sep { color: rgba(255,255,255,.25) !important; font-size: 11px !important; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   Utility Tags
   ============================================================ */
.tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  background: var(--accent-light);
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.tag-white {
  background: rgba(255,255,255,.22);
  color: white;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--r-full);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--accent-dark); color: var(--white); border-color: var(--accent-dark); }
.btn-primary:hover { background: #3d8a66; border-color: #3d8a66; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--white); }
.btn-white { background: var(--white); color: var(--text); border-color: var(--white); }
.btn-white:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 20px; font-size: 13px; }

/* ============================================================
   Header — two-row layout
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,250,248,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur) var(--ease);
}
.header.scrolled { box-shadow: var(--shadow-sm); }

/* Top row */
.header-top { padding: 14px 0 10px; }
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-side { flex: 1; }

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--accent-light);
  border-radius: var(--r-full);
  padding: 3px;
}
.lang-btn {
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--dur) var(--ease);
  line-height: 1;
}
.lang-btn.active {
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-xs);
}
.lang-btn:hover:not(.active) { color: var(--text); }

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.5px;
  color: var(--text);
  text-align: center;
  flex: 0 0 auto;
  white-space: nowrap;
}
.logo span { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: flex-end; }

/* Nav row */
.header-nav {
  border-top: 1px solid var(--border);
  padding: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.nav-link {
  display: block;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--dur) var(--ease);
  position: relative;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--dur) var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: calc(100% - 28px); }
.nav-sale { color: #E05252 !important; font-weight: 700; }
.nav-sale:hover { color: #c43d3d !important; }

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background var(--dur) var(--ease);
  position: relative;
}
.icon-btn:hover { background: var(--border); }

.cart-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.5);
  transition: all var(--dur) var(--ease);
}
.cart-badge.visible { opacity: 1; transform: scale(1); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  transition: background var(--dur) var(--ease);
}
.mobile-menu-btn:hover { background: var(--border); }
.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}

/* Search bar */
.search-bar {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  display: none;
  animation: slideDown .2s ease;
  z-index: 99;
}
.search-bar.open { display: block; }
.search-bar .container { display: flex; align-items: center; gap: 12px; }
.search-input {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  font-family: var(--font);
  font-size: 15px;
  transition: border-color var(--dur) var(--ease);
}
.search-input:focus { border-color: var(--accent); }
.search-close {
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background var(--dur);
}
.search-close:hover { background: var(--border); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 98;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--ease);
}
.mobile-menu.open { max-height: 480px; }
.mobile-menu ul { padding: 8px 24px 16px; display: flex; flex-direction: column; }
.mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: color var(--dur);
}
.mobile-menu a:hover { color: var(--accent-dark); }
.mobile-menu li:last-child a { border-bottom: none; }

/* ============================================================
   Cart Sidebar
   ============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.42);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
  backdrop-filter: blur(2px);
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100dvh;
  background: var(--white);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .38s var(--ease);
  box-shadow: var(--shadow-lg);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 { font-size: 17px; font-weight: 600; }
.cart-header h3 span { color: var(--text-muted); font-size: 14px; font-weight: 400; }

.cart-close {
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--dur) var(--ease);
}
.cart-close:hover { background: var(--border); color: var(--text); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  text-align: center;
  color: var(--text-muted);
}
.cart-empty-icon { font-size: 48px; margin-bottom: 4px; }
.cart-empty p { font-size: 15px; margin-bottom: 4px; }

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  animation: fadeIn .2s ease;
}
.cart-item:last-child { border-bottom: none; }

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--r-sm);
  object-fit: cover;
  background: var(--bg);
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.cart-item-body { flex: 1; min-width: 0; }
.cart-item-brand { font-size: 10px; text-transform: uppercase; letter-spacing: .8px; color: var(--accent-dark); font-weight: 600; }
.cart-item-name { font-size: 13px; font-weight: 500; margin: 3px 0 6px; line-height: 1.4; }
.cart-item-price { font-size: 14px; font-weight: 700; color: var(--text); }

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.qty-controls { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  color: var(--text);
  transition: all var(--dur) var(--ease);
}
.qty-btn:hover { border-color: var(--text); background: var(--text); color: var(--white); }
.qty-num { font-size: 14px; font-weight: 600; min-width: 18px; text-align: center; }

.remove-btn {
  font-size: 11px;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: var(--r-sm);
  transition: all var(--dur);
}
.remove-btn:hover { background: #fee2e2; color: #dc2626; }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 17px;
}
.cart-shipping-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  padding: 6px 12px;
  background: var(--mint-light);
  border-radius: var(--r-sm);
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  min-height: calc(100vh - var(--header-h));
  padding: 80px 48px;
  max-width: 100%;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-content p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 32px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-trust span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 520px;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
}
.hero-blob-1 {
  width: 430px;
  height: 430px;
  background: var(--accent-light);
  top: 20px;
  left: 0;
}
.hero-blob-2 {
  width: 310px;
  height: 310px;
  background: var(--mint-light);
  bottom: 10px;
  right: -20px;
}

.hero-img-frame {
  position: relative;
  z-index: 2;
  width: 320px;
  height: 420px;
  border-radius: var(--r-xl);
  overflow: visible;
}
.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.hero-badge-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  animation: float 3s ease-in-out infinite;
  z-index: 3;
}
.hero-badge-1 { bottom: 40px; left: -50px; animation-delay: 0s; }
.hero-badge-2 { top: 50px; right: -50px; animation-delay: 1.5s; }

.float-icon { font-size: 22px; }
.hero-badge-float strong { display: block; font-size: 13px; font-weight: 700; line-height: 1; }
.hero-badge-float small { font-size: 11px; color: var(--text-muted); }

/* ============================================================
   Stats Bar
   ============================================================ */
.stats-bar {
  background: var(--text);
  color: var(--white);
  padding: 32px 0;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stat-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-item strong {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-item span { font-size: 13px; color: rgba(255,255,255,.65); }
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 88px 0; }

.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -.5px;
}
.about-intro {
  max-width: 720px;
  margin: 20px auto 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  text-align: center;
}

/* Row-style section header (left title + right link) */
.section-row-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-row-head h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -.5px;
  margin-top: 6px;
}
.section-view-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-dark);
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1.5px solid var(--accent);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  margin-bottom: 4px;
}
.section-view-all:hover { color: var(--text); border-color: var(--text); }

/* ============================================================
   Categories
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  border-radius: var(--r-lg);
  padding: 36px 24px 28px;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,0,0,.08);
}

.cat-skincare { background: var(--accent-light); }
.cat-makeup { background: #FEF3E2; }
.cat-haircare { background: var(--mint-light); }
.cat-suncare { background: #FFFBEB; }

/* Shop Now Banner */
.shop-banner-section {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  padding: 60px 48px;
}
.shop-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.shop-banner-text h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.shop-banner-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}
.shop-banner-btn {
  background: #fff;
  color: var(--accent-dark);
  padding: 14px 36px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
  flex-shrink: 0;
}
.shop-banner-btn:hover {
  background: var(--text);
  color: #fff;
}
@media (max-width: 768px) {
  .shop-banner-inner { flex-direction: column; text-align: center; }
}

/* Privacy Modal */
.privacy-modal { padding-top: 0; }
.privacy-modal .article-modal-body { padding: 40px; }
.privacy-section { margin: 28px 0; border-top: 1px solid #eee; padding-top: 22px; }
.privacy-section h2 { font-size: 16px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.privacy-section p { font-size: 14px; color: #444; line-height: 1.75; margin-bottom: 10px; }
.privacy-section a { color: var(--accent-dark); text-decoration: underline; }

.cat-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
  z-index: 0;
}
.category-card:has(.cat-img) {
  padding: 0;
  background: none !important;
  height: 280px;
  display: flex;
  align-items: flex-end;
}
.cat-text {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 20px 24px 22px;
  background: linear-gradient(to top, rgba(255,255,255,0.88) 0%, transparent 100%);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.category-card:has(.cat-img) h3 { color: #1A1A1A; margin-bottom: 4px; }
.category-card:has(.cat-img) p { color: #1A1A1A; margin-bottom: 10px; }
.category-card:has(.cat-img) .cat-arrow { color: #1A1A1A; }
.cat-icon { font-size: 38px; margin-bottom: 14px; line-height: 1; }
.category-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 5px; }
.category-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 16px; }
.cat-arrow {
  font-size: 18px;
  color: var(--accent-dark);
  transition: transform var(--dur) var(--ease);
  display: inline-block;
}
.category-card:hover .cat-arrow { transform: translateX(5px); }

/* ============================================================
   Products Section
   ============================================================ */
.products-section { background: var(--white); }
.new-arrivals-section { background: var(--bg); }

.filter-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--dur) var(--ease);
  background: transparent;
}
.filter-btn:hover { border-color: var(--text); color: var(--text); }
.filter-btn.active { background: var(--text); color: var(--white); border-color: var(--text); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.no-results {
  text-align: center;
  color: var(--text-muted);
  padding: 48px 0;
  font-size: 15px;
}

/* Product Card */
.product-card {
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
  animation: fadeUp .3s ease both;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg);
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-img { transform: scale(1.07); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  z-index: 1;
}
.badge-new { background: var(--text); color: var(--white); }
.badge-sale { background: #E53E3E; color: var(--white); }
.badge-bestseller { background: var(--mint); color: var(--text); }

.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  z-index: 1;
  opacity: 0;
  transform: scale(.7);
  transition: all var(--dur) var(--ease);
}
.product-card:hover .wishlist-btn { opacity: 1; transform: scale(1); }
.wishlist-btn:hover { background: var(--accent-light); }
.wishlist-btn.active { opacity: 1; transform: scale(1); color: var(--accent); }

.product-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-brand {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .9px;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 4px;
}
.product-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
  flex: 1;
  margin-bottom: 10px;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
}
.stars-sm { color: #F59E0B; font-size: 12px; line-height: 1; }
.review-count { font-size: 11px; color: var(--text-muted); }

.product-foot {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.price-block { display: flex; align-items: baseline; gap: 6px; }
.price { font-size: 17px; font-weight: 700; color: var(--text); }
.price-old { font-size: 12px; color: var(--text-muted); text-decoration: line-through; }

.atc-btn {
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--r-full);
  background: var(--accent-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  line-height: 1;
  transition: all var(--dur) var(--ease);
  border: none;
  cursor: pointer;
  margin-top: 12px;
}
.atc-btn:hover { background: #3d8a66; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.atc-btn:active { transform: translateY(0); }

/* ============================================================
   Journal Section
   ============================================================ */
.journal-section { background: var(--white); }

.journal-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.journal-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 6px;
}
.journal-sub {
  font-size: 15px;
  color: var(--text-muted);
}
.journal-view-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-dark);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
  padding-bottom: 2px;
  border-bottom: 1.5px solid var(--accent);
}
.journal-view-all:hover { color: var(--text); border-color: var(--text); }

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.journal-card {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all var(--dur) var(--ease);
}
.journal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.journal-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--border);
}
.journal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.journal-card:hover .journal-img img { transform: scale(1.05); }

.journal-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--white);
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 5px 12px;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-xs);
}

.journal-body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.journal-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 10px;
}
.journal-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 16px;
}
.journal-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.journal-dot { opacity: .4; }
.journal-read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  transition: color var(--dur) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.journal-read-more:hover { color: var(--text); }

/* ============================================================
   Exclusive Offer Section
   ============================================================ */
.offer-section {
  position: relative;
  overflow: hidden;
  background: #FDFAF7;
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.offer-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.offer-deco-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(110,191,151,.14) 0%, transparent 70%);
  top: -120px;
  right: -100px;
}
.offer-deco-2 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(232,160,168,.12) 0%, transparent 70%);
  bottom: -80px;
  left: -60px;
}
.offer-inner {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Left — form content */
.offer-content { text-align: left; }
.offer-heart {
  font-size: 38px;
  margin-bottom: 12px;
  line-height: 1;
  animation: float 3s ease-in-out infinite;
}
.offer-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.offer-heading {
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 18px;
  color: var(--text);
}
.offer-heading span {
  display: block;
  color: var(--accent-dark);
}
.offer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 8px;
}
.offer-fine {
  font-size: 11px;
  color: var(--text-muted);
  opacity: .65;
  margin-bottom: 28px;
}
.offer-form { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; width: 100%; }
.offer-fields {
  display: flex;
  gap: 12px;
  width: 100%;
}

/* Right — visual */
.offer-visual {
  position: relative;
  height: 480px;
}
.offer-img-wrap {
  width: 100%;
  height: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.offer-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.offer-tag-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.offer-tag-float span { font-size: 22px; line-height: 1; }
.offer-tag-float strong { display: block; font-size: 13px; font-weight: 700; line-height: 1.2; }
.offer-tag-float small { font-size: 11px; color: var(--text-muted); }
.offer-tag-1 { bottom: 32px; left: -24px; animation: float 3.5s ease-in-out infinite; }
.offer-tag-2 { top: 32px; right: -24px; animation: float 2.8s ease-in-out infinite 1s; }
.offer-input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  font-family: var(--font);
  font-size: 14px;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--dur) var(--ease);
  min-width: 0;
}
.offer-input:focus { outline: none; border-color: var(--accent); }
.offer-input::placeholder { color: #B0B0B0; }
.btn-offer {
  padding: 14px 36px;
  border-radius: var(--r-full);
  background: var(--text);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  border: 2px solid var(--text);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-offer:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ============================================================
   Why Section (Features)
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card {
  padding: 32px 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--dur) var(--ease);
  background: var(--white);
}
.feature-card:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials-section { background: var(--bg); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial-card {
  padding: 30px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--dur) var(--ease);
}
.testimonial-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.stars { color: #F59E0B; font-size: 17px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.author strong { display: block; font-size: 14px; font-weight: 600; }
.author small { font-size: 11px; color: var(--text-muted); }

/* (newsletter replaced by .offer-section) */

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #111111;
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  display: inline-block;
  margin-bottom: 14px;
}
.footer-brand .logo span { color: var(--accent); }
.footer-brand p { font-size: 13px; line-height: 1.75; color: rgba(255,255,255,.5); margin-bottom: 20px; }

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all var(--dur) var(--ease);
}
.social-link:hover { opacity: .85; }

/* Instagram */
.social-link[aria-label="Instagram"] {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
  color: white;
}
/* TikTok */
.social-link[aria-label="TikTok"] {
  background: #010101;
  border-color: #69C9D0;
  color: #EE1D52;
}
/* Pinterest */
.social-link[aria-label="Pinterest"] {
  background: #E60023;
  border-color: transparent;
  color: white;
}

.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li, .footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  transition: color var(--dur);
}
.footer-col a:hover { color: var(--white); }

.payment-icons {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.pay-icon {
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.15);
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  letter-spacing: .5px;
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.3);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,.3); transition: color var(--dur); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--text);
  color: white;
  padding: 12px 22px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 500;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: all .3s var(--ease);
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   Animations
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Article Modal
   ============================================================ */
.article-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.55);
  z-index: 200;
}
.article-overlay.open { display: block; }
.article-modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: min(760px, 94vw);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--r-lg);
  z-index: 201;
  box-shadow: var(--shadow-lg);
}
.article-modal.open { display: block; }
.article-modal-close {
  position: sticky; top: 16px; float: right;
  margin: 16px 16px 0 0;
  width: 36px; height: 36px;
  border-radius: var(--r-full);
  background: var(--bg); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur) var(--ease); z-index: 1;
}
.article-modal-close:hover { background: var(--border); }
.article-modal-hero { width: 100%; height: 280px; overflow: hidden; }
.article-modal-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-modal-body { padding: 36px 48px 48px; }
.article-modal-tag {
  display: inline-block; padding: 5px 14px;
  border-radius: var(--r-full); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.2px;
  background: var(--accent-light); color: var(--accent-dark); margin-bottom: 14px;
}
.article-modal-title { font-size: 24px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.article-modal-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.article-modal-intro { font-size: 15px; line-height: 1.8; color: var(--text-muted); margin-bottom: 36px; }
.article-step { display: flex; gap: 20px; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.article-step:last-of-type { border-bottom: none; margin-bottom: 32px; }
.step-num {
  flex-shrink: 0; width: 40px; height: 40px;
  border-radius: var(--r-full); background: var(--accent-dark); color: white;
  font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.step-content { flex: 1; }
.step-header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.step-title { font-size: 16px; font-weight: 700; }
.step-time { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.step-desc { font-size: 14px; line-height: 1.75; color: var(--text-muted); margin-bottom: 12px; }
.step-products { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.step-product { padding: 4px 12px; background: var(--accent-light); color: var(--accent-dark); border-radius: var(--r-full); font-size: 12px; font-weight: 600; }
.step-note { font-size: 12.5px; color: var(--text-muted); font-style: italic; padding: 8px 14px; background: var(--bg); border-radius: var(--r-sm); border-left: 3px solid var(--accent); }
.article-tips { background: var(--accent-light); border-radius: var(--r-md); padding: 24px 28px; }
.article-tips h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; color: var(--accent-dark); }
.article-tips ul { padding-left: 0; }
.article-tips li { font-size: 14px; line-height: 1.75; color: var(--text); padding: 5px 0 5px 22px; position: relative; list-style: none; }
.article-tips li::before { content: '✦'; position: absolute; left: 0; color: var(--accent-dark); font-size: 10px; top: 8px; }

/* ============================================================
   Contact Section
   ============================================================ */
.contact-section {
  padding: 96px 0;
  background: var(--bg);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-content .tag { margin-bottom: 14px; }
.contact-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text);
}
.contact-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}
.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color var(--dur) var(--ease);
}
.contact-email-link:hover { color: var(--text); }
.contact-email-icon { font-size: 18px; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #E0E0E0;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: 14px;
  background: #fff;
  color: var(--text);
  transition: border-color var(--dur) var(--ease);
  box-sizing: border-box;
}
.contact-input:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-textarea {
  height: 140px;
  resize: vertical;
}
.btn-contact {
  background: var(--text);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  transition: background var(--dur) var(--ease);
}
.btn-contact:hover { background: var(--accent-dark); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .journal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .offer-inner { grid-template-columns: 1fr; gap: 40px; }
  .offer-content { text-align: center; }
  .offer-form { align-items: center; }
  .offer-fields { flex-direction: column; }
  .offer-input { width: 100%; }
  .offer-visual { height: 320px; }
  .offer-tag-1 { left: 12px; }
  .offer-tag-2 { right: 12px; }
  .stats-grid { flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }
  .stat-item { min-width: calc(50% - 10px); }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu-btn { display: flex; }
  .logo { font-size: 20px; }
  .journal-grid { grid-template-columns: 1fr; }
  .journal-head { flex-direction: column; align-items: flex-start; }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding: 52px 20px 60px;
    gap: 48px;
  }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { height: 320px; }
  .hero-blob-1 { width: 280px; height: 280px; }
  .hero-blob-2 { width: 200px; height: 200px; }
  .hero-img-frame { width: 220px; height: 290px; }
  .hero-badge-float { display: none; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cart-sidebar { width: 100%; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content h1 { letter-spacing: -.8px; }
}
