:root {
  --bg: #f4f5f7;
  --panel: #ffffff;
  --panel-2: #f7f8fa;
  --ink: #121820;
  --muted: #697386;
  --brand: #e30613;
  --brand-dark: #bf0610;
  --brand-2: #ffcf2f;
  --herb: #18a058;
  --line: rgba(18, 24, 32, 0.1);
  --shadow: 0 18px 48px rgba(18, 24, 32, 0.1);
  --radius: 18px;
}

html {
  background: var(--bg);
}

body {
  color: var(--ink) !important;
  background:
    radial-gradient(circle at 8% -8%, rgba(227, 6, 19, 0.1), transparent 25rem),
    radial-gradient(
      circle at 92% 0%,
      rgba(255, 207, 47, 0.18),
      transparent 24rem
    ),
    linear-gradient(180deg, #f8f9fb 0%, #eef1f5 100%) !important;
  letter-spacing: 0;
}

body::before,
body::after {
  display: none !important;
}

a {
  color: var(--brand);
}

.wrap,
.container {
  width: min(1320px, 92vw) !important;
}

.topbar,
header.topbar,
.top,
.top-bar {
  position: sticky !important;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 8px 28px rgba(18, 24, 32, 0.08) !important;
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
}

.burger {
  display: none !important;
}

.brand,
.brand-mini,
.logo-text {
  color: var(--ink) !important;
}

.brand::after {
  content: "belgorodfast.ru";
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.brand img,
.logo,
.brand-mini img {
  max-height: 54px;
  object-fit: contain;
  filter: saturate(1.08) contrast(1.06);
}

.menu,
.drawer .links {
  gap: 8px !important;
}

.menu a,
.nav a,
.drawer .links a,
.side a {
  color: var(--ink) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.menu a:hover,
.nav a:hover,
.drawer .links a:hover,
.side a:hover {
  color: var(--brand) !important;
  background: #fff2f3 !important;
  transform: translateY(-1px);
}

main {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-inline: 0 !important;
}

.hero {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  align-items: center;
  color: #fff !important;
  background:
    linear-gradient(90deg, rgba(30, 5, 4, 0.78), rgba(130, 20, 10, 0.35)),
    url("/pizza_assets/pizza7.webp") center/cover no-repeat !important;
  border: 0 !important;
  border-radius: 22px !important;
  box-shadow: var(--shadow) !important;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 78% 35%,
      rgba(255, 207, 47, 0.35),
      transparent 12rem
    ),
    linear-gradient(135deg, rgba(227, 6, 19, 0.55), transparent 58%);
}

.hero::after {
  content: "МУРМАНСК ВКУСНО";
  position: absolute;
  right: -1.2rem;
  bottom: -1.6rem;
  color: rgba(255, 255, 255, 0.13);
  font-size: clamp(2.8rem, 8vw, 7rem);
  font-weight: 1000;
  line-height: 0.88;
  letter-spacing: 0.01em;
  pointer-events: none;
}

.hero > div:first-child {
  max-width: 760px;
  padding: clamp(22px, 4vw, 48px);
}

.hero[data-slider-ready="1"] > div:first-child {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.hero .art {
  position: relative;
  min-height: 220px;
}

.hero-logo {
  position: absolute;
  right: clamp(6px, 5vw, 60px);
  top: 50%;
  width: min(360px, 36vw);
  height: auto;
  transform: translateY(-50%) rotate(3deg);
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.26);
  animation: brandFloat 4.8s ease-in-out infinite;
}

@keyframes brandFloat {
  0%,
  100% {
    transform: translateY(-50%) rotate(3deg) scale(1);
  }
  50% {
    transform: translateY(-56%) rotate(-1deg) scale(1.025);
  }
}

.badge,
.tag,
.tags a {
  color: var(--ink) !important;
  background: var(--brand-2) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 24px rgba(255, 207, 47, 0.28);
}

.hero h1,
.hero .sub,
.hero p {
  color: #fff !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

h1,
h2,
h3,
.name,
.cati .name,
.card .title,
.card-title,
.title {
  color: var(--ink) !important;
  text-wrap: balance;
}

.section-title {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 16px !important;
  color: var(--ink) !important;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem) !important;
}

.section-title::after {
  content: "Смотреть все ->";
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 900;
}

.catalog {
  display: grid !important;
  grid-template-columns: 220px 1fr !important;
  gap: 20px !important;
}

.side {
  position: sticky;
  top: 92px;
  align-self: start;
  max-height: calc(100dvh - 110px);
  overflow: auto;
  border-radius: 18px !important;
}

.side ul {
  display: grid;
  gap: 4px;
}

.catgrid,
.grid,
.info-grid {
  gap: 20px !important;
}

.catgrid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.card,
.cati,
.info,
.seo,
.seo-text,
.step,
.faq,
article,
.side,
.drawer,
.cookie-banner {
  color: var(--ink) !important;
  background: var(--panel) !important;
  border: 1px solid rgba(18, 24, 32, 0.08) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 34px rgba(18, 24, 32, 0.07) !important;
}

.card,
.cati,
article {
  transform: translateZ(0);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.card:hover,
.cati:hover,
article:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 54px rgba(18, 24, 32, 0.13) !important;
}

.card img,
.card-img,
.img,
.ico img,
article img {
  width: 100%;
  border-radius: 16px !important;
  filter: saturate(1.08) contrast(1.03);
}

.card .img,
.card img.img {
  aspect-ratio: 1 / 1;
  object-fit: contain !important;
  background: #fff !important;
  padding: 6px;
}

.cati .ico {
  overflow: hidden;
}

.price,
.card-price,
.total,
.t-sub,
.t-ship {
  color: var(--ink) !important;
  font-size: 1.08rem;
  font-weight: 1000 !important;
}

.btn,
button.btn,
.btn-primary,
.promo-apply,
.cart-fab,
[data-add-to-cart] {
  color: #fff !important;
  background: linear-gradient(180deg, #ff1c28, var(--brand)) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 14px 30px rgba(227, 6, 19, 0.23) !important;
  transition:
    transform 0.16s ease,
    filter 0.16s ease,
    box-shadow 0.16s ease;
}

.btn:hover,
.btn-primary:hover,
[data-add-to-cart]:hover,
.cart-fab:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(227, 6, 19, 0.3) !important;
}

.btn-ghost,
.cart-tab,
.qty button,
.upsell-btn,
.addon-row,
.option-row {
  color: var(--ink) !important;
  background: var(--panel-2) !important;
  border-color: var(--line) !important;
}

.cart-fab {
  right: 24px !important;
  bottom: 24px !important;
  padding: 14px 18px !important;
}

.cart-drawer,
.checkout-box,
.addon-box {
  color: var(--ink) !important;
  background: #fff !important;
  border-color: var(--line) !important;
  border-radius: 24px 0 0 24px;
}

.addon-box {
  border-radius: 24px !important;
  display: flex !important;
  flex-direction: column;
  max-height: min(760px, calc(100dvh - 32px));
  overflow: hidden;
}

.cart-head,
.cart-tabs,
.cart-foot,
.cart-upsell,
.promo-pane {
  background: #fff !important;
  border-color: var(--line) !important;
}

.cart-item {
  border-color: var(--line) !important;
}

.cart-drawer {
  height: 100dvh !important;
  overflow: hidden !important;
}

.cart-body {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
}

.cart-foot,
.cart-head,
.cart-tabs {
  flex: 0 0 auto;
}

.cart-item img {
  background: #fff;
  object-fit: contain !important;
}

.promo-grid {
  display: grid;
  gap: 10px;
  padding: 14px 12px;
}

.promo-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
}

.promo-line .promo-apply {
  min-height: 42px;
  padding: 0 14px;
}

.promo-hint {
  color: #2f7a3d;
  font-weight: 800;
}

.addon-list {
  flex: 1 1 auto;
  gap: 10px !important;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.addon-actions {
  position: sticky;
  bottom: 0;
  flex: 0 0 auto;
  padding-top: 12px;
  background: inherit;
}

.addon-group {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.addon-group-title {
  margin: 2px 0;
  color: var(--muted);
  font-weight: 900;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.addon-row,
.option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

.addon-row input,
.option-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.addon-row strong,
.option-row strong,
.upsell-btn span:last-child {
  color: var(--brand) !important;
}

input,
textarea {
  color: var(--ink) !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
}

input::placeholder,
textarea::placeholder {
  color: #9aa3b2 !important;
}

.drawer-overlay,
.cart-overlay,
.checkout-backdrop,
.addon-backdrop {
  background: rgba(18, 24, 32, 0.55) !important;
}

.is-revealed {
  animation: revealUp 0.56s ease both;
}

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

footer {
  border-top: 1px solid var(--line);
}

@media (max-width: 1100px) {
  .catgrid,
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  .wrap,
  .container {
    width: min(100% - 24px, 680px) !important;
  }

  .brand::after {
    display: none;
  }

  .burger {
    display: inline-flex !important;
  }

  .hero {
    min-height: 270px;
    grid-template-columns: 1fr !important;
  }

  .hero-logo,
  .hero .art {
    display: none !important;
  }

  .catalog {
    grid-template-columns: 1fr !important;
  }

  .side {
    position: static;
    max-height: none;
  }

  .catgrid,
  .grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .section-title::after {
    display: none;
  }
}

@media (max-width: 520px) {
  .catgrid,
  .grid,
  .info-grid {
    grid-template-columns: 1fr !important;
  }

  .hero {
    border-radius: 18px !important;
  }

  .hero > div:first-child {
    padding: 24px 18px;
  }

  .cart-drawer {
    border-radius: 0;
  }

  .promo-line {
    grid-template-columns: 1fr;
  }

  .hero::after {
    display: none !important;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2rem, 10vw, 3.1rem) !important;
  }
}

/* Full delivery-marketplace rebasing layer */
html {
  background: #fff;
}

body {
  background: #fff !important;
}

.topbar {
  position: relative !important;
  top: auto !important;
  box-shadow: 0 3px 14px rgba(18, 24, 32, 0.08) !important;
}

.brand img,
.brand-mini img {
  display: none !important;
}

.brand::after {
  display: none !important;
}

.brand::before,
.brand-mini::before {
  content: "MURMANSK\A VKUSNO";
  white-space: pre;
  display: inline-grid;
  place-items: center;
  width: 98px;
  height: 56px;
  color: #fff;
  background: linear-gradient(135deg, #ee101c 0%, #ee101c 52%, #169f55 53%);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(227, 6, 19, 0.2);
  font-size: 1rem;
  font-weight: 1000;
  line-height: 0.86;
  text-align: center;
  transform: rotate(-2deg);
}

.delivery-utility {
  background: #f2f3f5;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
}

.delivery-utility .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}

.delivery-utility a {
  color: var(--ink);
  text-decoration: none;
}

.delivery-meta,
.promo-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.promo-mini input {
  width: min(230px, 32vw);
  height: 38px;
  padding: 0 14px;
  background: #fff !important;
}

.promo-mini button {
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: var(--brand);
  background: #fff2f3;
  font-weight: 1000;
}

.category-rail {
  position: sticky;
  top: 0;
  z-index: 70;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(18, 24, 32, 0.06);
}

.category-rail .container {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 58px;
  overflow: auto;
  scrollbar-width: none;
}

.category-rail .container::-webkit-scrollbar {
  display: none;
}

.category-rail a {
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
  font-weight: 1000;
}

.category-rail a:first-child {
  color: var(--brand);
}

.hero {
  min-height: 324px !important;
  border-radius: 14px !important;
  background:
    linear-gradient(90deg, rgba(120, 16, 0, 0.7), rgba(222, 67, 0, 0.1)),
    url("/pizza_assets/pizza10.webp") center/cover no-repeat !important;
  box-shadow: none !important;
}

.hero::after {
  content: "MEGA\A PIZZA";
  white-space: pre;
  position: absolute;
  top: 50%;
  right: clamp(18px, 8vw, 130px);
  bottom: auto;
  color: #fff;
  font-size: clamp(3rem, 8vw, 7.2rem);
  font-weight: 1000;
  line-height: 0.78;
  letter-spacing: -0.02em;
  text-shadow: 0 8px 20px rgba(130, 0, 0, 0.42);
  transform: translateY(-50%);
}

.hero-logo,
.hero .art {
  display: none !important;
}

.hero > div:first-child {
  max-width: 480px;
  padding: clamp(28px, 4vw, 54px);
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.1rem, 5vw, 4.6rem) !important;
  line-height: 0.96 !important;
  text-transform: uppercase;
}

.hero .sub {
  max-width: 42ch !important;
  font-weight: 700;
}

.catalog {
  display: block !important;
}

.side {
  display: none !important;
}

.card,
.cati,
article {
  border: 0 !important;
  box-shadow: none !important;
}

.catgrid,
.grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.cati {
  text-align: center;
}

.cati .ico img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px !important;
}

.psw-home {
  display: grid;
  gap: 34px;
  margin-top: 28px;
}

.psw-row-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.psw-row-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.psw-row-head a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink);
  background: #f2f3f5;
  text-decoration: none;
  font-weight: 900;
}

.psw-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.psw-product {
  position: relative;
  min-width: 0;
  padding: 0 4px 74px;
  background: #fff;
  border-radius: 18px;
}

.psw-product img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: transform 0.22s ease;
}

.psw-product:hover img {
  transform: translateY(-4px) scale(1.03);
}

.psw-product h3 {
  margin: 10px 0 8px;
  font-size: 1.08rem;
}

.psw-product p {
  min-height: 3.4em;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.psw-product .row {
  position: absolute;
  right: 4px;
  bottom: 0;
  left: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

@media (max-width: 1100px) {
  .psw-products,
  .catgrid,
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  .delivery-utility .container {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 8px;
  }

  .promo-mini {
    width: 100%;
  }

  .promo-mini input {
    flex: 1;
    width: auto;
  }

  .psw-products,
  .catgrid,
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .psw-products,
  .catgrid,
  .grid {
    grid-template-columns: 1fr !important;
  }
}

/* Reference-style promo carousel and cart header polish */
.delivery-utility .container {
  min-height: 54px;
}

.header-cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff1b28, #e30613);
  box-shadow: 0 12px 24px rgba(227, 6, 19, 0.2);
  font: inherit;
  font-weight: 1000;
  cursor: pointer;
}

.header-cart-button em {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #e30613;
  background: #fff;
  font-style: normal;
  font-size: 0.82rem;
}

.header-cart-button b {
  font-size: 0.9rem;
}

.hero {
  min-height: 348px !important;
  background:
    linear-gradient(90deg, rgba(35, 12, 8, 0.1), rgba(35, 12, 8, 0.08)),
    var(--promo-bg, url("/pizza_assets/pizza10.webp")) center/cover no-repeat !important;
  transition:
    background-image 0.45s ease,
    filter 0.45s ease;
}

.hero > div:first-child {
  width: min(460px, 45%);
  padding: 34px 42px !important;
  border-radius: 0 0 22px 0;
  background: linear-gradient(
    90deg,
    rgba(227, 6, 19, 0.78),
    rgba(227, 6, 19, 0.2),
    transparent
  );
}

.hero h1 {
  max-width: 10ch !important;
  margin: 14px 0 12px;
  font-size: clamp(2.1rem, 4vw, 4.1rem) !important;
  line-height: 0.94 !important;
}

.hero .sub {
  max-width: 35ch !important;
  font-size: 0.98rem;
}

.hero::after {
  display: none !important;
}

.promo-copy-layer {
  position: absolute;
  right: clamp(34px, 8vw, 118px);
  top: 50%;
  width: min(420px, 36vw);
  transform: translateY(-50%);
  color: #fff;
  text-align: left;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.38);
  pointer-events: none;
}

.promo-copy-layer .promo-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #121820;
  background: #ffcf2f;
  font-weight: 1000;
}

.promo-copy-layer .promo-title {
  display: block;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.86;
  font-weight: 1000;
  text-transform: uppercase;
}

.promo-copy-layer .promo-copy {
  display: block;
  margin-top: 14px;
  font-size: 1.2rem;
  font-weight: 900;
}

.promo-animate .promo-copy-layer {
  animation: promoTextIn 0.5s ease both;
}

@keyframes promoTextIn {
  from {
    opacity: 0;
    transform: translate(18px, -50%);
  }
  to {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

.promo-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #1f2933;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 26px rgba(18, 24, 32, 0.18);
  font-size: 2.1rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.promo-prev {
  left: 18px;
}

.promo-next {
  right: 18px;
}

.promo-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  transform: translateX(-50%);
}

.promo-dots button {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 24, 32, 0.16);
  cursor: pointer;
}

.promo-dots button.active {
  background: #ff6a00;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.2);
}

.psw-section {
  padding-top: 2px;
}

.psw-products {
  gap: 34px !important;
}

.psw-product {
  padding-bottom: 92px !important;
}

.psw-product img {
  filter: drop-shadow(0 14px 20px rgba(18, 24, 32, 0.12));
}

.psw-product .btn {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  padding: 0 !important;
  font-size: 1.4rem;
}

@media (min-width: 821px) {
  .cart-fab {
    display: none !important;
  }
}

@media (max-width: 820px) {
  .burger {
    flex-direction: column;
    gap: 4px;
  }

  .header-cart-button {
    width: 100%;
    justify-content: center;
  }

  .promo-copy-layer {
    right: 20px;
    left: 20px;
    top: auto;
    bottom: 68px;
    width: auto;
    text-align: left;
    transform: none;
  }

  .promo-copy-layer .promo-title {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .promo-animate .promo-copy-layer {
    animation: none;
  }

  .promo-arrow {
    top: 36%;
    width: 44px;
    height: 44px;
    font-size: 1.9rem;
  }

  .hero > div:first-child {
    width: auto;
    background: linear-gradient(
      180deg,
      rgba(227, 6, 19, 0.78),
      rgba(227, 6, 19, 0.08)
    );
  }

  .hero[data-slider-ready="1"] {
    min-height: 410px !important;
  }

  .hero[data-slider-ready="1"] > div:first-child {
    width: 1px !important;
  }
}


/* Premium completion blocks: clearer next steps on inner pages */
.page-return-panel,
.smart-next-panel {
  margin: 28px 0 4px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(236, 220, 196, 0.9);
  border-radius: 28px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 185, 72, 0.22), transparent 34%),
    linear-gradient(135deg, #fffdf8 0%, #fff4e2 52%, #ffffff 100%);
  box-shadow: 0 18px 44px rgba(31, 41, 51, 0.09);
}
.page-return-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}
.page-return-panel__eyebrow,
.smart-next-panel__eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.page-return-panel h2,
.smart-next-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.28rem, 2.4vw, 2rem);
  line-height: 1.12;
}
.page-return-panel p,
.smart-next-panel p {
  margin: 10px 0 0;
  max-width: 66ch;
  color: var(--muted);
  line-height: 1.65;
}
.page-return-actions,
.smart-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
.page-return-actions a,
.smart-next-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 18px rgba(31, 41, 51, 0.06);
  font-weight: 900;
  text-decoration: none;
}
.page-return-actions a.primary,
.smart-next-actions a.primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(180deg, #e30613, #bf0711);
  box-shadow: 0 12px 24px rgba(227, 6, 19, 0.22);
}
.smart-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.smart-next-card {
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(236, 220, 196, 0.95);
  border-radius: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.smart-next-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(31, 41, 51, 0.1);
}
.smart-next-card b {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02rem;
}
.smart-next-card span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.quality-note {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
}
.quality-note div {
  padding: 14px;
  border: 1px solid rgba(236, 220, 196, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}
.quality-note b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}
.quality-note span {
  color: var(--muted);
  line-height: 1.45;
}
.section-title::after {
  content: "";
  width: 42px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), #ffb000);
  box-shadow: 0 8px 18px rgba(216, 76, 63, 0.18);
  font-size: 0;
}
@media (max-width: 820px) {
  .page-return-panel {
    grid-template-columns: 1fr;
  }
  .page-return-actions,
  .smart-next-actions {
    justify-content: flex-start;
  }
  .smart-next-grid,
  .quality-note {
    grid-template-columns: 1fr;
  }
  .page-return-actions a,
  .smart-next-actions a {
    width: 100%;
  }
}
