/* ==========================================================================
   WOW v3 – startsidan: e-handel först, ljus oas-rytm
   hero (mörk bild) → USP (salvia) → Utvalt (havre) → kategorier (havre) →
   Doftoljor (salvia) → omdömen (sand) → ritual (bild) → journal (havre)
   ========================================================================== */
body.wow-front { background: var(--ao-oat); }

/* Header + topbar transparent ovanpå heron; ljus text bara här */
body.wow-front .smort-topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 60; background: transparent !important; }
body.wow-front .smort-header { position: absolute !important; top: var(--ao-tb, 34px); left: 0; right: 0; z-index: 60; background: transparent !important; border-bottom-color: rgba(244, 239, 231, .18) !important; }
body.wow-front .smort-header .smort-logo img { filter: brightness(0) invert(.96); }
body.wow-front .smort-header .smort-logo::after { background: rgba(244, 239, 231, .25); }
body.wow-front .smort-header :is(.smort-nav ul li a, .main-navigation a) { color: var(--ao-on-dark) !important; }
body.wow-front .smort-header :is(.smort-nav ul li a, .main-navigation a):hover { color: #fff !important; opacity: .8; }
body.wow-front .smort-header .burger-menu span { background: var(--ao-on-dark) !important; }
body.wow-front .smort-header :is(.wooj-icon-basket-1, .wc-j-upsellator-cart-count-icon, .smort-cart) { color: var(--ao-on-dark) !important; }

.ao-home { background: var(--ao-oat); color: var(--ao-forest); font-family: var(--ao-sans); letter-spacing: -0.01em; overflow-x: clip; }
.ao-home *, .ao-home *::before, .ao-home *::after { box-sizing: border-box; }
.ao-home :is(h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd) { margin: 0; padding: 0; }
.ao-home :is(ul, ol) { list-style: none; }
.ao-home a { color: inherit; text-decoration: none; }
.ao-home img { display: block; max-width: 100%; }
.ao-home .ao-wrap { max-width: var(--ao-max); margin-left: auto; margin-right: auto; padding-left: var(--ao-pad); padding-right: var(--ao-pad); }
.ao-label { color: var(--ao-ink-2); }
.ao-label--light { color: rgba(244, 239, 231, .8) !important; }
.ao-home h3 { font-size: 19px !important; line-height: 1.2 !important; letter-spacing: -0.025em !important; }
.ao-sec { padding: clamp(56px, 6vw, 96px) 0; }

/* Pill-knapp med rund ikon (hero/band) */
.ao-pill { display: inline-flex; align-items: center; gap: 14px; height: 50px; padding: 0 7px 0 22px; border-radius: 999px; font: 600 15px/1 var(--ao-sans); letter-spacing: -0.01em; white-space: nowrap; transition: background-color .35s var(--ao-ease), color .35s var(--ao-ease), border-color .35s var(--ao-ease); }
.ao-pill i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-style: normal; transition: transform .5s var(--ao-ease); }
.ao-pill:hover i { transform: rotate(45deg); }
.ao-pill--light { background: var(--ao-oat); color: var(--ao-forest) !important; }
.ao-pill--light i { background: var(--ao-sage-700); color: var(--ao-on-primary); }
.ao-pill--light:hover { background: #fff; }
.ao-pill--ghost { border: 1px solid rgba(244, 239, 231, .45); color: var(--ao-on-dark) !important; }
.ao-pill--ghost i { background: var(--ao-on-dark); color: var(--ao-forest); }
.ao-pill--ghost:hover { border-color: var(--ao-on-dark); background: rgba(244, 239, 231, .08); }

/* ---------- HERO (behåller mörk bild + crossfade) -------------------------- */
.ao-hero { position: relative; min-height: clamp(560px, 80svh, 820px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; color: var(--ao-on-dark); }
.ao-hero__slides, .ao-hero__slide, .ao-hero__veil { position: absolute; inset: 0; }
.ao-hero__slides { z-index: -2; background: var(--ao-forest); }
.ao-hero__slide { margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.ao-hero__slide.is-on { opacity: 1; }
.ao-hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.ao-hero__slide.is-on img { animation: ao-zoom 7s linear both; }
@keyframes ao-zoom { from { transform: scale(1.05); } to { transform: scale(1.0); } }
.ao-hero__veil { z-index: -1; background: linear-gradient(180deg, rgba(20, 38, 32, .5) 0%, rgba(20, 38, 32, 0) 24%, rgba(20, 38, 32, .05) 50%, rgba(20, 38, 32, .78) 100%); }
.ao-hero__body { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); align-items: end; gap: 40px; padding-top: 170px; padding-bottom: clamp(36px, 4vw, 56px); }
.ao-home .ao-hero__title { font-size: clamp(44px, 7.4vw, 116px) !important; line-height: .94 !important; letter-spacing: -0.05em !important; font-weight: 600 !important; text-wrap: balance; max-width: 100%; }
.ao-hero__title span { display: block; white-space: nowrap; }
.wow-js .ao-hero__title span { animation: ao-rise 1s var(--ao-ease) both; }
.wow-js .ao-hero__title span + span { animation-delay: .12s; }
@keyframes ao-rise { from { opacity: 0; transform: translateY(.18em); } to { opacity: 1; transform: none; } }
.ao-hero__aside { min-width: 0; }
.ao-hero__lead { font-size: 17px; line-height: 1.45; letter-spacing: -0.015em; color: rgba(244, 239, 231, .92); max-width: 34ch; }
.ao-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ao-hero__klarna { display: flex; align-items: center; gap: 10px; margin-top: 18px !important; font: 500 13px/1 var(--ao-sans); color: rgba(244, 239, 231, .9); }
.ao-hero__klarna img { height: 22px; width: auto; border-radius: 4px; }

/* ---------- USP-rad ------------------------------------------------------- */
.ao-usp { background: var(--ao-sage-100); border-bottom: 1px solid var(--ao-line-d); }
.ao-usp__list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-top: 16px !important; padding-bottom: 16px !important; }
.ao-usp__list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ao-forest); white-space: nowrap; }
.ao-usp__list strong { font-weight: 600; }
.ao-usp__ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ao-oat); color: var(--ao-sage-700); font-size: 13px; }
.ao-usp__klarna img { height: 22px; width: auto; border-radius: 4px; }

/* ---------- Slider-sektioner (färgrytm) ----------------------------------- */
.ao-slider--oat { background: var(--ao-oat); }
.ao-slider--sage { background: var(--ao-sage-100); }
.ao-slider--sage .ao-card__media { background: #fff; }
.ao-cats { padding-top: 0; background: var(--ao-oat); }

/* Kategorikort: bild + namn/antal på havre */
.ao-catgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ao-catcard { position: relative; display: block; border-radius: var(--ao-r); overflow: hidden; background: var(--ao-sand); }
.ao-catcard__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.ao-catcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ao-ease); }
.ao-catcard:hover .ao-catcard__media img { transform: scale(1.04); }
.ao-catcard__body { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 14px 14px 14px 16px; border-radius: 10px; background: rgba(250, 247, 242, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ao-catcard__name { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.ao-catcard__count { grid-column: 1; font-size: 13px; color: var(--ao-ink-2); }
.ao-catcard__body i { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ao-sage-700); color: var(--ao-on-primary); font-style: normal; transition: transform .4s var(--ao-ease); }
.ao-catcard:hover .ao-catcard__body i { transform: translateX(3px); }

/* ---------- Omdömen (nära produkterna) ------------------------------------- */
.ao-reviews { background: var(--ao-sand); padding: clamp(56px, 6vw, 88px) 0; }
.ao-rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ao-review { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--ao-r); background: var(--ao-oat-2); }
.ao-review__stars { color: var(--ao-brass); letter-spacing: 3px; font-size: 16px; }
.ao-review__stars span { color: rgba(31, 58, 50, .18); }
.ao-review blockquote p { font-size: 19px; font-weight: 500; line-height: 1.35; letter-spacing: -0.02em; }
.ao-review__by { margin-top: auto !important; font-size: 15px; }
.ao-review__ok { color: var(--ao-sage-700); font-size: 13px; font-weight: 500; margin-left: 6px; }
.ao-review__meta { font-size: 13px; color: var(--ao-ink-2); }
.ao-review__meta a { text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Ritual-band (kort) --------------------------------------------- */
.ao-band { position: relative; isolation: isolate; color: var(--ao-on-dark); overflow: hidden; padding: clamp(64px, 7vw, 112px) 0; }
.ao-band__media, .ao-band__veil { position: absolute; inset: 0; margin: 0; }
.ao-band__media { z-index: -2; }
.ao-band__media img { width: 100%; height: 100%; object-fit: cover; }
.ao-band__veil { z-index: -1; background: linear-gradient(90deg, rgba(20, 38, 32, .9) 0%, rgba(20, 38, 32, .72) 50%, rgba(20, 38, 32, .5) 100%); }
.ao-band__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: end; }
.ao-band__top .ao-label { margin-bottom: 12px !important; }
.ao-band__top .ao-h2 { color: var(--ao-on-dark); margin-bottom: 26px !important; max-width: 14ch; }
.ao-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(244, 239, 231, .25); }
.ao-steps li { padding: 20px 20px 0; border-left: 1px solid rgba(244, 239, 231, .25); }
.ao-steps li:first-child { border-left: 0; padding-left: 0; }
.ao-steps__n { display: block; font: 500 12px/1 var(--ao-mono); letter-spacing: .06em; color: rgba(244, 239, 231, .75); margin-bottom: 14px; }
.ao-steps h3 { margin-bottom: 8px !important; }
.ao-steps p { font-size: 14px; line-height: 1.45; color: rgba(244, 239, 231, .85); }

/* ---------- Journal ------------------------------------------------------- */
.ao-jgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ao-note { display: grid; gap: 10px; }
.ao-note__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--ao-r); background: var(--ao-sand); }
.ao-note__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ao-ease); }
.ao-note:hover .ao-note__media img { transform: scale(1.04); }
.ao-note__meta { font: 500 12px/1.3 var(--ao-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ao-ink-2); margin-top: 4px; }
.ao-note__title { font-size: 19px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; text-wrap: balance; }

/* ---------- RESPONSIVT ---------------------------------------------------- */
@media (max-width: 1100px) {
  .ao-usp__list { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .ao-hero__body { grid-template-columns: 1fr; gap: 24px; padding-top: 150px; }
  .ao-catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ao-rgrid { grid-template-columns: 1fr; gap: 12px; }
  .ao-band__inner { grid-template-columns: 1fr; gap: 32px; }
  .ao-jgrid { grid-template-columns: 1fr 1fr; }
  .ao-jgrid li:nth-child(3) { display: none; }
}
@media (max-width: 760px) {
  .ao-usp__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .ao-usp__list li { font-size: 13px; white-space: normal; }
  .ao-usp__klarna { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ao-hero { min-height: 640px; }
  .ao-hero__ctas .ao-pill { flex: 1 1 auto; justify-content: space-between; }
  .ao-catcard__media { aspect-ratio: 1 / 1.1; }
  .ao-catcard__body { left: 8px; right: 8px; bottom: 8px; padding: 10px 10px 10px 12px; }
  .ao-catcard__name { font-size: 15px; }
  .ao-catcard__body i { width: 30px; height: 30px; }
  .ao-steps { grid-template-columns: 1fr; }
  .ao-steps li { border-left: 0; padding: 16px 0; border-top: 1px solid rgba(244, 239, 231, .25); }
  .ao-steps li:first-child { border-top: 0; }
  .ao-jgrid { grid-template-columns: 1fr; }
  .ao-jgrid li:nth-child(3) { display: block; }
  .ao-slider__head { flex-wrap: wrap; align-items: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  .ao-hero__slide.is-on img, .wow-js .ao-hero__title span { animation: none !important; }
  .ao-hero__slide img { transform: none; }
}
body.wow-front .smort-header :is(.wooj-icon-basket-1, .wooj-icon-basket-1::before, .wc-j-upsellator-cart-count-icon i) { color: var(--ao-on-dark) !important; }

/* ==========================================================================
   v3.1
   ========================================================================== */
/* Varukorg ljus över mörk hero (samma som logga/hamburgare), alla bredder */
body.wow-front .smort-header .wooj-icon-basket-1,
body.wow-front .smort-header .wooj-icon-basket-1::before,
body.wow-front .smort-header .wc-j-upsellator-cart-count-icon,
body.wow-front .smort-header .wc-j-upsellator-cart-count-icon i::before { color: var(--ao-on-dark) !important; }
body.wow-front .smort-header .wc-j-upsellator-cart-count { background: var(--ao-oat) !important; color: var(--ao-forest) !important; }
/* sticky-headern är ljus -> mörk ikon */
body.wow-front .sticky-header .wooj-icon-basket-1,
body.wow-front .sticky-header .wooj-icon-basket-1::before { color: var(--ao-forest) !important; }

/* Spacing via tokens */
.ao-hero__ctas { margin-top: var(--ao-space-cta) !important; }
.ao-hero__klarna { margin-top: 20px !important; }
body.wow .ao-band__top .ao-label { margin-bottom: var(--ao-space-stack) !important; }
body.wow .ao-band__top .ao-h2 { margin-bottom: var(--ao-space-cta) !important; }
body.wow .ao-slider__titles .ao-h2 { margin-bottom: 0 !important; }
body.wow .ao-slider__note { margin-top: var(--ao-space-stack) !important; }
body.wow .ao-slider__head { margin-bottom: var(--ao-space-cta) !important; }

/* USP-rad: skogsgrön */
.ao-usp { background: var(--ao-forest) !important; border-bottom: 0 !important; border-top: 1px solid rgba(244, 239, 231, .12); }
.ao-usp__list li { color: var(--ao-oat) !important; }
.ao-usp__list li span:not(.ao-usp__ic) { color: rgba(244, 239, 231, .86); }
.ao-usp__list strong { color: var(--ao-oat); }
.ao-usp__ic { background: rgba(244, 239, 231, .1) !important; color: var(--ao-oat) !important; border: 1px solid rgba(244, 239, 231, .22); }

/* Mobil-hero: knappar staplas i full bredd */
@media (max-width: 560px) {
  .ao-hero__ctas { flex-direction: column; flex-wrap: nowrap; gap: 10px; }
  .ao-hero__ctas .ao-pill { width: 100%; max-width: 100%; box-sizing: border-box; justify-content: space-between; flex: none; }
}
