/* LØKKE ATELIER — boutique preview */
:root {
  --beige: #F3EBE3;
  --cream: #FAF6F1;
  --brown: #3C2415;
  --terracotta: #C4724A;
  --terracotta-deep: #b05f38;
  --white: #FFFCFA;
  --muted: rgba(60, 36, 21, 0.68);
  --line: rgba(60, 36, 21, 0.10);
  --shadow: 0 18px 50px rgba(60, 36, 21, 0.10);
  --header-h: 76px;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Avenir Next", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--beige);
  color: var(--brown);
  line-height: 1.6;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; }
ul { list-style: none; }

.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(18px);
  -webkit-backdrop-filter: saturate(1.2) blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #fff, 0 6px 14px rgba(60, 36, 21, 0.14);
}
.brand span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav a:hover, .nav a.active { color: var(--terracotta); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14.5px;
  font-weight: 500;
  border: 1.5px solid transparent;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brown); color: #fff; }
.btn-primary:hover { background: #2a180e; }
.btn-outline {
  background: var(--white);
  color: var(--brown);
  border-color: var(--brown);
}
.btn-outline:hover { background: var(--cream); }
.btn-terra { background: var(--terracotta); color: #fff; border: 0; }
.btn-terra:hover { background: var(--terracotta-deep); }
.btn-lg { padding: 14px 26px; min-width: 168px; }

.cart-btn { position: relative; }
.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: var(--brown);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  display: none;
  align-items: center;
  justify-content: center;
}
.cart-count.is-on { display: inline-flex; }

.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--brown);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--cream);
  padding: 12px 20px 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.mobile-nav a:last-child { border-bottom: 0; }

.hero { padding: 28px 0 8px; }
.hero-stage {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 480px;
  background: #e4d8cc;
  box-shadow: var(--shadow);
}
.hero-stage > img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(60,36,21,.18) 0%, rgba(60,36,21,.02) 48%, transparent 70%);
  pointer-events: none;
}
.hero-card {
  position: absolute;
  left: 36px;
  bottom: 36px;
  z-index: 1;
  width: min(430px, calc(100% - 48px));
  background: var(--white);
  border-radius: 22px;
  padding: 30px 30px 26px;
  box-shadow: var(--shadow);
}
.kicker {
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.hero-card h1,
.page-head h1,
.section-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.hero-card h1 {
  font-size: clamp(30px, 4.2vw, 42px);
  margin-bottom: 10px;
}
.hero-card p.lede {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }


.intro {
  padding: 56px 0 12px;
}
.intro-inner {
  max-width: 680px;
  margin-inline: auto;
  text-align: left;
}
.intro .kicker {
  margin-bottom: 6px;
}
.intro h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(32px, 4.5vw, 46px);
  line-height: 1.12;
  margin-bottom: 22px;
}
.intro p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.section { padding: 56px 0 72px; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(36px, 5vw, 52px); }
.section-head p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
}

.page-head {
  padding: 48px 0 12px;
  text-align: center;
}
.page-head h1 { font-size: clamp(40px, 6vw, 56px); }
.page-head p {
  margin-top: 8px;
  color: var(--muted);
  max-width: 520px;
  margin-inline: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
}
.card { min-width: 0; }
.card a { display: block; }
.card .thumb {
  border-radius: 22px;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 1;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .45s ease;
}
.card:hover img { transform: scale(1.035); }
.card h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  margin: 14px 0 2px;
  line-height: 1.2;
}
.card .meta { font-size: 13px; color: var(--muted); }
.card .price {
  margin-top: 6px;
  color: var(--terracotta);
  font-weight: 600;
  font-size: 14px;
}
.card-foot {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  gap: 8px;
}
.card-foot .price {
  margin-top: 0;
}
.card-add {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--terracotta);
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
  transition: background .2s ease, transform .15s ease, color .2s ease;
}
.card-add:hover { background: var(--terracotta-deep); }
.card-add:active { transform: scale(0.94); }
.card-add.is-added {
  background: var(--brown);
  color: transparent;
}
.card-add.is-added::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.product-page { padding: 28px 0 72px; }
.crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumb a:hover { color: var(--terracotta); }
.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px 48px;
  background: var(--cream);
  border-radius: 28px;
  padding: 28px;
}
.product-visual .main-photo {
  border-radius: 22px;
  overflow: hidden;
  background: var(--beige);
  aspect-ratio: 1;
}
.product-visual .main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.thumbs button {
  border: 2px solid transparent;
  padding: 0;
  background: none;
  border-radius: 16px;
  overflow: hidden;
  width: 86px;
  height: 86px;
}
.thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.thumbs button.active,
.thumbs button:hover { border-color: var(--terracotta); }

.eyebrow {
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.product-info { padding: 12px 8px 8px 0; }
.product-info h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 16px;
}
.set-list {
  margin: 0 0 18px 1.1em;
  padding: 0;
  list-style: disc;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.set-list li { margin: 0 0 4px; }

.product-info .desc {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 42ch;
  margin-bottom: 22px;
}
.options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.option {
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.option:hover { border-color: var(--terracotta); }
.option.is-on {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: #fff;
}


.option-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(60, 36, 21, 0.38);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.option-sheet.open {
  opacity: 1;
  pointer-events: auto;
}
.option-sheet-card {
  width: min(440px, 100%);
  background: var(--cream);
  border-radius: 22px 22px 0 0;
  padding: 22px 22px 28px;
  box-shadow: var(--shadow);
}
.option-sheet-card p {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 14px;
}
.option-sheet-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.option-sheet-choices .option {
  width: 100%;
  border-radius: 16px;
  padding: 14px 16px;
  text-align: left;
  font-size: 15px;
}
.option-sheet-cancel {
  width: 100%;
  background: none;
  border: 0;
  padding: 10px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (min-width: 721px) {
  .option-sheet { align-items: center; }
  .option-sheet-card {
    border-radius: 22px;
    padding: 26px;
  }
}

.ask-price {
  font-size: 20px;
  font-weight: 650;
  color: var(--brown);
  margin-bottom: 22px;
}
.product-info .btn-row { margin-bottom: 16px; }
.note { font-size: 13px; color: var(--muted); }
.related { margin-top: 56px; }

.prose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
  padding-bottom: 72px;
}
.prose { font-size: 17px; color: var(--muted); }
.prose p + p { margin-top: 16px; }
.prose h2 {
  font-family: var(--serif);
  color: var(--brown);
  font-size: 32px;
  font-weight: 600;
  margin: 28px 0 10px;
}
.frame {
  border-radius: 24px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow);
}
.frame img { width: 100%; height: auto; }

.ages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0 8px;
}
.age-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 22px 20px;
}
.age-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 8px;
}
.age-card ul { color: var(--muted); font-size: 14.5px; }
.age-card li { padding: 3px 0; }

.contact-card {
  background: var(--cream);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-card label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin: 14px 0 6px;
}
.contact-card input,
.contact-card textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
}
.contact-card input:focus,
.contact-card textarea:focus { border-color: var(--terracotta); }
.contact-card textarea { min-height: 120px; resize: vertical; }
.contact-card .btn { margin-top: 18px; width: 100%; }
.wa-big {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.wa-big .btn { width: fit-content; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 13.5px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.site-footer a:hover { color: var(--terracotta); }
.preview-note { font-style: italic; }

.overlay {
  position: fixed; inset: 0;
  background: rgba(60, 36, 21, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 80;
}
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(400px, 100%);
  background: var(--cream);
  z-index: 90;
  transform: translateX(100%);
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -18px 0 50px rgba(60, 36, 21, 0.12);
}
.drawer.open { transform: none; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 12px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
}
.drawer-body { padding: 18px 22px; flex: 1; overflow: auto; }
.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.cart-item img {
  width: 64px; height: 64px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item strong { display: block; font-size: 15px; }
.cart-item-price {
  margin-top: 2px;
  color: var(--terracotta);
  font-weight: 600;
  font-size: 13.5px;
}
.cart-total {
  margin-top: 14px;
  padding-top: 12px;
  font-weight: 650;
  font-size: 16px;
  color: var(--brown);
}
.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 6px;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--brown);
  background: var(--white);
  color: var(--brown);
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.qty-btn:hover {
  background: var(--beige);
  color: var(--terracotta);
  border-color: var(--terracotta);
}
.qty-val {
  min-width: 1.25em;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--brown);
}
.cart-remove {
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  font-size: 12.5px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cart-remove:hover { color: var(--terracotta); }
.cart-empty { color: var(--muted); padding: 12px 0 24px; }
.drawer-foot {
  padding: 16px 22px 24px;
  border-top: 1px solid var(--line);
}
.drawer-foot .btn { width: 100%; }
.drawer-foot .btn.is-disabled,
.drawer-foot .btn[hidden] { display: none; }
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--brown);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }


.collection-lead { padding: 48px 0 0; }
.group-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 12px 0 20px;
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: color-mix(in srgb, var(--beige) 92%, transparent);
  backdrop-filter: saturate(1.1) blur(12px);
  -webkit-backdrop-filter: saturate(1.1) blur(12px);
}
.group-nav a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 108px;
  min-height: 3.35em;
  padding: 8px 14px;
  border-radius: 18px;
  border: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  transition: filter .2s ease, transform .2s ease;
}
.group-nav a span { display: block; }
.group-nav a:nth-child(1) { background: #C4724A; }
.group-nav a:nth-child(2) { background: #3C2415; }
.group-nav a:nth-child(3) { background: #6B7F5A; }
.group-nav a:nth-child(4) { background: #A65D57; }
.group-nav a:nth-child(5) { background: #C4A35A; }
.group-nav a:nth-child(6) { background: #5E6F7A; }
.group-nav a:hover,
.group-nav a:focus-visible {
  color: #fff;
  filter: brightness(0.92);
  transform: translateY(-1px);
}
.group-section {
  padding: 20px 0 40px;
  scroll-margin-top: calc(var(--header-h) + 52px);
}
.group-section .section-head { margin-bottom: 24px; }
.group-section .section-head h2 { font-size: clamp(28px, 4vw, 40px); }
#montessori-toys .section-head h2 { color: #C4724A; }
#imaginative-play .section-head h2 { color: #3C2415; }
#figurines .section-head h2 { color: #6B7F5A; }
#crib-mobiles .section-head h2 { color: #A65D57; }
#room-decor .section-head h2 { color: #C4A35A; }
#seasonal .section-head h2 { color: #5E6F7A; }
.group-empty {
  text-align: center;
  color: var(--muted);
  padding: 8px 0 16px;
  font-size: 15px;
}

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .product-layout,
  .prose-grid { grid-template-columns: 1fr; }
  .ages { grid-template-columns: 1fr; }
  .hero-stage > img { height: 440px; }
  .product-info { padding: 0; }
}
@media (max-width: 720px) {
  .nav-desktop { display: none; }
  .menu-btn { display: flex; }
  .brand span { letter-spacing: 0.12em; font-size: 12px; }
  .hero-stage { min-height: 0; border-radius: 22px; }
  .hero-stage > img { height: 360px; }
  .hero-card {
    position: relative;
    left: auto; bottom: auto;
    width: auto;
    margin: 16px;
    padding: 22px;
  }
  .hero-stage::after { display: none; }
  .wrap { width: min(1160px, calc(100% - 28px)); }
  .product-layout { padding: 16px; }
  .btn-lg { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; gap: 26px; }
  .header-inner { height: 68px; }
  .hero-card h1 { font-size: 28px; }
  .card-add {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
