/* ───────────────────────────────────────────────
   MINIMALIST BEAUTY SHOP — Clean, Elegant, Airy
   ─────────────────────────────────────────────── */

:root {
  --bg:          #ffffff;
  --bg-soft:     #faf9f8;
  --bg-subtle:   #f5f3f1;
  --surface:     #ffffff;
  --text:        #1c1c1c;
  --text-mid:    #4a4a4a;
  --muted:       #5f5752;
  --line:        #e8e4e0;
  --line-soft:   #f0ece8;
  --accent:      #b5717e;
  --accent-deep: #6f3945;
  --accent-soft: #f5eaec;
  --radius:      4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --transition:  0.2s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  margin: 0;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.py-lg-6 { padding-top: 6rem; padding-bottom: 6rem; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
  margin-top: 0;
}

.display-4 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* ── Header / Navbar ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.navbar { padding: 0; }

.navbar .container {
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.navbar .nav-link {
  color: var(--text-mid);
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0 !important;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--text);
  border-bottom-color: var(--text);
}

.navbar-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand .brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.navbar-brand .brand-logo-gesundis { max-height: 40px; }

.navbar-brand .brand-logo-biocell { max-height: 36px; }

@media (max-width: 576px) {
  .navbar-brand {
    min-width: 0;
    max-width: calc(100% - 168px);
    gap: 0.35rem;
  }

  .navbar-brand .brand-logo-gesundis { max-height: 24px; }

  .navbar-brand .brand-logo-biocell { max-height: 20px; }
}

.navbar-toggler {
  border: none !important;
  box-shadow: none !important;
  padding: 0.25rem;
  color: var(--text);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2828, 28, 28, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Icon & Soft Buttons ── */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  transition: background var(--transition), border-color var(--transition);
  text-decoration: none;
}

.icon-btn:hover {
  background: var(--bg-subtle);
  border-color: var(--text);
  color: var(--text);
}

.btn-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-soft:hover {
  background: var(--bg-subtle);
  border-color: var(--text);
  color: var(--text);
}

/* ── Bootstrap btn overrides ── */
.btn-success {
  background: var(--text);
  border-color: var(--text);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  color: #fff;
  transition: all var(--transition);
}

.btn-success:hover,
.btn-success:focus {
  background: #333;
  border-color: #333;
  color: #fff;
}

.btn-outline-success {
  border-color: var(--text);
  color: var(--text);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  transition: all var(--transition);
}

.btn-outline-success:hover {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

/* Unified active state for all buttons */
.btn:active,
.btn.active,
.btn-check:checked + .btn,
:not(.btn-check) + .btn:active,
.show > .btn.dropdown-toggle {
  background: #b5717e !important;
  border-color: #b5717e !important;
  color: #fff !important;
  box-shadow: none !important;
}

.btn-soft:active,
.btn-soft.active,
.icon-btn:active,
.icon-btn.active {
  background: #b5717e !important;
  border-color: #b5717e !important;
  color: #fff !important;
  box-shadow: none !important;
}

.btn-outline-dark {
  border-radius: var(--radius-md);
  font-weight: 500;
}

.hero-btn-compact {
  font-size: 0.78rem;
  padding: 0.55rem 1.1rem;
}

.btn-soft.hero-btn-compact {
  height: auto;
  min-width: 0;
}

/* ── Dropdown ── */
.dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  padding: 0.4rem;
}

.dropdown-item {
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-mid);
  padding: 0.55rem 0.85rem;
}

.dropdown-item:hover, .dropdown-item:focus {
  background: var(--bg-subtle);
  color: var(--text);
}

.dropdown-item.active {
  background: var(--bg-subtle);
  color: var(--text);
}

/* ── Eyebrow ── */
.eyebrow {
  display: inline-block;
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}

/* ── Hero Section ── */
.home-header-image {
  padding-top: 1.5rem;
  background: var(--bg);
}

.home-header-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-section {
  padding-top: 5rem;
  padding-bottom: 3.25rem;
  border-bottom: 1px solid var(--line-soft);
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 14ch;
}

.hero-title span {
  font-style: italic;
  color: var(--accent);
}

.hero-text {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 44ch;
  line-height: 1.75;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  gap: 0;
}

.hero-points div {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 70px;
  padding-right: 1.25rem;
  border-right: 1px solid var(--line);
  margin-right: 1.25rem;
}

.hero-points div:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.hero-points strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.hero-points span {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.15rem;
}

/* ── Hero Products Panel ── */
.hero-products-panel {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.hero-products-head h2 {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-product-card .product-visual {
  height: 160px;
}

/* ── Sections ── */
.section-soft { background: var(--bg-soft); }

.section-heading { max-width: 640px; }

.section-heading h2,
.lifestyle-banner h2,
.cta-box h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.015em;
}

/* ── Info Cards ── */
.info-card,
.review-card,
.cta-box,
.lifestyle-banner,
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.info-card {
  padding: 2rem;
  transition: border-color var(--transition);
}

.info-card:hover { border-color: var(--accent); }

.info-card i {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.info-card h3 {
  font-size: 1.1rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.65;
}

/* ── Chips ── */
.chip-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chip {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-mid);
  border-radius: var(--radius-md);
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all var(--transition);
}

.chip.active, .chip:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-deep);
}

/* ── Product Cards ── */
.product-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  border-color: #ccc;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.product-card .product-visual {
  border-radius: 0;
  margin-bottom: 0;
}

.product-card-inner {
  position: relative;
  overflow: hidden;
}

.product-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--text);
  color: #fff;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

.product-badge.soft {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.product-visual {
  height: 240px;
  width: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
  transition: transform 0.45s ease;
}

.product-card:hover .product-visual {
  transform: scale(1.04);
}

.visual-green  { background-color: #fff; }
.visual-sage   { background-color: #fff; }
.visual-cream  { background-color: #fff; }
.visual-mint   { background-color: #fff; }

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.2rem 1.4rem 1.5rem;
  border-top: 1px solid var(--line-soft);
}

.product-category {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.product-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.85rem;
  line-height: 1.2;
  color: var(--text);
}

.product-body h3 a { color: var(--text); transition: color var(--transition); }
.product-body h3 a:hover { color: var(--accent); }

/* ── Lifestyle Banner ── */
.lifestyle-banner, .cta-box {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.lifestyle-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  min-height: 400px;
}

.lifestyle-single {
  min-height: 400px;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  overflow: hidden;
}

.lifestyle-block {
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  overflow: hidden;
}

.lifestyle-block.tall { grid-row: 1 / span 2; }
.lifestyle-block.light { background: var(--bg-soft); }

/* ── Mini Panel ── */
.mini-panel {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mini-panel strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
}

.mini-panel span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

/* ── Reviews ── */
.review-card {
  padding: 2rem;
  transition: border-color var(--transition);
}

.review-card:hover { border-color: var(--accent); }

.stars { color: var(--accent); letter-spacing: 0.08em; }

.review-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ── CTA ── */
.cta-box { max-width: 100%; }
.cta-box p { max-width: 600px; color: var(--text-mid); margin: 0 auto; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.site-footer h3 {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.site-footer hr { border-color: var(--line); opacity: 1; }

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  color: var(--text-mid);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--text); }

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-mid);
  transition: all var(--transition);
  background: transparent;
}

.footer-social:hover {
  border-color: var(--text);
  color: var(--text);
  background: var(--bg-subtle);
}

.footer-social-facebook,
.footer-social-instagram,
.footer-social-youtube { color: var(--text-mid); }

.footer-social-sm {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color var(--transition);
}

.footer-social-sm:hover { color: var(--text); }

.footer-social-sm-facebook,
.footer-social-sm-instagram,
.footer-social-sm-youtube { color: var(--muted); }

/* ── Badge ── */
.badge.rounded-pill.bg-danger {
  background-color: var(--accent) !important;
  font-size: 0.65rem;
}

/* ── Forms ── */
.form-control, .form-select {
  border-color: var(--line);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  padding: 0.6rem 0.9rem;
  background-color: var(--bg);
}

.form-control:focus, .form-select:focus {
  border-color: var(--text);
  box-shadow: none;
  background-color: var(--bg);
}

hr { border-color: var(--line); opacity: 1; }

/* ── Text helpers ── */
.text-success { color: var(--accent) !important; }
.text-muted { color: var(--muted) !important; }

/* ── Breadcrumb ── */
.breadcrumb { font-size: 0.8rem; }
.breadcrumb-item a { color: var(--text-mid); }
.breadcrumb-item.active { color: var(--muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--line); }

/* ── Alert ── */
.alert { border-radius: var(--radius-md); font-size: 0.88rem; }

/* ── Quantity ── */
.quantity-minus, .quantity-plus {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}

/* ── Product Detail zoom ── */
.product-zoom-wrap {
  background: var(--bg-soft) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-lg) !important;
}

.thumb-img {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
  object-fit: contain;
  background: var(--bg-soft);
}

.thumb-img.active, .thumb-img:hover { border-color: var(--text); }

/* ── Product Card Visual height in hero panel ── */
.hero-product-card-visual {
  height: 160px;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .hero-section { padding-top: 3rem; padding-bottom: 2.25rem; }
  .hero-title { max-width: none; }
  .hero-products-panel { padding: 1.25rem; }
  .navbar .container {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    flex-wrap: wrap;
  }

  .navbar .container > .navbar-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .navbar .container > .d-lg-none,
  .navbar .container > .navbar-toggler {
    flex: 0 0 auto;
  }

  .navbar-collapse {
    order: 10;
    flex-basis: 100%;
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
  }
}

@media (max-width: 767.98px) {
  .hero-section { padding-top: 2.5rem; padding-bottom: 1.75rem; }
  .lifestyle-single { min-height: 240px; }
  .hero-points div {
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    border-right: none;
    margin-right: 0;
    padding-right: 0;
    flex: none;
    width: 50%;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.5rem;
  }
}
