:root {
  color-scheme: dark;
  --ink: #191c1b;
  --ink-soft: #202422;
  --surface: #242826;
  --surface-raised: #2b302d;
  --paper: #f1ece1;
  --muted: #bbb5a8;
  --line: rgba(232, 218, 186, .16);
  --gold: #d5b77c;
  --gold-bright: #e6ce9e;
  --danger: #e7a398;
  --success: #a6cdb5;
  --display-font: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body-font: "Aptos", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  position: relative;
  min-height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 85% 8%, rgba(186, 148, 79, .08), transparent 32rem),
    var(--ink);
  color: var(--paper);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.6;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--paper);
  font-family: var(--display-font);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 em,
h2 em {
  color: var(--gold);
  font-weight: 400;
}

p {
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

a:hover {
  color: var(--gold-bright);
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
}

.container {
  max-width: 1320px;
}

.page-content {
  padding-top: 1.75rem;
  padding-bottom: 4.5rem;
}

.page-feedback {
  padding-top: .8rem;
}

.page-feedback:empty {
  display: none;
}

.page-feedback .alert {
  margin-bottom: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--paper);
}

.alert-success {
  border-color: rgba(166, 205, 181, .35) !important;
  background: rgba(54, 91, 68, .38) !important;
}

.alert-warning {
  border-color: rgba(213, 183, 124, .38) !important;
  background: rgba(111, 82, 39, .35) !important;
}

.btn-close {
  filter: invert(1) grayscale(1);
}

/* Navigation */
.store-nav {
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  background: rgba(22, 25, 24, .96);
}

.store-nav > .container {
  gap: 1rem;
}

.store-nav a.brand-lockup.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  margin-right: 2.25rem;
  color: var(--paper);
  text-align: left;
  white-space: normal;
  word-break: normal;
  font-size: .94rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.05;
}

.brand-lockup small {
  display: block;
  margin-top: .28rem;
  color: var(--muted);
  font-size: .56rem;
  font-weight: 500;
  letter-spacing: .22em;
}

.brand-mark {
  display: inline-grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(213, 183, 124, .65);
  border-radius: 50%;
  color: var(--gold-bright);
  font-family: var(--display-font);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0;
}

.store-nav .navbar-nav {
  gap: .2rem;
}

.store-nav .nav-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: .5rem .8rem;
  color: var(--muted);
  font-size: .91rem;
}

.store-nav .nav-link:hover,
.store-nav .nav-link:focus-visible {
  color: var(--gold-bright);
}

.nav-actions,
.account-actions {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.store-nav .cart-link,
.store-nav .account-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .45rem .65rem;
  color: var(--paper);
  font-size: .9rem;
}

.cart-icon {
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
}

.cart-count {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 .32rem;
  border-radius: 50%;
  background: rgba(213, 183, 124, .18);
  color: var(--gold-bright);
  font-size: .73rem;
  font-variant-numeric: tabular-nums;
}

.account-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.navbar-toggler {
  border-color: var(--line);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 .18rem rgba(213, 183, 124, .35);
}

/* Shared buttons and links */
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .68rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-size: .92rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button-gold {
  border-color: var(--gold);
  background: var(--gold);
  color: #1d201d;
}

.button-gold:hover {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
  color: #171a18;
}

.button-outline {
  border-color: rgba(213, 183, 124, .55);
  background: transparent;
  color: var(--gold-bright);
}

.button-outline:hover {
  border-color: var(--gold);
  background: rgba(213, 183, 124, .1);
  color: var(--gold-bright);
}

.button-quiet {
  border-color: var(--line);
  background: transparent;
  color: var(--paper);
}

.button-quiet:hover {
  border-color: rgba(213, 183, 124, .45);
  background: rgba(255, 255, 255, .04);
  color: var(--gold-bright);
}

.button-danger {
  border-color: rgba(231, 163, 152, .5);
  background: rgba(132, 56, 48, .28);
  color: #ffd4cc;
}

.button-danger:hover {
  border-color: var(--danger);
  background: rgba(132, 56, 48, .5);
  color: #fff0ec;
}

.button-compact {
  min-height: 38px;
  padding: .5rem .8rem;
  font-size: .84rem;
}

.button-full {
  width: 100%;
}

.back-link,
.text-link,
.clear-filter {
  color: var(--gold-bright);
  font-size: .92rem;
}

.back-link:hover,
.text-link:hover,
.clear-filter:hover {
  color: #f3dfb8;
}

.text-link span,
.button span[aria-hidden="true"] {
  display: inline-block;
  transition: transform .18s ease;
}

.text-link:hover span,
.button:hover span[aria-hidden="true"] {
  transform: translateX(3px);
}

/* Storefront hero */
.cinema-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, .8fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  min-height: 410px;
  margin: .4rem 0 4rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 48%, rgba(185, 146, 75, .14), transparent 19rem),
    linear-gradient(112deg, #242724, #1d211f 66%, #191c1b);
}

.cinema-hero::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(transparent, var(--gold), transparent);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 .85rem;
  color: var(--gold);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero-copy h1 {
  margin-bottom: 1.15rem;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: .99;
}

.hero-description {
  max-width: 46ch;
  margin-bottom: 1.55rem;
  font-size: 1.05rem;
}

.hero-art {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(213, 183, 124, .28);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(213, 183, 124, .13), rgba(27, 30, 28, .08) 38%, transparent 69%);
}

.hero-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82%;
  height: 42%;
  border: 1px solid rgba(213, 183, 124, .42);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-32deg);
}

.orbit-two {
  width: 56%;
  height: 92%;
  border-color: rgba(213, 183, 124, .2);
  transform: translate(-50%, -50%) rotate(26deg);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 206, 158, .25), rgba(213, 183, 124, .04) 55%, transparent 70%);
  transform: translate(-50%, -50%);
}

.hero-caption {
  position: absolute;
  right: 12%;
  bottom: 15%;
  left: 12%;
  display: flex;
  align-items: end;
  justify-content: space-between;
  color: var(--gold-bright);
  font-size: .68rem;
  letter-spacing: .16em;
}

.hero-caption b {
  color: var(--muted);
  font-size: .62rem;
  font-weight: 500;
}

.hero-index {
  position: absolute;
  right: 1.5rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--muted);
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
}

.hero-index span:first-child {
  color: var(--gold-bright);
}

.index-rule {
  width: 38px;
  height: 1px;
  background: var(--line);
}

/* Catalog and movie cards */
.catalog-section {
  margin-bottom: 4.5rem;
}

.section-heading,
.page-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.7rem;
}

.section-heading h2,
.page-heading-row h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.2vw, 2.85rem);
}

.section-heading .eyebrow,
.page-heading-row .eyebrow {
  margin-bottom: .55rem;
}

.muted-count,
.page-intro {
  color: var(--muted);
  font-size: .9rem;
}

.page-intro {
  max-width: 56ch;
  margin: .75rem 0 0;
}

.catalog-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 250px) auto auto;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.6rem;
}

.search-box,
.genre-filter {
  position: relative;
  display: block;
}

.search-box input,
.genre-filter select {
  width: 100%;
  min-height: 46px;
  padding: .65rem .8rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background-color: #202422;
  color: var(--paper);
}

.search-box input {
  padding-left: 2.45rem;
}

.search-box input::placeholder,
.form-control::placeholder {
  color: #aaa496;
  opacity: 1;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: .85rem;
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-55%);
}

.catalog-filters input:focus,
.catalog-filters select:focus {
  border-color: var(--gold);
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(213, 183, 124, .16);
}

.clear-filter {
  padding: .55rem .35rem;
  white-space: nowrap;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
}

.movie-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(38, 42, 39, .96), rgba(29, 32, 30, .96));
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #151817;
}

.movie-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.movie-card:hover .movie-poster {
  transform: scale(1.035);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 13, .22), transparent 35%, rgba(12, 14, 13, .64));
  pointer-events: none;
}

.poster-label,
.poster-year {
  position: absolute;
  z-index: 1;
  color: #fff8e9;
  font-size: .65rem;
  letter-spacing: .13em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}

.poster-label {
  top: .9rem;
  left: .9rem;
}

.poster-label span {
  color: var(--gold-bright);
}

.poster-year {
  right: .9rem;
  bottom: .85rem;
  font-variant-numeric: tabular-nums;
}

.movie-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.1rem 1.15rem 1.2rem;
}

.movie-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .55rem;
  color: var(--muted);
  font-size: .76rem;
}

.star-rating {
  color: var(--gold-bright);
  font-size: .83rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.movie-card h3 {
  margin-bottom: .6rem;
  font-size: clamp(1.28rem, 1.8vw, 1.55rem);
}

.movie-card h3 a:hover,
.cart-line-info h2 a:hover {
  color: var(--gold-bright);
}

.movie-summary {
  display: -webkit-box;
  min-height: 4.5em;
  margin-bottom: 1.15rem;
  overflow: hidden;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.movie-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}

.movie-price {
  color: var(--paper);
  font-size: 1.25rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.movie-price small,
.summary-total small,
.cart-line-total small {
  color: var(--muted);
  font-size: .68em;
  font-weight: 500;
}

.add-to-cart,
.quantity-submit {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .5rem .8rem;
  border: 1px solid rgba(213, 183, 124, .48);
  border-radius: 2px;
  background: transparent;
  color: var(--gold-bright);
  cursor: pointer;
  font-size: .85rem;
  font-weight: 650;
}

.add-to-cart:hover,
.quantity-submit:hover {
  border-color: var(--gold);
  background: rgba(213, 183, 124, .12);
  color: #f5dfb2;
}

.card-manage-links {
  display: flex;
  gap: 1rem;
  margin-top: .8rem;
  padding-top: .7rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}

.card-manage-links a:hover {
  color: var(--gold-bright);
}

.editorial-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.editorial-symbol {
  color: var(--gold);
  font-size: 2.4rem;
}

.editorial-strip .eyebrow {
  margin-bottom: .35rem;
}

.editorial-strip h2 {
  max-width: 38ch;
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

/* Details and genre pages */
.breadcrumb-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin: .2rem 0 1.5rem;
  color: var(--muted);
  font-size: .83rem;
}

.breadcrumb-line a {
  color: var(--gold-bright);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 1100px;
  margin: 0 auto;
}

.detail-poster-wrap {
  width: 100%;
  max-width: 390px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #151817;
  box-shadow: 18px 20px 50px rgba(0, 0, 0, .22);
}

.detail-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-copy {
  padding: 1rem 0;
}

.detail-copy h1 {
  margin: .25rem 0 .9rem;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.detail-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  color: var(--muted);
  font-size: .88rem;
}

.detail-dot {
  color: var(--gold);
}

.detail-summary {
  max-width: 62ch;
  margin: 1.5rem 0;
  color: #ded8ca;
  font-size: 1.05rem;
  line-height: 1.75;
}

.detail-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.detail-facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
}

.detail-facts dt {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 400;
}

.detail-facts dd {
  margin: 0;
  color: var(--paper);
  text-align: right;
}

.detail-purchase {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-price {
  margin-top: .25rem;
  color: var(--gold-bright);
  font-size: 1.8rem;
}

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

.genre-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 1.3rem;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(43, 48, 45, .88), rgba(31, 35, 33, .88));
}

.genre-card-top,
.genre-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}

.genre-icon {
  color: var(--gold);
  font-size: 1.45rem;
}

.genre-count {
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .12em;
}

.genre-card h2 {
  margin: 1.3rem 0 .55rem;
  font-size: 1.65rem;
}

.genre-card p {
  margin-bottom: 1.2rem;
  font-size: .9rem;
}

.genre-card-bottom {
  margin-top: auto;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
}

/* Forms, validation and confirmations */
.form-page {
  max-width: 850px;
  margin: .5rem auto 1rem;
}

.form-page-heading {
  margin-bottom: 1.5rem;
}

.form-page-heading h1 {
  margin-bottom: .65rem;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
}

.form-page-heading p:last-child {
  max-width: 60ch;
  margin-bottom: 0;
}

.editor-form {
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(37, 41, 38, .97), rgba(30, 33, 31, .97));
}

.genre-form {
  max-width: 680px;
}

.checkout-form {
  min-width: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.25rem;
}

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

.field-wide {
  grid-column: 1 / -1;
}

.field-group {
  min-width: 0;
  margin-bottom: 1rem;
}

.field-group label {
  display: inline-block;
  margin-bottom: .45rem;
  color: #e8e1d4;
  font-size: .9rem;
  font-weight: 600;
}

.form-control,
.form-select,
.search-box input,
.genre-filter select {
  min-height: 48px;
  border: 1px solid rgba(232, 218, 186, .24);
  border-radius: 2px;
  background-color: #1b1f1d;
  color: var(--paper);
  font-size: 1rem;
}

.form-control,
.form-select {
  padding: .7rem .8rem;
}

textarea.form-control {
  min-height: 112px;
  resize: vertical;
}

input[type="file"].form-control {
  min-height: 52px;
  padding: .4rem;
}

input[type="file"]::file-selector-button {
  min-height: 38px;
  margin-right: .7rem;
  padding: .35rem .7rem;
  border: 0;
  border-radius: 2px;
  background: rgba(213, 183, 124, .18);
  color: var(--gold-bright);
  cursor: pointer;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  background-color: #1d211f;
  color: var(--paper);
  box-shadow: 0 0 0 .2rem rgba(213, 183, 124, .16);
}

.form-select option,
.genre-filter option {
  background: #202422;
  color: var(--paper);
}

.form-control::file-selector-button {
  color: var(--paper);
}

.input-suffix {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(232, 218, 186, .24);
  border-radius: 2px;
  background: #1b1f1d;
}

.input-suffix .form-control {
  min-width: 0;
  border: 0;
  background: transparent;
}

.input-suffix > span {
  display: inline-flex;
  align-items: center;
  padding: 0 .85rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}

.field-hint {
  display: block;
  margin-top: .45rem;
  color: var(--muted);
  font-size: .82rem;
}

.field-error,
.text-danger {
  display: block;
  margin-top: .35rem;
  color: var(--danger) !important;
  font-size: .84rem;
}

.field-error:empty {
  display: none;
}

.validation-summary:not(:empty) {
  margin-bottom: 1rem;
  padding: .7rem .9rem;
  border-left: 3px solid var(--danger);
  background: rgba(132, 56, 48, .2);
  color: #ffd4cc;
}

.validation-summary ul {
  margin: 0;
  padding-left: 1.25rem;
}

.form-actions,
.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.35rem;
}

.form-current-poster {
  display: block;
  width: 116px;
  aspect-ratio: 2 / 3;
  margin-top: .8rem;
  border: 1px solid var(--line);
  object-fit: cover;
}

.confirm-page,
.success-page {
  max-width: 680px;
  margin: 2rem auto;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at top, rgba(213, 183, 124, .08), transparent 65%), var(--ink-soft);
  text-align: center;
}

.confirm-icon,
.success-symbol {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 auto 1rem;
  border: 1px solid rgba(213, 183, 124, .5);
  border-radius: 50%;
  color: var(--gold-bright);
  font-family: var(--display-font);
  font-size: 1.6rem;
}

.confirm-icon {
  border-color: rgba(231, 163, 152, .5);
  color: var(--danger);
}

.confirm-page h1,
.success-page h1 {
  margin-bottom: .9rem;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.confirm-page > p:not(.eyebrow),
.success-copy {
  max-width: 54ch;
  margin: 0 auto 1.4rem;
}

.confirm-actions {
  justify-content: center;
}

/* Cart and checkout */
.cart-heading {
  align-items: center;
  margin-bottom: 1.8rem;
}

.cart-heading h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  align-items: start;
  gap: clamp(1.2rem, 3vw, 2rem);
}

.cart-items {
  min-width: 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.cart-line:last-child {
  border-bottom: 1px solid var(--line);
}

.cart-poster {
  display: block;
  width: 92px;
  aspect-ratio: 2 / 3;
  border: 1px solid var(--line);
  background: #151817;
  object-fit: cover;
}

.cart-line-info .eyebrow {
  margin-bottom: .4rem;
  font-size: .62rem;
}

.cart-line-info h2 {
  margin-bottom: .45rem;
  font-size: 1.35rem;
}

.cart-unit-price {
  color: var(--muted);
  font-size: .85rem;
}

.cart-line-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .7rem;
}

.quantity-form {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.quantity-form input {
  width: 70px;
  min-height: 44px;
  padding: .35rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #1b1f1d;
  color: var(--paper);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.quantity-submit {
  min-height: 42px;
  padding: .45rem .6rem;
  font-size: .79rem;
}

.cart-line-total {
  min-width: 94px;
  color: var(--paper);
  font-size: .94rem;
  font-weight: 650;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.remove-link {
  min-height: 40px;
  padding: .4rem .3rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: .79rem;
}

.remove-link:hover {
  color: var(--danger);
}

.order-summary,
.checkout-summary {
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #262a27, #202422);
}

.order-summary h2,
.checkout-summary h2 {
  margin-bottom: 1.15rem;
  font-size: 1.5rem;
}

.summary-row,
.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.summary-row {
  padding: .55rem 0;
  color: var(--muted);
  font-size: .87rem;
}

.summary-total {
  margin: .8rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--paper);
}

.summary-total strong {
  color: var(--gold-bright);
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.secure-note {
  margin: .8rem 0 0;
  color: var(--muted);
  font-size: .8rem;
}

.cart-empty {
  margin: 2rem auto;
}

.empty-state {
  padding: 2.2rem 1.2rem;
  border: 1px dashed rgba(232, 218, 186, .23);
  text-align: center;
}

.empty-icon {
  margin-bottom: .6rem;
  color: var(--gold);
  font-size: 2rem;
}

.empty-state h3 {
  margin-bottom: .5rem;
  font-size: 1.6rem;
}

.empty-state p {
  margin-bottom: 1rem;
}

.checkout-heading {
  margin: .5rem 0 1.5rem;
}

.checkout-heading h1 {
  margin-bottom: .6rem;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.checkout-heading > p:last-child {
  margin-bottom: 0;
}

.checkout-step {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin-bottom: 1.3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.checkout-step > span {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(213, 183, 124, .48);
  color: var(--gold-bright);
  font-size: .78rem;
  font-variant-numeric: tabular-nums;
}

.checkout-step h2 {
  margin: .12rem 0 .3rem;
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
}

.checkout-step p {
  margin: 0;
  font-size: .84rem;
}

.checkout-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
}

.checkout-item img {
  display: block;
  width: 52px;
  aspect-ratio: 2 / 3;
  border: 1px solid var(--line);
  background: #151817;
  object-fit: cover;
}

.checkout-item strong,
.checkout-item span {
  display: block;
}

.checkout-item strong {
  color: var(--paper);
  font-size: .87rem;
  line-height: 1.35;
}

.checkout-item span {
  margin-top: .18rem;
  color: var(--muted);
  font-size: .75rem;
}

.checkout-item b {
  color: var(--paper);
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.checkout-submit {
  margin-top: .4rem;
}

.checkout-summary .text-link {
  display: inline-block;
  min-height: 44px;
  padding-top: .5rem;
}

.success-page {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.success-copy strong {
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

.email-status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 auto 1.3rem;
  padding: .6rem .8rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .87rem;
}

.email-sent {
  border-color: rgba(166, 205, 181, .35);
  color: var(--success);
}

/* Footer */
.store-footer {
  flex: 0 0 auto;
  padding: 1.7rem 0 1.2rem;
  border-top: 1px solid var(--line);
  background: rgba(18, 21, 20, .76);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--paper);
  font-family: var(--display-font);
  font-size: 1.1rem;
}

.footer-brand .brand-mark {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  font-size: 1rem;
}

.store-footer p {
  margin: .55rem 0 1rem;
  font-size: .86rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
  color: #aaa496;
  font-size: .74rem;
}

/* Responsive layouts */
@media (max-width: 991.98px) {
  .store-nav .navbar-collapse {
    padding-top: .75rem;
  }

  .store-nav .navbar-nav {
    align-items: flex-start;
  }

  .nav-actions {
    flex-wrap: wrap;
    padding: .35rem 0 .25rem;
  }

  .cinema-hero {
    grid-template-columns: minmax(0, 1fr) minmax(210px, .72fr);
  }

  .cart-layout,
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  }

  .cart-line {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .cart-poster {
    width: 78px;
  }

  .cart-line-controls {
    grid-column: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .page-content {
    padding-top: 1.25rem;
    padding-bottom: 3rem;
  }

  .cinema-hero {
    grid-template-columns: minmax(0, 1fr) minmax(150px, .58fr);
    gap: 1rem;
    min-height: 330px;
    margin-bottom: 3rem;
    padding: 2rem 1.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 8vw, 4rem);
  }

  .hero-art {
    width: min(100%, 250px);
  }

  .movie-grid,
  .genre-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-filters {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .catalog-filters .search-box {
    grid-column: 1 / -1;
  }

  .catalog-filters .button,
  .catalog-filters .clear-filter {
    justify-self: start;
  }

  .detail-layout {
    grid-template-columns: minmax(180px, .65fr) minmax(0, 1fr);
    gap: 1.5rem;
  }

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

  .order-summary,
  .checkout-summary {
    width: 100%;
  }

  .editorial-strip {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .editorial-strip > .text-link {
    grid-column: 2;
  }
}

@media (max-width: 575.98px) {
  .store-nav {
    padding: .55rem 0;
  }

  .store-nav a.brand-lockup.navbar-brand {
    margin-right: .5rem;
    font-size: .82rem;
  }

  .brand-mark {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .nav-actions,
  .account-actions {
    gap: .35rem;
  }

  .account-link,
  .cart-link {
    padding-right: .4rem;
    padding-left: .4rem;
    font-size: .84rem;
  }

  .cinema-hero {
    display: block;
    min-height: 0;
    padding: 2rem 1.25rem 3.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 13vw, 3.55rem);
  }

  .hero-description {
    max-width: 38ch;
    font-size: .98rem;
  }

  .hero-art {
    position: absolute;
    right: -3.5rem;
    bottom: -3rem;
    width: 190px;
    opacity: .52;
  }

  .hero-copy {
    position: relative;
    z-index: 1;
  }

  .hero-index {
    right: 1rem;
    bottom: .85rem;
  }

  .section-heading,
  .page-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: .6rem;
  }

  .catalog-filters {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-filters .search-box {
    grid-column: auto;
  }

  .catalog-filters .genre-filter,
  .catalog-filters .button {
    width: 100%;
  }

  .catalog-filters .button {
    justify-self: stretch;
  }

  .movie-grid,
  .genre-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .movie-grid {
    max-width: 420px;
    margin: 0 auto;
  }

  .movie-card-content {
    padding: 1rem;
  }

  .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-poster-wrap {
    width: min(100%, 290px);
    margin: 0 auto;
  }

  .detail-copy {
    padding-top: 0;
  }

  .detail-copy h1 {
    font-size: 2.65rem;
  }

  .editorial-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: .8rem;
  }

  .editorial-strip > .text-link {
    grid-column: auto;
  }

  .form-grid,
  .two-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .field-wide {
    grid-column: auto;
  }

  .editor-form {
    padding: 1rem;
  }

  .cart-line {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: .8rem;
  }

  .cart-poster {
    width: 68px;
  }

  .cart-line-info h2 {
    font-size: 1.15rem;
  }

  .cart-line-controls {
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: .45rem;
  }

  .cart-line-total {
    min-width: auto;
  }

  .quantity-form {
    gap: .3rem;
  }

  .quantity-form input {
    width: 60px;
  }

  .footer-meta {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
