:root {
  --black: #050505;
  --near-black: #0a0a0a;
  --dark: #101010;
  --card: #151515;
  --card-2: #202020;
  --steel: #343434;
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.24);
  --red: #e11919;
  --red-dark: #8f0909;
  --red-soft: rgba(225, 25, 25, 0.16);
  --red-glow: rgba(225, 25, 25, 0.42);
  --white: #f7f3ed;
  --muted: #b6afa8;
  --muted-2: #7d7770;
  --green: #2ecc71;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.62);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  background:
    radial-gradient(circle at 50% -18%, rgba(255, 255, 255, 0.55), transparent 22rem),
    radial-gradient(circle at 10% 18%, rgba(225, 25, 25, 0.32), transparent 20rem),
    radial-gradient(circle at 92% 12%, rgba(225, 25, 25, 0.20), transparent 22rem),
    linear-gradient(145deg, #3b3b3b 0%, #111 24%, #070707 50%, #180404 76%, #3c0505 100%);
  overflow-x: hidden;
  padding-bottom: 104px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 18px),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.22));
}

body::after {
  content: '';
  position: fixed;
  inset: auto -15% 0 -15%;
  height: 34vh;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(225, 25, 25, 0.54), transparent 66%);
  filter: blur(15px);
  pointer-events: none;
}

button, input {
  font: inherit;
}

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


/* ════════════════════════════════════════════════════
   JSTYLES SHARED NAVBAR
   Works with the live nav.html file and includes a fallback nav.
   ════════════════════════════════════════════════════ */
#navbar {
  position: sticky;
  top: 0;
  z-index: 950;
  width: 100%;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 950;
  width: 100%;
  min-height: 76px;
  background:
    linear-gradient(90deg, rgba(225,25,25,0.30), transparent 24%, transparent 72%, rgba(225,25,25,0.22)),
    rgba(5,5,5,0.96);
  border-bottom: 2px solid rgba(225,25,25,0.52);
  box-shadow: 0 18px 44px rgba(0,0,0,0.42);
  backdrop-filter: blur(14px);
  transition: min-height .2s ease, background .2s ease, box-shadow .2s ease;
}

.navbar.scrolled {
  min-height: 64px;
  background: rgba(5,5,5,0.985);
  box-shadow: 0 16px 36px rgba(0,0,0,0.62);
}

.nav-container,
.nav-inner {
  width: min(1220px, calc(100% - 32px));
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo,
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.nav-logo img,
.nav-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(225,25,25,0.42));
}

.nav-logo span,
.nav-brand span {
  color: var(--red);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  list-style: none;
}

.nav-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  color: #efe8df;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .15s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #fff;
  background: rgba(225,25,25,0.18);
  border-color: rgba(225,25,25,0.48);
  transform: translateY(-1px);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 16px rgba(225,25,25,0.72);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  background: rgba(0,0,0,0.36);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--white);
  display: block;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle.open span {
  opacity: 0;
}

.nav-toggle.open::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open::after {
  transform: translateY(-7px) rotate(-45deg);
}

.page-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 32px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(120deg, rgba(225, 25, 25, 0.24), transparent 34%),
    linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.015)),
    rgba(8, 8, 8, 0.94);
  border: 2px solid var(--border-strong);
  border-top: 7px solid var(--red);
  border-radius: 14px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(225,25,25,0.20);
  padding: clamp(26px, 5vw, 56px);
  margin: 24px 0 30px;
  animation: fadeDown 0.65s ease both;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: -70px;
  width: min(48vw, 520px);
  height: 100%;
  background:
    linear-gradient(135deg, transparent 0 28%, rgba(225,25,25,0.34) 28% 43%, transparent 43% 58%, rgba(255,255,255,0.08) 58% 61%, transparent 61%);
  opacity: 0.75;
  z-index: -1;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  right: -140px;
  top: -220px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--red-glow), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.brand-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.brand-logo {
  width: clamp(105px, 14vw, 168px);
  height: auto;
  object-fit: contain;
  padding: 12px;
  background: rgba(0,0,0,0.36);
  border: 1px solid rgba(255,255,255,0.12);
  filter: drop-shadow(0 0 20px rgba(225, 25, 25, 0.50));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.035);
  filter: drop-shadow(0 0 26px rgba(225, 25, 25, 0.70));
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--red);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(225, 25, 25, 0.48);
}

.eyebrow.small {
  font-size: 11px;
  letter-spacing: 0.32em;
  margin-bottom: 7px;
}

h1, h2, h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(64px, 10vw, 126px);
  line-height: 0.78;
  letter-spacing: 0.035em;
  text-shadow: 0 10px 0 rgba(0,0,0,0.32), 0 24px 42px rgba(0,0,0,0.55);
}

h1 span, h2 span {
  color: var(--red);
}

h2 {
  font-size: clamp(31px, 4vw, 48px);
  line-height: 0.9;
  letter-spacing: 0.055em;
}

.hero-text {
  position: relative;
  max-width: 760px;
  margin-top: 22px;
  color: #eee5dc;
  line-height: 1.72;
  font-size: 15px;
  font-weight: 500;
}

.payment-note {
  position: relative;
  display: inline-block;
  margin-top: 20px;
  padding: 13px 18px;
  border: 1px solid rgba(225, 25, 25, 0.62);
  border-left: 6px solid var(--red);
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(225,25,25,0.22), rgba(0,0,0,0.28));
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 12px 34px rgba(0,0,0,0.28);
}

.payment-note strong {
  color: #fff;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}

.main-order-area {
  min-width: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 0 4px;
}

.section-heading p {
  max-width: 310px;
  color: #d6d0ca;
  font-size: 13px;
  line-height: 1.55;
  text-align: right;
  font-weight: 600;
}

.order-sidebar {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 16px;
}

.quick-card,
.customer-summary-card,
.order-total-card,
.product-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)),
    rgba(18, 18, 18, 0.96);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 56px rgba(0,0,0,0.38), inset 0 0 0 1px rgba(0,0,0,0.42);
  backdrop-filter: blur(10px);
}

.quick-card,
.customer-summary-card,
.order-total-card {
  padding: 24px;
  animation: fadeUp 0.6s 0.15s ease both;
}

.quick-card,
.order-total-card {
  border-top: 5px solid var(--red);
}

.customer-summary-card {
  border-top: 5px solid #f7f3ed;
}

.customer-summary-card p {
  margin-top: 12px;
  color: #d6d0ca;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.btn-secondary {
  width: 100%;
  min-height: 42px;
  margin-top: 16px;
  color: var(--white);
  background: #090909;
  border: 1px solid rgba(255,255,255,0.20);
  border-left: 4px solid var(--red);
  border-radius: 3px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}

.btn-secondary:hover {
  background: #111;
  border-color: rgba(225,25,25,0.75);
  transform: translateY(-1px);
}

.quick-links {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.quick-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 13px 13px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(225,25,25,0.14), transparent 52%),
    var(--near-black);
  border: 1px solid var(--border);
  border-left: 4px solid var(--steel);
  border-radius: 3px;
  cursor: pointer;
  text-align: left;
  transition: transform .15s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.quick-link:hover {
  transform: translateX(4px);
  border-color: rgba(225, 25, 25, 0.70);
  border-left-color: var(--red);
  background:
    linear-gradient(90deg, rgba(225,25,25,0.25), transparent 62%),
    #111;
  box-shadow: 0 10px 28px rgba(0,0,0,0.24);
}

.quick-link-name {
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.quick-link-price {
  color: var(--red);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 18px;
}

.info-grid .full {
  grid-column: 1 / -1;
}

.field-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 900;
  text-transform: uppercase;
}

.info-grid input {
  width: 100%;
  min-height: 47px;
  padding: 12px 13px;
  color: var(--white);
  background: #070707;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 3px;
  outline: none;
  font-weight: 600;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.info-grid input::placeholder {
  color: #67605a;
}

.info-grid input:focus {
  border-color: rgba(225, 25, 25, 0.85);
  background: #050505;
  box-shadow: 0 0 0 4px var(--red-soft), inset 0 0 0 1px rgba(225,25,25,0.25);
}

.products-wrap {
  display: grid;
  gap: 18px;
}

.product-card {
  overflow: visible;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.55s ease forwards;
  scroll-margin-top: 24px;
}

.product-card:nth-child(1) { animation-delay: 0.10s; }
.product-card:nth-child(2) { animation-delay: 0.16s; }
.product-card:nth-child(3) { animation-delay: 0.22s; }
.product-card:nth-child(4) { animation-delay: 0.28s; }
.product-card:nth-child(5) { animation-delay: 0.34s; }
.product-card:nth-child(6) { animation-delay: 0.40s; }
.product-card:nth-child(7) { animation-delay: 0.46s; }

.product-header {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 20px 22px;
  color: inherit;
  background:
    linear-gradient(90deg, rgba(225,25,25,0.26), transparent 44%),
    linear-gradient(180deg, #282828, #1b1b1b);
  border: 0;
  border-bottom: 2px solid var(--border);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.product-header:hover {
  background:
    linear-gradient(90deg, rgba(225,25,25,0.38), transparent 54%),
    linear-gradient(180deg, #303030, #1c1c1c);
  box-shadow: inset 6px 0 0 var(--red);
}

.product-card.collapsed .product-header {
  border-bottom-color: transparent;
}

.product-card.collapsed {
  box-shadow: 0 16px 44px rgba(0,0,0,0.34), inset 0 0 0 1px rgba(0,0,0,0.42);
}

.product-title-line {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.product-thumb {
  position: relative;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 22%, rgba(255,255,255,0.18), transparent 46%),
    linear-gradient(145deg, #0a0a0a, #242424);
  border: 1px solid rgba(255,255,255,0.18);
  border-left: 4px solid var(--red);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.60), 0 12px 28px rgba(0,0,0,0.30);
}

.product-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(225,25,25,0.18), transparent 54%);
  pointer-events: none;
}

.product-thumb img {
  position: relative;
  z-index: 2;
  width: 88%;
  height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.42));
}

.product-thumb-fallback {
  position: absolute;
  z-index: 1;
  color: rgba(247,243,237,0.72);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 27px;
  letter-spacing: 0.08em;
  transition: opacity .2s ease;
}

.product-thumb.has-image .product-thumb-fallback {
  opacity: 0;
}

.product-thumb.image-missing {
  border-left-color: var(--steel);
}

.product-num {
  flex: 0 0 auto;
  min-width: 50px;
  color: var(--red);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.28em;
  text-shadow: 0 0 18px rgba(225,25,25,0.40);
}

.product-name-wrap {
  min-width: 0;
}

.product-name {
  display: block;
  color: var(--white);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-subtitle {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.product-price {
  color: #fff;
  background: var(--red);
  border-radius: 3px;
  padding: 5px 9px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(225,25,25,0.28);
}

.product-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  color: var(--white);
  background: #0b0b0b;
  border: 1px solid rgba(225,25,25,0.60);
  border-radius: 3px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.17em;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap;
}

.product-badge.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-chevron {
  color: var(--white);
  font-size: 26px;
  line-height: 1;
  transition: transform 0.28s ease;
}

.product-card.collapsed .product-chevron {
  transform: rotate(-90deg);
}

.product-body {
  overflow: hidden;
  padding: 28px 24px 40px;
  transition: max-height .35s ease, opacity .25s ease, padding .25s ease;
}

.product-card.collapsed .product-body {
  max-height: 0 !important;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.product-card:not(.collapsed) .product-body {
  overflow: visible;
}


.size-group-label {
  margin: 20px 0 11px;
  color: var(--red);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.32em;
}

.size-group-label:first-child {
  margin-top: 0;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 10px;
}

.size-grid.one-size {
  grid-template-columns: minmax(220px, 360px);
}

.size-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  gap: 12px;
  padding: 11px 12px;
  background: linear-gradient(180deg, #111, #090909);
  border: 1px solid rgba(255,255,255,0.14);
  border-left: 4px solid var(--steel);
  border-radius: 3px;
  transition: border-color .2s ease, background .2s ease, transform .15s ease, box-shadow .2s ease;
}

.size-row:hover {
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

.size-row.active {
  background: linear-gradient(90deg, rgba(225, 25, 25, 0.22), #111 70%);
  border-color: rgba(225, 25, 25, 0.80);
  border-left-color: var(--red);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22), inset 0 0 0 1px rgba(225,25,25,0.20);
}

.size-label {
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.counter {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
}

.counter-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: #202020;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 3px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .12s ease, box-shadow .15s ease;
}

.counter-btn:hover {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 18px rgba(225,25,25,0.40);
}

.counter-btn:active {
  transform: scale(0.92);
}

.counter-val {
  min-width: 42px;
  color: var(--white);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.04em;
  text-align: center;
}

.counter-val.nonzero {
  color: var(--red);
  text-shadow: 0 0 14px rgba(225,25,25,0.50);
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.14em;
}

.total-row strong {
  color: var(--red);
  font-size: 28px;
  font-weight: 400;
  text-shadow: 0 0 14px rgba(225,25,25,0.40);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 34px;
  color: var(--white);
  background:
    linear-gradient(180deg, #f12626, #b50d0d);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 3px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.2em;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(225, 25, 25, 0.30), inset 0 1px 0 rgba(255,255,255,0.22);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-submit:hover {
  filter: brightness(1.08);
  box-shadow: 0 16px 42px rgba(225, 25, 25, 0.44), inset 0 1px 0 rgba(255,255,255,0.26);
}

.btn-submit:active {
  transform: scale(0.97);
}

.btn-submit:disabled {
  background: #4b4b4b;
  box-shadow: none;
  cursor: not-allowed;
  filter: none;
}

.full-width {
  width: 100%;
  margin-top: 18px;
}

.summary-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 20px;
  background:
    linear-gradient(90deg, rgba(225,25,25,0.20), transparent 25%, transparent 75%, rgba(225,25,25,0.20)),
    rgba(5, 5, 5, 0.98);
  border-top: 2px solid rgba(225,25,25,0.50);
  backdrop-filter: blur(14px);
  box-shadow: 0 -18px 42px rgba(0,0,0,0.48);
  animation: slideUp 0.5s 0.55s ease both;
}

.summary-count {
  color: var(--muted);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.summary-count span {
  color: var(--red);
  font-size: 25px;
  margin-left: 5px;
  text-shadow: 0 0 14px rgba(225,25,25,0.45);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  z-index: 200;
  transform: translateX(-50%) translateY(36px);
  max-width: calc(100% - 32px);
  padding: 14px 23px;
  color: var(--white);
  background: #141414;
  border: 1px solid var(--border);
  border-left: 5px solid var(--green);
  border-radius: 3px;
  box-shadow: 0 16px 52px rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .35s ease;
  font-size: 13px;
  font-weight: 700;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.err {
  border-left-color: var(--red);
}

/* Cleaner sidebar for the pop-up customer info version */
.clean-total-card {
  position: sticky;
  top: 22px;
}

.saved-customer-line {
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.saved-customer-line strong {
  color: var(--white);
}

.compact-edit {
  margin-top: 12px;
  min-height: 38px;
  font-size: 13px;
}


/* ════════════════════════════════════════════════════
   CUSTOMER INFO POP-UP
   ════════════════════════════════════════════════════ */
body.modal-open {
  overflow: hidden;
}

.customer-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.customer-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.customer-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(225,25,25,0.34), transparent 24rem),
    rgba(0,0,0,0.78);
  backdrop-filter: blur(8px);
}

.customer-modal-card {
  position: relative;
  width: min(100%, 620px);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  padding: clamp(26px, 5vw, 42px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(225,25,25,0.20), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.02)),
    #101010;
  border: 2px solid rgba(255,255,255,0.22);
  border-top: 7px solid var(--red);
  border-radius: 12px;
  box-shadow: 0 36px 110px rgba(0,0,0,0.75), inset 0 0 0 1px rgba(225,25,25,0.22);
  animation: modalPop .28s ease both;
}

.customer-modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: -80px;
  width: 310px;
  height: 100%;
  background: linear-gradient(135deg, transparent 0 30%, rgba(225,25,25,0.30) 30% 45%, transparent 45% 58%, rgba(255,255,255,0.08) 58% 62%, transparent 62%);
  pointer-events: none;
}

.modal-stripe {
  width: 74px;
  height: 5px;
  margin-bottom: 18px;
  background: var(--red);
  box-shadow: 0 0 24px rgba(225,25,25,0.55);
}

.modal-intro {
  position: relative;
  margin-top: 12px;
  color: #e8e1db;
  line-height: 1.65;
  font-size: 14px;
  font-weight: 700;
}

.modal-info-grid {
  position: relative;
  margin-top: 22px;
}

.modal-actions {
  position: relative;
  margin-top: 20px;
}

.modal-note {
  position: relative;
  margin-top: 15px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.modal-note strong {
  color: var(--white);
}

@keyframes modalPop {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideUp {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}



@media (max-width: 820px) {
  .nav-container,
  .nav-inner {
    width: min(100% - 22px, 1220px);
    min-height: 68px;
  }

  .nav-logo,
  .nav-brand {
    font-size: 25px;
  }

  .nav-logo img,
  .nav-brand img {
    width: 42px;
    height: 42px;
  }

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

  .nav-menu {
    position: absolute;
    left: 11px;
    right: 11px;
    top: calc(100% + 8px);
    display: grid;
    gap: 8px;
    padding: 12px;
    background: rgba(5,5,5,0.98);
    border: 1px solid rgba(225,25,25,0.44);
    border-top: 4px solid var(--red);
    box-shadow: 0 22px 52px rgba(0,0,0,0.62);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }

  .nav-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-menu a {
    width: 100%;
    justify-content: center;
    background: rgba(255,255,255,0.045);
    border-color: rgba(255,255,255,0.10);
  }
}

@media (max-width: 980px) {
  .order-layout {
    grid-template-columns: 1fr;
  }

  .order-sidebar {
    position: static;
    order: -1;
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .section-heading p {
    text-align: left;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 122px;
  }

  .page-shell {
    width: min(100% - 22px, 1220px);
    padding-top: 16px;
  }

  .brand-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-note {
    border-radius: 3px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-grid .full {
    grid-column: auto;
  }

  .product-header {
    grid-template-columns: 1fr;
  }

  .product-body {
    padding: 24px 18px 42px;
  }

  .product-meta {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .product-title-line {
    align-items: center;
    gap: 12px;
  }

  .product-thumb {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }

  .product-name {
    white-space: normal;
  }

  .size-grid,
  .size-grid.one-size {
    grid-template-columns: 1fr;
  }

  .summary-bar {
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
  }

  .summary-bar .btn-submit {
    width: min(100%, 340px);
  }
}

/* ════════════════════════════════════════════════════
   COMPACT CUSTOMER POP-UP OVERRIDES
   Keeps the Continue button visible on standard laptops and phones.
   ════════════════════════════════════════════════════ */
.customer-modal {
  place-items: start center;
  align-items: start;
  padding: clamp(8px, 2vh, 18px) 14px;
  overflow-y: auto;
}

.customer-modal-card {
  width: min(100%, 520px);
  max-height: calc(100dvh - 22px);
  margin-top: clamp(6px, 2vh, 16px);
  overflow-y: auto;
  padding: clamp(16px, 3vw, 24px);
  border-top-width: 5px;
  border-radius: 10px;
}

.customer-modal-card .eyebrow.small {
  margin-bottom: 3px;
  font-size: 10px;
  letter-spacing: 0.28em;
}

.customer-modal-card h2 {
  font-size: clamp(30px, 5vw, 40px);
  line-height: 0.88;
}

.modal-stripe {
  width: 56px;
  height: 4px;
  margin-bottom: 10px;
}

.modal-intro {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.35;
}

.modal-info-grid {
  margin-top: 14px;
  gap: 11px;
}

.customer-modal-card .field-label {
  margin-bottom: 5px;
  font-size: 10px;
  letter-spacing: 1.6px;
}

.customer-modal-card .info-grid input {
  min-height: 42px;
  padding: 9px 12px;
  font-size: 13px;
}

.modal-actions {
  margin-top: 14px;
}

.modal-actions .btn-submit {
  width: 100%;
  min-height: 46px;
  padding: 11px 18px;
  font-size: 15px;
}

.modal-note {
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.35;
}

@media (max-width: 680px) {
  .customer-modal {
    padding: 8px 10px;
  }

  .customer-modal-card {
    width: min(100%, 430px);
    max-height: calc(100dvh - 16px);
    margin-top: 0;
    padding: 15px 14px;
  }

  .customer-modal-card h2 {
    font-size: 34px;
  }

  .modal-info-grid {
    gap: 9px;
  }

  .customer-modal-card .info-grid input {
    min-height: 40px;
    padding: 8px 11px;
  }

  .modal-actions .btn-submit {
    min-height: 44px;
  }
}

@media (max-height: 700px) {
  .customer-modal {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .customer-modal-card {
    margin-top: 0;
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .modal-stripe {
    margin-bottom: 7px;
  }

  .modal-intro,
  .modal-note {
    line-height: 1.25;
  }

  .modal-info-grid,
  .modal-actions {
    margin-top: 10px;
  }
}

/* ════════════════════════════════════════════════════
   FINAL REVIEW POP-UP OVERRIDES
   Opens only after the customer clicks Review Order.
   ════════════════════════════════════════════════════ */
.review-modal-card {
  width: min(100%, 680px);
}

.order-review-block {
  position: relative;
  margin-top: 14px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(225,25,25,0.14), rgba(255,255,255,0.03)),
    rgba(0,0,0,0.34);
  border: 1px solid rgba(255,255,255,0.18);
  border-left: 5px solid var(--red);
  border-radius: 6px;
}

.review-heading-row,
.review-product-top,
.modal-total-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-label {
  color: var(--red);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.review-mini-note {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

.modal-order-summary {
  display: grid;
  gap: 9px;
  max-height: min(225px, 30dvh);
  margin-top: 12px;
  overflow-y: auto;
  padding-right: 4px;
}

.review-product-row {
  padding: 11px 12px;
  background: rgba(0,0,0,0.36);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
}

.review-product-top strong {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.review-product-top span {
  color: var(--red);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.review-product-row ul {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  list-style: none;
}

.review-product-row li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #e8e1db;
  font-size: 12px;
  font-weight: 800;
}

.review-product-row li strong {
  color: var(--red);
}

.modal-empty-order {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.modal-total-strip {
  margin-top: 12px;
  padding: 11px 12px;
  color: var(--muted);
  background: rgba(225,25,25,0.12);
  border: 1px solid rgba(225,25,25,0.36);
  border-radius: 4px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.modal-total-strip strong {
  color: #fff;
  font-size: 19px;
  margin-left: 5px;
}

.review-actions {
  display: grid;
  grid-template-columns: minmax(160px, .75fr) minmax(220px, 1.25fr);
  gap: 10px;
}

.review-actions .btn-secondary,
.review-actions .btn-submit {
  width: 100%;
  margin-top: 0;
}

@media (max-width: 680px) {
  .review-modal-card {
    width: min(100%, 460px);
  }

  .order-review-block {
    padding: 12px;
  }

  .review-heading-row,
  .review-product-top,
  .modal-total-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .review-product-top span {
    white-space: normal;
  }

  .modal-order-summary {
    max-height: min(190px, 27dvh);
  }

  .review-actions {
    grid-template-columns: 1fr;
  }
}
