:root {
  color-scheme: light;
  --blue: #3D6F91;
  --blue-2: #5f8fac;
  --blue-deep: #244d68;
  --blue-soft: #eef6fa;
  --ink: #12263a;
  --muted: #607080;
  --cream: #f6efe4;
  --paper: rgba(255, 255, 255, 0.82);
  --paper-solid: #ffffff;
  --line: rgba(61, 111, 145, 0.16);
  --shadow: 0 24px 70px rgba(7, 20, 38, 0.13);
  --soft-shadow: 0 14px 36px rgba(61, 111, 145, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: linear-gradient(180deg, var(--cream) 0%, #fff 44%, #f8fbfd 100%);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  letter-spacing: 0;
}

body::before {
  display: none;
}

body.is-locked {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.cursor-glow {
  display: none;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(28px);
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 0.7s ease;
}

.loader.is-hidden {
  visibility: hidden;
  opacity: 0;
  transform: scale(1.02);
}

.loader__logo {
  width: 108px;
  height: 108px;
  padding: 14px;
  border: 1px solid rgba(61, 111, 145, 0.12);
  border-radius: 34px;
  background: var(--paper-solid);
  box-shadow: var(--shadow);
  animation: loaderPulse 1.25s ease-in-out infinite;
}

.loader__logo img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.loader__brand {
  color: var(--blue-deep);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.42em;
}

.loader__bar {
  overflow: hidden;
  width: 154px;
  height: 5px;
  border-radius: 999px;
  background: rgba(61, 111, 145, 0.12);
}

.loader__bar span {
  display: block;
  width: var(--load, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  transition: width 0.12s ease;
}

.loader__percent {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 9px max(24px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(61, 111, 145, 0.14);
  border-radius: 0;
  background: rgba(246, 239, 228, 0.94);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.12em;
}

.nav__brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  object-fit: cover;
}

.nav__brand span {
  display: inline-block;
  color: var(--blue-deep);
  font-size: 0.95rem;
}

.nav__brand small {
  color: var(--blue);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
}

.nav__links {
  display: none;
}

.nav__button,
.button,
.mini-cart,
.product-card__add,
.modal-close,
.quantity button,
.bottom-nav button,
.category-pills button {
  border: 0;
  cursor: pointer;
}

.nav__button,
.button,
.product-card__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nav__button,
.button--primary,
.product-card__add {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(61, 111, 145, 0.22);
}

.nav__button {
  padding: 0 18px;
}

.button {
  padding: 0 22px;
}

.button--glass {
  color: var(--blue-deep);
  border: 1px solid rgba(61, 111, 145, 0.16);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.button--cream {
  color: var(--blue-deep);
  background: var(--cream);
  box-shadow: none;
}

.button--white {
  color: var(--blue-deep);
  border: 1px solid rgba(61, 111, 145, 0.2);
  background: #fff;
  box-shadow: none;
}

.button:active,
.nav__button:active,
.product-card__add:active,
.category-pills button:active,
.mini-cart:active {
  transform: scale(0.96);
}

.hero {
  position: relative;
  display: grid;
  width: min(1160px, calc(100% - 48px));
  min-height: auto;
  margin: 0 auto;
  padding: 56px 0 62px;
  overflow: visible;
  isolation: auto;
}

.hero__content {
  max-width: 780px;
  padding-bottom: 34px;
}

.eyebrow,
.section__kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before,
.section__kicker::before {
  display: inline-block;
  width: 38px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: #c62828;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 16vw, 8.4rem);
  line-height: 0.82;
  font-weight: 900;
  color: var(--blue-deep);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 7vw, 4.2rem);
  line-height: 1;
  color: var(--blue-deep);
}

.hero__content > p:not(.eyebrow) {
  max-width: 470px;
  color: var(--blue-deep);
  font-size: clamp(1.18rem, 4.4vw, 1.72rem);
  font-weight: 700;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__card {
  padding: 0;
  border: 1px solid rgba(61, 111, 145, 0.13);
  border-radius: 30px;
  background: #7a9b9a;
  box-shadow: 0 18px 44px rgba(36, 77, 104, 0.12);
  overflow: hidden;
}

.hero__card img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  border-radius: 0;
  object-fit: cover;
  background: transparent;
}

.pickup-summary {
  display: grid;
  gap: 14px;
  width: min(720px, calc(100% - 48px));
  margin: -20px auto 42px;
  padding: 24px;
  border: 1px solid rgba(61, 111, 145, 0.12);
  border-radius: 28px;
  background: rgba(255, 252, 245, 0.88);
  box-shadow: 0 16px 38px rgba(36, 77, 104, 0.1);
}

.pickup-summary div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.64);
}

.pickup-summary span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 1rem;
}

.pickup-summary strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.3rem, 4.4vw, 1.8rem);
  line-height: 1.1;
}

.section {
  width: min(1160px, calc(100% - 34px));
  margin: 0 auto;
  padding: 56px 0;
}

.intro {
  text-align: center;
}

.intro p:last-child,
.instagram p,
.feature-strip p,
.product-card p,
.footer p,
.product-modal p {
  color: var(--muted);
  line-height: 1.65;
}

.intro p:last-child {
  max-width: 690px;
  margin: 0 auto;
  font-size: 1.06rem;
}

.intro__note {
  max-width: 690px;
  margin: 18px auto 0;
  color: var(--blue-deep);
  font-size: 1.25rem;
  font-weight: 900;
}

.pickup-card {
  width: min(720px, calc(100% - 48px));
  margin: 6px auto 58px;
  padding: clamp(28px, 6vw, 44px);
  border: 1px solid rgba(61, 111, 145, 0.15);
  border-radius: 28px;
  background: rgba(246, 239, 228, 0.72);
  box-shadow: 0 18px 44px rgba(36, 77, 104, 0.1);
}

.pickup-card h2 {
  max-width: 560px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 12vw, 5.6rem);
  line-height: 0.86;
}

.pickup-card__details {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

.pickup-card__details p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.18rem, 4vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
}

.pickup-card__details p:first-child {
  color: var(--blue-deep);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 900;
}

.pickup-map {
  overflow: hidden;
  margin: 6px 0 24px;
  border: 1px solid rgba(61, 111, 145, 0.16);
  border-radius: 22px;
  background: #fff;
}

.pickup-map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.pickup-card__details strong {
  color: var(--ink);
}

.pickup-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.instagram-panel {
  width: min(1160px, calc(100% - 48px));
  margin: 8px auto 58px;
  overflow: hidden;
  padding: clamp(28px, 6vw, 54px);
  border-radius: 28px;
  color: #fff;
  background: var(--blue-deep);
  box-shadow: 0 18px 44px rgba(36, 77, 104, 0.18);
}

.instagram-panel .section__kicker {
  color: #fff;
}

.instagram-panel .section__kicker::before {
  background: #d33b3b;
}

.instagram-panel h2 {
  max-width: 620px;
  margin-bottom: 18px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 10vw, 5.4rem);
  line-height: 0.92;
}

.instagram-panel strong {
  display: block;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(1.8rem, 7vw, 3rem);
  line-height: 1;
}

.feature-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.feature-strip article,
.product-card,
.cart-panel,
.instagram {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(36, 77, 104, 0.1);
  backdrop-filter: blur(10px);
}

.feature-strip article {
  min-height: 136px;
  padding: 22px;
  border-radius: 18px;
}

.feature-strip span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
}

.feature-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.mini-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 22px rgba(36, 77, 104, 0.1);
  font-weight: 900;
}

.mini-cart__count {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 0.76rem;
}

.category-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-width: none;
}

.category-pills::-webkit-scrollbar,
.slider::-webkit-scrollbar {
  display: none;
}

.category-pills button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(61, 111, 145, 0.16);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 900;
}

.category-pills button.is-active {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(61, 111, 145, 0.2);
}

.slider {
  overflow-x: visible;
  padding: 10px 2px 28px;
  scroll-snap-type: none;
  scrollbar-width: none;
}

.slider__track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border-radius: var(--radius);
  scroll-snap-align: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card__image {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: #fff;
  cursor: zoom-in;
}

.product-card__image img {
  width: 100%;
  aspect-ratio: 1 / 0.72;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.product-card__price {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 10px 13px;
  border-radius: 12px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 22px rgba(7, 20, 38, 0.1);
  font-size: 0.9rem;
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.product-card__body {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.product-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  line-height: 1.1;
}

.product-card__meta {
  display: grid;
  gap: 14px;
}

.product-card__tag {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card__add {
  width: 100%;
  min-width: 118px;
  padding: 0 18px;
}

.product-card__order {
  display: grid;
  gap: 12px;
}

.product-stepper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid rgba(61, 111, 145, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.product-stepper button {
  height: 100%;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
}

.product-stepper span {
  min-width: 54px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
  text-align: center;
}

.product-card:hover {
  border-color: rgba(61, 111, 145, 0.36);
  box-shadow: 0 24px 58px rgba(61, 111, 145, 0.16);
  transform: translateY(-3px);
}

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

.instagram {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 26px;
  border-radius: 20px;
}

.instagram h2 {
  margin-bottom: 10px;
}

.instagram__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.instagram__grid img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--soft-shadow);
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  width: min(1160px, calc(100% - 34px));
  margin: 0 auto 34px;
  padding: 26px 0;
  color: var(--muted);
}

.footer img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
}

.footer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  letter-spacing: 0.14em;
}

.footer a {
  grid-column: 2;
  color: var(--blue-deep);
  font-weight: 900;
}

.sticky-cart {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 12px 0 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--blue-deep);
  box-shadow: 0 16px 36px rgba(36, 77, 104, 0.28);
  font-weight: 900;
  cursor: pointer;
}

.sticky-cart__total {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-deep);
  background: #d7b46a;
  font-size: 1.05rem;
}

.sticky-cart.is-empty {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.fly-item {
  position: fixed;
  z-index: 120;
  width: 74px;
  height: 74px;
  pointer-events: none;
  border: 2px solid #fff;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(36, 77, 104, 0.22);
  transition: transform 0.72s cubic-bezier(0.2, 0.78, 0.2, 1), opacity 0.72s ease;
}

.bottom-nav {
  position: fixed;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 44;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(36, 77, 104, 0.16);
  backdrop-filter: blur(18px);
}

.bottom-nav a,
.bottom-nav button {
  display: grid;
  min-height: 54px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--blue-deep);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 0.95;
  text-align: center;
}

.bottom-nav .is-active {
  color: #fff;
  background: var(--blue-deep);
}

.product-modal {
  width: min(920px, calc(100% - 26px));
  max-height: min(860px, calc(100dvh - 26px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  background: var(--paper-solid);
  box-shadow: 0 40px 120px rgba(7, 20, 38, 0.28);
}

.product-modal::backdrop {
  background: rgba(7, 20, 38, 0.38);
  backdrop-filter: blur(12px);
}

.product-modal[open] {
  display: grid;
}

.product-modal img {
  width: 100%;
  max-height: 48dvh;
  object-fit: cover;
}

.product-modal__copy {
  padding: 24px;
}

.product-modal__copy h2 {
  font-size: clamp(2rem, 8vw, 4rem);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 22px rgba(36, 77, 104, 0.12);
  font-size: 0.72rem;
  font-weight: 900;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
  pointer-events: none;
}

.cart-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(7, 20, 38, 0.34);
  backdrop-filter: blur(10px);
  transition: opacity 0.3s ease;
}

.cart-drawer.is-open .cart-drawer__backdrop {
  opacity: 1;
}

.cart-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  max-height: 92dvh;
  flex-direction: column;
  gap: 16px;
  overflow: auto;
  padding: 22px 18px 30px;
  border-radius: 22px 22px 0 0;
  transform: translateY(100%);
  transition: transform 0.36s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cart-drawer.is-open .cart-panel {
  transform: translateY(0);
}

.cart-panel__head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.cart-panel__head h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

.cart-panel .modal-close {
  position: static;
  flex: 0 0 auto;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.cart-item img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.cart-item__price {
  color: var(--blue-deep);
  font-size: 0.84rem;
  font-weight: 900;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.quantity {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px;
  border-radius: 999px;
  background: var(--blue-soft);
}

.quantity button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.quantity span {
  min-width: 20px;
  text-align: center;
  font-weight: 900;
}

.remove-item {
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.item-note {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 40px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  resize: vertical;
}

.empty-cart {
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(61, 111, 145, 0.28);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.52);
  line-height: 1.55;
}

.checkout-form {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 900;
}

.checkout-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  outline: none;
}

.checkout-form input:focus,
.item-note:focus {
  border-color: rgba(61, 111, 145, 0.54);
  box-shadow: 0 0 0 4px rgba(61, 111, 145, 0.12);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 4px;
  font-weight: 900;
}

.cart-total strong {
  color: var(--blue-deep);
  font-size: 1.3rem;
}

.checkout-button {
  width: 100%;
}

.success-screen {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  visibility: hidden;
  place-items: center;
  padding: 26px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(24px);
  transition: opacity 0.26s ease, visibility 0.26s ease;
}

.success-screen.is-open {
  visibility: visible;
  opacity: 1;
}

.success-screen div {
  width: min(360px, 100%);
  padding: 34px 24px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--paper-solid);
  box-shadow: var(--shadow);
  text-align: center;
}

.success-screen img {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  border-radius: 27px;
  object-fit: cover;
}

.success-screen h2 {
  margin-bottom: 8px;
  font-size: 2.1rem;
}

.success-screen p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

@media (max-width: 759px) {
  .cursor-glow {
    display: none;
  }

  .nav {
    min-height: 64px;
    padding: 9px 24px;
  }

  .nav__brand img {
    width: 42px;
    height: 42px;
  }

  .nav__button {
    min-height: 40px;
    padding: 0 18px;
    font-size: 0.72rem;
  }

  .hero {
    width: min(100% - 60px, 680px);
    padding: 34px 0 48px;
  }

  .hero__content {
    padding-bottom: 28px;
  }

  h1 {
    max-width: 360px;
    font-size: clamp(4rem, 18vw, 5.8rem);
  }

  .hero__content > p:not(.eyebrow) {
    max-width: 360px;
    font-size: 1.2rem;
  }

  .section {
    width: min(100% - 34px, 420px);
    padding: 44px 0;
  }

  .pickup-summary {
    width: min(100% - 34px, 420px);
    margin: -18px auto 30px;
    padding: 18px;
    border-radius: 24px;
  }

  .pickup-card {
    width: min(100% - 34px, 420px);
    margin-bottom: 46px;
    padding: 28px 24px;
    border-radius: 24px;
  }

  .pickup-card__actions {
    display: grid;
  }

  .pickup-map iframe {
    height: 230px;
  }

  .footer {
    margin-bottom: 118px;
  }

  .instagram-panel {
    width: min(100% - 34px, 420px);
    margin-bottom: 46px;
    padding: 24px;
    border-radius: 24px;
  }

  .menu {
    padding-top: 34px;
  }

  .slider__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card {
    border-radius: 18px;
  }

  .product-card__image img {
    aspect-ratio: 1 / 0.9;
  }

  .product-card__price {
    right: 8px;
    bottom: 8px;
    padding: 7px 9px;
    border-radius: 10px;
    font-size: 0.76rem;
  }

  .product-card__body {
    gap: 12px;
    padding: 12px;
  }

  .product-card__tag {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .product-card h3 {
    font-size: 1rem;
  }

  .product-card p {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .product-card__meta {
    gap: 10px;
  }

  .product-card__meta strong {
    font-size: 0.9rem;
  }

  .product-stepper {
    min-height: 38px;
  }

  .product-stepper span {
    min-width: 34px;
    font-size: 0.92rem;
  }

  .product-stepper button {
    font-size: 1rem;
  }

  .product-card__add {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.7rem;
  }

  .section__head {
    align-items: flex-start;
  }

  .section__head h2 {
    font-size: 2.7rem;
  }

  .category-pills {
    padding-bottom: 12px;
  }

  .product-card {
    box-shadow: 0 14px 34px rgba(36, 77, 104, 0.1);
  }

  .sticky-cart {
    right: 28px;
    bottom: 92px;
    min-height: 50px;
  }

  .product-modal {
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .product-modal[open] {
    grid-template-rows: 56dvh 1fr;
  }

  .product-modal img {
    height: 100%;
    max-height: none;
  }

  .product-modal__copy {
    display: grid;
    align-content: center;
  }
}

@keyframes loaderPulse {
  0%,
  100% {
    transform: translateY(0) scale(0.98);
  }
  50% {
    transform: translateY(-8px) scale(1.04);
  }
}

@media (min-width: 760px) {
  .nav {
    padding-inline: max(34px, calc((100vw - 1160px) / 2));
  }

  .nav__brand span,
  .nav__links {
    display: inline-flex;
  }

  .nav__links {
    gap: 20px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
  }

  .hero {
    grid-template-columns: minmax(0, 0.84fr) minmax(360px, 0.9fr);
    align-items: center;
    gap: 42px;
    padding-block: 70px;
  }

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

  .slider__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .instagram {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    padding: 36px;
  }

  .footer {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    margin-bottom: 40px;
  }

  .footer a {
    grid-column: auto;
  }

  .bottom-nav {
    display: none;
  }

  .sticky-cart {
    right: 24px;
    bottom: 24px;
  }

  .product-modal[open] {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .product-modal img {
    height: 100%;
    max-height: none;
  }

  .product-modal__copy {
    display: grid;
    align-content: center;
    padding: 38px;
  }

  .cart-panel {
    top: 18px;
    right: 18px;
    bottom: 18px;
    left: auto;
    width: min(460px, calc(100% - 36px));
    max-height: none;
    border-radius: 34px;
    transform: translateX(110%);
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
