/* Magnifique CA storefront — cookmagnifique.com 1:1 aesthetic */

@font-face {
  font-family: Lato;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/magnifique/lato-400.woff2") format("woff2");
}

@font-face {
  font-family: Lato;
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/magnifique/lato-700.woff2") format("woff2");
}

@font-face {
  font-family: Lato;
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url("/static/fonts/magnifique/lato-400i.woff2") format("woff2");
}

@font-face {
  font-family: "EB Garamond";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/magnifique/ebgaramond-400.woff2") format("woff2");
}

:root {
  --mag-bg: #edece8;
  --mag-bg-soft: #f5f4f0;
  --mag-surface: #ffffff;
  --mag-ink: #292516;
  --mag-ink-soft: #403921;
  --mag-muted: #6b6558;
  --mag-line: #ddd9d0;
  --mag-line-strong: #cfc9bc;
  --mag-dark: #282518;
  --mag-dark-2: #403921;
  --mag-accent: #5d723f;
  --mag-sale: #b33a2e;
  --mag-star: #292516;
  --mag-oatmeal: #e8dcc8;
  --mag-sage: #8a9a7b;
  --mag-stone: #a8a29a;
  --mag-ice: #c5d4e0;
  --mag-btn-fg: #edece8;
  --mag-header-h: 81px;
  --mag-max: 1400px;
  --mag-font: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mag-font-display: "EB Garamond", Garamond, "Times New Roman", serif;
  --mag-radius: 4px;
  --mag-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --mag-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body.mag-body {
  margin: 0;
  font-family: var(--mag-font);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0.6px;
  color: var(--mag-ink);
  background: var(--mag-bg);
  -webkit-font-smoothing: antialiased;
}

body.mag-body h1,
body.mag-body h2,
body.mag-body h3,
body.mag-body h4 {
  font-family: var(--mag-font-display);
  font-weight: 400;
  letter-spacing: 0.6px;
}

body.mag-body a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select {
  font: inherit;
}

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.mag-main {
  flex: 1 1 auto;
}

/* Page enter / reveal animations */
.mag-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--mag-ease), transform 0.55s var(--mag-ease);
  will-change: opacity, transform;
}

.mag-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .mag-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Full-page auth / navigation loader */
.mag-page-loader {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(41, 37, 22, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.mag-page-loader.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mag-page-loader__spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(237, 236, 232, 0.28);
  border-top-color: #edece8;
  border-radius: 50%;
  animation: mag-spin 0.75s linear infinite;
}

.mag-wrap {
  width: min(100% - 32px, var(--mag-max));
  margin: 0 auto;
}

.mag-wrap-narrow {
  width: min(100% - 32px, 720px);
  margin: 0 auto;
}

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

/* Quiet 3-day sale countdown — intro above Popular Categories */
.mag-section--cats {
  padding-top: 28px;
}

.mag-section--cats .mag-sale-bar {
  margin: 0 0 28px;
}

.mag-section--cats .mag-section__title {
  margin-top: 0;
}

.mag-sale-bar {
  background: transparent;
  border: none;
  padding: 0;
}

.mag-sale-bar__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 36px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--mag-line);
}

.mag-sale-bar__copy {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 200px;
  flex: 1 1 220px;
}

.mag-sale-bar__eyebrow {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--mag-muted);
}

.mag-sale-bar__headline {
  font-family: var(--mag-font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 400;
  color: var(--mag-ink);
  line-height: 1.15;
}

.mag-sale-bar__sub {
  font-size: 13px;
  color: var(--mag-ink-soft);
}

.mag-sale-bar__timer {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  flex: 0 0 auto;
}

.mag-sale-bar__unit {
  min-width: 48px;
  text-align: center;
}

.mag-sale-bar__unit span {
  display: block;
  font-family: var(--mag-font-display);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 400;
  line-height: 1;
  color: var(--mag-ink);
  letter-spacing: 0.02em;
}

.mag-sale-bar__unit small {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--mag-muted);
}

.mag-sale-bar__sep {
  font-family: var(--mag-font-display);
  font-size: 22px;
  line-height: 1.1;
  color: var(--mag-muted);
  opacity: 0.5;
  padding-top: 2px;
}

.mag-sale-bar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--mag-ink);
  color: var(--mag-ink);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  align-self: center;
}

.mag-sale-bar__cta:hover {
  background: var(--mag-ink);
  color: var(--mag-bg);
}

@media (max-width: 800px) {
  .mag-section--cats .mag-sale-bar {
    margin-bottom: 18px;
  }

  .mag-sale-bar__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding-bottom: 16px;
  }

  .mag-sale-bar__copy {
    min-width: 0;
    width: 100%;
    flex: none;
    align-items: center;
    gap: 6px;
  }

  .mag-sale-bar__eyebrow {
    font-size: 10px;
    letter-spacing: 1.2px;
  }

  .mag-sale-bar__headline {
    font-size: 22px;
    line-height: 1.2;
    max-width: 18em;
  }

  .mag-sale-bar__sub {
    font-size: 12px;
  }

  .mag-sale-bar__timer {
    width: auto;
    max-width: 100%;
    justify-content: center;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid var(--mag-line);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.35);
  }

  .mag-sale-bar__unit {
    min-width: 44px;
    flex: 0 0 auto;
  }

  .mag-sale-bar__unit span {
    font-size: 26px;
    font-variant-numeric: tabular-nums;
  }

  .mag-sale-bar__unit small {
    margin-top: 4px;
    font-size: 9px;
    letter-spacing: 0.8px;
  }

  .mag-sale-bar__sep {
    font-size: 18px;
    padding-top: 0;
    align-self: center;
    opacity: 0.4;
  }

  .mag-sale-bar__cta {
    width: 100%;
    max-width: 280px;
    padding: 11px 16px;
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .mag-sale-bar__headline {
    font-size: 20px;
  }

  .mag-sale-bar__unit {
    min-width: 38px;
  }

  .mag-sale-bar__unit span {
    font-size: 22px;
  }

  .mag-sale-bar__timer {
    gap: 2px;
    padding: 8px 8px;
  }
}

/* Mid-page scrolling banner (after Popular Categories) */
.mag-marquee {
  height: 79px;
  background: var(--mag-bg);
  color: var(--mag-ink-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--mag-line);
  border-bottom: 1px solid var(--mag-line);
}

.mag-marquee__track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: mag-marquee 28s linear infinite;
  will-change: transform;
}

.mag-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
  font-family: var(--mag-font);
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 400;
}

.mag-marquee__dot {
  opacity: 0.45;
}

@keyframes mag-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Header */
.header-new {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--mag-bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header-new.is-scrolled {
  border-bottom-color: var(--mag-line);
  background: rgba(237, 236, 232, 0.96);
  backdrop-filter: blur(8px);
}

.header-new__container {
  width: min(100% - 32px, var(--mag-max));
  margin: 0 auto;
  height: var(--mag-header-h);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  overflow: visible;
}

.header-new__left,
.header-new__right {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

.header-new__right {
  justify-content: flex-end;
}

.header-new__center {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  overflow: visible;
}

.header-new__logo-link {
  display: inline-flex;
  align-items: center;
}

body.mag-body .header-new__logo-image {
  height: 22px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.header-new__logo--mobile {
  display: none;
}

.header-new__menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--mag-ink);
  padding: 8px;
}

.header-new__menu-toggle svg {
  width: 22px;
  height: 22px;
}

.header-new__menu-icon--close {
  display: none;
}

.header-new.is-menu-open .header-new__menu-icon--open {
  display: none;
}

.header-new.is-menu-open .header-new__menu-icon--close {
  display: block;
}

.header-new__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  width: 100%;
}

.header-new__nav-item {
  position: relative;
}

.header-new__nav-wrapper {
  display: flex;
  align-items: center;
}

.header-new__nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  font-family: var(--mag-font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.4px;
  color: var(--mag-ink-soft);
  white-space: nowrap;
  border-radius: 0;
  transition: opacity 0.15s ease;
}

.header-new__nav-link:hover {
  opacity: 0.72;
  background: transparent;
}

.header-new__nav-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 4px 4px 4px 0;
  color: var(--mag-ink-soft);
  display: none;
}

.header-new__nav-chevron {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

.header-new__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: 14px 0 10px;
  list-style: none;
  background: var(--mag-surface);
  border: 1px solid var(--mag-line);
  border-radius: 4px;
  box-shadow: var(--mag-shadow);
  z-index: 70;
}

.header-new__dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.header-new__nav-item:hover > .header-new__dropdown,
.header-new__nav-item:focus-within > .header-new__dropdown,
.header-new__nav-item.is-open > .header-new__dropdown {
  display: block;
}

.header-new__dropdown-link {
  display: block;
  padding: 10px 18px;
  font-family: var(--mag-font);
  font-size: 14px;
  letter-spacing: 0.6px;
  color: var(--mag-ink-soft);
}

.header-new__dropdown-link:hover {
  background: var(--mag-bg);
  color: var(--mag-ink);
}

.header-new__icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--mag-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.header-new__icon-btn:hover {
  background: rgba(0, 0, 0, 0.04);
}

.header-new__icon-btn svg {
  width: 20px;
  height: 20px;
}

.header-new__cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--mag-ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}

.header-new__cart-count.is-empty {
  display: none;
}

/* Mobile nav drawer */
.mag-mobile-nav {
  position: fixed;
  inset: calc(var(--mag-marquee-h) + var(--mag-header-h)) 0 0 0;
  z-index: 55;
  background: var(--mag-bg);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
  padding: 16px 20px 40px;
}

.mag-mobile-nav.is-open {
  transform: translateX(0);
}

.mag-mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mag-mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--mag-line);
  font-size: 16px;
  font-weight: 500;
}

.mag-mobile-nav__children {
  list-style: none;
  margin: 0 0 8px;
  padding: 0 0 0 12px;
}

.mag-mobile-nav__children a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  color: var(--mag-ink-soft);
}

/* Search panel */
.mag-search {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--mag-bg);
  border-bottom: 1px solid var(--mag-line);
  padding: 12px 0 16px;
  z-index: 45;
}

.mag-search.is-open {
  display: block;
}

.mag-search__row {
  width: min(100% - 24px, var(--mag-max));
  margin: 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
}

.mag-search__input {
  flex: 1;
  height: 44px;
  border: 1px solid var(--mag-line-strong);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--mag-surface);
  outline: none;
}

.mag-search__input:focus {
  border-color: var(--mag-ink);
}

.mag-search__go {
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--mag-ink);
  background: var(--mag-ink);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}

/* Buttons */
.mag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--mag-font);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.mag-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.mag-btn--primary {
  background: var(--mag-accent);
  color: var(--mag-btn-fg);
  border-color: var(--mag-accent);
}

.mag-btn--primary:hover:not(:disabled) {
  background: #4f6236;
  border-color: #4f6236;
}

.mag-btn--secondary {
  background: transparent;
  border-color: var(--mag-ink);
  color: var(--mag-ink);
}

.mag-btn--secondary:hover:not(:disabled) {
  background: rgba(41, 37, 22, 0.04);
}

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

.mag-btn--ghost {
  background: transparent;
  border: 0;
  color: var(--mag-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: auto;
  padding: 0;
}

.mag-btn--atc,
.mag-btn--checkout {
  width: 100%;
  min-height: 60px;
  height: 60px;
  padding: 0 19px;
  border-radius: 45px;
  border: 1px solid var(--mag-accent);
  background: var(--mag-accent);
  color: var(--mag-btn-fg);
  font-family: var(--mag-font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.mag-qty-row--pdp .mag-btn--atc {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
}

.mag-btn--atc:hover:not(:disabled),
.mag-btn--checkout:hover:not(:disabled) {
  background: #4f6236;
  border-color: #4f6236;
}

body.mag-body a.mag-btn--continue,
.mag-btn--continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 20px 80px;
  border-radius: 50px;
  border: 1px solid var(--mag-accent);
  background: var(--mag-accent);
  color: #ffffff !important;
  font-family: var(--mag-font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.mag-body a.mag-btn--continue:hover,
.mag-btn--continue:hover {
  background: transparent;
  border-color: var(--mag-accent);
  color: var(--mag-accent) !important;
}

.mag-link-olive {
  color: var(--mag-accent);
  font-family: var(--mag-font);
  font-size: 16px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.mag-link-olive:hover {
  border-bottom-color: var(--mag-accent);
}

/* Hero with video */
.mag-hero {
  position: relative;
  width: 100%;
  height: 600px;
  max-height: 70vh;
  min-height: 420px;
  overflow: hidden;
  background: #ddd6c8;
}

.mag-hero__media {
  position: absolute;
  inset: 0;
}

.mag-hero__video,
.mag-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mag-hero__cta {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 6vh, 56px);
  transform: translateX(-50%);
  z-index: 2;
}

.mag-hero__cta .mag-btn {
  min-width: 168px;
  background: rgba(237, 236, 232, 0.96);
  color: var(--mag-ink);
  border: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
}

.mag-hero__cta .mag-btn:hover {
  background: #fff;
}

/* Sections */
.mag-section {
  padding: 56px 0;
}

.mag-section__title {
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--mag-font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: 0.6px;
}

.mag-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mag-cat-card {
  display: block;
  text-align: center;
}

.mag-cat-card__img-wrap {
  position: relative;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  border-radius: 2px;
  background: #e8e2d8;
  margin-bottom: 14px;
}

.mag-cat-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.mag-cat-card:hover .mag-cat-card__img-wrap img {
  transform: scale(1.03);
}

.mag-cat-card__badge {
  top: 12px;
  left: 12px;
  font-size: 12px;
  padding: 5px 11px;
}

.mag-cat-card__title {
  margin: 0 0 8px;
  font-family: var(--mag-font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.6px;
}

.mag-cat-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 15px;
}

.mag-cat-card__from {
  color: var(--mag-muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* Why Kaolin — hero-carousel (70% card, peek, overlay copy) matching cookmagnifique.com */
.mag-why-section {
  --hc-inner-w: 100vw;
  --hc-frame-w: min(calc(var(--hc-inner-w) * 0.7), 2400px);
  --hc-leftover-w: calc(var(--hc-inner-w) - var(--hc-frame-w));
  --hc-bleed-px: calc(var(--hc-leftover-w) / 2);
  --hc-slide-step: var(--hc-frame-w);
  --hc-slide-gap: 24px;
  --hc-arrow-icon: #292516;
  --hc-arrow-bg: #edece8;
  --hc-arrow-bg-hover: #ffffff;
  --hc-arrow-border: #292516;
  position: relative;
  width: 100%;
  padding: 80px 0;
  overflow: hidden;
  box-sizing: border-box;
}

.mag-why-section__head {
  width: min(100% - 48px, var(--mag-max));
  margin: 0 auto 40px;
  text-align: center;
}

.mag-why-section__title {
  margin: 0;
  font-family: var(--mag-font-display);
  font-size: 48px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.15;
  letter-spacing: 0;
  color: #292516;
}

.mag-hc-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--hc-arrow-border);
  background: var(--hc-arrow-bg);
  color: var(--hc-arrow-icon);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
  box-shadow: 0 2px 12px rgba(41, 37, 22, 0.14);
}

.mag-hc-arrow:hover {
  background: var(--hc-arrow-bg-hover);
}

.mag-hc-arrow svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.mag-why-carousel {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.mag-why-carousel__viewport {
  position: relative;
  overflow: hidden;
  width: calc(100% + var(--hc-bleed-px));
  max-width: none;
}

.mag-why-carousel__track {
  display: flex;
  width: 100%;
  gap: var(--hc-slide-gap);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.mag-why-carousel__slide {
  position: relative;
  flex: 0 0 calc(var(--hc-slide-step) - var(--hc-slide-gap));
  min-width: 0;
}

.mag-why__card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: #d8d2c6;
  aspect-ratio: 16 / 9;
  min-height: 420px;
  box-shadow: 0 10px 36px rgba(41, 37, 22, 0.14);
}

.mag-why__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.mag-why__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.8s var(--mag-ease);
}

.mag-why-carousel__slide.is-active .mag-why__media img {
  transform: scale(1);
}

.mag-why__overlay {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  z-index: 2;
  width: min(100%, 560px);
  max-width: 560px;
  padding: clamp(28px, 4.5vw, 52px);
  padding-right: clamp(20px, 3vw, 40px);
  background: linear-gradient(
    180deg,
    rgba(40, 37, 24, 0) 0%,
    rgba(40, 37, 24, 0.42) 38%,
    rgba(40, 37, 24, 0.72) 100%
  );
  color: #edece8;
  text-align: left;
  pointer-events: none;
}

.mag-why__overlay h3 {
  margin: 0 0 12px;
  font-family: var(--mag-font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #edece8;
  line-height: 1.15;
}

.mag-why__overlay p {
  margin: 0 0 22px;
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.55;
  color: rgba(237, 236, 232, 0.94);
  max-width: 38ch;
}

.mag-why__overlay .mag-btn {
  pointer-events: auto;
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: #edece8;
  color: #292516;
  border: 0;
  border-radius: 2px;
}

.mag-why__overlay .mag-btn:hover {
  background: #fff;
}

/* Arrows pinned to the centered card frame edges */
.mag-why-carousel__overlay-arrows {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--hc-bleed-px);
  width: calc(var(--hc-frame-w) - var(--hc-slide-gap));
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  z-index: 4;
}

.mag-why-carousel__overlay-arrows .mag-hc-arrow {
  pointer-events: auto;
}

@media (max-width: 900px) {
  .mag-why-section {
    --hc-frame-w: min(calc(var(--hc-inner-w) * 0.88), 2400px);
    --hc-slide-gap: 16px;
    padding: 40px 0;
  }

  .mag-why-section__head {
    width: min(100% - 28px, var(--mag-max));
    margin-bottom: 28px;
  }

  .mag-why-section__title {
    font-size: 28px;
  }

  .mag-why__card {
    min-height: 340px;
    aspect-ratio: 4 / 3;
  }

  .mag-why__overlay {
    max-width: 100%;
    width: 100%;
    padding: 24px 20px 28px;
  }

  .mag-why__overlay h3 {
    font-size: 26px;
  }

  .mag-why__overlay p {
    font-size: 14px;
    max-width: none;
  }

  .mag-why-carousel__overlay-arrows {
    padding: 0 10px;
  }

  .mag-hc-arrow {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 749px) {
  .mag-why-section {
    --hc-frame-w: calc(var(--hc-inner-w) - 56px);
    --hc-slide-gap: 12px;
    padding: 28px 0;
  }

  .mag-why-section__title {
    font-size: 24px;
  }
}

/* Perks bar */
.mag-perks {
  background: var(--mag-dark);
  color: #fff;
  padding: 40px 0;
}

.mag-perks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.mag-perks__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.mag-perks__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.mag-perks__text {
  margin: 4px 0 0;
  font-size: 13px;
  opacity: 0.75;
}

/* Reviews + press */
.mag-reviews {
  padding: 56px 0 24px;
  text-align: center;
}

.mag-reviews__quote-wrap {
  max-width: 820px;
  margin: 0 auto 36px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mag-reviews__quote {
  margin: 0;
  font-family: var(--mag-font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.6px;
  color: var(--mag-ink);
}

.mag-reviews__nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.mag-reviews__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: #cfc7b8;
  cursor: pointer;
  padding: 0;
}

.mag-reviews__dot.is-active {
  background: var(--mag-ink);
}

.mag-press {
  padding: 8px 0 28px;
  overflow: hidden;
}

.mag-press__track {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 48px;
  width: max-content;
  animation: mag-press 32s linear infinite;
}

.mag-press__logo {
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.9;
  filter: grayscale(1);
  flex: 0 0 auto;
}

@keyframes mag-press {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.mag-reviews__cta {
  margin-top: 8px;
  margin-bottom: 24px;
}

/* Helpful */
.mag-helpful {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mag-helpful__card {
  display: block;
}

.mag-helpful__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  background: #e8e2d8;
  margin-bottom: 12px;
}

.mag-helpful__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.mag-helpful__card:hover .mag-helpful__img img {
  transform: scale(1.03);
}

.mag-helpful__title {
  margin: 0;
  text-align: center;
  font-family: var(--mag-font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.6px;
}

/* Collection */
.mag-collection-head {
  padding: 40px 0 8px;
  text-align: center;
}

.mag-collection-head h1 {
  margin: 0 0 8px;
  font-family: var(--mag-font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  letter-spacing: 0.6px;
}

.mag-collection-head p {
  margin: 0;
  color: var(--mag-muted);
  font-size: 15px;
}

.mag-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0 20px;
  font-size: 13px;
  color: var(--mag-muted);
}

.mag-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 18px;
  padding-bottom: 56px;
}

.mag-product-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.mag-product-card__media {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background: #ebe5db;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 12px;
}

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

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

.mag-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--mag-surface);
  color: var(--mag-ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.mag-badge--sale {
  background: var(--mag-sale);
  color: #fff;
  letter-spacing: 0.04em;
}

.mag-badge--sold {
  background: var(--mag-ink);
  color: #fff;
}

.mag-product-card__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 500;
}

.mag-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 6px;
  color: var(--mag-star);
}

.mag-stars svg {
  width: 14px;
  height: 14px;
}

.mag-stars__count {
  margin-left: 6px;
  font-size: 12px;
  color: var(--mag-muted);
}

.mag-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
}

.mag-price__sale {
  font-weight: 600;
}

.mag-price__compare {
  color: var(--mag-muted);
  text-decoration: line-through;
  font-size: 13px;
}

.mag-price__save {
  color: var(--mag-sale);
  font-size: 12px;
  font-weight: 600;
}

.mag-price__off {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(179, 58, 46, 0.12);
  color: var(--mag-sale);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Product page */
.mag-product {
  padding: 28px 0 64px;
}

.mag-product__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.mag-gallery__main {
  aspect-ratio: 1 / 1;
  background: #ebe5db;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 10px;
}

.mag-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mag-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}

.mag-gallery__thumb {
  border: 1px solid transparent;
  padding: 0;
  background: #ebe5db;
  cursor: pointer;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
}

.mag-gallery__thumb.is-active,
.mag-gallery__thumb:hover {
  border-color: var(--mag-ink);
}

.mag-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mag-product__info h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mag-product__short {
  margin: 12px 0 0;
  color: var(--mag-ink-soft);
  font-size: 14px;
}

.mag-swatches {
  margin: 20px 0 8px;
}

.mag-swatches__label {
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--mag-ink-soft);
}

.mag-swatches__label strong {
  color: var(--mag-ink);
  font-weight: 600;
}

.mag-swatches__row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mag-swatch {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  padding: 0;
}

.mag-swatch.is-active {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 2px var(--mag-ink);
}

.mag-swatch[data-color="Oatmeal"] {
  background: #e8dcc8;
}

.mag-swatch[data-color="Sage"] {
  background: #8a9a7b;
}

.mag-swatch[data-color="Earl Gray"] {
  background: #8a8680;
}

.mag-swatch[data-color="Stone"] {
  background: #a8a29a;
}

.mag-swatch[data-color="Mocha"] {
  background: #6b5344;
}

.mag-swatch[data-color="Brown Sugar"] {
  background: #8b5a2b;
}

.mag-swatch[data-color="Ice"] {
  background: #c5d4e0;
}

.mag-swatch[data-color="Snow"] {
  background: #f3f1ea;
}

.mag-swatch[data-color="Rose"] {
  background: #d4a5a5;
}

.mag-swatch[data-color="Mint"] {
  background: #9db8a5;
}

.mag-qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 14px;
}

.mag-qty-row--pdp {
  gap: 12px;
  width: 100%;
}

.mag-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--mag-line-strong);
  border-radius: 999px;
  overflow: hidden;
  background: var(--mag-surface);
}

.mag-qty button,
.mag-qty__btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: inherit;
}

.mag-qty span,
.mag-qty__value {
  min-width: 28px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

/* Origin-style olive quantity (PDP / cart / drawer) */
.mag-qty--olive {
  flex: 0 0 auto;
  border: 1px solid var(--mag-accent);
  border-radius: 45px;
  background: var(--mag-bg);
  overflow: hidden;
  color: var(--mag-accent);
  box-sizing: border-box;
}

.mag-qty-row--pdp .mag-qty--olive {
  width: 186px;
  height: 60px;
}

.mag-qty--olive .mag-qty__btn {
  width: 40px;
  height: 58px;
  padding: 0;
  color: var(--mag-accent);
  font-size: 22px;
  font-weight: 400;
  flex: 0 0 auto;
}

.mag-qty--olive .mag-qty__value {
  flex: 1 1 auto;
  min-width: 72px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  background: var(--mag-bg);
  color: var(--mag-accent);
  font-family: var(--mag-font);
  font-size: 22px;
  font-weight: 400;
}

.mag-qty-row--pdp .mag-qty--olive .mag-qty__value {
  min-width: 0;
}

@media (max-width: 560px) {
  .mag-qty-row--pdp {
    flex-wrap: wrap;
  }

  .mag-qty-row--pdp .mag-qty--olive {
    width: 140px;
  }

  .mag-qty-row--pdp .mag-btn--atc {
    flex: 1 1 160px;
    font-size: 20px;
  }
}

.mag-trust-line {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--mag-muted);
}

.mag-pdp-trust {
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--mag-line);
  display: grid;
  gap: 14px;
}

.mag-pdp-trust__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.mag-pdp-trust__icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.mag-pdp-trust__emoji {
  width: 28px;
  flex-shrink: 0;
  font-size: 22px;
  line-height: 1;
  text-align: center;
}

.mag-pdp-trust__check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mag-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.mag-pdp-trust__item strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  color: var(--mag-ink);
}

.mag-pdp-trust__text {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--mag-muted);
  line-height: 1.45;
}

.mag-people-think {
  margin-top: 48px;
  padding-top: 8px;
}

.mag-people-think--pdp {
  margin: 36px 0 28px;
  padding: 28px 0;
  border-top: 1px solid var(--mag-line);
  border-bottom: 1px solid var(--mag-line);
}

.mag-pdp-features {
  margin: 36px 0 8px;
  max-width: 920px;
}

.mag-pdp-features h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.mag-pdp-features__body {
  color: var(--mag-ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.mag-pdp-features__body p {
  margin: 0 0 12px;
}

.mag-accordion--pdp {
  margin: 18px 0 40px;
  max-width: 920px;
}

.mag-pdp-reviews {
  margin: 12px 0 48px;
  padding-top: 28px;
  border-top: 1px solid var(--mag-line);
}

.mag-pdp-reviews h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 36px);
  font-family: var(--mag-font-display);
  font-weight: 400;
}

.mag-pdp-reviews__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.mag-pdp-reviews__meta {
  color: var(--mag-muted);
  font-size: 14px;
}

.mag-pdp-reviews__list {
  display: grid;
  gap: 14px;
}

.mag-pdp-review {
  background: #fff;
  border: 1px solid var(--mag-line);
  border-radius: 4px;
  padding: 16px;
}

.mag-pdp-review__head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.mag-pdp-review__author {
  margin: 0 0 4px;
  font-weight: 600;
}

.mag-pdp-review__title {
  margin: 0 0 8px;
  font-size: 16px;
}

.mag-pdp-review__body {
  margin: 0;
  color: var(--mag-ink-soft);
  line-height: 1.55;
}

.mag-pdp-review__photos,
.mag-review-card__photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.mag-review-photo {
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  background: #ebe5db;
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
  width: 88px;
  height: 88px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mag-review-photo:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(41, 37, 22, 0.12);
}

.mag-review-photo img,
.mag-pdp-review__photos img,
.mag-review-card__photos img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  background: #ebe5db;
}

.mag-review-photo img {
  width: 100%;
  height: 100%;
}

/* Review photo lightbox */
.mag-lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(41, 37, 22, 0.58);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mag-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mag-lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  cursor: zoom-out;
}

.mag-lightbox__img {
  display: block;
  max-width: min(92vw, 980px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  background: #edece8;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  transform: scale(0.86);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

.mag-lightbox.is-open .mag-lightbox__img {
  transform: scale(1);
  opacity: 1;
}

.mag-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(237, 236, 232, 0.35);
  border-radius: 50%;
  background: rgba(41, 37, 22, 0.45);
  color: #edece8;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mag-lightbox__close:hover {
  background: rgba(41, 37, 22, 0.7);
  transform: scale(1.05);
}

body.mag-lightbox-open,
body.mag-lock {
  overflow: hidden;
}

.mag-pdp-reviews__more {
  margin-top: 18px;
}

.mag-people-think__title {
  margin: 0 0 22px;
  font-family: var(--mag-font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  text-align: center;
  color: var(--mag-ink);
}

.mag-people-think__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 320px);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.mag-people-think__card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--mag-line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mag-people-think__media {
  aspect-ratio: 9 / 14;
  background: #ebe5db;
  overflow: hidden;
}

.mag-people-think__media img,
.mag-people-think__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #111;
}

.mag-people-think__meta {
  padding: 14px 14px 16px;
}

.mag-people-think__quote {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--mag-ink);
}

.mag-people-think__author {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--mag-ink-soft);
}

.mag-people-think__product {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--mag-muted);
  text-decoration: underline;
}

.mag-people-think__more {
  margin-top: 8px;
  text-align: center;
}

.mag-product__desc {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--mag-line);
  color: var(--mag-ink-soft);
  font-size: 14px;
}

.mag-product__bullets {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--mag-ink-soft);
  font-size: 14px;
}

.mag-accordion {
  margin-top: 28px;
  border-top: 1px solid var(--mag-line);
}

.mag-accordion__item {
  border-bottom: 1px solid var(--mag-line);
}

.mag-accordion__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}

.mag-accordion__btn span:last-child {
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  color: var(--mag-muted);
}

.mag-accordion__panel {
  display: none;
  padding: 0 0 16px;
  color: var(--mag-ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.mag-accordion__panel p {
  margin: 0 0 10px;
}

.mag-accordion__panel p:last-child {
  margin-bottom: 0;
}

.mag-accordion__item.is-open .mag-accordion__panel {
  display: block;
}

/* Cart page — cookmagnifique.com/cart */
.mag-cart-page {
  padding: 48px 0 80px;
}

.mag-cart-page__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 28px;
}

.mag-cart-page__title {
  margin: 0;
  font-family: var(--mag-font-display);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--mag-ink);
}

.mag-cart-page--empty {
  min-height: calc(100vh - var(--mag-header-h) - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

.mag-cart-page--empty > .mag-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.mag-cart-empty-inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mag-cart-page--empty .mag-cart-page__title {
  margin: 0 0 28px;
  font-size: clamp(36px, 5vw, 48px);
  text-align: center;
}

.mag-cart-empty-account {
  margin-top: 36px;
  color: var(--mag-ink);
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.mag-cart-empty-account p {
  margin: 0 0 4px;
}

.mag-cart-empty-login {
  color: var(--mag-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mag-cart-empty-login:hover {
  color: var(--mag-accent);
}

.mag-cart-empty-signed {
  margin-top: 36px;
  font-size: 16px;
  color: var(--mag-ink-soft);
}

.mag-cart-empty-signed strong {
  color: var(--mag-ink);
  font-weight: 600;
}

.mag-cart-newsletter {
  margin-top: 56px;
  max-width: 420px;
  width: 100%;
  text-align: left;
}

.mag-cart-newsletter__title {
  margin: 0 0 10px;
  font-family: var(--mag-font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--mag-ink);
  text-align: left;
}

.mag-cart-newsletter__text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mag-ink-soft);
}

.mag-cart-newsletter__form {
  display: flex;
  align-items: stretch;
  width: 100%;
  border-bottom: 1px solid var(--mag-ink);
}

.mag-cart-newsletter__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 12px 0;
  font-family: var(--mag-font);
  font-size: 16px;
  color: var(--mag-ink);
  outline: none;
}

.mag-cart-newsletter__input::placeholder {
  color: var(--mag-muted);
  opacity: 1;
}

.mag-cart-newsletter__submit {
  flex: 0 0 auto;
  width: 44px;
  border: 0;
  background: transparent;
  color: var(--mag-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.mag-cart-newsletter__submit svg {
  width: 20px;
  height: 20px;
}

.mag-cart-newsletter__submit:hover {
  color: var(--mag-accent);
}

.mag-cart-newsletter__error {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--mag-sale);
  text-align: left;
}

.mag-cart-loading {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 72px;
  min-height: 28px;
}

.mag-cart-spinner {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(93, 114, 63, 0.22);
  border-top-color: var(--mag-accent);
  border-radius: 50%;
  animation: mag-spin 0.75s linear infinite;
  display: inline-block;
}

.mag-cart-spinner--sm {
  width: 18px;
  height: 18px;
  border-width: 2px;
}

@keyframes mag-spin {
  to {
    transform: rotate(360deg);
  }
}

.mag-cart-page__estimate .mag-cart-loading,
.mag-cart-drawer__total .mag-cart-loading {
  margin-left: auto;
}

.mag-cart-line__price .mag-cart-spinner,
.mag-drawer-line__total .mag-cart-spinner {
  display: inline-block;
  vertical-align: middle;
}

.mag-cart-table__head {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 180px 120px;
  gap: 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--mag-line);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mag-muted);
}

.mag-cart-table__head span:last-child,
.mag-cart-line__price {
  text-align: right;
}

.mag-cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 180px 120px;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--mag-line);
}

.mag-cart-line__product {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: start;
}

.mag-cart-line__img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  background: #ebe5db;
  border-radius: 2px;
}

.mag-cart-line__title {
  display: inline-block;
  margin: 0 0 6px;
  font-family: var(--mag-font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--mag-ink);
  text-decoration: none;
  line-height: 1.25;
}

.mag-cart-line__title:hover {
  text-decoration: underline;
}

.mag-cart-line__unit {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--mag-ink);
}

.mag-cart-line__meta {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--mag-muted);
}

.mag-cart-line__qty {
  display: flex;
  justify-content: flex-start;
}

.mag-cart-line__price {
  font-size: 16px;
  color: var(--mag-ink);
}

.mag-cart-line__remove {
  margin-top: 4px;
  border: 0;
  background: transparent;
  color: var(--mag-muted);
  cursor: pointer;
  font-size: 13px;
  text-decoration: underline;
  padding: 0;
}

.mag-cart-page__foot {
  max-width: 420px;
  margin-left: auto;
  margin-top: 28px;
}

.mag-cart-page__estimate {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 16px;
}

.mag-cart-page__estimate strong {
  font-family: var(--mag-font-display);
  font-size: 24px;
  font-weight: 400;
}

.mag-cart-page__foot .mag-btn--checkout {
  margin-top: 8px;
}

.mag-cart-page__foot .mag-cart-drawer__trust-wrap {
  margin: 10px 0 14px;
}

@media (max-width: 800px) {
  .mag-cart-page__title {
    font-size: 32px;
  }

  .mag-btn--continue {
    width: 100%;
    max-width: 360px;
    padding: 18px 28px;
    font-size: 22px;
  }

  .mag-cart-table__head {
    display: none;
  }

  .mag-cart-line {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mag-cart-line__price {
    text-align: left;
  }

  .mag-cart-page__foot {
    max-width: none;
    margin-left: 0;
  }
}

/* Cart drawer — slides in from the right on Add to Cart */
.mag-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(41, 37, 22, 0.5);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mag-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mag-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: var(--mag-bg);
  z-index: 90;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
}

.mag-cart-drawer.is-open {
  transform: translateX(0);
}

.mag-cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--mag-line);
}

.mag-cart-drawer__head h2 {
  margin: 0;
  font-family: var(--mag-font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--mag-ink);
}

.mag-cart-drawer__close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  color: var(--mag-ink);
}

.mag-cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 22px 18px;
}

.mag-cart-drawer__cols {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 10px 0 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mag-muted);
}

.mag-cart-drawer__empty {
  padding: 48px 8px;
  text-align: center;
  color: var(--mag-ink-soft);
}

.mag-cart-drawer__empty p {
  margin: 0 0 14px;
  font-family: var(--mag-font-display);
  font-size: 22px;
  color: var(--mag-ink);
}

.mag-cart-drawer__foot {
  border-top: 1px solid var(--mag-line);
  padding: 18px 22px 24px;
  background: var(--mag-bg);
}

.mag-cart-drawer__footer-block {
  margin-bottom: 12px;
}

.mag-cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--mag-ink);
}

.mag-cart-drawer__total-label {
  margin: 0;
  font-family: var(--mag-font);
  font-size: 16px;
  font-weight: 400;
}

.mag-cart-drawer__total-value {
  margin: 0;
  font-family: var(--mag-font-display);
  font-size: 24px;
  font-weight: 400;
  text-align: right;
}

.mag-cart-drawer__note {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--mag-ink-soft);
}

.mag-checkout-plus {
  margin: 0 0 12px;
}

.mag-checkout-plus__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: var(--mag-accent);
  font-family: var(--mag-font);
  font-size: 14px;
  font-weight: 600;
}

.mag-checkout-plus__bang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--mag-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.mag-checkout-plus__btn:hover .mag-checkout-plus__bang {
  background: var(--mag-accent);
  color: #fff;
}

.mag-checkout-plus__opt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--mag-ink);
  cursor: pointer;
}

.mag-checkout-plus__opt input {
  width: 16px;
  height: 16px;
  accent-color: var(--mag-accent);
}

.mag-checkout-plus__panel {
  display: none;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid var(--mag-line);
  background: var(--mag-bg-soft);
  font-size: 13px;
  line-height: 1.45;
  color: var(--mag-ink-soft);
}

.mag-checkout-plus__panel.is-open {
  display: block;
}

.mag-checkout-plus__panel p {
  margin: 0;
}

.mag-cart-drawer__trust-wrap {
  margin: 8px 0 16px;
}

.mag-cart-drawer__trust {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.mag-cart-drawer__ctas {
  margin-top: 4px;
}

.mag-cart-drawer__view {
  display: block;
  margin-top: 14px;
  text-align: center;
  color: var(--mag-ink);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mag-drawer-line {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--mag-line);
  align-items: start;
}

.mag-drawer-line img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  background: #ebe5db;
}

.mag-drawer-line__info {
  min-width: 0;
}

.mag-drawer-line__title {
  display: inline-block;
  margin: 0 0 4px;
  font-family: var(--mag-font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--mag-ink);
  text-decoration: none;
  line-height: 1.25;
}

.mag-drawer-line__price {
  margin: 0 0 2px;
  font-size: 14px;
}

.mag-drawer-line__meta {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--mag-muted);
}

.mag-drawer-line__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mag-drawer-line__row .mag-qty--olive .mag-qty__btn {
  height: 42px;
  width: 28px;
  font-size: 18px;
}

.mag-drawer-line__row .mag-qty--olive .mag-qty__value {
  min-width: 44px;
  height: 42px;
  font-size: 18px;
}

.mag-drawer-line__total {
  font-size: 14px;
  padding-top: 4px;
  white-space: nowrap;
}

.mag-drawer-line .mag-cart-line__remove {
  margin-top: 0;
  font-size: 20px;
  text-decoration: none;
  line-height: 1;
  color: var(--mag-ink-soft);
}

/* Content pages */
.mag-content {
  padding: 40px 0 72px;
}

.mag-content h1 {
  margin: 0 0 20px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
}

.mag-content__body {
  color: var(--mag-ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.mag-prose h2 {
  margin: 28px 0 12px;
  font-size: 22px;
  font-weight: 600;
  color: var(--mag-ink);
}

.mag-prose h3 {
  margin: 22px 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--mag-ink);
}

.mag-prose p {
  margin: 0 0 14px;
}

.mag-prose ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.mag-prose li {
  margin: 0 0 8px;
}

.mag-prose a {
  color: var(--mag-ink);
  text-decoration: underline;
}

.mag-prose em {
  color: var(--mag-muted);
}

.mag-reviews-page {
  padding: 40px 0 72px;
}

.mag-reviews-page h1 {
  margin: 0 0 24px;
  font-size: clamp(28px, 3vw, 36px);
}

.mag-reviews-page__summary {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 20px;
  border: 1px solid var(--mag-line);
  border-radius: 4px;
  background: #fff;
  margin-bottom: 28px;
}

.mag-reviews-page__based {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--mag-muted);
}

.mag-reviews-page__avg {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 600;
  color: var(--mag-ink);
}

.mag-reviews-page__bar-row {
  display: grid;
  grid-template-columns: 36px 1fr 90px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--mag-ink-soft);
}

.mag-reviews-page__bar {
  height: 8px;
  background: #e8e2d8;
  border-radius: 999px;
  overflow: hidden;
}

.mag-reviews-page__bar i {
  display: block;
  height: 100%;
  background: var(--mag-ink);
}

.mag-reviews-page__list {
  display: grid;
  gap: 16px;
}

.mag-review-card {
  background: #fff;
  border: 1px solid var(--mag-line);
  border-radius: 4px;
  padding: 18px;
}

.mag-review-card__head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.mag-review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e8e2d8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--mag-ink);
}

.mag-review-card__author {
  margin: 0 0 4px;
  font-weight: 600;
}

.mag-review-card__product {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--mag-muted);
  text-decoration: underline;
}

.mag-review-card__title {
  margin: 0 0 8px;
  font-size: 16px;
}

.mag-review-card__body {
  margin: 0;
  color: var(--mag-ink-soft);
  line-height: 1.55;
}

.mag-review-card__layout {
  display: grid;
  grid-template-columns: 1fr 88px;
  gap: 16px;
  align-items: start;
}

.mag-review-card__thumb {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 4px;
  overflow: hidden;
  background: #ebe5db;
}

.mag-review-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mag-content--flush {
  padding: 0 0 72px;
}

.mag-page-hero {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  background: #ebe5db;
}

.mag-page-hero img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.mag-page-hero--short {
  max-height: 320px;
}

.mag-page-hero--short img {
  max-height: 320px;
}

.mag-about {
  padding: 40px 0 0;
}

.mag-about__headline {
  margin: 0 0 28px;
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.15;
}

.mag-about h2 {
  margin: 36px 0 16px;
  font-size: 28px;
  font-weight: 600;
}

.mag-about__story {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--mag-ink-soft);
}

.mag-about__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 24px 0 40px;
}

.mag-about__feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 14px;
  background: #ebe5db;
}

.mag-about__feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.mag-about__feature p {
  margin: 0;
  color: var(--mag-ink-soft);
  line-height: 1.55;
  font-size: 14px;
}

.mag-about__press {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 28px;
  margin: 20px 0 28px;
}

.mag-about__press blockquote {
  margin: 0;
  padding: 0;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 18px;
  line-height: 1.45;
  color: var(--mag-ink);
  quotes: none;
}

.mag-about__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: center;
  margin: 12px 0 36px;
  opacity: 0.9;
}

.mag-about__logos img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
}

.mag-about__cta {
  text-align: center;
  margin: 8px 0 40px;
}

.mag-about__bestsellers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.mag-about__best {
  display: block;
  color: inherit;
  text-decoration: none;
}

.mag-about__best img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #ebe5db;
  border-radius: 2px;
  margin-bottom: 10px;
}

.mag-about__best strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}

.mag-about__best span {
  display: block;
  font-size: 13px;
  color: var(--mag-muted);
  line-height: 1.4;
}

.mag-help {
  padding: 36px 0 0;
}

.mag-help h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 40px);
}

.mag-help__lead {
  margin: 0 0 28px;
  color: var(--mag-ink-soft);
  font-size: 16px;
}

.mag-help__sub {
  margin: 0 0 16px;
  font-size: 24px;
}

.mag-help__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

.mag-help__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--mag-line);
  border-radius: 4px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mag-help__card:hover {
  border-color: var(--mag-ink);
  box-shadow: 0 2px 10px rgba(41, 37, 22, 0.06);
}

.mag-help__card strong {
  font-size: 16px;
}

.mag-help__card span {
  font-size: 13px;
  color: var(--mag-muted);
  line-height: 1.4;
}

.mag-help h2 {
  margin: 32px 0 14px;
  font-size: 24px;
}

@media (max-width: 800px) {
  .mag-reviews-page__summary {
    grid-template-columns: 1fr;
  }

  .mag-review-card__layout {
    grid-template-columns: 1fr 72px;
  }

  .mag-about__features,
  .mag-about__bestsellers,
  .mag-help__cards {
    grid-template-columns: 1fr;
  }

  .mag-about__press {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 801px) and (max-width: 1100px) {
  .mag-about__bestsellers {
    grid-template-columns: repeat(2, 1fr);
  }

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

.mag-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.mag-blog-card {
  display: block;
}

.mag-blog-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ebe5db;
  border-radius: 2px;
  margin-bottom: 10px;
}

.mag-blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mag-blog-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.mag-not-found {
  padding: 72px 16px;
  text-align: center;
}

/* Footer */
.mag-footer {
  background: var(--mag-dark);
  color: #f3efe8;
  padding: 48px 0 28px;
  margin-top: auto;
}

.mag-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.mag-footer__brand img {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}

.mag-footer__brand p {
  margin: 0;
  font-size: 13px;
  opacity: 0.7;
  max-width: 28ch;
}

.mag-footer__col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
}

.mag-footer__col a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  opacity: 0.7;
}

.mag-footer__col a:hover {
  opacity: 1;
}

.mag-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  opacity: 0.55;
}

/* Loading */
.mag-loading {
  padding: 80px 16px;
  text-align: center;
  color: var(--mag-muted);
}

/* Body lock when overlays open */
body.mag-lock {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 1280px) {
  .header-new__nav-link {
    padding: 8px 7px;
    font-size: 15px;
  }
}

@media (max-width: 1100px) {
  .header-new__nav-link {
    padding: 8px 6px;
    font-size: 14px;
  }

  .mag-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mag-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .header-new__nav {
    display: none;
  }

  .header-new__menu-toggle {
    display: inline-flex;
  }

  .header-new__logo--desktop {
    display: none;
  }

  .header-new__logo--mobile {
    display: block;
  }

  .header-new__container {
    grid-template-columns: 40px 1fr auto;
  }

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

  .mag-why__row,
  .mag-why__row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .mag-why__row:nth-child(even) .mag-why__media {
    order: 0;
  }

  .mag-product__grid,
  .mag-cart-layout {
    grid-template-columns: 1fr;
  }

  .mag-perks__grid {
    gap: 28px;
  }

  .mag-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .mag-cats,
  .mag-helpful,
  .mag-product-grid,
  .mag-blog-grid,
  .mag-perks__grid {
    grid-template-columns: 1fr;
  }

  .mag-section {
    padding: 40px 0;
  }

  .mag-cart-line {
    grid-template-columns: 72px 1fr;
  }

  .mag-cart-line__price {
    grid-column: 2;
    text-align: left;
  }

  .mag-footer__grid {
    grid-template-columns: 1fr;
  }

  .mag-hero {
    height: 420px;
    max-height: none;
  }

  .header-new__nav-link {
    font-size: 16px;
  }
}
