:root {
  --bg: #ffffff;
  --bg-dark: #2b2b2b;
  --bg-card: #f2f2f2;
  --bg-soft: #f7f7f7;
  --gold: #3a3a3a;
  --gold-soft: #c4c4c4;
  --text: #2a2a2a;
  --text-light: #ffffff;
  --text-dim: #5e5e5e;
  --accent: #2f2f2f;
  --border: rgba(0, 0, 0, 0.1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  overflow-x: hidden;
  line-height: 1.65;
}
h1, h2, .hero-title, .section-title { font-family: 'Playfair Display', serif; font-weight: 700; }
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 2rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
h3, .logo-text { font-family: 'Manrope', sans-serif; font-weight: 700; }
a { color: var(--accent); text-decoration: none; transition: all 0.3s; }
img { max-width: 100%; display: block; }

header {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 5%;
  display: flex; justify-content: space-between; align-items: center;
}
header.scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06); }
.logo-wrap img { height: 48px; }
nav { display: flex; gap: 2rem; }
nav a { font-weight: 500; font-size: 0.78rem; color: var(--text); padding: 0.4rem 0.2rem; letter-spacing: 0.08em; text-transform: uppercase; }
nav a.active, nav a:hover { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  transition: all 0.3s;
}
.btn:hover { background: #111; transform: translateY(-2px); }

.store-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--btn-color, var(--accent));
  background: transparent;
  color: var(--btn-color, var(--accent));
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.store-btn:hover {
  background: var(--btn-color, var(--accent));
  color: #fff !important;
  transform: translateY(-2px);
}
.soc-icon { width: 15px; height: 15px; color: inherit; }

.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 110px 6% 3rem;
  background: #ffffff url('../images/hero-main.jpg') right 35% / 85% auto no-repeat;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.72) 35%, rgba(255,255,255,0.18) 60%, transparent 100%);
  z-index: 0;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-text { max-width: 480px; }
.hero-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.hero .hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  font-weight: 700;
  color: var(--text);
  line-height: 0.98;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}
.hero .hero-subtitle {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 420px;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}
.hero-btn { margin-bottom: 1rem; }
.hero-more {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-top: 0.8rem;
}
.hero-visual { position: relative; }
.hero-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

.features {
  padding: 2.5rem 6%;
  background: #f3f3f3;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.feature-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.feature-icon svg { display: block; }
.feature strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}
.feature p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 0;
}

.stats-section { padding: 4rem 6%; }
.reviews-preview { padding: 4rem 6%; background: var(--bg-soft); }
.reviews-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.stars { color: #e8a04a; font-size: 0.9rem; }
.stores-section { padding: 4rem 6%; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-img {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  max-width: 520px;
  margin-left: auto;
}
.about-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
}
.ritual-img {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  max-width: 380px;
  margin: 0 auto;
  background: transparent;
}
.ritual-img img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 18px;
}
.founder-img img {
  height: 520px;
  object-position: center top;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}
.stat-card {
  background: var(--bg-card);
  color: var(--text);
  padding: 1.8rem 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.stat-card h3 { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.3rem; color: var(--accent); }
.stat-card p { font-size: 0.9rem; opacity: 0.85; }

.filters { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 320px));
  justify-content: center;
  gap: 1.4rem;
  max-width: 1080px;
  margin: 1.5rem auto 0;
}
.product-card {
  background: var(--bg-soft);
  border-radius: 8px;
  overflow: visible;
  border: 1px solid var(--border);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 320px;
  height: 460px;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08); }
.product-card img { width: 100%; height: 200px; object-fit: cover; flex-shrink: 0; }
.product-info {
  padding: 1.1rem 1.2rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.product-info h3 { font-size: 1.15rem; margin-bottom: 0.3rem; flex-shrink: 0; }
.product-desc {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.product-desc.expanded { -webkit-line-clamp: unset; overflow: visible; }
.price { font-weight: 700; font-size: 1.1rem; color: var(--accent); margin: 0.5rem 0; flex-shrink: 0; }
.product-actions {
  padding: 0.8rem 1.2rem 1.2rem;
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}
.more-btn {
  background: transparent;
  border: 1px solid var(--text-dim);
  color: var(--text-dim);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: 0.3s;
}
.more-btn:hover { border-color: var(--accent); color: var(--accent); }

.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.care-card {
  background: #fff;
  padding: 1.6rem;
  border-radius: 14px;
  border-top: 3px solid var(--accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  animation: careIn 0.7s ease both;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.care-card:nth-child(2) { animation-delay: 0.12s; }
.care-card:nth-child(3) { animation-delay: 0.24s; }
.care-card:hover {
  transform: translateY(-14px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
@keyframes careIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.filter-btn {
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--bg-dark);
  color: #fff;
  border-color: var(--bg-dark);
}

.review-card {
  background: var(--bg-soft);
  padding: 1.4rem 1.6rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.star-picker { display: flex; gap: 0.3rem; }
.star-picker .star, .stars-display .star {
  font-size: 1.6rem;
  color: #ddd;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
}
.star-picker .star.active, .stars-display .star.filled { color: #e8a04a; }
.star-picker .star:hover { transform: scale(1.2); }
@keyframes starPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
.star-picker .star.active { animation: starPop 0.35s ease; }
footer {
  text-align: center;
  padding: 3rem 5%;
  background: #f3f3f3;
  color: var(--text);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}
footer a { color: var(--accent); }
footer .dev-credit {
  font-size: 0.7rem;
  margin-top: 0.6rem;
  color: var(--text-dim);
}
footer .dev-credit a {
  color: var(--text-dim);
  text-decoration: none;
}

.legal-page {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  line-height: 1.7;
  margin-bottom: 3rem;
}
.legal-page h3 { margin: 1.3rem 0 0.4rem; font-size: 1.1rem; }
.legal-page ul { margin: 0.4rem 0 0.8rem 1.2rem; }
.legal-date { margin-top: 1.5rem; color: var(--text-dim); font-size: 0.9rem; }

.admin-wrap { max-width: 980px; margin: 110px auto 3rem; padding: 0 4%; }
.admin-login {
  max-width: 400px;
  margin: 140px auto 4rem;
  background: #fff;
  padding: 2rem 1.8rem;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(26,22,20,0.08);
}
.admin-login form { background: transparent !important; padding: 0 !important; border: none !important; margin: 0 !important; }
.admin-login input[type="password"] {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  color: var(--text);
  font: inherit;
}
.admin-tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0 0 1.4rem; }
.admin-tab {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  transition: 0.25s;
}
.admin-tab.active, .admin-tab:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: #fff;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  margin-bottom: 0.6rem;
  border: 1px solid rgba(0,0,0,0.06);
}
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select,
.admin-wrap input[type="text"], .admin-wrap input[type="number"], .admin-wrap input[type="password"],
.admin-wrap textarea, .admin-wrap select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  color: var(--text);
  font: inherit;
  box-sizing: border-box;
}
.admin-wrap form {
  background: #fff;
  padding: 1.4rem;
  border-radius: 16px;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(0,0,0,0.05);
}
.admin-item form,
.admin-wrap form[style*="display:flex"],
.admin-wrap form[style*="margin:0"],
.admin-wrap form[style*="background:var"],
.admin-wrap form[style*="background:#"] {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.reveal.visible { opacity: 1; transform: none; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hero-bg { width: 100%; opacity: 0.3; }
  .hero-text { max-width: 100%; }
  .features-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img, .ritual-img { max-width: 100%; margin: 0 auto; }
  .about-img img, .founder-img img { height: 280px; }
  .ritual-img img { height: auto; max-height: 420px; }
  .products-grid { grid-template-columns: minmax(0, 340px); }
  .product-card { height: auto; min-height: 420px; max-width: 100%; }
  
  .menu-toggle { display: flex; }
  
  nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    padding: 1.2rem 5% 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.45s;
  }
  nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  nav a {
    padding: 0.85rem 0.5rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  nav a:last-child { border-bottom: none; }
  
  .hero { padding: 90px 5% 2rem; }
  section { padding: 3.5rem 5%; }
}

@media (max-width: 900px) and (orientation: portrait) {
  .hero {
    align-items: flex-start;
    background-position: right 78%;
    background-size: 86% auto;
    min-height: auto;
    padding: 96px 6% 7.5rem;
  }
  .hero::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 34%, rgba(255,255,255,0.55) 58%, rgba(255,255,255,0.12) 100%);
  }
  .hero-text { max-width: 100%; }
  .hero .hero-title { font-size: 2.15rem; line-height: 1.02; }
  .hero .hero-subtitle { font-size: 0.92rem; max-width: 18rem; margin-bottom: 1.2rem; }
  .hero-label { font-size: 0.6rem; letter-spacing: 0.08em; max-width: 16rem; }
}
.buy-wrap { position: relative; }
.buy-menu {
  display: none;
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  min-width: 190px;
  padding: 0.35rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  z-index: 20;
}
.buy-wrap.open .buy-menu { display: flex; flex-direction: column; gap: 0.2rem; }
.buy-menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  color: #2a2a2a;
  font-weight: 600;
  font-size: 0.84rem;
  border-left: 3px solid var(--btn-color, #2a2a2a);
}
.buy-menu a:hover { background: #f3f3f3; }
.review-media { display: flex; gap: 0.55rem; flex-wrap: wrap; margin-top: 0.8rem; }
.review-media img, .review-media video {
  width: 160px; height: 110px; object-fit: cover; border-radius: 8px; background: #111; display: block;
}
.review-reply {
  margin-top: 0.85rem; padding: 0.75rem 0.9rem; background: #f3f3f3;
  border-left: 3px solid #2a2a2a; font-size: 0.9rem;
}
.upload-bar { display: none; height: 6px; background: #ececec; border-radius: 99px; overflow: hidden; margin-top: 0.7rem; }
.upload-bar span { display: block; height: 100%; width: 0; background: #2a2a2a; transition: width 0.15s linear; }
