:root {
  --parchment: #f7f0df;
  --parchment-deep: #ead8b8;
  --paper: #fffdf7;
  --ink: #263b49;
  --ink-soft: #536875;
  --blue: #4b7890;
  --blue-dark: #294e63;
  --blue-deep: #1d3b4c;
  --gold: #b38645;
  --gold-light: #d5b976;
  --accent: #e65a31;
  --accent-deep: #b93a1f;
  --accent-soft: #ffe4d6;
  --accent-glow: rgba(230, 90, 49, 0.28);
  --sage: #7c947c;
  --sage-dark: #526b58;
  --burgundy: #814b52;
  --line: rgba(72, 84, 81, 0.19);
  --shadow: 0 20px 55px rgba(48, 57, 53, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(199, 168, 108, 0.1), transparent 24rem),
    radial-gradient(circle at 92% 35%, rgba(111, 151, 143, 0.09), transparent 28rem),
    #f7f1e4;
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--gold-light);
  color: var(--blue-deep);
}

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

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

button,
select {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

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

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

.announcement {
  min-height: 34px;
  padding: 8px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--blue-deep);
  color: #e9f0ec;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.announcement-ornament {
  color: var(--gold-light);
}

.store-header {
  min-height: 90px;
  padding: 0 clamp(22px, 4vw, 68px);
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(270px, 1fr);
  align-items: center;
  border-bottom: 1px solid rgba(101, 88, 62, 0.2);
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 7px 30px rgba(43, 53, 48, 0.07);
  backdrop-filter: blur(16px);
}

.store-brand {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-brand-mark {
  width: 45px;
  height: 45px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background:
    radial-gradient(circle, #fffdf6 28%, transparent 29%),
    linear-gradient(145deg, #e5d4ad, #fffdf6);
  color: var(--blue-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  box-shadow:
    inset 0 0 0 4px #fffdf5,
    inset 0 0 0 5px rgba(179, 134, 69, 0.45);
}

.store-brand-mark::before,
.store-brand-mark::after {
  width: 5px;
  height: 5px;
  position: absolute;
  top: 50%;
  border: 1px solid var(--gold);
  background: var(--paper);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.store-brand-mark::before {
  left: -4px;
}

.store-brand-mark::after {
  right: -4px;
}

.store-brand-mark.logo-mark {
  overflow: hidden;
  border-color: rgba(126, 151, 184, 0.65);
  border-radius: 10px;
  background-color: #070b17;
  background-image: url("onyx-logo.png");
  background-position: center 19%;
  background-repeat: no-repeat;
  background-size: 195% auto;
  box-shadow: 0 5px 17px rgba(21, 49, 82, 0.25);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease;
}

.store-brand-mark.logo-mark::before,
.store-brand-mark.logo-mark::after {
  display: none;
}

.store-brand:hover .store-brand-mark.logo-mark {
  box-shadow: 0 9px 24px rgba(21, 49, 82, 0.33);
  transform: translateY(-2px) rotate(-2deg) scale(1.04);
}

.store-brand > span:last-child {
  display: grid;
}

.store-brand strong {
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: 0.11em;
  line-height: 1;
}

.store-brand small {
  margin-top: 5px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.store-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.1vw, 30px);
}

.store-nav a {
  padding: 36px 0 33px;
  position: relative;
  color: #415966;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.store-nav a::after {
  width: 0;
  height: 2px;
  position: absolute;
  bottom: 25px;
  left: 50%;
  background: var(--gold);
  content: "";
  transition: 180ms ease;
}

.store-nav a:hover::after {
  width: 100%;
  left: 0;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 25px);
}

.header-vk {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(179, 134, 69, 0.55);
  background: linear-gradient(145deg, #294e5f, #1d3742);
  color: #f0d595;
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 7px 18px rgba(35, 60, 70, 0.16);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.header-vk:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(35, 60, 70, 0.24);
  transform: translateY(-2px);
}

.header-phone {
  display: grid;
  text-align: right;
}

.header-phone small {
  margin-bottom: 3px;
  color: #81908f;
  font-size: 9px;
}

.header-phone strong {
  color: var(--blue-dark);
  font-size: 12px;
}

.header-cart {
  min-height: 44px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(75, 120, 144, 0.28);
  border-radius: 3px;
  background: #f4eddd;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 800;
  transition: 160ms ease;
}

.header-cart:hover {
  background: #eadec5;
  transform: translateY(-1px);
}

.header-cart.cart-bump {
  animation: cart-bump 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.header-cart > span:first-child {
  color: var(--gold);
}

.header-cart b {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-dark);
  color: white;
  font-size: 9px;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  padding: 10px;
  display: none;
  border: 1px solid var(--line);
  background: transparent;
}

.menu-toggle span {
  width: 100%;
  height: 1px;
  display: block;
  margin: 5px 0;
  background: var(--blue-dark);
}

#app {
  min-height: 560px;
  outline: none;
}

.loading-screen {
  min-height: 600px;
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--blue-dark);
}

.loading-screen > span {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 31px;
  animation: breathe 1.4s ease-in-out infinite alternate;
}

.loading-screen p {
  margin-top: 18px;
  color: var(--ink-soft);
  font-family: Georgia, serif;
}

@keyframes breathe {
  to {
    box-shadow: 0 0 0 14px rgba(179, 134, 69, 0.08);
  }
}

.fantasy-kicker,
.eyebrow {
  margin-bottom: 13px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.5;
}

.fantasy-hero {
  width: min(1440px, calc(100% - 36px));
  min-height: 650px;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: minmax(390px, 44%) 1fr;
  overflow: hidden;
  border: 1px solid rgba(109, 92, 62, 0.24);
  border-radius: 5px 5px 80px 5px;
  background: #d7c9a7;
  box-shadow: 0 28px 80px rgba(54, 61, 52, 0.19);
}

.hero-parchment {
  padding: clamp(65px, 7vw, 108px) clamp(42px, 6vw, 88px);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg, #fffdf7, #faf3e2);
}

.hero-parchment h1 {
  max-width: 650px;
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-parchment h1 span {
  display: block;
  color: var(--burgundy);
  font-style: italic;
  font-weight: 400;
}

.fantasy-lead {
  max-width: 545px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.75;
}

.hero-buttons {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.fantasy-button,
.primary-button {
  min-height: 49px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  transition: 160ms ease;
}

.fantasy-button:hover,
.primary-button:hover {
  transform: translateY(-2px);
}

.fantasy-button.primary,
.primary-button {
  border-color: #2d586d;
  background: var(--blue-dark);
  color: white;
  box-shadow: 0 9px 25px rgba(41, 78, 99, 0.2);
}

.fantasy-button.text {
  min-height: 35px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(179, 134, 69, 0.45);
  color: var(--blue-dark);
}

.fantasy-button.outline {
  border-color: var(--gold);
  background: rgba(255, 253, 247, 0.55);
  color: var(--blue-dark);
}

.hero-smallprint {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #6f7e7c;
  font-size: 10px;
  font-weight: 700;
}

.hero-art {
  min-height: 650px;
  position: relative;
  background:
    linear-gradient(90deg, rgba(241, 229, 201, 0.08), transparent 25%),
    url("onyx-workshop-hero.png") center center / cover;
}

.hero-art::after {
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(255, 253, 247, 0.28);
  content: "";
}

.hero-art-caption {
  padding: 16px 22px;
  position: absolute;
  right: 25px;
  bottom: 25px;
  z-index: 2;
  display: grid;
  border: 1px solid rgba(255, 246, 220, 0.55);
  background: rgba(31, 55, 62, 0.8);
  color: white;
  text-align: center;
  backdrop-filter: blur(8px);
}

.hero-art-caption small {
  color: var(--gold-light);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.hero-art-caption strong {
  margin-top: 5px;
  font-family: Georgia, serif;
}

.assurance-strip {
  width: min(1230px, calc(100% - 44px));
  margin: -1px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(101, 86, 58, 0.2);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.assurance-strip > div {
  min-height: 104px;
  padding: 22px 30px;
  display: flex;
  align-items: center;
  gap: 17px;
}

.assurance-strip > div + div {
  border-left: 1px solid var(--line);
}

.assurance-strip > div > span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 29px;
  font-style: italic;
}

.assurance-strip p {
  margin: 0;
  color: #76827f;
  font-size: 11px;
  line-height: 1.55;
}

.assurance-strip strong {
  display: block;
  color: var(--blue-dark);
  font-family: Georgia, serif;
  font-size: 14px;
}

.fantasy-section,
.catalog-section,
.product-page,
.content-section {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
}

.fantasy-section {
  padding: 100px 0 20px;
}

.ornate-heading {
  max-width: 690px;
  margin: 0 auto 45px;
  text-align: center;
}

.ornate-heading h2,
.section-row-heading h2,
.story-copy h2,
.realm-cta h2,
.content-copy h2,
.checkout-title h1 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(34px, 4.5vw, 55px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.ornate-rule {
  margin: 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gold);
}

.ornate-rule::before,
.ornate-rule::after {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  content: "";
}

.ornate-rule::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.ornate-heading > p:last-child {
  color: var(--ink-soft);
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.75;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 15px;
}

.category-card {
  min-height: 260px;
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(140deg, #406b7c, #203f4e);
  color: white;
  box-shadow: 0 13px 35px rgba(49, 62, 60, 0.12);
  transition: 180ms ease;
}

.category-card-1,
.category-card-2,
.category-card-3,
.category-card-4 {
  grid-column: span 3;
}

.category-card-5,
.category-card-6,
.category-card-7 {
  grid-column: span 4;
}

.category-card:nth-child(2) {
  background: linear-gradient(140deg, #789077, #486355);
}

.category-card:nth-child(3) {
  background: linear-gradient(140deg, #8e595c, #673a43);
}

.category-card:nth-child(4) {
  background: linear-gradient(140deg, #577a86, #345461);
}

.category-card:nth-child(5) {
  background: linear-gradient(140deg, #a07845, #705433);
}

.category-card:nth-child(6) {
  background: linear-gradient(140deg, #786c71, #4b4048);
}

.category-card:nth-child(7) {
  background: linear-gradient(140deg, #667c70, #3b554d);
}

.category-card:hover {
  transform: translateY(-6px);
}

.category-card::after {
  width: 155px;
  height: 155px;
  position: absolute;
  right: -70px;
  bottom: -70px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 17px rgba(255, 255, 255, 0.04);
  content: "";
}

.category-symbol {
  width: 50px;
  height: 50px;
  margin-bottom: auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 247, 220, 0.45);
  border-radius: 50%;
  color: #f2d99c;
  font-size: 20px;
}

.category-card small {
  margin-top: 27px;
  color: rgba(255, 245, 216, 0.65);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.category-card h3 {
  margin: 7px 0 8px;
  font-size: 25px;
  font-weight: 500;
}

.category-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 11px;
  line-height: 1.6;
}

.category-card b {
  margin-top: 18px;
  color: #f0d595;
  font-size: 9px;
}

.section-row-heading {
  margin-bottom: 35px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
}

.section-row-heading > a {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--gold);
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 900;
}

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

.product-card {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(145, 111, 57, 0.27);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 254, 250, 0.96), rgba(247, 241, 227, 0.94)),
    var(--paper);
  box-shadow:
    0 15px 35px rgba(42, 55, 51, 0.1),
    inset 0 1px rgba(255, 255, 255, 0.9);
  transition:
    transform 240ms cubic-bezier(0.2, 0.75, 0.25, 1),
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.product-card:hover {
  border-color: rgba(179, 134, 69, 0.58);
  transform: translateY(-7px);
  box-shadow:
    0 25px 52px rgba(43, 57, 52, 0.17),
    0 0 0 1px rgba(236, 207, 144, 0.14);
}

.product-image {
  aspect-ratio: 1 / 1.04;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.98), transparent 48%),
    linear-gradient(145deg, #eee4cf, #d9e5df);
}

.product-image::before {
  width: 74%;
  height: 74%;
  position: absolute;
  border: 1px solid rgba(179, 134, 69, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(255, 253, 247, 0.34);
  content: "";
}

.product-image img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  object-fit: contain;
  transition:
    filter 300ms ease,
    transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-card:hover .product-image img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.055);
}

.ribbon-badge {
  padding: 7px 11px;
  position: absolute;
  top: 17px;
  left: 0;
  z-index: 4;
  background: var(--burgundy);
  color: white;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5c716d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.product-availability i {
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  background: transparent;
  transform: rotate(45deg);
}

.product-availability.unavailable {
  color: #87544e;
}

.product-availability.unavailable i {
  border-color: #9d6159;
}

.armor-silhouette {
  width: 62%;
  height: 56%;
  position: relative;
  z-index: 1;
  display: block;
  filter: drop-shadow(0 19px 15px rgba(31, 40, 42, 0.22));
}

.armor-silhouette::before,
.armor-silhouette::after,
.armor-silhouette i {
  position: absolute;
  background: linear-gradient(135deg, #68767a, #26363c 48%, #122329);
  content: "";
}

.armor-silhouette::before,
.armor-silhouette::after {
  width: 45%;
  height: 64%;
  top: 4%;
  border: 1px solid #111e24;
  border-radius: 50% 18% 42% 24%;
  box-shadow: inset 5px 5px 9px rgba(255, 255, 255, 0.13);
}

.armor-silhouette::before {
  left: 3%;
  transform: rotate(-11deg);
}

.armor-silhouette::after {
  right: 3%;
  transform: scaleX(-1) rotate(-11deg);
}

.armor-silhouette i {
  width: 48%;
  height: 37%;
  right: 26%;
  bottom: 0;
  border: 1px solid #17272d;
  clip-path: polygon(18% 0, 82% 0, 100% 45%, 73% 100%, 27% 100%, 0 45%);
}

.product-copy {
  min-height: 0;
  padding: 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.product-card-meta {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-card-meta > span:not(.product-availability) {
  color: #87908a;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.product-category {
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-copy h3 {
  min-height: 51px;
  margin: 8px 0;
  overflow: hidden;
  color: var(--blue-deep);
  font-size: 20px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-copy > p {
  min-height: 67px;
  margin: 0 0 17px;
  overflow: hidden;
  color: #73807d;
  font-size: 11px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-bottom {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.product-card-price {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.product-card-price > span {
  color: #8a918d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-bottom strong {
  color: var(--blue-deep);
  font-family: Georgia, serif;
  font-size: 21px;
  white-space: nowrap;
}

.product-bottom button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--blue-dark);
  border-radius: 5px;
  background: linear-gradient(180deg, #315969, #234754);
  color: white;
  font-size: 9px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(35, 71, 84, 0.17);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.product-bottom button:hover:not(:disabled) {
  background: linear-gradient(180deg, #3e6878, #294f5d);
  box-shadow: 0 11px 24px rgba(35, 71, 84, 0.24);
  transform: translateY(-2px);
}

.product-bottom button:disabled {
  border-color: #c6c3b8;
  background: #ede8dc;
  box-shadow: none;
  color: #a39f93;
}

.product-bottom button.in-cart {
  border-color: #4f765d;
  background: linear-gradient(180deg, #73967d, #4f735c);
  color: white;
  box-shadow: 0 7px 18px rgba(63, 105, 77, 0.22);
  animation: cart-button-success 560ms ease both;
}

.product-bottom button.in-cart:hover:not(:disabled) {
  border-color: #355d45;
  background: #3f684f;
  color: white;
}

.story-section {
  width: min(1440px, calc(100% - 36px));
  margin: 105px auto 0;
  display: grid;
  grid-template-columns: 52% 48%;
}

.story-image {
  min-height: 580px;
  background:
    linear-gradient(90deg, rgba(32, 60, 70, 0.08), rgba(32, 60, 70, 0.24)),
    url("onyx-fairytale-hero.png") 78% center / cover;
}

.story-copy {
  padding: clamp(65px, 8vw, 110px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--blue-deep);
  color: white;
}

.story-copy h2 {
  color: white;
}

.story-copy > p:not(.fantasy-kicker) {
  color: rgba(238, 244, 240, 0.75);
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.85;
}

.story-copy .fantasy-button {
  align-self: flex-start;
  border-color: var(--gold-light);
  background: transparent;
  color: white;
}

.realm-cta {
  width: min(1440px, calc(100% - 36px));
  min-height: 390px;
  margin: 100px auto 0;
  padding: 65px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(245, 238, 219, 0.9), rgba(245, 238, 219, 0.94)),
    url("onyx-fairytale-hero.png") center / cover;
  text-align: center;
}

.realm-cta > p:not(.fantasy-kicker) {
  max-width: 610px;
  margin: 18px auto 27px;
  color: var(--ink-soft);
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.7;
}

.page-hero {
  min-height: 350px;
  padding: 62px max(28px, calc((100% - 1240px) / 2));
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(217, 188, 125, 0.26), transparent 20%),
    linear-gradient(125deg, #254b5f, #446e7c 62%, #6f8f86);
  color: white;
}

.page-hero::after {
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(255, 246, 220, 0.15);
  content: "";
}

.page-hero > div {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.page-hero .fantasy-kicker {
  color: var(--gold-light);
}

.page-hero h1 {
  margin: 0 0 15px;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.page-hero > div > p:last-child {
  max-width: 650px;
  margin: 0;
  color: rgba(238, 244, 240, 0.78);
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.75;
}

.breadcrumbs {
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: #81918e;
  font-size: 10px;
  font-weight: 700;
}

.breadcrumbs.light {
  color: rgba(255, 255, 255, 0.62);
}

.catalog-section {
  padding: 70px 0 100px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  align-items: start;
  gap: 38px;
}

.catalog-filters {
  position: sticky;
  top: 113px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.filter-heading {
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background: #f0e5ce;
}

.filter-heading small {
  color: var(--gold);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.filter-heading h2 {
  margin: 5px 0 0;
  color: var(--blue-deep);
  font-size: 22px;
}

.category-filter-list {
  padding: 12px;
  display: grid;
}

.category-filter-list button {
  min-height: 46px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid rgba(80, 84, 73, 0.09);
  background: transparent;
  color: #586c74;
  font-size: 11px;
  text-align: left;
}

.category-filter-list button:hover,
.category-filter-list button.active {
  background: #eef1e9;
  color: var(--blue-deep);
}

.category-filter-list button.active {
  box-shadow: inset 2px 0 var(--gold);
  font-weight: 900;
}

.category-filter-list b {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f0e6d1;
  color: var(--gold);
  font-size: 9px;
}

.catalog-toolbar {
  margin-bottom: 20px;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 13px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.catalog-search {
  min-height: 45px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(79, 105, 110, 0.22);
  background: #faf7ef;
}

.catalog-search input {
  width: 100%;
  min-height: 43px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 11px;
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #7a8985;
  font-size: 10px;
}

.catalog-sort select {
  min-height: 45px;
  padding: 0 12px;
  border: 1px solid rgba(79, 105, 110, 0.22);
  background: #faf7ef;
  color: var(--blue-dark);
  font-size: 10px;
}

.catalog-count {
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  color: #788683;
  font-size: 11px;
}

.catalog-count strong {
  color: var(--blue-dark);
  font-family: Georgia, serif;
  font-size: 16px;
}

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

.empty-message,
.error-message {
  min-height: 360px;
  padding: 40px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
}

.empty-message h2,
.error-message h2 {
  margin: 12px 0 8px;
  color: var(--blue-deep);
}

.empty-message p,
.error-message p {
  color: var(--ink-soft);
  font-size: 13px;
}

.product-page {
  padding: 42px 0 100px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(380px, 1.03fr) minmax(380px, 0.97fr);
  gap: clamp(45px, 7vw, 90px);
}

.product-detail-image {
  min-height: 600px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 43%, #fffefb, transparent 43%),
    linear-gradient(145deg, #ece2ce, #dce7df);
  box-shadow: var(--shadow);
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery {
  min-width: 0;
}

.product-thumbnails {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.product-thumbnails button {
  aspect-ratio: 0.92;
  padding: 4px;
  overflow: hidden;
  border: 1px solid rgba(79, 105, 110, 0.24);
  background: #fff;
  cursor: pointer;
  transition: 180ms ease;
}

.product-thumbnails button:hover,
.product-thumbnails button.active {
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(43, 53, 48, 0.13);
  transform: translateY(-2px);
}

.product-thumbnails img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.product-detail-image .armor-silhouette {
  width: 68%;
  height: 60%;
}

.product-detail-copy {
  align-self: center;
}

.product-detail-copy h1 {
  margin: 9px 0 0;
  color: var(--blue-deep);
  font-size: clamp(42px, 5vw, 65px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.detail-description {
  color: var(--ink-soft);
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.8;
}

.detail-price-row {
  margin: 26px 0 21px;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-price-row strong {
  color: var(--blue-deep);
  font-family: Georgia, serif;
  font-size: 31px;
}

.stock-label {
  min-height: 39px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(179, 134, 69, 0.5);
  background:
    linear-gradient(135deg, rgba(245, 235, 213, 0.92), rgba(255, 253, 247, 0.96));
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.stock-label i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.stock-label.out-of-stock {
  color: var(--burgundy);
}

.stock-label.out-of-stock i {
  border-color: var(--burgundy);
}

.detail-order-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
}

.detail-order-row .fantasy-button.in-cart {
  border-color: #4f765d;
  background: linear-gradient(180deg, #73967d, #4f735c);
  box-shadow: 0 9px 25px rgba(63, 105, 77, 0.24);
  animation: cart-button-success 560ms ease both;
}

.quantity-control {
  min-height: 49px;
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  border: 1px solid rgba(79, 105, 110, 0.28);
  background: var(--paper);
}

.quantity-control button {
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 18px;
}

.quantity-control span {
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.detail-benefits {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  list-style: none;
  border-top: 1px solid var(--line);
}

.detail-benefits li {
  padding: 16px 0;
  display: flex;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.detail-benefits li > span {
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}

.detail-benefits p {
  margin: 0;
  color: #75827f;
  font-size: 11px;
  line-height: 1.55;
}

.detail-benefits strong {
  display: block;
  color: var(--blue-dark);
  font-family: Georgia, serif;
  font-size: 13px;
}

.product-editorial {
  margin-top: 75px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.product-description-panel {
  margin-top: 75px;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  border: 1px solid rgba(120, 101, 67, 0.25);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.product-description-panel.is-simple {
  grid-template-columns: 1fr;
}

.product-description-panel.is-simple > header {
  border-right: 0;
}

.product-description-panel.is-simple > header > p:last-child {
  max-width: 780px;
}

.product-description-panel > header {
  padding: clamp(38px, 5vw, 60px);
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(120, 101, 67, 0.2);
  background:
    radial-gradient(circle at 15% 7%, rgba(255, 255, 255, 0.74), transparent 27%),
    linear-gradient(145deg, #efe2c8, #e6d6b8);
}

.product-description-panel > header::after {
  width: 170px;
  height: 170px;
  position: absolute;
  right: -80px;
  bottom: -90px;
  border: 1px solid rgba(179, 134, 69, 0.3);
  border-radius: 50%;
  content: "";
}

.product-description-panel h2 {
  max-width: 430px;
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(31px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.product-description-panel > header > p:last-child {
  max-width: 500px;
  margin: 20px 0 0;
  position: relative;
  z-index: 1;
  color: #61716d;
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.75;
}

.product-description-groups {
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  align-content: center;
}

.product-description-groups > section {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
}

.product-description-groups > section + section {
  border-top: 1px solid var(--line);
}

.description-group-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(179, 134, 69, 0.55);
  color: var(--gold);
  font-size: 13px;
  transform: rotate(45deg);
}

.description-group-icon + div {
  min-width: 0;
}

.product-description-groups h3 {
  margin: 2px 0 16px;
  color: var(--blue-deep);
  font-size: 25px;
  font-weight: 500;
}

.product-description-groups ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.product-description-groups li {
  position: relative;
  padding-left: 22px;
  color: #5f706c;
  font-size: 14px;
  line-height: 1.68;
}

.product-description-groups li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gold);
  content: "—";
}

.product-editorial-copy {
  padding: clamp(38px, 5vw, 64px);
}

.product-editorial-copy h2 {
  max-width: 720px;
  margin: 0 0 17px;
  color: var(--blue-deep);
  font-size: clamp(31px, 4vw, 45px);
  font-weight: 500;
  line-height: 1.08;
}

.product-editorial-copy > p:not(.fantasy-kicker) {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.75;
}

.product-editorial-copy ul {
  margin: 27px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
}

.product-editorial-copy li {
  position: relative;
  padding-left: 25px;
  color: #596b67;
  font-size: 13px;
  line-height: 1.7;
}

.product-editorial-copy li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gold);
  content: "✦";
}

.product-spec-card {
  padding: clamp(38px, 4vw, 54px);
  background:
    radial-gradient(circle at 90% 5%, rgba(233, 205, 139, 0.18), transparent 28%),
    linear-gradient(145deg, #294e5f, #1d3742);
  color: white;
}

.product-spec-card .fantasy-kicker {
  color: var(--gold-light);
}

.product-spec-card dl {
  margin: 22px 0 0;
}

.product-spec-card dl > div {
  padding: 17px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.product-spec-card dt {
  color: rgba(239, 246, 244, 0.7);
  font-size: 12px;
}

.product-spec-card dd {
  margin: 0;
  color: white;
  font-family: Georgia, serif;
  font-size: 16px;
  text-align: right;
}

.product-information {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--paper);
}

.product-information > div {
  padding: 38px;
}

.product-information > div + div {
  border-left: 1px solid var(--line);
}

.product-information h2 {
  margin: 0 0 12px;
  color: var(--blue-deep);
  font-size: 25px;
}

.product-information > div > p:not(.fantasy-kicker) {
  margin: 0;
  color: #72817e;
  font-size: 13px;
  line-height: 1.75;
}

.product-information a {
  margin-top: 15px;
  display: inline-block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.content-section {
  padding: 85px 0 100px;
}

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

.content-card {
  min-height: 300px;
  padding: clamp(36px, 5vw, 60px);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.content-card.featured {
  background:
    radial-gradient(circle at 95% 5%, rgba(179, 134, 69, 0.13), transparent 30%),
    #e9efe8;
}

.content-card h2 {
  margin: 0 0 17px;
  color: var(--blue-deep);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
}

.content-card h3 {
  color: var(--blue-deep);
}

.content-card p,
.content-card li {
  color: var(--ink-soft);
  font-family: Georgia, serif;
  font-size: 14px;
  line-height: 1.8;
}

.content-card ul {
  padding-left: 20px;
}

.steps-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.steps-grid article {
  min-height: 240px;
  padding: 34px;
  background: var(--paper);
}

.steps-grid b {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 32px;
  font-style: italic;
  font-weight: 400;
}

.steps-grid h3 {
  margin: 26px 0 10px;
  color: var(--blue-deep);
  font-size: 20px;
}

.steps-grid p {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  min-height: 230px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--paper);
}

.contact-card:first-child {
  background: var(--blue-deep);
  color: white;
}

.contact-card > span {
  margin-bottom: 17px;
  color: var(--gold);
  font-size: 25px;
}

.contact-card small {
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.contact-card strong {
  margin: 8px 0;
  color: var(--blue-deep);
  font-family: Georgia, serif;
  font-size: 24px;
}

.contact-card:first-child strong {
  color: white;
}

.contact-card p {
  margin: 0;
  color: #71807d;
  font-size: 12px;
  line-height: 1.6;
}

.contact-card:first-child p {
  color: rgba(255, 255, 255, 0.65);
}

.contact-card.vk-card {
  min-height: 160px;
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  border-color: rgba(179, 134, 69, 0.45);
  background:
    radial-gradient(circle at 92% 15%, rgba(75, 120, 144, 0.17), transparent 30%),
    #efe4cf;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.contact-card.vk-card:hover {
  border-color: var(--gold);
  box-shadow: 0 17px 38px rgba(48, 57, 53, 0.13);
  transform: translateY(-4px);
}

.contact-card.vk-card > span {
  margin-bottom: 8px;
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 900;
}

.checkout-page {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 55px 0 100px;
}

.checkout-title {
  margin-bottom: 35px;
}

.checkout-title > p:last-child {
  color: var(--ink-soft);
  font-family: Georgia, serif;
  font-size: 15px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  gap: 22px;
}

.checkout-form {
  display: grid;
  gap: 18px;
}

.checkout-panel,
.order-summary {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 17px 45px rgba(48, 57, 53, 0.09);
}

.panel-heading {
  margin-bottom: 25px;
  display: flex;
  gap: 15px;
}

.panel-heading > b {
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.panel-heading h2 {
  margin: 0 0 5px;
  color: var(--blue-deep);
  font-size: 21px;
}

.panel-heading p {
  margin: 0;
  color: #7d8986;
  font-size: 11px;
}

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

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

.checkout-panel label {
  display: grid;
  gap: 8px;
  color: #667875;
  font-size: 10px;
  font-weight: 900;
}

.checkout-panel input,
.checkout-panel textarea,
.checkout-panel select {
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  border: 1px solid rgba(76, 105, 110, 0.28);
  outline: none;
  background: #fbf8f0;
  color: var(--ink);
  font-size: 12px;
}

.checkout-panel textarea {
  resize: vertical;
}

.delivery-options {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.choice-card {
  min-height: 80px;
  padding: 16px;
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  border: 1px solid var(--line);
  background: #fbf8f0;
  cursor: pointer;
  text-transform: none;
}

.choice-card:has(input:checked) {
  border-color: var(--blue);
  background: #e9efe8;
}

.choice-card input {
  width: auto;
  min-height: 0;
  margin-top: 2px;
  accent-color: var(--blue-dark);
}

.choice-card span {
  color: #71807d;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}

.choice-card strong {
  display: block;
  color: var(--blue-deep);
  font-family: Georgia, serif;
  font-size: 14px;
}

.order-summary {
  position: sticky;
  top: 112px;
}

.summary-items {
  margin: 17px 0 20px;
  border-top: 1px solid var(--line);
}

.summary-item {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 13px;
  border-bottom: 1px solid var(--line);
}

.summary-image {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #e9e4d8;
}

.summary-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.summary-image span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 25px;
}

.summary-item h3 {
  margin: 0 0 5px;
  color: var(--blue-deep);
  font-size: 14px;
}

.summary-item p {
  margin: 0;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 14px;
}

.summary-quantity {
  width: max-content;
  margin-top: 9px;
  display: grid;
  grid-template-columns: repeat(3, 29px);
  border: 1px solid var(--line);
}

.summary-quantity button,
.summary-quantity span {
  height: 29px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
}

.summary-total {
  padding: 5px 0 19px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.summary-total strong {
  color: var(--blue-deep);
  font-family: Georgia, serif;
  font-size: 27px;
}

.summary-note {
  color: #74817e;
  font-size: 11px;
  line-height: 1.6;
}

.submit-order {
  width: 100%;
  border: 0;
}

.form-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(129, 75, 82, 0.4);
  background: #f2dfdc;
  color: var(--burgundy);
  font-size: 12px;
}

.success-card {
  width: min(680px, calc(100% - 44px));
  min-height: 500px;
  margin: 70px auto 100px;
  padding: clamp(45px, 8vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
}

.success-mark {
  width: 72px;
  height: 72px;
  margin-bottom: 23px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sage);
  border-radius: 50%;
  background: #e4ece0;
  color: var(--sage-dark);
  font-size: 26px;
}

.success-card h1 {
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-size: clamp(38px, 6vw, 55px);
  font-weight: 500;
}

.success-card p {
  max-width: 520px;
  color: var(--ink-soft);
  font-family: Georgia, serif;
  font-size: 14px;
  line-height: 1.7;
}

.mode-notice {
  width: min(1240px, calc(100% - 44px));
  margin: 18px auto 0;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid rgba(179, 134, 69, 0.35);
  background: #f0e5ce;
  color: #6e5a37;
  font-size: 11px;
}

.mode-notice button {
  border: 0;
  background: transparent;
  color: var(--burgundy);
  font-weight: 900;
}

.store-footer {
  background: var(--blue-deep);
  color: white;
}

.footer-main {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  padding: 68px 0 56px;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 55px;
}

.footer-logo strong {
  color: white;
}

.footer-about > p {
  max-width: 320px;
  margin: 23px 0 0;
  color: rgba(230, 240, 237, 0.65);
  font-family: Georgia, serif;
  font-size: 13px;
  line-height: 1.75;
}

.footer-main > div:not(.footer-about) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-main h3 {
  margin: 0 0 9px;
  color: var(--gold-light);
  font-size: 15px;
}

.footer-main > div:not(.footer-about) a,
.footer-main > div:not(.footer-about) p {
  margin: 0;
  color: rgba(235, 242, 239, 0.68);
  font-size: 11px;
  line-height: 1.6;
}

.footer-contacts > a {
  color: white !important;
  font-family: Georgia, serif;
  font-size: 15px !important;
}

.footer-bottom {
  min-height: 66px;
  padding: 20px max(22px, calc((100% - 1240px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(235, 242, 239, 0.5);
  font-size: 10px;
}

/* Увеличенная типографика для комфортного чтения на всех страницах. */
.announcement {
  font-size: 12px;
}

.store-brand small {
  font-size: 10px;
}

.header-phone small {
  font-size: 11px;
}

.header-phone strong,
.header-cart {
  font-size: 14px;
}

.fantasy-kicker,
.eyebrow {
  font-size: 12px;
}

.fantasy-lead {
  font-size: 19px;
}

.hero-smallprint,
.category-card b,
.section-row-heading > a,
.product-category,
.product-bottom button,
.breadcrumbs,
.catalog-sort,
.catalog-search input,
.product-information a,
.footer-bottom {
  font-size: 13px;
}

.category-card small,
.ribbon-badge,
.filter-heading small,
.contact-card small {
  font-size: 11px;
}

.assurance-strip p,
.category-card p,
.product-copy > p,
.detail-benefits p,
.product-editorial-copy li,
.catalog-count,
.category-filter-list button,
.steps-grid p,
.contact-card p,
.summary-note,
.choice-card span {
  font-size: 14px;
}

.footer-main > div:not(.footer-about) a,
.footer-main > div:not(.footer-about) p {
  font-size: 14px;
}

.footer-about > p {
  font-size: 15px;
}

.page-hero > div > p:last-child,
.ornate-heading > p:last-child,
.detail-description,
.realm-cta > p:not(.fantasy-kicker),
.success-card p {
  font-size: 17px;
}

.checkout-panel label,
.panel-heading p,
.submit-consent {
  font-size: 13px;
}

.checkout-panel input,
.checkout-panel textarea,
.catalog-sort select {
  font-size: 14px;
}

.product-spec-card dt {
  font-size: 13px;
}

/* Мягкая сказочная динамика без отвлечения от каталога. */
.hero-parchment .fantasy-kicker,
.hero-parchment h1,
.hero-parchment .fantasy-lead,
.hero-parchment .hero-buttons,
.hero-parchment .hero-smallprint {
  opacity: 0;
  animation: hero-copy-in 700ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero-parchment h1 {
  animation-delay: 90ms;
}

.hero-parchment .fantasy-lead {
  animation-delay: 170ms;
}

.hero-parchment .hero-buttons {
  animation-delay: 250ms;
}

.hero-parchment .hero-smallprint {
  animation-delay: 330ms;
}

.hero-art {
  animation: hero-art-in 900ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.hero-art::before {
  position: absolute;
  inset: -25%;
  z-index: 1;
  background: linear-gradient(
    112deg,
    transparent 35%,
    rgba(255, 239, 190, 0.18) 48%,
    rgba(192, 225, 255, 0.12) 52%,
    transparent 65%
  );
  content: "";
  pointer-events: none;
  transform: translateX(-38%);
  animation: forge-light 8s ease-in-out 1s infinite;
}

.hero-art-caption {
  animation: caption-float 5s ease-in-out 1.2s infinite;
}

.page-hero > div {
  animation: page-title-in 650ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.category-symbol,
.assurance-strip > div > span {
  transition:
    transform 280ms ease,
    color 280ms ease;
}

.category-card:hover .category-symbol {
  transform: translateY(-5px) rotate(-4deg) scale(1.08);
}

.assurance-strip > div:hover > span {
  color: var(--burgundy);
  transform: translateY(-3px) scale(1.08);
}

.fantasy-button.primary,
.primary-button {
  position: relative;
  overflow: hidden;
}

.fantasy-button.primary::after,
.primary-button::after {
  width: 42%;
  position: absolute;
  inset: -50% auto -50% -60%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  content: "";
  pointer-events: none;
  transform: skewX(-18deg);
}

.fantasy-button.primary:hover::after,
.primary-button:hover::after {
  animation: button-shine 720ms ease;
}

@supports (animation-timeline: view()) {
  .fantasy-section,
  .story-section,
  .order-path,
  .content-section,
  .product-description-panel,
  .product-editorial,
  .product-information {
    opacity: 0.15;
    animation: section-rise linear both;
    animation-range: entry 5% cover 27%;
    animation-timeline: view();
  }
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-art-in {
  from {
    opacity: 0;
    transform: scale(1.045);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes forge-light {
  0%,
  18% {
    opacity: 0;
    transform: translateX(-42%);
  }

  45% {
    opacity: 1;
  }

  72%,
  100% {
    opacity: 0;
    transform: translateX(42%);
  }
}

@keyframes caption-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes page-title-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes section-rise {
  from {
    opacity: 0.15;
    transform: translateY(38px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes button-shine {
  from {
    left: -60%;
  }

  to {
    left: 125%;
  }
}

.cart-flyer {
  position: fixed;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(213, 185, 118, 0.9);
  border-radius: 50%;
  background: var(--paper);
  color: var(--gold);
  font-size: 24px;
  box-shadow: 0 13px 35px rgba(25, 45, 56, 0.35);
  pointer-events: none;
  animation: cart-flight 900ms cubic-bezier(0.2, 0.72, 0.18, 1) forwards;
}

.cart-flyer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes cart-flight {
  0% {
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(0.65) rotate(-8deg);
  }

  15% {
    opacity: 1;
    transform: translate3d(0, -14px, 0) scale(1) rotate(0);
  }

  72% {
    opacity: 1;
  }

  100% {
    opacity: 0.15;
    transform: translate3d(var(--cart-x), var(--cart-y), 0) scale(0.18)
      rotate(22deg);
  }
}

@keyframes cart-bump {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  38% {
    border-color: var(--sage);
    background: #dbe9dd;
    transform: translateY(-3px) scale(1.09) rotate(-2deg);
  }

  68% {
    transform: translateY(1px) scale(0.98) rotate(1deg);
  }
}

@keyframes cart-button-success {
  0% {
    transform: scale(0.94);
  }

  55% {
    transform: scale(1.07);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 1180px) {
  .store-header {
    grid-template-columns: 1fr auto;
  }

  .store-nav {
    width: 100%;
    padding: 22px 28px;
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    justify-content: center;
    border-top: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 35px rgba(43, 53, 48, 0.12);
  }

  .store-nav.open {
    display: flex;
  }

  .store-nav a {
    padding: 8px 0;
  }

  .menu-toggle {
    display: block;
  }

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

  .category-card-1,
  .category-card-2,
  .category-card-3,
  .category-card-4,
  .category-card-5,
  .category-card-6,
  .category-card-7 {
    grid-column: span 4;
  }
}

@media (max-width: 900px) {
  .header-phone {
    display: none;
  }

  .fantasy-hero {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 470px;
  }

  .assurance-strip {
    grid-template-columns: 1fr;
  }

  .assurance-strip > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .story-section,
  .product-detail {
    grid-template-columns: 1fr;
  }

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

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

  .product-description-panel > header {
    border-right: 0;
    border-bottom: 1px solid rgba(120, 101, 67, 0.2);
  }

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

  .product-information > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .story-image {
    min-height: 470px;
  }

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

  .catalog-filters,
  .order-summary {
    position: static;
  }

  .category-filter-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .category-card-1,
  .category-card-2,
  .category-card-3,
  .category-card-4,
  .category-card-5,
  .category-card-6,
  .category-card-7 {
    grid-column: span 6;
  }

  .category-card-7 {
    grid-column: 4 / span 6;
  }
}

@media (max-width: 650px) {
  .announcement {
    font-size: 10px;
  }

  .announcement span:nth-of-type(n + 3) {
    display: none;
  }

  .store-header {
    min-height: 74px;
    padding: 0 16px;
  }

  .store-brand-mark {
    width: 39px;
    height: 39px;
    font-size: 20px;
  }

  .store-brand strong {
    font-size: 19px;
  }

  .store-brand small {
    font-size: 8px;
  }

  .header-cart {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .header-cart > span {
    display: none;
  }

  .store-nav {
    padding: 18px;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }

  .store-nav a {
    text-align: center;
  }

  .fantasy-hero,
  .story-section,
  .realm-cta {
    width: calc(100% - 20px);
  }

  .hero-parchment {
    padding: 55px 27px;
  }

  .hero-parchment h1 {
    font-size: 45px;
  }

  .hero-buttons {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-art {
    min-height: 360px;
    background-position: 70% center;
  }

  .assurance-strip,
  .fantasy-section,
  .catalog-section,
  .product-page,
  .content-section,
  .checkout-page {
    width: calc(100% - 28px);
  }

  .fantasy-section {
    padding-top: 75px;
  }

  .category-cards,
  .product-grid,
  .catalog-products,
  .steps-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .category-card-1,
  .category-card-2,
  .category-card-3,
  .category-card-4,
  .category-card-5,
  .category-card-6,
  .category-card-7 {
    grid-column: auto;
  }

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

  .story-copy {
    padding: 60px 28px;
  }

  .page-hero {
    min-height: 330px;
    padding: 50px 28px;
  }

  .page-hero h1 {
    font-size: 47px;
  }

  .catalog-toolbar,
  .form-grid,
  .delivery-options {
    grid-template-columns: 1fr;
  }

  .category-filter-list {
    grid-template-columns: 1fr;
  }

  .catalog-sort {
    align-items: stretch;
    flex-direction: column;
  }

  .product-detail-image {
    min-height: 420px;
  }

  .product-detail-copy h1 {
    font-size: 42px;
  }

  .product-description-panel {
    margin-top: 52px;
  }

  .product-description-panel > header,
  .product-description-groups {
    padding: 28px;
  }

  .product-description-groups > section {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
  }

  .description-group-icon {
    width: 32px;
    height: 32px;
  }

  .detail-price-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .detail-order-row {
    grid-template-columns: 1fr;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* Обновлённая витрина: более выразительный первый экран и чище карточки. */
.store-header {
  min-height: 84px;
  border-bottom-color: rgba(29, 59, 76, 0.12);
  background: rgba(255, 253, 247, 0.92);
}

.store-brand-mark.logo-mark {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background-position: center 17%;
  background-size: 188% auto;
}

.header-cart {
  border-radius: 999px;
}

.fantasy-hero {
  min-height: 680px;
  position: relative;
  isolation: isolate;
  grid-template-columns: 1fr;
  border: 0;
  border-radius: 7px 7px 90px 7px;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.99) 0%, rgba(255, 250, 238, 0.96) 35%, rgba(246, 235, 211, 0.62) 52%, rgba(23, 48, 58, 0.06) 72%),
    url("onyx-fairytale-hero.png") 56% center / cover no-repeat;
  box-shadow: 0 32px 90px rgba(36, 48, 49, 0.22);
}

.fantasy-hero::after {
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(130, 105, 59, 0.24);
  border-radius: 2px 2px 72px 2px;
  content: "";
  pointer-events: none;
}

.hero-parchment {
  width: min(720px, 56%);
  min-height: 680px;
  padding: clamp(58px, 6vw, 94px) clamp(42px, 6vw, 88px);
  background: transparent;
}

.hero-parchment h1 {
  font-size: clamp(52px, 5.4vw, 82px);
  line-height: 0.96;
}

.hero-parchment h1 span {
  margin-top: 7px;
}

.fantasy-lead {
  max-width: 590px;
  margin-top: 26px;
  color: #465f69;
  font-size: 18px;
  line-height: 1.65;
}

.hero-buttons {
  margin-top: 31px;
}

.hero-buttons .fantasy-button.primary {
  min-height: 56px;
  padding-inline: 30px;
  border-radius: 7px;
  font-size: 12px;
}

.hero-art {
  display: none;
}

.hero-stats {
  max-width: 620px;
  margin-top: 38px;
  padding-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid rgba(106, 87, 53, 0.22);
}

.hero-stats > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.hero-stats > span + span {
  padding-left: 18px;
  border-left: 1px solid rgba(106, 87, 53, 0.18);
}

.hero-stats strong {
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.hero-stats small {
  color: #6d7d7d;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.assurance-strip {
  width: min(1180px, calc(100% - 64px));
  position: relative;
  z-index: 3;
  margin-top: -34px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(43, 53, 48, 0.16);
}

.assurance-strip > div {
  min-height: 112px;
}

.assurance-strip > div > span {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(179, 134, 69, 0.34);
  border-radius: 50%;
  background: #fbf5e8;
  font-size: 18px;
}

.quick-categories {
  width: min(1240px, calc(100% - 44px));
  margin: 26px auto 0;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: none;
}

.quick-categories::-webkit-scrollbar {
  display: none;
}

.quick-categories > span {
  margin-right: 6px;
  color: #7a8785;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.quick-categories a {
  min-height: 41px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(41, 78, 99, 0.15);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.72);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: 180ms ease;
}

.quick-categories a:hover {
  border-color: rgba(179, 134, 69, 0.48);
  background: var(--paper);
  box-shadow: 0 9px 24px rgba(51, 63, 59, 0.1);
  transform: translateY(-2px);
}

.quick-categories i {
  color: var(--gold);
  font-family: Georgia, serif;
  font-style: normal;
}

.product-card {
  border-color: rgba(63, 81, 82, 0.16);
  border-radius: 16px;
  background: rgba(255, 254, 249, 0.98);
  box-shadow: 0 14px 38px rgba(42, 55, 51, 0.09);
}

.product-image {
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 1), transparent 52%),
    linear-gradient(145deg, #f2ecdf, #e2ebe6);
}

.product-image::before {
  opacity: 0.62;
}

.product-stock-badge {
  min-height: 29px;
  padding: 0 10px;
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(72, 116, 81, 0.22);
  border-radius: 999px;
  background: rgba(245, 251, 244, 0.92);
  color: #416a4b;
  font-size: 10px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.product-stock-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5e9368;
  box-shadow: 0 0 0 4px rgba(94, 147, 104, 0.12);
}

.product-stock-badge.unavailable {
  border-color: rgba(129, 75, 82, 0.2);
  background: rgba(255, 247, 244, 0.92);
  color: var(--burgundy);
}

.product-stock-badge.unavailable i {
  background: var(--burgundy);
  box-shadow: 0 0 0 4px rgba(129, 75, 82, 0.11);
}

.product-image-action {
  min-height: 42px;
  padding: 0 18px;
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(29, 59, 76, 0.9);
  color: white;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(8px);
  transition: 220ms ease;
  backdrop-filter: blur(8px);
}

.product-card:hover .product-image-action,
.product-image:focus-visible .product-image-action {
  opacity: 1;
  transform: translateY(0);
}

.product-copy {
  padding: 19px 20px 20px;
}

.product-copy h3 {
  min-height: 48px;
  margin-top: 10px;
  font-size: 20px;
}

.product-copy > p {
  min-height: 45px;
  -webkit-line-clamp: 2;
}

.product-bottom button {
  border-radius: 8px;
}

.order-preview {
  width: min(1240px, calc(100% - 44px));
  margin: 105px auto 0;
  padding: clamp(34px, 5vw, 62px);
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 95% 0%, rgba(213, 185, 118, 0.15), transparent 28rem),
    linear-gradient(135deg, #183644, #294e63 62%, #385f6c);
  color: white;
  box-shadow: 0 28px 65px rgba(36, 56, 61, 0.22);
}

.order-preview::after {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(238, 213, 157, 0.18);
  border-radius: 14px;
  content: "";
  pointer-events: none;
}

.order-preview-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: 55px;
}

.order-preview-heading h2 {
  margin: 0;
  color: white;
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.order-preview-heading > p {
  margin: 0;
  color: rgba(235, 242, 239, 0.7);
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.75;
}

.order-preview-grid {
  margin: 42px 0 30px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.order-preview-step {
  min-height: 230px;
  padding: 26px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  transition: 200ms ease;
}

.order-preview-step:hover {
  border-color: rgba(213, 185, 118, 0.34);
  background: rgba(255, 255, 255, 0.085);
  transform: translateY(-4px);
}

.order-preview-step b {
  position: absolute;
  top: 17px;
  right: 21px;
  color: rgba(213, 185, 118, 0.42);
  font-family: Georgia, serif;
  font-size: 38px;
  font-style: italic;
  font-weight: 400;
}

.order-preview-step > span {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.order-preview-step h3 {
  margin: 53px 0 10px;
  color: white;
  font-size: 23px;
  font-weight: 500;
}

.order-preview-step p {
  margin: 0;
  color: rgba(232, 240, 236, 0.69);
  font-size: 13px;
  line-height: 1.65;
}

.order-preview > .fantasy-button {
  position: relative;
  z-index: 1;
  border-color: rgba(213, 185, 118, 0.62);
  background: transparent;
  color: white;
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 650ms ease var(--reveal-delay, 0ms),
    transform 650ms cubic-bezier(0.2, 0.72, 0.2, 1) var(--reveal-delay, 0ms);
}

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

.mobile-dock {
  display: none;
}

@media (max-width: 1400px) {
  .store-header {
    grid-template-columns: 1fr auto;
  }

  .store-nav {
    width: 100%;
    padding: 22px 28px;
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    justify-content: center;
    border-top: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 35px rgba(43, 53, 48, 0.12);
  }

  .store-nav.open {
    display: flex;
  }

  .store-nav a {
    padding: 8px 0;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 900px) {
  .fantasy-hero {
    min-height: 650px;
    background:
      linear-gradient(90deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 251, 241, 0.93) 54%, rgba(255, 250, 238, 0.28) 100%),
      url("onyx-fairytale-hero.png") 63% center / cover no-repeat;
  }

  .hero-parchment {
    width: 72%;
    min-height: 650px;
  }

  .order-preview-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 650px) {
  body {
    padding-bottom: 68px;
  }

  .announcement {
    min-height: 30px;
    padding-inline: 14px;
  }

  .announcement span:nth-of-type(n + 2) {
    display: none;
  }

  .store-brand-mark.logo-mark {
    width: 43px;
    height: 43px;
  }

  .fantasy-hero {
    min-height: 690px;
    margin-top: 10px;
    border-radius: 7px 7px 44px 7px;
    background:
      linear-gradient(180deg, rgba(255, 253, 247, 0.99) 0%, rgba(255, 251, 241, 0.96) 56%, rgba(24, 48, 59, 0.22) 100%),
      url("onyx-fairytale-hero.png") 68% bottom / auto 53% no-repeat,
      #f5ecdb;
  }

  .fantasy-hero::after {
    inset: 7px;
    border-radius: 2px 2px 36px 2px;
  }

  .hero-parchment {
    width: 100%;
    min-height: 690px;
    padding: 47px 24px 270px;
    justify-content: flex-start;
  }

  .hero-parchment h1 {
    max-width: 520px;
    font-size: clamp(39px, 12vw, 52px);
    line-height: 0.98;
  }

  .fantasy-lead {
    margin-top: 19px;
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-buttons {
    width: 100%;
    margin-top: 22px;
    gap: 14px;
  }

  .hero-buttons .fantasy-button.primary {
    width: 100%;
  }

  .hero-stats {
    margin-top: 23px;
    padding-top: 16px;
    gap: 8px;
  }

  .hero-stats > span + span {
    padding-left: 8px;
  }

  .hero-stats strong {
    font-size: 19px;
  }

  .hero-stats small {
    font-size: 9px;
  }

  .assurance-strip {
    width: calc(100% - 34px);
    margin-top: -22px;
  }

  .assurance-strip > div {
    min-height: 92px;
    padding: 17px 20px;
  }

  .assurance-strip > div > span {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .quick-categories {
    width: calc(100% - 20px);
    padding-inline: 4px;
  }

  .quick-categories > span {
    display: none;
  }

  .product-image-action {
    display: none;
  }

  .order-preview {
    width: calc(100% - 20px);
    margin-top: 72px;
    padding: 38px 24px;
  }

  .order-preview-grid {
    grid-template-columns: 1fr;
  }

  .order-preview-step {
    min-height: 205px;
  }

  .mobile-dock {
    min-height: 62px;
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(41, 78, 99, 0.13);
    background: rgba(255, 253, 247, 0.96);
    box-shadow: 0 -12px 35px rgba(35, 52, 54, 0.11);
    backdrop-filter: blur(15px);
  }

  .mobile-dock a {
    min-width: 0;
    display: grid;
    place-items: center;
    gap: 2px;
    color: var(--blue-dark);
  }

  .mobile-dock span {
    height: 22px;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 17px;
    font-weight: 700;
  }

  .mobile-dock small {
    font-size: 9px;
    font-weight: 900;
  }
}

/* Контрастный медно-оранжевый акцент. */
body {
  background:
    radial-gradient(circle at 7% 9%, rgba(230, 90, 49, 0.09), transparent 25rem),
    radial-gradient(circle at 93% 34%, rgba(111, 151, 143, 0.1), transparent 28rem),
    #f7f1e4;
}

::selection {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.announcement-ornament,
.store-brand small,
.header-cart > span:first-child,
.hero-stats strong,
.quick-categories i,
.section-row-heading > a,
.order-preview-step > span,
.mobile-dock span {
  color: var(--accent);
}

.store-nav a::after {
  background: var(--accent);
}

.header-cart {
  border-color: rgba(230, 90, 49, 0.32);
  background: linear-gradient(135deg, #fff2eb, var(--accent-soft));
  color: #7d2d1d;
  box-shadow: 0 8px 20px rgba(185, 58, 31, 0.09);
}

.header-cart:hover {
  border-color: rgba(230, 90, 49, 0.52);
  background: #ffd8c5;
  box-shadow: 0 11px 25px rgba(185, 58, 31, 0.16);
}

.header-cart b {
  background: var(--accent);
  box-shadow: 0 5px 13px var(--accent-glow);
}

.hero-parchment h1 span {
  color: var(--accent-deep);
}

.fantasy-button.primary,
.primary-button {
  border-color: #c94827;
  background: linear-gradient(135deg, #ee7047, var(--accent) 48%, #c64223);
  box-shadow: 0 12px 28px var(--accent-glow);
}

.fantasy-button.primary:hover,
.primary-button:hover {
  border-color: #ac311b;
  background: linear-gradient(135deg, #f47b51, #dc4e29 55%, #ad321c);
  box-shadow: 0 16px 34px rgba(185, 58, 31, 0.34);
}

.fantasy-button.text {
  border-bottom-color: rgba(230, 90, 49, 0.48);
}

.fantasy-hero::after {
  border-color: rgba(230, 90, 49, 0.3);
}

.assurance-strip > div > span {
  border-color: rgba(230, 90, 49, 0.32);
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.quick-categories a:hover {
  border-color: rgba(230, 90, 49, 0.52);
  background: #fff5f0;
  box-shadow: 0 10px 26px rgba(185, 58, 31, 0.12);
}

.category-card {
  border-top: 3px solid rgba(255, 142, 102, 0.76);
}

.category-card:nth-child(3) {
  background: linear-gradient(140deg, #d96642, #973922);
}

.category-card b,
.category-card:nth-child(3) .category-symbol {
  color: #ffd8c4;
}

.product-card:hover {
  border-color: rgba(230, 90, 49, 0.48);
  box-shadow:
    0 25px 52px rgba(43, 57, 52, 0.15),
    0 0 0 1px rgba(230, 90, 49, 0.08);
}

.ribbon-badge {
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
}

.product-image-action {
  border-color: rgba(255, 226, 212, 0.38);
  background: linear-gradient(110deg, rgba(185, 58, 31, 0.94), rgba(230, 90, 49, 0.94));
}

.product-bottom button:not(.in-cart) {
  border-color: #c94827;
  background: linear-gradient(180deg, #ed6d44, #cf4627);
  box-shadow: 0 9px 20px rgba(185, 58, 31, 0.22);
}

.product-bottom button:hover:not(:disabled):not(.in-cart) {
  background: linear-gradient(180deg, #f27a51, #bc3a20);
  box-shadow: 0 12px 26px rgba(185, 58, 31, 0.3);
}

.order-preview {
  background:
    radial-gradient(circle at 95% 0%, rgba(230, 90, 49, 0.28), transparent 30rem),
    linear-gradient(135deg, #183644, #294e63 62%, #3b5360);
}

.order-preview-step:hover {
  border-color: rgba(255, 139, 98, 0.5);
  background: rgba(230, 90, 49, 0.1);
}

.order-preview-step b {
  color: rgba(255, 126, 80, 0.6);
}

.order-preview > .fantasy-button {
  border-color: rgba(255, 126, 80, 0.74);
  color: #fff3ed;
}

.mobile-dock a:nth-child(2) span,
.mobile-dock a:nth-child(4) span {
  color: var(--accent-deep);
}

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

  .hero-parchment .fantasy-kicker,
  .hero-parchment h1,
  .hero-parchment .fantasy-lead,
  .hero-parchment .hero-buttons,
  .hero-parchment .hero-smallprint,
  .hero-art,
  .page-hero > div,
  .fantasy-section,
  .story-section,
  .order-path,
  .content-section,
  .product-description-panel,
  .product-editorial,
  .product-information {
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Фотографическая витрина — август 2026 */
.fantasy-hero {
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.995) 0%, rgba(255, 250, 238, 0.97) 37%, rgba(246, 235, 211, 0.6) 54%, rgba(12, 27, 35, 0.05) 74%),
    url("editorial/hero-catalog-v13.webp") center center / cover no-repeat;
}

.category-card {
  min-height: 340px;
  padding: 0;
  isolation: isolate;
  border: 0;
  border-radius: 18px;
  background: #132b36;
  box-shadow: 0 18px 45px rgba(28, 43, 47, 0.18);
}

.category-card > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: -2;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 400ms ease;
}

.category-card:nth-child(2) > img,
.category-card:nth-child(3) > img,
.category-card:nth-child(4) > img,
.category-card:nth-child(6) > img {
  object-position: center 35%;
}

.category-card-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(9, 22, 29, 0.12), rgba(9, 22, 29, 0.26) 36%, rgba(9, 22, 29, 0.95) 100%),
    linear-gradient(90deg, rgba(12, 34, 43, 0.36), transparent 68%);
  transition: background 280ms ease;
}

.category-card-copy {
  min-height: 340px;
  padding: 25px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.category-card::after {
  z-index: 1;
}

.category-card:hover {
  box-shadow: 0 28px 62px rgba(22, 38, 43, 0.27);
}

.category-card:hover > img {
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.065);
}

.category-card:hover .category-card-shade {
  background:
    linear-gradient(180deg, rgba(9, 22, 29, 0.06), rgba(9, 22, 29, 0.18) 36%, rgba(9, 22, 29, 0.92) 100%),
    linear-gradient(90deg, rgba(12, 34, 43, 0.2), transparent 68%);
}

.category-card .category-symbol {
  width: 44px;
  height: 44px;
  margin-bottom: auto;
  background: rgba(17, 39, 49, 0.48);
  backdrop-filter: blur(9px);
}

.category-card small {
  margin-top: 24px;
  color: rgba(255, 236, 202, 0.78);
}

.category-card h3 {
  max-width: 280px;
  margin: 8px 0;
  color: #fffdf7;
  text-wrap: balance;
}

.category-card p {
  max-width: 300px;
  color: rgba(245, 247, 244, 0.78);
}

.category-card b {
  color: #ff9a70;
}

.showcase-section {
  width: min(1440px, calc(100% - 36px));
  margin: 85px auto 0;
  padding: clamp(28px, 4vw, 58px);
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 2%, rgba(230, 90, 49, 0.18), transparent 25rem),
    linear-gradient(145deg, #102b38, #183946 58%, #213d48);
  color: white;
  box-shadow: 0 32px 85px rgba(24, 45, 52, 0.25);
}

.showcase-heading {
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.54fr);
  align-items: end;
  gap: 48px;
}

.showcase-heading h2 {
  max-width: 760px;
  margin: 0;
  color: white;
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.showcase-heading > p {
  margin: 0;
  color: rgba(235, 243, 240, 0.7);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.75;
}

.showcase-grid {
  display: grid;
  grid-auto-rows: 235px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.showcase-item {
  grid-column: span 3;
  min-width: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #091a22;
}

.showcase-main {
  grid-column: span 6;
  grid-row: span 2;
}

.showcase-tall {
  grid-column: span 3;
  grid-row: span 2;
}

.showcase-grid .showcase-item:nth-last-child(-n + 2) {
  grid-column: span 6;
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 420ms ease;
}

.showcase-item:nth-child(1) img {
  object-position: center 30%;
}

.showcase-item:hover img {
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.045);
}

.showcase-item figcaption {
  padding: 44px 20px 18px;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 3px;
  background: linear-gradient(transparent, rgba(7, 20, 27, 0.93));
}

.showcase-item figcaption span {
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
}

.showcase-item figcaption small {
  color: rgba(255, 226, 211, 0.72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.theatre-case {
  width: min(1440px, calc(100% - 36px));
  margin: 22px auto 0;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(390px, 0.75fr);
  gap: 12px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 2% 0%, rgba(230, 90, 49, 0.18), transparent 26rem),
    #102b38;
  box-shadow: 0 28px 75px rgba(24, 45, 52, 0.2);
}

.theatre-case-visual {
  min-height: 610px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #08171e;
}

.theatre-case-main-photo,
.theatre-case-detail-photo {
  margin: 0;
}

.theatre-case-main-photo,
.theatre-case-main-photo::after {
  position: absolute;
  inset: 0;
}

.theatre-case-main-photo::after {
  background: linear-gradient(180deg, rgba(6, 18, 24, 0.04), rgba(6, 18, 24, 0.42));
  content: "";
  pointer-events: none;
}

.theatre-case-main-photo img,
.theatre-case-detail-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.theatre-case-main-photo img {
  object-position: center;
}

.theatre-case-detail-photo {
  width: 48%;
  aspect-ratio: 3 / 2;
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  overflow: hidden;
  border: 6px solid #102b38;
  border-radius: 15px;
  background: #102b38;
  box-shadow: 0 22px 50px rgba(4, 14, 19, 0.5);
}

.theatre-case-detail-photo img {
  object-position: center 44%;
}

.theatre-case-badge {
  min-width: 150px;
  padding: 16px 20px 14px;
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px;
  background: rgba(11, 34, 44, 0.9);
  color: white;
  box-shadow: 0 14px 34px rgba(4, 14, 19, 0.3);
  backdrop-filter: blur(10px);
}

.theatre-case-badge strong {
  color: #ff7951;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 43px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.theatre-case-badge small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theatre-case-copy {
  min-width: 0;
  min-height: 610px;
  padding: clamp(38px, 4vw, 64px);
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 34px;
  border: 1px solid rgba(184, 135, 84, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(230, 90, 49, 0.1), transparent 18rem),
    #fffaf0;
  color: #254451;
}

.theatre-case-copy h2 {
  max-width: 530px;
  margin: 10px 0 0;
  color: #183b49;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.theatre-case-copy blockquote {
  margin: 0;
  padding-left: 24px;
  display: grid;
  gap: 16px;
  border-left: 2px solid #e65a31;
}

.theatre-case-copy blockquote p {
  margin: 0;
  color: #5f6d6b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.7;
}

.theatre-case-copy footer {
  padding-top: 20px;
  display: grid;
  gap: 5px;
  border-top: 1px solid rgba(47, 77, 85, 0.17);
}

.theatre-case-copy footer span {
  color: #b75537;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.theatre-case-copy footer strong {
  color: #244550;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
}

.order-preview-body {
  margin-top: 42px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
}

.order-preview-photo {
  min-height: 470px;
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: #102733;
}

.order-preview-photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 54% center;
}

.order-preview-photo figcaption {
  padding: 65px 24px 22px;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 5px;
  background: linear-gradient(transparent, rgba(10, 28, 36, 0.94));
}

.order-preview-photo strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.order-preview-photo span {
  color: rgba(239, 244, 241, 0.7);
  font-size: 11px;
}

.order-preview-content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.order-preview-content .order-preview-grid {
  width: 100%;
  margin: 0 0 22px;
  grid-template-columns: 1fr;
}

.order-preview-content .order-preview-step {
  min-height: 128px;
  padding: 22px 78px 22px 23px;
}

.order-preview-content .order-preview-step h3 {
  margin: 22px 0 7px;
  font-size: 21px;
}

.order-preview-content > .fantasy-button {
  border-color: rgba(255, 151, 112, 0.72);
  background: rgba(255, 255, 255, 0.04);
  color: white;
}

.story-image {
  background:
    linear-gradient(90deg, rgba(20, 44, 54, 0.08), rgba(20, 44, 54, 0.2)),
    url("editorial/process-forming.webp") center / cover;
}

.realm-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(rgba(247, 240, 222, 0.9), rgba(247, 240, 222, 0.94)),
    url("editorial/forest-action.webp") center 42% / cover;
  box-shadow: 0 24px 60px rgba(43, 54, 50, 0.14);
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(17, 45, 57, 0.98), rgba(28, 65, 79, 0.9) 54%, rgba(29, 59, 76, 0.38)),
    url("editorial/armor-flatlay.webp") center / cover;
}

.catalog-hero {
  background:
    linear-gradient(90deg, rgba(17, 45, 57, 0.98), rgba(28, 65, 79, 0.88) 52%, rgba(29, 59, 76, 0.26)),
    url("editorial/full-armor.webp") center 34% / cover;
}

.page-hero-about {
  background:
    linear-gradient(90deg, rgba(17, 45, 57, 0.98), rgba(28, 65, 79, 0.87) 55%, rgba(29, 59, 76, 0.28)),
    url("editorial/process-forming.webp") center 45% / cover;
}

.page-hero-order,
.page-hero-delivery {
  background:
    linear-gradient(90deg, rgba(17, 45, 57, 0.98), rgba(28, 65, 79, 0.89) 55%, rgba(29, 59, 76, 0.3)),
    url("editorial/order-packing.webp") center / cover;
}

.page-hero-contacts {
  background:
    linear-gradient(90deg, rgba(17, 45, 57, 0.98), rgba(28, 65, 79, 0.88) 56%, rgba(29, 59, 76, 0.34)),
    url("editorial/hero-catalog-v13.webp") center / cover;
}

.workshop-photo-band {
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1.15fr;
  gap: 14px;
}

.workshop-photo-card {
  min-height: 320px;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #17323f;
  box-shadow: 0 18px 40px rgba(38, 53, 52, 0.14);
}

.workshop-photo-card:nth-child(2) {
  min-height: 370px;
}

.workshop-photo-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 600ms ease;
}

.workshop-photo-card:hover img {
  transform: scale(1.045);
}

.workshop-photo-card figcaption {
  padding: 50px 20px 18px;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  background: linear-gradient(transparent, rgba(9, 26, 34, 0.92));
  color: white;
}

.workshop-photo-card figcaption b {
  color: #ff8b5f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
}

.workshop-photo-card figcaption span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
}

@media (max-width: 1100px) {
  .showcase-grid {
    grid-auto-rows: 220px;
  }

  .showcase-main,
  .showcase-grid .showcase-item:nth-last-child(-n + 2) {
    grid-column: span 6;
  }

  .showcase-tall,
  .showcase-item {
    grid-column: span 3;
  }

  .order-preview-body {
    grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  }
}

@media (max-width: 900px) {
  .fantasy-hero {
    background:
      linear-gradient(90deg, rgba(255, 253, 247, 0.99) 0%, rgba(255, 251, 241, 0.95) 55%, rgba(255, 250, 238, 0.25) 100%),
      url("editorial/hero-catalog-v13.webp") 64% center / cover no-repeat;
  }

  .showcase-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .showcase-main,
  .showcase-tall,
  .showcase-item,
  .showcase-grid .showcase-item:nth-last-child(-n + 2) {
    grid-column: span 6;
    grid-row: span 1;
  }

  .showcase-main,
  .showcase-tall {
    grid-row: span 2;
  }

  .theatre-case {
    grid-template-columns: 1fr;
  }

  .theatre-case-visual {
    min-height: 540px;
  }

  .theatre-case-copy {
    min-height: 0;
  }

  .order-preview-body {
    grid-template-columns: 1fr;
  }

  .order-preview-photo {
    min-height: 390px;
  }

  .workshop-photo-band {
    grid-template-columns: 1fr 1fr;
  }

  .workshop-photo-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  .fantasy-hero {
    background:
      linear-gradient(180deg, rgba(255, 253, 247, 1) 0%, rgba(255, 251, 241, 0.97) 57%, rgba(19, 42, 51, 0.12) 72%, rgba(19, 42, 51, 0.46) 100%),
      url("editorial/category-body-v13.webp") center bottom / auto 47% no-repeat,
      #f5ecdb;
  }

  .hero-parchment {
    padding-bottom: 292px;
  }

  .category-card,
  .category-card-copy {
    min-height: 385px;
  }

  .showcase-section {
    width: calc(100% - 20px);
    margin-top: 65px;
    padding: 28px 14px 14px;
    border-radius: 20px;
  }

  .showcase-heading {
    padding-inline: 9px;
  }

  .showcase-heading h2 {
    font-size: 39px;
  }

  .showcase-grid {
    grid-auto-rows: 250px;
    grid-template-columns: 1fr;
  }

  .showcase-main,
  .showcase-tall,
  .showcase-item,
  .showcase-grid .showcase-item:nth-last-child(-n + 2) {
    grid-column: auto;
    grid-row: auto;
  }

  .showcase-main,
  .showcase-tall {
    min-height: 385px;
  }

  .theatre-case {
    width: calc(100% - 20px);
    margin-top: 14px;
    padding: 8px;
    gap: 8px;
    border-radius: 20px;
  }

  .theatre-case-visual {
    min-height: 0;
    display: grid;
    gap: 8px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
  }

  .theatre-case-main-photo {
    aspect-ratio: 1500 / 915;
    position: relative;
    inset: auto;
    overflow: hidden;
    border-radius: 14px;
  }

  .theatre-case-main-photo::after {
    position: absolute;
    inset: 0;
  }

  .theatre-case-detail-photo {
    width: 100%;
    position: relative;
    right: auto;
    bottom: auto;
    border: 0;
    border-radius: 14px;
    box-shadow: none;
  }

  .theatre-case-badge {
    min-width: 128px;
    padding: 13px 15px 12px;
    top: 10px;
    left: 10px;
  }

  .theatre-case-badge strong {
    font-size: 35px;
  }

  .theatre-case-copy {
    padding: 30px 22px;
    gap: 26px;
    border-radius: 14px;
  }

  .theatre-case-copy h2 {
    max-width: 100%;
    font-size: clamp(32px, 9.5vw, 40px);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .theatre-case-copy blockquote {
    padding-left: 17px;
    gap: 13px;
  }

  .theatre-case-copy blockquote p {
    font-size: 15px;
    line-height: 1.65;
  }

  .order-preview-photo {
    min-height: 300px;
  }

  .order-preview-content .order-preview-step {
    min-height: 185px;
  }

  .workshop-photo-band {
    grid-template-columns: 1fr;
  }

  .workshop-photo-card,
  .workshop-photo-card:nth-child(2),
  .workshop-photo-card:last-child {
    min-height: 310px;
    grid-column: auto;
  }
}

@media (min-width: 1181px) {
  .store-header {
    padding-inline: clamp(20px, 2.3vw, 44px);
    grid-template-columns: minmax(190px, 0.76fr) auto minmax(250px, 0.76fr);
  }

  .store-nav {
    width: auto;
    padding: 0;
    position: static;
    display: flex !important;
    gap: clamp(11px, 1.35vw, 22px);
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .store-nav a {
    padding: 33px 0 30px;
    font-size: 13px;
  }

  .store-nav a::after {
    bottom: 23px;
  }

  .header-actions {
    gap: clamp(8px, 1.15vw, 18px);
  }

  .menu-toggle {
    display: none;
  }
}

/* Финальная мобильная адаптация: ровная типографика, фотографии и заметная корзина. */
@media (max-width: 650px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .store-header {
    min-height: 70px;
    padding: 8px 12px;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .store-brand {
    min-width: 0;
    gap: 8px;
  }

  .store-brand-mark.logo-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 11px;
  }

  .store-brand > span:last-child {
    min-width: 0;
  }

  .store-brand strong {
    font-size: 17px;
    letter-spacing: 0.08em;
  }

  .store-brand small {
    font-size: 7px;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .header-actions {
    gap: 7px;
  }

  .header-vk {
    display: none;
  }

  .header-cart {
    width: auto;
    min-width: 92px;
    min-height: 44px;
    padding: 0 9px;
    justify-content: center;
    gap: 6px;
    border: 2px solid rgba(230, 90, 49, 0.62);
    background: linear-gradient(135deg, #fff0e8, #ffd1bd);
    box-shadow: 0 8px 20px rgba(185, 58, 31, 0.2);
  }

  .header-cart > span:first-child {
    display: none;
  }

  .header-cart > span:nth-child(2) {
    display: inline;
    font-size: 10px;
    font-weight: 900;
  }

  .header-cart b {
    min-width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .fantasy-hero {
    width: calc(100% - 12px);
    min-height: 0;
    margin-top: 6px;
    overflow: hidden;
    background:
      radial-gradient(circle at 86% 8%, rgba(230, 90, 49, 0.1), transparent 34%),
      linear-gradient(180deg, #fffdf7 0%, #f8f0e2 100%);
  }

  .fantasy-hero::before {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 0;
    height: 260px;
    border: 1px solid rgba(230, 90, 49, 0.3);
    border-radius: 18px 18px 58px 18px;
    background:
      linear-gradient(180deg, transparent 62%, rgba(10, 25, 33, 0.22) 100%),
      url("editorial/hero-catalog-v13.webp") 61% center / cover no-repeat;
    box-shadow: 0 18px 36px rgba(31, 43, 47, 0.2);
    content: "";
    pointer-events: none;
  }

  .hero-parchment {
    position: relative;
    z-index: 1;
    min-height: 0;
    padding: 38px 18px 306px;
  }

  .hero-parchment h1 {
    max-width: 100%;
    font-size: clamp(34px, 10.5vw, 43px);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .hero-parchment h1 span {
    margin-top: 6px;
  }

  .fantasy-lead {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-buttons {
    margin-top: 18px;
    gap: 10px;
  }

  .hero-buttons .fantasy-button,
  .hero-buttons .fantasy-button.primary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-stats {
    margin-top: 18px;
    gap: 6px;
  }

  .hero-stats > span + span {
    padding-left: 6px;
  }

  .hero-stats strong {
    font-size: 18px;
  }

  .hero-stats small {
    font-size: 8px;
    line-height: 1.25;
  }

  .assurance-strip {
    margin-top: 14px;
  }

  .section-row-heading h2,
  .showcase-heading h2 {
    max-width: 100%;
    font-size: clamp(32px, 10vw, 40px);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .page-hero {
    width: calc(100% - 20px);
    min-height: 280px;
    padding: 38px 20px;
    background-position: center;
  }

  .page-hero > div {
    min-width: 0;
  }

  .page-hero h1,
  .product-detail-copy h1 {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .page-hero > div > p:last-child {
    font-size: 14px;
    line-height: 1.55;
  }

  .category-card,
  .category-card-copy {
    min-height: 320px;
  }

  .category-card > img,
  .showcase-item img,
  .order-preview-photo img,
  .workshop-photo-card img {
    object-position: center center;
  }

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

  .product-image img,
  .product-detail-image img,
  .product-thumbnails img,
  .summary-image img {
    object-fit: contain;
    object-position: center;
  }

  .product-detail-image {
    min-height: 0;
    aspect-ratio: 1 / 1.08;
  }

  .product-copy,
  .product-description-panel > header,
  .product-description-groups,
  .checkout-panel,
  .order-summary {
    padding-right: 20px;
    padding-left: 20px;
  }

  .product-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .product-bottom button {
    width: 100%;
    min-height: 46px;
  }

  .showcase-section,
  .theatre-case,
  .order-preview,
  .story-section,
  .realm-cta {
    width: calc(100% - 20px);
  }

  .showcase-grid {
    grid-auto-rows: auto;
    gap: 16px;
  }

  .showcase-item,
  .showcase-main,
  .showcase-tall {
    min-height: 0;
    grid-row: auto;
  }

  .showcase-item {
    aspect-ratio: 4 / 3;
  }

  .showcase-main {
    aspect-ratio: 4 / 3;
  }

  .showcase-tall {
    aspect-ratio: 4 / 5;
  }

  .showcase-grid .showcase-item:nth-last-child(-n + 2) {
    aspect-ratio: 4 / 3;
  }

  .showcase-item img {
    display: block;
  }

  .workshop-photo-card,
  .workshop-photo-card:nth-child(2),
  .workshop-photo-card:last-child {
    min-height: 280px;
  }

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

  .mobile-dock .mobile-cart-link {
    margin: 0 2px;
    position: relative;
    border-radius: 12px;
    background: linear-gradient(135deg, #f06b43, #c94022);
    color: white;
    box-shadow: 0 6px 16px rgba(185, 58, 31, 0.3);
  }

  .mobile-dock .mobile-cart-link span,
  .mobile-dock .mobile-cart-link small {
    color: white;
  }

  .mobile-cart-link b {
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    position: absolute;
    top: -4px;
    right: 7px;
    display: grid;
    place-items: center;
    border: 2px solid #fffdf7;
    border-radius: 999px;
    background: #173947;
    color: white;
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .store-header {
    padding-inline: 9px;
  }

  .store-brand small {
    display: none;
  }

  .store-brand strong {
    font-size: 15px;
  }

  .header-cart {
    min-width: 82px;
    padding-inline: 7px;
  }

  .hero-parchment {
    padding-inline: 16px;
  }
}

/* Широкий первый экран и полноэкранный просмотр фотогалереи. */
@media (min-width: 1101px) {
  .fantasy-hero {
    background:
      linear-gradient(90deg, #fffdf7 0%, rgba(255, 251, 241, 0.995) 44%, rgba(252, 246, 233, 0.96) 48%, rgba(249, 241, 224, 0.82) 52%, rgba(245, 237, 222, 0.58) 56%, rgba(238, 232, 219, 0.34) 60%, rgba(224, 222, 213, 0.16) 64%, rgba(203, 207, 204, 0.05) 68%, rgba(20, 40, 48, 0.01) 72%),
      url("editorial/hero-product-v15.webp") calc(100% + 52px) center / auto 100% no-repeat,
      #ece9e1;
  }

  .fantasy-hero,
  .showcase-section,
  .theatre-case,
  .story-section,
  .realm-cta {
    width: min(1440px, calc(100% - 56px));
  }
}

@media (min-width: 1600px) {
  .fantasy-hero {
    background-image:
      linear-gradient(90deg, #fffdf7 0%, rgba(255, 251, 241, 0.995) 44%, rgba(252, 246, 233, 0.96) 48%, rgba(249, 241, 224, 0.82) 52%, rgba(245, 237, 222, 0.58) 56%, rgba(238, 232, 219, 0.34) 60%, rgba(224, 222, 213, 0.16) 64%, rgba(203, 207, 204, 0.05) 68%, rgba(20, 40, 48, 0.01) 72%),
      url("editorial/hero-product-v15.webp"),
      none;
    background-position: 0 0, right top, 0 0;
    background-size: auto, auto 116%, auto;
  }

  .fantasy-hero,
  .showcase-section,
  .theatre-case,
  .story-section,
  .realm-cta {
    width: min(1816px, calc(100% - 72px));
  }

  .fantasy-section,
  .catalog-section,
  .product-page,
  .content-section,
  .checkout-page,
  .quick-categories,
  .order-preview,
  .footer-main {
    width: min(1640px, calc(100% - 64px));
  }

  .assurance-strip {
    width: min(1540px, calc(100% - 96px));
  }

  .showcase-grid {
    grid-auto-rows: 270px;
  }

  .footer-bottom {
    padding-inline: max(32px, calc((100% - 1640px) / 2));
  }
}

.showcase-item[role="button"] {
  cursor: zoom-in;
  outline: none;
}

.showcase-item[role="button"]::before {
  width: 38px;
  height: 38px;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  background: rgba(8, 24, 31, 0.58);
  color: white;
  content: "↗";
  font-size: 17px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
  backdrop-filter: blur(8px);
}

.showcase-item[role="button"]:hover::before,
.showcase-item[role="button"]:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}

.showcase-item[role="button"]:focus-visible {
  box-shadow: 0 0 0 3px #ff8b5f, 0 0 0 7px rgba(255, 139, 95, 0.24);
}

body.lightbox-open {
  overflow: hidden;
}

.showcase-lightbox {
  padding: 26px 86px;
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 24px;
  background: rgba(5, 15, 20, 0.94);
  backdrop-filter: blur(14px);
  animation: showcase-lightbox-in 190ms ease both;
}

@keyframes showcase-lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.showcase-lightbox-stage {
  min-width: 0;
  max-width: min(1480px, calc(100vw - 250px));
  max-height: calc(100vh - 52px);
  margin: auto;
  position: relative;
  display: grid;
  justify-items: center;
}

.showcase-lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 130px);
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

.showcase-lightbox-stage figcaption {
  min-width: min(460px, 80%);
  margin-top: -1px;
  padding: 16px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 22px;
  border-radius: 0 0 14px 14px;
  background: #fffaf0;
  color: #173947;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.25);
}

.showcase-lightbox-stage figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
}

.showcase-lightbox-stage figcaption span {
  grid-column: 1;
  color: #687776;
  font-size: 11px;
}

.showcase-lightbox-stage figcaption small {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #c94a28;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.showcase-lightbox button {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 170ms ease, background 170ms ease;
}

.showcase-lightbox button:hover,
.showcase-lightbox button:focus-visible {
  background: #e65a31;
  outline: none;
  transform: scale(1.06);
}

.showcase-lightbox-close {
  width: 48px;
  height: 48px;
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 2;
  border-radius: 50%;
  font-size: 31px;
  line-height: 1;
}

.showcase-lightbox-nav {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 25px;
}

@media (max-width: 700px) {
  .showcase-item[role="button"]::before {
    opacity: 1;
    transform: none;
  }

  .showcase-lightbox {
    padding: 68px 12px 24px;
    grid-template-columns: 1fr 1fr;
    align-content: center;
    gap: 14px;
  }

  .showcase-lightbox-stage {
    max-width: 100%;
    max-height: calc(100vh - 150px);
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .showcase-lightbox-stage img {
    max-height: calc(100vh - 220px);
    border-radius: 14px;
  }

  .showcase-lightbox-stage figcaption {
    width: calc(100% - 18px);
    min-width: 0;
    padding: 13px 15px;
  }

  .showcase-lightbox-stage figcaption strong {
    font-size: 17px;
  }

  .showcase-lightbox-prev,
  .showcase-lightbox-next {
    width: 100%;
    height: 46px;
    grid-row: 2;
    border-radius: 999px;
  }

  .showcase-lightbox-close {
    width: 44px;
    height: 44px;
    top: 14px;
    right: 14px;
  }
}
