/* ==========================================================================
   REMA+ — Moderne Arkitektonisk Nordisk Designsystem
   Typografi: Instrument Sans (overskrifter) + Inter (brødtekst & UI)
   Farver fra REMA+ logo: #072E69 (Marineblå) · #D61022 (Rød) · #F7F5F0 (Sand)
   ========================================================================== */

:root {
  --bg: #F6F4EE;
  --surface: #FFFFFF;
  --surface-sand: #ECE8DE;

  --navy: #072E69;
  --navy-hover: #0C3E8A;
  --navy-deep: #04193B;

  --red: #D61022;
  --red-hover: #B80D1C;

  --ink: #111827;
  --ink-secondary: #4B5563;
  --ink-muted: #6B7280;

  --border: rgba(7, 46, 105, 0.12);
  --border-strong: rgba(7, 46, 105, 0.24);

  --font-display: 'Instrument Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 4px 16px rgba(4, 25, 59, 0.05);
  --shadow-md: 0 18px 42px rgba(4, 25, 59, 0.1);
  --shadow-lg: 0 28px 64px rgba(4, 25, 59, 0.18);

  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.accent-red {
  color: var(--red);
}

/* ==========================================================================
   FLYDENDE HEADER (TRANSPARENT OVER HERO -> SOLID VED SCROLL)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background-color 0.32s var(--ease), border-color 0.32s ease, box-shadow 0.32s ease;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__logo {
  height: 34px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.2s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.header.is-scrolled .nav__link {
  color: var(--ink-secondary);
}

.header.is-scrolled .nav__link:hover {
  color: var(--navy-deep);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.58rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.22s ease;
}

.cart-trigger:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy-deep);
}

.cart-trigger__count {
  font-weight: 700;
  padding-left: 0.45rem;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.cart-trigger:hover .cart-trigger__count {
  color: var(--red);
  border-left-color: var(--border);
}

.header.is-scrolled .cart-trigger {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--navy-deep);
}

.header.is-scrolled .cart-trigger:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.header.is-scrolled .cart-trigger__count {
  color: var(--red);
  border-left-color: var(--border);
}

.header.is-scrolled .cart-trigger:hover .cart-trigger__count {
  color: #fff;
  border-left-color: rgba(255, 255, 255, 0.25);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 1.8px;
  background: #fff;
}

.header.is-scrolled .menu-toggle {
  border-color: var(--border-strong);
  background: var(--surface);
}

.header.is-scrolled .menu-toggle span {
  background: var(--navy-deep);
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0 1.25rem;
}

.mobile-nav__link {
  padding: 0.8rem 0;
  font-weight: 500;
  color: var(--navy-deep);
  border-bottom: 1px solid var(--border);
}

.mobile-nav__link:last-child {
  border-bottom: none;
}

/* ==========================================================================
   FULDSKÆRMS HERO (100svh)
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(640px, 100svh, 1020px);
  display: flex;
  color: #fff;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 25, 59, 0.56) 0%, rgba(4, 25, 59, 0.22) 38%, rgba(4, 25, 59, 0.84) 100%),
    linear-gradient(90deg, rgba(4, 25, 59, 0.65) 0%, rgba(4, 25, 59, 0.12) 65%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 8.5rem;
  padding-bottom: 3rem;
  min-height: clamp(640px, 100svh, 1020px);
  gap: 3.5rem;
}

.hero__main {
  max-width: 760px;
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff;
}

.hero__subtitle {
  margin: 0 0 2.2rem;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__bottom-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 4rem;
  margin: 0;
}

.hero__stats dd {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero__stats dt {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: transform 0.25s var(--ease), color 0.2s ease;
}

.hero__scroll:hover {
  color: #fff;
  transform: translateY(3px);
}

/* ==========================================================================
   TYPOGRAFI & KNAPPER
   ========================================================================== */
.section {
  padding: 7rem 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 3.25rem;
}

.section-label {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.section-label--light {
  color: #FF7380;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3.15rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--navy-deep);
}

.section-title--light {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.22s var(--ease);
}

.btn--light {
  background: #fff;
  color: var(--navy-deep);
}

.btn--light:hover {
  background: var(--bg);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}

.btn--primary {
  background: var(--navy);
  color: #fff;
}

.btn--primary:hover {
  background: var(--navy-hover);
  transform: translateY(-1px);
}

.btn--full {
  width: 100%;
}

/* ==========================================================================
   MISSION — ASYMMETRISK BENTO-ARKITEKTUR
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.bento__span-5 { grid-column: span 5; }
.bento__span-7 { grid-column: span 7; }
.bento__span-4 { grid-column: span 4; }

.bento__card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.bento__card:hover {
  transform: translateY(-3px);
}

.bento__card--navy {
  background: var(--navy-deep);
  color: #fff;
  min-height: 430px;
}

.bento__plus-bg {
  position: absolute;
  right: -1.4rem;
  top: -3.2rem;
  font-family: var(--font-display);
  font-size: 16rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.bento__lead {
  position: relative;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.025em;
}

.bento__text {
  position: relative;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.bento__metric-line {
  position: relative;
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
}

.bento__metric-line strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #FF6B78;
  line-height: 1;
}

.bento__metric-line span {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}

.bento__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 430px;
  background: var(--surface-sand);
}

.bento__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.bento__media:hover img {
  transform: scale(1.03);
}

.bento__card--white {
  background: var(--surface);
  border: 1px solid var(--border);
}

.bento__card--sand {
  background: var(--surface-sand);
}

.bento__card--accent {
  background: var(--navy);
  color: #fff;
}

.bento__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 1.5rem;
}

.bento__card--accent .bento__num {
  color: #FF7380;
}

.bento__card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
}

.bento__card--accent h3 {
  color: #fff;
}

.bento__card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.bento__card--navy .bento__lead {
  color: #fff;
}

.bento__card--navy .bento__text {
  color: rgba(255, 255, 255, 0.82);
}

.bento__card--accent p {
  color: rgba(255, 255, 255, 0.84);
}

/* ==========================================================================
   SORTIMENT — MODERNE PRODUKTKORT
   ========================================================================== */
.catalog {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.catalog__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.75rem;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.filter-tab {
  position: relative;
  padding: 0.45rem 0;
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.filter-tab:hover {
  color: var(--navy-deep);
}

.filter-tab.is-active {
  color: var(--navy-deep);
  font-weight: 600;
}

.filter-tab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--red);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.25s ease, background-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.product-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-sand);
  cursor: pointer;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__origin {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}

.product-card__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--navy-deep);
  line-height: 1.3;
  cursor: pointer;
}

.product-card__title:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-card__desc {
  margin: 0 0 1.2rem;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  flex: 1;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.product-price {
  display: flex;
  flex-direction: column;
}

.product-price__amount {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.2;
}

.product-price__unit {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.product-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  border: none;
  padding: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.product-card:hover .product-link {
  color: var(--red);
  transform: translateX(2px);
}

/* ==========================================================================
   BUTIKKER — MØRK ARKITEKTONISK SPLIT
   ========================================================================== */
.stores {
  background: var(--navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stores::before {
  content: '+';
  position: absolute;
  left: -4rem;
  bottom: -9rem;
  font-family: var(--font-display);
  font-size: 32rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.stores__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 4rem;
  align-items: center;
}

.stores__desc {
  margin: 1.25rem 0 2.25rem;
  color: rgba(255, 255, 255, 0.76);
  max-width: 460px;
  font-size: 1rem;
  line-height: 1.65;
}

.store-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.store-selector__btn {
  text-align: left;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.84);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: all 0.22s var(--ease);
}

.store-selector__btn span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.store-selector__btn small {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.store-selector__btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.store-selector__btn.is-active {
  background: #fff;
  border-color: #fff;
  color: var(--navy-deep);
}

.store-selector__btn.is-active small {
  color: var(--ink-muted);
}

.stores__panel {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.store-panel__city {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 0.6rem;
}

.store-panel__name {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--navy-deep);
  line-height: 1.15;
}

.store-panel__note {
  margin: 0 0 2rem;
  color: var(--ink-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
}

.store-panel__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.store-panel__meta dt {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-bottom: 0.2rem;
}

.store-panel__meta dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy-deep);
}

/* ==========================================================================
   NYHEDSBREV
   ========================================================================== */
.newsletter {
  padding: 5.5rem 0 2rem;
}

.newsletter__surface {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 3rem;
}

.newsletter__surface h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--navy-deep);
}

.newsletter__text {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 0.96rem;
}

.newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.newsletter__form input {
  flex: 1 1 220px;
  padding: 0.88rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.newsletter__form input:focus {
  border-color: var(--navy);
  background: #fff;
}

.newsletter__feedback {
  width: 100%;
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  min-height: 1.2em;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 3.5rem 0 2.5rem;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--border);
}

.footer__logo {
  height: 30px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer__brand p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-secondary);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-secondary);
}

.footer__links a:hover {
  color: var(--navy);
}

.footer__bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   MODAL & CART DRAWER
   ========================================================================== */
.modal-backdrop,
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(4, 25, 59, 0.56);
  backdrop-filter: blur(5px);
  display: flex;
}

.modal-backdrop[hidden],
.drawer-backdrop[hidden] {
  display: none;
}

.modal-backdrop {
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal {
  position: relative;
  width: min(100%, 780px);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.24s var(--ease);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-deep);
  font-size: 1.35rem;
  line-height: 1;
}

.modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal__img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.modal__body {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.modal__origin {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
}

.modal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--navy-deep);
}

.modal__story {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 0.95rem;
  line-height: 1.62;
}

.modal__tip {
  padding: 0.95rem 1.05rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--navy);
  font-size: 0.86rem;
  color: var(--ink-secondary);
}

.modal__tip strong {
  display: block;
  color: var(--navy-deep);
  margin-bottom: 0.2rem;
}

.drawer-backdrop {
  justify-content: flex-end;
}

.drawer {
  width: min(100%, 420px);
  height: 100%;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 44px rgba(4, 25, 59, 0.2);
  animation: slideInRight 0.28s var(--ease);
}

.drawer__header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.drawer__header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy-deep);
}

.drawer__sub {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.drawer__close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  font-size: 1.3rem;
  color: var(--navy-deep);
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
}

.cart-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.cart-row {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-row img {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-row__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-deep);
  margin: 0 0 0.15rem;
}

.cart-row__price {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.15rem 0.35rem;
}

.qty-control button {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: var(--navy-deep);
  font-weight: 600;
  font-size: 0.95rem;
}

.qty-control span {
  min-width: 18px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
}

.drawer__footer {
  padding: 1.35rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.drawer__total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.drawer__total-row strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--navy-deep);
}

.drawer__clear {
  display: block;
  margin: 0.75rem auto 0;
  background: transparent;
  border: none;
  color: var(--ink-muted);
  font-size: 0.82rem;
  text-decoration: underline;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 95;
  background: var(--navy-deep);
  color: #fff;
  padding: 0.8rem 1.3rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.22s var(--ease);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay {
  transition-delay: 0.1s;
}

.reveal--delay-2 {
  transition-delay: 0.18s;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .bento__span-5,
  .bento__span-7,
  .bento__span-4 {
    grid-column: span 12;
  }

  .bento__card--navy,
  .bento__media {
    min-height: 320px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stores__grid,
  .newsletter__surface {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .cart-trigger__label {
    display: none;
  }

  .section {
    padding: 4.5rem 0;
  }

  .hero__bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__scroll {
    display: none;
  }

  .product-grid,
  .store-selector,
  .store-panel__meta,
  .modal__grid {
    grid-template-columns: 1fr;
  }

  .stores__panel,
  .newsletter__surface {
    padding: 1.85rem;
  }
}
