/* ===== Ljuva Beauty – gemensam stil ===== */

/* Typsnitt lagrade lokalt (SIL Open Font License) – latin inkl. å ä ö.
   Variabla typsnitt: en fil täcker flera vikter. */
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(fonts/CormorantGaramond.woff2) format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url(fonts/CormorantGaramond-italic.woff2) format("woff2");
}
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(fonts/Jost.woff2) format("woff2");
}
:root {
  --cream: #faf6f1;
  --sand: #f1e8de;
  --blush: #e8cfc4;
  --rose: #c98f7f;
  --rose-dark: #8f5646;
  --ink: #3a2e2a;
  --muted: #7a6a64;
  --white: #ffffff;
  --line: #e6dbd0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(58, 46, 42, 0.08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--rose-dark); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: 999px; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .6rem; }
h3 { font-size: 1.5rem; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  color: var(--rose-dark); font-weight: 500; margin-bottom: .6rem; display: block;
}
.lead { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
section { padding: 90px 0; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ===== Knappar ===== */
.btn {
  display: inline-block; border: none; cursor: pointer; text-decoration: none;
  font-family: var(--sans); font-size: .95rem; letter-spacing: .06em;
  padding: 14px 30px; border-radius: 999px; transition: .25s ease;
  background: var(--ink); color: var(--white);
}
.btn:hover { background: var(--rose-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; background: var(--muted); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(250, 246, 241, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
/* Logga: symbol (bryn + slutet öga med fransar) + ordmärke */
.logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 52px; height: 52px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; letter-spacing: .02em; }
.logo-sub {
  font-family: var(--sans); font-size: .62rem; font-weight: 500; letter-spacing: .48em;
  text-transform: uppercase; color: var(--rose-dark); margin-top: 3px; padding-left: 2px;
}
.nav-links { display: flex; gap: 34px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 1px solid transparent; transition: .2s;
}
.nav-links a:hover, .nav-links a.active { border-color: var(--rose); color: var(--rose-dark); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.cart-btn {
  position: relative; background: none; border: 1px solid var(--line); cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink);
}
.cart-btn:hover { border-color: var(--rose); }
.cart-count {
  position: absolute; top: -4px; right: -4px; background: var(--rose-dark); color: #fff;
  font-size: .7rem; min-width: 20px; height: 20px; border-radius: 10px;
  display: grid; place-items: center; padding: 0 5px;
}
.cart-count[data-empty="true"] { display: none; }
.menu-toggle {
  display: none; width: 44px; height: 44px; place-items: center; background: none; border: none;
  border-radius: 50%; cursor: pointer; font-size: 1.6rem; line-height: 1; color: var(--ink);
}
.menu-toggle[aria-expanded="true"] { background: var(--sand); }

/* Gridkolumner får krympa – förhindrar att långt innehåll trycker ut sidan på smala skärmar */
.hero-grid > *, .grid-2 > *, .grid-3 > *, .booking-wrap > *, .footer-grid > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }

/* ===== Hero ===== */
.hero {
  padding: 110px 0 120px;
  background:
    radial-gradient(circle at 85% 20%, rgba(232, 207, 196, .9), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(241, 232, 222, 1), transparent 50%),
    var(--cream);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero p { margin: 22px 0 36px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius);
  background: linear-gradient(160deg, #e8cfc4 0%, #d9a898 50%, #b98474 100%);
  position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.hero-visual img, .about-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-merits { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: .9rem; color: var(--muted); }
.page-hero { padding: 80px 0 60px; background: var(--sand); text-align: center; }
.page-hero .lead { margin: 14px auto 0; }

/* ===== Kort & grid ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 50px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 36px 30px;
  box-shadow: var(--shadow); transition: .3s;
}
.card:hover { transform: translateY(-4px); }
.card .icon { font-size: 2rem; margin-bottom: 14px; color: var(--rose); }
.card p { color: var(--muted); margin-top: 8px; }
.card .price-from { margin-top: 16px; font-weight: 500; color: var(--ink); }

.about-visual {
  aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--sand), var(--blush));
}
.about-visual.tall { aspect-ratio: 4 / 5; }
.bg-white { background: var(--white); }

/* Kvalifikationer */
.merits { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 22px; }
.merits li {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font-size: .92rem; font-weight: 500; display: flex; align-items: center; gap: 10px;
}
.bg-white .merits li { background: var(--cream); }

/* Galleri */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.gallery figure { margin: 0; text-align: left; }
.gallery img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow); display: block; background: var(--sand);
}
.gallery figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted); }
/* Dianas arbeten: 2 × 2 lika stora bilder med etikett på bilden */
.gallery-works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 980px; margin-inline: auto; }
.gallery-works figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-works img { aspect-ratio: 4 / 3; box-shadow: none; border-radius: 0; transition: transform .6s ease; }
.gallery-works figure:hover img { transform: scale(1.04); }
.gallery-works figcaption {
  position: absolute; left: 14px; bottom: 14px; margin: 0; padding: 7px 14px; border-radius: 999px;
  background: rgba(250, 246, 241, .92); color: var(--ink); font-size: .8rem; letter-spacing: .04em;
  box-shadow: 0 4px 14px rgba(58, 46, 42, .12);
}
.stats { display: flex; gap: 40px; margin-top: 30px; flex-wrap: wrap; }
.stats strong { font-family: var(--serif); font-size: 2.4rem; display: block; color: var(--rose-dark); font-weight: 500; }
.stats span { color: var(--muted); font-size: .9rem; }

.team-card { text-align: center; }
.avatar {
  width: 140px; height: 140px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; font-family: var(--serif); font-size: 2.6rem; color: #fff;
}

.bg-sand { background: var(--sand); }

/* Öppettider & kontakt */
.hours { list-style: none; margin-top: 20px; }
.hours li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.hours li span:last-child { font-weight: 500; }
.contact-list { list-style: none; margin-top: 20px; }
.contact-list li { padding: 8px 0; }
.contact-cards .card { text-align: center; }
.contact-cards .card a { color: var(--rose-dark); }

/* Info-sidan */
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover { box-shadow: 0 14px 36px rgba(58, 46, 42, 0.14); }
.rating-line { margin-top: 26px; font-size: .95rem; color: var(--muted); }
.rating-line { letter-spacing: .02em; }
.specialties { color: var(--rose-dark); font-size: .9rem; letter-spacing: .06em; margin-bottom: 16px; }
.check-list { list-style: none; margin: 16px 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.check-list li::before { content: "✓"; color: var(--rose); margin-right: 8px; }
.review { margin: 0; display: flex; flex-direction: column; }
.review .stars { color: var(--rose); letter-spacing: .15em; margin-bottom: 12px; }
.review blockquote { font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; flex: 1; }
.review figcaption { margin-top: 16px; color: var(--muted); font-size: .9rem; }

/* Bokning – beskrivning */
.sum-desc { margin-top: 16px; padding: 14px 16px; background: var(--cream); border-radius: 10px; font-size: .88rem; color: var(--muted); line-height: 1.55; max-height: 260px; overflow-y: auto; }

/* FAQ */
.faq { max-width: 780px; margin: 40px auto 0; }
.faq details { background: var(--white); border-radius: var(--radius); margin-bottom: 12px; padding: 20px 24px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rose); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--muted); }

.cta-band { background: var(--ink); color: var(--cream); text-align: center; }
.cta-band .lead { color: #d9ccc5; margin: 12px auto 30px; }
.cta-band .btn { background: var(--blush); color: var(--ink); }
.cta-band .btn:hover { background: var(--cream); color: var(--ink); }

/* ===== Webbshop ===== */
.shop-toolbar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 9px 20px;
  cursor: pointer; font-family: var(--sans); font-size: .9rem; color: var(--ink); transition: .2s;
}
.filter-btn:hover { border-color: var(--rose); }
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: .3s;
}
.product:hover { transform: translateY(-4px); }
.product-img { aspect-ratio: 1; display: grid; place-items: center; position: relative; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.product:hover .product-img img { transform: scale(1.04); }
.product-img .badge { z-index: 1; background: var(--sand); }
.product-info { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; font-size: .82rem; }
.product-info summary { cursor: pointer; color: var(--rose-dark); font-weight: 500; padding: 8px 0; list-style: none; }
.product-info summary::-webkit-details-marker { display: none; }
.product-info summary::after { content: " +"; }
.product-info[open] summary::after { content: " –"; }
.product-info dl { margin-top: 6px; }
.product-info dt { font-weight: 500; color: var(--ink); margin-top: 8px; }
.product-info dd { color: var(--muted); line-height: 1.5; }
.product-info .inci { font-size: .72rem; word-break: break-word; }
.legal-sub { font-size: 1.3rem; margin: 26px 0 10px; }
.legal-form { background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 12px; }
.legal-form p { margin-bottom: 8px; }
.product-body .size { font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.pro-note {
  align-self: flex-start; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--sand); color: var(--rose-dark); border-radius: 999px; padding: 4px 10px; margin-bottom: 8px;
}
.variant-picks { display: grid; gap: 8px; margin-top: 12px; }
.variant { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.variant select {
  min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream);
  font-family: var(--sans); font-size: .9rem; color: var(--ink); min-height: 40px;
}
.variant select:focus { outline: none; border-color: var(--rose); }
.badge {
  position: absolute; top: 12px; left: 12px; background: var(--white); font-size: .72rem;
  padding: 4px 10px; border-radius: 999px; letter-spacing: .08em; text-transform: uppercase;
}
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-body .cat { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-dark); }
.product-body h3 { font-size: 1.3rem; margin: 4px 0 6px; }
.product-body p { color: var(--muted); font-size: .9rem; flex: 1; }
.product-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 8px; }
.product-foot .price { font-weight: 500; font-size: 1.1rem; }
.add-btn { padding: 10px 18px; font-size: .85rem; }

/* Kundvagn */
.overlay {
  position: fixed; inset: 0; background: rgba(58,46,42,.4); opacity: 0; pointer-events: none;
  transition: .3s; z-index: 90;
}
.overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--cream);
  z-index: 100; transform: translateX(100%); transition: .35s ease; display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,.1);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--line); }
.close-btn { background: none; border: none; font-size: 1.8rem; cursor: pointer; color: var(--ink); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty { color: var(--muted); text-align: center; margin-top: 60px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 64px; height: 64px; border-radius: 10px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-item h4 { font-weight: 500; font-size: .95rem; }
.cart-item small { color: var(--muted); }
.qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: .8rem; text-decoration: underline; }
.cart-foot { padding: 24px; border-top: 1px solid var(--line); background: var(--white); }
.cart-row { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--muted); }
.cart-row.total { color: var(--ink); font-size: 1.2rem; font-weight: 500; margin: 12px 0 18px; }
.cart-foot .btn { width: 100%; }
.shipping-note { font-size: .82rem; color: var(--rose-dark); text-align: center; margin-bottom: 10px; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 160px); background: var(--ink); color: #fff;
  padding: 14px 26px; border-radius: 14px; z-index: 200; transition: transform .35s; font-size: .92rem; text-align: center;
  max-width: calc(100% - 32px); width: max-content; box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}
.toast.show { transform: translate(-50%, 0); }
@media (max-width: 800px) {
  /* På mobil visas meddelandet upptill så att det inte täcker knappar längst ner */
  .toast { bottom: auto; top: calc(12px + env(safe-area-inset-top)); transform: translate(-50%, -160px); padding: 12px 18px; }
  .toast.show { transform: translate(-50%, 0); }
}

/* ===== Bokning ===== */
.booking-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.steps { display: flex; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.step-pill { padding: 8px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.step-pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.step-pill.done { background: var(--blush); border-color: var(--blush); color: var(--ink); }
.panel { background: var(--white); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.panel h3 { margin-bottom: 20px; }
.service-cat { margin-top: 24px; }
.service-cat:first-of-type { margin-top: 0; }
.service-cat h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-dark); margin-bottom: 10px; font-weight: 500; }
.service {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream);
  margin-bottom: 10px; cursor: pointer; font-family: var(--sans); font-size: 1rem; color: var(--ink); transition: .2s;
}
.service:hover { border-color: var(--rose); }
.service.selected { border-color: var(--rose); background: #fbeee9; box-shadow: 0 0 0 1px var(--rose); }
.service small { color: var(--muted); display: block; }
.service .s-price { font-weight: 500; white-space: nowrap; }
/* Prislistan: hela raden är en länk till Bokadirekt */
.service-link { text-decoration: none; padding: 14px 16px; }
.service-link > span:first-child { min-width: 0; line-height: 1.35; }
.service-link small { margin-top: 3px; }
/* Förenklad bokningssida: en kolumn utan sidopanel */
.booking-wrap.booking-simple { grid-template-columns: minmax(0, 760px); justify-content: center; }
.booking-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); text-align: center; }
.booking-note a { color: var(--rose-dark); }
.service-cta {
  flex-shrink: 0; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--white);
  font-size: .82rem; letter-spacing: .04em; transition: background .2s;
}
.service-link:hover .service-cta, .service-link:focus-visible .service-cta { background: var(--rose-dark); }

.staff-list { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); cursor: pointer; font-family: var(--sans); font-size: .9rem; color: var(--ink); }
.chip.selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.label { font-weight: 500; margin-bottom: 10px; display: block; }
.dates { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 26px; }
.date { padding: 10px 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); cursor: pointer; text-align: center; font-family: var(--sans); color: var(--ink); line-height: 1.3; }
.date small { display: block; font-size: .7rem; text-transform: uppercase; color: var(--muted); }
.date strong { font-size: 1.15rem; font-weight: 500; }
.date:disabled { opacity: .35; cursor: not-allowed; }
.date.selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.date.selected small { color: #d9ccc5; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.time { padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); cursor: pointer; font-family: var(--sans); color: var(--ink); }
.time:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.time.selected { background: var(--rose-dark); color: #fff; border-color: var(--rose-dark); }
.hint { color: var(--muted); font-size: .9rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 500; }
.field input, .field textarea { padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--sans); font-size: 1rem; background: var(--cream); color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--rose); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); grid-column: 1 / -1; }
.checkbox input { margin-top: 5px; accent-color: var(--rose); }
.panel-nav { display: flex; justify-content: space-between; margin-top: 28px; gap: 10px; }

.summary { position: sticky; top: 100px; }
.summary h3 { font-size: 1.4rem; }
.summary-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.summary-row span:first-child { color: var(--muted); }
.summary-row span:last-child { text-align: right; font-weight: 500; }
.summary .note { font-size: .82rem; color: var(--muted); margin-top: 16px; }

.confirm { text-align: center; padding: 50px 34px; }
.confirm .check { width: 80px; height: 80px; border-radius: 50%; background: var(--blush); color: var(--rose-dark); display: grid; place-items: center; font-size: 2.4rem; margin: 0 auto 20px; }
.confirm p { color: var(--muted); margin: 10px auto 26px; max-width: 46ch; }
.hidden { display: none !important; }

.notice {
  background: #fbeee9; border: 1px solid var(--blush); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 24px; color: var(--ink); line-height: 1.6;
}
.notice a { color: var(--rose-dark); padding: 10px 2px; margin: -10px 0; } /* större träffyta för fingret */

/* ===== Academy ===== */
.how-steps { list-style: none; padding: 0; }
.how-steps .card { position: relative; padding-top: 44px; }
.step-no {
  position: absolute; top: -18px; left: 30px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--cream); display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.4rem;
}
.academy-teaser { background: var(--white); }
.teaser-list { list-style: none; background: var(--cream); border-radius: var(--radius); padding: 14px 28px; }
.teaser-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.teaser-list li:last-child { border-bottom: none; }
.teaser-list li span:first-child { font-family: var(--serif); font-size: 1.25rem; }
.teaser-list li span:last-child { white-space: nowrap; color: var(--rose-dark); font-weight: 500; }
.teaser-list a { color: var(--rose-dark); }
.academy-note { max-width: 760px; margin: 50px auto 0; text-align: center; }
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.course {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 32px 30px; display: flex; flex-direction: column;
}
.course .cat { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-dark); }
.course h3 { font-size: 1.8rem; margin-top: 6px; }
.course-level { color: var(--muted); font-size: .9rem; letter-spacing: .04em; margin-bottom: 14px; }
.course-price { font-family: var(--serif); font-size: 1.9rem; line-height: 1; }
.course-price small { font-family: var(--sans); font-size: .8rem; color: var(--muted); }
.course-format {
  display: inline-block; align-self: flex-start; margin: 12px 0 16px; padding: 6px 14px;
  background: var(--sand); border-radius: 999px; font-size: .82rem;
}
.course > p:not([class]) { color: var(--muted); font-size: .95rem; margin-bottom: 10px; }
.course h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin: 10px 0 8px; }
.includes { list-style: none; display: grid; gap: 4px; margin-bottom: 24px; font-size: .92rem; }
.includes li { padding-left: 24px; position: relative; }
.includes li::before { content: "✓"; position: absolute; left: 0; color: var(--rose-dark); }
.course .course-ask { margin-top: auto; align-self: flex-start; }
/* ===== Bokning via kontakt ===== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.how-book { margin-bottom: 24px; }
.how-book ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.how-book li {
  display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; font-size: .9rem; line-height: 1.45; color: var(--muted);
}
.how-book li strong { color: var(--ink); font-weight: 500; }
.how-book .step-no { position: static; flex-shrink: 0; width: 32px; height: 32px; font-size: 1.05rem; }
.book-contact { width: 100%; margin-top: 18px; text-align: center; }
.summary .note a { color: var(--rose-dark); }
@media (max-width: 700px) {
  .how-book ol { grid-template-columns: 1fr; gap: 8px; }
  .how-book li { padding: 12px 14px; align-items: center; }
}

.ask-dialog {
  border: none; border-radius: var(--radius); padding: 34px 30px 28px; width: min(520px, calc(100% - 32px));
  background: var(--cream); color: var(--ink); box-shadow: 0 20px 60px rgba(58, 46, 42, .25); margin: auto;
}
.ask-dialog::backdrop { background: rgba(58, 46, 42, .45); }
.ask-dialog .close-btn { position: absolute; top: 12px; right: 16px; }
.ask-dialog h3 { font-size: 1.7rem; margin: 2px 0 6px; padding-right: 24px; }
.ask-dialog textarea {
  width: 100%; margin-top: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--sans); font-size: .95rem; background: var(--white); color: var(--ink); resize: vertical;
}
.ask-dialog textarea:focus { outline: none; border-color: var(--rose); }
.ask-dialog .label { margin-top: 18px; }
.ask-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.ask-actions .btn { text-align: center; padding: 12px 14px; font-size: .88rem; }
.ask-actions #askSms, .ask-actions #askCopy { grid-column: 1 / -1; }
.ask-desktop { margin-top: 16px; font-size: .85rem; }
@media (max-width: 480px) { .ask-actions { grid-template-columns: 1fr; } }

.btn-light-outline { background: transparent !important; color: var(--cream) !important; border: 1px solid rgba(250, 246, 241, .6); }
.btn-light-outline:hover { background: var(--cream) !important; color: var(--ink) !important; }

/* ===== Kassa ===== */
.pay-options { display: grid; gap: 12px; }
.pay-option {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream);
  cursor: pointer; transition: .2s;
}
.pay-option:hover { border-color: var(--rose); }
.pay-option.selected { border-color: var(--rose-dark); background: #fbeee9; box-shadow: 0 0 0 1px var(--rose-dark); }
.pay-option input { accent-color: var(--rose-dark); width: 18px; height: 18px; }
.pay-option.unavailable { opacity: .5; cursor: not-allowed; }
.pay-text { display: flex; flex-direction: column; line-height: 1.35; }
.pay-text strong { font-weight: 500; }
.pay-note { font-size: .85rem; color: var(--muted); }
.pay-logo { width: 56px; height: 35px; flex-shrink: 0; }
.order-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.order-line span:last-child { white-space: nowrap; font-weight: 500; }
.order-total { border-bottom: none; font-size: 1.2rem; padding-top: 14px; }
.pay-btn { width: 100%; margin-top: 18px; }
.summary .checkbox { font-size: .85rem; }
.secure { text-align: center; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); }
.checkbox a, .form-note a { color: var(--rose-dark); }

/* ===== Juridiska sidor & 404 ===== */
.legal { max-width: 780px; margin-inline: auto; }
.legal h2 { font-size: 1.8rem; margin: 44px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--rose-dark); }
.legal .updated { font-size: .9rem; }
.not-found { text-align: center; padding: 120px 0; }
.not-found .big { font-family: var(--serif); font-size: clamp(5rem, 16vw, 9rem); color: var(--blush); line-height: 1; }
.not-found p { color: var(--muted); margin: 12px auto 30px; max-width: 44ch; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #d9ccc5; padding: 60px 0 30px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .logo { color: var(--cream); margin-bottom: 14px; }
.site-footer .logo-mark, .site-footer .logo-sub { color: var(--blush); }
.site-footer h4 { color: var(--cream); font-weight: 500; margin-bottom: 12px; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 3px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--blush); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; text-align: center; font-size: .82rem; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ===== Responsivt ===== */
@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .booking-wrap { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  section { padding: 64px 0; }
  .menu-toggle { display: grid; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); display: none; padding: 8px 0 14px;
    box-shadow: 0 16px 30px rgba(58, 46, 42, .08); max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 15px; border: none; font-size: 1rem; }
  .nav-links a.active { background: var(--sand); }
  .nav-actions .btn { display: none; }
  .hero { padding: 60px 0 70px; }
  .hero-grid, .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 340px; width: 100%; margin: 0 auto; }
  .grid-3 { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .course-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  /* Mobil: svepbar rad där nästa bild skymtar vid kanten */
  .gallery.gallery-works {
    display: grid; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: -16px; padding: 0 16px 18px; scroll-padding-inline: 16px;
  }
  .gallery-works::-webkit-scrollbar { display: none; }
  .gallery-works figure { scroll-snap-align: start; box-shadow: 0 6px 18px rgba(58, 46, 42, .1); }
  .merits { grid-template-columns: 1fr; }
  .variant { grid-template-columns: 1fr; gap: 4px; }
  .variant select { width: 100%; padding: 8px 6px; }
  .course { padding: 26px 20px; }
  .how-steps { gap: 40px; }
  .form-grid { grid-template-columns: 1fr; }  .dates { grid-template-columns: repeat(4, 1fr); }
  .panel { padding: 24px 18px; }
}
@media (max-width: 480px) {
  section { padding: 52px 0; }
  .page-hero { padding: 56px 0 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-body { padding: 14px; }
  .product-body h3 { font-size: 1.15rem; }
  .product-foot { flex-direction: column; align-items: stretch; }
  .check-list { grid-template-columns: 1fr; }
  .hero-buttons .btn { flex: 1 1 100%; text-align: center; }
  .card { padding: 28px 22px; }
  .teaser-list { padding: 8px 18px; }
  .teaser-list li span:first-child { font-size: 1.1rem; }
  .gallery { gap: 10px; }
  .cart-foot { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .site-footer li a { display: inline-block; padding: 9px 0; }
  .site-footer li { padding: 0; }
  .footer-bottom { line-height: 2.2; padding-bottom: env(safe-area-inset-bottom); }
}
@media (max-width: 360px) {
  .logo-mark { width: 38px; height: 38px; }
  .logo-name { font-size: 1.5rem; }
  .product-grid { grid-template-columns: 1fr; }
  .dates { grid-template-columns: repeat(3, 1fr); }
}
