/* ============================================================
   NOLMA — Custom styles for Salla (Saji theme)
   Paste this entire file into:
   Salla Dashboard → Store Design → Themes → Saji → Customize
   → Advanced Settings → Custom CSS
   ============================================================ */

/* ---------- 1. Fonts & Icons ---------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/* ---------- 2. Design tokens ---------- */
:root {
  --nolma-surface: #fdf9f3;
  --nolma-surface-low: #f7f3ed;
  --nolma-surface-container: #f1ede7;
  --nolma-on-surface: #1c1c18;
  --nolma-on-surface-soft: #4e453f;
  --nolma-black: #1b1b1b;
  --nolma-white: #ffffff;

  --nolma-green: #4CAF50;
  --nolma-orange: #F5A623;
  --nolma-purple: #7B61FF;
  --nolma-coral: #F28B8B;
  --nolma-brown: #4A2C1F;

  --nolma-grad-hero: linear-gradient(180deg, #FFC9A8 0%, #F5A878 100%);
  --nolma-shadow-pouch: drop-shadow(0 35px 60px rgba(0,0,0,.25));
}

/* ---------- 3. Scope wrapper ----------
   Wrap every Custom HTML block in <div class="nolma">…</div>
   so these styles never leak into Saji's own pages.
*/
.nolma,
.nolma * {
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.nolma {
  color: var(--nolma-on-surface);
  background: var(--nolma-surface);
  overflow-x: hidden;
}
.nolma img { max-width: 100%; height: auto; display: block; }
.nolma button { cursor: pointer; border: 0; font: inherit; }
.nolma a { text-decoration: none; color: inherit; }
.nolma .material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0, 'wght' 400;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

/* Utility: container */
.nolma-container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.nolma-section { padding: 8rem 0; }

/* ============================================================
   NAV — sticky glassmorphic pill (optional; Saji has its own nav)
   Only use this if you hide Saji's default nav on the homepage.
   ============================================================ */
.nolma-nav {
  position: fixed; top: 1rem; left: 1rem; right: 1rem;
  max-width: 80rem; margin: 0 auto; height: 4rem;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; z-index: 50;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 9999px;
  box-shadow: 0 20px 50px rgba(28,28,24,.05);
}
.nolma-nav-logo { font-size: 1.5rem; font-weight: 900; letter-spacing: -.04em; text-transform: uppercase; }
.nolma-nav-links { display: none; gap: 1.5rem; }
@media (min-width: 768px) { .nolma-nav-links { display: flex; } }
.nolma-nav-links a {
  font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  transition: color .2s;
}
.nolma-nav-links a:hover { color: var(--nolma-green); }
.nolma-nav-cta { display: flex; gap: 1rem; align-items: center; }

/* ============================================================
   BUTTONS — pill primary / secondary
   ============================================================ */
.nolma-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: 1rem 2.5rem;
  border-radius: 9999px;
  font-weight: 700; font-size: 1rem;
  transition: transform .2s ease, background .2s;
}
.nolma-btn:hover { transform: scale(1.02); }
.nolma-btn:active { transform: scale(.95); }
.nolma-btn-primary { background: var(--nolma-black); color: #fff; box-shadow: 0 20px 40px rgba(28,28,24,.12); }
.nolma-btn-secondary {
  background: transparent; color: var(--nolma-black);
  border: 2px solid rgba(27,27,27,.2);
}
.nolma-btn-secondary:hover { background: rgba(255,255,255,.5); }
.nolma-btn-sm { padding: .5rem 1.25rem; font-size: .65rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }

/* ============================================================
   HERO
   ============================================================ */
.nolma-hero {
  position: relative; width: 100%; min-height: 900px; overflow: hidden;
  background: var(--nolma-grad-hero);
  display: flex; flex-direction: column; align-items: center;
}
.nolma-hero-inner {
  position: relative; z-index: 10; width: 100%; max-width: 1440px;
  padding: 12rem 2rem 0; flex-grow: 1;
  display: flex; flex-direction: column; align-items: center; gap: 3rem;
}
@media (min-width: 768px) {
  .nolma-hero-inner { flex-direction: row; padding: 12rem 4rem 0; justify-content: space-between; }
}
.nolma-hero-text { width: 100%; display: flex; flex-direction: column; gap: 2rem; text-align: center; }
@media (min-width: 768px) { .nolma-hero-text { width: 50%; text-align: left; } }
.nolma-hero h1 {
  font-size: clamp(3rem, 8vw, 5.75rem); line-height: 1; font-weight: 900;
  letter-spacing: -.04em; margin: 0;
}
.nolma-hero-sub { font-size: 1.0625rem; font-weight: 500; color: rgba(28,28,24,.8); max-width: 32rem; margin: 0 auto; }
@media (min-width: 768px) { .nolma-hero-sub { margin: 0; } }
.nolma-hero-trust { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
@media (min-width: 768px) { .nolma-hero-trust { flex-direction: row; justify-content: flex-start; } }
.nolma-stars { color: var(--nolma-on-surface); display: inline-flex; }
.nolma-stars .material-symbols-outlined { font-variation-settings: 'FILL' 1; }
.nolma-hero-buttons { display: flex; flex-direction: column; gap: 1rem; padding-top: 1rem; align-items: center; }
@media (min-width: 640px) { .nolma-hero-buttons { flex-direction: row; } }
@media (min-width: 768px) { .nolma-hero-buttons { justify-content: flex-start; } }
.nolma-hero-shipping {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin-top: 1rem; color: rgba(28,28,24,.7);
  font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .15em;
}
@media (min-width: 768px) { .nolma-hero-shipping { justify-content: flex-start; } }

/* Hero product images */
.nolma-hero-pouches {
  width: 100%; position: relative; height: 500px;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 768px) { .nolma-hero-pouches { width: 50%; height: 700px; } }
.nolma-pouch {
  position: absolute; filter: var(--nolma-shadow-pouch);
  transition: transform .7s ease;
}
.nolma-pouch:hover { transform: translateY(-.5rem) rotate(var(--rot, 0deg)) translateX(var(--tx, 0)); }
.nolma-pouch--left  { --rot: -12deg; --tx: -10rem; transform: translateX(-6rem) translateY(1rem) rotate(-12deg); width: 280px; z-index: 10; }
.nolma-pouch--right { --rot:  12deg; --tx:  10rem; transform: translateX(6rem)  translateY(3rem) rotate(12deg);  width: 280px; z-index: 20; }
.nolma-pouch--center { width: 300px; z-index: 30; }
@media (min-width: 768px) {
  .nolma-pouch--left  { transform: translateX(-10rem) translateY(1rem) rotate(-12deg); width: 440px; }
  .nolma-pouch--right { transform: translateX(10rem)  translateY(3rem) rotate(12deg);  width: 440px; }
  .nolma-pouch--center { width: 480px; }
}

/* Hero ambient blobs */
.nolma-hero-blob {
  position: absolute; border-radius: 9999px; pointer-events: none;
  filter: blur(120px); opacity: .25;
}
.nolma-hero-blob--gold  { top: 25%; right: -5rem; width: 600px; height: 600px; background: #FFD700; opacity: .2; filter: blur(150px); }
.nolma-hero-blob--coral { bottom: 0; left: -5rem; width: 400px; height: 400px; background: #FF7F50; opacity: .3; }

/* ============================================================
   PARTNER TICKER
   ============================================================ */
.nolma-partners {
  width: 100%; height: 220px; position: relative; z-index: 20;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); backdrop-filter: blur(4px);
  margin-top: auto; overflow: hidden;
}
.nolma-partners-label {
  font-size: .875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .2em;
  color: #6b6b6b; margin-bottom: .75rem;
}
.nolma-ticker { width: 100%; overflow: hidden; }
.nolma-ticker-track {
  display: flex; width: max-content;
  animation: nolma-scroll 40s linear infinite;
}
.nolma-ticker-track > div { display: flex; align-items: center; }
.nolma-partner-logo {
  height: 60px; max-width: 180px; margin: 0 60px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0) opacity(.55);
  transition: filter .3s;
}

@keyframes nolma-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   BENEFITS — pill marquee + bento grid
   ============================================================ */
.nolma-benefits { background: #FAF6F0; }
.nolma-pill-marquee { width: 100%; overflow: hidden; margin-bottom: 6rem; }
.nolma-pill-track { display: flex; white-space: nowrap; animation: nolma-scroll 40s linear infinite; }
.nolma-pill-group { display: flex; gap: 1rem; padding: 0 1rem; }
.nolma-pill {
  height: 2.75rem; padding: 0 2rem; border-radius: 9999px;
  display: inline-flex; align-items: center;
  color: #fff; font-weight: 700; font-size: 1.125rem;
  text-transform: uppercase; letter-spacing: -.02em;
}
.nolma-pill--green  { background: var(--nolma-green); }
.nolma-pill--orange { background: var(--nolma-orange); }
.nolma-pill--black  { background: #000; }
.nolma-pill--purple { background: var(--nolma-purple); }

.nolma-section-header { text-align: center; max-width: 80rem; margin: 0 auto 5rem; padding: 0 2rem; }
.nolma-kicker {
  display: inline-flex; align-items: center;
  padding: .5rem 1.5rem; margin-bottom: 2.5rem;
  border: 1.5px solid #000; border-radius: 9999px;
  background: #fff; color: #000;
  font-size: .875rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
}
.nolma-h2 {
  font-size: clamp(3rem, 7vw, 5rem); line-height: .9;
  font-weight: 900; letter-spacing: -.04em; margin: 0 auto;
  max-width: 56rem;
}

.nolma-bento {
  max-width: 80rem; margin: 0 auto; padding: 0 2rem;
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .nolma-bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 450px; }
}
.nolma-bento-card {
  border-radius: 1rem; padding: 3rem; overflow: hidden; position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 320px;
}
.nolma-bento-card h3 {
  font-size: 3rem; line-height: 1.1; font-weight: 900; letter-spacing: -.02em; margin: 0;
}
.nolma-bento-card--brown  { background: var(--nolma-brown); color: #fff; }
.nolma-bento-card--orange { background: var(--nolma-orange); color: var(--nolma-brown); }
.nolma-bento-card--coral  { background: var(--nolma-coral); color: var(--nolma-brown); }
.nolma-bento-card--image  { padding: 0; }
.nolma-bento-card--image img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   FLAVOR CARDS
   ============================================================ */
.nolma-flavors { background: #FAF6F0; display: flex; align-items: center; justify-content: center; }
.nolma-flavors-grid {
  width: 100%; max-width: 1440px; padding: 0 2rem;
  display: flex; flex-direction: column; gap: 2rem; align-items: center;
}
@media (min-width: 768px) {
  .nolma-flavors-grid { flex-direction: row; align-items: flex-end; justify-content: center; }
}
.nolma-flavor-card {
  position: relative; width: 100%; max-width: 420px; height: 640px;
  border-radius: 1rem; padding: 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 25px 50px rgba(0,0,0,.25);
  transition: transform .5s ease;
}
.nolma-flavor-card--green  { background: var(--nolma-green); color: #fff; transform: rotate(-3deg); }
.nolma-flavor-card--purple { background: var(--nolma-purple); color: #fff; z-index: 10; }
.nolma-flavor-card--purple:hover { transform: scale(1.02); }
.nolma-flavor-card--orange { background: var(--nolma-orange); color: #3E2723; transform: rotate(3deg); }
.nolma-flavor-card--green:hover,
.nolma-flavor-card--orange:hover { transform: rotate(0); }

.nolma-flavor-badge-wrap { display: flex; justify-content: center; }
.nolma-flavor-badge {
  padding: .5rem 1.25rem; border: 1px solid currentColor; border-radius: 9999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
}
.nolma-flavor-img { flex: 1; display: flex; align-items: center; justify-content: center; padding: 1rem 0; }
.nolma-flavor-img img { width: 100%; transition: transform .7s ease; }
.nolma-flavor-card:hover .nolma-flavor-img img { transform: scale(1.1); }
.nolma-flavor-meta h3 { font-size: 1.875rem; font-weight: 900; margin: 0 0 .25rem; }
.nolma-flavor-meta p { font-weight: 500; opacity: .9; margin: 0; }
.nolma-flavor-row { display: flex; justify-content: space-between; align-items: center; padding-top: .5rem; }
.nolma-flavor-price { font-size: 1.5rem; font-weight: 900; }
.nolma-flavor-shop {
  background: #fff; padding: 1rem 1.5rem; border-radius: 9999px;
  font-weight: 700; display: inline-flex; align-items: center; gap: .75rem;
  transition: transform .15s;
}
.nolma-flavor-card--green  .nolma-flavor-shop { color: var(--nolma-green); }
.nolma-flavor-card--purple .nolma-flavor-shop { color: var(--nolma-purple); }
.nolma-flavor-card--orange .nolma-flavor-shop { background: #3E2723; color: #fff; }
.nolma-flavor-card--orange .nolma-flavor-shop .material-symbols-outlined { color: var(--nolma-orange); }
.nolma-flavor-shop:active { transform: scale(.95); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.nolma-reviews { background: #fafaf9; }
.nolma-reviews-grid {
  display: grid; gap: 2rem; max-width: 80rem; margin: 0 auto; padding: 0 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .nolma-reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.nolma-review-card {
  background: #fff; padding: 3rem; border-radius: 1rem;
  min-height: 400px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.nolma-review-card--featured {
  background: var(--nolma-purple); color: #fff;
  box-shadow: 0 25px 50px rgba(123,97,255,.3);
}
@media (min-width: 768px) { .nolma-review-card--featured { transform: translateY(-2rem); } }
.nolma-review-card p { font-size: 1.5rem; font-style: italic; font-weight: 500; margin: 0; line-height: 1.4; }
.nolma-review-meta { padding-top: 2rem; border-top: 1px solid rgba(0,0,0,.1); }
.nolma-review-card--featured .nolma-review-meta { border-top-color: rgba(255,255,255,.2); }
.nolma-review-meta strong { display: block; font-weight: 700; }
.nolma-review-meta span { font-size: .875rem; opacity: .6; }

/* ============================================================
   STORY
   ============================================================ */
.nolma-story { background: #fff; }
.nolma-story-grid {
  max-width: 80rem; margin: 0 auto; padding: 0 2rem;
  display: grid; gap: 5rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .nolma-story-grid { grid-template-columns: 1fr 1fr; } }
.nolma-story-img-wrap { position: relative; }
.nolma-story-img-wrap img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 1rem; box-shadow: 0 25px 50px rgba(0,0,0,.2);
}
.nolma-story-stamp {
  position: absolute; bottom: -2.5rem; right: -2.5rem;
  width: 10rem; height: 10rem; border-radius: 9999px;
  background: var(--nolma-green); color: #fff;
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  text-align: center; font-weight: 900; line-height: 1.1;
  transform: rotate(-12deg);
}
.nolma-story-kicker {
  display: block; color: var(--nolma-purple);
  font-weight: 900; text-transform: uppercase; letter-spacing: .15em;
  font-size: .875rem; margin-bottom: 1rem;
}
.nolma-story h2 { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 900; letter-spacing: -.04em; margin: 0 0 2rem; }
.nolma-story-body { display: flex; flex-direction: column; gap: 1.5rem; }
.nolma-story-body p { font-size: 1.25rem; line-height: 1.6; color: #57534e; margin: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.nolma-faq { background: #FAF6F0; }
.nolma-faq-inner { max-width: 56rem; margin: 0 auto; padding: 0 2rem; }
.nolma-faq h2 { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 900; letter-spacing: -.04em; text-align: center; margin: 0 0 5rem; }
.nolma-faq-list { display: flex; flex-direction: column; gap: 1rem; }
.nolma-faq details {
  background: #fff; border-radius: 1rem; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.nolma-faq summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 2rem; cursor: pointer; list-style: none;
  font-size: 1.25rem; font-weight: 700;
}
.nolma-faq summary::-webkit-details-marker { display: none; }
.nolma-faq summary .material-symbols-outlined { transition: transform .2s; }
.nolma-faq details[open] summary .material-symbols-outlined { transform: rotate(180deg); }
.nolma-faq-answer { padding: 0 2rem 2rem; color: #57534e; }

/* ============================================================
   RTL safety — Saji supports Arabic; flip rotations & translations
   ============================================================ */
[dir="rtl"] .nolma-pouch--left  { transform: translateX(6rem)  translateY(1rem) rotate(12deg); }
[dir="rtl"] .nolma-pouch--right { transform: translateX(-6rem) translateY(3rem) rotate(-12deg); }
[dir="rtl"] .nolma-flavor-card--green  { transform: rotate(3deg); }
[dir="rtl"] .nolma-flavor-card--orange { transform: rotate(-3deg); }
[dir="rtl"] .nolma-story-stamp { left: -2.5rem; right: auto; transform: rotate(12deg); }
[dir="rtl"] .nolma-ticker-track,
[dir="rtl"] .nolma-pill-track { animation-direction: reverse; }