/* La Vie Naturelle – stilmall. Typsnitt och färger följer den gamla sajten (Qi-temat). */

@font-face {
  font-family: 'Marcellus';
  src: url('../fonts/marcellus-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --heading: #1f1f1f;
  --text: #5f5f5f;
  --muted: #6e6e6e;
  --accent: #fa5f36;        /* ikoner och dekor */
  --accent-text: #c8441d;   /* länkar och knappar – tillräcklig kontrast */
  --accent-dark: #a9381a;
  --green: #a1ce8d;
  --green-dark: #3f6b35;
  --cream: #fcf9f7;
  --tint: #f6f3ee;
  --line: #e8e3dc;
  --white: #fff;
  --serif: 'Marcellus', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 15px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--heading); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--heading); color: #fff;
  padding: 10px 16px; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }

.eyebrow {
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: .8em;
}
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow--light { color: #fff; }
.lead { font-size: 1.08rem; color: var(--text); }

/* ------------------------------------------------------------ Knappar och länkar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 28px; border: 1px solid var(--accent-text); border-radius: var(--radius);
  background: var(--accent-text); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--accent-text); }
.btn--ghost:hover { background: var(--accent-text); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--heading); }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn--dark { background: var(--heading); border-color: var(--heading); }
.btn--dark:hover { background: #000; border-color: #000; }
.btn--small { min-height: 42px; padding: 9px 16px; font-size: .72rem; }
.btn--wide { width: 100%; }
.btn[disabled] { background: var(--line); border-color: var(--line); color: var(--muted); cursor: not-allowed; }
.btn.is-disabled { pointer-events: none; opacity: .45; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.actions--center { justify-content: center; }

.more-link {
  display: inline-flex; align-items: center; gap: .6em; font-size: .82rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--accent-text);
}
.more-link:hover .ui-icon--arrow { transform: translateX(4px); }
.ui-icon { width: 22px; height: 22px; flex: none; }
.ui-icon--arrow { width: 18px; height: 18px; transition: transform .2s; }

/* ------------------------------------------------------------ Sidhuvud */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(8px);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { flex: none; display: block; }
.logo img { width: 132px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav a {
  display: block; padding: 10px 12px; font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none; color: var(--heading);
}
.main-nav a:hover, .main-nav a[aria-current="page"], .main-nav a.is-active { color: var(--accent-text); }
.main-nav .has-sub > ul {
  position: absolute; left: 0; top: 100%; min-width: 230px; list-style: none; margin: 0; padding: 10px 0;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, .07);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.main-nav .has-sub:hover > ul, .main-nav .has-sub:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.main-nav .has-sub > ul a { padding: 9px 20px; letter-spacing: .08em; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.cart-button, .nav-toggle, .icon-button {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0;
  background: none; color: var(--heading); cursor: pointer; border-radius: 50%; text-decoration: none;
}
.cart-button:hover, .nav-toggle:hover, .icon-button:hover { background: var(--tint); color: var(--heading); }
.cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--accent-text); color: #fff; font-size: .66rem; font-weight: 700; line-height: 19px; text-align: center;
}
.nav-toggle { display: none; }

/* ------------------------------------------------------------ Hero */
.home-hero, .page-hero, .image-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.home-hero__img, .page-hero__img, .image-band__img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
}
.home-hero__overlay, .page-hero__overlay, .image-band__overlay { position: absolute; inset: 0; z-index: -1; }
.home-hero { min-height: min(88vh, 760px); display: flex; align-items: flex-end; }
.home-hero__img { object-position: 45% 100%; }
@media (min-width: 1600px) { .home-hero__img { object-position: 45% 25%; } }
.home-hero__overlay { background: radial-gradient(ellipse at center, rgba(20, 24, 18, .58) 0%, rgba(20, 24, 18, .42) 60%, rgba(20, 24, 18, .3) 100%); }
.home-hero__content { padding-block: 96px 48px; text-align: center; }
.home-hero h1 { color: #fff; max-width: 18ch; margin-inline: auto; font-size: clamp(2.5rem, 6.4vw, 5.2rem); }
.home-hero__lead { max-width: 52ch; margin-inline: auto; font-size: 1.1rem; color: #f3f1ea; }
.home-hero .actions { justify-content: center; }

.page-hero { min-height: clamp(260px, 36vw, 420px); display: grid; place-items: center; text-align: center; }
.page-hero__img { object-position: center 35%; }
.page-hero__overlay { background: rgba(18, 22, 16, .45); }
.page-hero__content { padding-block: 70px; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero__lead { max-width: 60ch; margin: 1em auto 0; color: #f3f1ea; font-size: 1.05rem; }

.page-title { padding-top: 40px; }
.page-title h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: .2em 0 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 18px 0 0; font-size: .8rem; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: #b9b3aa; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-text); text-decoration: underline; }

.image-band { min-height: 380px; display: grid; align-items: center; }
.image-band__overlay { background: rgba(18, 22, 16, .38); }
.image-band__quote { margin-block: 0; padding-block: 80px; }
.image-band__quote { text-align: center; }
.image-band__quote p {
  max-width: 26ch; margin: 0 auto; font: 400 clamp(1.8rem, 3.6vw, 2.8rem)/1.25 var(--serif); color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .8); padding-top: .7em;
}

/* ------------------------------------------------------------ Sektioner */
.section { padding-block: clamp(56px, 8vw, 100px); }
.section--tint { background: var(--tint); }
.section--flush { padding-top: 0; }
.section--product { padding-top: 32px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head .section-title { margin-bottom: .2em; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-intro { max-width: 64ch; margin: .6em 0 0; }

.card-grid { display: grid; gap: clamp(28px, 4vw, 48px); margin-top: 48px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.section > .card-grid:first-child { margin-top: 0; }
.icon-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.icon { width: 72px; height: 72px; }
.icon--accent { color: var(--accent); margin-bottom: 18px; }
.icon-card__title { font-size: clamp(1.4rem, 2.2vw, 1.7rem); }
.icon-card__body { flex: 1; }
.icon-card__body p { color: var(--muted); }
.icon-card__body:has(p + p) { text-align: left; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split__media img { width: 100%; border-radius: var(--radius); }
.text-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.text-columns h2 { font-size: 1.6rem; margin-top: 1.2em; }
.text-columns h2:first-child { margin-top: 0; }

.prose { max-width: 780px; }
.prose h2 { margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.season-plan { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 1em 0 2em; }
.season-plan section { background: var(--tint); padding: 22px 24px; border-radius: var(--radius); }
.season-plan h4 { margin-bottom: .5em; }
.season-plan ul { margin: 0; }
.season-plan li + li { margin-top: .35em; }

.panel { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }

.places { list-style: none; padding: 0; margin: 1.4em 0; display: grid; gap: 14px; }
.place { border-left: 2px solid var(--green); padding: 2px 0 2px 18px; }
.place__name { font-size: 1.2rem; margin-bottom: .2em; }
.place__where, .place__when { margin: 0; }
.place__where { color: var(--heading); font-weight: 600; font-size: .92rem; }
.place__when { color: var(--muted); font-size: .9rem; }

.contact-details { font-style: normal; display: grid; gap: 10px; margin-top: 1.4em; }
.contact-details p { margin: 0; }
.contact-details .label { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-details a { color: var(--heading); text-decoration: none; }
.contact-details a:hover { color: var(--accent-text); text-decoration: underline; }

/* ------------------------------------------------------------ Bildspel (startsidan) */
/* Utan JS är remsan en vanlig rad som går att scrolla i sidled. Med JS (.is-js) glider den. */
.strip-section { padding-top: clamp(28px, 4vw, 48px); }
.photo-strip { --strip-h: clamp(210px, 25vw, 330px); }
.photo-strip__viewport { overflow-x: auto; padding-inline: var(--gutter); }
.photo-strip__track { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; width: max-content; }
.photo-strip__item { flex: none; padding-right: clamp(12px, 1.6vw, 20px); }
.photo-strip figure { margin: 0; }
.photo-strip img {
  height: var(--strip-h); width: auto; max-width: none; border-radius: var(--radius);
  -webkit-user-drag: none; user-select: none;
}
.photo-strip figcaption {
  margin-top: 12px; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.photo-strip__controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; }
.photo-strip:not(.is-js) .photo-strip__toggle { display: none; }
.photo-strip.is-js .photo-strip__viewport {
  overflow: hidden; padding-inline: 0; cursor: grab; touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.photo-strip.is-js .photo-strip__track { will-change: transform; }
.photo-strip.is-dragging .photo-strip__viewport { cursor: grabbing; }
.photo-strip__link, .photo-strip__toggle {
  display: inline-flex; align-items: center; gap: .55em; min-height: 44px; padding: 0; border: 0; background: none;
  color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.photo-strip__link { text-decoration: none; white-space: nowrap; }
.photo-strip__link:hover, .photo-strip__toggle:hover { color: var(--heading); }
.photo-strip__link .ui-icon, .photo-strip__toggle .ui-icon { width: 16px; height: 16px; }
.photo-strip .ui-icon--play, .photo-strip.is-paused .ui-icon--pause { display: none; }
.photo-strip.is-paused .ui-icon--play { display: block; }

/* ------------------------------------------------------------ Karta */
.map { position: relative; aspect-ratio: 16 / 7; min-height: 320px; background: #e9eee4; border-radius: var(--radius); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 24px; }
.map__title { font: 400 1.6rem var(--serif); color: var(--heading); margin-bottom: .3em; }
.map__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }

/* ------------------------------------------------------------ Butik */
.category-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.category-tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3;
  color: #fff; text-decoration: none; isolation: isolate;
}
.category-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.category-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 60%); }
.category-tile:hover img { transform: scale(1.04); }
.category-tile__name { position: absolute; left: 22px; bottom: 40px; font: 400 1.7rem var(--serif); }
.category-tile__count { position: absolute; left: 22px; bottom: 16px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.category-tile:hover { color: #fff; }
.shop-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 28px; padding: 18px 22px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.shop-info p { margin: 0; }
.payment-note { display: flex; align-items: center; gap: 12px; margin: 0; font-size: .85rem; color: var(--muted); }
.payment-note img { height: 26px; width: auto; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.product-card__media { position: relative; display: block; aspect-ratio: 1; background: var(--tint); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px; }
.product-card__cat { margin: 0; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.product-card__title { font-size: 1.3rem; margin: 0; }
.product-card__title a { color: var(--heading); text-decoration: none; }
.product-card__title a:hover { color: var(--accent-text); }
.product-card__price { margin: 0 0 auto; font-weight: 700; color: var(--heading); }
.product-card .btn { margin-top: 6px; }
.unit { font-weight: 400; color: var(--muted); font-size: .88em; }
del { color: var(--muted); font-weight: 400; }
ins { text-decoration: none; color: var(--accent-text); }
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; background: #fff; color: var(--heading); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-radius: 2px; }
.badge--sale { background: var(--accent-text); color: #fff; }
.no-photo { display: grid; place-content: center; justify-items: center; gap: 10px; width: 100%; height: 100%; color: var(--green-dark); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.no-photo .icon { width: 64px; height: 64px; }

.variant { display: grid; gap: 4px; }
.variant label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
select, input, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #cfc8bf; border-radius: var(--radius); background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; }

/* Produktsida */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.product__gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.product__main-image { aspect-ratio: 1; background: var(--tint); border-radius: var(--radius); overflow: hidden; }
.product__main-image img { width: 100%; height: 100%; object-fit: cover; }
.product__thumbs { display: flex; gap: 10px; list-style: none; padding: 0; margin: 12px 0 0; }
.product__thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius); background: none; cursor: pointer; }
.product__thumbs button[aria-current="true"] { border-color: var(--accent-text); }
.product__thumbs img { width: 92px; height: 92px; object-fit: cover; border-radius: 2px; }
.product__title { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: .3em; }
.product__short { font-size: 1.05rem; }
.buy-box { display: grid; gap: 14px; margin: 24px 0; padding: 24px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.buy-box__price { margin: 0; font: 400 1.8rem var(--serif); color: var(--heading); }
.stock { margin: 0; font-size: .82rem; font-weight: 700; }
.stock--in { color: var(--green-dark); }
.stock--out { color: var(--muted); }
.product__pickup { font-size: .9rem; color: var(--muted); }
.product__details h2 { font-size: 1.4rem; margin-top: 1.5em; }

/* ------------------------------------------------------------ Formulär */
.form { margin-top: 1.4em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.field { display: grid; gap: 6px; }
.field[hidden] { display: none; }
.field--full { grid-column: 1 / -1; }
.field label, legend { font-size: .8rem; font-weight: 700; color: var(--heading); }
.optional { font-weight: 400; color: var(--muted); }
.form-status { margin: 14px 0 0; font-size: .9rem; color: var(--green-dark); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: #b3261e; }
fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { font: 400 1.4rem var(--serif); margin-bottom: 14px; }
.choices { display: grid; gap: 10px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--accent-text); box-shadow: 0 0 0 1px var(--accent-text); }
.choice input { width: 18px; min-height: 0; margin-top: 4px; accent-color: var(--accent-text); }
.choice strong { display: block; color: var(--heading); font-size: .92rem; }
.choice small { color: var(--muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; font-size: .9rem; }
.consent input { width: 18px; min-height: 0; margin-top: 5px; accent-color: var(--accent-text); }
.choice__logo { height: 26px; width: auto; margin-left: auto; align-self: center; }
.swish-pay { display: grid; gap: 14px; justify-items: center; text-align: center; }
.swish-pay[hidden], .swish-pay [hidden], .checkout__form[hidden] { display: none; }
.swish-pay > * { margin: 0; }
.swish-pay h2 { font-size: 1.6rem; }
.swish-pay__amount { color: var(--heading); font-weight: 600; }
.swish-pay__qr { width: min(260px, 100%); height: auto; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.swish-pay p { max-width: 42ch; }
.swish-pay .btn { max-width: 360px; }
.payment-slot { padding: 18px; border: 1px dashed #cfc8bf; border-radius: var(--radius); background: var(--cream); }
.payment-slot p:last-child { margin: 10px 0 0; color: var(--muted); font-size: .9rem; }
.thanks { display: grid; gap: 18px; }
.thanks > * { margin: 0; }
.thanks__details { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.thanks__details[hidden], .thanks__details div[hidden] { display: none; }
.thanks__details div { padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.thanks__details dt { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.thanks__details dd { margin: 4px 0 0; color: var(--heading); font-weight: 600; }

/* ------------------------------------------------------------ Nyhetsbrev och sidfot */
.newsletter { background: var(--green); color: var(--heading); padding-block: 56px; }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px 48px; align-items: center; }
.newsletter__title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: .3em; }
.newsletter p { margin: 0; color: #24321f; }
.newsletter__form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter__form input { border-color: transparent; }
.newsletter__note { grid-column: 1 / -1; font-size: .8rem; }
.newsletter__note a { color: var(--heading); }
.newsletter .form-status { grid-column: 1 / -1; color: var(--heading); }

.site-footer { background: var(--cream); padding-top: 72px; font-size: .92rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.logo--footer img { width: 150px; margin-bottom: 18px; }
.footer-title { font-size: 1.9rem; margin-bottom: .7em; }
.org { color: var(--muted); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-links a, .social { color: var(--heading); text-decoration: none; }
.footer-links a:hover, .social:hover { color: var(--accent-text); text-decoration: underline; }
.site-footer .contact-details { margin-top: 0; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.site-footer__bottom p { margin: 0; }
.social { display: inline-flex; align-items: center; gap: 8px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.insta__profile { display: inline-flex; align-items: center; gap: 12px; color: var(--heading); text-decoration: none; font-weight: 600; margin-bottom: 14px; }
.insta__avatar { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); }
.insta__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.insta__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }

/* ------------------------------------------------------------ Varukorg */
.drawer-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(18, 22, 16, .45); }
.cart-drawer {
  position: fixed; z-index: 61; top: 0; right: 0; bottom: 0; width: min(420px, 100%); display: flex; flex-direction: column;
  background: #fff; box-shadow: -20px 0 50px rgba(0, 0, 0, .12); transform: translateX(102%); transition: transform .28s ease; visibility: hidden;
}
.cart-drawer.is-open { transform: none; visibility: visible; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.cart-drawer__head h2 { margin: 0; font-size: 1.7rem; }
.cart-drawer__items { flex: 1; overflow: auto; padding: 4px 22px; }
.cart-drawer__foot { display: grid; gap: 10px; padding: 18px 22px 24px; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line img, .cart-line__ph { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); background: var(--tint); }
.cart-line__name { margin: 0; font: 400 1.1rem/1.3 var(--serif); }
.cart-line__name a { color: var(--heading); text-decoration: none; }
.cart-line__meta { margin: 0; font-size: .8rem; color: var(--muted); }
.cart-line__total { font-weight: 700; color: var(--heading); text-align: right; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.qty button { width: 30px; height: 30px; border: 1px solid var(--line); background: #fff; border-radius: 50%; cursor: pointer; line-height: 1; }
.qty button:hover { border-color: var(--heading); }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }
.remove { display: block; margin-top: 6px; border: 0; background: none; padding: 0; font-size: .75rem; color: var(--muted); text-decoration: underline; cursor: pointer; }
.empty { color: var(--muted); padding: 20px 0; }
.cart-summary__row { display: flex; justify-content: space-between; margin: 0; font-size: 1rem; }
.cart-summary__note { font-size: .85rem; color: var(--muted); }
.cart-page, .checkout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 40px; align-items: start; }
.cart-summary, .checkout__summary { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 24px); }
.cart-summary h2, .checkout__summary h2 { margin: 0; font-size: 1.6rem; }

.toast {
  position: fixed; z-index: 80; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--heading); color: #fff; padding: 12px 20px; border-radius: var(--radius); font-size: .88rem; transition: .25s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------ Responsivt */
@media (max-width: 1100px) {
  .main-nav a { padding-inline: 8px; letter-spacing: .08em; }
}
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .logo img { width: 112px; }
  .nav-toggle { display: inline-grid; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100dvh - var(--header-h)); overflow: auto;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0, 0, 0, .08); display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .main-nav a { padding: 14px 0; font-size: .82rem; border-bottom: 1px solid var(--line); }
  .main-nav .has-sub > ul { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .main-nav .has-sub > ul a { padding: 12px 0; }
  .header-actions { margin-left: auto; }
  .card-grid--3, .split, .text-columns, .newsletter__inner, .product, .cart-page, .checkout { grid-template-columns: 1fr; }
  .product__gallery, .cart-summary, .checkout__summary { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > :last-child { grid-column: 1 / -1; }
  .section-head { flex-direction: column; align-items: start; }
}
@media (max-width: 860px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card__body { padding: 12px; }
  .product-card__title { font-size: 1.1rem; }
  .category-tiles { gap: 8px; }
  .category-tile { aspect-ratio: 3 / 4; }
  .category-tile__name { left: 10px; right: 8px; bottom: 12px; font-size: 1.05rem; line-height: 1.2; }
  .category-tile__count { display: none; }
  .form-grid, .season-plan { grid-template-columns: 1fr; }
  .newsletter__form { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .map { aspect-ratio: auto; min-height: 300px; }
  .home-hero__content { padding-block: 72px 48px; }
  .shop-info { flex-direction: column; align-items: start; }
  .photo-strip__more { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
