.page {
  min-height: 100vh;
}

/* Nav */
.nav {
  position: fixed;
  inset: var(--strip-h) 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(1rem, 3vw, 2rem);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.nav--solid,
.nav--scrolled {
  background: rgba(255, 245, 247, 0.88);
  backdrop-filter: blur(14px);
}

.nav--scrolled {
  box-shadow: 0 8px 30px rgba(255, 107, 138, 0.08);
}

.nav__brand {
  justify-self: center;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--pink-deep);
}

.nav__links {
  display: none;
  gap: 1.35rem;
  justify-self: start;
}

.nav__links button,
.nav__search,
.nav__cart {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav__links button:hover,
.nav__search:hover,
.nav__cart:hover {
  color: var(--pink-deep);
}

.nav__actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.nav__search {
  display: none;
}

.nav__cart {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav__cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--pink);
  color: white;
  border-radius: 999px;
}

.nav__menu {
  justify-self: start;
  width: 1.85rem;
  height: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav__menu span {
  display: block;
  height: 2.5px;
  background: var(--ink);
  border-radius: 99px;
}

@media (min-width: 640px) {
  .nav__search {
    display: inline;
  }
}

@media (min-width: 900px) {
  .nav__menu {
    display: none;
  }
  .nav__links {
    display: flex;
  }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: calc(var(--strip-h) + var(--nav-h)) 0 0;
  z-index: 40;
  background: rgba(255, 245, 247, 0.97);
  backdrop-filter: blur(16px);
  padding: 1.75rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: 0.3s var(--ease);
  overflow: auto;
}

.drawer--open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.drawer__nav button {
  font-family: var(--font-display);
  font-size: 1.85rem;
  text-align: left;
  color: var(--ink);
}

.drawer__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.drawer__cats button {
  padding: 0.4rem 0.75rem;
  background: white;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: soft-zoom 16s var(--ease) forwards;
}

@keyframes soft-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 14, 12, 0.08) 0%, rgba(12, 10, 10, 0.6) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--pink) 32%, transparent) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: calc(var(--strip-h) + var(--nav-h) + 2rem) clamp(1.25rem, 5vw, 3.5rem) clamp(3rem, 8vh, 4.5rem);
  max-width: 36rem;
  color: var(--cream);
  animation: pop-in 0.85s var(--ease) 0.1s both;
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 0.85rem;
  color: #fff;
  text-shadow: 0 8px 30px rgba(240, 78, 114, 0.35);
}

.hero__title {
  font-size: clamp(1.55rem, 3.4vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
  max-width: 14ch;
  margin-bottom: 0.85rem;
}

.hero__lead {
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 248, 245, 0.9);
  max-width: 34ch;
  margin-bottom: 1.5rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--cream {
  background: var(--cream);
  color: var(--pink-deep);
  box-shadow: 0 10px 24px rgba(61, 44, 41, 0.12);
}

.btn--ghost {
  border: 1.5px solid rgba(255, 248, 245, 0.65);
  color: var(--cream);
}

.btn--ghost:hover {
  background: rgba(255, 248, 245, 0.12);
}

.btn--ghost-dark {
  border: 1.5px solid var(--line);
  color: var(--ink);
}

.btn--pink {
  background: var(--pink);
  color: white;
  box-shadow: 0 10px 24px rgba(255, 107, 138, 0.28);
}

.btn--pink:hover {
  background: var(--pink-deep);
}

.btn--mini {
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  background: var(--ink);
  color: white;
  border-radius: 999px;
}

.btn--mini:hover,
.btn--mini.is-added {
  background: var(--pink);
}

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

.btn--lg {
  padding: 1rem 1.4rem;
}

.text-link {
  font-weight: 700;
  color: var(--pink-deep);
  border-bottom: 2px solid currentColor;
  padding-bottom: 0.1rem;
  align-self: flex-end;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 9vh, 5.5rem) clamp(1.25rem, 4vw, 3rem);
}

.section__head {
  margin-bottom: 2rem;
  max-width: 34rem;
}

.section__head--row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  max-width: none;
}

.section__head h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 0.45rem;
}

.section__head p {
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.5;
}

/* Categories */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.cat {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0.7rem;
  padding: 0.7rem;
  border-radius: var(--radius);
  animation: pop-in 0.65s var(--ease) both;
  transition: transform 0.3s var(--ease);
}

.cat:hover {
  transform: translateY(-4px);
}

.cat__media {
  display: block;
  aspect-ratio: 1.15;
  overflow: hidden;
  border-radius: calc(var(--radius) - 0.35rem);
}

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

.cat:hover .cat__media img {
  transform: scale(1.07);
}

.cat__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  display: block;
}

.cat__desc {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Favorites */
.favorites {
  background: linear-gradient(160deg, #3d2c29 0%, #5c4038 55%, #4a3330 100%);
  color: var(--cream);
  border-radius: 2rem 2rem 0 0;
}

.favorites .section__head p,
.favorites .meta,
.favorites .flavors {
  color: rgba(255, 248, 245, 0.7);
}

.favorites .text-link {
  color: #ffb3c4;
}

.fav-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 1.1rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
}

@media (min-width: 1100px) {
  .fav-rail {
    grid-auto-flow: unset;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
  }
}

.fav-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.fav-card__media,
.product__media,
.detail__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.fav-card__media img,
.product__media img,
.detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

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

.fav-card h3,
.product h3 {
  font-size: 1.3rem;
  margin: 0.2rem 0 0.3rem;
}

.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.72rem;
  font-weight: 750;
  padding: 0.35rem 0.65rem;
  background: var(--mint);
  color: var(--cocoa);
  border-radius: 999px;
}

.meta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.flavors {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.product__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.price,
.detail__price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

/* Menu */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 2rem;
}

.filters button {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 999px;
  background: white;
  color: var(--ink-soft);
  border: 1px solid transparent;
  transition: 0.2s;
}

.filters button:hover {
  border-color: var(--pink);
  color: var(--pink-deep);
}

.filters button.is-active {
  background: var(--pink);
  color: white;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.25rem;
}

@media (min-width: 560px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product__media {
  margin-bottom: 0.85rem;
  background: white;
}

.empty {
  grid-column: 1 / -1;
  color: var(--muted);
  font-weight: 500;
}

/* Studio */
.studio {
  display: grid;
  min-height: min(62vh, 560px);
}

@media (min-width: 860px) {
  .studio {
    grid-template-columns: 1fr 1.1fr;
  }
}

.studio__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(2.5rem, 7vw, 4rem);
  background: linear-gradient(145deg, #ffe0ea, #fff3e8);
}

.studio__copy h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
}

.studio__copy p {
  max-width: 30ch;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.6;
}

.studio__copy .btn {
  align-self: flex-start;
}

.studio__visual {
  min-height: 260px;
  overflow: hidden;
}

.studio__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: soft-zoom 18s var(--ease) infinite alternate;
}

/* Footer */
.footer {
  padding: 3rem clamp(1.25rem, 4vw, 3rem) 1.75rem;
  display: grid;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid var(--line);
}

@media (min-width: 800px) {
  .footer {
    grid-template-columns: 1.2fr 2fr;
  }
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--pink-deep);
  margin-bottom: 0.5rem;
}

.footer__brand p:last-child {
  color: var(--muted);
  font-weight: 500;
  max-width: 28ch;
}

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

.footer__cols h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
}

.footer__cols button,
.footer__cols span {
  display: block;
  text-align: left;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.footer__legal {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: var(--muted);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* Page shell + detail */
.page-shell {
  padding: calc(var(--nav-h) + 1.75rem) clamp(1.25rem, 4vw, 3rem) 3.5rem;
  min-height: 70vh;
  animation: pop-in 0.55s var(--ease) both;
}

.empty-state {
  max-width: 28rem;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.empty-state h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.empty-state p {
  color: var(--ink-soft);
  font-weight: 500;
}

.empty-state .btn,
.empty-state--inline .btn {
  align-self: flex-start;
}

.empty-state--inline {
  padding: 0.5rem 0 2rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover {
  color: var(--pink-deep);
}

.detail {
  display: grid;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 860px) {
  .detail {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.detail__info h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin: 0.35rem 0 0.65rem;
}

.detail__price {
  font-size: 1.55rem;
  margin-bottom: 1rem;
  color: var(--pink-deep);
}

.detail__desc {
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 1.5rem;
}

.detail__flavors h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
}

.detail__flavors ul {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.detail__flavors li {
  padding: 0.4rem 0.75rem;
  background: white;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

.detail__buy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: white;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
}

.qty-control button {
  width: 1.4rem;
  font-size: 1.1rem;
}

.related h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 1.25rem;
}

.related__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 720px) {
  .related__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.related__item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.related__item img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius);
  background: white;
}

.related__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.related__price {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.search-page h1,
.checkout-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

/* Overlays */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(61, 44, 41, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.overlay--open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  width: min(100%, 400px);
  height: 100%;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}

.cart-drawer--open {
  transform: none;
}

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

.cart-drawer__head h2 {
  font-size: 1.45rem;
}

.icon-btn {
  font-size: 1.7rem;
  line-height: 1;
  color: var(--muted);
}

.cart-drawer__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem 1.25rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.cart-drawer__empty[hidden] {
  display: none;
}

.cart-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  overflow: auto;
  flex: 1;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.cart-line__media {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.85rem;
}

.cart-line__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line__body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.cart-line__body p {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.cart-line__qty {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: white;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  font-weight: 700;
}

.cart-line__remove {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.cart-drawer__foot {
  padding: 1.15rem 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-drawer__sub {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.cart-drawer__sub strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: start center;
  padding: 14vh 1.25rem 2rem;
  animation: pop-in 0.3s var(--ease) both;
}

.search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(61, 44, 41, 0.4);
  backdrop-filter: blur(5px);
}

.search-modal__panel {
  position: relative;
  width: min(100%, 520px);
  background: var(--cream);
  border-radius: 1.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.search-modal__panel input {
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--pink);
  background: transparent;
  font-family: var(--font-display);
  font-size: 1.55rem;
  padding: 0.45rem 0;
  outline: none;
  color: var(--ink);
}

.search-modal__actions {
  display: flex;
  gap: 0.55rem;
}

.search-modal__hint {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

/* Checkout */
.checkout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .checkout {
    grid-template-columns: 1.2fr 0.9fr;
    align-items: start;
  }
}

.checkout__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.checkout__form fieldset {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkout__form legend {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.checkout__form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.checkout__form input {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  background: white;
  border-radius: 0.85rem;
  outline: none;
}

.checkout__form input:focus {
  border-color: var(--pink);
}

.form-row {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 560px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.checkout__demo {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.checkout__summary {
  background: white;
  border-radius: var(--radius);
  padding: 1.35rem;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

.checkout__summary-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.checkout__summary h2 {
  font-size: 1.4rem;
}

.checkout__summary ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.checkout__summary li {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.65rem;
  align-items: center;
}

.checkout__summary li img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 0.75rem;
}

.checkout__summary li p {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.checkout__summary li span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.checkout__totals {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.checkout__totals > div {
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
}

.checkout__total {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.3rem !important;
  color: var(--ink) !important;
}

.checkout-success {
  max-width: 32rem;
  padding: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.checkout-success h1 {
  font-size: clamp(2.3rem, 5vw, 3.2rem);
}

.checkout-success p {
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.55;
}

.checkout-success .btn {
  align-self: flex-start;
  margin-top: 0.35rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img,
  .studio__visual img,
  .cat,
  .hero__content,
  .page-shell,
  .search-modal {
    animation: none;
  }
}
