/*
 * MASTER REDESIGN
 * Shared visual system for every page, including checkout.
 * Existing HTML/JS behavior remains intact; this file owns the final cascade.
 */

:root {
  --r-bg: #09090b;
  --r-bg-strong: #18181b;
  --r-surface: #18181b;
  --r-surface-soft: rgba(24, 24, 27, 0.84);
  --r-ink: #f4f4f5;
  --r-ink-soft: #a1a1aa;
  --r-line: rgba(212, 212, 216, 0.12);
  --r-line-strong: rgba(212, 212, 216, 0.22);
  --r-accent: #85583d;
  --r-accent-dark: #b68b69;
  --r-green: #8fba98;
  --r-dark: #09090b;
  --r-dark-soft: #27272a;
  --r-radius-sm: 12px;
  --r-radius: 20px;
  --r-radius-lg: 32px;
  --r-shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.22);
  --r-shadow: 0 22px 64px rgba(0, 0, 0, 0.34);
  --r-shadow-lg: 0 34px 100px rgba(0, 0, 0, 0.48);
  --r-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: #09090b;
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  overflow-x: hidden;
  background: var(--r-bg);
  color: var(--r-ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: rgba(161, 161, 170, 0.34);
  color: var(--r-ink);
}

img {
  max-width: 100%;
}

a,
button,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms var(--r-ease),
    box-shadow 220ms ease;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(212, 212, 216, 0.38);
  outline-offset: 3px;
}

/* Header */

.header,
.header_container {
  height: 78px;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(24, 20, 17, 0.82);
  box-shadow: 0 12px 40px rgba(13, 9, 7, 0.18);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  animation: r-header-in 720ms var(--r-ease) both;
}

.header::after {
  display: none;
}

.header.scrolled {
  background: rgba(24, 20, 17, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(13, 9, 7, 0.24);
}

.header_container {
  width: min(100%, 1320px);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 38px);
}

.logo_header {
  width: 64px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

.logo_header:hover {
  opacity: 1;
  transform: translateY(-2px) rotate(-2deg) scale(1.04);
}

.header_nav {
  gap: clamp(12px, 2.4vw, 28px);
}

.transfer_header {
  padding: 9px 3px;
  color: rgba(255, 250, 244, 0.76);
  background-image: linear-gradient(90deg, var(--r-accent), #f1b17e);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-shadow: none;
}

.transfer_header::after {
  display: none;
}

.transfer_header:hover {
  color: #fffaf4;
  background-size: 100% 2px;
}

.cart-btn {
  min-height: 42px;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fffaf4;
  box-shadow: none;
}

.cart-btn svg {
  color: currentColor;
}

.cart-btn span {
  min-width: 21px;
  height: 21px;
  background: var(--r-accent);
  color: white;
}

.cart-btn:hover {
  border-color: var(--r-accent);
  background: var(--r-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(216, 120, 63, 0.27);
}

.burger {
  width: 42px;
  height: 42px;
  padding: 10px 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.burger span {
  background: #fffaf4;
}

.mobile-menu {
  top: 78px;
  padding: 12px 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(24, 20, 17, 0.97);
  box-shadow: 0 24px 60px rgba(13, 9, 7, 0.34);
}

.mobile-menu .transfer_header {
  padding: 14px 16px;
  border: 0;
  border-radius: 12px;
  color: rgba(255, 250, 244, 0.82);
}

.mobile-menu .transfer_header:hover {
  padding-left: 20px;
  background: rgba(255, 255, 255, 0.07);
  color: white;
}

.mobile-menu .cart-btn {
  width: 100%;
  margin: 10px 0 0;
}

/* Homepage hero */

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(900px, 100svh);
  padding: 138px 24px 82px;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(17, 13, 10, 0.98) 0 48%, rgba(17, 13, 10, 0.72) 67%, rgba(17, 13, 10, 0.9) 100%),
    linear-gradient(180deg, #201915, #130f0d);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero::before {
  top: -18%;
  right: -8%;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(216, 120, 63, 0.25);
  box-shadow:
    inset 0 0 90px rgba(216, 120, 63, 0.08),
    0 0 120px rgba(216, 120, 63, 0.08);
  animation: r-orbit 16s linear infinite;
}

.hero::after {
  bottom: -22rem;
  left: -14rem;
  width: 44rem;
  height: 44rem;
  background: rgba(216, 120, 63, 0.09);
  filter: blur(80px);
  animation: r-breathe 7s ease-in-out infinite;
}

.hero_container {
  width: min(100%, 1240px);
  margin-inline: auto;
  gap: clamp(44px, 8vw, 110px);
}

.hero_left {
  max-width: 620px;
  gap: 18px;
  opacity: 1;
  transform: none;
  animation: r-rise 900ms 120ms var(--r-ease) both;
}

.logo_hero {
  width: clamp(150px, 20vw, 240px);
  height: auto;
  margin: 0 0 2px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.28));
}

.title_hero {
  max-width: 12ch;
  margin: 0;
  color: #fffaf4;
  font-size: clamp(42px, 6.3vw, 78px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.title_hero span {
  color: var(--r-accent);
}

.subtitle_hero {
  max-width: 52ch;
  margin: 4px 0 14px;
  color: rgba(255, 250, 244, 0.62);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
}

.hero_buttons {
  gap: 12px;
  opacity: 1;
  transform: none;
  animation: r-rise 850ms 320ms var(--r-ease) both;
}

.btn_one,
.btn_two {
  min-height: 50px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.btn_one {
  background: var(--r-accent);
  color: #fff;
  box-shadow: 0 14px 34px rgba(216, 120, 63, 0.28);
}

.btn_two {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fffaf4;
  backdrop-filter: blur(12px);
}

.btn_one:hover,
.btn_two:hover {
  transform: translateY(-3px);
}

.btn_one:hover {
  background: #e88950;
  box-shadow: 0 18px 42px rgba(216, 120, 63, 0.36);
}

.btn_two:hover {
  border-color: var(--r-accent);
  background: rgba(216, 120, 63, 0.13);
}

.hero .mySwiper {
  width: clamp(300px, 36vw, 450px);
  height: clamp(440px, 58vw, 650px);
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 36px;
  background: #2a221d;
  box-shadow: var(--r-shadow-lg);
  opacity: 1;
  transform: rotate(2deg);
  animation: r-gallery-in 1s 180ms var(--r-ease) both, r-float 7s 1.2s ease-in-out infinite;
}

.hero .mySwiper::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero .swiper:hover,
.hero .mySwiper:hover {
  transform: rotate(2deg);
}

.hero .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Homepage product rail */

.products {
  position: relative;
  padding: clamp(74px, 9vw, 126px) 24px;
  background: transparent;
}

.p_header,
.feedback_title {
  color: var(--r-ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.p_subtitle,
.feedback_subtitle {
  margin-top: 10px;
  color: var(--r-ink-soft);
  font-size: 15px;
}

.products_wrapper {
  width: min(100%, 1240px);
  margin: 40px auto 0;
  padding: 8px 4px 22px;
  gap: 18px;
  justify-content: start;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--r-accent) transparent;
}

.home-categories {
  width: min(100%, 1240px);
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: 1.18fr 0.91fr 0.91fr;
  gap: 18px;
}

.home-category-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--r-line);
  border-radius: 28px;
  background: var(--r-dark);
  box-shadow: var(--r-shadow-sm);
  isolation: isolate;
}

.home-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(16, 11, 9, 0.94), rgba(16, 11, 9, 0.06) 72%);
}

.home-category-card:first-child {
  min-height: 500px;
  grid-row: auto;
}

.home-category-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--r-ease), filter 500ms ease;
}

.home-category-card:hover {
  border-color: rgba(216, 120, 63, 0.55);
  transform: translateY(-7px);
  box-shadow: var(--r-shadow);
}

.home-category-card:hover img {
  transform: scale(1.07);
  filter: saturate(1.08);
}

.home-category-copy {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 5px;
  padding: 26px;
  color: #fffaf4;

}

.home-category-copy small {
  color: rgba(255, 250, 244, 0.58);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-category-copy strong {
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.home-category-copy em {
  width: fit-content;
  margin-top: 10px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.home-catalog-link {
  width: fit-content;
  min-height: 48px;
  margin: 24px auto 0;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--r-line-strong);
  border-radius: 999px;
  color: var(--r-ink);
  font-size: 13px;
  font-weight: 750;
}

.home-catalog-link span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--r-dark);
  color: white;
}

.home-catalog-link:hover {
  border-color: var(--r-accent);
  background: var(--r-accent);
  color: white;
  transform: translateY(-2px);
}

.mini_bar {
  width: 250px;
  height: 390px;
  flex: 0 0 250px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--r-line);
  border-radius: 24px;
  background: var(--r-surface);
  box-shadow: var(--r-shadow-sm);
  transition: transform 360ms var(--r-ease), box-shadow 360ms ease, border-color 360ms ease;
}

.mini_bar:hover {
  border-color: rgba(216, 120, 63, 0.42);
  transform: translateY(-8px);
  box-shadow: var(--r-shadow);
}

.mini_bar_logo {
  width: 100%;
  height: 208px;
  object-fit: cover;
  transition: transform 600ms var(--r-ease);
}

.mini_bar:hover .mini_bar_logo {
  transform: scale(1.055);
}

.bar_h1 {
  color: var(--r-ink);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.bar_subtitle,
.bar_Text {
  color: var(--r-ink-soft);
}

.buy_button {
  width: calc(100% - 28px);
  height: 43px;
  margin: 16px 14px 0;
  border-radius: 999px;
  background: var(--r-dark);
  color: white;
  font-weight: 700;
}

.buy_button:hover {
  background: var(--r-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(216, 120, 63, 0.24);
}

.scroll_button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--r-line);
  background: var(--r-surface);
  box-shadow: var(--r-shadow-sm);
}

/* Story section */

.surprise {
  padding: clamp(76px, 9vw, 126px) 24px;
  background: var(--r-dark);
  color: #fffaf4;
}

.surprise_container {
  width: min(100%, 1240px);
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(44px, 8vw, 110px);
}

.left_surprise {
  padding-top: 0;
}

.title_sur {
  color: #fffaf4;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.subtitle_sur {
  color: rgba(255, 250, 244, 0.57);
  font-size: 15px;
  line-height: 1.7;
}

.sur_list {
  display: grid;
  gap: 10px;
}

.sur_list li {
  position: relative;
  margin: 0;
  padding: 18px 18px 18px 54px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.sur_list li::before {
  content: "↗";
  position: absolute;
  top: 17px;
  left: 18px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--r-accent);
  color: white;
  font-size: 12px;
}

.sur_list h3 {
  color: #fffaf4;
}

.sur_list p {
  color: rgba(255, 250, 244, 0.55);
  line-height: 1.6;
}

.right_surprise {
  gap: 18px;
}

.sur_photo {
  width: min(100%, 560px);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  transition: transform 500ms var(--r-ease);
}

.sur_photo:nth-child(2) {
  width: min(82%, 460px);
  margin-top: -76px;
  margin-right: -18%;
  border: 8px solid var(--r-dark);
}

.sur_photo:hover {
  transform: translateY(-6px) rotate(-1deg);
}

/* Feedback */

.feedback {
  padding: clamp(76px, 9vw, 126px) 24px;
  background: transparent;
}

.feedback_header {
  margin-bottom: 42px;
}

.feedback_wrapper {
  width: min(100%, 1080px);
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
}

.feedback_container,
.feedback_contacts {
  border: 1px solid var(--r-line);
  border-radius: 24px;
  background: var(--r-surface);
  box-shadow: var(--r-shadow-sm);
}

.feedback_container {
  padding: clamp(24px, 4vw, 38px);
}

.feedback_contacts {
  padding: 24px;
}

.forma {
  color: var(--r-ink);
  font-size: 23px;
  letter-spacing: -0.035em;
}

.label {
  color: var(--r-ink);
}

.in_text,
.text_chat {
  min-height: 48px;
  border: 1px solid var(--r-line);
  border-radius: 12px;
  background: #fbf8f3;
  color: var(--r-ink);
}

.in_text:focus,
.text_chat:focus {
  border-color: var(--r-accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(216, 120, 63, 0.14);
}

.send_button {
  min-height: 50px;
  height: auto;
  border-radius: 999px;
  background: var(--r-dark);
  box-shadow: none;
}

.send_button:hover {
  background: var(--r-accent);
  box-shadow: 0 12px 28px rgba(216, 120, 63, 0.24);
}

.contact_card {
  border: 1px solid var(--r-line);
  border-radius: 14px;
  background: #fbf8f3;
}

.contact_card:hover {
  border-color: rgba(216, 120, 63, 0.45);
  background: white;
}

/* Catalog landing */

.catalog {
  min-height: 100svh;
  padding: 126px 24px 90px;
  background:
    radial-gradient(circle at 88% 8%, rgba(216, 120, 63, 0.18), transparent 30rem),
    var(--r-dark);
}

.catalog_intro {
  width: min(100%, 1320px);
  margin: 0 auto 42px;
  padding: 0 2px;
  color: #fffaf4;
  animation: r-rise 800ms var(--r-ease) both;
}

.catalog_eyebrow {
  display: inline-flex;
  margin-bottom: 15px;
  align-items: center;
  gap: 10px;
  color: var(--r-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.catalog_eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

.catalog_intro h1 {
  max-width: 12ch;
  color: #fffaf4;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.catalog_intro p {
  max-width: 60ch;
  margin-top: 20px;
  color: rgba(255, 250, 244, 0.58);
  font-size: 15px;
  line-height: 1.7;
}

.catalog_container {
  width: min(100%, 1320px);
  margin-inline: auto;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.box {
  height: clamp(430px, 40vw, 560px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: #2b231e;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transform: none;
  animation: r-card-in 760ms var(--r-ease) both;
}

.box:nth-child(2) { animation-delay: 70ms; }
.box:nth-child(3) { animation-delay: 140ms; }
.box:nth-child(4) { animation-delay: 210ms; }
.box:nth-child(5) { animation-delay: 280ms; }
.box:nth-child(6) { animation-delay: 350ms; }

.box::before {
  border-radius: inherit;
  background: linear-gradient(to top, rgba(15, 11, 9, 0.96), rgba(15, 11, 9, 0.48) 45%, rgba(15, 11, 9, 0.04) 78%);
}

.box::after {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
}

.box:hover {
  transform: translateY(-9px);
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.36);
}

.box:hover::after {
  border-color: rgba(216, 120, 63, 0.72);
}

.image {
  border-radius: inherit;
  transition: transform 800ms var(--r-ease), filter 500ms ease;
}

.box:hover .image {
  transform: scale(1.075);
  filter: saturate(1.08);
}

.card-content {
  padding: 0 26px 28px;
  gap: 8px;
}

.card-badge {
  top: 18px;
  left: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(20, 15, 12, 0.55);
  color: #fffaf4;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.card-divider {
  width: 48px;
  height: 2px;
  background: var(--r-accent);
}

.card-title {
  color: #fffaf4;
  font-size: clamp(23px, 2.4vw, 32px);
  letter-spacing: -0.045em;
}

.card-sub {
  color: rgba(255, 250, 244, 0.58);
}

.box button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.box button:hover {
  border-color: var(--r-accent);
  background: var(--r-accent);
  box-shadow: 0 12px 28px rgba(216, 120, 63, 0.25);
}

/* Product collection pages */

.breadcrumb {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding: 112px clamp(16px, 4vw, 34px) 0;
  color: var(--r-ink-soft);
  font-size: 12px;
}

.breadcrumb a {
  color: var(--r-accent-dark);
}

.section_content {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding: 30px clamp(16px, 4vw, 34px) 94px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.section_content::before {
  content: "Выберите исполнение";
  grid-column: 1 / -1;
  margin-bottom: 4px;
  color: var(--r-ink);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--r-line);
  border-radius: 24px;
  background: var(--r-surface);
  box-shadow: var(--r-shadow-sm);
  transform: none;
  animation: r-card-in 720ms var(--r-ease) both;
}

.product-card:nth-child(2) { animation-delay: 70ms; }
.product-card:nth-child(3) { animation-delay: 140ms; }
.product-card:nth-child(4) { animation-delay: 210ms; }
.product-card:nth-child(5) { animation-delay: 280ms; }
.product-card:nth-child(6) { animation-delay: 350ms; }

.product-card:hover {
  border-color: rgba(216, 120, 63, 0.38);
  transform: translateY(-8px);
  box-shadow: var(--r-shadow);
}

.product-card .img-wrap {
  height: clamp(250px, 28vw, 350px);
  overflow: hidden;
  background: #e9e0d5;
}

.product-card img {
  transition: transform 700ms var(--r-ease);
}

.product-card:hover img {
  transform: scale(1.055);
}

.product-card .card-body {
  padding: 20px;
  gap: 8px;
}

.product-card h2 {
  color: var(--r-ink);
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.product-card .price {
  color: var(--r-ink);
  font-size: 24px;
  letter-spacing: -0.04em;
}

.product-card .buy-btn {
  min-height: 44px;
  border-radius: 999px;
  background: var(--r-dark);
  box-shadow: none;
}

.product-card .buy-btn:hover {
  background: var(--r-accent);
  box-shadow: 0 12px 28px rgba(216, 120, 63, 0.22);
}

/* Product detail pages */

.order {
  width: min(100%, 1280px);
  max-width: 1280px;
  margin-inline: auto;
  padding: 118px clamp(16px, 4vw, 36px) 72px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(28px, 5vw, 64px);
}

.slider-wrapper {
  width: 100%;
  gap: 14px;
}

.swiper-thumbs {
  width: 68px;
  gap: 9px;
}

.thumb-item {
  width: 68px;
  height: 68px;
  border: 2px solid transparent;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(31, 23, 17, 0.09);
}

.thumb-item:hover {
  transform: translateX(2px);
}

.thumb-item.active {
  border-color: var(--r-accent);
  box-shadow: 0 0 0 3px rgba(216, 120, 63, 0.16);
  transform: translateX(2px);
}

#swiper {
  width: 100%;
  height: clamp(480px, 50vw, 650px);
  flex: 1 1 auto;
  border: 1px solid var(--r-line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.8), transparent 45%),
    #e9e0d5;
  box-shadow: var(--r-shadow);
}

#swiper::before,
#swiper .swiper-slide {
  border-radius: 28px;
}

#swiper .swiper-slide img {
  object-fit: contain;
  padding: clamp(0px, 1vw, 10px);
}

.slide-counter {
  background: rgba(24, 20, 17, 0.7);
  color: white;
}

.slide-progress {
  height: 4px;
}

.slide-progress-fill {
  background: linear-gradient(90deg, var(--r-accent), #f1ad7f);
}

.price_and_order {
  top: 102px;
}

.right_side {
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--r-line);
  border-radius: 26px;
  background: rgba(255, 253, 249, 0.82);
  box-shadow: var(--r-shadow-sm);
  backdrop-filter: blur(18px);
}

.main_text {
  color: var(--r-ink);
  font-size: clamp(30px, 3.7vw, 45px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.subtitle_text {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(79, 118, 89, 0.1);
  color: var(--r-green);
  font-size: 11px;
}

.art {
  margin-top: -6px;
  color: var(--r-ink-soft);
}

.block-color {
  gap: 9px;
  padding: 16px;
  border: 1px solid var(--r-line);
  border-radius: 16px;
  background: rgba(31, 23, 17, 0.035);
}

.color {
  color: var(--r-ink);
}

.color_link {
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--r-line-strong);
}

.color_link:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 0 0 2px var(--r-accent), 0 10px 24px rgba(31, 23, 17, 0.16);
}

.img-color {
  width: 38px;
  height: 38px;
  border: 0;
}

.cost {
  margin: 3px 0;
  color: var(--r-ink);
  font-size: clamp(34px, 4vw, 46px);
  letter-spacing: -0.055em;
}

.left {
  padding: 4px;
  border: 1px solid var(--r-line);
  border-radius: 999px;
  background: #eee7de;
}

.btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.btn:hover {
  background: white;
  color: var(--r-accent-dark);
  transform: none;
}

.right {
  gap: 10px;
}

.order_btn,
.orderclick_btn {
  min-height: 50px;
  height: auto;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
}

.order_btn {
  background: var(--r-dark);
  box-shadow: none;
}

.order_btn:hover {
  background: var(--r-accent);
  box-shadow: 0 14px 30px rgba(216, 120, 63, 0.24);
}

.orderclick_btn {
  border: 1px solid var(--r-line-strong);
  background: transparent;
  color: var(--r-ink);
}

.orderclick_btn:hover {
  border-color: var(--r-accent);
  background: rgba(216, 120, 63, 0.09);
  box-shadow: none;
}

.charka {
  width: min(100%, 1280px);
  max-width: 1280px;
  margin-inline: auto;
  padding: 0 clamp(16px, 4vw, 36px) 76px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.charka > hr,
.charka > .char_title {
  grid-column: 1 / -1;
}

.charka > hr {
  margin-bottom: 22px;
}

.char_title,
.prod_title {
  color: var(--r-ink);
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.char_title::after,
.prod_title::after {
  width: 54px;
  background: var(--r-accent);
}

.char_box {
  height: 100%;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--r-line);
  border-radius: 20px;
  background: var(--r-surface);
  box-shadow: var(--r-shadow-sm);
}

.char_box:hover {
  border-color: rgba(216, 120, 63, 0.4);
  transform: translateY(-5px);
  box-shadow: var(--r-shadow);
}

.char {
  color: var(--r-ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.simillar_products {
  padding-bottom: 96px;
  overflow: hidden;
}

.products_container {
  width: min(100%, 1280px);
  max-width: 1280px;
  padding: 52px clamp(16px, 4vw, 36px) 24px;
}

.sim-nav-prev,
.sim-nav-next {
  border: 1px solid var(--r-line);
  background: var(--r-surface);
  color: var(--r-ink);
  box-shadow: var(--r-shadow-sm);
}

.sim-nav-prev:hover,
.sim-nav-next:hover {
  border-color: var(--r-accent);
  background: var(--r-accent);
  color: white;
}

.similar-card,
.sim-card {
  overflow: hidden;
  border: 1px solid var(--r-line);
  border-radius: 22px;
  background: var(--r-surface);
  box-shadow: var(--r-shadow-sm);
}

.similar-card:hover,
.sim-card:hover {
  border-color: rgba(216, 120, 63, 0.4);
  transform: translateY(-7px);
  box-shadow: var(--r-shadow);
}

.sim-content {
  background: var(--r-surface);
}

.sim-title,
.sim-price {
  color: var(--r-ink);
}

.sim-sub {
  color: var(--r-ink-soft);
}

.sim-btn,
.similar-card-btn {
  border-color: var(--r-line-strong);
  background: var(--r-dark);
  color: white;
}

.sim-btn:hover,
.similar-card-btn:hover {
  border-color: var(--r-accent);
  background: var(--r-accent);
}

/* Modals */

.cart-modal,
.contact-modal,
.return-modal {
  padding: 20px;
  background: rgba(18, 13, 10, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cart-modal-content,
.contact-modal-content,
.return-modal-content {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: var(--r-surface);
  box-shadow: 0 30px 100px rgba(12, 8, 6, 0.42);
}

.cart-modal-content {
  width: min(94vw, 580px);
}

.contact-modal-content,
.return-modal-content {
  width: min(94vw, 520px);
}

.h2_modal,
.contact-title,
.return-title {
  color: var(--r-ink);
  letter-spacing: -0.035em;
}

.cart-close,
.contact-close,
.return-close {
  border: 1px solid var(--r-line);
  background: #eee7de;
  color: var(--r-ink);
}

.cart-item {
  border: 1px solid var(--r-line);
  border-radius: 16px;
  background: #fbf8f3;
}

.checkout-btn {
  min-height: 50px;
  border-radius: 999px;
  background: var(--r-dark);
}

.checkout-btn:hover {
  background: var(--r-accent);
}

.contact-item {
  border: 1px solid var(--r-line);
  border-radius: 14px;
  background: #fbf8f3;
  color: var(--r-ink);
}

.contact-item:hover {
  border-color: var(--r-accent);
  background: rgba(216, 120, 63, 0.08);
  color: var(--r-accent-dark);
}

/* Footer */

.footer {
  padding: 64px 24px 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(216, 120, 63, 0.12), transparent 24rem),
    var(--r-dark);
}

.footer_container {
  width: min(100%, 1240px);
  max-width: 1240px;
  padding: 0;
  gap: 38px;
}

.footer_logo {
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.24));
}

.footer_Text_1,
.text_footer,
.footer_foot {
  color: rgba(255, 250, 244, 0.55);
}

.footer_right_main {
  color: #fffaf4;
  font-weight: 700;
}

/* Motion */

.reveal {
  opacity: 0;
  transform: translateY(26px);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 720ms var(--r-ease), transform 720ms var(--r-ease);
}

@keyframes r-header-in {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes r-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes r-gallery-in {
  from { opacity: 0; transform: translateX(38px) rotate(5deg) scale(0.96); }
  to { opacity: 1; transform: translateX(0) rotate(2deg) scale(1); }
}

@keyframes r-card-in {
  from { opacity: 0; transform: translateY(32px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes r-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

@keyframes r-orbit {
  to { transform: rotate(360deg); }
}

@keyframes r-breathe {
  0%, 100% { opacity: 0.72; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.07); }
}

/* Responsive */

@media (max-width: 1080px) {
  .hero_container {
    gap: 42px;
  }

  .catalog_container,
  .section_content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .slider-wrapper {
    max-width: 820px;
    margin-inline: auto;
  }

  #swiper {
    height: min(680px, 72vw);
  }

  .price_and_order {
    position: static;
    width: 100%;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero_container {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .hero_left {
    max-width: 680px;
  }

  .title_hero {
    max-width: 11ch;
  }

  .hero_buttons {
    justify-content: flex-start;
  }

  .hero .mySwiper {
    width: min(100%, 560px);
    height: min(650px, 112vw);
    margin-inline: auto;
    transform: rotate(1deg);
  }

  .surprise_container {
    grid-template-columns: 1fr;
  }

  .right_surprise {
    display: flex;
    order: -1;
  }

  .feedback_wrapper {
    grid-template-columns: 1fr;
  }

  .feedback_contacts {
    order: -1;
  }

  .charka {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header_nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .catalog {
    padding: 110px 14px 58px;
  }

  .catalog_intro {
    margin-bottom: 30px;
  }

  .catalog_container {
    gap: 14px;
  }

  .box {
    height: min(560px, 118vw);
  }

  .section_content {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 14px 64px;
  }

  .product-card .img-wrap {
    height: min(420px, 86vw);
  }

  .order {
    padding: 104px 14px 52px;
  }

  .slider-wrapper {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .swiper-thumbs {
    width: 100% !important;
    flex-direction: row !important;
    gap: 8px;
    padding: 2px 2px 5px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .swiper-thumbs::-webkit-scrollbar {
    display: none;
  }

  .thumb-item {
    width: 58px !important;
    height: 58px !important;
    flex: 0 0 58px;
    transform: none !important;
  }

  #swiper {
    width: 100% !important;
    height: min(560px, 112vw);
    border-radius: 22px;
  }

  #swiper::before,
  #swiper .swiper-slide {
    border-radius: 22px;
  }

  .right_side {
    padding: 24px 18px 20px;
    border-radius: 22px;
  }

  .charka {
    padding: 0 14px 56px;
  }

  .products_container {
    padding-inline: 14px;
  }

  .footer_container {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer_right {
    margin-top: 0;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .hero {
    padding: 108px 14px 56px;
  }

  .title_hero {
    max-width: none;
    font-size: clamp(38px, 13vw, 58px);
  }

  .subtitle_hero {
    font-size: 14px;
  }

  .hero_buttons {
    flex-direction: column;
  }

  .btn_one,
  .btn_two {
    width: 100%;
  }

  .hero .mySwiper {
    height: min(520px, 126vw);
    border-radius: 26px;
  }

  .products,
  .surprise,
  .feedback {
    padding-left: 14px;
    padding-right: 14px;
  }

  .home-categories {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-category-card,
  .home-category-card:first-child {
    min-height: 330px;
    grid-row: auto;
  }

  .mini_bar {
    width: 224px;
    flex-basis: 224px;
  }

  .sur_photo:nth-child(2) {
    width: 90%;
    margin-top: -34px;
    margin-right: -6%;
  }

  .catalog_container {
    grid-template-columns: 1fr;
  }

  .box {
    height: min(500px, 130vw);
    border-radius: 22px;
  }

  .box button {
    width: 100%;
    justify-content: center;
  }

  .breadcrumb {
    padding: 100px 14px 0;
  }

  .product-card {
    border-radius: 20px;
  }

  .product-card .img-wrap {
    height: min(360px, 90vw);
  }

  #swiper {
    height: min(440px, 116vw);
    border-radius: 18px;
  }

  #swiper::before,
  #swiper .swiper-slide {
    border-radius: 18px;
  }

  .thumb-item {
    width: 50px !important;
    height: 50px !important;
    flex-basis: 50px;
    border-radius: 11px;
  }

  .main_text {
    font-size: 28px;
  }

  .block-color {
    padding: 13px;
  }

  .img-color {
    width: 34px;
    height: 34px;
  }

  .order_btn,
  .orderclick_btn {
    min-height: 49px;
  }

  .char_box {
    padding: 18px;
  }

  .cart-modal,
  .contact-modal,
  .return-modal {
    padding: 0;
    align-items: flex-end;
  }

  .cart-modal-content,
  .contact-modal-content,
  .return-modal-content {
    width: 100%;
    max-width: none;
    max-height: 92svh;
    border-radius: 26px 26px 0 0;
  }
}

/* Unified dark theme */

.products,
.feedback,
.section_content,
.order,
.charka,
.products_slide {
  background: transparent;
}

.mini_bar,
.product-card,
.feedback_container,
.feedback_contacts,
.right_side,
.char_box,
.cart-modal-content,
.contact-modal-content,
.return-modal-content {
  border-color: var(--r-line);
  background: linear-gradient(155deg, rgba(32, 28, 25, 0.96), rgba(21, 18, 16, 0.98));
  color: var(--r-ink);
  box-shadow: var(--r-shadow-sm);
}

.in_text,
.text_chat,
.contact_card,
.contact-item,
.cart-item,
.left {
  border-color: var(--r-line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--r-ink);
}

.in_text::placeholder,
.text_chat::placeholder {
  color: rgba(245, 238, 231, 0.38);
}

.in_text:focus,
.text_chat:focus,
.contact_card:hover,
.contact-item:hover {
  border-color: rgba(229, 134, 74, 0.58);
  background: rgba(229, 134, 74, 0.08);
}

.buy_button,
.product-card .buy-btn,
.send_button,
.checkout-btn {
  background: linear-gradient(135deg, var(--r-accent), #b75d2e);
  color: #fff;
}

.home-catalog-link span,
.scroll_button,
.cart-close,
.contact-close,
.return-close {
  border-color: var(--r-line);
  background: rgba(255, 255, 255, 0.07);
  color: var(--r-ink);
}

.product-card .img-wrap,
#swiper {
  background:
    radial-gradient(circle at 50% 26%, rgba(229, 134, 74, 0.12), transparent 46%),
    #171411;
}

.right_side {
  background: rgba(27, 24, 22, 0.86);
}

.block-color {
  background: rgba(255, 255, 255, 0.035);
}

.color_link {
  border-color: #2b2521;
}

.btn:hover {
  background: rgba(229, 134, 74, 0.14);
  color: var(--r-accent-dark);
}

/* Checkout */

.container {
  width: min(100%, 1320px);
  max-width: 1320px;
  padding-top: 122px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.left_container {
  grid-column: 1;
  grid-row: 1;
}

.right_container {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 100px;
}

.form,
.right_box,
.payment-result-box {
  border: 1px solid var(--r-line);
  background:
    linear-gradient(145deg, rgba(34, 29, 26, 0.98), rgba(20, 17, 15, 0.98));
  color: var(--r-ink);
  box-shadow: var(--r-shadow);
}

.form_title,
.form_subtitle,
.delivery-step p,
.delivery-option b,
.form_label,
.right_box h1,
.payment-total,
.payment-total span,
.payment-name,
.payment-price,
.payment-counter span,
.pickup-point,
.suggestion-item,
.payment-result-text,
.payment-result-link {
  color: var(--r-ink);
}

.form_label {
  color: var(--r-ink-soft);
}

.delivery-hint,
.delivery-option small,
.suggestion-note,
.pickup-results-empty,
.pickup-point span,
.payment-qty {
  color: var(--r-ink-soft);
}

.form_input,
.delivery-option,
.pickup-point,
.post-pickup-placeholder {
  border-color: var(--r-line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--r-ink);
}

.form_input::placeholder {
  color: rgba(245, 238, 231, 0.35);
}

.form_input:focus {
  border-color: var(--r-accent);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 4px rgba(229, 134, 74, 0.13);
}

.form_input.is-checkout-invalid {
  border-color: #e47d7d;
  box-shadow: 0 0 0 4px rgba(228, 125, 125, 0.13);
}

.checkout-field-error {
  color: #f09a9a;
}

.delivery-step span {
  background: var(--r-accent);
}

.delivery-option:hover,
.pickup-point:hover {
  border-color: rgba(229, 134, 74, 0.55);
  background: rgba(229, 134, 74, 0.07);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.delivery-option:has(input:checked),
.delivery-option.is-selected,
.pickup-point.is-selected {
  border-color: var(--r-accent);
  background: linear-gradient(145deg, rgba(229, 134, 74, 0.14), rgba(255, 255, 255, 0.035));
  box-shadow: 0 0 0 3px rgba(229, 134, 74, 0.11);
}

.suggestions-list {
  border-color: var(--r-line);
  background: rgba(24, 21, 19, 0.98);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
}

.suggestion-icon {
  border-color: rgba(229, 134, 74, 0.24);
  color: var(--r-accent-dark);
}

.suggestion-meta {
  color: var(--r-ink-soft);
}

.suggestion-title mark {
  background: rgba(229, 134, 74, 0.2);
  color: var(--r-ink);
}

.suggest-clear {
  color: var(--r-ink-soft);
}

.suggest-clear:hover,
.suggest-clear:focus-visible {
  background: rgba(229, 134, 74, 0.12);
  color: var(--r-ink);
}

.suggestion-item:hover,
.suggestion-item:focus {
  background: rgba(229, 134, 74, 0.12);
}

.pickup-selection {
  border-color: rgba(143, 186, 152, 0.35);
  background: rgba(143, 186, 152, 0.1);
  color: #b6d8bd;
}

.cdek-map-panel {
  border-color: var(--r-line);
  background: #171411;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.025), var(--r-shadow-sm);
}

.cdek-pickup-map {
  background: #171411;
}

.cdek-pickup-map .leaflet-tile-pane {
  filter: saturate(0.55) sepia(0.12) brightness(0.62) contrast(1.15);
}

.cdek-pickup-map .leaflet-control-zoom a,
.cdek-pickup-map .leaflet-popup-content-wrapper,
.cdek-pickup-map .leaflet-popup-tip,
.cdek-map-status {
  border-color: var(--r-line);
  background: rgba(27, 24, 22, 0.96);
  color: var(--r-ink);
}

.cdek-pickup-map .leaflet-control-attribution {
  background: rgba(27, 24, 22, 0.82);
  color: var(--r-ink-soft);
}

.post-map-placeholder {
  background: #171411;
  color: var(--r-ink-soft);
}

.post-map-placeholder-icon {
  border-color: var(--r-green);
  background: rgba(143, 186, 152, 0.09);
  color: var(--r-green);
}

@media (min-width: 901px) {
  .cdek-pickup-layout:not(.post-pickup-layout) {
    grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  }

  .cdek-pickup-layout:not(.post-pickup-layout) .cdek-map-panel {
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
  }

  .cdek-pickup-layout:not(.post-pickup-layout) .cdek-pickup-map {
    height: 100%;
    min-height: 0;
  }
}

.payment-item {
  border-bottom-color: var(--r-line);
}

.payment-img {
  border-color: var(--r-line);
  background: #171411;
}

.payment-counter button {
  background: rgba(255, 255, 255, 0.07) !important;
  color: var(--r-ink) !important;
}

.payment-counter button:hover {
  background: var(--r-accent) !important;
}

.payment-total {
  border-top-color: var(--r-line);
}

.payment-breakdown {
  border-top-color: var(--r-line);
  color: var(--r-ink-soft);
}

.payment-breakdown b {
  color: var(--r-ink);
}

.delivery-quote {
  border-color: var(--r-line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--r-ink);
}

.delivery-quote-copy small {
  color: var(--r-ink-soft);
}

.delivery-quote[data-state="success"] {
  border-color: rgba(91, 170, 111, 0.42);
  background: rgba(61, 125, 76, 0.14);
  box-shadow: 0 10px 28px rgba(61, 125, 76, 0.08);
}

.delivery-quote[data-state="error"] {
  border-color: rgba(229, 134, 74, 0.44);
  background: rgba(146, 63, 44, 0.13);
}

.delivery-quote-retry {
  border-color: var(--r-line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--r-ink);
}

.delivery-quote-retry:hover {
  border-color: var(--r-accent);
  background: rgba(229, 134, 74, 0.1);
}

.delivery-payment-choice {
  border-color: var(--r-line);
  background: rgba(255, 255, 255, 0.035);
}

.delivery-payment-heading b {
  color: var(--r-ink);
}

.delivery-payment-heading small,
.delivery-payment-hint,
#paymentDeliveryTiming {
  color: var(--r-ink-soft);
}

.delivery-payment-button {
  border-color: var(--r-line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--r-ink);
}

.delivery-payment-button:hover {
  border-color: var(--r-accent);
  background: rgba(229, 134, 74, 0.1);
}

.delivery-payment-button.is-selected {
  border-color: var(--r-accent);
  background: linear-gradient(135deg, var(--r-accent), #b75d2e);
  color: #fff;
}

.legal-consent {
  color: var(--r-ink-soft);
}

.legal-consent a {
  color: #f0a06d;
}

.feedback-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.feedback-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.checkout-submit,
.checkout-btn {
  background: linear-gradient(135deg, var(--r-accent), #b75d2e);
  color: #fff;
  box-shadow: 0 14px 34px rgba(229, 134, 74, 0.2);
}

.checkout-submit:hover,
.checkout-btn:hover {
  background: linear-gradient(135deg, #f09a62, #c56735);
  box-shadow: 0 18px 42px rgba(229, 134, 74, 0.28);
}

.payment-result-icon {
  background: rgba(229, 134, 74, 0.12);
  color: var(--r-accent);
}

.payment-result-link {
  border-bottom-color: rgba(229, 134, 74, 0.4);
}

.contact-modal {
  background: rgba(5, 4, 3, 0.76);
  backdrop-filter: blur(12px);
}

.contact-modal-content {
  background: linear-gradient(145deg, #231e1b, #151210);
}

/* Animation layer powered by js/анимации.js */

.motion-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 3000;
  height: 3px;
  background: linear-gradient(90deg, var(--r-accent), #ffc08e);
  box-shadow: 0 0 18px rgba(229, 134, 74, 0.65);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.motion-ambient {
  position: fixed;
  top: -230px;
  left: -230px;
  z-index: 2500;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 134, 74, 0.085), transparent 67%);
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform;
}

.motion-enabled .motion-reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  filter: blur(5px);
  transition:
    opacity 760ms var(--r-ease),
    transform 760ms var(--r-ease),
    filter 760ms var(--r-ease);
  transition-delay: calc(var(--motion-index, 0) * 55ms);
}

.motion-enabled .motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.motion-enabled .box,
.motion-enabled .product-card {
  animation: none;
}

.motion-tilt {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --glow-x: 50%;
  --glow-y: 50%;
  transform:
    perspective(1000px)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  will-change: transform;
}

.motion-tilt::after {
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 193, 143, 0.19), transparent 32%),
    linear-gradient(to top, rgba(15, 11, 9, 0.94), rgba(15, 11, 9, 0.04) 76%);
}

.product-card.motion-tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 193, 143, 0.12), transparent 30%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.product-card.motion-tilt:hover::after {
  opacity: 1;
}

.motion-tilt:hover {
  transform:
    perspective(1000px)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    translateY(-7px);
}

.motion-layer-in {
  animation: motion-layer-in 540ms var(--r-ease) both;
}

@keyframes motion-layer-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 900px) {
  .container {
    grid-template-columns: 1fr;
    padding-inline: 16px;
  }

  .cdek-pickup-layout {
    grid-template-columns: 1fr;
  }

  .cdek-pickup-layout .pickup-results {
    max-height: none;
  }

  .left_container,
  .right_container {
    grid-column: 1;
    position: static;
  }

  .right_container {
    grid-row: 1;
  }

  .left_container {
    grid-row: 2;
  }
}

@media (max-width: 540px) {
  .container {
    padding-top: 102px;
  }

  .form,
  .right_box,
  .payment-result-box {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .delivery-options,
  .form_grid {
    grid-template-columns: 1fr;
  }

  .motion-ambient {
    display: none;
  }
}

/* Product discovery slider */

.simillar_products {
  position: relative;
  isolation: isolate;
  padding: clamp(84px, 10vw, 138px) 0 clamp(88px, 10vw, 132px);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 14%, rgba(229, 134, 74, 0.16), transparent 30rem),
    radial-gradient(circle at 10% 92%, rgba(130, 82, 52, 0.12), transparent 28rem),
    linear-gradient(145deg, #0b0908, #15110f 58%, #0d0b0a);
  color: var(--r-ink);
}

.simillar_products::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -360px;
  right: -270px;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(229, 134, 74, 0.2);
  border-radius: 50%;
  box-shadow:
    inset 0 0 120px rgba(229, 134, 74, 0.045),
    0 0 120px rgba(229, 134, 74, 0.04);
  animation: r-orbit 28s linear infinite;
  pointer-events: none;
}

.simillar_products::after {
  content: "33";
  position: absolute;
  z-index: -1;
  top: 18px;
  left: max(20px, calc((100vw - 1240px) / 2));
  color: rgba(255, 255, 255, 0.018);
  font-size: clamp(180px, 27vw, 410px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.1em;
  pointer-events: none;
}

.simillar_products > hr {
  display: none;
}

.products_container {
  width: min(100%, 1240px);
  max-width: 1240px;
  margin: 0 auto 46px;
  padding: 0 clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "eyebrow navigation"
    "title navigation"
    "description navigation";
  align-items: end;
  gap: 7px 32px;
}

.sim-eyebrow {
  grid-area: eyebrow;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 11px;
  color: var(--r-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sim-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.prod_title {
  grid-area: title;
  margin: 0;
  color: var(--r-ink);
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 720;
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.prod_title::after {
  display: none;
}

.sim-description {
  grid-area: description;
  max-width: 58ch;
  margin: 11px 0 0;
  color: var(--r-ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.sim-nav {
  grid-area: navigation;
  display: grid;
  grid-template-columns: auto 52px 52px;
  align-items: center;
  gap: 9px;
  padding: 0 0 5px;
}

.sim-fraction {
  min-width: 84px;
  margin-right: 8px;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: rgba(245, 238, 231, 0.38);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sim-fraction b {
  color: var(--r-ink);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.sim-fraction i {
  color: var(--r-accent);
  font-style: normal;
}

.sim-nav-prev,
.sim-nav-next {
  position: static;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--r-line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: var(--r-ink);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.sim-nav-prev svg,
.sim-nav-next svg {
  width: 18px;
  height: 18px;
}

.sim-nav-prev:hover,
.sim-nav-next:hover {
  border-color: var(--r-accent);
  background: var(--r-accent);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(229, 134, 74, 0.26);
}

.sim-nav-prev.swiper-button-disabled,
.sim-nav-next.swiper-button-disabled {
  opacity: 0.35;
}

.similar_swiper_wrap {
  width: min(calc(100% - 32px), 1360px);
  max-width: 1360px;
  margin: 0 auto;
  padding: 6px clamp(8px, 3vw, 38px) 18px;
  overflow: hidden;
}

.mySwiper_2 {
  overflow: visible !important;
  padding: 12px 0 24px;
}

.mySwiper_2 .swiper-wrapper {
  align-items: stretch;
}

.mySwiper_2 .swiper-slide,
.mySwiper_2 .swiper-slide:not(.swiper-slide-active) {
  width: clamp(278px, 25vw, 354px) !important;
  height: auto;
  opacity: 1;
  transform: none;
  transition: transform 500ms var(--r-ease), opacity 400ms ease;
}

.sim-card {
  position: relative;
  min-height: 510px;
  height: 100%;
  display: grid;
  grid-template-rows: 318px 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(34, 29, 26, 0.98), rgba(18, 15, 13, 0.99));
  color: var(--r-ink);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28);
  transform: translateZ(0);
}

.sim-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 28%, transparent 72%, rgba(229, 134, 74, 0.2)) border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.sim-media {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(229, 134, 74, 0.13), transparent 44%),
    #211b17;
}

.sim-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(16, 13, 11, 0.72));
  pointer-events: none;
}

.sim-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 900ms var(--r-ease), filter 500ms ease;
}

.sim-badge {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 17px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(15, 12, 10, 0.66);
  color: rgba(255, 250, 244, 0.8);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.sim-badge[data-type="current"] {
  border-color: rgba(229, 134, 74, 0.55);
  background: rgba(229, 134, 74, 0.88);
  color: white;
}

.sim-number {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 16px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.08em;
}

.sim-content {
  min-height: 0;
  padding: 21px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  background: transparent;
}

.sim-sub {
  margin: 0;
  color: var(--r-accent);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.sim-title {
  min-height: 2.5em;
  margin: 0;
  color: var(--r-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.23;
  letter-spacing: -0.035em;
}

.sim-footer {
  margin-top: auto;
  padding-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--r-line);
}

.sim-price {
  color: var(--r-ink);
  font-size: 23px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.045em;
}

.sim-btn {
  min-height: 36px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--r-line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(245, 238, 231, 0.82);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sim-btn svg {
  flex: 0 0 auto;
  transition: transform 260ms var(--r-ease);
}

.sim-card:hover {
  border-color: rgba(229, 134, 74, 0.46);
  color: var(--r-ink);
  transform: translateY(-9px);
  box-shadow: 0 32px 74px rgba(0, 0, 0, 0.42);
}

.sim-card:hover::after {
  opacity: 1;
}

.sim-card:hover .sim-media img {
  transform: scale(1.065);
  filter: saturate(1.08) contrast(1.02);
}

.sim-card:hover .sim-btn {
  border-color: var(--r-accent);
  background: var(--r-accent);
  color: white;
}

.sim-card:hover .sim-btn svg {
  transform: translateX(3px);
}

.sim-card.is-current {
  border-color: rgba(229, 134, 74, 0.55);
  box-shadow: 0 0 0 1px rgba(229, 134, 74, 0.12), 0 22px 62px rgba(0, 0, 0, 0.34);
}

.sim-progress {
  width: min(calc(100% - 32px), 1240px);
  height: 2px;
  margin: 24px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.sim-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--r-accent), #ffc08e);
  box-shadow: 0 0 14px rgba(229, 134, 74, 0.5);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 650ms var(--r-ease);
}

@media (max-width: 760px) {
  .simillar_products {
    padding: 76px 0 86px;
  }

  .simillar_products::after {
    top: 40px;
    left: -10px;
    font-size: 190px;
  }

  .products_container {
    margin-bottom: 28px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "eyebrow eyebrow"
      "title navigation"
      "description description";
    gap: 8px 14px;
  }

  .prod_title {
    font-size: clamp(40px, 13vw, 58px);
  }

  .sim-description {
    margin-top: 8px;
    font-size: 13px;
  }

  .sim-nav {
    grid-template-columns: 44px 44px;
    gap: 7px;
    padding-bottom: 2px;
  }

  .sim-fraction {
    position: absolute;
    left: 16px;
    bottom: 48px;
  }

  .sim-nav-prev,
  .sim-nav-next {
    width: 44px;
    height: 44px;
  }

  .similar_swiper_wrap {
    width: 100%;
    padding: 4px 16px 16px;
    overflow: visible;
  }

  .mySwiper_2 .swiper-slide,
  .mySwiper_2 .swiper-slide:not(.swiper-slide-active) {
    width: min(82vw, 316px) !important;
  }

  .sim-card {
    min-height: 458px;
    grid-template-rows: 278px 1fr;
    border-radius: 23px;
  }

  .sim-content {
    padding: 19px 18px 18px;
  }

  .sim-title {
    font-size: 18px;
  }

  .sim-price {
    font-size: 21px;
  }

  .sim-progress {
    width: calc(100% - 32px);
    margin-top: 16px;
  }
}

/* Product page: restrained editorial treatment */

body:has(.order) {
  background: #0f0e0d;
}

body:has(.order) .motion-ambient {
  display: none;
}

body:has(.order) .motion-reveal {
  filter: none;
  transform: translateY(14px);
}

body:has(.order) .motion-reveal.is-visible {
  transform: translateY(0);
}

.order {
  gap: clamp(32px, 4vw, 54px);
  padding-bottom: 82px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.slider-wrapper {
  align-items: stretch;
}

#swiper {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #171513;
  box-shadow: none;
}

#swiper::before,
#swiper .swiper-slide {
  border-radius: 7px;
}

#swiper .swiper-slide {
  overflow: hidden;
  background: #171513;
}

#swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  object-fit: contain;
  object-position: center;
}

.product-gallery-arrow {
  position: absolute;
  z-index: 12;
  top: 50%;
  width: 46px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(14, 12, 11, 0.72);
  color: #fff;
  transform: translateY(-50%);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.product-gallery-arrow svg {
  width: 22px;
  height: 22px;
}

.product-gallery-prev {
  left: 14px;
}

.product-gallery-next {
  right: 14px;
}

.product-gallery-arrow:hover {
  border-color: var(--r-accent);
  background: var(--r-accent);
  transform: translateY(-50%);
}

.product-gallery-arrow.swiper-button-disabled {
  opacity: 0.22;
  cursor: default;
  pointer-events: none;
}

.swiper-thumbs {
  width: 72px;
  gap: 8px;
}

.thumb-item {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  box-shadow: none;
}

.thumb-item:hover,
.thumb-item.active {
  border-color: var(--r-accent);
  box-shadow: none;
  transform: none;
}

.slide-counter {
  right: 14px;
  bottom: 14px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  background: rgba(14, 12, 11, 0.76);
  font-size: 11px;
}

.slide-progress {
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
}

.right_side {
  padding: 28px 0;
  gap: 18px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.main_text {
  max-width: 13ch;
  font-size: clamp(36px, 3.8vw, 50px);
  font-weight: 680;
  letter-spacing: -0.045em;
}

.subtitle_text {
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.block-color {
  padding: 17px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
}

.color_link {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.color_link:hover {
  transform: none;
  box-shadow: 0 0 0 2px var(--r-accent);
}

.cost {
  font-size: clamp(38px, 4vw, 50px);
  font-weight: 700;
}

.left {
  padding: 3px;
  border-radius: 4px;
  background: transparent;
}

.btn {
  border-radius: 2px;
}

.order_btn,
.orderclick_btn {
  border-radius: 4px;
  box-shadow: none;
}

.order_btn:hover,
.orderclick_btn:hover {
  transform: translateY(-1px);
  box-shadow: none;
}

.charka {
  padding-top: 76px;
  padding-bottom: 76px;
}

.char_box {
  padding: 24px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.char_box:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.simillar_products {
  background: #11100f;
}

.simillar_products::before,
.simillar_products::after {
  display: none;
}

.prod_title {
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 680;
  letter-spacing: -0.045em;
}

.sim-nav-prev,
.sim-nav-next {
  border-radius: 4px;
  background: transparent;
  backdrop-filter: none;
}

.sim-nav-prev:hover,
.sim-nav-next:hover {
  transform: none;
  box-shadow: none;
}

.sim-card {
  border-radius: 8px;
  background: #191715;
  box-shadow: none;
}

.sim-card::after {
  display: none;
}

.sim-card:hover {
  border-color: rgba(229, 134, 74, 0.56);
  transform: translateY(-3px);
  box-shadow: none;
}

.sim-badge,
.sim-btn {
  border-radius: 3px;
  backdrop-filter: none;
}

.sim-progress {
  border-radius: 0;
}

@media (max-width: 768px) {
  .order {
    padding-bottom: 58px;
  }

  .slider-wrapper {
    gap: 12px;
  }

  #swiper {
    border-radius: 6px;
  }

  #swiper::before,
  #swiper .swiper-slide {
    border-radius: 5px;
  }

  .swiper-thumbs {
    width: 100% !important;
  }

  .thumb-item {
    width: 58px !important;
    height: 58px !important;
    flex-basis: 58px;
    border-radius: 3px;
  }

  .right_side {
    padding: 24px 0;
  }
}

@media (max-width: 540px) {
  #swiper {
    height: min(560px, 125vw);
  }

  .product-gallery-arrow {
    width: 42px;
    height: 48px;
  }

  .product-gallery-prev {
    left: 9px;
  }

  .product-gallery-next {
    right: 9px;
  }

  .main_text {
    font-size: 34px;
  }

  .charka {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .sim-card {
    border-radius: 6px;
  }
}

/* Sitewide restraint pass */

:root {
  --r-radius-sm: 4px;
  --r-radius: 8px;
  --r-radius-lg: 12px;
  --r-shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.16);
  --r-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  --r-shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.32);
}

body {
  background: #12100f;
}

.header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(17, 15, 14, 0.94);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.header.scrolled {
  background: rgba(17, 15, 14, 0.98);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.cart-btn,
.burger,
.btn_one,
.btn_two,
.home-catalog-link,
.buy_button,
.scroll_button,
.send_button,
.product-card .buy-btn,
.checkout-btn,
.checkout-submit {
  border-radius: 4px;
}

.hero {
  min-height: min(820px, 100svh);
  background: linear-gradient(110deg, #151210 0%, #1c1714 58%, #100e0d 100%);
}

.hero::before,
.hero::after {
  display: none;
}

.title_hero {
  max-width: 13ch;
  font-size: clamp(42px, 5.6vw, 68px);
  letter-spacing: -0.045em;
}

.hero .mySwiper {
  width: clamp(300px, 34vw, 420px);
  height: clamp(430px, 52vw, 590px);
  border-radius: 8px;
  box-shadow: var(--r-shadow);
  transform: none;
  animation: none;
}

.hero .mySwiper:hover {
  transform: none;
}

.home-categories {
  gap: 12px;
}

.home-category-card,
.home-category-card:first-child {
  min-height: 380px;
  border-radius: 8px;
  box-shadow: none;
}

.home-category-card:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.home-category-copy {
  padding: 21px;
}

.home-category-copy strong {
  font-size: clamp(24px, 2.7vw, 34px);
}

.home-category-copy em {
  border-radius: 3px;
}

.products_wrapper {
  gap: 12px;
}

.mini_bar {
  width: 218px;
  height: 338px;
  flex-basis: 218px;
  border-radius: 7px;
  box-shadow: none;
}

.mini_bar_logo {
  height: 180px;
}

.mini_bar:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.buy_button {
  height: 40px;
}

.surprise {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #151311;
}

.sur_list li,
.feedback_container,
.feedback_contacts,
.contact_card {
  border-radius: 7px;
  box-shadow: none;
}

.sur_list li {
  background: transparent;
}

.sur_photo {
  border-radius: 6px;
  box-shadow: none;
}

.sur_photo:nth-child(2) {
  border-width: 4px;
}

.in_text,
.text_chat {
  border-radius: 4px;
}

.catalog {
  background: #11100f;
}

.catalog_intro h1 {
  font-size: clamp(42px, 6vw, 70px);
  letter-spacing: -0.045em;
}

.catalog_container {
  gap: 12px;
}

.box {
  height: clamp(350px, 34vw, 430px);
  border-radius: 8px;
  box-shadow: none;
}

.box::after,
.box::before,
.image {
  border-radius: inherit;
}

.box:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.card-content {
  padding: 0 20px 20px;
}

.card-badge,
.box button {
  border-radius: 3px;
}

.section_content {
  gap: 12px;
}

.section_content::before {
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.04em;
}

.product-card {
  border-radius: 7px;
  box-shadow: none;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.product-card .img-wrap {
  height: clamp(230px, 24vw, 300px);
}

.product-card .card-body {
  padding: 17px;
}

.product-card h2 {
  font-size: 17px;
}

.product-card .price {
  font-size: 21px;
}

.form,
.right_box,
.payment-result-box,
.cart-modal-content,
.contact-modal-content,
.return-modal-content {
  border-radius: 8px;
  background: #191715;
  box-shadow: var(--r-shadow-sm);
}

.form_input,
.delivery-option,
.pickup-point,
.suggestions-list,
.cdek-map-panel {
  border-radius: 5px;
}

.delivery-option:hover,
.pickup-point:hover {
  transform: none;
  box-shadow: none;
}

.mySwiper_2 .swiper-slide,
.mySwiper_2 .swiper-slide:not(.swiper-slide-active) {
  width: clamp(238px, 21vw, 292px) !important;
}

.sim-card {
  min-height: 420px;
  grid-template-rows: 244px 1fr;
  border-radius: 6px;
}

.sim-content {
  padding: 17px 16px 16px;
}

.sim-title {
  font-size: 17px;
}

.sim-price {
  font-size: 20px;
}

.sim-number {
  font-size: 22px;
}

.sim-card:hover {
  transform: translateY(-2px);
}

.footer {
  position: relative;
  margin-top: 96px;
  overflow: visible;
  border-top: 0;
  background: #0d0c0b;
}

.footer::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 96px;
  background: linear-gradient(to bottom, rgba(13, 12, 11, 0), #0d0c0b);
  pointer-events: none;
  transform-origin: bottom;
}

.footer_container {
  position: relative;
  z-index: 1;
}

.motion-enabled .motion-reveal {
  opacity: 0;
  filter: none;
  transform: translateY(18px);
  transition:
    opacity 560ms var(--r-ease),
    transform 560ms var(--r-ease);
  transition-delay: calc(var(--motion-index, 0) * 42ms);
}

.motion-enabled .motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-enabled .motion-image-reveal {
  opacity: 0.72;
  clip-path: inset(0 0 10% 0);
  transform: scale(1.018);
  transition:
    opacity 680ms var(--r-ease),
    clip-path 680ms var(--r-ease),
    transform 800ms var(--r-ease);
}

.motion-enabled .motion-image-reveal.is-visible {
  opacity: 1;
  clip-path: inset(0);
  transform: none;
}

.motion-enabled .home-category-card:hover img.motion-image-reveal.is-visible,
.motion-enabled .box:hover img.motion-image-reveal.is-visible,
.motion-enabled .product-card:hover .motion-image-reveal.is-visible {
  transform: scale(1.03);
}

.motion-footer::before {
  opacity: 0;
  transform: scaleY(0.55);
  transition: opacity 720ms ease, transform 900ms var(--r-ease);
}

.motion-footer.is-visible::before {
  opacity: 1;
  transform: scaleY(1);
}

.motion-tilt,
.motion-tilt:hover {
  transform: none !important;
}

.motion-tilt::after {
  display: none !important;
}

.motion-progress {
  height: 2px;
  background: var(--r-accent);
  box-shadow: none;
}

@media (max-width: 760px) {
  .home-category-card,
  .home-category-card:first-child {
    min-height: 320px;
  }

  .box {
    height: min(420px, 112vw);
  }

  .mySwiper_2 .swiper-slide,
  .mySwiper_2 .swiper-slide:not(.swiper-slide-active) {
    width: min(74vw, 278px) !important;
  }

  .sim-card {
    min-height: 402px;
    grid-template-rows: 232px 1fr;
  }

  .footer {
    margin-top: 72px;
  }

  .footer::before {
    height: 72px;
  }
}

/* Card clarity restoration */

.home-category-card,
.home-category-card:first-child,
.mini_bar,
.box,
.product-card,
.feedback_container,
.feedback_contacts,
.contact_card,
.form,
.right_box,
.payment-result-box {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background-color: #1b1917;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.home-category-card:hover,
.mini_bar:hover,
.box:hover,
.product-card:hover,
.contact_card:hover {
  border-color: rgba(229, 134, 74, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

.home-category-card,
.home-category-card:first-child,
.home-category-card img,
.box,
.box::before,
.box::after,
.box .image {
  border-radius: 14px;
}

.mini_bar,
.mini_bar_logo,
.product-card {
  overflow: hidden;
}

.mini_bar_logo,
.product-card .img-wrap {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.feedback_container,
.feedback_contacts {
  background: #1a1816;
}

.in_text,
.text_chat,
.form_input {
  border-color: rgba(255, 255, 255, 0.13);
  background: #211f1c;
}

.right_side {
  padding: clamp(26px, 3vw, 36px);
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #191715;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.main_text {
  max-width: none;
  color: #fffaf4;
  font-size: clamp(36px, 3.8vw, 50px);
  line-height: 1.06;
}

.subtitle_text {
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid rgba(143, 186, 152, 0.2);
  border-radius: 6px;
  background: rgba(143, 186, 152, 0.08);
  color: #9bc3a3;
}

.art {
  color: rgba(245, 238, 231, 0.58);
  font-size: 12px;
}

.block-color {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background: #211f1c;
}

.color {
  margin-bottom: 4px;
  color: rgba(255, 250, 244, 0.9);
  font-size: 14px;
  line-height: 1.45;
}

.color_link {
  border: 2px solid #2c2926;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.cost {
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fffaf4;
}

.left {
  min-height: 48px;
  border-color: rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: #211f1c;
}

.order_btn,
.orderclick_btn {
  min-height: 52px;
  border-radius: 8px;
}

.order_btn {
  background: var(--r-accent);
  color: white;
}

.order_btn:hover {
  background: #ef945c;
}

.orderclick_btn {
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
}

.charka {
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.char_title {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.04em;
}

.char_box,
.char_box:last-child {
  min-width: 0;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #191715;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.char_box:hover {
  border-color: rgba(229, 134, 74, 0.38);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.char {
  color: rgba(245, 238, 231, 0.72);
  font-size: 15px;
  line-height: 1.72;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.char:empty {
  display: none;
}

.char + .char {
  margin-top: 10px;
}

.char_box .char:first-child:not(:empty) {
  color: var(--r-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sim-nav-prev,
.sim-nav-next {
  border-radius: 8px;
  background: #1d1b19;
}

.sim-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: #1b1917;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.sim-media {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.sim-content {
  background: #1b1917;
}

.sim-card:hover {
  border-color: rgba(229, 134, 74, 0.48);
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

.sim-badge,
.sim-btn {
  border-radius: 6px;
}

.cart-modal-content,
.contact-modal-content,
.return-modal-content {
  border-radius: 14px;
}

@media (max-width: 760px) {
  .right_side {
    padding: 22px 18px;
    border-radius: 12px;
  }

  .charka {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .char_box,
  .char_box:last-child {
    padding: 20px;
    border-radius: 10px;
  }

  .sim-card {
    border-radius: 12px;
  }
}

/* Storefront cards, cart sheet and home interactions */

.home-category-card,
.home-category-card:first-child,
.mini_bar,
.box,
.product-card,
.feedback_container,
.feedback_contacts,
.contact_card,
.form,
.right_box,
.payment-result-box {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: #181614;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.035) inset,
    0 20px 50px rgba(0, 0, 0, 0.22);
}

.home-category-card:hover,
.mini_bar:hover,
.box:hover,
.product-card:hover,
.contact_card:hover {
  border-color: rgba(229, 134, 74, 0.46);
  transform: translateY(-5px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 28px 64px rgba(0, 0, 0, 0.32);
}

.home-category-card,
.home-category-card:first-child,
.home-category-card img,
.box,
.box::before,
.box::after,
.box .image {
  border-radius: 20px;
}

.home-category-card::before {
  content: attr(data-index);
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(16, 14, 12, 0.68);
  color: rgba(255, 250, 244, 0.78);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}

.home-category-card::after {
  background:
    radial-gradient(
      360px circle at var(--card-x, 50%) var(--card-y, 40%),
      rgba(240, 146, 86, 0.16),
      transparent 58%
    ),
    linear-gradient(to top, rgba(13, 11, 10, 0.96), rgba(13, 11, 10, 0.04) 72%);
  transition: opacity 260ms ease;
}

.home-category-copy {
  padding: 24px;
}

.home-category-copy em {
  min-height: 36px;
  padding: 9px 13px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-style: normal;
}

.box {
  border-radius: 20px;
}

.box .card-content {
  padding: 24px;
  background: linear-gradient(to top, rgba(13, 11, 10, 0.98), rgba(13, 11, 10, 0.02));
}

.box .card-badge,
.product-card .card-badge {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(20, 17, 15, 0.76);
  color: rgba(255, 250, 244, 0.82);
  backdrop-filter: blur(10px);
}

.box button {
  min-height: 40px;
  padding-inline: 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.09);
}

.box button:hover {
  border-color: var(--r-accent);
  background: var(--r-accent);
}

.product-card {
  padding: 8px;
  border-radius: 20px;
}

.product-card .img-wrap {
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #211e1a;
}

.product-card .card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 14px;
  align-items: center;
  padding: 18px 10px 10px;
}

.product-card .card-divider {
  display: none;
}

.product-card h2,
.product-card .price {
  grid-column: 1;
  margin: 0;
}

.product-card h2 {
  color: #fffaf4;
  font-size: 18px;
  line-height: 1.25;
}

.product-card .price {
  color: rgba(255, 250, 244, 0.62);
  font-size: 15px;
  font-weight: 650;
}

.product-card .buy-btn {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: #24211e;
  color: transparent;
  font-size: 0;
}

.product-card .buy-btn::after {
  content: "↗";
  color: #fffaf4;
  font-size: 18px;
  line-height: 1;
}

.product-card:hover .buy-btn {
  border-color: var(--r-accent);
  background: var(--r-accent);
}

.feedback_container,
.feedback_contacts,
.contact_card,
.form,
.right_box,
.payment-result-box {
  border-radius: 18px;
  background: #191715;
}

.contact_card:hover {
  transform: translateY(-3px);
}

/* Shadcn-inspired cart sheet */

.cart-modal {
  justify-content: flex-end;
  align-items: stretch;
  padding: 0;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(8px);
}

.cart-modal-content {
  width: min(100%, 540px);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px 0 0 24px;
  background: #141311;
  box-shadow: -28px 0 80px rgba(0, 0, 0, 0.42);
}

.cart-modal-content.motion-layer-in {
  animation: cart-sheet-in 420ms var(--r-ease) both;
}

@keyframes cart-sheet-in {
  from {
    opacity: 0;
    transform: translateX(34px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.h2_modal {
  min-height: 82px;
  margin: 0;
  padding: 22px 76px 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fffaf4;
  font-size: 24px;
  font-weight: 720;
  letter-spacing: -0.035em;
}

.img_modal {
  width: 40px;
  height: 40px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background: #211e1a;
}

.cart-close {
  top: 22px;
  right: 22px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 250, 244, 0.72);
}

.cart-close:hover {
  border-color: rgba(229, 134, 74, 0.55);
  background: rgba(229, 134, 74, 0.12);
  color: #fffaf4;
  transform: none;
}

.cart-items {
  gap: 10px;
  padding: 18px 20px;
  overscroll-behavior: contain;
}

.cart-items::-webkit-scrollbar {
  width: 5px;
}

.cart-items::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.cart-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 36px;
  gap: 14px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #1d1a17;
  box-shadow: none;
}

.cart-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
  transform: none;
}

.cart-item img {
  width: 86px;
  height: 86px;
  border: 0;
  border-radius: 11px;
  background: #292521;
  object-fit: cover;
}

.cart-item-info {
  min-width: 0;
  gap: 3px;
}

.cart-item-name {
  overflow: hidden;
  margin: 0;
  color: #fffaf4;
  font-size: 15px;
  font-weight: 680;
  line-height: 1.32;
  text-overflow: ellipsis;
}

.cart-item-price {
  margin: 0;
  color: var(--r-accent);
  font-size: 16px;
  font-weight: 750;
}

.cart-item-info p[style] {
  color: rgba(255, 250, 244, 0.48) !important;
}

.cart-item-counter {
  width: fit-content;
  gap: 2px;
  margin-top: 8px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: #151311;
}

.cart-item-counter button {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 250, 244, 0.72);
}

.cart-item-counter button:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fffaf4;
  transform: none;
}

.item-quantity {
  min-width: 26px;
  color: #fffaf4;
  font-size: 13px;
}

.remove-item {
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: transparent;
  font-size: 0;
}

.remove-item::before {
  content: "×";
  color: rgba(255, 250, 244, 0.42);
  font-size: 21px;
  font-weight: 400;
}

.remove-item:hover {
  border-color: rgba(224, 112, 82, 0.2);
  background: rgba(224, 112, 82, 0.1);
  color: transparent;
  transform: none;
}

.remove-item:hover::before {
  color: #e58d73;
}

.cart-items > div:only-child:not(.cart-item) {
  display: grid;
  min-height: 240px;
  place-items: center;
  padding: 40px 20px !important;
  color: rgba(255, 250, 244, 0.48) !important;
}

.cart-items:empty {
  place-content: center;
  align-items: center;
  text-align: center;
}

.cart-items:empty::before {
  content: "Корзина пока пуста";
  color: #fffaf4;
  font-size: 18px;
  font-weight: 680;
}

.cart-items:empty::after {
  content: "Добавьте изделие — оно появится здесь";
  max-width: 240px;
  margin-top: 7px;
  color: rgba(255, 250, 244, 0.44);
  font-size: 13px;
  line-height: 1.5;
}

.cart-footer {
  margin-top: auto;
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #181614;
}

.cart-total {
  margin-bottom: 16px;
  padding: 0;
  color: rgba(255, 250, 244, 0.56);
  font-size: 14px;
}

.cart-total .cart-total-value {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: rgba(255, 250, 244, 0.66);
  font-size: 17px;
  font-weight: 650;
}

.cart-total #totalPrice {
  color: #fffaf4;
  font-size: 26px;
  letter-spacing: -0.035em;
}

.checkout-btn {
  height: 52px;
  border-radius: 10px;
  background: var(--r-accent);
  box-shadow: none;
  color: white;
}

.checkout-btn:hover {
  background: #ef945c;
  box-shadow: none;
  transform: translateY(-1px);
}

/* Similar products: editorial cards, product details stay untouched */

.mySwiper_2 .swiper-slide,
.mySwiper_2 .swiper-slide:not(.swiper-slide-active) {
  width: clamp(250px, 21vw, 304px) !important;
}

.sim-card {
  min-height: 414px;
  grid-template-rows: 248px minmax(0, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #171513;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.sim-media {
  margin: 7px 7px 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #24201c;
}

.sim-media img {
  transition: transform 500ms var(--r-ease), filter 300ms ease;
}

.sim-content {
  gap: 7px;
  padding: 18px 18px 16px;
  background: transparent;
}

.sim-sub {
  color: rgba(255, 250, 244, 0.46);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.sim-title {
  color: #fffaf4;
  font-size: 18px;
  line-height: 1.22;
}

.sim-badge {
  top: 12px;
  left: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(18, 16, 14, 0.72);
  color: rgba(255, 250, 244, 0.82);
  backdrop-filter: blur(8px);
}

.sim-number {
  right: 13px;
  bottom: 10px;
  color: rgba(255, 250, 244, 0.7);
  font-size: 17px;
}

.sim-footer {
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.sim-price {
  color: #fffaf4;
  font-size: 20px;
}

.sim-btn {
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #24211e;
  color: rgba(255, 250, 244, 0.78);
}

.sim-card:hover {
  border-color: rgba(229, 134, 74, 0.46);
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.3);
}

.sim-card:hover .sim-media img {
  transform: scale(1.025);
  filter: saturate(1.04);
}

.sim-card:hover .sim-btn,
.sim-card.is-current {
  border-color: rgba(229, 134, 74, 0.55);
}

.sim-card:hover .sim-btn {
  background: var(--r-accent);
  color: white;
}

.sim-nav-prev,
.sim-nav-next {
  border-radius: 10px;
}

/* The primary product gallery keeps click-to-zoom, without hover scaling */

#swiper:hover .swiper-slide-active img,
#swiper .swiper-slide-active img:hover {
  transform: none !important;
}

/* Interactive home page */

.home-interactive .hero {
  --home-x: 72%;
  --home-y: 36%;
  isolation: isolate;
}

.home-interactive .hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  background: radial-gradient(
    520px circle at var(--home-x) var(--home-y),
    rgba(229, 134, 74, 0.13),
    transparent 66%
  );
  pointer-events: none;
  transition: opacity 260ms ease;
}

.home-interactive .home-category-card {
  --card-x: 50%;
  --card-y: 40%;
}

.home-interactive .right_surprise .sur_photo {
  cursor: pointer;
  opacity: 0.62;
  filter: saturate(0.74);
  transition:
    opacity 320ms ease,
    filter 320ms ease,
    transform 500ms var(--r-ease),
    outline-color 220ms ease;
}

.home-interactive .right_surprise .sur_photo.is-featured {
  z-index: 2;
  outline: 1px solid rgba(229, 134, 74, 0.5);
  outline-offset: 5px;
  opacity: 1;
  filter: none;
}

.home-interactive .right_surprise .sur_photo:focus-visible {
  outline: 3px solid rgba(229, 134, 74, 0.62);
  outline-offset: 5px;
}

@media (max-width: 760px) {
  .home-category-card,
  .home-category-card:first-child,
  .home-category-card img,
  .box,
  .box::before,
  .box::after,
  .box .image,
  .product-card {
    border-radius: 15px;
  }

  .product-card {
    padding: 6px;
  }

  .product-card .img-wrap {
    border-radius: 10px;
  }

  .cart-modal-content {
    width: 100%;
    border-left: 0;
    border-radius: 0;
  }

  .h2_modal {
    min-height: 72px;
    padding: 18px 68px 15px 16px;
    font-size: 21px;
  }

  .img_modal {
    width: 36px;
    height: 36px;
  }

  .cart-close {
    top: 17px;
    right: 16px;
  }

  .cart-items {
    padding: 14px 12px;
  }

  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr) 32px;
    gap: 11px;
    padding: 9px;
    border-radius: 13px;
  }

  .cart-item img {
    width: 72px;
    height: 78px;
    border-radius: 9px;
  }

  .cart-footer {
    padding: 17px 16px max(18px, env(safe-area-inset-bottom));
  }

  .mySwiper_2 .swiper-slide,
  .mySwiper_2 .swiper-slide:not(.swiper-slide-active) {
    width: min(76vw, 286px) !important;
  }

  .sim-card {
    min-height: 400px;
    grid-template-rows: 238px minmax(0, 1fr);
    border-radius: 15px;
  }
}

/* Unified color selector for product variants */

.block-color.color-selector {
  display: grid;
  gap: 14px;
  transition: opacity 150ms ease, transform 150ms ease;
}

.color-selector .color {
  display: flex;
  gap: 6px 12px;
  align-items: baseline;
  justify-content: space-between;
  margin: 0;
}

.color-selector-label {
  color: rgba(255, 250, 244, 0.5);
  font-size: 12px;
  font-weight: 650;
}

.color-selector-value {
  color: #fffaf4;
  font-size: 14px;
  font-weight: 720;
  text-align: right;
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-selector .color-option {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  background: #171513;
  box-shadow: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.color-selector .color-option:hover {
  border-color: rgba(229, 134, 74, 0.62);
  background: #28231f;
  transform: translateY(-2px);
}

.color-selector .color-option:focus-visible {
  outline: 3px solid rgba(229, 134, 74, 0.34);
  outline-offset: 2px;
}

.color-selector .color-option.is-active {
  border-color: var(--r-accent);
  background: rgba(229, 134, 74, 0.1);
  box-shadow: 0 0 0 2px rgba(229, 134, 74, 0.18);
}

.color-swatch {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: var(--swatch);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22) inset;
}

.color-option.is-active::after {
  content: "✓";
  position: absolute;
  right: -5px;
  bottom: -5px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid #211f1c;
  border-radius: 50%;
  background: var(--r-accent);
  color: white;
  font-size: 10px;
  font-weight: 850;
}

.block-color.color-selector.is-switching {
  opacity: 0.58;
  transform: translateY(2px);
  pointer-events: none;
}

@media (max-width: 480px) {
  .color-selector .color {
    display: grid;
    gap: 4px;
  }

  .color-selector-value {
    text-align: left;
  }

  .color-options {
    gap: 8px;
  }

  .color-selector .color-option {
    width: 43px;
    height: 43px;
  }

  .color-swatch {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Home atelier direction */

.home-atelier {
  background: #100e0c;
}

.home-atelier .header {
  background: rgba(16, 14, 12, 0.82);
  border-bottom-color: rgba(255, 235, 214, 0.12);
  backdrop-filter: blur(18px) saturate(1.1);
}

.home-atelier .hero {
  min-height: min(860px, 100svh);
  padding-bottom: clamp(54px, 7vw, 96px);
  background:
    radial-gradient(circle at 88% 34%, rgba(222, 111, 42, 0.2), transparent 19rem),
    radial-gradient(circle at 12% 100%, rgba(132, 73, 37, 0.3), transparent 34rem),
    linear-gradient(115deg, #100e0c 0%, #19130f 52%, #0d0c0b 100%);
}

.home-atelier .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background-image:
    linear-gradient(rgba(255, 239, 221, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 239, 221, 0.035) 1px, transparent 1px);
  background-size: 74px 74px;
  filter: none;
  opacity: 0.65;
  animation: none;
}

.home-atelier .hero_container {
  align-items: center;
}

.home-atelier .hero_left {
  gap: 15px;
}

.home-atelier .hero_eyebrow,
.home-atelier .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0;
  color: #f1a36e;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-atelier .hero_eyebrow::before,
.home-atelier .section-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.home-atelier .logo_hero {
  width: clamp(112px, 12vw, 160px);
  margin: 2px 0 0;
}

.home-atelier .title_hero {
  max-width: 11ch;
  font-size: clamp(46px, 5.6vw, 72px);
  line-height: 0.96;
  text-wrap: balance;
}

.home-atelier .mobile-title-break {
  display: none;
}

.home-atelier .subtitle_hero {
  max-width: 38ch;
  margin: 3px 0 8px;
}

.home-atelier .btn_one {
  position: relative;
  min-height: 54px;
  padding-inline: 25px;
  overflow: hidden;
  border: 1px solid rgba(255, 226, 202, 0.24);
  border-radius: 7px;
  background: #e27b3f;
  box-shadow: 0 14px 28px rgba(136, 57, 18, 0.28);
}

.home-atelier .btn_one::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -42%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-22deg);
  transition: left 520ms ease;
}

.home-atelier .btn_one:hover::before {
  left: 115%;
}

.home-atelier .hero_proof {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: clamp(15px, 2.2vw, 28px);
  margin-top: clamp(7px, 1vw, 12px);
}

.home-atelier .hero_proof span {
  display: grid;
  gap: 3px;
  position: relative;
  min-width: 86px;
}

.home-atelier .hero_proof span + span::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 3px;
  left: clamp(-14px, -1.2vw, -9px);
  width: 1px;
  background: rgba(255, 247, 238, 0.16);
}

.home-atelier .hero_proof b {
  color: #fffaf4;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.home-atelier .hero_proof small {
  color: rgba(255, 245, 235, 0.52);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.home-atelier .hero .mySwiper {
  position: relative;
  isolation: isolate;
  border-color: rgba(255, 235, 214, 0.25);
  border-radius: 18px;
  box-shadow: 22px 26px 0 rgba(233, 129, 67, 0.1), 0 28px 74px rgba(0, 0, 0, 0.38);
}

.home-atelier .hero .mySwiper::before {
  content: "Ручная работа";
  position: absolute;
  z-index: 3;
  right: -15px;
  bottom: 28px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 240, 224, 0.42);
  border-radius: 3px;
  background: rgba(18, 14, 11, 0.83);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
  color: #f6c29e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.home-atelier .atelier-ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid rgba(255, 239, 222, 0.16);
  border-bottom: 1px solid rgba(255, 239, 222, 0.12);
  background: #e27b3f;
  color: #1b100a;
}

.home-atelier .atelier-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 52px;
  padding: 0;
  animation: atelier-ticker var(--ticker-duration, 24s) linear infinite;
  will-change: transform;
}

.home-atelier .atelier-ticker-group,
.home-atelier .atelier-ticker-repeat {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.home-atelier .atelier-ticker span,
.home-atelier .atelier-ticker i {
  flex: 0 0 auto;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.home-atelier .atelier-ticker span {
  padding: 0 18px;
}

.home-atelier .atelier-ticker i {
  color: rgba(29, 15, 7, 0.62);
  font-size: 13px;
}

.home-atelier .products {
  position: relative;
  overflow: hidden;
  padding-top: clamp(68px, 9vw, 112px);
  background:
    linear-gradient(90deg, rgba(238, 218, 199, 0.72) 1px, transparent 1px),
    linear-gradient(rgba(238, 218, 199, 0.72) 1px, transparent 1px),
    #f7f2eb;
  background-size: 72px 72px, 72px 72px, auto;
}

.home-atelier .section-heading {
  display: grid;
  max-width: 1180px;
  margin: 0 auto 38px;
}

.home-atelier .section-heading .p_header,
.home-atelier .section-heading .p_subtitle {
  max-width: 680px;
  margin-right: auto;
  text-align: left;
}

.home-atelier .section-heading .p_header {
  margin-top: 12px;
  color: #21150e;
  font-size: clamp(38px, 4.8vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.home-atelier .section-heading .p_subtitle {
  margin-top: 13px;
  color: #6f5140;
  font-size: 16px;
  line-height: 1.65;
}

.home-atelier .home-category-card {
  overflow: hidden;
  border-color: rgba(77, 46, 27, 0.15);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(61, 36, 20, 0.1);
}

.home-atelier .home-category-card::before {
  content: attr(data-index);
  position: absolute;
  z-index: 3;
  top: 17px;
  right: 17px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 247, 238, 0.48);
  border-radius: 50%;
  background: rgba(20, 13, 9, 0.48);
  color: #fffaf4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  backdrop-filter: blur(6px);
}

.home-atelier .home-category-card::after {
  background: linear-gradient(180deg, transparent 30%, rgba(19, 12, 8, 0.9) 100%);
}

.home-atelier .home-category-copy {
  padding: 25px;
}

.home-atelier .home-category-copy small {
  color: #f6bd93;
  letter-spacing: 0.12em;
}

.home-atelier .home-category-copy em {
  padding: 7px 0 0;
  border-bottom: 1px solid rgba(255, 243, 232, 0.44);
  border-radius: 0;
}

.home-atelier .home-catalog-link {
  border-radius: 5px;
  background: #20140e;
}

.home-atelier .surprise {
  position: relative;
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(circle at 90% 60%, rgba(213, 108, 47, 0.17), transparent 27rem),
    #17100c;
}

.home-atelier .section-kicker--light {
  color: #f0ad7e;
  margin-bottom: 18px;
}

.home-atelier .left_surprise {
  position: relative;
}

.home-atelier .left_surprise::after {
  content: "HANDMADE";
  position: absolute;
  top: 9px;
  right: -42px;
  color: rgba(250, 220, 194, 0.1);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.32em;
  transform: rotate(90deg);
  transform-origin: top right;
}

.home-atelier .sur_list li {
  border-radius: 8px;
  background: rgba(255, 247, 239, 0.035);
}

.home-atelier .sur_list li::before {
  border-radius: 4px;
}

.home-atelier .feedback {
  padding-top: clamp(72px, 9vw, 118px);
  background: #f7f2eb;
}

.home-atelier .feedback_header {
  width: min(100%, 1080px);
  margin-right: auto;
  margin-left: auto;
}

.home-atelier .feedback_title {
  margin-top: 12px;
  color: #21150e;
  font-size: clamp(38px, 4.6vw, 58px);
  letter-spacing: -0.06em;
}

.home-atelier .feedback_subtitle {
  color: #6f5140;
}

.home-atelier .feedback_container,
.home-atelier .feedback_contacts {
  border-radius: 10px;
  border-color: rgba(77, 46, 27, 0.14);
  box-shadow: 0 20px 44px rgba(61, 36, 20, 0.1);
}

.home-atelier .footer {
  margin-top: 0;
}

html.gsap-atelier .home-atelier .atelier-ticker-track {
  animation: atelier-ticker var(--ticker-duration, 24s) linear infinite;
}

@keyframes atelier-ticker {
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 820px) {
  .home-atelier .hero {
    min-height: auto;
  }

  .home-atelier .hero_eyebrow {
    margin-top: 4px;
  }

  .home-atelier .hero_proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .home-atelier .hero_proof span {
    min-width: 0;
  }

  .home-atelier .hero .mySwiper::before {
    right: 14px;
    bottom: 14px;
  }

  .home-atelier .section-heading {
    margin-bottom: 30px;
  }

  .home-atelier .left_surprise::after {
    display: none;
  }
}

@media (max-width: 540px) {
  .home-atelier .hero {
    padding-top: 105px;
  }

  .home-atelier .hero_container,
  .home-atelier .hero_left {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .home-atelier .hero_eyebrow {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: 10px;
    line-height: 1.45;
  }

  .home-atelier .hero_eyebrow::before {
    display: inline-block;
    margin: 0 9px 3px 0;
    vertical-align: middle;
  }

  .home-atelier .title_hero {
    max-width: none;
    font-size: clamp(34px, 9.2vw, 44px);
    overflow-wrap: normal;
  }

  .home-atelier .mobile-title-break {
    display: inline;
  }

  .home-atelier .hero_proof b {
    font-size: 15px;
  }

  .home-atelier .hero_proof small {
    font-size: 8px;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .home-atelier .atelier-ticker-track {
    min-height: 46px;
  }

  .home-atelier .section-heading .p_header,
  .home-atelier .feedback_title {
    font-size: 38px;
  }

  .home-atelier .home-category-copy {
    padding: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-atelier .atelier-ticker-track {
    animation: none !important;
  }
}

/* Dark continuation for the home page and shared surfaces */

.home-atelier .products {
  color: #fffaf4;
  background:
    radial-gradient(circle at 8% 16%, rgba(215, 112, 51, 0.16), transparent 24rem),
    radial-gradient(circle at 96% 76%, rgba(125, 71, 38, 0.15), transparent 28rem),
    linear-gradient(rgba(255, 237, 219, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 237, 219, 0.028) 1px, transparent 1px),
    #12100e;
  background-size: auto, auto, 68px 68px, 68px 68px, auto;
}

.home-atelier .section-heading .p_header {
  color: #fffaf4;
}

.home-atelier .section-heading .p_subtitle {
  color: rgba(255, 247, 238, 0.6);
}

.home-atelier .home-category-card {
  border-color: rgba(255, 240, 225, 0.14);
  background: #1a1613;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.home-atelier .home-category-card:hover {
  border-color: rgba(237, 139, 76, 0.62);
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.4);
}

.home-atelier .home-catalog-link {
  border: 1px solid rgba(255, 236, 217, 0.16);
  background: #21150e;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.home-atelier .home-catalog-link:hover {
  border-color: rgba(237, 139, 76, 0.68);
  background: #e27b3f;
}

.home-atelier .feedback {
  position: relative;
  overflow: hidden;
  color: #fffaf4;
  background:
    radial-gradient(circle at 82% 12%, rgba(226, 123, 63, 0.18), transparent 23rem),
    linear-gradient(135deg, #15110e, #0e0d0c 68%);
}

.home-atelier .feedback::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.48;
  background-image: linear-gradient(90deg, rgba(255, 239, 222, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
  pointer-events: none;
}

.home-atelier .feedback_header,
.home-atelier .feedback_wrapper {
  position: relative;
  z-index: 1;
}

.home-atelier .feedback_title,
.home-atelier .forma,
.home-atelier .label,
.home-atelier .contacts_title,
.home-atelier .contact_value,
.home-atelier .work_hours {
  color: #fffaf4;
}

.home-atelier .feedback_subtitle,
.home-atelier .contact_label,
.home-atelier .optional {
  color: rgba(255, 246, 236, 0.58);
}

.home-atelier .feedback_container,
.home-atelier .feedback_contacts {
  border-color: rgba(255, 236, 218, 0.13);
  background: rgba(27, 23, 20, 0.9);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.home-atelier .in_text,
.home-atelier .text_chat {
  border-color: rgba(255, 236, 217, 0.13);
  background: #151311;
  color: #fffaf4;
}

.home-atelier .in_text::placeholder,
.home-atelier .text_chat::placeholder {
  color: rgba(255, 246, 236, 0.35);
}

.home-atelier .in_text:focus,
.home-atelier .text_chat:focus {
  border-color: #e27b3f;
  background: #191512;
  box-shadow: 0 0 0 4px rgba(226, 123, 63, 0.16);
}

.home-atelier .contact_card {
  border-color: rgba(255, 236, 217, 0.12);
  background: #151311;
}

.home-atelier .contact_card:hover {
  border-color: rgba(237, 139, 76, 0.68);
  background: #211811;
}

.home-atelier .send_button {
  border: 1px solid rgba(255, 236, 217, 0.18);
  border-radius: 7px;
  background: #e27b3f;
  color: #fff;
}

.home-atelier .send_button:hover {
  background: #f09254;
  box-shadow: 0 14px 30px rgba(226, 123, 63, 0.28);
}

@media (max-width: 760px) {
  .header,
  .header_container {
    height: 72px !important;
  }

  .header {
    z-index: 1100;
    background: rgba(16, 14, 12, 0.96);
  }

  .header_container {
    width: 100%;
    box-sizing: border-box;
    padding-inline: 16px !important;
    justify-content: space-between;
  }

  .header .logo_header {
    display: block;
    width: 56px;
    height: 50px;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .header button.burger {
    display: grid !important;
    place-items: center;
    position: fixed;
    top: 15px;
    right: 16px;
    z-index: 1101;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    margin-left: auto;
    border: 1px solid rgba(255, 250, 244, 0.18);
    border-radius: 8px;
    background: #211914;
  }

  .header button.burger::before {
    content: "";
    width: 18px;
    height: 12px;
    background: linear-gradient(#fffaf4 0 2px, transparent 2px 5px, #fffaf4 5px 7px, transparent 7px 10px, #fffaf4 10px 12px);
  }

  .header .burger span {
    display: none;
  }

  .catalog_intro h1 {
    max-width: 10ch;
    font-size: clamp(40px, 12vw, 56px);
  }

  .catalog_intro p {
    max-width: 34ch;
    font-size: 14px;
    line-height: 1.65;
  }

  .catalog_container,
  .section_content {
    grid-template-columns: 1fr;
  }

  .box {
    height: min(500px, 122vw);
  }

  .product-card .img-wrap {
    height: min(390px, 96vw);
  }

  .order {
    padding-top: 94px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .right_side {
    padding: 22px 17px 18px;
  }

  .feedback_container,
  .feedback_contacts {
    border-radius: 14px;
  }
}


/* Home page: keep the grid, reduce ambient glow */

.home-atelier .hero {
  background: linear-gradient(115deg, #0e0d0c 0%, #14110f 56%, #0c0b0a 100%);
}

.home-interactive .home-atelier .hero::before {
  opacity: 0.18;
  background: radial-gradient(
    520px circle at var(--home-x) var(--home-y),
    rgba(229, 134, 74, 0.035),
    transparent 70%
  );
}

.home-atelier .btn_one,
.home-atelier .send_button {
  box-shadow: none;
}

.home-atelier .btn_one:hover,
.home-atelier .send_button:hover {
  box-shadow: none;
}

.home-atelier .hero .mySwiper {
  box-shadow: 10px 12px 0 rgba(233, 129, 67, 0.035), 0 16px 36px rgba(0, 0, 0, 0.22);
}

.home-atelier .products {
  background:
    linear-gradient(rgba(255, 237, 219, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 237, 219, 0.03) 1px, transparent 1px),
    #12100e;
  background-size: 68px 68px, 68px 68px, auto;
}

.home-atelier .home-category-card,
.home-atelier .home-category-card:hover,
.home-atelier .home-catalog-link,
.home-atelier .feedback_container,
.home-atelier .feedback_contacts {
  box-shadow: none;
}

.home-atelier .surprise,
.home-atelier .feedback {
  background: #14110f;
}

.home-atelier .feedback::before {
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 239, 222, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 239, 222, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
}

.motion-progress {
  background: var(--r-accent);
  box-shadow: none;
}

.motion-ambient {
  opacity: 0.12;
  background: radial-gradient(circle, rgba(229, 134, 74, 0.03), transparent 70%);
  mix-blend-mode: normal;
}

/* Shared workshop grid for every inner page */

body:not(.home-atelier) {
  background-color: #100e0c;
  background-image:
    linear-gradient(rgba(255, 237, 219, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 237, 219, 0.03) 1px, transparent 1px);
  background-size: 68px 68px;
  background-attachment: fixed;
}

body:not(.home-atelier) .catalog,
body:not(.home-atelier) .section_content,
body:not(.home-atelier) .order,
body:not(.home-atelier) .charka,
body:not(.home-atelier) .simillar_products,
body:not(.home-atelier) .payment-result {
  background-color: transparent;
  background-image: none;
}

@media (max-width: 760px) {
  body:not(.home-atelier) {
    background-attachment: scroll;
  }
}

/* Taller equal collection cards and smoother controls */

.home-atelier .home-categories {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.home-atelier .home-category-card,
.home-atelier .home-category-card:first-child {
  width: 100%;
  height: clamp(470px, 38vw, 560px);
  min-height: 0;
}

.home-atelier .home-category-card img {
  object-position: center center;
}

.home-atelier .home-category-copy em {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid rgba(255, 243, 232, 0.34);
  border-radius: 4px;
  background: rgba(18, 14, 11, 0.48);
  transition:
    color 280ms ease,
    background-color 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease,
    transform 320ms var(--r-ease);
}

.home-atelier .home-category-card:hover .home-category-copy em {
  border-color: #e27b3f;
  background: #e27b3f;
  box-shadow: 0 8px 20px rgba(111, 46, 16, 0.2);
  transform: translateX(5px);
}

.home-atelier .home-catalog-link,
.home-atelier .home-catalog-link span,
.btn_one,
.buy_button,
.product-card .buy-btn,
.box button,
.order_btn,
.orderclick_btn,
.checkout-btn,
.checkout-submit,
.send_button,
.sim-btn,
.cart-btn {
  transition:
    color 280ms ease,
    background-color 280ms ease,
    border-color 280ms ease,
    box-shadow 320ms ease,
    transform 320ms var(--r-ease);
}

.home-atelier .home-catalog-link:hover span {
  transform: translate(2px, -2px);
}

.home-atelier .home-catalog-link:active,
.btn_one:active,
.buy_button:active,
.product-card .buy-btn:active,
.box button:active,
.order_btn:active,
.orderclick_btn:active,
.checkout-btn:active,
.checkout-submit:active,
.send_button:active,
.sim-btn:active,
.cart-btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 120ms;
}

@media (max-width: 820px) {
  .home-atelier .home-categories {
    grid-template-columns: 1fr;
  }

  .home-atelier .home-category-card,
  .home-atelier .home-category-card:first-child {
    height: min(520px, 136vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-atelier .home-category-copy em,
  .home-atelier .home-catalog-link,
  .home-atelier .home-catalog-link span,
  .btn_one,
  .buy_button,
  .product-card .buy-btn,
  .box button,
  .order_btn,
  .orderclick_btn,
  .checkout-btn,
  .checkout-submit,
  .send_button,
  .sim-btn,
  .cart-btn {
    transition: none !important;
  }
}

/* Premium timber direction for the home page */

.home-atelier {
  --home-metal: #a1a1aa;
  --home-metal-hover: #d4d4d8;
  --home-metal-soft: #e4e4e7;
  --home-metal-dark: #52525b;
  --home-metal-line: rgba(212, 212, 216, 0.16);
  --home-wood: #85583d;
  --home-wood-hover: #9a6849;
  --home-wood-soft: #b68b69;
  --home-texture:
    repeating-radial-gradient(
      ellipse at -8% 48%,
      transparent 0 62px,
      rgba(212, 212, 216, 0.055) 63px,
      transparent 65px 112px
    ),
    repeating-radial-gradient(
      ellipse at 108% 18%,
      transparent 0 88px,
      rgba(161, 161, 170, 0.045) 89px,
      transparent 92px 164px
    );
  --r-bg: #09090b;
  --r-bg-strong: #18181b;
  --r-surface: #18181b;
  --r-surface-soft: rgba(24, 24, 27, 0.82);
  --r-ink: #f4f4f5;
  --r-ink-soft: #a1a1aa;
  --r-line: rgba(212, 212, 216, 0.1);
  --r-line-strong: rgba(212, 212, 216, 0.2);
  --r-accent: var(--home-metal);
  --r-accent-dark: var(--home-metal-soft);
  --r-dark: #09090b;
  --r-dark-soft: #27272a;
  background-color: #09090b;
  background-image:
    var(--home-texture),
    linear-gradient(145deg, #09090b, #18181b 62%, #0b0b0d);
  background-size: auto, auto, auto;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.home-atelier .header {
  border-bottom-color: var(--home-metal-line);
  background: rgba(9, 9, 11, 0.92);
}

.home-atelier .header .logo_header {
  width: 70px;
  height: 62px;
}

.home-atelier .hero {
  --home-glow-x: 52%;
  --home-glow-y: 38%;
  isolation: isolate;
  background: transparent;
}

.home-atelier .hero::after {
  display: none;
}

.home-interactive .home-atelier .hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: clamp(260px, 34vh, 340px);
  left: max(13%, calc((100% - 1240px) / 2 + 60px));
  display: block;
  width: clamp(440px, 48vw, 680px);
  height: auto;
  aspect-ratio: 1;
  border: 1px solid rgba(212, 212, 216, 0.3);
  border-radius: 50%;
  background:
    radial-gradient(
      circle 190px at var(--home-glow-x) var(--home-glow-y),
      rgba(244, 244, 245, 0.24) 0%,
      rgba(212, 212, 216, 0.14) 36%,
      rgba(113, 113, 122, 0.08) 58%,
      transparent 74%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(39, 39, 42, 0.42) 0%,
      rgba(24, 24, 27, 0.22) 62%,
      rgba(9, 9, 11, 0.04) 100%
    );
  box-shadow:
    inset 0 0 84px rgba(161, 161, 170, 0.09),
    0 0 0 1px rgba(228, 228, 231, 0.045);
  filter: none;
  opacity: 0.9;
  transform: translate3d(-50%, -50%, 0);
  animation: none;
  pointer-events: none;
}

.home-atelier .hero_container {
  position: relative;
  z-index: 1;
}

.home-atelier .logo_hero {
  width: clamp(158px, 16vw, 220px);
  margin-block: 4px 2px;
  filter: none;
}

.home-atelier .hero_eyebrow,
.home-atelier .section-kicker,
.home-atelier .section-kicker--light,
.home-atelier .home-category-copy small,
.home-atelier .hero .mySwiper::before {
  color: var(--home-wood-soft);
}

.home-atelier .title_hero span {
  color: var(--home-metal-soft);
}

.home-atelier .btn_one,
.home-atelier .send_button,
.home-atelier .checkout-btn,
.home-atelier .buy_button,
.home-atelier .home-category-card:hover .home-category-copy em,
.home-atelier .home-catalog-link:hover {
  border-color: rgba(182, 139, 105, 0.52);
  background: var(--home-wood);
  color: #fafafa;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.home-atelier .btn_one:hover,
.home-atelier .send_button:hover,
.home-atelier .checkout-btn:hover,
.home-atelier .buy_button:hover,
.home-atelier .home-category-card:hover .home-category-copy em,
.home-atelier .home-catalog-link:hover {
  border-color: rgba(212, 175, 145, 0.68);
  background: var(--home-wood-hover);
}

.home-atelier .btn_one::before {
  display: none;
}

.home-atelier .hero .mySwiper {
  border-color: rgba(212, 212, 216, 0.24);
  box-shadow: 10px 12px 0 rgba(82, 82, 91, 0.1), 0 18px 38px rgba(0, 0, 0, 0.22);
}

.home-atelier .hero .mySwiper::before {
  border-color: rgba(212, 212, 216, 0.32);
  background: rgba(24, 24, 27, 0.9);
  box-shadow: none;
}

.home-atelier .atelier-ticker {
  border-color: rgba(228, 228, 231, 0.18);
  background: #3f3f46;
  color: #f4f4f5;
}

.home-atelier .atelier-ticker i {
  color: rgba(212, 212, 216, 0.5);
}

.home-atelier .products,
.home-atelier .feedback {
  border-block-color: transparent;
  background: transparent;
}

.home-atelier .feedback::before {
  display: none;
}

.home-atelier .surprise {
  border-block-color: transparent;
  background: transparent;
}

.home-atelier .home-category-card:hover,
.home-atelier .contact_card:hover,
.home-atelier .in_text:focus,
.home-atelier .text_chat:focus {
  border-color: rgba(212, 212, 216, 0.58);
  box-shadow: none;
}

.home-atelier .in_text:focus,
.home-atelier .text_chat:focus {
  outline: 2px solid rgba(161, 161, 170, 0.3);
  outline-offset: 2px;
}

.home-atelier .home-catalog-link {
  border-color: rgba(212, 212, 216, 0.18);
  background: #27272a;
}

.home-atelier .motion-ambient {
  display: none !important;
}

.home-atelier .right_surprise {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 540px);
  gap: 16px;
  margin-inline: auto;
  min-height: 0;
  isolation: auto;
}

.home-atelier .story-photo-card {
  --story-rotate-x: 0deg;
  --story-rotate-y: 0deg;
  --story-spot-x: 50%;
  --story-spot-y: 36%;
  position: relative;
  isolation: isolate;
  display: block;
  width: min(100%, 420px);
  padding: 4px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 212, 216, 0.16);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(39, 39, 42, 0.86), rgba(9, 9, 11, 0.92));
  color: #f4f4f5;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  text-align: left;
  transform:
    perspective(1000px)
    rotateX(var(--story-rotate-x))
    rotateY(var(--story-rotate-y));
  transform-style: preserve-3d;
  transition:
    border-color 260ms ease,
    box-shadow 320ms ease,
    transform 180ms ease;
  cursor: pointer;
}

.home-atelier .story-photo-card:first-child {
  align-self: flex-start;
}

.home-atelier .story-photo-card:nth-child(2) {
  align-self: flex-end;
}

.home-atelier .story-photo-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    280px circle at var(--story-spot-x) var(--story-spot-y),
    rgba(244, 244, 245, 0.14),
    transparent 68%
  );
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.home-atelier .story-photo-card:hover,
.home-atelier .story-photo-card.is-active {
  border-color: rgba(228, 228, 231, 0.42);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.3);
}

.home-atelier .story-photo-card:hover::after,
.home-atelier .story-photo-card.is-active::after {
  opacity: 1;
}

.home-atelier .story-photo-card:focus-visible {
  outline: 2px solid rgba(228, 228, 231, 0.7);
  outline-offset: 4px;
}

.home-atelier .story-photo-card .sur_photo {
  position: static;
  display: block;
  width: 100%;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 7px;
  box-shadow: none;
  opacity: 1;
  filter: saturate(0.9) contrast(1.02);
  transform: none;
  pointer-events: none;
}

.home-atelier .story-photo-card__footer {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 8px 2px;
}

.home-atelier .story-photo-card__footer strong {
  font-size: 11px;
  letter-spacing: 0.02em;
}

.home-atelier .story-photo-card__footer > span:last-child {
  color: #d4d4d8;
  font-size: 15px;
  transition: transform 240ms ease;
}

.home-atelier .story-photo-card:hover .story-photo-card__footer > span:last-child,
.home-atelier .story-photo-card.is-active .story-photo-card__footer > span:last-child {
  transform: translate(2px, -2px);
}

.home-atelier .story-photo-card__index {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(182, 139, 105, 0.36);
  border-radius: 6px;
  background: rgba(133, 88, 61, 0.34);
  color: #e4e4e7;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* Shared walnut button system for every storefront page */

body :is(
  .btn_one,
  .btn_two,
  .buy_button,
  .product-card .buy-btn,
  .box button,
  .order_btn,
  .orderclick_btn,
  .checkout-btn,
  .checkout-submit,
  .send_button,
  .sim-btn,
  .pay-btn,
  .home-catalog-link,
  .home-category-copy em,
  .cart-btn,
  .counter_order .btn,
  .sim-nav-prev,
  .sim-nav-next
) {
  border-color: rgba(182, 139, 105, 0.52);
  background: #85583d;
  background-image: none;
  color: #fafafa;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

body :is(
  .btn_one,
  .btn_two,
  .buy_button,
  .product-card .buy-btn,
  .box button,
  .order_btn,
  .orderclick_btn,
  .checkout-btn,
  .checkout-submit,
  .send_button,
  .sim-btn,
  .pay-btn,
  .home-catalog-link,
  .home-category-copy em,
  .cart-btn,
  .counter_order .btn,
  .sim-nav-prev,
  .sim-nav-next
):hover {
  border-color: rgba(212, 175, 145, 0.68);
  background: #9a6849;
  background-image: none;
  color: #fff;
}

body .cart-btn span {
  background: #e4e4e7;
  color: #27272a;
}

/* Zinc contact section */

.home-atelier .feedback_container,
.home-atelier .feedback_contacts {
  border-color: rgba(212, 212, 216, 0.18);
  background: rgba(24, 24, 27, 0.86);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.home-atelier .feedback_title,
.home-atelier .forma,
.home-atelier .label,
.home-atelier .contacts_title,
.home-atelier .contact_value,
.home-atelier .work_hours {
  color: #f4f4f5;
}

.home-atelier .feedback_subtitle,
.home-atelier .contact_label,
.home-atelier .optional {
  color: #a1a1aa;
}

.home-atelier .required {
  color: #a1a1aa;
}

.home-atelier .in_text,
.home-atelier .text_chat {
  border-color: rgba(161, 161, 170, 0.2);
  background: rgba(9, 9, 11, 0.68);
  color: #f4f4f5;
}

.home-atelier .in_text::placeholder,
.home-atelier .text_chat::placeholder {
  color: #71717a;
}

.home-atelier .in_text:focus,
.home-atelier .text_chat:focus {
  border-color: rgba(228, 228, 231, 0.72);
  background: #18181b;
  outline: 2px solid rgba(161, 161, 170, 0.24);
  box-shadow: none;
}

.home-atelier .contact_card {
  border-color: rgba(161, 161, 170, 0.2);
  background: rgba(9, 9, 11, 0.58);
}

.home-atelier .contact_card:hover {
  border-color: rgba(212, 212, 216, 0.52);
  background: #27272a;
  box-shadow: none;
}

.home-atelier .contact_icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid rgba(212, 212, 216, 0.18);
  border-radius: 50%;
  background: rgba(63, 63, 70, 0.5);
  color: #d4d4d8;
}

.home-atelier .contact_icon svg,
.home-atelier .work_hours svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-atelier .work_hours {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-top-color: rgba(161, 161, 170, 0.24);
}

.home-atelier .work_hours svg {
  width: 15px;
  height: 15px;
  color: #a1a1aa;
}

@media (max-width: 820px) {
  .home-atelier .header .logo_header {
    width: 62px;
    height: 54px;
  }

  .home-atelier .logo_hero {
    width: clamp(132px, 38vw, 168px);
  }

  .home-interactive .home-atelier .hero::before {
    top: 230px;
    left: 46%;
    width: min(116vw, 440px);
    opacity: 0.72;
  }

  .home-atelier .right_surprise {
    width: min(100%, 540px);
    min-height: 0;
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .home-atelier .right_surprise {
    display: flex;
  }

  .home-atelier .story-photo-card {
    width: min(100%, 380px);
    transform: none !important;
  }

  .home-atelier .story-photo-card:first-child,
  .home-atelier .story-photo-card:nth-child(2) {
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-interactive .home-atelier .hero::before {
    transition: none;
  }
}

/* Sitewide zinc workshop theme */

body:not(.home-atelier) {
  --site-wood-texture:
    repeating-radial-gradient(
      ellipse at -8% 48%,
      transparent 0 62px,
      rgba(212, 212, 216, 0.055) 63px,
      transparent 65px 112px
    ),
    repeating-radial-gradient(
      ellipse at 108% 18%,
      transparent 0 88px,
      rgba(161, 161, 170, 0.045) 89px,
      transparent 92px 164px
    );
  background-color: #09090b;
  background-image:
    var(--site-wood-texture),
    linear-gradient(145deg, #09090b, #18181b 62%, #0b0b0d);
  background-size: auto, auto, auto;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #f4f4f5;
}

body:not(.home-atelier) .header {
  border-bottom-color: rgba(212, 212, 216, 0.16);
  background: rgba(9, 9, 11, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

body:not(.home-atelier) :is(
  .catalog,
  .section_content,
  .order,
  .charka,
  .simillar_products,
  .container,
  .payment-result
) {
  background-color: transparent;
  background-image: none;
}

body:not(.home-atelier) :is(
  .catalog_intro h1,
  .section_content::before,
  .main_text,
  .char_title,
  .form_title,
  .right_box h1,
  .payment-result-box h1,
  .card-title,
  .product-card h2,
  .cost
) {
  color: #f4f4f5;
}

body:not(.home-atelier) :is(
  .catalog_intro p,
  .card-sub,
  .art,
  .char,
  .form_label,
  .delivery-hint,
  .pickup-results-empty
) {
  color: #a1a1aa;
}

body:not(.home-atelier) :is(
  .box,
  .product-card,
  .right_side,
  .char_box,
  .sim-card,
  .form,
  .right_box,
  .delivery-section,
  .delivery-option,
  .cdek-map-panel,
  .pickup-results,
  .block-color,
  .left,
  .payment-result-box,
  .cart-modal-content,
  .contact-modal-content,
  .return-modal-content
) {
  border-color: rgba(212, 212, 216, 0.17);
  background-color: rgba(24, 24, 27, 0.9);
  background-image: none;
  box-shadow:
    0 1px 0 rgba(244, 244, 245, 0.035) inset,
    0 18px 46px rgba(0, 0, 0, 0.26);
}

body:not(.home-atelier) :is(
  .box,
  .product-card,
  .right_side,
  .char_box,
  .sim-card,
  .form,
  .right_box,
  .delivery-section,
  .delivery-option,
  .payment-result-box
) {
  border-radius: 12px;
}

body:not(.home-atelier) :is(
  .box:hover,
  .product-card:hover,
  .char_box:hover,
  .sim-card:hover,
  .delivery-option:hover
) {
  border-color: rgba(228, 228, 231, 0.44);
  box-shadow:
    0 1px 0 rgba(244, 244, 245, 0.05) inset,
    0 24px 58px rgba(0, 0, 0, 0.32);
}

body:not(.home-atelier) .box:hover::after {
  border-color: rgba(228, 228, 231, 0.48);
}

body:not(.home-atelier) .box .card-content {
  background: linear-gradient(to top, rgba(9, 9, 11, 0.98), rgba(9, 9, 11, 0.03));
}

body:not(.home-atelier) :is(
  .product-card .img-wrap,
  .sim-content,
  .payment-cart-item,
  .pickup-point,
  .suggestions-list,
  .post-map-placeholder
) {
  border-color: rgba(212, 212, 216, 0.13);
  background-color: #18181b;
}

body:not(.home-atelier) :is(.box .card-badge, .product-card .card-badge, .sim-badge) {
  border-color: rgba(212, 212, 216, 0.2);
  background: rgba(24, 24, 27, 0.82);
  color: #d4d4d8;
}

body:not(.home-atelier) :is(.catalog_eyebrow, .subtitle_text, .char_box .char:first-child:not(:empty)) {
  color: #b68b69;
}

/* Compact long-form product description based on the disclosure pattern */
.charka.charka--seo {
  width: min(100%, 920px);
  max-width: 920px;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding-top: clamp(56px, 7vw, 88px);
}

.charka--seo .char_title {
  margin: 0 0 24px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}

.seo-description {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 212, 216, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 0%, rgba(182, 139, 105, 0.1), transparent 34%),
    rgba(18, 18, 21, 0.92);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.035) inset,
    0 24px 68px rgba(0, 0, 0, 0.26);
}

.seo-description::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, #b68b69, rgba(182, 139, 105, 0.08) 64%, transparent);
  content: '';
}

.seo-description__preview {
  padding: clamp(26px, 5vw, 44px);
}

.seo-description__eyebrow {
  margin: 0 0 14px;
  color: #c69a78;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.seo-description__lead {
  max-width: 72ch;
  margin: 0;
  color: #e4e4e7;
  font-size: clamp(17px, 1.7vw, 19px);
  font-weight: 450;
  line-height: 1.76;
  text-wrap: pretty;
}

.seo-description__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.seo-description__highlight {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid rgba(212, 212, 216, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #c8c8ce;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
}

.seo-description__details {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
}

.seo-description__details-inner {
  min-height: 0;
  overflow: hidden;
}

.seo-description.is-expanded .seo-description__details {
  grid-template-rows: 1fr;
  opacity: 1;
}

.seo-description__content {
  max-width: 760px;
  margin-inline: auto;
  padding: 0 clamp(26px, 5vw, 44px) 14px;
}

.seo-description__section {
  padding: 30px 0;
  border-top: 1px solid rgba(212, 212, 216, 0.14);
}

.seo-description__heading {
  margin: 0 0 12px;
  color: #f4f4f5;
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 720;
  line-height: 1.3;
  letter-spacing: -0.018em;
}

.seo-description__text {
  margin: 0;
  color: #b9b9c1;
  font-size: 16.5px;
  line-height: 1.78;
  text-wrap: pretty;
}

.seo-description__actions {
  position: relative;
  padding: 16px;
  border-top: 1px solid rgba(212, 212, 216, 0.14);
  background: rgba(9, 9, 11, 0.42);
}

.seo-description__toggle {
  position: relative;
  width: 100%;
  min-height: 62px;
  padding: 10px 62px 10px 18px;
  border: 1px solid rgba(212, 212, 216, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  color: #f4f4f5;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.seo-description__toggle:hover {
  border-color: rgba(198, 154, 120, 0.5);
  background: rgba(182, 139, 105, 0.1);
}

.seo-description__toggle:active {
  transform: translateY(1px);
}

.seo-description__toggle:focus-visible {
  outline: 3px solid rgba(198, 154, 120, 0.3);
  outline-offset: 3px;
}

.seo-description__toggle-label,
.seo-description__toggle-hint {
  display: block;
}

.seo-description__toggle-label {
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
}

.seo-description__toggle-hint {
  margin-top: 3px;
  color: #8f8f99;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.seo-description__toggle-icon {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 12px;
  height: 12px;
  border-right: 2px solid #c69a78;
  border-bottom: 2px solid #c69a78;
  transform: translateY(-68%) rotate(45deg);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.seo-description.is-expanded .seo-description__toggle-icon {
  transform: translateY(-28%) rotate(225deg);
}

@media (max-width: 600px) {
  .charka.charka--seo {
    padding-inline: 14px;
    padding-top: 50px;
  }

  .charka--seo .char_title {
    margin-bottom: 18px;
    font-size: 30px;
  }

  .seo-description {
    border-radius: 17px;
  }

  .seo-description__preview {
    padding: 24px 20px;
  }

  .seo-description__lead {
    font-size: 16px;
    line-height: 1.72;
  }

  .seo-description__highlights {
    gap: 7px;
    margin-top: 20px;
  }

  .seo-description__highlight {
    min-height: 31px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .seo-description__content {
    padding-inline: 20px;
  }

  .seo-description__section {
    padding: 24px 0;
  }

  .seo-description__heading {
    font-size: 18px;
  }

  .seo-description__text {
    font-size: 15.5px;
    line-height: 1.74;
  }

  .seo-description__actions {
    padding: 12px;
  }

  .seo-description__toggle {
    min-height: 58px;
    padding-left: 15px;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seo-description__details,
  .seo-description__toggle,
  .seo-description__toggle-icon {
    transition: none;
  }
}

body:not(.home-atelier) :is(.card-divider, .catalog_eyebrow::before) {
  background: #85583d;
}

body:not(.home-atelier) :is(
  .form_input,
  .in_text,
  .text_chat,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select
) {
  border-color: rgba(161, 161, 170, 0.24);
  background-color: rgba(9, 9, 11, 0.72);
  color: #f4f4f5;
}

body:not(.home-atelier) :is(
  .form_input,
  .in_text,
  .text_chat,
  input,
  textarea
)::placeholder {
  color: #71717a;
}

body:not(.home-atelier) :is(
  .form_input,
  .in_text,
  .text_chat,
  input,
  textarea,
  select
):focus {
  border-color: rgba(228, 228, 231, 0.66);
  outline: 2px solid rgba(161, 161, 170, 0.24);
  outline-offset: 2px;
  box-shadow: none;
}

body:not(.home-atelier) .delivery-option:has(input:checked) {
  border-color: rgba(182, 139, 105, 0.58);
  background-color: rgba(133, 88, 61, 0.18);
}

body:not(.home-atelier) :is(.footer, .cart-modal-content) {
  border-color: rgba(212, 212, 216, 0.14);
  background-color: #09090b;
  background-image: none;
}

@media (max-width: 760px) {
  body:not(.home-atelier) {
    background-attachment: scroll;
  }
}

/* Silver controls for catalog, collections and product views */

body:not(.home-atelier):is(
  :has(.catalog),
  :has(.section_content),
  :has(.order)
) :is(
  .btn_one,
  .btn_two,
  .buy_button,
  .product-card .buy-btn,
  .box button,
  .order_btn,
  .orderclick_btn,
  .checkout-btn,
  .sim-btn,
  .cart-btn,
  .counter_order .btn,
  .sim-nav-prev,
  .sim-nav-next
) {
  border-color: rgba(228, 228, 231, 0.72);
  background: #a1a1aa;
  background-image: none;
  color: #18181b;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

body:not(.home-atelier):is(
  :has(.catalog),
  :has(.section_content),
  :has(.order)
) :is(
  .btn_one,
  .btn_two,
  .buy_button,
  .product-card .buy-btn,
  .box button,
  .order_btn,
  .orderclick_btn,
  .checkout-btn,
  .sim-btn,
  .cart-btn,
  .counter_order .btn,
  .sim-nav-prev,
  .sim-nav-next
):hover {
  border-color: #f4f4f5;
  background: #d4d4d8;
  background-image: none;
  color: #09090b;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

body:not(.home-atelier):is(
  :has(.catalog),
  :has(.section_content),
  :has(.order)
) .product-card .buy-btn::after {
  color: #18181b;
}

body:not(.home-atelier):is(
  :has(.catalog),
  :has(.section_content),
  :has(.order)
) .cart-btn span {
  background: #3f3f46;
  color: #f4f4f5;
}

/* Monolithic footer */

body:not(.home-atelier) .footer,
.home-atelier .footer {
  position: relative;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  border-top: 1px solid rgba(212, 212, 216, 0.16);
  background: #111113;
  box-shadow: 0 -18px 44px rgba(0, 0, 0, 0.18);
}

.footer::before {
  display: none !important;
}

.footer_container {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1280px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px clamp(22px, 4vw, 48px) 24px;
  grid-template-columns: minmax(260px, 0.9fr) minmax(420px, 1.25fr);
  align-items: start;
  gap: 42px clamp(44px, 7vw, 96px);
  text-align: left;
}

.footer_left {
  display: grid;
  margin: 0;
  justify-items: start;
  gap: 18px;
}

.footer_logo {
  width: 96px;
  height: auto;
  margin: 0;
  filter: none;
}

.footer_Text_1 {
  max-width: 38ch;
  margin: 0;
  color: #a1a1aa;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}

.footer_right {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
}

.footer_block {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.footer_right_main {
  margin: 0 0 16px;
  color: #f4f4f5;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text_footer {
  margin: 7px 0 0;
  color: #a1a1aa;
  font-size: 13px;
  line-height: 1.55;
}

.text_footer a {
  color: #d4d4d8;
  text-decoration-color: rgba(212, 212, 216, 0.3);
  text-underline-offset: 3px;
}

.text_footer a:hover {
  color: #f4f4f5;
  text-decoration-color: #f4f4f5;
}

.footer_foot {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(212, 212, 216, 0.12);
  color: #71717a;
  font-size: 11px;
  line-height: 1.55;
  text-align: left;
}

@media (max-width: 760px) {
  .footer_container {
    padding: 42px 20px 22px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer_right {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer_foot {
    grid-column: 1;
  }
}

/* Product controls: restore the original workshop actions */

body:not(.home-atelier):has(.order) :is(
  .order_btn,
  .orderclick_btn,
  .counter_order .btn
) {
  border-color: rgba(182, 139, 105, 0.52);
  background: #85583d;
  color: #fafafa;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

body:not(.home-atelier):has(.order) :is(
  .order_btn,
  .orderclick_btn,
  .counter_order .btn
):hover {
  border-color: rgba(212, 175, 145, 0.68);
  background: #9a6849;
  color: #fff;
}

body:not(.home-atelier):has(.order) .product-gallery-arrow {
  border-color: rgba(212, 212, 216, 0.2);
  background: rgba(14, 12, 11, 0.76);
  color: #f4f4f5;
  box-shadow: none;
  backdrop-filter: blur(10px);
}

body:not(.home-atelier):has(.order) .product-gallery-arrow:hover {
  border-color: rgba(182, 139, 105, 0.58);
  background: #85583d;
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

/* Similar products: zinc cards with restrained workshop accents */

body:not(.home-atelier):has(.order) .simillar_products {
  padding: clamp(72px, 8vw, 104px) 0 clamp(78px, 9vw, 112px);
  border-top: 1px solid rgba(212, 212, 216, 0.12);
  background: transparent;
}

body:not(.home-atelier):has(.order) .products_container {
  width: min(100%, 1280px);
  max-width: 1280px;
  margin-bottom: 34px;
}

body:not(.home-atelier):has(.order) .sim-eyebrow {
  color: #b68b69;
}

body:not(.home-atelier):has(.order) .prod_title {
  color: #f4f4f5;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 720;
  letter-spacing: -0.055em;
}

body:not(.home-atelier):has(.order) .sim-description {
  max-width: 52ch;
  color: #a1a1aa;
}

body:not(.home-atelier):has(.order) .sim-fraction {
  color: #71717a;
}

body:not(.home-atelier):has(.order) .sim-fraction b {
  color: #d4d4d8;
}

body:not(.home-atelier):has(.order) .sim-fraction i {
  color: #b68b69;
}

body:not(.home-atelier):has(.order) .simillar_products :is(.sim-nav-prev, .sim-nav-next) {
  width: 46px;
  height: 46px;
  border-color: rgba(212, 212, 216, 0.22);
  border-radius: 9px;
  background: #27272a;
  color: #d4d4d8;
  box-shadow: none;
  backdrop-filter: none;
}

body:not(.home-atelier):has(.order) .simillar_products :is(.sim-nav-prev, .sim-nav-next):hover {
  border-color: rgba(228, 228, 231, 0.5);
  background: #3f3f46;
  color: #f4f4f5;
  box-shadow: none;
  transform: translateY(-2px);
}

body:not(.home-atelier):has(.order) .similar_swiper_wrap {
  width: min(calc(100% - 28px), 1320px);
  max-width: 1320px;
  padding: 4px clamp(8px, 2.6vw, 30px) 18px;
}

body:not(.home-atelier):has(.order) .mySwiper_2 {
  padding-block: 10px 22px;
}

body:not(.home-atelier):has(.order) .mySwiper_2 .swiper-slide,
body:not(.home-atelier):has(.order) .mySwiper_2 .swiper-slide:not(.swiper-slide-active) {
  width: clamp(300px, 24vw, 352px) !important;
}

body:not(.home-atelier):has(.order) .sim-card {
  min-height: 0;
  grid-template-rows: auto minmax(154px, 1fr);
  overflow: hidden;
  border: 1px solid rgba(212, 212, 216, 0.16);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(39, 39, 42, 0.94), rgba(24, 24, 27, 0.98));
  box-shadow:
    0 1px 0 rgba(244, 244, 245, 0.035) inset,
    0 16px 38px rgba(0, 0, 0, 0.24);
}

body:not(.home-atelier):has(.order) .sim-card::after {
  display: block;
  border-color: transparent;
  background: linear-gradient(
    135deg,
    rgba(228, 228, 231, 0.22),
    transparent 32%,
    transparent 72%,
    rgba(161, 161, 170, 0.14)
  ) border-box;
}

body:not(.home-atelier):has(.order) .sim-media {
  aspect-ratio: 56 / 75;
  margin: 5px 5px 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #18181b;
}

body:not(.home-atelier):has(.order) .sim-media::after {
  height: 34%;
  background: linear-gradient(transparent, rgba(9, 9, 11, 0.42));
}

body:not(.home-atelier):has(.order) .sim-media img {
  object-fit: contain;
  object-position: center;
  filter: saturate(0.92) contrast(1.02);
}

body:not(.home-atelier):has(.order) .sim-card:hover .sim-media img {
  transform: none;
}

body:not(.home-atelier):has(.order) .sim-badge {
  top: 14px;
  left: 14px;
  border-color: rgba(212, 212, 216, 0.2);
  border-radius: 6px;
  background: rgba(24, 24, 27, 0.82);
  color: #d4d4d8;
}

body:not(.home-atelier):has(.order) .sim-badge[data-type="current"] {
  border-color: rgba(182, 139, 105, 0.52);
  background: rgba(133, 88, 61, 0.9);
  color: #fafafa;
}

body:not(.home-atelier):has(.order) .sim-number {
  top: 14px;
  right: 15px;
  color: rgba(244, 244, 245, 0.68);
  font-size: 22px;
  font-weight: 500;
}

body:not(.home-atelier):has(.order) .sim-content {
  padding: 18px 17px 16px;
  gap: 6px;
  background: transparent;
}

body:not(.home-atelier):has(.order) .sim-sub {
  color: #b68b69;
}

body:not(.home-atelier):has(.order) .sim-title {
  min-height: 2.45em;
  color: #f4f4f5;
  font-size: 17px;
}

body:not(.home-atelier):has(.order) .sim-footer {
  padding-top: 13px;
  border-top-color: rgba(212, 212, 216, 0.12);
}

body:not(.home-atelier):has(.order) .sim-price {
  color: #d4d4d8;
  font-size: 20px;
}

body:not(.home-atelier):has(.order) .simillar_products .sim-btn {
  min-height: 36px;
  border-color: rgba(182, 139, 105, 0.52);
  border-radius: 7px;
  background: #85583d;
  color: #fafafa;
  box-shadow: none;
}

body:not(.home-atelier):has(.order) .simillar_products .sim-btn:hover,
body:not(.home-atelier):has(.order) .simillar_products .sim-card:hover .sim-btn {
  border-color: rgba(212, 175, 145, 0.68);
  background: #9a6849;
  color: #fff;
}

body:not(.home-atelier):has(.order) .sim-card:hover {
  border-color: rgba(228, 228, 231, 0.42);
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(244, 244, 245, 0.05) inset,
    0 22px 48px rgba(0, 0, 0, 0.3);
}

body:not(.home-atelier):has(.order) .sim-card.is-current {
  border-color: rgba(182, 139, 105, 0.58);
  box-shadow:
    0 0 0 1px rgba(133, 88, 61, 0.14),
    0 18px 42px rgba(0, 0, 0, 0.26);
}

body:not(.home-atelier):has(.order) .sim-progress {
  height: 2px;
  background: rgba(212, 212, 216, 0.12);
}

body:not(.home-atelier):has(.order) .sim-progress span {
  background: #a1a1aa;
  box-shadow: none;
}

@media (max-width: 760px) {
  body:not(.home-atelier):has(.order) .simillar_products {
    padding: 64px 0 76px;
  }

  body:not(.home-atelier):has(.order) .mySwiper_2 .swiper-slide,
  body:not(.home-atelier):has(.order) .mySwiper_2 .swiper-slide:not(.swiper-slide-active) {
    width: min(88vw, 326px) !important;
  }

  body:not(.home-atelier):has(.order) .sim-card {
    min-height: 0;
    grid-template-rows: auto minmax(146px, 1fr);
  }
}

.home-atelier .sur_list li::before {
  background: #85583d;
  color: #fff;
}

/* Catalog and collection cards — aligned with the home showcase */

body:not(.home-atelier) .catalog_container {
  counter-reset: catalog-showcase-card;
  align-items: stretch;
  gap: 14px;
}

body:not(.home-atelier) .catalog_container .box {
  counter-increment: catalog-showcase-card;
  height: clamp(470px, 38vw, 560px);
  overflow: hidden;
  border: 1px solid rgba(212, 212, 216, 0.2);
  border-radius: 10px;
  background: #18181b;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

body:not(.home-atelier) .catalog_container .box::before {
  background: linear-gradient(
    180deg,
    rgba(9, 9, 11, 0.03) 24%,
    rgba(9, 9, 11, 0.22) 52%,
    rgba(9, 9, 11, 0.96) 100%
  );
}

body:not(.home-atelier) .catalog_container .box::after {
  border-color: rgba(212, 212, 216, 0.18);
  border-radius: inherit;
}

body:not(.home-atelier) .catalog_container .box .image {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
}

body:not(.home-atelier) .catalog_container .box .card-content {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 7px;
  padding: 24px;
  background: none;
  pointer-events: none;
}

body:not(.home-atelier) .catalog_container .box .card-content::before {
  content: counter(catalog-showcase-card, decimal-leading-zero);
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(244, 244, 245, 0.48);
  border-radius: 50%;
  background: rgba(24, 24, 27, 0.58);
  color: #f4f4f5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  backdrop-filter: blur(7px);
}

body:not(.home-atelier) .catalog_container .box .card-title {
  margin: 0;
  color: #f4f4f5;
  font-size: clamp(27px, 2.4vw, 34px);
  line-height: 1;
  letter-spacing: -0.05em;
}

body:not(.home-atelier) .catalog_container .box .card-sub {
  margin: 0;
  color: #b68b69;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body:not(.home-atelier) .catalog_container .box .card-divider {
  width: 32px;
  height: 1px;
  margin-bottom: 2px;
}

body:not(.home-atelier) .catalog_container .box .card-badge {
  z-index: 4;
  top: 17px;
  left: 17px;
}

body:not(.home-atelier) .catalog_container .box a,
body:not(.home-atelier) .catalog_container .box button {
  pointer-events: auto;
}

body:not(.home-atelier):has(.catalog) .catalog_container .box button {
  min-height: 36px;
  margin-top: 3px;
  padding: 9px 13px;
  border: 1px solid rgba(182, 139, 105, 0.56);
  border-radius: 7px;
  background: #85583d;
  color: #fafafa;
  box-shadow: none;
}

body:not(.home-atelier):has(.catalog) .catalog_container .box button:hover {
  border-color: rgba(212, 175, 145, 0.72);
  background: #9a6849;
  color: #fff;
  box-shadow: none;
}

body:not(.home-atelier) .catalog_container .box:hover {
  border-color: rgba(228, 228, 231, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.32);
}

body:not(.home-atelier) .catalog_container .box:hover .image {
  transform: scale(1.045);
  filter: saturate(0.96) contrast(1.04);
}

body:not(.home-atelier) .section_content {
  counter-reset: collection-showcase-card;
  align-items: stretch;
  gap: 14px;
}

body:not(.home-atelier) .section_content > a {
  display: block;
  min-width: 0;
  height: 100%;
}

body:not(.home-atelier) .section_content .product-card {
  counter-increment: collection-showcase-card;
  position: relative;
  height: clamp(470px, 38vw, 560px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 212, 216, 0.2);
  border-radius: 10px;
  background: #18181b;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

body:not(.home-atelier) .section_content .product-card .img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: #18181b;
}

body:not(.home-atelier) .section_content .product-card .img-wrap::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 9, 11, 0.03) 24%,
    rgba(9, 9, 11, 0.22) 52%,
    rgba(9, 9, 11, 0.96) 100%
  );
  pointer-events: none;
}

body:not(.home-atelier) .section_content .product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
  transition: transform 760ms var(--r-ease), filter 420ms ease;
}

body:not(.home-atelier) .section_content .product-card .card-badge {
  z-index: 3;
  top: 17px;
  left: 17px;
}

body:not(.home-atelier) .section_content .product-card .card-body {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 7px;
  padding: 24px;
  pointer-events: none;
}

body:not(.home-atelier) .section_content .product-card .card-body::before {
  content: counter(collection-showcase-card, decimal-leading-zero);
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(244, 244, 245, 0.48);
  border-radius: 50%;
  background: rgba(24, 24, 27, 0.58);
  color: #f4f4f5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  backdrop-filter: blur(7px);
}

body:not(.home-atelier) .section_content .product-card h2 {
  order: 2;
  margin: 0;
  color: #f4f4f5;
  font-size: clamp(25px, 2.2vw, 32px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

body:not(.home-atelier) .section_content .product-card .price {
  order: 1;
  margin: 0;
  color: #b68b69;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body:not(.home-atelier) .section_content .product-card .buy-btn {
  order: 3;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 36px;
  margin-top: 3px;
  padding: 9px 13px;
  border: 1px solid rgba(182, 139, 105, 0.56);
  border-radius: 7px;
  background: #85583d;
  color: transparent;
  font-size: 0;
  box-shadow: none;
  pointer-events: auto;
}

body:not(.home-atelier) .section_content .product-card .buy-btn::after {
  content: "Смотреть →";
  color: #fafafa;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

body:not(.home-atelier) .section_content .product-card:hover {
  border-color: rgba(228, 228, 231, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.32);
}

body:not(.home-atelier) .section_content .product-card:hover .img-wrap img {
  transform: scale(1.045);
  filter: saturate(0.96) contrast(1.04);
}

body:not(.home-atelier) .section_content .product-card:hover .buy-btn {
  border-color: rgba(212, 175, 145, 0.72);
  background: #9a6849;
  color: transparent;
  box-shadow: none;
}

@media (max-width: 820px) {
  body:not(.home-atelier) .catalog_container .box,
  body:not(.home-atelier) .section_content .product-card {
    height: min(520px, 132vw);
    min-height: 430px;
  }
}

/* Card numbering: left aligned below the handmade badge */

.home-atelier .home-category-card::before {
  right: auto;
  left: 17px;
}

body:not(.home-atelier) .catalog_container .box .card-content::before,
body:not(.home-atelier) .section_content .product-card .card-body::before {
  top: 60px;
  right: auto;
  left: 17px;
}

body:not(.home-atelier):has(.order) .sim-number {
  top: 56px;
  right: auto;
  left: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(244, 244, 245, 0.4);
  border-radius: 50%;
  background: rgba(24, 24, 27, 0.64);
  color: #f4f4f5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  backdrop-filter: blur(7px);
}

/* Feedback form validation and delivery states */

.home-atelier .form_row--single {
  grid-template-columns: minmax(0, 1fr);
}

.home-atelier .feedback-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.home-atelier .feedback_field .field-error {
  color: #d6a694;
  font-size: 11px;
  line-height: 1.35;
}

.home-atelier :is(.in_text, .text_chat).is-invalid {
  border-color: rgba(214, 166, 148, 0.86);
  outline: 2px solid rgba(214, 166, 148, 0.14);
  outline-offset: 2px;
}

.home-atelier .feedback-status {
  min-height: 1.4em;
  margin: 15px 0 -13px;
  color: #a1a1aa;
  font-size: 12px;
  line-height: 1.4;
}

.home-atelier .feedback-status:empty {
  display: none;
}

.home-atelier .feedback-status.is-success {
  color: #a9c3ad;
}

.home-atelier .feedback-status.is-error {
  color: #d6a694;
}

.home-atelier .send_button:disabled {
  cursor: wait;
  opacity: 0.66;
  transform: none;
}

/* Products awaiting a confirmed price stay visible, but cannot be ordered yet. */
body:not(.home-atelier) :is(.order_btn, .orderclick_btn):disabled {
  cursor: not-allowed;
  opacity: 0.48;
  filter: saturate(0.45);
  box-shadow: none;
  transform: none;
}

body:not(.home-atelier) :is(.order_btn, .orderclick_btn):disabled:hover {
  transform: none;
}

/* Product photos use several resolutions and formats, but share a portrait layout.
   A stable 3:4 stage prevents layout jumps while keeping every image uncropped. */
body:not(.home-atelier):has(.order) .slider-wrapper {
  justify-content: center;
}

body:not(.home-atelier):has(.order) #swiper {
  width: min(100%, 488px);
  max-width: 488px;
  height: auto;
  max-height: none;
  aspect-ratio: 3 / 4;
  flex: 1 1 420px;
}

body:not(.home-atelier):has(.order) #swiper .swiper-slide img {
  object-fit: contain;
  object-position: center;
}

/* A few legacy photo sets have no embedded workshop mark. Keep their original
   product photo and add the same unobtrusive mark used by the newer assets. */
body:not(.home-atelier) .section_content .product-card img.card-photo-logo {
  position: absolute !important;
  z-index: 4;
  top: 14px !important;
  right: 14px !important;
  bottom: auto !important;
  left: auto !important;
  width: clamp(72px, 7vw, 94px) !important;
  height: auto !important;
  max-height: 86px;
  object-fit: contain !important;
  object-position: center !important;
  opacity: 0.94;
  filter: none !important;
  transform: none !important;
  transition: none !important;
  pointer-events: none;
}

body:not(.home-atelier) .section_content .product-card:hover img.card-photo-logo {
  filter: none !important;
  transform: none !important;
}
