/*
Theme Name: Kammoussa
Theme URI: https://example.com/kammoussa
Description: Child theme for Suxnix, custom layout for Kammoussa herbal tea.
Author: Codex
Template: suxnix
Version: 1.0.0
Text Domain: kammoussa
*/

@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --brand-green: #8fa12d;
  --brand-green-dark: #6f7f22;
  --brand-yellow: #d6b726;
  --brand-olive: #9aa544;
  --brand-cream: #f8f7f0;
  --brand-white: #ffffff;
  --brand-ink: #2f2f2f;
  --brand-soft-ink: #6b6b6b;
  --brand-card: #ffffff;
  --brand-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
  --radius-xl: 28px;
  --leaf-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='280' viewBox='0 0 420 280'%3E%3Cg fill='none' stroke='%23d7d7c8' stroke-width='1.2' opacity='0.6'%3E%3Cpath d='M35 40c30 10 60 40 60 70-40 0-75-20-90-55 10-10 20-15 30-15z'/%3E%3Cpath d='M130 20c50 15 80 55 70 90-45-10-75-35-90-70 5-8 10-15 20-20z'/%3E%3Cpath d='M240 25c45 18 70 45 70 90-40-8-70-35-90-70 5-10 10-15 20-20z'/%3E%3Cpath d='M320 60c50 15 80 55 70 90-45-10-75-35-90-70 5-8 10-15 20-20z'/%3E%3Cpath d='M80 160c45 10 70 35 70 80-40-5-70-30-85-60 5-8 10-15 15-20z'/%3E%3Cpath d='M210 150c40 12 65 38 60 75-35-5-60-28-75-55 5-8 8-12 15-20z'/%3E%3Cpath d='M320 170c40 12 65 38 60 75-35-5-60-28-75-55 5-8 8-12 15-20z'/%3E%3C/g%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

body.kammoussa-body {
  font-family: 'Outfit', sans-serif;
  color: var(--brand-ink);
  background: var(--brand-cream);
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4 {
  font-family: 'Marcellus', serif;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.kammoussa-container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.kammoussa-site-header {
  background: var(--brand-white);
  padding: 22px 0;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.kammoussa-site-header .kammoussa-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.kammoussa-logo a {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.kammoussa-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kammoussa-nav a {
  color: var(--brand-ink);
  font-weight: 500;
}

.kammoussa-wrapper {
  background: var(--brand-cream);
}

.kammoussa-hero {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f7f0 100%);
}

.kammoussa-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--leaf-pattern);
  opacity: 0.5;
}

.kammoussa-hero .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.9fr);
  gap: 60px;
  align-items: center;
}

.hero-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-olive);
  display: inline-block;
  margin-bottom: 12px;
}

.kammoussa-hero h1 {
  font-size: clamp(2.8rem, 4.4vw, 4.4rem);
  line-height: 1.05;
}

.kammoussa-hero p {
  color: var(--brand-soft-ink);
  font-size: 1.05rem;
  max-width: 520px;
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-media img {
  width: min(380px, 70vw);
  border-radius: 26px;
  box-shadow: var(--brand-shadow);
}

.kammoussa-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  background: var(--brand-yellow);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(214, 183, 38, 0.35);
  margin-top: 18px;
}

.kammoussa-button.ghost {
  background: transparent;
  color: var(--brand-ink);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none;
}

.kammoussa-section {
  padding: 90px 0;
  position: relative;
}

.kammoussa-section.ingredients {
  background: #fdfcf5;
}

.kammoussa-section.ingredients::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--leaf-pattern);
  opacity: 0.4;
}

.kammoussa-section > .kammoussa-container {
  position: relative;
  z-index: 1;
}

.kammoussa-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 20px;
}

.kammoussa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.kammoussa-card {
  background: var(--brand-card);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--brand-shadow);
  text-align: center;
}

.kammoussa-card img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 16px;
}

.kammoussa-formula {
  background: var(--brand-green);
  color: #fff;
  overflow: hidden;
}

.kammoussa-formula::after {
  content: '';
  position: absolute;
  right: -80px;
  top: 40px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(214, 183, 38, 0.35);
}

.kammoussa-formula .formula-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.9fr);
  gap: 50px;
  align-items: center;
}

.kammoussa-formula ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.kammoussa-formula li {
  position: relative;
  padding-left: 22px;
}

.kammoussa-formula li::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-yellow);
  font-size: 1.2rem;
}

.kammoussa-formula img {
  width: min(320px, 70vw);
  border-radius: 20px;
  box-shadow: var(--brand-shadow);
}

.kammoussa-product-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 40px;
  align-items: center;
}

.kammoussa-product-row img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--brand-shadow);
}

.kammoussa-product-row .price {
  font-weight: 600;
  color: var(--brand-green-dark);
  font-size: 1.2rem;
}

.kammoussa-section.signature::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--leaf-pattern);
  opacity: 0.35;
}

.kammoussa-site-footer {
  padding: 60px 0;
  text-align: center;
  color: var(--brand-soft-ink);
  background: #f1f1ea;
}

@media (max-width: 900px) {
  .kammoussa-hero .hero-inner,
  .kammoussa-formula .formula-inner,
  .kammoussa-product-row {
    grid-template-columns: 1fr;
  }

  .kammoussa-section-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .kammoussa-nav ul {
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
  }
}
