/* =========================================================
   Lovisas Blommor – mockup stylesheet
   Ljust, fräscht, blommigt & säljande
   ========================================================= */

:root {
  --cream:      #FBF7F1;
  --cream-2:    #FFFDFA;
  --green:      #2E5339;   /* djup botanisk grön */
  --green-soft: #4E7A57;
  --sage:       #B9CFB2;
  --sage-soft:  #E4EEDF;
  --blush:      #F8DCE3;
  --blush-2:    #F4C2CE;
  --rose:       #E0738F;   /* CTA-rosa */
  --rose-dark:  #C95877;
  --sun:        #F6C95B;
  --lilac:      #E2D6F0;
  --ink:        #283A2D;
  --muted:      #6E7C70;
  --line:       #ECE6DC;
  --radius:     22px;
  --radius-sm:  14px;
  --shadow:     0 18px 40px -22px rgba(46, 83, 57, .35);
  --shadow-sm:  0 10px 24px -16px rgba(46, 83, 57, .4);
  --maxw:       1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: "Fraunces", Georgia, serif; line-height: 1.08; font-weight: 600; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rose-dark);
  background: var(--blush);
  padding: 6px 14px;
  border-radius: 999px;
}
.eyebrow--light { color: #fff; background: rgba(255,255,255,.22); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn--primary { background: var(--rose); color: #fff; box-shadow: 0 12px 24px -10px rgba(224,115,143,.7); }
.btn--primary:hover { background: var(--rose-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--green); border: 1.5px solid var(--sage); }
.btn--ghost:hover { background: var(--sage-soft); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--green); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.icon-btn {
  background: transparent; border: 0; cursor: pointer;
  font-size: 1.15rem; padding: 8px; border-radius: 12px;
  transition: background .15s ease;
}
.icon-btn:hover { background: var(--sage-soft); }

.stars { color: var(--sun); letter-spacing: 2px; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--green);
  color: #fff;
  overflow: hidden;
  font-size: .85rem;
  font-weight: 500;
}
.announce__track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  padding: 9px 0;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.announce__track span { opacity: .92; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,247,241,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 20px; padding: 14px 24px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: "Fraunces", serif; font-size: 1.35rem; font-weight: 600; color: var(--green); }
.logo__mark { color: var(--rose); font-size: 1.5rem; }
.logo__text em { font-style: italic; font-weight: 400; color: var(--rose-dark); }

.nav { display: flex; gap: 26px; margin: 0 auto; }
.nav a { font-weight: 500; font-size: .98rem; color: var(--ink); position: relative; padding: 4px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--rose); border-radius: 2px; transition: width .2s ease;
}
.nav a:hover { color: var(--rose-dark); }
.nav a:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 4px; }
.cart { position: relative; }
.cart__count {
  position: absolute; top: -2px; right: -2px;
  background: var(--rose); color: #fff; font-size: .68rem; font-weight: 700;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center; border-radius: 999px;
}
.header__burger { display: none; flex-direction: column; gap: 4px; }
.header__burger span { width: 22px; height: 2px; background: var(--green); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 90px; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .55; z-index: 0; }
.hero__blob--1 { width: 460px; height: 460px; background: radial-gradient(circle at 30% 30%, var(--blush), transparent 70%); top: -120px; right: -80px; }
.hero__blob--2 { width: 420px; height: 420px; background: radial-gradient(circle at 30% 30%, var(--sage-soft), transparent 70%); bottom: -160px; left: -120px; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }

.hero__copy h1 { font-size: clamp(2.6rem, 5.2vw, 4.2rem); margin: 18px 0 18px; letter-spacing: -.5px; }
.hero__copy .hl { color: var(--rose-dark); font-style: italic; position: relative; }
.hero__copy .hl::after {
  content:""; position:absolute; left:0; right:0; bottom:6px; height:10px;
  background: var(--sun); opacity:.45; border-radius:6px; z-index:-1;
}
.hero__lead { font-size: 1.12rem; color: var(--muted); max-width: 480px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 22px; }
.hero__trust { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .95rem; }

.hero__art { position: relative; height: 460px; }
.hero__card {
  position: absolute; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero__card--main {
  inset: 30px 20px 30px 30px; font-size: 9rem;
  background: linear-gradient(150deg, var(--blush) 0%, #fff 55%, var(--sage-soft) 100%);
}
.hero__card--a {
  width: 130px; height: 130px; font-size: 3.6rem; right: 0; top: 6px;
  background: linear-gradient(150deg, #fff, var(--blush-2)); animation: float 5s ease-in-out infinite;
}
.hero__card--b {
  width: 120px; height: 120px; font-size: 3.4rem; left: -10px; bottom: 8px;
  background: linear-gradient(150deg, #fff, var(--sage)); animation: float 6s ease-in-out infinite reverse;
}
.hero__pill {
  position: absolute; right: 14px; bottom: 70px; background: #fff;
  padding: 9px 15px; border-radius: 999px; box-shadow: var(--shadow-sm);
  font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: 8px;
}
.hero__pill-dot { width: 9px; height: 9px; border-radius: 50%; background: #57b36b; box-shadow: 0 0 0 4px rgba(87,179,107,.2); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- USP strip ---------- */
.usp { background: var(--green); color: #fff; }
.usp__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; padding: 26px 24px; }
.usp__item { display: flex; align-items: center; gap: 14px; }
.usp__item span { font-size: 1.8rem; }
.usp__item strong { display: block; font-size: 1rem; }
.usp__item p { font-size: .85rem; opacity: .8; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--soft { background: linear-gradient(180deg, var(--cream-2), #F4EFE6); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section__head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-top: 14px; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; max-width: none; }
.link-more { font-weight: 600; color: var(--rose-dark); white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.cat {
  border-radius: var(--radius); padding: 28px 24px; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease; box-shadow: var(--shadow-sm);
}
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat__emoji { font-size: 3rem; display: block; margin-bottom: 12px; }
.cat h3 { font-size: 1.4rem; }
.cat p { color: var(--muted); font-size: .92rem; margin: 4px 0 16px; }
.cat__link { font-weight: 600; color: var(--green); font-size: .92rem; }
.cat--pink   { background: var(--blush); }
.cat--green  { background: var(--sage-soft); }
.cat--yellow { background: #FBEFC9; }
.cat--lilac  { background: var(--lilac); }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.product {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product__media {
  position: relative; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.product__badge {
  position: absolute; top: 12px; left: 12px; background: var(--rose); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: .03em;
}
.product__badge--new { background: var(--green); }
.product__fav {
  position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,.9);
  border: 0; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; transition: transform .15s ease;
}
.product__fav:hover { transform: scale(1.15); }
.product__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product__cat { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--green-soft); font-weight: 600; }
.product__name { font-size: 1.18rem; margin: 4px 0 6px; }
.product__rating { font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.product__rating .stars { font-size: .8rem; margin-right: 6px; }
.product__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product__price { font-weight: 700; font-size: 1.18rem; color: var(--green); }
.product__price s { color: var(--muted); font-weight: 400; font-size: .9rem; margin-right: 6px; }
.product__add {
  background: var(--sage-soft); color: var(--green); border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: .9rem; padding: 10px 16px; border-radius: 999px;
  transition: background .15s ease, transform .15s ease;
}
.product__add:hover { background: var(--rose); color: #fff; transform: translateY(-2px); }

/* ---------- Promo ---------- */
.promo { padding: 0 0 84px; }
.promo__inner {
  background: linear-gradient(120deg, var(--rose) 0%, #E58FA6 55%, var(--blush-2) 100%);
  border-radius: 32px; color: #fff; display: grid; grid-template-columns: .8fr 1.2fr;
  align-items: center; overflow: hidden; box-shadow: var(--shadow);
}
.promo__art { font-size: 6rem; text-align: center; padding: 40px; line-height: 1.1; }
.promo__copy { padding: 48px 56px 48px 10px; }
.promo__copy h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin: 14px 0 14px; }
.promo__copy p { max-width: 440px; opacity: .95; margin-bottom: 26px; }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about__art { position: relative; height: 420px; }
.about__photo {
  position: absolute; border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 6rem; box-shadow: var(--shadow);
}
.about__photo--1 { inset: 0 30% 30% 0; background: linear-gradient(150deg, var(--sage-soft), var(--sage)); }
.about__photo--2 { width: 60%; height: 60%; right: 0; bottom: 0; background: linear-gradient(150deg, var(--blush), var(--blush-2)); border: 6px solid var(--cream); }
.about__badge {
  position: absolute; top: 16px; right: 8px; background: #fff; color: var(--green);
  font-weight: 700; font-size: .85rem; padding: 9px 15px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.about__copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 14px 0 16px; }
.about__copy p { color: var(--muted); margin-bottom: 18px; }
.ticks { list-style: none; margin: 0 0 26px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: "✿"; position: absolute; left: 0; top: 0; color: var(--rose);
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.quote { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.quote blockquote { font-family: "Fraunces", serif; font-size: 1.15rem; margin: 14px 0 18px; color: var(--ink); }
.quote figcaption { color: var(--muted); font-weight: 600; }

/* ---------- Newsletter ---------- */
.news { padding: 0 0 84px; }
.news__inner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--sage-soft), #fff 60%, var(--blush));
  border-radius: 32px; text-align: center; padding: 64px 24px; box-shadow: var(--shadow-sm);
}
.news__blob { position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, var(--blush-2), transparent 70%); opacity: .5; top: -120px; right: -60px; }
.news__inner h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); position: relative; }
.news__inner > p { color: var(--muted); max-width: 460px; margin: 12px auto 26px; position: relative; }
.news__form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; position: relative; }
.news__form input {
  font-family: inherit; font-size: 1rem; padding: 14px 20px; border-radius: 999px;
  border: 1.5px solid var(--sage); min-width: 280px; background: #fff;
}
.news__form input:focus { outline: none; border-color: var(--rose); }
.news__note { margin-top: 16px; font-weight: 600; color: var(--green); }
.news__fine { display: block; margin-top: 14px; color: var(--muted); position: relative; }

/* ---------- Instagram gallery ---------- */
.gram { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; }
.gram__tile {
  aspect-ratio: 1/1; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; cursor: pointer; transition: transform .2s ease;
  background: linear-gradient(150deg, var(--sage-soft), var(--blush));
}
.gram__tile:nth-child(even) { background: linear-gradient(150deg, var(--blush), #FBEFC9); }
.gram__tile:hover { transform: scale(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--green); color: #fff; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.logo--light { color: #fff; }
.logo--light .logo__text em { color: var(--blush-2); }
.footer__brand p { opacity: .8; margin: 14px 0 18px; max-width: 280px; font-size: .95rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.socials a:hover { background: rgba(255,255,255,.25); }
.footer__col h4 { font-size: 1.05rem; margin-bottom: 14px; }
.footer__col a, .footer__col p { display: block; opacity: .82; font-size: .94rem; margin-bottom: 9px; }
.footer__col a:hover { opacity: 1; text-decoration: underline; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15);
  font-size: .85rem; opacity: .82;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--green); color: #fff; padding: 14px 24px; border-radius: 999px;
  font-weight: 600; box-shadow: var(--shadow); z-index: 100; transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner, .about__inner { grid-template-columns: 1fr; }
  .hero__art, .about__art { height: 360px; order: -1; }
  .cats, .products, .quotes { grid-template-columns: repeat(2,1fr); }
  .usp__grid { grid-template-columns: repeat(2,1fr); }
  .promo__inner { grid-template-columns: 1fr; }
  .promo__copy { padding: 10px 36px 44px; }
  .promo__art { padding: 36px 10px 0; }
  .gram { grid-template-columns: repeat(3,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--cream-2); padding: 10px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .28s ease; margin: 0;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .header__burger { display: flex; }
  .logo { margin-right: auto; }
  .section { padding: 60px 0; }
  .cats, .products, .quotes, .usp__grid, .footer__grid, .gram { grid-template-columns: 1fr; }
  .gram { grid-template-columns: repeat(3,1fr); }
  .section__head--row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .news__form input { min-width: 100%; }
}
