@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;1,400;1,500;1,600&display=swap');

:root {
  --black: #030303;
  --white: #ffffff;
  --light: #f7f7f7;
  --line: #e8e8e8;
  --text: #111111;
  --muted: #777777;
  --tiffany: #31d8dc;
  --tiffany-dark: #13bfc5;

  --container: 1720px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;

  --shadow-soft: 0 20px 80px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--text);
}

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

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

button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.logo {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
}

.logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.logo-text {
  color: var(--tiffany);
  border: 2px solid var(--tiffany);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  box-shadow: 0 0 18px rgba(49, 216, 220, 0.6);
}

.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.main-nav a {
  color: var(--white);
  font-size: 15px;
  line-height: 1;
  opacity: 0.92;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover {
  color: var(--tiffany);
  opacity: 1;
}

.main-nav .nav-sale {
  color: var(--tiffany);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-button,
.cart-button,
.burger {
  border: none;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.icon-button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 25px;
  line-height: 1;
}

.cart-button {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.cart-button small {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--tiffany);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
}

.burger {
  display: none;
  width: 38px;
  height: 38px;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: var(--white);
  border-radius: 999px;
}

/* HERO */

.hero {
  padding: 34px 0 18px;
  background: var(--white);
}

.hero-inner {
  position: relative;
  min-height: 400px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 70% 40%, rgba(49, 216, 220, 0.16), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
  box-shadow: var(--shadow-soft);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 54px 0 54px 48px;
}

.hero-count {
  margin-bottom: 22px;
  color: #9a9a9a;
  font-size: 14px;
  font-weight: 700;
}

.hero-count span {
  color: var(--tiffany-dark);
}

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 0.94;
  letter-spacing: -2.8px;
  font-weight: 900;
}

.hero h1 span {
  color: var(--tiffany);
}

.hero p {
  margin-bottom: 34px;
  color: #686868;
  font-size: 17px;
  line-height: 1.35;
}

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

.primary-button {
  min-width: 198px;
  height: 54px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 13px;
  background: var(--tiffany);
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(49, 216, 220, 0.35);
}

.primary-button span,
.text-button span {
  font-size: 22px;
  line-height: 1;
}

.text-button {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #222;
  font-size: 14px;
  font-weight: 700;
}

.text-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 2px;
  background: var(--tiffany);
}

.hero-image {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.phone-card {
  position: absolute;
  right: 20px;
  top: -30px;
  width: 560px;
  height: 500px;
}

.phone-body {
  position: absolute;
  right: 145px;
  top: 15px;
  width: 250px;
  height: 430px;
  border-radius: 42px;
  background:
    linear-gradient(145deg, #ffffff 0%, #cfcfcf 42%, #f8f8f8 100%);
  transform: rotate(-18deg);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.phone-body::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 50px;
  width: 38px;
  height: 46px;
  transform: translateX(-50%);
  border-radius: 50% 50% 44% 44%;
  background: rgba(0, 0, 0, 0.35);
}

.camera-block {
  position: absolute;
  top: 28px;
  left: 24px;
  width: 112px;
  height: 112px;
  border-radius: 32px;
  background: rgba(245, 245, 245, 0.7);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.8),
    0 10px 30px rgba(0, 0, 0, 0.16);
}

.camera-block span {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 38%, #0d1b33 0 20%, #020308 42%, #343434 70%, #111 100%);
  box-shadow: 0 0 0 5px #d9d9d9;
}

.camera-block span:nth-child(1) {
  top: 15px;
  left: 14px;
}

.camera-block span:nth-child(2) {
  top: 15px;
  right: 14px;
}

.camera-block span:nth-child(3) {
  left: 36px;
  bottom: 15px;
}

.chrome-ring {
  position: absolute;
  right: -170px;
  bottom: -120px;
  width: 430px;
  height: 430px;
  border: 14px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(#f7f7f7, #f7f7f7) padding-box,
    linear-gradient(135deg, #ffffff, #5a5a5a, #ffffff, #111111) border-box;
  opacity: 0.9;
}

.scroll-hint {
  position: absolute;
  top: 36px;
  right: 42px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #686868;
  font-size: 13px;
  font-weight: 700;
}

.scroll-hint button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
}

/* ADAPTIVE */

@media (max-width: 980px) {
  .header-inner {
    height: 76px;
  }

  .logo {
    width: 58px;
    height: 58px;
  }

  .logo img {
    width: 52px;
    height: 52px;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .burger {
    display: block;
  }

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

  .hero-content {
    padding: 42px 28px 20px;
  }

  .hero-image {
    min-height: 320px;
  }

  .phone-card {
    right: 50%;
    top: -20px;
    transform: translateX(50%);
  }

  .scroll-hint {
    display: none;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .site-header {
    border-radius: 0 0 18px 18px;
  }

  .header-inner {
    gap: 18px;
  }

  .header-actions {
    gap: 12px;
  }

  .icon-button {
    display: none;
  }

  .hero {
    padding-top: 22px;
  }

  .hero h1 {
    font-size: 43px;
    letter-spacing: -1.8px;
  }

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

  .primary-button {
    width: 100%;
  }

  .hero-image {
    min-height: 250px;
  }

  .phone-card {
    width: 390px;
    height: 320px;
  }

  .phone-body {
    right: 120px;
    width: 170px;
    height: 285px;
    border-radius: 30px;
  }

  .camera-block {
    width: 78px;
    height: 78px;
    border-radius: 22px;
  }

  .camera-block span {
    width: 26px;
    height: 26px;
    box-shadow: 0 0 0 4px #d9d9d9;
  }

  .chrome-ring {
    width: 280px;
    height: 280px;
    right: -80px;
    bottom: -90px;
  }
}
/* FEATURES */

.features {
  padding: 0 0 28px;
}

.features-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 26px;
  border-right: 1px solid var(--line);
}

.feature-item:last-child {
  border-right: none;
}

.feature-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(49, 216, 220, 0.45);
  background: rgba(49, 216, 220, 0.08);
  color: var(--tiffany-dark);
  font-size: 19px;
  font-weight: 900;
}

.feature-item h3 {
  margin-bottom: 4px;
  color: var(--black);
  font-size: 13px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-item p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

/* FEATURES ADAPTIVE */

@media (max-width: 980px) {
  .features-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-item:nth-child(2) {
    border-right: none;
  }

  .feature-item:nth-child(1),
  .feature-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .features {
    padding-bottom: 22px;
  }

  .features-inner {
    grid-template-columns: 1fr;
  }

  .feature-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 16px 18px;
  }

  .feature-item:last-child {
    border-bottom: none;
  }
}
/* SECTION TITLE */

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-title h2 {
  color: var(--black);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.8px;
  font-weight: 900;
}

.section-title a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
}

.section-title a span {
  font-size: 20px;
}

/* CATEGORIES */

.categories {
  padding: 0 0 28px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.category-card {
  position: relative;
  min-height: 208px;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 80% 76%, rgba(49, 216, 220, 0.16), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #eeeeee 100%);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.04),
    0 14px 38px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow:
    inset 0 0 0 1px rgba(49, 216, 220, 0.35),
    0 18px 44px rgba(0, 0, 0, 0.08);
}

.category-text {
  position: relative;
  z-index: 2;
  padding: 20px 18px 0;
}

.category-text h3 {
  color: var(--black);
  font-size: 15px;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.category-text p {
  margin-top: 3px;
  color: #4f4f4f;
  font-size: 12px;
  line-height: 1.1;
  text-transform: uppercase;
}

.category-arrow {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tiffany);
  color: var(--black);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(49, 216, 220, 0.35);
}

.category-visual {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 120px;
  height: 120px;
}

/* декоративные товары без картинок */

.phone-case::before {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 2px;
  width: 58px;
  height: 118px;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #cfcfcf);
  transform: rotate(-18deg);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.phone-case::after {
  content: "";
  position: absolute;
  right: 44px;
  top: 14px;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  border: 3px solid #222;
  background: #e8e8e8;
}

.cable::before,
.cable::after {
  content: "";
  position: absolute;
  bottom: 16px;
  width: 18px;
  height: 104px;
  border-radius: 10px;
  background: linear-gradient(180deg, #d8d8d8, #111);
  box-shadow: 0 12px 24px rgba(0,0,0,0.16);
}

.cable::before {
  left: 34px;
  transform: rotate(-22deg);
}

.cable::after {
  right: 34px;
  transform: rotate(22deg);
}

.headphones::before {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 82px;
  height: 72px;
  border: 12px solid #d8d8d8;
  border-bottom: none;
  border-radius: 60px 60px 0 0;
  box-shadow: inset 0 0 0 2px #ffffff;
}

.headphones::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 8px;
  width: 104px;
  height: 54px;
  background:
    radial-gradient(circle at 18px 28px, #c8c8c8 0 18px, transparent 19px),
    radial-gradient(circle at 86px 28px, #c8c8c8 0 18px, transparent 19px);
}

.powerbank::before {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 8px;
  width: 52px;
  height: 126px;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #bfc3c7);
  transform: rotate(-12deg);
  box-shadow: 0 16px 34px rgba(0,0,0,0.18);
}

.powerbank::after {
  content: "80";
  position: absolute;
  right: 45px;
  top: 32px;
  width: 24px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #111;
  color: var(--tiffany);
  font-size: 10px;
  font-weight: 900;
  transform: rotate(-12deg);
}

.mouse::before {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 18px;
  width: 105px;
  height: 72px;
  border-radius: 48% 48% 38% 38%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(49,216,220,0.9) 49% 51%, transparent 52%),
    linear-gradient(145deg, #232323, #070707);
  box-shadow: 0 18px 30px rgba(0,0,0,0.24);
}

.mouse::after {
  content: "";
  position: absolute;
  right: 30px;
  bottom: 38px;
  width: 86px;
  height: 4px;
  border-radius: 999px;
  background: var(--tiffany);
  box-shadow: 0 16px 0 rgba(49,216,220,0.8);
}

.stand::before {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 36px;
  width: 104px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(145deg, #f8f8f8, #aeb4b9);
  transform: perspective(120px) rotateX(18deg) rotate(-8deg);
  box-shadow: 0 16px 30px rgba(0,0,0,0.16);
}

.stand::after {
  content: "";
  position: absolute;
  right: 44px;
  bottom: 18px;
  width: 60px;
  height: 12px;
  border-radius: 999px;
  background: #b8b8b8;
  transform: rotate(-8deg);
}

/* CATEGORIES ADAPTIVE */

@media (max-width: 1100px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-card {
    min-height: 190px;
  }
}

@media (max-width: 620px) {
  .section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-card {
    min-height: 170px;
    border-radius: 16px;
  }

  .category-text {
    padding: 16px 14px 0;
  }

  .category-text h3 {
    font-size: 13px;
  }

  .category-text p {
    font-size: 11px;
  }

  .category-arrow {
    left: 14px;
    bottom: 14px;
  }
}
/* SALE BANNER */

.sale-banner {
  padding: 0 0 28px;
}

.sale-card {
  min-height: 300px;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.72) 38%,
      rgba(0, 0, 0, 0.18) 68%,
      rgba(0, 0, 0, 0.04) 100%
    ),
    url("assets/sale-banner.png") center center / cover no-repeat !important;
  border-radius: 26px;
  overflow: hidden;
}

.sale-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
  padding: 38px 0 34px 54px;
}

.sale-label {
  margin-bottom: 8px;
  color: var(--tiffany);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sale-content h2 {
  margin-bottom: 4px;
  color: var(--white);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -1.8px;
  font-weight: 900;
}

.sale-content h2 span {
  color: var(--tiffany);
}

.sale-subtitle {
  margin-bottom: 20px;
  color: #c8c8c8;
  font-size: 15px;
}

.sale-timer {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.sale-timer div {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(49, 216, 220, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.sale-timer strong {
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.sale-timer span {
  color: #9a9a9a;
  font-size: 8px;
  line-height: 1;
  text-transform: uppercase;
}

.sale-button {
  width: 168px;
  height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  background: var(--tiffany);
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(49, 216, 220, 0.28);
}

.sale-button span {
  font-size: 20px;
}

.sale-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.sale-percent {
  position: absolute;
  right: 52px;
  top: 16px;
  color: transparent;
  -webkit-text-stroke: 4px var(--tiffany);
  font-size: 210px;
  line-height: 1;
  font-weight: 900;
  opacity: 0.95;
}

.robot-head {
  position: absolute;
  right: 310px;
  bottom: -28px;
  width: 150px;
  height: 190px;
  border-radius: 72px 72px 58px 58px;
  background:
    radial-gradient(circle at 58% 32%, #090909 0 13%, transparent 14%),
    radial-gradient(circle at 58% 32%, rgba(49, 216, 220, 0.8) 0 18%, transparent 19%),
    linear-gradient(145deg, #ffffff, #747474 45%, #161616 100%);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.12),
    0 24px 60px rgba(0, 0, 0, 0.6);
}

.robot-head::before {
  content: "";
  position: absolute;
  right: 30px;
  top: 44px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #050505 0 28%, #575757 29% 52%, #111 53% 100%);
  box-shadow: 0 0 0 5px rgba(255,255,255,0.2);
}

.robot-head::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 84px;
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background: var(--tiffany);
  box-shadow: 0 16px 0 rgba(49, 216, 220, 0.75);
}

.sale-line {
  position: absolute;
  right: 330px;
  top: 68px;
  width: 360px;
  height: 112px;
  border: 4px solid var(--tiffany);
  border-radius: 34px;
  opacity: 0.92;
}

.sale-line::before {
  content: "";
  position: absolute;
  left: 76px;
  top: 50%;
  width: 150px;
  height: 5px;
  border-radius: 999px;
  background: var(--tiffany);
  transform: translateY(-50%) rotate(-38deg);
}

/* SALE ADAPTIVE */

@media (max-width: 980px) {
  .sale-card {
    min-height: 300px;
  }

  .sale-content {
    padding: 34px 28px;
  }

  .sale-percent {
    right: 12px;
    top: 70px;
    font-size: 150px;
  }

  .robot-head {
    right: 170px;
    width: 120px;
    height: 150px;
  }

  .sale-line {
    display: none;
  }
}

@media (max-width: 620px) {
  .sale-card {
    min-height: 420px;
  }

  .sale-content {
    padding: 28px 22px;
  }

  .sale-timer {
    flex-wrap: wrap;
  }

  .sale-visual {
    opacity: 0.78;
  }

  .sale-percent {
    right: -12px;
    bottom: 18px;
    top: auto;
    font-size: 135px;
  }

  .robot-head {
    right: 130px;
    bottom: -34px;
  }
}
/* PRODUCTS */

.products-section {
  padding: 0 0 28px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.product-card {
  min-height: 134px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.product-image {
  position: relative;
  width: 84px;
  height: 92px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 70% 70%, rgba(49, 216, 220, 0.22), transparent 44%),
    linear-gradient(145deg, #ffffff, #efefef);
  overflow: hidden;
}

.product-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--tiffany);
  color: var(--black);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 18px rgba(10, 186, 181, 0.22);
}

.product-info p {
  margin-bottom: 4px;
  color: #8a8a8a;
  font-size: 11px;
  line-height: 1.1;
}

.product-info h3 {
  min-height: 34px;
  color: var(--black);
  font-size: 13px;
  line-height: 1.15;
  font-weight: 900;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
}

.product-bottom strong {
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
}

.product-bottom button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  font-size: 13px;
  cursor: pointer;
}

/* PRODUCT DRAWINGS */

.product-watch::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 16px;
  width: 38px;
  height: 56px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, transparent 48%, var(--tiffany) 49% 51%, transparent 52%),
    #111;
  box-shadow:
    0 0 0 4px #2b2b2b,
    0 12px 20px rgba(0, 0, 0, 0.18);
}

.product-watch::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 8px;
  width: 18px;
  height: 76px;
  border-radius: 999px;
  background: #191919;
  z-index: -1;
}

.product-earbuds::before,
.product-earbuds::after {
  content: "";
  position: absolute;
  top: 18px;
  width: 28px;
  height: 48px;
  border-radius: 18px 18px 12px 12px;
  background: linear-gradient(145deg, #ffffff, #9e9e9e);
  box-shadow: 0 12px 18px rgba(0,0,0,0.16);
}

.product-earbuds::before {
  left: 19px;
  transform: rotate(-18deg);
}

.product-earbuds::after {
  right: 19px;
  transform: rotate(18deg);
}

.product-charger::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 15px;
  width: 44px;
  height: 64px;
  border-radius: 10px;
  background: linear-gradient(145deg, #252525, #050505);
  transform: rotate(-14deg);
  box-shadow: 0 14px 24px rgba(0,0,0,0.25);
}

.product-charger::after {
  content: "";
  position: absolute;
  left: 39px;
  top: 8px;
  width: 20px;
  height: 12px;
  border-radius: 4px;
  background: #111;
  box-shadow: 14px 0 0 #111;
  transform: rotate(-14deg);
}

.product-ssd::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 24px;
  width: 66px;
  height: 42px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, #e53935 0 10px, transparent 10px),
    linear-gradient(145deg, #2b2b2b, #050505);
  transform: rotate(-6deg);
  box-shadow: 0 14px 22px rgba(0,0,0,0.22);
}

.product-keyboard::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 22px;
  width: 68px;
  height: 52px;
  border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, #171717 0 8px, #2a2a2a 8px 10px),
    #111;
  transform: rotate(-8deg);
  box-shadow: 0 14px 22px rgba(0,0,0,0.18);
}

.product-keyboard::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 30px;
  width: 58px;
  height: 2px;
  background: rgba(255,255,255,0.18);
  box-shadow:
    0 10px 0 rgba(255,255,255,0.18),
    0 20px 0 rgba(255,255,255,0.18),
    0 30px 0 rgba(255,255,255,0.18);
  transform: rotate(-8deg);
}

/* PRODUCTS ADAPTIVE */

@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card {
    min-height: 150px;
  }
}

@media (max-width: 620px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 92px 1fr;
  }

  .product-image {
    width: 92px;
    height: 96px;
  }
}
/* BRANDS */

.brands-section {
  padding: 0 0 28px;
}

.brands-row {
  min-height: 64px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.brand-item {
  min-height: 64px;
  display: grid;
  place-items: center;
  color: var(--black);
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
  opacity: 0.9;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.brand-item:hover {
  color: var(--tiffany-dark);
  opacity: 1;
  transform: translateY(-2px);
}

/* BRANDS ADAPTIVE */

@media (max-width: 980px) {
  .brands-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 620px) {
  .brands-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-item {
    font-size: 16px;
    min-height: 58px;
    border-bottom: 1px solid var(--line);
  }
}
/* FOOTER */

.site-footer {
  padding: 0 0 32px;
  background: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.6fr;
  gap: 40px;
  padding: 34px 44px 38px;
  border-radius: 24px 24px 0 0;
  background: var(--black);
  color: var(--white);
  box-shadow: 0 -12px 50px rgba(0, 0, 0, 0.12);
}

.footer-logo {
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
}

.footer-brand p {
  color: #9a9a9a;
  font-size: 13px;
  line-height: 1.45;
}

.footer-column h3,
.footer-subscribe h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

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

.footer-column a {
  margin-bottom: 12px;
  color: #a8a8a8;
  font-size: 13px;
  line-height: 1.1;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--tiffany);
}

.footer-subscribe p {
  margin-bottom: 18px;
  color: #a8a8a8;
  font-size: 13px;
  line-height: 1.4;
}

.subscribe-form {
  position: relative;
  height: 48px;
  margin-bottom: 18px;
}

.subscribe-form input {
  width: 100%;
  height: 48px;
  padding: 0 58px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  outline: none;
  background: #181818;
  color: var(--white);
  font-size: 13px;
}

.subscribe-form input::placeholder {
  color: #7a7a7a;
}

.subscribe-form button {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: var(--tiffany);
  color: var(--black);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1b1b1b;
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-socials a:hover {
  background: var(--tiffany);
  color: var(--black);
}

/* FOOTER ADAPTIVE */

@media (max-width: 1100px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-subscribe {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 22px 32px;
    border-radius: 22px 22px 0 0;
  }

  .footer-subscribe {
    grid-column: auto;
  }
}
/* FOOTER TEST + STYLE */

.site-footer {
  padding: 0 0 32px;
  background: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.6fr;
  gap: 40px;
  padding: 34px 44px 38px;
  border-radius: 24px 24px 0 0;
  background: #030303;
  color: #ffffff;
}

.footer-brand p,
.footer-column a,
.footer-subscribe p {
  color: #a8a8a8;
  font-size: 13px;
  line-height: 1.4;
}

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

.footer-column h3,
.footer-subscribe h3 {
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-column a {
  margin-bottom: 12px;
}

.subscribe-form {
  position: relative;
  height: 48px;
  margin-bottom: 18px;
}

.subscribe-form input {
  width: 100%;
  height: 48px;
  padding: 0 58px 0 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  outline: none;
  background: #181818;
  color: #ffffff;
}

.subscribe-form button {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #31d8dc;
  color: #030303;
  font-weight: 900;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1b1b1b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-subscribe {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-subscribe {
    grid-column: auto;
  }
}
/* FIX STICKY HEADER + ANCHORS */

html {
  scroll-padding-top: 130px;
}

.hero,
.features,
.categories,
.sale-banner,
.products-section,
.brands-section,
.site-footer {
  scroll-margin-top: 130px;
}
/* REAL LOGO */

.logo-image {
  border: none;
  box-shadow: none;
}

.logo-image img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 10px rgba(49, 216, 220, 0.75))
    drop-shadow(0 0 22px rgba(49, 216, 220, 0.35));
}

.footer-logo img {
  width: 72px;
  height: 72px;
}
/* REAL CATEGORY IMAGES */

.category-img {
  position: absolute;
  right: 8px;
  bottom: 6px;
  width: 132px;
  height: 132px;
  object-fit: contain;
  z-index: 1;
  filter:
    drop-shadow(0 18px 22px rgba(0, 0, 0, 0.18))
    saturate(0.92);
  transition: transform 0.25s ease;
}

.category-card:hover .category-img {
  transform: translateY(-4px) scale(1.04);
}
/* ЕЩЕ КРУПНЕЕ ЧЕХОЛ В ПЕРВОЙ КАРТОЧКЕ */

.category-card:first-child .category-img {
  right: -42px;
  bottom: 0px;
  width: 285px;
  height: 255px;
  object-fit: contain;
}
/* ФИНАЛЬНАЯ ПОЗИЦИЯ ЧЕХЛА В ПЕРВОЙ КАРТОЧКЕ */

.category-card:first-child .category-img {
  right: -8px;
  bottom: 4px;
  width: 255px;
  height: 240px;
  object-fit: contain;
}
/* ЧЕХОЛ: НИЖЕ И КРУПНЕЕ */

.category-card:first-child .category-img {
  right: -18px;
  bottom: -26px;
  width: 290px;
  height: 280px;
  object-fit: contain;
}
/* ЧЕХОЛ: МАКСИМАЛЬНО КРУПНО */

.category-card:first-child .category-img {
  right: -34px;
  bottom: -42px;
  width: 335px;
  height: 315px;
  object-fit: contain;
}
/* ЧЕХОЛ: КРУПНЫЙ АКЦЕНТ */

.category-card:first-child .category-img {
  right: -48px;
  bottom: -58px;
  width: 380px;
  height: 355px;
  object-fit: contain;
}
.category-card:first-child .category-img {
  right: -36px;
  bottom: -52px;
  width: 355px;
  height: 335px;
  object-fit: contain;
}
/* ОТМЕНЯЕМ УВЕЛИЧЕНИЕ КАРТОЧКИ */

.category-card:first-child {
  grid-column: auto;
  min-height: 208px;
  overflow: hidden;
}

/* ЧЕХОЛ КРУПНЕЕ, НО КАРТОЧКА ОСТАЕТСЯ ТОЙ ЖЕ */

.category-card:first-child .category-img {
  right: -34px;
  bottom: -28px;
  width: 300px;
  height: 285px;
  object-fit: contain;
  max-width: none;
}
/* ЧЕХОЛ: УМЕНЬШАЕМ И ВЫРАВНИВАЕМ */

.category-card:first-child .category-img {
  right: -28px;
  bottom: -18px;
  width: 260px;
  height: 245px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:first-child .category-text {
  position: relative;
  z-index: 5;
  max-width: 130px;
}

.category-card:first-child .category-arrow {
  z-index: 6;
}
/* ЗАРЯДКА И КАБЕЛЬ: КРУПНЕЕ */

.category-card:nth-child(2) .category-img {
  right: -30px;
  bottom: -24px;
  width: 285px;
  height: 260px;
  object-fit: contain;
  max-width: none;
}
/* ЗАРЯДКА И КАБЕЛЬ: КРУПНО, НО НЕ ПЕРЕКРЫВАЕТ ТЕКСТ */

.category-card:nth-child(2) .category-img {
  right: -42px;
  bottom: -34px;
  width: 255px;
  height: 240px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:nth-child(2) .category-text {
  position: relative;
  z-index: 5;
  max-width: 120px;
}

.category-card:nth-child(2) .category-arrow {
  z-index: 6;
}
.category-card:nth-child(2) .category-img {
  right: -36px;
  bottom: -26px;
  width: 235px;
  height: 225px;
  object-fit: contain;
  max-width: none;
}
/* ЗАРЯДКА И КАБЕЛЬ: ЕЩЕ МЕНЬШЕ */

.category-card:nth-child(2) .category-img {
  right: -20px;
  bottom: -12px;
  width: 210px;
  height: 205px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}.category-card:nth-child(2) .category-img {
  right: -10px;
  bottom: -4px;
  width: 190px;
  height: 185px;
  object-fit: contain;
  max-width: none;
}
.category-card:nth-child(2) .category-img {
  right: -10px;
  bottom: -18px;
  width: 195px;
  height: 190px;
  object-fit: contain;
  max-width: none;
}
/* ЗАРЯДКА: УБИРАЕМ КАБЕЛЬ ОТ КНОПКИ, КНОПКУ НЕ ДВИГАЕМ */

.category-card:nth-child(2) .category-img {
  right: -38px;
  bottom: -8px;
  width: 200px;
  height: 195px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:nth-child(2) .category-text {
  position: relative;
  z-index: 5;
}
/* НАУШНИКИ: ПОЗИЦИЯ В КАРТОЧКЕ */

.category-card:nth-child(3) .category-img {
  right: -20px;
  bottom: -18px;
  width: 230px;
  height: 220px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:nth-child(3) .category-text {
  position: relative;
  z-index: 5;
}

.category-card:nth-child(3) .category-arrow {
  z-index: 6;
}
/* НАУШНИКИ: МЕНЬШЕ И НИЖЕ */

.category-card:nth-child(3) .category-img {
  right: -28px;
  bottom: -30px;
  width: 245px;
  height: 235px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:nth-child(3) .category-text {
  position: relative;
  z-index: 5;
}
.category-card:nth-child(3) .category-img {
  right: -18px;
  bottom: -24px;
  width: 220px;
  height: 210px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}
/* НАУШНИКИ: ФИНАЛЬНО МЕНЬШЕ И НИЖЕ */

.category-card:nth-child(3) .category-img {
  right: -20px;
  bottom: -48px;
  width: 205px;
  height: 205px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:nth-child(3) .category-text {
  position: relative;
  z-index: 6;
  max-width: 130px;
}
.category-card:nth-child(3) .category-img {
  right: -24px;
  bottom: -48px;
  width: 220px;
  height: 220px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}
/* НАУШНИКИ: ЧУТЬ НИЖЕ */

.category-card:nth-child(3) .category-img {
  right: -20px;
  bottom: -62px;
  width: 205px;
  height: 205px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}
/* НАУШНИКИ: ФИНАЛЬНАЯ ПОЗИЦИЯ */

.category-card:nth-child(3) .category-img {
  right: -20px;
  bottom: -48px;
  width: 205px;
  height: 205px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:nth-child(3) .category-text {
  position: relative;
  z-index: 6;
  max-width: 130px;
}
/* НАУШНИКИ: ВЫШЕ И ПРАВЕЕ, НЕ ЗАХОДЯТ НА КНОПКУ */

.category-card:nth-child(3) .category-img {
  right: -34px;
  bottom: -28px;
  width: 200px;
  height: 200px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:nth-child(3) .category-text {
  position: relative;
  z-index: 6;
  max-width: 130px;
}

.category-card:nth-child(3) .category-arrow {
  z-index: 7;
}
/* НАУШНИКИ: УМЕНЬШАЕМ */

.category-card:nth-child(3) .category-img {
  right: -24px;
  bottom: -22px;
  width: 175px;
  height: 175px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:nth-child(3) .category-text {
  position: relative;
  z-index: 6;
  max-width: 130px;
}

.category-card:nth-child(3) .category-arrow {
  z-index: 7;
}
/* НАУШНИКИ: ЕЩЕ МЕНЬШЕ */

.category-card:nth-child(3) .category-img {
  right: -14px;
  bottom: -10px;
  width: 150px;
  height: 150px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}
/* НАУШНИКИ: ВЫШЕ */

.category-card:nth-child(3) .category-img {
  right: -14px;
  bottom: 18px;
  width: 150px;
  height: 150px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}
/* POWER BANK: ПОЗИЦИЯ В КАРТОЧКЕ */

.category-card:nth-child(4) .category-img {
  right: -18px;
  bottom: -8px;
  width: 185px;
  height: 185px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:nth-child(4) .category-text {
  position: relative;
  z-index: 6;
  max-width: 130px;
}

.category-card:nth-child(4) .category-arrow {
  z-index: 7;
}
/* HERO REAL IMAGE */

.hero-image {
  position: relative;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
}

.hero-product-img {
  position: absolute;
  right: 40px;
  top: -58px;
  width: 520px;
  height: 560px;
  object-fit: contain;
  z-index: 3;
  filter:
    drop-shadow(0 34px 55px rgba(0, 0, 0, 0.18))
    saturate(0.95);
}

.hero-chrome-ring {
  position: absolute;
  right: -160px;
  bottom: -130px;
  width: 430px;
  height: 430px;
  border: 14px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(#f7f7f7, #f7f7f7) padding-box,
    linear-gradient(135deg, #ffffff, #5a5a5a, #ffffff, #111111) border-box;
  opacity: 0.9;
  z-index: 2;
}

.phone-card,
.phone-body,
.camera-block,
.chrome-ring {
  display: none;
}
/* HERO BLACK VERSION */

.hero-inner {
  background:
    radial-gradient(circle at 68% 50%, rgba(49, 216, 220, 0.22), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(49, 216, 220, 0.16), transparent 24%),
    linear-gradient(135deg, #030303 0%, #080808 52%, #000000 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hero-inner::before {
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 38%,
      rgba(255, 255, 255, 0.08) 46%,
      rgba(49, 216, 220, 0.08) 52%,
      transparent 62%,
      transparent 100%
    );
}

.hero-count {
  color: rgba(255, 255, 255, 0.55);
}

.hero-count span {
  color: var(--tiffany);
}

.hero h1 {
  color: #ffffff;
}

.hero h1 span {
  color: var(--tiffany);
}

.hero p {
  color: rgba(255, 255, 255, 0.68);
}

.primary-button {
  background: var(--tiffany);
  color: #030303;
  box-shadow:
    0 14px 34px rgba(49, 216, 220, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.text-button {
  color: #ffffff;
}

.text-button::after {
  background: var(--tiffany);
}

.scroll-hint {
  color: rgba(255, 255, 255, 0.68);
}

.scroll-hint button {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-chrome-ring {
  background:
    linear-gradient(#050505, #050505) padding-box,
    linear-gradient(135deg, #ffffff, #5a5a5a, #ffffff, #31d8dc, #111111) border-box;
  opacity: 0.75;
}

.hero-product-img {
  filter:
    drop-shadow(0 34px 55px rgba(0, 0, 0, 0.45))
    saturate(0.95);
}
/* HERO IMAGE AS BACKGROUND */

.hero-inner {
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 5;
}

.hero-product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 1;
  opacity: 1.5;
  filter:
    saturate(0.9)
    contrast(1.08);
}

/* затемнение, чтобы текст читался */

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.78) 34%,
      rgba(0, 0, 0, 0.34) 62%,
      rgba(0, 0, 0, 0.15) 100%
    );
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  min-height: auto;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-chrome-ring,
.scroll-hint {
  z-index: 4;
}

.hero-chrome-ring {
  opacity: 0.45;
}

/* чтобы правая часть не занимала отдельную колонку */

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

.hero-content {
  max-width: 680px;
}
/* HERO BUTTON AFTER REMOVE SECOND BUTTON */

.hero-buttons {
  gap: 0;
}

.primary-button {
  min-width: 230px;
}
/* REMOVE SCROLL HINT */

.scroll-hint {
  display: none !important;
}
/* УБИРАЕМ СТАРЫЙ ДЕКОРАТИВНЫЙ КРУГ В HERO */

.hero-chrome-ring {
  display: none !important;
}

.chrome-ring {
  display: none !important;
}
/* HERO: ОПУСТИТЬ IPHONE НИЖЕ */

.hero-product-img {
  object-position: center 32%;
}
/* HERO: ДЕЛАЕМ IPHONE И ХРОМ ЯРЧЕ */

.hero-product-img {
  opacity: 1 !important;
  filter:
    brightness(1.18)
    contrast(1.18)
    saturate(1.05)
    drop-shadow(0 34px 55px rgba(0, 0, 0, 0.45)) !important;
}

/* Осветляем правую часть, затемнение оставляем только под текстом */
.hero-image::after {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.96) 0%,
      rgba(0, 0, 0, 0.82) 28%,
      rgba(0, 0, 0, 0.42) 46%,
      rgba(0, 0, 0, 0.08) 66%,
      rgba(0, 0, 0, 0.00) 100%
    ) !important;
}
/* HERO: IPHONE МЕНЕЕ ЯРКИЙ, ХРОМ ОСТАЕТСЯ КОНТРАСТНЫМ */

.hero-product-img {
  opacity: 0.92 !important;
  filter:
    brightness(1.02)
    contrast(1.15)
    saturate(0.98)
    drop-shadow(0 34px 55px rgba(0, 0, 0, 0.45)) !important;
}
/* HERO SLIDER */

.hero-inner {
  position: relative;
  min-height: 430px;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #030303;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  filter:
    brightness(0.94)
    contrast(1.12)
    saturate(0.98);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.9) 32%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.08) 72%,
      rgba(0, 0, 0, 0) 100%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 680px;
  padding: 54px 0 54px 48px;
}

.hero h1 {
  color: #ffffff;
}

.hero h1 span {
  color: var(--tiffany);
}

.hero p {
  color: rgba(255, 255, 255, 0.72);
}

.hero-count {
  color: rgba(255, 255, 255, 0.55);
}

.hero-count span {
  color: var(--tiffany);
}

.hero-controls {
  position: absolute;
  right: 42px;
  bottom: 34px;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-arrow:hover {
  background: var(--tiffany);
  color: #030303;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hero-dot.active {
  width: 24px;
  border-radius: 999px;
  background: var(--tiffany);
}

/* Убираем старые элементы hero */

.hero-image,
.hero-product-img,
.hero-chrome-ring,
.phone-card,
.phone-body,
.camera-block,
.chrome-ring,
.scroll-hint {
  display: none !important;
}

/* HERO MOBILE */

@media (max-width: 720px) {
  .hero-inner {
    min-height: 560px;
  }

  .hero-slide img {
    object-position: center right;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.72) 48%,
        rgba(0, 0, 0, 0.32) 100%
      );
  }

  .hero-content {
    padding: 38px 24px;
  }

  .hero-controls {
    left: 24px;
    right: auto;
    bottom: 24px;
  }
}
/* HERO SLIDES: ОПУСКАЕМ IPHONE НИЖЕ НА ВСЕХ СЛАЙДАХ */

.hero-slide img {
  object-position: center 42% !important;
}
/* СУМКИ И ОРГАНАЙЗЕРЫ */

.category-card:nth-child(5) .category-img {
  right: -12px;
  bottom: -10px;
  width: 205px;
  height: 200px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:nth-child(5) .category-text {
  position: relative;
  z-index: 6;
  max-width: 145px;
}

.category-card:nth-child(5) .category-arrow {
  z-index: 7;
}
/* ЧЕХЛЫ: УМЕНЬШАЕМ КАРТИНКУ */

.category-card:first-child .category-img {
  right: -24px;
  bottom: -18px;
  width: 225px;
  height: 215px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:first-child .category-text {
  position: relative;
  z-index: 6;
  max-width: 130px;
}

.category-card:first-child .category-arrow {
  z-index: 7;
}
.category-card:first-child .category-img {
  right: -14px;
  bottom: -8px;
  width: 195px;
  height: 190px;
  object-fit: contain;
  max-width: none;
}
/* ЧЕХЛЫ: ЕЩЕ МЕНЬШЕ */

.category-card:first-child .category-img {
  right: -4px;
  bottom: 0px;
  width: 165px;
  height: 165px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:first-child .category-text {
  position: relative;
  z-index: 6;
  max-width: 130px;
}

.category-card:first-child .category-arrow {
  z-index: 7;
}
/* ЗАРЯДКА: УМЕНЬШАЕМ КАРТИНКУ */

.category-card:nth-child(2) .category-img {
  right: -8px;
  bottom: 6px;
  width: 165px;
  height: 165px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:nth-child(2) .category-text {
  position: relative;
  z-index: 6;
  max-width: 130px;
}

.category-card:nth-child(2) .category-arrow {
  z-index: 7;
}
/* ЗАРЯДКА: ВЕРНУТЬ КАК БЫЛО */

.category-card:nth-child(2) .category-img {
  right: -8px;
  bottom: 6px;
  width: 165px;
  height: 165px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:nth-child(2) .category-text {
  position: relative;
  z-index: 6;
  max-width: 130px;
}

.category-card:nth-child(2) .category-arrow {
  z-index: 7;
}
/* НАУШНИКИ: НИЖЕ, КРУПНЕЕ И ЛЕВЕЕ */

.category-card:nth-child(3) .category-img {
  right: 18px;
  bottom: -18px;
  width: 190px;
  height: 190px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:nth-child(3) .category-text {
  position: relative;
  z-index: 6;
  max-width: 130px;
}

.category-card:nth-child(3) .category-arrow {
  z-index: 7;
}
/* НАУШНИКИ: УМЕНЬШАЕМ ПОСЛЕ УВЕЛИЧЕНИЯ */

.category-card:nth-child(3) .category-img {
  right: 0px;
  bottom: -8px;
  width: 165px;
  height: 165px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:nth-child(3) .category-text {
  position: relative;
  z-index: 6;
  max-width: 130px;
}

.category-card:nth-child(3) .category-arrow {
  z-index: 7;
}
/* POWER BANK: УМЕНЬШАЕМ */

.category-card:nth-child(4) .category-img {
  right: -6px;
  bottom: 0px;
  width: 165px;
  height: 165px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:nth-child(4) .category-text {
  position: relative;
  z-index: 6;
  max-width: 130px;
}

.category-card:nth-child(4) .category-arrow {
  z-index: 7;
}
.category-card:nth-child(4) .category-img {
  right: 0px;
  bottom: 6px;
  width: 145px;
  height: 145px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}
/* POWER BANK: КАРТИНКУ ПРАВЕЕ */

.category-card:nth-child(4) .category-img {
  right: -24px;
  bottom: 0px;
  width: 165px;
  height: 165px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}
/* POWER BANK: МЕНЬШЕ И ПРАВЕЕ */

.category-card:nth-child(4) .category-img {
  right: -18px;
  bottom: 8px;
  width: 145px;
  height: 145px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}
/* СУМКИ И ОРГАНАЙЗЕРЫ: УМЕНЬШАЕМ КАРТИНКУ */

.category-card:nth-child(5) .category-img {
  right: -6px;
  bottom: 4px;
  width: 155px;
  height: 155px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:nth-child(5) .category-text {
  position: relative;
  z-index: 6;
  max-width: 150px;
}

.category-card:nth-child(5) .category-arrow {
  z-index: 7;
}
/* УМНЫЕ ГАДЖЕТЫ */

.category-card:nth-child(6) .category-img {
  right: -4px;
  bottom: 4px;
  width: 155px;
  height: 155px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:nth-child(6) .category-text {
  position: relative;
  z-index: 6;
  max-width: 145px;
}

.category-card:nth-child(6) .category-arrow {
  z-index: 7;
}
/* КАТЕГОРИИ: TIFFANY HOVER + АККУРАТНАЯ КНОПКА */

.category-card {
  position: relative;
  overflow: hidden;
}

/* Полупрозрачный Tiffany слой при наведении */
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 186, 181, 0.18);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 3;
  pointer-events: none;
}

.category-card:hover::after {
  opacity: 1;
}

/* Текст и картинка поверх базового фона */
.category-card .category-text,
.category-card .category-img {
  position: relative;
}

/* Кнопка-стрелка */
.category-arrow {
  width: 42px;
  height: 42px;
  left: 18px;
  bottom: 18px;
  z-index: 8;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0ABAB5;
  color: #030303;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(10, 186, 181, 0.35);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

/* При наведении стрелка становится более премиальной */
.category-card:hover .category-arrow {
  transform: translateX(4px);
  background: #ffffff;
  color: #0ABAB5;
  box-shadow: 0 12px 34px rgba(10, 186, 181, 0.5);
}

/* Чтобы текст был выше Tiffany слоя */
.category-card .category-text {
  z-index: 7;
}

/* Чтобы картинка была между фоном и слоем */
.category-card .category-img {
  z-index: 4;
}
/* УБРАТЬ КРУГ И СТРЕЛКУ В КАРТОЧКАХ КАТЕГОРИЙ */

.category-arrow {
  display: none !important;
}
/* СУМКИ: ЧУТЬ НИЖЕ И КРУПНЕЕ */

.category-card:nth-child(5) .category-img {
  right: -12px;
  bottom: -8px;
  width: 175px;
  height: 175px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:nth-child(5) .category-text {
  position: relative;
  z-index: 6;
  max-width: 150px;
}
/* КАТЕГОРИИ: ВЫРАВНИВАЕМ ВСЕ КАРТОЧКИ В ОДНУ ЛИНИЮ */

.category-card {
  min-height: 210px;
  display: block;
  overflow: hidden;
}

.category-text {
  position: relative;
  z-index: 6;
  padding: 20px 18px 0;
  min-height: 72px;
}

.category-text h3 {
  font-size: 15px;
  line-height: 1.05;
}

.category-text p {
  font-size: 12px;
  line-height: 1.1;
  white-space: nowrap;
}

/* ЕДИНЫЙ РАЗМЕР ИЗОБРАЖЕНИЙ */

.category-card .category-img {
  position: absolute;
  right: 10px;
  bottom: 12px;
  width: 155px;
  height: 120px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
  filter:
    drop-shadow(0 16px 22px rgba(0, 0, 0, 0.14))
    saturate(0.95);
}

/* ЛЕГКАЯ ИНДИВИДУАЛЬНАЯ ПОДГОНКА, НО В ОДНОЙ СИСТЕМЕ */

.category-card:nth-child(1) .category-img {
  right: 8px;
  bottom: 10px;
  width: 155px;
  height: 120px;
}

.category-card:nth-child(2) .category-img {
  right: 4px;
  bottom: 12px;
  width: 160px;
  height: 120px;
}

.category-card:nth-child(3) .category-img {
  right: 8px;
  bottom: 12px;
  width: 155px;
  height: 120px;
}

.category-card:nth-child(4) .category-img {
  right: 6px;
  bottom: 12px;
  width: 155px;
  height: 120px;
}

.category-card:nth-child(5) .category-img {
  right: 4px;
  bottom: 10px;
  width: 160px;
  height: 122px;
}

.category-card:nth-child(6) .category-img {
  right: 6px;
  bottom: 12px;
  width: 155px;
  height: 120px;
}

/* УБИРАЕМ СТРЕЛКИ ОКОНЧАТЕЛЬНО */

.category-arrow {
  display: none !important;
}

/* TIFFANY HOVER ОСТАВЛЯЕМ АККУРАТНЫМ */

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 186, 181, 0.16);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 4;
  pointer-events: none;
}

.category-card:hover::after {
  opacity: 1;
}
/* КАТЕГОРИИ: ВСЕ ИЗОБРАЖЕНИЯ НА 20% КРУПНЕЕ */

.category-card .category-img {
  width: 186px;
  height: 144px;
}

/* Индивидуальная подгонка в той же сетке */

.category-card:nth-child(1) .category-img {
  right: -4px;
  bottom: 8px;
  width: 186px;
  height: 144px;
}

.category-card:nth-child(2) .category-img {
  right: -8px;
  bottom: 8px;
  width: 192px;
  height: 144px;
}

.category-card:nth-child(3) .category-img {
  right: -4px;
  bottom: 8px;
  width: 186px;
  height: 144px;
}

.category-card:nth-child(4) .category-img {
  right: -6px;
  bottom: 8px;
  width: 186px;
  height: 144px;
}

.category-card:nth-child(5) .category-img {
  right: -8px;
  bottom: 6px;
  width: 192px;
  height: 146px;
}

.category-card:nth-child(6) .category-img {
  right: -6px;
  bottom: 8px;
  width: 186px;
  height: 144px;
}
/* ===== MOBILE FIX ===== */

@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header {
    border-radius: 0 0 22px 22px;
  }

  .header-inner {
    min-height: 72px;
    gap: 14px;
  }

  .logo-image img {
    max-width: 82px;
    height: auto;
  }

  .main-nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-inner {
    min-height: 560px;
    border-radius: 26px;
    overflow: hidden;
  }

  .hero-content {
    left: 20px;
    right: 20px;
    top: 70px;
    max-width: calc(100% - 40px);
  }

  .hero-count {
    font-size: 13px;
  }

  .hero-content h1 {
    font-size: clamp(38px, 12vw, 64px);
    line-height: 0.95;
    letter-spacing: -2px;
    max-width: 100%;
    word-break: normal;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.35;
    max-width: 280px;
  }

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

  .primary-button {
    height: 56px;
    padding: 0 22px;
    font-size: 14px;
    width: fit-content;
    max-width: 100%;
  }

  .hero-controls {
    right: 20px;
    bottom: 24px;
  }

  .hero-slide img {
    object-fit: cover;
    object-position: center right;
  }

  .section-title {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }

  .section-title h2 {
    font-size: 26px;
    line-height: 1;
    letter-spacing: -1px;
  }

  .section-title a {
    font-size: 14px;
    white-space: nowrap;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-card {
    min-height: 190px;
    padding: 16px;
    border-radius: 22px;
    overflow: hidden;
  }

  .category-text h3 {
    font-size: 18px;
    line-height: 1;
    word-break: normal;
  }

  .category-text p {
    font-size: 12px;
    line-height: 1.15;
  }

  .category-img {
    max-width: 90%;
    max-height: 115px;
    object-fit: contain;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card {
    border-radius: 22px;
  }

  .product-info h3 {
    font-size: 16px;
    line-height: 1.15;
  }

  .product-info p {
    font-size: 12px;
  }

  .sale-card {
    padding: 28px 20px;
    border-radius: 26px;
  }

  .sale-content h2 {
    font-size: clamp(34px, 11vw, 58px);
    line-height: 0.95;
  }

  .sale-timer {
    flex-wrap: wrap;
    gap: 10px;
  }

  .brands-row {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
  }

  .brand-item {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 420px) {

  .hero-inner {
    min-height: 520px;
  }

  .hero-content h1 {
    font-size: clamp(34px, 13vw, 52px);
  }

  .categories-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 210px;
  }

  .section-title {
    flex-direction: column;
  }
}
/* УБИРАЕМ СТАРЫЕ ВЕКТОРНЫЕ ЭЛЕМЕНТЫ */

.sale-visual,
.sale-percent,
.robot-head,
.sale-line,
.hero-chrome-ring,
.chrome-ring,
.phone-card,
.phone-body,
.camera-block {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* =========================================================
   FINAL MOBILE / MENU FIX — MIGSHIP
   Добавлено в самый конец файла, чтобы перебить старые дубли.
   ========================================================= */

:root {
  --tiffany: #0ABAB5;
  --tiffany-dark: #0ABAB5;
}

/* Меню: белый текст на черном, hover Tiffany */
.site-header,
.site-header * {
  box-sizing: border-box;
}

.main-nav,
.main-nav a,
.main-nav .nav-link,
.nav-dropdown > a {
  color: #ffffff !important;
}

.main-nav a:hover,
.main-nav .nav-link:hover,
.nav-dropdown:hover > a,
.nav-dropdown:hover .nav-link {
  color: #0ABAB5 !important;
}

.main-nav .nav-sale,
.main-nav .nav-sale:hover {
  color: #0ABAB5 !important;
}

.dropdown-menu {
  background: rgba(10, 10, 10, 0.96) !important;
  border: 1px solid rgba(10, 186, 181, 0.45) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35) !important;
}

.dropdown-menu a {
  color: #ffffff !important;
}

.dropdown-menu a:hover {
  color: #0ABAB5 !important;
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .site-header {
    position: sticky;
    top: 0;
    border-radius: 0 0 20px 20px;
  }

  .header-inner {
    height: 74px !important;
    min-height: 74px !important;
    gap: 12px !important;
  }

  .logo,
  .logo-image {
    width: 58px !important;
    height: 58px !important;
  }

  .logo-image img,
  .logo img {
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
  }

  .main-nav {
    display: none !important;
  }

  .header-actions {
    margin-left: auto !important;
    gap: 12px !important;
  }

  .burger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  /* HERO: убираем съезд текста и фиксируем естественную композицию */
  .hero {
    padding: 14px 0 18px !important;
  }

  .hero-inner {
    position: relative !important;
    display: block !important;
    min-height: 520px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
  }

  .hero-slider,
  .hero-slide {
    position: absolute !important;
    inset: 0 !important;
  }

  .hero-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 68% center !important;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0,0,0,0.94) 0%,
        rgba(0,0,0,0.82) 42%,
        rgba(0,0,0,0.42) 72%,
        rgba(0,0,0,0.18) 100%
      ) !important;
  }

  .hero-content {
    position: absolute !important;
    left: 22px !important;
    right: 22px !important;
    top: 38px !important;
    z-index: 5 !important;
    max-width: none !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .hero-count {
    margin-bottom: 18px !important;
    font-size: 13px !important;
  }

  .hero h1,
  .hero-content h1 {
    max-width: 100% !important;
    margin-bottom: 18px !important;
    font-size: clamp(34px, 10.5vw, 48px) !important;
    line-height: 0.96 !important;
    letter-spacing: -1.4px !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  .hero p,
  .hero-content p {
    max-width: 280px !important;
    margin-bottom: 24px !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  .hero-buttons {
    display: flex !important;
    align-items: flex-start !important;
    margin-top: 0 !important;
  }

  .primary-button {
    width: auto !important;
    min-width: 210px !important;
    max-width: 100% !important;
    height: 54px !important;
    padding: 0 22px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
  }

  .hero-controls {
    left: 22px !important;
    right: auto !important;
    bottom: 22px !important;
    gap: 12px !important;
  }

  .hero-arrow {
    width: 38px !important;
    height: 38px !important;
  }

  /* Заголовки секций */
  .section-title {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }

  .section-title h2 {
    font-size: clamp(24px, 7vw, 30px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.8px !important;
  }

  .section-title a {
    flex: 0 0 auto !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  /* Карточки категорий: убираем конфликтующие nth-child размеры */
  .categories-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .category-card {
    min-height: 178px !important;
    padding: 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  .category-text,
  .category-card:nth-child(n) .category-text {
    position: relative !important;
    z-index: 6 !important;
    max-width: 112px !important;
    min-height: auto !important;
    padding: 16px 12px 0 !important;
  }

  .category-text h3 {
    font-size: 13px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.2px !important;
    word-break: normal !important;
  }

  .category-text p {
    margin-top: 3px !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
    white-space: normal !important;
  }

  .category-card .category-img,
  .category-card:nth-child(1) .category-img,
  .category-card:nth-child(2) .category-img,
  .category-card:nth-child(3) .category-img,
  .category-card:nth-child(4) .category-img,
  .category-card:nth-child(5) .category-img,
  .category-card:nth-child(6) .category-img {
    position: absolute !important;
    right: -8px !important;
    bottom: 8px !important;
    width: 132px !important;
    height: 112px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    z-index: 2 !important;
  }

  .category-card:nth-child(2) .category-img,
  .category-card:nth-child(5) .category-img {
    right: -12px !important;
  }

  .category-card:nth-child(4) .category-img {
    right: -16px !important;
    width: 126px !important;
  }

  .category-arrow {
    display: none !important;
  }

  /* Новинки */
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .product-card {
    min-height: 124px !important;
    grid-template-columns: 88px 1fr !important;
    gap: 14px !important;
    border-radius: 18px !important;
  }

  .product-info h3 {
    min-height: auto !important;
    font-size: 15px !important;
    line-height: 1.15 !important;
  }

  /* Акции */
  .sale-card {
    position: relative !important;
    min-height: 360px !important;
    padding: 0 !important;
    border-radius: 24px !important;
    background-position: 62% center !important;
  }

  .sale-content {
    max-width: 100% !important;
    padding: 28px 22px !important;
  }

  .sale-content h2 {
    font-size: clamp(32px, 10vw, 44px) !important;
    line-height: 0.98 !important;
    letter-spacing: -1.2px !important;
  }

  .sale-timer {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .sale-timer div {
    width: 50px !important;
    height: 50px !important;
  }

  /* Бренды и футер */
  .brands-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    overflow: hidden !important;
  }

  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
    padding: 28px 22px 32px !important;
    border-radius: 22px 22px 0 0 !important;
  }

  .footer-subscribe {
    grid-column: auto !important;
  }
}

@media (max-width: 430px) {
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .hero-inner {
    min-height: 500px !important;
  }

  .hero-content {
    left: 18px !important;
    right: 18px !important;
    top: 34px !important;
  }

  .hero h1,
  .hero-content h1 {
    font-size: clamp(31px, 10vw, 42px) !important;
    letter-spacing: -1.1px !important;
  }

  .hero p,
  .hero-content p {
    max-width: 250px !important;
    font-size: 14px !important;
  }

  .primary-button {
    min-width: 190px !important;
    height: 52px !important;
  }

  .section-title {
    align-items: flex-start !important;
  }

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

  .category-card {
    min-height: 164px !important;
    border-radius: 16px !important;
  }

  .category-text,
  .category-card:nth-child(n) .category-text {
    max-width: 100px !important;
    padding: 14px 10px 0 !important;
  }

  .category-text h3 {
    font-size: 12px !important;
  }

  .category-text p {
    font-size: 9px !important;
  }

  .category-card .category-img,
  .category-card:nth-child(1) .category-img,
  .category-card:nth-child(2) .category-img,
  .category-card:nth-child(3) .category-img,
  .category-card:nth-child(4) .category-img,
  .category-card:nth-child(5) .category-img,
  .category-card:nth-child(6) .category-img {
    right: -14px !important;
    bottom: 6px !important;
    width: 118px !important;
    height: 102px !important;
  }
}

@media (max-width: 360px) {
  .categories-grid {
    grid-template-columns: 1fr !important;
  }

  .category-card {
    min-height: 180px !important;
  }

  .category-card .category-img,
  .category-card:nth-child(n) .category-img {
    right: 4px !important;
    bottom: 8px !important;
    width: 140px !important;
    height: 112px !important;
  }
}
.sale-banner {
  padding: 40px 0;
}

.sale-banner-link {
  display: block;
  text-decoration: none;
}

.sale-banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .sale-banner {
    padding: 24px 0;
  }

  .sale-banner-img {
    border-radius: 24px;
  }
}
/* ===== SALE BANNER IMAGE ===== */

.sale-banner {
  padding: 42px 0;
}

.sale-banner-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 36px;
  text-decoration: none;
  color: #ffffff;
  background: #000000;
}

.sale-banner-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 320px;
  object-fit: cover;
  border-radius: 36px;
}

.sale-banner-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.55) 42%,
    rgba(0, 0, 0, 0.12) 100%
  );
  z-index: 1;
}

.sale-banner-text {
  position: absolute;
  z-index: 2;
  left: 56px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 520px;
}

.sale-banner-label {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0ABAB5;
}

.sale-banner-text h2 {
  margin: 0;
  font-size: clamp(46px, 6vw, 92px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: #ffffff;
}

.sale-banner-text h2 span {
  color: #0ABAB5;
}

.sale-banner-subtitle {
  margin: 18px 0 28px;
  max-width: 430px;
  font-size: 18px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
}

.sale-banner-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: #0ABAB5;
  color: #000000;
  font-size: 15px;
  font-weight: 800;
  transition: 0.25s ease;
}

.sale-banner-link:hover .sale-banner-button {
  transform: translateX(4px);
  background: #ffffff;
  color: #000000;
}

/* ===== SALE BANNER MOBILE ===== */

@media (max-width: 768px) {
  .sale-banner {
    padding: 26px 0;
  }

  .sale-banner-link {
    border-radius: 26px;
  }

  .sale-banner-img {
    min-height: 420px;
    border-radius: 26px;
  }

  .sale-banner-link::after {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.86) 0%,
      rgba(0, 0, 0, 0.58) 52%,
      rgba(0, 0, 0, 0.18) 100%
    );
  }

  .sale-banner-text {
    left: 22px;
    right: 22px;
    top: 38px;
    transform: none;
    max-width: calc(100% - 44px);
  }

  .sale-banner-label {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .sale-banner-text h2 {
    font-size: clamp(42px, 14vw, 62px);
    line-height: 0.92;
  }

  .sale-banner-subtitle {
    margin: 16px 0 22px;
    font-size: 15px;
    max-width: 280px;
  }

  .sale-banner-button {
    height: 50px;
    padding: 0 20px;
    font-size: 14px;
  }
}
.sale-countdown {
  display: flex;
  gap: 12px;
  margin: 0 0 28px;
}

.sale-countdown-item {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(10, 186, 181, 0.35);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sale-countdown-item strong {
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  color: #ffffff;
}

.sale-countdown-item span {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.68);
}

/* ===== MIGSHIP EXPANDED NAV + CATEGORY PAGES ===== */
.migship-mega-nav {
  gap: 22px !important;
}

.migship-mega-nav .nav-link {
  font-size: 14px;
  font-weight: 800;
}

.mega-menu {
  min-width: 240px !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.migship-page-hero {
  padding: 34px 0 28px;
}

.migship-page-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 78% 36%, rgba(10, 186, 181, 0.22), transparent 26%),
    linear-gradient(135deg, #030303 0%, #080808 52%, #000000 100%);
  color: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.22);
}

.migship-page-card::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 430px;
  height: 430px;
  border: 14px solid transparent;
  border-radius: 50%;
  background: linear-gradient(#050505,#050505) padding-box, linear-gradient(135deg,#fff,#5a5a5a,#fff,#0ABAB5,#111) border-box;
  opacity: .45;
}

.migship-page-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 56px 48px;
}

.migship-page-kicker {
  margin-bottom: 14px;
  color: #0ABAB5;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.migship-page-content h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .92;
  letter-spacing: -3px;
  font-weight: 900;
  text-transform: uppercase;
}

.migship-page-content h1 span { color: #0ABAB5; }
.migship-page-content p {
  max-width: 560px;
  margin: 0 0 28px;
  color: rgba(255,255,255,.74);
  font-size: 17px;
  line-height: 1.4;
}

.migship-tiles-section { padding: 0 0 34px; }
.migship-tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.migship-tile {
  min-height: 158px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: radial-gradient(circle at 85% 85%, rgba(10,186,181,.16), transparent 34%), #fff;
  box-shadow: 0 14px 38px rgba(0,0,0,.04);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.migship-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(10,186,181,.42);
  box-shadow: 0 18px 46px rgba(0,0,0,.08);
}

.migship-tile small {
  display: block;
  margin-bottom: 12px;
  color: #0ABAB5;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.migship-tile h3 {
  margin: 0 0 8px;
  color: #030303;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}

.migship-tile p {
  color: #666;
  font-size: 13px;
  line-height: 1.35;
}

.migship-info-section { padding: 0 0 34px; }
.migship-info-card {
  padding: 32px;
  border-radius: 26px;
  background: #030303;
  color: #fff;
}
.migship-info-card h2 { margin: 0 0 12px; font-size: 32px; font-weight: 900; }
.migship-info-card p { max-width: 780px; color: rgba(255,255,255,.72); line-height: 1.5; }

.product-page-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  padding: 34px 0;
}
.product-page-visual {
  min-height: 460px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: radial-gradient(circle at 72% 68%, rgba(10,186,181,.20), transparent 36%), linear-gradient(145deg,#fff,#eee);
  border: 1px solid var(--line);
}
.product-page-visual img { max-width: 78%; max-height: 380px; object-fit: contain; filter: drop-shadow(0 24px 34px rgba(0,0,0,.18)); }
.product-page-info { padding: 10px 0; }
.product-page-meta { color: #0ABAB5; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.product-page-info h1 { margin: 14px 0; color:#030303; font-size: clamp(34px, 5vw, 58px); line-height: .96; font-weight: 900; letter-spacing: -2px; }
.product-page-price { margin: 20px 0; font-size: 32px; font-weight: 900; color:#030303; }
.product-page-description-dropdown {
  max-width: 560px;
  margin: 18px 0 0;
  overflow: hidden;
  border: 1px solid rgba(3, 3, 3, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 34px rgba(10, 186, 181, 0.08);
}
.product-page-description-dropdown summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 0 18px;
  color: #030303;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
.product-page-description-dropdown summary::-webkit-details-marker { display: none; }
.product-page-description-dropdown summary i {
  width: 10px;
  height: 10px;
  border-right: 2px solid #0ABAB5;
  border-bottom: 2px solid #0ABAB5;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}
.product-page-description-dropdown[open] summary i {
  transform: rotate(225deg);
}
.product-page-description-panel {
  padding: 0 18px 18px;
}
.product-page-specs-dropdown {
  max-width: 620px;
}
.product-page-specs-panel {
  padding-top: 0;
}
.product-page-specs-dropdown .product-page-specs {
  margin: 0;
  max-width: none;
}
.product-page-specs-dropdown .spec-row:first-child {
  padding-top: 0;
}
.product-page-description {
  margin: 0;
  color:#666;
  font-size: 16px;
  line-height: 1.5;
}
.product-page-actions { display:flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.product-page-variants {
  max-width: 620px;
  margin: 18px 0 8px;
}

.product-page-variants-title {
  margin-bottom: 10px;
  color: #666;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-page-variants-title span {
  color: #030303;
  text-transform: none;
  letter-spacing: 0;
}

.product-page-variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-page-variant {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(3, 3, 3, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: #030303;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0,0,0,0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.product-page-variant img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
  background: #f5f5f7;
}

.product-page-variant small {
  color: #9f3030;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-page-variant:hover,
.product-page-variant:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(10, 186, 181, 0.42);
  box-shadow: 0 16px 34px rgba(10, 186, 181, 0.14);
  outline: none;
}

.product-page-variant.active {
  border-color: #0ABAB5;
  background: rgba(10, 186, 181, 0.12);
  box-shadow: 0 16px 34px rgba(10, 186, 181, 0.18);
}

.product-page-variant.is-out {
  opacity: 0.62;
}

.product-stock-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin: 2px 0 12px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.product-stock-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.product-stock-status.in-stock {
  color: #087f7b;
  background: rgba(10, 186, 181, 0.12);
}

.product-stock-status.out-of-stock {
  color: #9f3030;
  background: rgba(159, 48, 48, 0.1);
}

.product-page-stock-status {
  margin-top: -8px;
  margin-bottom: 16px;
}

.is-out-of-stock .catalog-product-visual,
.is-out-of-stock .product-image,
.is-out-of-stock .showcase-visual {
  opacity: 0.62;
}

.catalog-cart-btn:disabled,
.showcase-cart:disabled,
.product-bottom button:disabled,
[data-add-cart]:disabled {
  cursor: not-allowed !important;
  color: #777 !important;
  background: #eeeeee !important;
  box-shadow: none !important;
  transform: none !important;
}

@media (max-width: 1180px) {
  .migship-mega-nav { gap: 14px !important; }
  .migship-mega-nav .nav-link { font-size: 13px; }
}

@media (max-width: 980px) {
  .migship-tiles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-page-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .migship-page-card { min-height: 420px; border-radius: 24px; }
  .migship-page-content { padding: 38px 24px; }
  .migship-page-content h1 { font-size: 44px; letter-spacing: -1.8px; }
  .migship-tiles-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   FINAL DESKTOP DROPDOWN HEADER FIX — MIGSHIP
   Выпадающие меню скрыты по умолчанию и открываются только при наведении.
   ========================================================= */
@media (min-width: 769px) {
  .site-header {
    overflow: visible !important;
  }

  .header-inner {
    overflow: visible !important;
  }

  .main-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 26px !important;
    overflow: visible !important;
  }

  .nav-dropdown {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    min-height: 78px !important;
  }

  .nav-link,
  .nav-trigger {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    white-space: nowrap !important;
    line-height: 1 !important;
  }

  .nav-trigger::after {
    content: "⌄" !important;
    display: inline-block !important;
    color: #0ABAB5 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    transform: translateY(-1px) !important;
    transition: transform 0.2s ease !important;
  }

  .dropdown-menu {
    position: absolute !important;
    top: calc(100% - 8px) !important;
    left: 50% !important;
    z-index: 9999 !important;
    min-width: 210px !important;
    max-width: 320px !important;
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    border-radius: 18px !important;
    background: rgba(10, 10, 10, 0.96) !important;
    border: 1px solid rgba(10, 186, 181, 0.45) !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(10px) !important;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease !important;
  }

  .dropdown-menu::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: -14px !important;
    height: 14px !important;
  }

  .dropdown-menu a {
    display: block !important;
    width: 100% !important;
    padding: 11px 13px !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
  }

  .dropdown-menu a:hover {
    background: rgba(10, 186, 181, 0.18) !important;
    color: #0ABAB5 !important;
    -webkit-text-fill-color: #0ABAB5 !important;
    transform: translateX(3px) !important;
  }

  .nav-dropdown:hover > .dropdown-menu,
  .nav-dropdown:focus-within > .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
  }

  .nav-dropdown:hover > .nav-trigger::after,
  .nav-dropdown:focus-within > .nav-trigger::after {
    transform: translateY(-1px) rotate(180deg) !important;
  }

  .mega-menu {
    min-width: 390px !important;
    max-width: 460px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px !important;
  }
}
/* SALE BANNER WEBP BACKGROUND FIX */

.sale-card {
  min-height: 300px;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.70) 0%,
      rgba(0, 0, 0, 0.42) 34%,
      rgba(0, 0, 0, 0.10) 58%,
      rgba(0, 0, 0, 0.00) 100%
    ),
    url("/assets/sale-banner.webp") center center / cover no-repeat !important;
  border-radius: 26px;
  overflow: hidden;
}
/* IMMERSIVE EFFECTS */

/* плавное появление блоков */
.reveal {
  opacity: 0;
  transform: translateY(44px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

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

/* живой hero */
.hero-inner {
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
}

/* глубина текста */
.hero-content {
  transform: translateZ(40px);
}

/* мягкий glow */
.primary-button,
.sale-button {
  position: relative;
  overflow: hidden;
}

.primary-button::before,
.sale-button::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -40%;
  width: 60%;
  height: 220%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: rotate(18deg);
  transition: left 0.65s ease;
}

.primary-button:hover::before,
.sale-button:hover::before {
  left: 120%;
}

/* карточки категорий — 3D hover */
.category-card {
  transform-style: preserve-3d;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(10, 186, 181, 0.45);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.12),
    0 0 38px rgba(10, 186, 181, 0.18);
}

.category-card .category-img {
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.category-card:hover .category-img {
  transform: translateY(-6px) scale(1.04);
  filter:
    drop-shadow(0 22px 28px rgba(0, 0, 0, 0.18))
    saturate(1.05)
    contrast(1.04);
}

/* хромированный блик на карточках */
.category-card::before,
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      120deg,
      transparent 0%,
      transparent 35%,
      rgba(255, 255, 255, 0.55) 47%,
      rgba(10, 186, 181, 0.12) 52%,
      transparent 64%,
      transparent 100%
    );
  transform: translateX(-120%);
  transition: transform 0.75s ease;
  z-index: 5;
  pointer-events: none;
}

.category-card:hover::before,
.product-card:hover::before {
  transform: translateX(120%);
}

/* товары — мягкое всплытие */
.product-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.12),
    0 0 32px rgba(10, 186, 181, 0.14);
}

/* фон страницы — чуть глубже */
body {
  background:
    radial-gradient(circle at 50% 0%, rgba(10, 186, 181, 0.08), transparent 26%),
    #ffffff;
}

/* отключаем тяжелые эффекты на мобильных */
@media (max-width: 768px) {
  .hero-inner {
    transform: none !important;
  }

  .category-card:hover,
  .product-card:hover {
    transform: none;
  }

  .category-card:hover .category-img {
    transform: none;
  }
}
/* УМНЫЕ ГАДЖЕТЫ */

.category-card:nth-child(6) .category-img {
  right: -6px;
  bottom: 8px;
  width: 186px;
  height: 144px;
  object-fit: contain;
  max-width: none;
  z-index: 2;
}

.category-card:nth-child(6) .category-text {
  position: relative;
  z-index: 6;
  max-width: 145px;
}
/* HERO: ЧТОБЫ КАРТИНКА ВЛЕЗАЛА В БЛОК */

.hero-inner {
  min-height: 520px;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62% !important;
}
/* HERO: ВОЗВРАЩАЕМ И ДВИГАЕМ КАРТИНКУ В ПРАВИЛЬНУЮ СТОРОНУ */

.hero-inner {
  min-height: 430px;
}

.hero-slide img {
  object-fit: cover;
  object-position: center 28% !important;
}
/* SALE BANNER: СДВИГАЕМ ФОН, ЧТОБЫ % ВЛЕЗАЛ */

.sale-card {
  background-position: center center, 42% center !important;
}
.sale-card {
  background-size: auto, 96% auto !important;
  background-position: center center, center center !important;
  background-repeat: no-repeat !important;
  background-color: #050505;
}
/* SALE BANNER: ВОЗВРАЩАЕМ НОРМАЛЬНЫЙ ВИД */

.sale-card {
  min-height: 300px;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.58) 34%,
      rgba(0, 0, 0, 0.20) 58%,
      rgba(0, 0, 0, 0.00) 100%
    ),
    url("/assets/sale-banner.webp") center center / cover no-repeat !important;

  background-position: center center, center center !important;
  background-size: cover, cover !important;
  background-repeat: no-repeat, no-repeat !important;

  border-radius: 26px;
  overflow: hidden;
}
/* SALE BANNER: ВЕРНУТЬ ИСХОДНЫЙ ВИД */

.sale-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 26px;
  --sale-banner-image: url("/assets/sale-banner.webp");
  --sale-banner-x: 50%;
  --sale-banner-y: 50%;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.70) 0%,
      rgba(0, 0, 0, 0.42) 34%,
      rgba(0, 0, 0, 0.10) 58%,
      rgba(0, 0, 0, 0.00) 100%
    ),
    var(--sale-banner-image) var(--sale-banner-x) var(--sale-banner-y) / cover no-repeat !important;

  background-position: center center, var(--sale-banner-x) var(--sale-banner-y) !important;
  background-size: cover, cover !important;
  background-repeat: no-repeat, no-repeat !important;
}

.sale-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 46px 0 42px 64px;
}

.sale-visual,
.sale-percent,
.robot-head,
.sale-line {
  display: none !important;
}
/* SALE BANNER: КАРТИНКУ НИЖЕ */

.sale-card {
  background-position: center center, var(--sale-banner-x, 50%) var(--sale-banner-y, 50%) !important;
}

.sale-button #saleButtonText {
  font-size: 13px;
}

.sale-button > span:last-child {
  font-size: 20px;
}
/* УБИРАЕМ ХРОМИРОВАННЫЙ БЛИК С КАРТОЧЕК */

.category-card::before,
.product-card::before {
  display: none !important;
  content: none !important;
}
/* HEADER: ДЕЛАЕМ ШАПКУ КРУПНЕЕ НА ВСЕХ СТРАНИЦАХ */

.site-header {
  border-radius: 0 0 28px 28px;
}

.header-inner {
  height: 112px;
  gap: 48px;
}

.logo {
  width: 86px;
  height: 86px;
}

.logo-image img {
  width: 82px;
  height: 82px;
}

.main-nav {
  gap: 42px;
}

.main-nav a {
  font-size: 18px;
  font-weight: 800;
}

.header-actions {
  gap: 26px;
}

.icon-button {
  width: 38px;
  height: 38px;
  font-size: 31px;
}

.cart-button {
  width: 42px;
  height: 42px;
  font-size: 26px;
}

.cart-button small {
  top: -6px;
  right: -8px;
  min-width: 22px;
  height: 22px;
  font-size: 12px;
}
/* УБИРАЕМ БЕЛУЮ ПОЛОСУ ПОД ФУТЕРОМ */

.site-footer {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  background: #030303 !important;
}

.footer-inner {
  border-radius: 24px 24px 0 0;
  margin-bottom: 0 !important;
}

body {
  margin-bottom: 0;
}
/* HEADER: УВЕЛИЧИТЬ НАДПИСИ МЕНЮ */

.main-nav a {
  font-size: 21px !important;
  font-weight: 900 !important;
  letter-spacing: -0.2px;
}

.main-nav {
  gap: 46px;
}
/* PRODUCTS: ВОЗВРАЩАЕМ НОВИНКИ В РЯД */

.products-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 18px !important;
  align-items: stretch;
}

.product-card {
  min-height: 134px !important;
  display: grid !important;
  grid-template-columns: 84px 1fr !important;
  gap: 16px !important;
  align-items: center !important;
  padding: 16px !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  background: var(--white) !important;
}

.product-image {
  width: 84px !important;
  height: 92px !important;
}

.product-info h3 {
  min-height: 34px;
}

.product-bottom {
  margin-top: 14px;
}
/* НОВИНКИ: ЖЕСТКО ВОЗВРАЩАЕМ 5 КАРТОЧЕК В РЯД */

#productsGrid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
}

#productsGrid .product-card {
  width: auto !important;
  min-width: 0 !important;
  min-height: 134px !important;

  display: grid !important;
  grid-template-columns: 84px 1fr !important;
  gap: 16px !important;
  align-items: center !important;

  padding: 16px !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.04) !important;
}

#productsGrid.news-track .product-card.is-out-of-stock,
#productsGrid.news-track .product-card[data-available="false"] {
  display: none !important;
}

#productsGrid .product-image {
  width: 84px !important;
  height: 92px !important;
  flex: none !important;
}

#productsGrid .product-image img {
  width: 86% !important;
  height: 86% !important;
  object-fit: contain !important;
}

#productsGrid .product-info {
  min-width: 0 !important;
}

#productsGrid .product-info p {
  margin-bottom: 4px !important;
  font-size: 11px !important;
  color: #8a8a8a !important;
}

#productsGrid .product-info h3 {
  min-height: 34px !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
}

#productsGrid .product-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-top: 14px !important;
}

#productsGrid .product-bottom strong {
  font-size: 13px !important;
}

#productsGrid .product-bottom button {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
}

/* Адаптив */

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

@media (max-width: 620px) {
  #productsGrid {
    grid-template-columns: 1fr !important;
  }
}
/* CATALOG PRODUCT IMAGE PREVIEW */

.product-preview-gallery {
  position: relative;
}

.product-preview-gallery .preview-img {
  position: absolute;
  inset: 0;
  width: 78%;
  height: 78%;
  margin: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.98);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  pointer-events: none;
}

.product-preview-gallery .preview-img.active {
  opacity: 1;
  transform: scale(1);
}

.preview-zones {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
}

.preview-zone {
  flex: 1;
  cursor: pointer;
}

.preview-dots {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  z-index: 6;
  display: flex;
  gap: 5px;
}

.preview-dot {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(3, 3, 3, 0.16);
  transition: background 0.18s ease;
}

.preview-dot.active {
  background: #0ABAB5;
}


/* =========================================================
   HEADER: PREMIUM 3D BLACK GLASS — FINAL
   Мягкое черное стекло без белой полосы сверху.
   ========================================================= */

.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  overflow: visible !important;

  background:
    radial-gradient(circle at 92% 48%, rgba(255, 255, 255, 0.07) 0%, transparent 24%),
    linear-gradient(
      180deg,
      #090909 0%,
      #030303 46%,
      #000000 100%
    ) !important;

  border-radius: 0 0 34px 34px !important;
  border: 1px solid rgba(255, 255, 255, 0.055) !important;
  border-top: 0 !important;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    inset -20px 0 42px rgba(255, 255, 255, 0.035),
    0 18px 44px rgba(0, 0, 0, 0.34) !important;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* блик снизу убран (был Tiffany) */
.site-header::before {
  display: none !important;
}

/* мягкие боковые хромовые отблески по краям */
.site-header::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 0 0 34px 34px !important;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.02) 8%,
      transparent 22%,
      transparent 78%,
      rgba(255, 255, 255, 0.045) 92%,
      rgba(255, 255, 255, 0.075) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035) 0%,
      transparent 28%,
      rgba(0, 0, 0, 0.18) 100%
    ) !important;
  opacity: 0.72 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.header-inner {
  position: relative !important;
  z-index: 2 !important;
}

.logo-image img,
.logo img {
  filter:
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45)) !important;
}

.main-nav a,
.nav-link,
.nav-trigger {
  text-shadow: none !important;
}

/* легкий объем иконок, без лишней засветки */
.icon-button,
.cart-button {
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45));
}

/* HERO ШИРЕ, НО НЕ ДО КРАЯ (со скруглением и отступами) */
.hero .container {
  width: min(1560px, calc(100% - 64px));
  max-width: none;
}


/* =====================================================================
   МАГАЗИН: кабинет, корзина, витрины, акции, тосты (shop.js / showcase.js)
   ===================================================================== */

/* --- тосты --- */
.shop-toasts {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.shop-toast {
  padding: 12px 18px;
  border-radius: 12px;
  background: #050505;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(49, 216, 220, 0.4) inset;
  transform: translateX(30px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.shop-toast.show { transform: translateX(0); opacity: 1; }

/* --- общие --- */
.empty-state {
  padding: 40px 24px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}
.empty-state a { color: var(--tiffany-dark); font-weight: 700; }

.ghost-button {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.ghost-button:hover { border-color: var(--tiffany); color: var(--tiffany-dark); }

/* --- секции страниц --- */
.account-section,
.cart-section,
.showcase-section,
.offers-section { padding: 36px 0; }

/* =================== АВТОРИЗАЦИЯ =================== */
.auth-wrap { display: grid; place-items: center; padding: 30px 0; }
.auth-card {
  width: min(440px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 24px;
  padding: 5px;
  border-radius: 12px;
  background: var(--light);
}
.auth-tab {
  height: 40px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.auth-tab.active { background: var(--black); color: #fff; }
.auth-form h2 { font-size: 24px; font-weight: 900; letter-spacing: -0.5px; }
.auth-hint { margin: 6px 0 20px; color: var(--muted); font-size: 14px; }
.auth-form label {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.auth-form input,
.checkout-form input {
  width: 100%;
  height: 48px;
  margin-top: 7px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  font-size: 14px;
  background: var(--light);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.auth-form input:focus,
.checkout-form input:focus { border-color: var(--tiffany); background: #fff; }
.auth-error { min-height: 18px; margin-bottom: 8px; color: #e03b3b; font-size: 13px; font-weight: 600; }
.auth-submit { width: 100%; justify-content: center; margin-top: 6px; }

/* =================== ЛИЧНЫЙ КАБИНЕТ =================== */
.cabinet-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.cabinet-kicker { color: var(--tiffany-dark); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.cabinet-head h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -1px; }

.cabinet-grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.cabinet-nav { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 100px; }
.cab-tab {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.cab-tab:hover { border-color: var(--tiffany); }
.cab-tab.active { background: var(--black); color: #fff; border-color: var(--black); }

.cabinet-body { min-height: 300px; }
.cab-panel h2 { margin-bottom: 20px; font-size: 24px; font-weight: 900; letter-spacing: -0.5px; }

.profile-fields {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 22px;
}
.profile-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.profile-row:last-child { border-bottom: none; }
.profile-row span { color: var(--muted); font-size: 14px; }
.profile-row strong { font-size: 14px; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat-card {
  padding: 20px;
  border-radius: 16px;
  background: var(--light);
  text-align: center;
}
.stat-card b { display: block; font-size: 24px; font-weight: 900; color: var(--black); }
.stat-card span { color: var(--muted); font-size: 13px; }

/* --- заказы --- */
.order-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 18px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.order-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.order-top strong { font-size: 16px; }
.order-top p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.order-status {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(49, 216, 220, 0.14);
  color: var(--tiffany-dark);
  font-size: 12px;
  font-weight: 800;
}
.order-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.track-step {
  position: relative;
  padding-top: 18px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.track-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--line);
}
.track-step::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--line);
  z-index: -1;
}
.track-step:last-child::before { display: none; }
.track-step.done { color: var(--text); font-weight: 700; }
.track-step.done .track-dot { background: var(--tiffany); box-shadow: 0 0 0 4px rgba(49, 216, 220, 0.2); }
.track-step.current .track-dot { background: var(--tiffany-dark); }

.order-items { display: flex; flex-direction: column; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); }
.order-item { display: flex; align-items: center; gap: 12px; }
.order-item img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: var(--light); }
.order-item span { flex: 1; font-size: 14px; }
.order-item b { font-size: 13px; color: var(--muted); }
.order-foot { display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.order-foot strong { font-size: 18px; font-weight: 900; }

/* --- избранное --- */
.fav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.fav-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}
.fav-thumb { display: grid; place-items: center; height: 140px; background: var(--light); }
.fav-thumb img { max-height: 110px; object-fit: contain; }
.fav-info { padding: 14px 16px 6px; }
.fav-info h3 { font-size: 14px; font-weight: 800; line-height: 1.2; min-height: 34px; }
.fav-info strong { display: block; margin-top: 8px; font-size: 16px; font-weight: 900; }
.fav-actions { display: flex; gap: 8px; padding: 12px 16px 16px; }
.fav-actions button {
  flex: 1;
  height: 38px;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.fav-actions [data-add-cart] { background: var(--tiffany); color: var(--black); }
.fav-remove { background: var(--light); color: var(--muted); }
.fav-remove:hover { color: #e03b3b; }

/* =================== КОРЗИНА =================== */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.cart-thumb { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 12px; background: var(--light); }
.cart-thumb img { max-width: 64px; max-height: 64px; object-fit: contain; }
.cart-item-info h3 { font-size: 15px; font-weight: 800; }
.cart-item-info strong { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 600; }
.qty-control { display: flex; align-items: center; gap: 10px; }
.qty-control button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  font-size: 18px;
  cursor: pointer;
}
.qty-control button:hover { border-color: var(--tiffany); }
.qty-control span { min-width: 20px; text-align: center; font-weight: 700; }
.cart-item-sum { font-weight: 900; font-size: 15px; white-space: nowrap; }
.cart-remove {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--light);
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
}
.cart-remove:hover { background: #ffecec; color: #e03b3b; }

.cart-summary {
  position: sticky;
  top: 100px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.cart-summary h3 { margin-bottom: 18px; font-size: 18px; font-weight: 900; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.summary-row strong { color: var(--text); }
.summary-row.total {
  margin: 14px 0 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--text);
}
.summary-row.total strong { font-size: 22px; font-weight: 900; }
.checkout-form label { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 700; }
.checkout-form .primary-button { width: 100%; justify-content: center; margin-top: 8px; }
.cart-note { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.4; }

.order-done {
  max-width: 520px;
  margin: 20px auto;
  padding: 40px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.order-done-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tiffany);
  color: var(--black);
  font-size: 30px;
  font-weight: 900;
}
.order-done h2 { font-size: 26px; font-weight: 900; margin-bottom: 10px; }
.order-done p { color: var(--muted); margin-bottom: 6px; }
.order-done-actions { display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }

/* =================== ВИТРИНА КАТЕГОРИИ =================== */
.showcase-count { color: var(--muted); font-size: 14px; font-weight: 600; }
.showcase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.showcase-card:hover {
  transform: translateY(-5px);
  border-color: rgba(49, 216, 220, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
}
.showcase-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.showcase-badge.sale { background: var(--tiffany); color: var(--black); }
.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.fav-btn:hover { transform: scale(1.1); border-color: var(--tiffany); }
.fav-btn.active { color: #e03b6b; border-color: #e03b6b; }
.showcase-visual { display: grid; place-items: center; height: 200px; background: var(--light); }
.showcase-visual img { max-width: 80%; max-height: 160px; object-fit: contain; transition: transform 0.25s ease; }
.showcase-card:hover .showcase-visual img { transform: scale(1.05); }
.showcase-info { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.showcase-meta { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; }
.showcase-info h3 { margin: 6px 0 14px; font-size: 15px; font-weight: 800; line-height: 1.25; }
.showcase-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.showcase-price { font-size: 17px; font-weight: 900; }
.showcase-cart {
  height: 40px;
  padding: 0 16px;
  border: none;
  border-radius: 11px;
  background: var(--tiffany);
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(49, 216, 220, 0.3);
  transition: transform 0.2s ease;
}
.showcase-cart:hover { transform: translateY(-2px); }

/* =================== АКЦИИ — СПЕЦПРЕДЛОЖЕНИЯ =================== */
.offers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.04);
}
.offer-card h3 { font-size: 19px; font-weight: 900; letter-spacing: -0.4px; margin-bottom: 8px; }
.offer-card p { flex: 1; color: var(--muted); font-size: 14px; line-height: 1.4; margin-bottom: 16px; }
.offer-card .sale-button { width: 100%; justify-content: space-between; }
.offer-badge {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--light);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}
.offer-percent {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--tiffany-dark);
  margin-bottom: 10px;
}
.offer-accent {
  background:
    radial-gradient(circle at 80% 10%, rgba(49, 216, 220, 0.18), transparent 50%),
    linear-gradient(150deg, #050505, #161616);
  border-color: rgba(49, 216, 220, 0.35);
}
.offer-accent h3 { color: #fff; }
.offer-accent p { color: rgba(255, 255, 255, 0.7); }
.offer-accent .offer-percent { color: var(--tiffany); }
.promo-code {
  margin-bottom: 16px;
  padding: 10px 14px;
  border: 1px dashed rgba(49, 216, 220, 0.5);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  cursor: pointer;
}
.promo-code b { color: var(--tiffany); letter-spacing: 0.06em; }
.sale-hint-note { margin-top: 16px; color: var(--muted); font-size: 13px; }
.sale-hint-note b { color: var(--tiffany-dark); }

/* =================== АДАПТИВ =================== */
@media (max-width: 1100px) {
  .showcase-grid { grid-template-columns: repeat(3, 1fr); }
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .cabinet-grid { grid-template-columns: 1fr; }
  .cabinet-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .cab-tab { width: auto; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 760px) {
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .offers-grid { grid-template-columns: 1fr; }
  .profile-stats { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 64px 1fr auto; grid-template-areas: "img info info" "img qty sum"; row-gap: 10px; }
  .cart-thumb { grid-area: img; }
  .cart-item-info { grid-area: info; }
  .qty-control { grid-area: qty; }
  .cart-item-sum { grid-area: sum; text-align: right; }
  .cart-remove { position: absolute; top: 10px; right: 10px; }
  .cart-item { position: relative; }
  .order-track { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* Масштабируемое изображение акционного баннера из ERP. */
.sale-card {
  isolation: isolate;
  background: #050505 !important;
  --sale-banner-scale: 1;
  --sale-banner-shift-x: 0%;
  --sale-banner-shift-y: 0%;
}

.sale-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--sale-banner-image) var(--sale-banner-x, 50%) var(--sale-banner-y, 50%) / cover no-repeat;
  transform: translate(var(--sale-banner-shift-x), var(--sale-banner-shift-y)) scale(var(--sale-banner-scale));
  transform-origin: center;
  pointer-events: none;
}

.sale-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.70) 0%, rgba(0,0,0,.42) 34%, rgba(0,0,0,.10) 58%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}

.sale-card .sale-content {
  position: relative;
  z-index: 2;
}

/* приоритет атрибута hidden над display у .auth-wrap/.cart-layout и пр. */
[hidden] { display: none !important; }

/* =================== СТАТЬИ НА ГЛАВНОЙ =================== */
.articles-section { padding: 0 0 40px; }
.articles-subtitle {
  margin: -10px 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
  max-width: 620px;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.article-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 0%, rgba(49, 216, 220, 0.10), transparent 42%),
    var(--white);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(49, 216, 220, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.09), 0 0 30px rgba(49, 216, 220, 0.12);
}
.article-tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(49, 216, 220, 0.14);
  color: var(--tiffany-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.article-card h3 {
  margin-bottom: 12px;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.4px;
  color: var(--black);
}
.article-card p {
  flex: 1;
  margin-bottom: 18px;
  color: #5a5a5a;
  font-size: 14px;
  line-height: 1.55;
}
.article-link {
  align-self: flex-start;
  color: var(--tiffany-dark);
  font-size: 14px;
  font-weight: 700;
  transition: gap 0.2s ease, color 0.2s ease;
}
.article-link:hover { color: var(--black); }

@media (max-width: 1100px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .articles-grid { grid-template-columns: 1fr; }
}

/* рекомендации на странице товара */
.recommendations-section { padding: 10px 0 50px; }

/* =====================================================================
   ИММЕРСИВНЫЕ АКЦЕНТЫ (тёплый свет + бирюзовое свечение, лёгкая анимация)
   ===================================================================== */

/* лёгкая тиффани-подложка всего сайта + дрейфующее фоновое свечение */
html { background: #f5fdfd; }
body { background: transparent; }
body::before {
  content: "";
  position: fixed;
  inset: -12vmax;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38vmax 38vmax at 12% 8%, rgba(49, 216, 220, 0.16), transparent 60%),
    radial-gradient(34vmax 34vmax at 88% 68%, rgba(49, 216, 220, 0.11), transparent 60%),
    radial-gradient(30vmax 30vmax at 60% 100%, rgba(19, 191, 197, 0.10), transparent 62%);
  filter: blur(18px);
  animation: ambientDrift 26s ease-in-out infinite alternate;
}
@keyframes ambientDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(3vmax, -2.4vmax, 0) scale(1.08); }
}

/* серифный курсивный акцент в заголовках — как на референсах */
.hero h1 span,
.migship-page-content h1 span {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.5px;
}

/* живое бирюзовое свечение внутри hero */
.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(26vmax 26vmax at 76% 32%, rgba(49, 216, 220, 0.30), transparent 55%),
    radial-gradient(20vmax 20vmax at 58% 88%, rgba(49, 216, 220, 0.16), transparent 55%);
  mix-blend-mode: screen;
  animation: heroGlow 16s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0%   { transform: translate3d(0, 0, 0); opacity: 0.75; }
  100% { transform: translate3d(-3vmax, 2vmax, 0); opacity: 1; }
}

/* плавный «подъём» интерактивных элементов */
.primary-button,
.sale-button,
.showcase-cart,
.category-card,
.product-card,
.showcase-card,
.article-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}
.primary-button:hover,
.sale-button:hover,
.showcase-cart:hover { transform: translateY(-3px); }

/* уважаем настройку «меньше движения» */
@media (prefers-reduced-motion: reduce) {
  body::before,
  .hero-overlay::after { animation: none; }
  .reveal { transition-duration: 0.4s; filter: none; }
}

/* =====================================================================
   БЛОКИ В СТИЛЕ РЕФЕРЕНСА (тёмные карточки с бирюзовыми акцентами)
   ===================================================================== */

.features-section,
.stats-section,
.cta-section { padding: 0 0 28px; }

/* общий тёмный «контейнер-карточка» */
.features-card,
.stats-card,
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(49, 216, 220, 0.18), transparent 60%),
    linear-gradient(160deg, #0a0a0a 0%, #050505 60%, #000 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

/* ---------- FEATURES STRIP ---------- */
.features-card { padding: 40px 12px; }
.features-eyebrow {
  margin: 0 0 26px 34px;
  color: var(--tiffany);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.feature-col {
  padding: 0 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.feature-col:first-child { border-left: none; }
.feature-ic {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  color: var(--tiffany);
}
.feature-ic svg { width: 30px; height: 30px; }
.feature-col h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.feature-col p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- STATS STRIP ---------- */
.stats-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 32px 12px;
}
.stat-col {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-col:first-child { border-left: none; }
.stat-ic { color: var(--tiffany); flex: 0 0 auto; }
.stat-ic svg { width: 30px; height: 30px; }
.stat-col b {
  display: block;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}
.stat-col span { color: rgba(255, 255, 255, 0.62); font-size: 13px; line-height: 1.25; }
.stat-col > div, .stat-col { }

/* ---------- TESTIMONIAL + CTA ---------- */
.cta-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
}
.quote-mark {
  color: var(--tiffany);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 80px;
  line-height: 0.6;
  height: 44px;
}
.quote-text {
  margin: 14px 0 22px;
  max-width: 460px;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
}
.quote-author { color: rgba(255, 255, 255, 0.8); font-size: 15px; font-weight: 700; line-height: 1.5; }
.quote-author span { color: rgba(255, 255, 255, 0.5); font-weight: 400; font-size: 13px; }

.cta-box {
  padding: 34px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(49, 216, 220, 0.3);
  background: rgba(255, 255, 255, 0.03);
}
.cta-box h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}
.cta-box p { margin-bottom: 22px; color: rgba(255, 255, 255, 0.65); font-size: 15px; line-height: 1.5; }
.cta-box .primary-button { width: 100%; justify-content: space-between; }

/* ---------- АДАПТИВ ---------- */
@media (max-width: 980px) {
  .features-row { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .feature-col:nth-child(3) { border-left: none; }
  .stats-card { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat-col:nth-child(3) { border-left: none; }
  .cta-card { grid-template-columns: 1fr; gap: 30px; padding: 34px; }
}
@media (max-width: 620px) {
  .features-row,
  .stats-card { grid-template-columns: 1fr; }
  .feature-col,
  .stat-col { border-left: none; }
  .features-eyebrow { margin-left: 24px; }
}

/* =====================================================================
   GLASSMORPHISM ШАПКА — тёмное стекло с бирюзовым свечением
   ===================================================================== */
.site-header {
  background: rgba(10, 10, 10, 0.55) !important;
  -webkit-backdrop-filter: blur(24px) saturate(140%) !important;
  backdrop-filter: blur(24px) saturate(140%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-top: 0 !important;
  border-radius: 0 0 22px 22px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),     /* хромированный верхний блик */
    inset 0 -1px 0 rgba(49, 216, 220, 0.28),      /* бирюзовая кромка снизу */
    0 16px 40px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(49, 216, 220, 0.08) !important;
}
.site-header::before { display: none !important; }

/* лёгкое бирюзовое свечение снизу */
.site-header::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 8% !important;
  right: 8% !important;
  bottom: -1px !important;
  top: auto !important;
  inset: auto 8% -1px 8% !important;
  height: 1px !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  background: linear-gradient(90deg, transparent, rgba(49, 216, 220, 0.6), transparent) !important;
  box-shadow: 0 0 18px 2px rgba(49, 216, 220, 0.35) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* меню — белый/серебристый текст */
.main-nav,
.main-nav a,
.main-nav .nav-link,
.nav-dropdown > a,
.nav-trigger { color: #e9edf2 !important; }

/* hover и активные пункты — Tiffany */
.main-nav a:hover,
.main-nav .nav-link:hover,
.nav-dropdown:hover > a,
.nav-dropdown:hover .nav-link,
.main-nav .nav-sale,
.main-nav .nav-sale:hover { color: var(--tiffany) !important; }

/* иконки и бургер — серебристые */
.header-actions .icon-button,
.header-actions .cart-button,
.header-actions .account-button,
.header-actions .icon-button span,
.header-actions .cart-button span,
.header-actions .account-button span,
.burger { color: #e9edf2 !important; }

.header-actions .icon-button,
.header-actions .cart-button { filter: none !important; }

.burger span { background: #e9edf2 !important; }

/* логотип — лёгкое бирюзовое свечение */
.logo-image img,
.logo img {
  filter:
    drop-shadow(0 0 8px rgba(49, 216, 220, 0.55))
    drop-shadow(0 0 18px rgba(49, 216, 220, 0.25)) !important;
}

/* =====================================================================
   НОВИНКИ — тёмная карусель с подсветкой центральной карточки
   ===================================================================== */
.news-carousel {
  margin-top: 8px;
  padding: 58px 0 52px;
  background:
    radial-gradient(60% 70% at 50% -10%, rgba(49, 216, 220, 0.14), transparent 60%),
    #050505;
}
.news-head { text-align: center; margin-bottom: 26px; }
.news-head h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.05;
}
.news-head h2 span {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--tiffany);
  text-transform: none;
}
.news-head p {
  margin: 12px auto 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  line-height: 1.45;
}

/* трек прокрутки */
.news-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: none;
  scroll-behavior: auto;
  padding: 28px max(16px, calc((100% - 300px) / 2));
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  overscroll-behavior-x: contain;
}
.news-track::-webkit-scrollbar { display: none; }
.news-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}
.news-track.is-dragging .product-card { pointer-events: none; }

/* карточка-новинка в контексте карусели (перекрывает базовый .product-card) */
.news-track .product-card {
  flex: 0 0 300px;
  width: 300px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  scroll-snap-align: center;
  opacity: 0.4;
  transform: scale(0.9);
  transition: opacity 0.45s ease, transform 0.45s ease, background 0.45s ease, box-shadow 0.45s ease;
}
.news-track .product-card.is-center {
  opacity: 1;
  transform: scale(1);
  background: #fff;
  color: var(--text);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(49, 216, 220, 0.16);
}
.news-track .product-card:hover { transform: scale(0.93); }
.news-track .product-card.is-center:hover { transform: scale(1.01); }

/* изображение сверху */
.news-track .product-image {
  width: 100%;
  height: 200px;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #161616, #070707);
}
.news-track .product-card.is-center .product-image {
  background: linear-gradient(160deg, #ffffff, #eef2f2);
}
.news-track .product-image img { max-width: 76%; max-height: 168px; object-fit: contain; }

/* инфо */
.news-track .product-info { padding: 18px 20px 20px; }
.news-track .product-info p {
  margin-bottom: 6px;
  color: var(--tiffany);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.news-track .product-card.is-center .product-info p { color: var(--tiffany-dark); }
.news-track .product-info h3 {
  min-height: auto;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
}
.news-track .product-card.is-center .product-info h3 { color: var(--black); }
.news-track .product-bottom { margin-top: 14px; }
.news-track .product-bottom strong { color: #fff; font-size: 16px; }
.news-track .product-card.is-center .product-bottom strong { color: var(--black); }
.news-track .product-bottom button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--tiffany);
  color: #000;
  font-size: 15px;
  box-shadow: 0 10px 24px rgba(49, 216, 220, 0.35);
}

/* кнопки навигации */
.news-nav { display: flex; justify-content: center; gap: 16px; margin-top: 30px; }
.news-btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.news-btn:hover { transform: translateY(-2px); border-color: #fff; }
.news-accent {
  background: var(--tiffany);
  color: #000;
  border-color: var(--tiffany);
  box-shadow: 0 12px 30px rgba(49, 216, 220, 0.4);
}

@media (max-width: 620px) {
  .news-track { padding: 24px max(12px, calc((100% - 260px) / 2)); }
  .news-track .product-card { flex-basis: 260px; width: 260px; }
}

/* перекрываем старые #productsGrid-правила, когда включена карусель */
#productsGrid.news-track {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 22px !important;
  width: auto !important;
}
#productsGrid.news-track .product-card {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  flex: 0 0 300px !important;
  width: 300px !important;
  min-width: 0 !important;
  min-height: auto !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.045) !important;
  box-shadow: none !important;
}
#productsGrid.news-track .product-card.is-center {
  background: #ffffff !important;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(49, 216, 220, 0.16) !important;
}
#productsGrid.news-track .product-image {
  width: 100% !important;
  height: 200px !important;
  flex: none !important;
}
#productsGrid.news-track .product-image img {
  width: auto !important;
  height: auto !important;
  max-width: 76% !important;
  max-height: 168px !important;
}
@media (max-width: 620px) {
  #productsGrid.news-track .product-card { flex-basis: 260px !important; width: 260px !important; }
}

/* =====================================================================
   HERO — горизонтальное перелистывание (картинка быстрее, текст с задержкой)
   ===================================================================== */
.hero-slide {
  transition: opacity 0.5s ease !important;
  will-change: transform, opacity;
}
.hero-slide.active { z-index: 1; }
.hero-slide.slide-in {
  animation: heroImgIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-slide.slide-out {
  z-index: 0;
  animation: heroImgOut 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes heroImgIn {
  from { transform: translateX(var(--from, 9%)) scale(1.05); }
  to   { transform: translateX(0) scale(1); }
}
@keyframes heroImgOut {
  from { transform: translateX(0) scale(1); opacity: 1; }
  to   { transform: translateX(var(--to, -9%)) scale(1.03); opacity: 0; }
}

/* текст — летит с той же стороны, дальше и с задержкой (медленнее картинки) */
.hero-content.text-in {
  animation: heroTextIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.16s;
}
@keyframes heroTextIn {
  from { transform: translate3d(var(--from-text, 18%), 0, 40px); opacity: 0; }
  to   { transform: translate3d(0, 0, 40px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.slide-in,
  .hero-slide.slide-out,
  .hero-content.text-in { animation: none !important; }
}

/* =====================================================================
   HERO — нижняя часть плавно растворяется в странице
   ===================================================================== */
.hero-inner {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 84%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
/* поднимаем стрелки/точки, чтобы они не попадали в зону растворения */
.hero-controls { bottom: 78px !important; }

/* =====================================================================
   HERO — компактнее первого экрана, с сохранением захода под шапку
   ===================================================================== */
.hero {
  padding: 0 !important;
  margin-top: -78px !important;
  height: clamp(520px, 70dvh, 680px) !important;
}
.hero .container.hero-inner,
.hero .hero-inner {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  height: 100% !important;
  min-height: 100% !important;
}
.hero .hero-content {
  padding-top: 118px !important;
  padding-left: 60px !important;
}
@media (max-width: 720px) {
  .hero {
    margin-top: -64px !important;
    height: clamp(500px, 72dvh, 620px) !important;
  }

  .hero .hero-content {
    padding-top: 92px !important;
    padding-left: 28px !important;
  }
}

/* ГЛАВНЫЙ ПРОМО-БЛОК: БОЛЕЕ КОМПАКТНАЯ ВЫСОТА */
.promo-hero {
  padding: 14px 0 4px !important;
}

.promo-grid {
  gap: 12px !important;
}

.promo-main,
.promo-viewport {
  border-radius: 22px !important;
}

.promo-slide {
  min-height: 300px !important;
  padding: 32px 40px !important;
}

.promo-badge {
  margin-bottom: 13px !important;
  padding: 6px 13px !important;
  font-size: 11px !important;
}

.promo-h {
  margin-bottom: 10px !important;
  font-size: clamp(29px, 3vw, 42px) !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
}

.promo-p {
  margin-bottom: 18px !important;
  font-size: 14px !important;
}

.promo-cta {
  padding: 11px 21px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
}

.promo-arrow {
  width: 40px !important;
  height: 40px !important;
  font-size: 22px !important;
}

.promo-prev { left: 12px !important; }
.promo-next { right: 12px !important; }

.promo-dots {
  left: 40px !important;
  bottom: 14px !important;
  gap: 7px !important;
}

.promo-side {
  gap: 12px !important;
}

.promo-mini {
  min-height: 144px !important;
  padding: 20px 24px !important;
  border-radius: 22px !important;
}

.promo-mini h3 {
  margin-bottom: 6px !important;
  font-size: 22px !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
}

.promo-mini p {
  font-size: 12px !important;
}

.promo-mini-badge {
  margin-bottom: 8px !important;
  padding: 4px 10px !important;
  font-size: 10px !important;
}

@media (max-width: 900px) {
  .promo-slide { min-height: 286px !important; }
  .promo-mini { min-height: 126px !important; }
}

@media (max-width: 600px) {
  .promo-hero { padding-top: 10px !important; }
  .promo-slide {
    min-height: 260px !important;
    padding: 24px 20px !important;
  }
  .promo-h { font-size: 29px !important; }
  .promo-p { max-width: 230px; font-size: 13px !important; }
  .promo-dots { left: 20px !important; bottom: 12px !important; }
  .promo-mini {
    min-height: 104px !important;
    padding: 17px 20px !important;
  }
  .promo-mini h3 { font-size: 20px !important; }
}

/* =====================================================================
   HERO — тёмный фон секции чтобы под шапкой не просвечивал белый
   ===================================================================== */
.hero { background: #030303 !important; }
/* ХАРАКТЕРИСТИКИ ТОВАРА В КАТАЛОГЕ */

.catalog-product-brand {
  margin: 0 0 6px;
  color: #0ABAB5;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.catalog-product-sku {
  margin: -4px 0 10px;
  color: #8a8a8a;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}

.catalog-product-specs {
  display: grid;
  gap: 5px;
  margin: 0 0 12px;
}

.catalog-product-specs span {
  display: block;
  color: #555555;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
}

.catalog-product-specs span::before {
  content: "• ";
  color: #0ABAB5;
}
/* КАРТИНКА ТОВАРА НА ВСЮ ШИРИНУ КАРТОЧКИ */

.catalog-product-visual {
  height: 210px !important;
  padding: 0 !important;
  display: block !important;
}

.catalog-product-visual img,
.product-preview-gallery .preview-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 !important;
  filter: none !important;
}
/* PRODUCT PAGE: ФОТО НА ВСЮ ОБЛАСТЬ */

.product-page-visual {
  overflow: visible !important;
  padding: 0 !important;
  display: block !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.product-page-visual img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  filter: none !important;
}

/* PRODUCT PAGE GALLERY */

.product-page-visual .product-page-gallery {
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  height: 100%;
  min-height: 460px;
  padding: 0;
}

.product-page-gallery-main {
  position: relative;
  grid-column: 2;
  min-height: 368px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.product-page-visual .product-page-gallery-image {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.product-page-visual .product-page-gallery-image.active {
  opacity: 1;
}

.product-page-thumbs {
  display: grid;
  grid-column: 1;
  align-content: start;
  gap: 12px;
  max-height: 460px;
  overflow-y: auto;
  padding: 0;
  scrollbar-width: none;
}

.product-page-thumbs::-webkit-scrollbar {
  display: none;
}

.product-page-thumb {
  aspect-ratio: 1 / 1;
  width: 92px;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 16px;
  background: #f5f5f7;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.product-page-thumb.active {
  border-color: #0ABAB5;
  box-shadow: 0 14px 34px rgba(10,186,181,.22);
}

.product-page-thumb:hover,
.product-page-thumb:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.product-page-visual .product-page-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

@media (max-width: 620px) {
  .product-page-visual .product-page-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 380px;
  }

  .product-page-gallery-main {
    grid-column: 1;
    grid-row: 1;
    min-height: 300px;
  }

  .product-page-thumbs {
    grid-column: 1;
    grid-row: 2;
    grid-auto-flow: column;
    grid-auto-columns: 72px;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
  }

  .product-page-thumb {
    width: 72px;
  }
}

/* =====================================================================
   PARTNERS PAGE
   ===================================================================== */
.partners-page {
  background:
    radial-gradient(circle at 82% 8%, rgba(10, 186, 181, 0.18), transparent 34%),
    radial-gradient(circle at 14% 48%, rgba(255, 255, 255, 0.08), transparent 28%),
    #030303;
  color: #fff;
  overflow: hidden;
}

.partners-page .container {
  position: relative;
  z-index: 1;
}

.partners-hero {
  padding: 150px 0 86px;
}

.partners-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  gap: 48px;
  align-items: center;
}

.partners-kicker {
  margin: 0 0 18px;
  color: var(--tiffany);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.partners-hero-content h1,
.partners-section-head h2,
.partners-important h2,
.partners-form-intro h2,
.partners-contact-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.94;
  font-weight: 1000;
  letter-spacing: 0;
}

.partners-section-head h2,
.partners-important h2,
.partners-form-intro h2,
.partners-contact-card h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.partners-hero-content > p {
  max-width: 650px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
  line-height: 1.55;
}

.partners-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #69e5df, var(--tiffany));
  color: #031110;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(10, 186, 181, 0.28);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.partners-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgba(10, 186, 181, 0.36);
  filter: brightness(1.04);
}

.partners-hero-visual {
  min-height: 430px;
  display: grid;
  place-items: center;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03)),
    radial-gradient(circle at 52% 42%, rgba(10, 186, 181, 0.28), transparent 38%),
    rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 38px 100px rgba(0,0,0,0.5);
  backdrop-filter: blur(22px);
}

.partners-showcase-object {
  position: relative;
  width: min(330px, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.partners-showcase-object::before,
.partners-showcase-object::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
}

.partners-showcase-object::before {
  inset: 16%;
  background: conic-gradient(from 120deg, #fff, #737373, #0abab5, #f8ffff, #1d1d1d, #fff);
  opacity: 0.52;
  transform: rotate(-18deg) skewY(-6deg);
}

.partners-showcase-object::after {
  inset: 26%;
  background: #040404;
  box-shadow: 0 0 72px rgba(10, 186, 181, 0.45);
}

.partners-orbit {
  position: absolute;
  border: 1px solid rgba(204, 255, 252, 0.46);
  border-radius: 999px;
  box-shadow: 0 0 34px rgba(10, 186, 181, 0.22);
}

.partners-orbit-one {
  inset: 9% 16%;
  transform: rotate(28deg);
}

.partners-orbit-two {
  inset: 18% 8%;
  transform: rotate(-24deg);
}

.partners-glass-box {
  position: relative;
  z-index: 2;
  width: 178px;
  height: 178px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,0.36), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 28px 80px rgba(0,0,0,0.42);
  backdrop-filter: blur(18px);
  transform: rotate(-8deg);
}

.partners-glass-box span {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0abab5, #f4ffff);
  box-shadow: 0 0 32px rgba(10,186,181,0.54);
}

.partners-glass-box strong {
  color: #fff;
  font-size: 20px;
  letter-spacing: 0.06em;
}

.partners-glass-box small {
  color: rgba(255,255,255,0.62);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.partners-section {
  padding: 70px 0;
}

.partners-section-muted {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0));
}

.partners-section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

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

.partners-card-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.partners-card {
  min-height: 220px;
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,0.105), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 24px 70px rgba(0,0,0,0.22);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.partners-card:hover {
  transform: translateY(-5px);
  border-color: rgba(10, 186, 181, 0.42);
  background: linear-gradient(145deg, rgba(10,186,181,0.16), rgba(255,255,255,0.045));
}

.partners-card span,
.partners-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: rgba(10, 186, 181, 0.13);
  color: var(--tiffany);
  font-weight: 950;
}

.partners-card h3,
.partners-steps h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 22px;
  line-height: 1.05;
}

.partners-card p,
.partners-steps p,
.partners-important p,
.partners-tags-note,
.partners-form-intro p,
.partners-contact-card p {
  margin: 0;
  color: rgba(255,255,255,0.66);
  font-size: 16px;
  line-height: 1.55;
}

.partners-card-wide {
  grid-column: span 2;
}

.partners-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.045);
}

.partners-steps article {
  min-height: 260px;
  padding: 30px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.partners-steps article:last-child {
  border-right: 0;
}

.partners-tags-section {
  text-align: center;
}

.partners-tags-section .partners-section-head {
  margin-inline: auto;
}

.partners-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.partners-tags span {
  padding: 13px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 850;
}

.partners-tags span:nth-child(3n) {
  background: rgba(10, 186, 181, 0.14);
  border-color: rgba(10, 186, 181, 0.28);
}

.partners-tags-note {
  max-width: 760px;
  margin: 0 auto;
}

.partners-important {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 42px;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,0.095), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.11);
}

.partners-important h2 {
  margin-bottom: 18px;
}

.partners-checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partners-checklist li {
  position: relative;
  padding: 16px 18px 16px 46px;
  border-radius: 18px;
  background: rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.78);
  font-weight: 750;
}

.partners-checklist li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 19px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tiffany);
  box-shadow: 0 0 18px rgba(10,186,181,0.7);
}

.partners-form-section {
  padding-bottom: 90px;
}

.partners-form-shell {
  display: grid;
  grid-template-columns: 0.52fr 1fr;
  gap: 30px;
  align-items: start;
  padding: 36px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 14%, rgba(10,186,181,0.16), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 100px rgba(0,0,0,0.34);
}

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

.partners-form label,
.partners-form fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 850;
}

.partners-form input,
.partners-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.32);
  color: #fff;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.partners-form textarea {
  resize: vertical;
}

.partners-form input:focus,
.partners-form textarea:focus {
  border-color: rgba(10,186,181,0.72);
  box-shadow: 0 0 0 4px rgba(10,186,181,0.13);
}

.partners-form-wide,
.partners-form fieldset {
  grid-column: 1 / -1;
}

.partners-form fieldset {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
}

.partners-form legend {
  padding: 0 8px;
  color: rgba(255,255,255,0.72);
}

.partners-form fieldset label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.055);
}

.partners-form fieldset input {
  width: 18px;
  min-height: auto;
  accent-color: var(--tiffany);
}

.partners-form-submit {
  width: fit-content;
}

.partners-form-message {
  align-self: center;
  margin: 0;
  color: var(--tiffany);
  font-weight: 900;
}

.partners-contact-section {
  padding: 0 0 90px;
}

.partners-contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 36px;
  border-radius: 34px;
  background: #f4fbfb;
  color: #050505;
}

.partners-contact-card h2 {
  color: #050505;
}

.partners-contact-card p {
  max-width: 640px;
  margin-top: 16px;
  color: rgba(0,0,0,0.62);
}

.partners-contact-list {
  display: grid;
  gap: 12px;
  min-width: 280px;
}

.partners-contact-list a:not(.partners-button) {
  color: #050505;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .partners-card-grid-four,
  .partners-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners-steps article:nth-child(2) {
    border-right: 0;
  }

  .partners-steps article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}

@media (max-width: 900px) {
  .partners-hero {
    padding: 128px 0 58px;
  }

  .partners-hero-inner,
  .partners-important,
  .partners-form-shell,
  .partners-contact-card {
    grid-template-columns: 1fr;
  }

  .partners-card-grid {
    grid-template-columns: 1fr;
  }

  .partners-card-wide {
    grid-column: auto;
  }

  .partners-contact-list {
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .partners-hero {
    padding-top: 112px;
  }

  .partners-hero-content h1 {
    font-size: 42px;
  }

  .partners-hero-content > p {
    font-size: 16px;
  }

  .partners-hero-visual {
    min-height: 300px;
    border-radius: 26px;
  }

  .partners-section {
    padding: 48px 0;
  }

  .partners-card,
  .partners-important,
  .partners-form-shell,
  .partners-contact-card {
    padding: 22px;
    border-radius: 24px;
  }

  .partners-card-grid-four,
  .partners-steps,
  .partners-form,
  .partners-form fieldset {
    grid-template-columns: 1fr;
  }

  .partners-steps article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .partners-steps article:last-child {
    border-bottom: 0;
  }

  .partners-button,
  .partners-form-submit {
    width: 100%;
  }
}

/* =====================================================================
   DELIVERY PAGE
   ===================================================================== */
.delivery-page {
  background:
    radial-gradient(circle at 86% 8%, rgba(10, 186, 181, 0.16), transparent 32%),
    radial-gradient(circle at 14% 42%, rgba(255, 255, 255, 0.08), transparent 28%),
    #030303;
  color: #fff;
  overflow: hidden;
}

.delivery-page .container {
  position: relative;
  z-index: 1;
}

.delivery-hero {
  padding: 150px 0 86px;
}

.delivery-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 48px;
  align-items: center;
}

.delivery-kicker {
  margin: 0 0 18px;
  color: var(--tiffany);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.delivery-hero h1,
.delivery-section-head h2,
.delivery-cdek-card h2,
.delivery-price-card h2,
.delivery-pack-card h2,
.delivery-final-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.94;
  font-weight: 1000;
  letter-spacing: 0;
}

.delivery-section-head h2,
.delivery-cdek-card h2,
.delivery-price-card h2,
.delivery-pack-card h2,
.delivery-final-card h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.delivery-hero-content > p,
.delivery-section-head > p,
.delivery-cdek-card p,
.delivery-price-card p,
.delivery-pack-card p,
.delivery-final-card p,
.delivery-card p,
.delivery-steps p,
.delivery-faq-item p {
  margin: 0;
  color: rgba(255,255,255,0.68);
  font-size: 16px;
  line-height: 1.55;
}

.delivery-hero-content > p {
  max-width: 720px;
  margin: 28px 0 34px;
  font-size: 19px;
}

.delivery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.delivery-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: linear-gradient(135deg, #69e5df, var(--tiffany));
  color: #031110;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(10, 186, 181, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, border-color 0.22s ease;
}

.delivery-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgba(10, 186, 181, 0.36);
  filter: brightness(1.04);
}

.delivery-button-ghost {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.14);
  box-shadow: none;
}

.delivery-button-ghost:hover {
  border-color: rgba(10,186,181,0.44);
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
}

.delivery-hero-visual {
  min-height: 430px;
  display: grid;
  place-items: center;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03)),
    radial-gradient(circle at 52% 42%, rgba(10, 186, 181, 0.28), transparent 38%),
    rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 38px 100px rgba(0,0,0,0.5);
  backdrop-filter: blur(22px);
}

.delivery-parcel {
  position: relative;
  width: min(340px, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.delivery-parcel::before,
.delivery-parcel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.delivery-parcel::before {
  inset: 8%;
  background: conic-gradient(from 135deg, #fff, #8d8d8d, #0abab5, #f5ffff, #1b1b1b, #fff);
  opacity: 0.42;
  transform: rotate(-16deg) skewY(-7deg);
}

.delivery-parcel::after {
  inset: 22%;
  background: #040404;
  box-shadow: 0 0 74px rgba(10, 186, 181, 0.45);
}

.delivery-parcel-badge {
  position: absolute;
  top: 18px;
  right: 10px;
  z-index: 4;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(10,186,181,0.16);
  border: 1px solid rgba(10,186,181,0.36);
  color: #dffffd;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.delivery-parcel-box {
  position: relative;
  z-index: 3;
  width: 188px;
  height: 168px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.38), rgba(255,255,255,0.08)),
    linear-gradient(45deg, transparent 45%, rgba(10,186,181,0.22) 46%, rgba(10,186,181,0.22) 54%, transparent 55%);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.42), 0 28px 80px rgba(0,0,0,0.42);
  backdrop-filter: blur(18px);
  transform: rotate(-7deg);
}

.delivery-parcel-box span {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0abab5, #f4ffff);
  box-shadow: 0 0 34px rgba(10,186,181,0.56);
}

.delivery-parcel-box strong {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.delivery-route {
  position: absolute;
  left: 7%;
  bottom: 14%;
  right: 5%;
  z-index: 4;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(10,186,181,0.86), transparent);
}

.delivery-route i {
  position: absolute;
  top: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tiffany);
  box-shadow: 0 0 18px rgba(10,186,181,0.9);
}

.delivery-route i:nth-child(1) { left: 8%; }
.delivery-route i:nth-child(2) { left: 48%; }
.delivery-route i:nth-child(3) { right: 8%; }

.delivery-section {
  padding: 70px 0;
}

.delivery-section-head {
  max-width: 840px;
  margin-bottom: 30px;
}

.delivery-section-head > p {
  margin-top: 18px;
}

.delivery-card-grid {
  display: grid;
  gap: 18px;
}

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

.delivery-card,
.delivery-cdek-card,
.delivery-price-card,
.delivery-pack-card,
.delivery-final-card {
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(145deg, rgba(255,255,255,0.105), rgba(255,255,255,0.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 24px 70px rgba(0,0,0,0.22);
  backdrop-filter: blur(18px);
}

.delivery-card {
  min-height: 230px;
  padding: 28px;
  border-radius: 26px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.delivery-card:hover {
  transform: translateY(-5px);
  border-color: rgba(10, 186, 181, 0.42);
  background: linear-gradient(145deg, rgba(10,186,181,0.16), rgba(255,255,255,0.045));
}

.delivery-card span,
.delivery-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: rgba(10, 186, 181, 0.13);
  color: var(--tiffany);
  font-weight: 950;
}

.delivery-card h3,
.delivery-steps h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 22px;
  line-height: 1.05;
}

.delivery-cdek-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 30px;
  align-items: center;
  padding: 40px;
  border-radius: 34px;
  overflow: hidden;
}

.delivery-cdek-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -50% 20%;
  height: 260px;
  background: radial-gradient(circle, rgba(10,186,181,0.24), transparent 68%);
  pointer-events: none;
}

.delivery-cdek-card p + p {
  margin-top: 14px;
}

.delivery-cdek-mark {
  position: relative;
  min-height: 230px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,0.16), rgba(0,0,0,0.2));
  border: 1px solid rgba(255,255,255,0.14);
}

.delivery-cdek-mark strong {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.delivery-cdek-mark span {
  position: absolute;
  width: 118px;
  height: 118px;
  border-radius: 28px;
  background: conic-gradient(from 120deg, #fff, #676767, #0abab5, #fff, #111);
  opacity: 0.62;
  transform: rotate(18deg);
  box-shadow: 0 0 56px rgba(10,186,181,0.28);
}

.delivery-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.045);
}

.delivery-steps article {
  min-height: 275px;
  padding: 26px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.delivery-steps article:last-child {
  border-right: 0;
}

.delivery-price-card,
.delivery-pack-card,
.delivery-final-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 40px;
  border-radius: 34px;
}

.delivery-price-card p,
.delivery-pack-card p,
.delivery-final-card p {
  max-width: 760px;
  margin-top: 16px;
}

.delivery-formula,
.delivery-pack-card strong {
  max-width: 360px;
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(10,186,181,0.14);
  border: 1px solid rgba(10,186,181,0.32);
  color: #eafffd;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.25;
  box-shadow: 0 18px 50px rgba(10,186,181,0.16);
}

.delivery-faq {
  display: grid;
  gap: 12px;
}

.delivery-faq-item {
  border-radius: 22px;
  background: rgba(255,255,255,0.065);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}

.delivery-faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  cursor: pointer;
  list-style: none;
}

.delivery-faq-item summary::-webkit-details-marker {
  display: none;
}

.delivery-faq-item summary::after {
  content: "+";
  color: var(--tiffany);
  font-size: 24px;
  line-height: 1;
}

.delivery-faq-item[open] summary::after {
  content: "−";
}

.delivery-faq-item p {
  padding: 0 24px 24px;
}

.delivery-final {
  padding: 0 0 90px;
}

.delivery-final-card {
  background:
    radial-gradient(circle at 84% 20%, rgba(10,186,181,0.2), transparent 34%),
    #f4fbfb;
  color: #050505;
}

.delivery-final-card h2 {
  color: #050505;
}

.delivery-final-card p {
  color: rgba(0,0,0,0.64);
}

.delivery-final-card .delivery-button-ghost {
  color: #050505;
  border-color: rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.045);
}

@media (max-width: 1180px) {
  .delivery-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .delivery-steps article {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}

@media (max-width: 900px) {
  .delivery-hero {
    padding: 128px 0 58px;
  }

  .delivery-hero-inner,
  .delivery-cdek-card,
  .delivery-price-card,
  .delivery-pack-card,
  .delivery-final-card {
    grid-template-columns: 1fr;
  }

  .delivery-card-grid-three,
  .delivery-steps {
    grid-template-columns: 1fr;
  }

  .delivery-steps article {
    min-height: 0;
    border-right: 0;
  }

  .delivery-formula,
  .delivery-pack-card strong {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .delivery-hero {
    padding-top: 112px;
  }

  .delivery-hero h1 {
    font-size: 42px;
  }

  .delivery-hero-content > p {
    font-size: 16px;
  }

  .delivery-hero-visual {
    min-height: 300px;
    border-radius: 26px;
  }

  .delivery-section {
    padding: 48px 0;
  }

  .delivery-card,
  .delivery-cdek-card,
  .delivery-price-card,
  .delivery-pack-card,
  .delivery-final-card {
    padding: 22px;
    border-radius: 24px;
  }

  .delivery-actions,
  .delivery-button {
    width: 100%;
  }
}

/* =====================================================================
   WARRANTY PAGE
   ===================================================================== */
.warranty-page {
  background:
    radial-gradient(circle at 84% 8%, rgba(10, 186, 181, 0.16), transparent 32%),
    radial-gradient(circle at 15% 44%, rgba(255,255,255,0.08), transparent 28%),
    #030303;
  color: #fff;
  overflow: hidden;
}

.warranty-page .container {
  position: relative;
  z-index: 1;
}

.warranty-hero {
  padding: 150px 0 86px;
}

.warranty-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 48px;
  align-items: center;
}

.warranty-kicker {
  margin: 0 0 18px;
  color: var(--tiffany);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.warranty-hero h1,
.warranty-section-head h2,
.warranty-guarantee-card h2,
.warranty-problem-card h2,
.warranty-info-card h2,
.warranty-final-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.94;
  font-weight: 1000;
  letter-spacing: 0;
}

.warranty-section-head h2,
.warranty-guarantee-card h2,
.warranty-problem-card h2,
.warranty-info-card h2,
.warranty-final-card h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.warranty-hero-content > p,
.warranty-section-head > p,
.warranty-card p,
.warranty-guarantee-card p,
.warranty-two-cols li,
.warranty-problem-card p,
.warranty-info-card p,
.warranty-steps p,
.warranty-faq-item p,
.warranty-final-card p {
  margin: 0;
  color: rgba(255,255,255,0.68);
  font-size: 16px;
  line-height: 1.55;
}

.warranty-hero-content > p {
  max-width: 720px;
  margin: 28px 0 34px;
  font-size: 19px;
}

.warranty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.warranty-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: linear-gradient(135deg, #69e5df, var(--tiffany));
  color: #031110;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(10, 186, 181, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, border-color 0.22s ease;
}

.warranty-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgba(10, 186, 181, 0.36);
  filter: brightness(1.04);
}

.warranty-button-ghost {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.14);
  box-shadow: none;
}

.warranty-button-ghost:hover {
  border-color: rgba(10,186,181,0.44);
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
}

.warranty-hero-visual {
  min-height: 430px;
  display: grid;
  place-items: center;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03)),
    radial-gradient(circle at 52% 42%, rgba(10, 186, 181, 0.28), transparent 38%),
    rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 38px 100px rgba(0,0,0,0.5);
  backdrop-filter: blur(22px);
}

.warranty-shield-object {
  position: relative;
  width: min(340px, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.warranty-shield-object::before,
.warranty-shield-object::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.warranty-shield-object::before {
  inset: 9%;
  background: conic-gradient(from 135deg, #fff, #8d8d8d, #0abab5, #f5ffff, #1b1b1b, #fff);
  opacity: 0.42;
  transform: rotate(-16deg) skewY(-7deg);
}

.warranty-shield-object::after {
  inset: 24%;
  background: #040404;
  box-shadow: 0 0 74px rgba(10, 186, 181, 0.45);
}

.warranty-shield-badge {
  position: absolute;
  top: 18px;
  right: 6px;
  z-index: 4;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(10,186,181,0.16);
  border: 1px solid rgba(10,186,181,0.36);
  color: #dffffd;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.warranty-shield-card {
  position: relative;
  z-index: 3;
  width: 188px;
  height: 188px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border-radius: 42px;
  background: linear-gradient(145deg, rgba(255,255,255,0.38), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.42), 0 28px 80px rgba(0,0,0,0.42);
  backdrop-filter: blur(18px);
  transform: rotate(-7deg);
}

.warranty-shield-card span {
  width: 72px;
  height: 82px;
  display: block;
  background: linear-gradient(135deg, #0abab5, #f4ffff);
  clip-path: polygon(50% 0, 88% 14%, 82% 62%, 50% 100%, 18% 62%, 12% 14%);
  box-shadow: 0 0 34px rgba(10,186,181,0.56);
}

.warranty-shield-card strong {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.warranty-section {
  padding: 70px 0;
}

.warranty-section-head {
  max-width: 860px;
  margin-bottom: 30px;
}

.warranty-section-head > p {
  margin-top: 18px;
}

.warranty-card-grid {
  display: grid;
  gap: 18px;
}

.warranty-card-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.warranty-card-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.warranty-card,
.warranty-guarantee-card,
.warranty-problem-card,
.warranty-info-card {
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(145deg, rgba(255,255,255,0.105), rgba(255,255,255,0.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 24px 70px rgba(0,0,0,0.22);
  backdrop-filter: blur(18px);
}

.warranty-card {
  min-height: 230px;
  padding: 26px;
  border-radius: 26px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.warranty-card:hover {
  transform: translateY(-5px);
  border-color: rgba(10, 186, 181, 0.42);
  background: linear-gradient(145deg, rgba(10,186,181,0.16), rgba(255,255,255,0.045));
}

.warranty-card span,
.warranty-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: rgba(10, 186, 181, 0.13);
  color: var(--tiffany);
  font-weight: 950;
}

.warranty-card h3,
.warranty-two-cols h3,
.warranty-steps h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 22px;
  line-height: 1.05;
}

.warranty-guarantee-card,
.warranty-problem-card,
.warranty-info-card {
  padding: 40px;
  border-radius: 34px;
}

.warranty-two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.warranty-two-cols article {
  padding: 24px;
  border-radius: 24px;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.08);
}

.warranty-two-cols ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.warranty-problem-card {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: center;
}

.warranty-problem-card p + p,
.warranty-info-card p + p {
  margin-top: 14px;
}

.warranty-problem-card aside,
.warranty-info-card strong {
  display: block;
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(10,186,181,0.14);
  border: 1px solid rgba(10,186,181,0.32);
  color: #eafffd;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  box-shadow: 0 18px 50px rgba(10,186,181,0.16);
}

.warranty-info-card strong {
  margin-top: 18px;
}

.warranty-text-stack {
  display: grid;
  gap: 18px;
}

.warranty-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.045);
}

.warranty-steps article {
  min-height: 285px;
  padding: 26px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.warranty-steps article:last-child {
  border-right: 0;
}

.warranty-faq {
  display: grid;
  gap: 12px;
}

.warranty-faq-item {
  border-radius: 22px;
  background: rgba(255,255,255,0.065);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}

.warranty-faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  cursor: pointer;
  list-style: none;
}

.warranty-faq-item summary::-webkit-details-marker {
  display: none;
}

.warranty-faq-item summary::after {
  content: "+";
  color: var(--tiffany);
  font-size: 24px;
  line-height: 1;
}

.warranty-faq-item[open] summary::after {
  content: "−";
}

.warranty-faq-item p {
  padding: 0 24px 24px;
}

.warranty-final {
  padding: 0 0 90px;
}

.warranty-final-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 40px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 84% 20%, rgba(10,186,181,0.2), transparent 34%),
    #f4fbfb;
  color: #050505;
}

.warranty-final-card h2 {
  color: #050505;
}

.warranty-final-card p {
  max-width: 650px;
  margin-top: 16px;
  color: rgba(0,0,0,0.64);
}

.warranty-contact-list {
  display: grid;
  gap: 12px;
  min-width: 320px;
}

.warranty-contact-list a:not(.warranty-button) {
  color: #050505;
  font-weight: 900;
  text-decoration: none;
}

.warranty-final-card .warranty-button-ghost {
  color: #050505;
  border-color: rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.045);
}

@media (max-width: 1180px) {
  .warranty-card-grid-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .warranty-card-grid-four,
  .warranty-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .warranty-steps article {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}

@media (max-width: 900px) {
  .warranty-hero {
    padding: 128px 0 58px;
  }

  .warranty-hero-inner,
  .warranty-two-cols,
  .warranty-problem-card,
  .warranty-final-card {
    grid-template-columns: 1fr;
  }

  .warranty-card-grid-five,
  .warranty-card-grid-four,
  .warranty-steps {
    grid-template-columns: 1fr;
  }

  .warranty-steps article {
    min-height: 0;
    border-right: 0;
  }

  .warranty-contact-list {
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .warranty-hero {
    padding-top: 112px;
  }

  .warranty-hero h1 {
    font-size: 42px;
  }

  .warranty-hero-content > p {
    font-size: 16px;
  }

  .warranty-hero-visual {
    min-height: 300px;
    border-radius: 26px;
  }

  .warranty-section {
    padding: 48px 0;
  }

  .warranty-card,
  .warranty-guarantee-card,
  .warranty-problem-card,
  .warranty-info-card,
  .warranty-final-card {
    padding: 22px;
    border-radius: 24px;
  }

  .warranty-actions,
  .warranty-button {
    width: 100%;
  }
}

/* HEADER FIT FIX */
.site-header {
  overflow: visible !important;
}

.header-inner {
  width: min(var(--container), calc(100% - 48px)) !important;
  max-width: none !important;
  gap: clamp(22px, 2.4vw, 38px) !important;
  padding-inline: 10px 22px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

.main-nav {
  min-width: 0 !important;
  gap: clamp(20px, 2.2vw, 34px) !important;
  overflow: visible !important;
}

.nav-dropdown {
  position: relative !important;
  overflow: visible !important;
}

.dropdown-menu {
  z-index: 10000 !important;
}

.header-actions {
  flex: 0 0 auto !important;
  gap: clamp(14px, 1.8vw, 22px) !important;
  padding-right: 6px !important;
}

.header-actions .icon-button {
  width: 34px !important;
  height: 34px !important;
  font-size: 29px !important;
}

.header-actions .cart-button {
  width: 44px !important;
  height: 44px !important;
  font-size: 25px !important;
  margin-right: 0 !important;
}

.header-actions .cart-button small {
  top: 0 !important;
  right: 0 !important;
  transform: translate(22%, -22%) !important;
  min-width: 22px !important;
  height: 22px !important;
}

@media (max-width: 1240px) {
  .main-nav {
    gap: 18px !important;
  }

  .main-nav a,
  .main-nav .nav-link {
    font-size: 16px !important;
  }

  .header-actions {
    gap: 12px !important;
  }
}

@media (max-width: 720px) {
  .header-inner {
    width: min(100%, calc(100% - 24px)) !important;
    padding-inline: 8px 14px !important;
  }
}

/* DROPDOWN VISIBILITY FIX */
@media (min-width: 769px) {
  .site-header,
  .header-inner,
  .main-nav,
  .nav-dropdown {
    overflow: visible !important;
  }

  .site-header {
    z-index: 5000 !important;
  }

  .nav-dropdown .dropdown-menu {
    position: absolute !important;
    top: calc(100% - 6px) !important;
    left: 50% !important;
    width: max-content !important;
    min-width: 220px !important;
    max-width: min(360px, calc(100vw - 32px)) !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(10px) !important;
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
  }

  .nav-dropdown .dropdown-menu a {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 38px !important;
    padding: 11px 14px !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: nowrap !important;
  }
}

/* CITY DETECTOR */
.city-header-button {
  min-width: 92px;
  max-width: 142px;
  min-height: 38px;
  display: grid;
  gap: 2px;
  align-content: center;
  padding: 6px 12px;
  border: 1px solid rgba(10, 186, 181, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #e9edf2;
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.city-header-button:hover {
  border-color: rgba(10, 186, 181, 0.72);
  background: rgba(10, 186, 181, 0.1);
  transform: translateY(-1px);
}

.city-header-button span {
  color: rgba(233, 237, 242, 0.68);
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
}

.city-header-button strong {
  max-width: 112px;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.city-modal-open {
  overflow: hidden;
}

.city-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.city-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.city-modal {
  position: relative;
  width: min(460px, 100%);
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 8%, rgba(10, 186, 181, 0.24), transparent 36%),
    linear-gradient(145deg, rgba(18, 18, 18, 0.96), rgba(0, 0, 0, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 34px 110px rgba(0, 0, 0, 0.56),
    0 0 50px rgba(10, 186, 181, 0.14);
  color: #fff;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.22s ease;
}

.city-modal-backdrop.is-open .city-modal {
  transform: translateY(0) scale(1);
}

.city-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.city-modal-mark {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(10,186,181,0.85)),
    #0abab5;
  box-shadow: 0 0 34px rgba(10, 186, 181, 0.42);
}

.city-modal-kicker {
  margin: 0 0 10px;
  color: var(--tiffany);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.city-modal h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1;
  font-weight: 1000;
  letter-spacing: 0;
}

.city-modal-text {
  margin: 16px 0 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.5;
}

.city-modal-actions,
.city-modal-form {
  display: grid;
  gap: 12px;
}

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

.city-modal-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 850;
}

.city-modal-form input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font: inherit;
}

.city-modal-form input:focus {
  border-color: rgba(10, 186, 181, 0.72);
  box-shadow: 0 0 0 4px rgba(10, 186, 181, 0.13);
}

.city-button {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.city-button-primary {
  border: 0;
  background: linear-gradient(135deg, #69e5df, var(--tiffany));
  color: #031110;
  box-shadow: 0 16px 40px rgba(10, 186, 181, 0.24);
}

.city-button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

@media (max-width: 1240px) {
  .city-header-button {
    min-width: 74px;
    max-width: 108px;
    padding-inline: 10px;
  }

  .city-header-button span {
    display: none;
  }

  .city-header-button strong {
    max-width: 86px;
    font-size: 12px;
  }
}

@media (max-width: 720px) {
  .city-header-button {
    order: -1;
    min-width: 86px;
  }

  .city-modal {
    padding: 26px;
    border-radius: 24px;
  }

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

/* CITY REGION MODAL — LIGHT LAYOUT */
.city-modal-backdrop {
  align-items: start !important;
  padding: 12px 14px !important;
  background: rgba(0, 0, 0, 0.58) !important;
}

.city-modal {
  width: min(1748px, calc(100vw - 28px)) !important;
  min-height: min(72vh, 875px) !important;
  margin-top: 0 !important;
  padding: clamp(34px, 4.7vw, 86px) clamp(28px, 4.7vw, 82px) !important;
  border: 0 !important;
  border-radius: 24px !important;
  background: #fff !important;
  color: #050505 !important;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34) !important;
}

.city-modal-close {
  top: clamp(22px, 3vw, 46px) !important;
  right: clamp(22px, 3vw, 46px) !important;
  width: 52px !important;
  height: 52px !important;
  border: 0 !important;
  background: transparent !important;
  color: #050505 !important;
  font-size: 56px !important;
  font-weight: 300 !important;
  line-height: 0.75 !important;
}

.city-modal h2 {
  margin: 0 0 40px !important;
  color: #050505 !important;
  font-size: clamp(36px, 3.2vw, 48px) !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

.city-search-form {
  margin: 0 0 clamp(34px, 4vw, 62px) !important;
}

.city-search {
  position: relative !important;
  display: block !important;
}

.city-search input {
  width: 100% !important;
  height: clamp(62px, 5vw, 80px) !important;
  padding: 0 70px 0 34px !important;
  border: 0 !important;
  border-radius: 10px !important;
  outline: none !important;
  background: #f0f0f4 !important;
  color: #050505 !important;
  font-size: clamp(22px, 2vw, 31px) !important;
  font-weight: 500 !important;
}

.city-search input::placeholder {
  color: #8e8f96 !important;
}

.city-search input:focus {
  box-shadow: 0 0 0 3px rgba(10, 186, 181, 0.18) !important;
}

.city-search span {
  position: absolute !important;
  right: 24px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #8e8f96 !important;
  font-size: 40px !important;
  line-height: 1 !important;
  pointer-events: none !important;
}

.city-list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  column-gap: clamp(42px, 6vw, 112px) !important;
  row-gap: clamp(22px, 2.6vw, 36px) !important;
  align-items: start !important;
}

.city-list-item {
  display: block !important;
  width: 100% !important;
  min-height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #050505 !important;
  font-size: clamp(22px, 2.15vw, 34px) !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: color 0.16s ease, transform 0.16s ease !important;
}

.city-list-item:hover,
.city-list-item.is-detected {
  color: #f04fb2 !important;
  transform: translateX(2px) !important;
}

@media (max-width: 1024px) {
  .city-modal {
    min-height: auto !important;
  }

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

@media (max-width: 720px) {
  .city-modal-backdrop {
    padding: 10px !important;
  }

  .city-modal {
    max-height: calc(100vh - 20px) !important;
    overflow-y: auto !important;
    padding: 28px 22px 34px !important;
    border-radius: 20px !important;
  }

  .city-modal-close {
    top: 16px !important;
    right: 14px !important;
    width: 42px !important;
    height: 42px !important;
    font-size: 44px !important;
  }

  .city-modal h2 {
    margin-bottom: 26px !important;
    padding-right: 44px !important;
  }

  .city-search input {
    height: 58px !important;
    padding-left: 18px !important;
    padding-right: 52px !important;
    font-size: 18px !important;
  }

  .city-search span {
    right: 16px !important;
    font-size: 30px !important;
  }

  .city-list {
    grid-template-columns: 1fr !important;
    row-gap: 18px !important;
  }

  .city-list-item {
    font-size: 24px !important;
  }
}

/* CITY MODAL — COMPACT MIGSHIP STYLE */
.city-modal-backdrop {
  place-items: center !important;
  align-items: center !important;
  padding: 16px !important;
  background: rgba(0, 0, 0, 0.72) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  backdrop-filter: blur(18px) !important;
}

.city-modal {
  width: calc(100% - 32px) !important;
  max-width: 520px !important;
  min-height: 0 !important;
  max-height: 82vh !important;
  margin: 0 !important;
  padding: 28px !important;
  overflow-y: auto !important;
  border: 1px solid rgba(83, 255, 235, 0.22) !important;
  border-radius: 28px !important;
  background: linear-gradient(145deg, rgba(10,10,10,.96), rgba(22,24,24,.94)) !important;
  color: #fff !important;
  box-shadow:
    0 24px 80px rgba(0,0,0,.55),
    0 0 40px rgba(83,255,235,.08) !important;
  transform: translateY(10px) scale(.98) !important;
  transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.city-modal-backdrop.is-open .city-modal {
  transform: translateY(0) scale(1) !important;
}

.city-modal-close {
  top: 18px !important;
  right: 18px !important;
  width: 36px !important;
  height: 36px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.06) !important;
  color: rgba(255,255,255,.75) !important;
  font-size: 28px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease !important;
}

.city-modal-close:hover {
  color: #53ffeb !important;
  border-color: rgba(83,255,235,.45) !important;
  background: rgba(83,255,235,.08) !important;
}

.city-modal h2 {
  margin: 0 44px 10px 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: 28px !important;
  line-height: 1.12 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.city-modal-text {
  margin: 0 0 22px !important;
  color: rgba(255,255,255,.62) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.city-modal-actions {
  display: flex !important;
  gap: 10px !important;
}

.city-button {
  min-height: 44px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.city-button-primary {
  border: 0 !important;
  background: #53ffeb !important;
  color: #050505 !important;
  box-shadow: 0 14px 34px rgba(83,255,235,.18) !important;
}

.city-button-ghost {
  border: 1px solid rgba(255,255,255,.16) !important;
  background: rgba(255,255,255,.06) !important;
  color: #fff !important;
}

.city-manual {
  margin-top: 18px !important;
}

.city-search-form {
  margin: 0 !important;
}

.city-search input {
  width: 100% !important;
  height: 52px !important;
  padding: 0 48px 0 16px !important;
  border: 1px solid rgba(83,255,235,.22) !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.06) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

.city-search input::placeholder {
  color: rgba(255,255,255,.42) !important;
}

.city-search input:focus {
  border-color: rgba(83,255,235,.65) !important;
  box-shadow: 0 0 0 4px rgba(83,255,235,.10) !important;
}

.city-search span {
  right: 16px !important;
  color: rgba(255,255,255,.42) !important;
  font-size: 28px !important;
}

.city-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 18px !important;
}

.city-list-item {
  width: auto !important;
  min-height: 40px !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.06) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.1 !important;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease !important;
}

.city-list-item:hover,
.city-list-item.is-detected {
  border-color: rgba(83,255,235,.55) !important;
  background: rgba(83,255,235,.10) !important;
  color: #53ffeb !important;
  transform: translateY(-1px) !important;
}

@media (max-width: 720px) {
  .city-modal {
    width: calc(100% - 24px) !important;
    padding: 22px !important;
    border-radius: 24px !important;
  }

  .city-modal h2 {
    margin-right: 42px !important;
    margin-bottom: 8px !important;
    font-size: 23px !important;
  }

  .city-modal-actions {
    flex-direction: column !important;
  }

  .city-button {
    width: 100% !important;
  }

  .city-list {
    gap: 8px !important;
  }

  .city-list-item {
    flex: 1 1 calc(50% - 8px) !important;
    min-width: 0 !important;
    text-align: center !important;
    font-size: 13px !important;
  }
}

/* =====================================================================
   PROMO-HERO — карусель промо-баннеров в стиле маркетплейса (бренд-цвета)
   ===================================================================== */
.promo-hero { padding: 20px 0 6px; }
.promo-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 16px;
}
.promo-main {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: #0a1413;
}
.promo-viewport { overflow: hidden; border-radius: 26px; }
.promo-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.promo-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 44px 48px;
  overflow: hidden;
}
.promo-slide:nth-child(1) { background: linear-gradient(120deg, #0ABAB5 0%, #07807b 55%, #042524 100%); }
.promo-slide:nth-child(2) { background: linear-gradient(120deg, #0b1413 0%, #115551 65%, #0ABAB5 130%); }
.promo-slide:nth-child(3) { background: linear-gradient(120deg, #053b39 0%, #0ABAB5 120%); }
.promo-slide:nth-child(4) { background: linear-gradient(120deg, #0ABAB5 0%, #064a47 70%, #031a19 100%); }
.promo-copy { position: relative; z-index: 2; max-width: 58%; color: #fff; }
.promo-badge {
  display: inline-block;
  padding: 7px 15px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.promo-h {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.0;
  font-weight: 900;
  letter-spacing: -1.2px;
  color: #fff;
}
.promo-p { margin: 0 0 24px; font-size: 16px; line-height: 1.4; opacity: 0.92; }
.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 14px;
  background: #fff;
  color: #04302d;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.promo-cta span { transition: transform 0.2s ease; }
.promo-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28); }
.promo-cta:hover span { transform: translateX(4px); }
.promo-img {
  position: absolute;
  right: -16px;
  bottom: -6px;
  height: 112%;
  width: auto;
  z-index: 1;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.34));
}
.promo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #04302d;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, transform 0.2s ease;
}
.promo-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.promo-prev { left: 16px; }
.promo-next { right: 16px; }
.promo-dots {
  position: absolute;
  left: 48px;
  bottom: 20px;
  display: flex;
  gap: 8px;
  z-index: 4;
}
.promo-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.promo-dot.is-active { width: 26px; background: #fff; }

.promo-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.promo-mini {
  position: relative;
  border-radius: 26px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 168px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.promo-mini:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16); }
.promo-mini h3 { margin: 0 0 8px; font-size: 26px; font-weight: 900; line-height: 1.04; letter-spacing: -0.6px; }
.promo-mini p { margin: 0; font-size: 14px; font-weight: 700; }
.promo-mini-badge {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.promo-mini-accent { background: linear-gradient(135deg, #0ABAB5 0%, #06827c 100%); }
.promo-mini-accent h3 { color: #fff; }
.promo-mini-accent p { color: rgba(255, 255, 255, 0.92); }
.promo-mini-dark { background: #0b1413; border: 1px solid rgba(10, 186, 181, 0.35); }
.promo-mini-dark h3 { color: #fff; }
.promo-mini-dark p { color: #0ABAB5; }

.promo-mini[data-roulette-open] {
  border: 1px solid rgba(10, 186, 181, 0.28);
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #12c6be 0%, #0a9a92 56%, #07645f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 42px rgba(10, 186, 181, 0.14);
}

.promo-mini[data-roulette-open]:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 20px 46px rgba(10, 186, 181, 0.20);
}

@media (max-width: 900px) {
  .promo-grid { grid-template-columns: 1fr; }
  .promo-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .promo-slide { min-height: 300px; padding: 28px 24px; }
  .promo-copy { max-width: 76%; }
  .promo-img { opacity: 0.32; right: -30px; }
  .promo-dots { left: 24px; }
  .promo-side { grid-template-columns: 1fr; }
  .promo-mini { min-height: 120px; }
}

@media (max-width: 600px) {
  .promo-arrow { display: none; }
  .promo-copy { max-width: 82%; }
}

/* =====================================================================
   GADGET REELS — горизонтальные обзоры под hero
   ===================================================================== */
.reels-strip {
  padding: 24px 0 14px;
  background: #fff;
}

.reels-strip-inner {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: start;
  gap: 12px;
}

.reels-track {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 10px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.reels-track::-webkit-scrollbar {
  display: none;
}

.reel-story {
  width: 118px;
  flex: 0 0 118px;
  display: grid;
  justify-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
}

.reel-story-thumb {
  position: relative;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 4px solid #050505;
  border-radius: 50%;
  background: #f4f5f5;
  box-shadow: 0 0 0 3px #fff, 0 8px 22px rgba(0,0,0,.12);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.reel-story-thumb::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55);
  pointer-events: none;
}

.reel-story img,
.reel-story video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-story strong {
  max-width: 118px;
  min-height: 38px;
  display: block;
  color: #101010;
  font-size: 16px;
  line-height: 1.08;
  font-weight: 950;
  text-align: center;
  letter-spacing: 0;
}

.reel-story:hover .reel-story-thumb {
  transform: translateY(-2px);
  border-color: var(--tiffany);
  box-shadow: 0 0 0 3px #fff, 0 12px 28px rgba(49,216,220,.24);
}

.reels-arrow {
  width: 34px;
  height: 96px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgba(0,0,0,.42);
  font-size: 46px;
  line-height: 1;
  cursor: pointer;
  transition: color .18s ease, transform .18s ease;
}

.reels-arrow:hover {
  color: var(--tiffany-dark);
  transform: scale(1.04);
}

.reel-viewer-open {
  overflow: hidden;
}

.reel-viewer {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0,0,0,.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.reel-viewer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.reel-viewer-card {
  position: relative;
  width: min(390px, calc(100vw - 44px));
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(49,216,220,.28);
  border-radius: 28px;
  background: #050505;
  box-shadow: 0 30px 110px rgba(0,0,0,.56), 0 0 42px rgba(49,216,220,.13);
  transform: translateY(10px) scale(.98);
  transition: transform .2s ease;
}

.reel-viewer.is-open .reel-viewer-card {
  transform: translateY(0) scale(1);
}

.reel-viewer-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reel-viewer-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 54px 20px 18px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
  pointer-events: none;
}

.reel-viewer-caption h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 950;
}

.reel-viewer-caption p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.reel-viewer-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.reel-viewer-close:hover {
  color: var(--tiffany);
  border-color: rgba(49,216,220,.5);
}

/* Карточка товара в публичном просмотрщике Reels */
.reel-viewer-layout {
  width: min(760px, calc(100vw - 44px));
  display: grid;
  grid-template-columns: minmax(0, 390px) minmax(260px, 320px);
  align-items: center;
  gap: 18px;
}

.reel-viewer-layout .reel-viewer-card {
  width: 100%;
}

.reel-viewer-product {
  min-width: 0;
}

.reel-product-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(49, 216, 220, .34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(49,216,220,.18), transparent 42%),
    rgba(9, 12, 13, .86);
  color: #fff;
  box-shadow: 0 20px 56px rgba(0,0,0,.36), inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.reel-product-image {
  width: 64px;
  height: 64px;
  border-radius: 13px;
  object-fit: contain;
  background: #fff;
}

.reel-product-info { min-width: 0; }

.reel-product-label {
  display: block;
  margin-bottom: 5px;
  color: var(--tiffany);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.reel-product-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.reel-product-meta {
  margin: 7px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.35;
}

.reel-product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 9px;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  font-weight: 950;
}

.reel-product-price s {
  color: rgba(255,255,255,.45);
  font-size: 12px;
  font-weight: 700;
}

.reel-product-actions {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 2px;
}

.reel-product-add,
.reel-product-open {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.reel-product-add {
  border: 1px solid var(--tiffany);
  background: var(--tiffany);
  color: #051011;
}

.reel-product-add:hover:not(:disabled) { background: #fff; border-color: #fff; }
.reel-product-add:disabled { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.08); color: rgba(255,255,255,.48); cursor: default; }

.reel-product-open {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.reel-product-open:hover { border-color: rgba(49,216,220,.7); color: var(--tiffany); }
.reel-product-empty { color: rgba(255,255,255,.62); font-size: 13px; }

@media (max-width: 720px) {
  .reels-strip {
    padding: 18px 0 8px;
  }

  .reels-strip-inner {
    width: min(100%, calc(100% - 18px));
    grid-template-columns: 1fr;
  }

  .reels-arrow {
    display: none;
  }

  .reels-track {
    gap: 16px;
    padding-left: 2px;
    padding-right: 18px;
  }

  .reel-story {
    width: 94px;
    flex-basis: 94px;
  }

  .reel-story-thumb {
    width: 78px;
    height: 78px;
    border-width: 3px;
  }

  .reel-story strong {
    max-width: 94px;
    font-size: 13px;
  }

  .reel-viewer {
    align-items: start;
    overflow-y: auto;
    padding: 56px 14px 20px;
  }

  .reel-viewer-layout {
    width: min(390px, calc(100vw - 28px));
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .reel-viewer-product { width: 100%; }
  .reel-product-card { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 13px; }
  .reel-product-image { width: 56px; height: 56px; }
  .reel-product-title { font-size: 14px; }
  .reel-product-price { font-size: 17px; }
  .reel-product-actions { grid-column: 1 / -1; }
}

/* =====================================================================
   HEADER — упрощённая шапка: логотип · Каталог · поиск · действия
   ===================================================================== */
.site-header .header-inner { gap: 20px !important; }
.site-header .main-nav { flex: 0 0 auto; }

.header-search {
  flex: 1 1 auto;
  max-width: 1000px;
  display: flex;
  align-items: stretch;
  height: 46px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
}
.header-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 18px;
  font-size: 15px;
  color: #111;
}
.header-search input::placeholder { color: #8a8a8a; }
.header-search button {
  flex: 0 0 auto;
  width: 54px;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: #fff;
  background: var(--tiffany);
  transition: background 0.2s ease;
}
.header-search button:hover { background: var(--tiffany-dark); }

.site-header .header-actions { flex: 0 0 auto; margin-left: auto !important; }

/* Каталог — выделенная кнопка с выпадающим списком */
.main-nav .nav-catalog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px !important;
  border-radius: 12px;
  background: var(--tiffany);
  color: #ffffff !important;
  font-weight: 800 !important;
  white-space: nowrap;
}
.main-nav .nav-catalog:hover { background: var(--tiffany-dark); }

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

/* =====================================================================
   HEADER SEARCH — живые подсказки под строкой поиска
   ===================================================================== */
.header-search { position: relative; overflow: visible; }
.header-search input { border-radius: 14px 0 0 14px; }
.header-search button { border-radius: 0 14px 14px 0; }

.search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  z-index: 1000;
  max-height: 70vh;
  overflow-y: auto;
}
.search-suggest .ss-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: #111;
  border-bottom: 1px solid #f0f0f0;
}
.search-suggest .ss-item:last-child { border-bottom: none; }
.search-suggest .ss-item:hover { background: #f3fdfd; }
.search-suggest .ss-item img {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 8px;
  background: #f7f7f7;
}
.search-suggest .ss-name {
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.3;
  color: #111;
}
.search-suggest .ss-price {
  flex: 0 0 auto;
  font-weight: 800;
  color: #04302d;
  white-space: nowrap;
}
.search-suggest .ss-empty {
  padding: 16px;
  text-align: center;
  color: #888;
  font-size: 14px;
}

/* =====================================================================
   CATALOG MAP DROPDOWN — категории слева, подкатегории справа
   ===================================================================== */
.site-header .catalog-map-dropdown {
  position: relative !important;
}

.site-header .catalog-map-dropdown::after {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  top: 100%;
  height: 18px;
}

.site-header .catalog-map-menu {
  position: absolute !important;
  top: calc(100% + 14px) !important;
  left: 0 !important;
  width: min(760px, calc(100vw - 32px)) !important;
  min-width: 680px !important;
  min-height: 420px !important;
  display: grid !important;
  grid-template-columns: 250px minmax(0, 1fr) !important;
  gap: 0 !important;
  padding: 10px !important;
  overflow: hidden !important;
  border: 1px solid rgba(49, 216, 220, 0.24) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 16% 8%, rgba(49, 216, 220, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(8, 10, 10, 0.98), rgba(20, 23, 24, 0.96)) !important;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.46),
    0 0 46px rgba(49, 216, 220, 0.10) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(10px) scale(0.985) !important;
  transform-origin: top left !important;
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease !important;
  z-index: 2000 !important;
}

.site-header .catalog-map-dropdown:hover > .catalog-map-menu,
.site-header .catalog-map-dropdown:focus-within > .catalog-map-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

.catalog-map-cats {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.site-header .catalog-map-cat {
  min-height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 0 14px !important;
  border: 1px solid transparent !important;
  border-radius: 14px !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  opacity: 1 !important;
  background: transparent !important;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease, transform 0.16s ease !important;
}

.site-header .catalog-map-cat i {
  color: rgba(49, 216, 220, 0.62);
  font-style: normal;
  font-size: 22px;
  line-height: 1;
}

.site-header .catalog-map-cat:hover,
.site-header .catalog-map-cat.is-active {
  border-color: rgba(49, 216, 220, 0.34) !important;
  background: rgba(49, 216, 220, 0.12) !important;
  color: var(--tiffany) !important;
  transform: translateX(2px);
}

.site-header .catalog-map-cat.is-sale {
  color: var(--tiffany) !important;
}

.catalog-map-panels {
  position: relative;
  min-height: 100%;
  padding: 26px 28px;
}

.catalog-map-panel {
  position: absolute;
  inset: 26px 28px;
  display: grid;
  align-content: start;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 0.16s ease, visibility 0.16s ease, transform 0.16s ease;
}

.catalog-map-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.catalog-map-panel p {
  margin: 0;
  color: var(--tiffany);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-map-panel h3 {
  max-width: 360px;
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: 0;
}

.catalog-map-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.site-header .catalog-map-links a {
  min-height: 46px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.055) !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease, transform 0.16s ease !important;
}

.site-header .catalog-map-links a:hover {
  border-color: rgba(49, 216, 220, 0.48) !important;
  background: rgba(49, 216, 220, 0.12) !important;
  color: var(--tiffany) !important;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .site-header .catalog-map-menu {
    left: 50% !important;
    min-width: 0 !important;
    width: min(620px, calc(100vw - 24px)) !important;
    grid-template-columns: 210px minmax(0, 1fr) !important;
    transform: translateX(-50%) translateY(10px) scale(0.985) !important;
  }

  .site-header .catalog-map-dropdown:hover > .catalog-map-menu,
  .site-header .catalog-map-dropdown:focus-within > .catalog-map-menu {
    transform: translateX(-50%) translateY(0) scale(1) !important;
  }
}

@media (max-width: 760px) {
  .site-header .catalog-map-menu {
    width: calc(100vw - 20px) !important;
    max-height: calc(100vh - 96px) !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    grid-template-columns: 1fr !important;
    border-radius: 20px !important;
  }

  .catalog-map-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .site-header .catalog-map-cat {
    min-height: 42px !important;
    font-size: 14px !important;
  }

  .catalog-map-panels {
    min-height: 260px;
    padding: 20px;
  }

  .catalog-map-panel {
    inset: 20px;
  }

  .catalog-map-panel h3 {
    font-size: 20px;
  }

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

/* Prize roulette */
.roulette-page {
  min-height: 100vh;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 12%, rgba(127, 255, 224, 0.16), transparent 34%),
    radial-gradient(circle at 84% 24%, rgba(214, 222, 228, 0.14), transparent 30%),
    linear-gradient(135deg, #000000 0%, #070909 46%, #101314 100%);
}

.roulette-main {
  overflow: hidden;
}

.roulette-hero {
  position: relative;
  padding: 54px 0 64px;
}

.roulette-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: radial-gradient(circle at 50% 38%, #000 0, transparent 62%);
  opacity: 0.42;
}

.roulette-shell {
  position: relative;
  z-index: 1;
}

.roulette-back {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 0 18px;
  border: 1px solid rgba(127, 255, 224, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.roulette-back:hover {
  color: #7FFFE0;
  border-color: rgba(127, 255, 224, 0.62);
  background: rgba(127, 255, 224, 0.11);
  transform: translateY(-1px);
}

.roulette-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 82px);
}

.roulette-copy {
  max-width: 650px;
}

.roulette-eyebrow {
  margin: 0 0 16px;
  color: #7FFFE0;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.roulette-copy h1 {
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: 0;
}

.roulette-copy h2 {
  max-width: 620px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
}

.roulette-lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.45;
  font-weight: 700;
}

.roulette-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.roulette-spin-button,
.roulette-catalog-link,
.roulette-result-actions a,
.roulette-copy-code {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.roulette-spin-button {
  border: 0;
  color: #020303;
  background: linear-gradient(135deg, #ffffff, #7FFFE0 46%, #16beb0);
  box-shadow:
    0 18px 44px rgba(127, 255, 224, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.roulette-spin-button:hover:not(:disabled),
.roulette-catalog-link:hover,
.roulette-result-actions a:hover,
.roulette-copy-code:hover {
  transform: translateY(-2px);
}

.roulette-spin-button:disabled {
  cursor: default;
  opacity: 0.72;
  box-shadow: none;
}

.roulette-catalog-link,
.roulette-result-actions a,
.roulette-copy-code {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.roulette-catalog-link:hover,
.roulette-result-actions a:hover,
.roulette-copy-code:hover {
  border-color: rgba(127, 255, 224, 0.5);
  color: #7FFFE0;
  background: rgba(127, 255, 224, 0.1);
}

.roulette-visual {
  --roulette-size: clamp(320px, 40vw, 560px);
  --roulette-label-radius: calc(var(--roulette-size) * 0.32);
  position: relative;
  width: var(--roulette-size);
  max-width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  filter: drop-shadow(0 0 42px rgba(127, 255, 224, 0.16));
}

.roulette-wheel-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.roulette-wheel-wrap::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: inherit;
  background:
    conic-gradient(from 110deg, #ffffff, #656b70, #eef3f4, #151819, #cbd1d4, #ffffff);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.55),
    0 0 58px rgba(127, 255, 224, 0.2);
}

.roulette-wheel {
  position: relative;
  width: calc(100% - 24px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  border: 8px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0 0 2px rgba(0, 0, 0, 0.52),
    inset 0 0 40px rgba(0, 0, 0, 0.58),
    0 0 34px rgba(127, 255, 224, 0.12);
  transition: transform 4.8s cubic-bezier(0.12, 0.82, 0.13, 1);
  will-change: transform;
}

.roulette-wheel::before {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02) 45%, transparent 60%);
  pointer-events: none;
}

.roulette-wheel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 25%, transparent 68%, rgba(0, 0, 0, 0.24));
  pointer-events: none;
  mix-blend-mode: screen;
}

.roulette-wheel.is-winner {
  animation: rouletteWinGlow 1.4s ease-in-out 2;
}

.roulette-prize-label {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(34%, 150px);
  margin-left: max(-17%, -75px);
  color: #ffffff;
  font-size: clamp(10px, 1.05vw, 14px);
  font-weight: 950;
  line-height: 1.08;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72);
  transform-origin: 50% 0;
  pointer-events: none;
}

.roulette-hub {
  position: absolute;
  z-index: 5;
  width: 27%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  border: 1px solid rgba(127, 255, 224, 0.3);
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.9), transparent 24%),
    linear-gradient(145deg, #1a1d1f, #050606 56%, #3a4144);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 28px rgba(127, 255, 224, 0.2);
}

.roulette-hub span,
.roulette-hub small {
  display: block;
  color: #7FFFE0;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.06em;
}

.roulette-hub span {
  font-size: clamp(20px, 3vw, 34px);
}

.roulette-hub small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(10px, 1.2vw, 14px);
}

.roulette-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  z-index: 6;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 34px solid #7FFFE0;
  filter:
    drop-shadow(0 8px 14px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 18px rgba(127, 255, 224, 0.58));
  transform: translateX(-50%);
}

.roulette-result {
  max-width: 560px;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(127, 255, 224, 0.24);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 16%, rgba(127, 255, 224, 0.14), transparent 32%),
    rgba(255, 255, 255, 0.07);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.32),
    0 0 44px rgba(127, 255, 224, 0.09);
  backdrop-filter: blur(16px);
}

.roulette-result[hidden] {
  display: none;
}

.roulette-result.is-visible {
  animation: rouletteResultIn 0.32s ease both;
}

.roulette-result-note {
  margin: 0 0 10px;
  color: rgba(127, 255, 224, 0.92);
  font-size: 13px;
  font-weight: 900;
}

.roulette-result h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.08;
  font-weight: 950;
}

.roulette-code-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  font-weight: 800;
}

.roulette-code-row strong {
  padding: 8px 13px;
  border: 1px solid rgba(127, 255, 224, 0.34);
  border-radius: 999px;
  color: #7FFFE0;
  background: rgba(0, 0, 0, 0.24);
  font-size: 18px;
  letter-spacing: 0.06em;
}

.roulette-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.roulette-copy-code {
  border-color: transparent;
  color: #030303;
  background: #7FFFE0;
}

.roulette-rules-section {
  padding: 0 0 70px;
}

.roulette-rules {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(127, 255, 224, 0.18);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.52);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.roulette-rules h2 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 950;
}

.roulette-rules-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.roulette-rules-grid p {
  min-height: 92px;
  display: flex;
  align-items: flex-end;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.055);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.roulette-modal-open {
  overflow: hidden;
}

.roulette-modal[hidden] {
  display: none;
}

.roulette-modal {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.roulette-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.roulette-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(18px);
}

.roulette-modal-dialog {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid rgba(127, 255, 224, 0.25);
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 16%, rgba(127, 255, 224, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(8, 10, 10, 0.98), rgba(22, 24, 24, 0.96));
  box-shadow:
    0 30px 110px rgba(0, 0, 0, 0.68),
    0 0 54px rgba(127, 255, 224, 0.12);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.2s ease;
}

.roulette-modal.is-open .roulette-modal-dialog {
  transform: translateY(0) scale(1);
}

.roulette-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 8;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.roulette-modal-close:hover {
  color: #7FFFE0;
  border-color: rgba(127, 255, 224, 0.42);
  background: rgba(127, 255, 224, 0.1);
}

.roulette-modal-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 440px);
  gap: clamp(24px, 4vw, 56px);
}

.roulette-modal .roulette-copy {
  padding-right: 18px;
}

.roulette-modal .roulette-lead {
  font-size: clamp(15px, 1.3vw, 18px);
}

.roulette-modal .roulette-visual {
  --roulette-size: clamp(300px, 34vw, 430px);
}

.roulette-modal-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.roulette-modal-rules span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 800;
}

.account-prize-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid rgba(127, 255, 224, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 16%, rgba(127, 255, 224, 0.16), transparent 32%),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.account-prize-card span,
.account-prize-code small,
.account-prize-code em {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
}

.account-prize-card h3 {
  margin: 8px 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 950;
}

.account-prize-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.account-prize-code {
  min-width: 190px;
  display: grid;
  justify-items: end;
  gap: 6px;
}

.account-prize-code strong {
  padding: 9px 14px;
  border: 1px solid rgba(127, 255, 224, 0.38);
  border-radius: 999px;
  color: #7FFFE0;
  background: rgba(0, 0, 0, 0.22);
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0.06em;
}

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

@keyframes rouletteWinGlow {
  0%, 100% {
    box-shadow:
      inset 0 0 0 2px rgba(0, 0, 0, 0.52),
      inset 0 0 40px rgba(0, 0, 0, 0.58),
      0 0 34px rgba(127, 255, 224, 0.12);
  }
  50% {
    box-shadow:
      inset 0 0 0 2px rgba(0, 0, 0, 0.52),
      inset 0 0 40px rgba(0, 0, 0, 0.58),
      0 0 64px rgba(127, 255, 224, 0.46);
  }
}

@media (max-width: 1020px) {
  .roulette-grid {
    grid-template-columns: 1fr;
  }

  .roulette-copy {
    max-width: 780px;
    text-align: center;
    justify-self: center;
  }

  .roulette-lead {
    margin-right: auto;
    margin-left: auto;
  }

  .roulette-actions,
  .roulette-result-actions {
    justify-content: center;
  }

  .roulette-result {
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

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

@media (max-width: 620px) {
  .roulette-hero {
    padding: 34px 0 44px;
  }

  .roulette-back {
    margin-bottom: 22px;
  }

  .roulette-copy {
    text-align: left;
  }

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

  .roulette-copy h2 {
    font-size: 34px;
  }

  .roulette-lead {
    margin-left: 0;
  }

  .roulette-actions,
  .roulette-result-actions {
    align-items: stretch;
    justify-content: stretch;
  }

  .roulette-spin-button,
  .roulette-catalog-link,
  .roulette-result-actions a,
  .roulette-copy-code {
    width: 100%;
  }

  .roulette-visual {
    --roulette-size: min(86vw, 360px);
    margin-top: 8px;
  }

  .roulette-pointer {
    top: -5px;
    border-left-width: 14px;
    border-right-width: 14px;
    border-top-width: 28px;
  }

  .roulette-wheel-wrap::before {
    inset: -10px;
  }

  .roulette-wheel {
    width: calc(100% - 18px);
    border-width: 6px;
  }

  .roulette-prize-label {
    width: 33%;
    margin-left: -16.5%;
    font-size: 9px;
  }

  .roulette-result {
    padding: 18px;
    border-radius: 22px;
  }

  .roulette-rules-section {
    padding-bottom: 48px;
  }

  .roulette-rules {
    border-radius: 24px;
  }

  .roulette-rules-grid {
    grid-template-columns: 1fr;
  }

  .roulette-rules-grid p {
    min-height: 72px;
  }

  .roulette-modal {
    padding: 12px;
  }

  .roulette-modal-dialog {
    max-height: 88vh;
    border-radius: 26px;
  }

  .roulette-modal-grid {
    grid-template-columns: 1fr;
  }

  .roulette-modal .roulette-copy {
    padding-right: 0;
  }

  .roulette-modal .roulette-visual {
    --roulette-size: min(78vw, 330px);
  }

  .roulette-modal-rules {
    display: grid;
    grid-template-columns: 1fr;
  }

  .account-prize-card {
    display: grid;
  }

  .account-prize-code {
    min-width: 0;
    justify-items: start;
  }
}

/* Horizontal tech roulette */
.roulette-visual {
  --roulette-size: min(100%, 640px);
  width: min(100%, 680px);
  aspect-ratio: auto;
  min-height: 238px;
  align-content: center;
}

.roulette-wheel-wrap {
  width: min(100%, 640px);
  height: 184px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(127, 255, 224, 0.24);
  background:
    radial-gradient(circle at 50% 50%, rgba(127, 255, 224, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(8, 10, 10, 0.98), rgba(24, 27, 28, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -28px 60px rgba(0, 0, 0, 0.32),
    0 22px 70px rgba(0, 0, 0, 0.44),
    0 0 46px rgba(127, 255, 224, 0.12);
  display: block;
}

.roulette-wheel-wrap::before {
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(127, 255, 224, 0.16), rgba(255, 255, 255, 0.26));
  opacity: 0.28;
  box-shadow: none;
  pointer-events: none;
}

.roulette-wheel-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.86)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%, rgba(0, 0, 0, 0.18));
}

.roulette-wheel {
  position: relative;
  z-index: 2;
  width: max-content;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px calc(50% - 78px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  transition: transform 4.8s cubic-bezier(0.12, 0.82, 0.13, 1);
}

.roulette-wheel::before,
.roulette-wheel::after,
.roulette-hub {
  display: none;
}

.roulette-prize-label {
  position: relative;
  left: auto;
  top: auto;
  z-index: 3;
  flex: 0 0 156px;
  width: 156px;
  height: 118px;
  margin: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 9px;
  padding: 16px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 0%, rgba(127, 255, 224, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 34px rgba(0, 0, 0, 0.26);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.12;
  text-align: center;
  text-shadow: none;
  transform: none !important;
  transform-origin: center;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.roulette-prize-label span,
.roulette-prize-label small {
  display: block;
}

.roulette-prize-label small {
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(127, 255, 224, 0.92);
  background: rgba(0, 0, 0, 0.28);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.roulette-prize-label.is-winning {
  border-color: rgba(127, 255, 224, 0.72);
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 8%, rgba(127, 255, 224, 0.28), transparent 54%),
    linear-gradient(145deg, rgba(127, 255, 224, 0.17), rgba(255, 255, 255, 0.06));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 0 0 1px rgba(127, 255, 224, 0.16),
    0 0 34px rgba(127, 255, 224, 0.36),
    0 18px 44px rgba(0, 0, 0, 0.32);
  transform: translateY(-2px) scale(1.03) !important;
}

.roulette-pointer {
  top: 14px;
  bottom: 14px;
  left: 50%;
  width: 2px;
  height: auto;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, #7FFFE0 18%, #7FFFE0 82%, transparent);
  filter:
    drop-shadow(0 0 10px rgba(127, 255, 224, 0.72))
    drop-shadow(0 0 26px rgba(127, 255, 224, 0.42));
  transform: translateX(-50%);
}

.roulette-pointer::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #7FFFE0;
  box-shadow: 0 0 22px rgba(127, 255, 224, 0.62);
  transform: translateX(-50%);
}

.roulette-wheel.is-winner {
  animation: none;
}

.roulette-modal-grid {
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1.05fr);
}

.roulette-modal .roulette-visual {
  --roulette-size: min(100%, 640px);
  width: min(100%, 660px);
}

@media (max-width: 1020px) {
  .roulette-modal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .roulette-visual,
  .roulette-modal .roulette-visual {
    width: 100%;
    min-height: 204px;
  }

  .roulette-wheel-wrap {
    width: 100%;
    height: 160px;
    border-radius: 22px;
  }

  .roulette-wheel {
    gap: 10px;
    padding: 18px calc(50% - 66px);
  }

  .roulette-prize-label {
    flex-basis: 132px;
    width: 132px;
    height: 104px;
    padding: 13px 10px;
    border-radius: 18px;
    font-size: 12px;
  }
}

/* =====================================================================
   CATALOG MEGA — «карта каталога»: слева категории, справа подкатегории
   ===================================================================== */
.dropdown-menu.catalog-mega {
  display: flex;
  width: 660px;
  max-width: 92vw;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
}
.catalog-mega .cm-cats {
  flex: 0 0 236px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
}
.catalog-mega .cm-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.catalog-mega .cm-cat i { font-style: normal; opacity: 0.45; font-size: 18px; }
.catalog-mega .cm-cat:hover,
.catalog-mega .cm-cat.active { background: var(--tiffany); color: #04302d; }
.catalog-mega .cm-cat.active i { opacity: 0.8; }
.catalog-mega .cm-cat-sale { color: var(--tiffany); }
.catalog-mega .cm-cat-sale:hover,
.catalog-mega .cm-cat-sale.active { color: #04302d; }

.catalog-mega .cm-panel { flex: 1 1 auto; padding: 20px 24px; min-height: 240px; }
.catalog-mega .cm-sub { display: none; }
.catalog-mega .cm-sub.active { display: block; }
.catalog-mega .cm-sub h4 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}
.catalog-mega .cm-sub a {
  display: block;
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}
.catalog-mega .cm-sub a:hover { color: var(--tiffany); }

@media (max-width: 760px) {
  .dropdown-menu.catalog-mega { flex-direction: column; width: 100%; }
  .catalog-mega .cm-cats { flex-basis: auto; }
  .catalog-mega .cm-cat i { display: none; }
  .catalog-mega .cm-panel { display: none; }
}

/* «Стиль» боковой плитки (accent/dark) важнее декоративного фона рулетки —
   цветом управляют из CRM («Боковые плитки» → Стиль) */
.promo-mini-accent[data-roulette-open] {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #12c6be 0%, #0a9a92 56%, #07645f 100%);
}
.promo-mini-dark[data-roulette-open] {
  background: #0b1413;
  border-color: rgba(10, 186, 181, 0.35);
}
.promo-mini-dark[data-roulette-open] h3 { color: #fff; }
.promo-mini-dark[data-roulette-open] p { color: #0ABAB5; }

/* Баннер активной акции на главной */
.campaign-strip { padding: 10px 0 2px; }
.campaign-strip-inner {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 24px; border-radius: 20px;
  background: linear-gradient(120deg, #0ABAB5 0%, #06827c 100%);
  color: #fff; text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.campaign-strip-inner:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(10, 186, 181, 0.28); }
.campaign-strip-badge {
  flex: 0 0 auto; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.22); font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.campaign-strip-title { flex: 0 0 auto; font-size: 20px; font-weight: 900; letter-spacing: -0.4px; }
.campaign-strip-sub { flex: 1 1 auto; font-size: 15px; opacity: 0.92; }
.campaign-strip-cta { flex: 0 0 auto; font-weight: 800; white-space: nowrap; }
@media (max-width: 700px) {
  .campaign-strip-inner { flex-wrap: wrap; gap: 8px 12px; padding: 14px 18px; }
  .campaign-strip-title { font-size: 18px; }
  .campaign-strip-sub { flex-basis: 100%; }
}

/* ===================== МОБИЛЬНОЕ МЕНЮ (бургер) ======================= */
@media (max-width: 768px) {
  body.menu-open { overflow: hidden; }

  .site-header.nav-open .main-nav {
    display: block !important;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    background: #0b1413;
    padding: 14px 18px 28px;
    z-index: 400;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-header.nav-open .main-nav .nav-dropdown { display: block; }
  .site-header.nav-open .main-nav .nav-catalog {
    display: block;
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
    font-size: 17px;
  }
  /* мега-меню каталога → обычный вертикальный список */
  .site-header.nav-open .catalog-mega {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    pointer-events: auto !important;
  }
  .site-header.nav-open .catalog-mega .cm-panel { display: none !important; }
  .site-header.nav-open .catalog-mega .cm-cats {
    width: 100% !important;
    flex-basis: auto !important;
    gap: 2px !important;
    background: transparent !important;
    padding: 0 !important;
  }
  .site-header.nav-open .catalog-mega .cm-cat {
    color: #fff;
    font-size: 16px;
    padding: 14px 12px;
    border-radius: 10px;
  }
  .site-header.nav-open .catalog-mega .cm-cat i { display: none; }
  .site-header.nav-open .catalog-mega .cm-cat:hover,
  .site-header.nav-open .catalog-mega .cm-cat.active {
    background: rgba(10, 186, 181, 0.15);
    color: #0abab5;
  }

  /* бургер → крестик */
  .burger span { transition: transform 0.2s ease, opacity 0.2s ease; }
  .site-header.nav-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .site-header.nav-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
}

/* Мобильное меню — универсально для любой структуры выпадашки каталога */
@media (max-width: 768px) {
  .site-header.nav-open .main-nav .dropdown-menu {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    pointer-events: auto !important;
  }
  .site-header.nav-open .main-nav .dropdown-menu .cm-panel { display: none !important; }
  .site-header.nav-open .main-nav .dropdown-menu a {
    display: block !important;
    color: #fff !important;
    font-size: 16px;
    padding: 13px 12px;
    border-radius: 10px;
  }
  .site-header.nav-open .main-nav .dropdown-menu a:hover {
    background: rgba(10, 186, 181, 0.15);
    color: #0abab5 !important;
  }
}

/* Мобильное меню — оставляем только ссылки-категории (скрываем описания/заголовки любой структуры) */
@media (max-width: 768px) {
  .site-header.nav-open .main-nav .dropdown-menu h3,
  .site-header.nav-open .main-nav .dropdown-menu h4,
  .site-header.nav-open .main-nav .dropdown-menu p,
  .site-header.nav-open .main-nav .cm-panel { display: none !important; }
}

/* =====================================================================
   IMMERSIVE POLISH — микро-взаимодействия и глубина (Emil Kowalski)
   Принципы: точные свойства перехода, ease-out на входе, :active-отклик,
   «ничто не появляется из ничего». Всё под prefers-reduced-motion.
   ===================================================================== */
:root { --ease-out: cubic-bezier(0.22, 1, 0.36, 1); --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); }

html { scroll-behavior: smooth; }
::selection { background: rgba(10, 186, 181, 0.28); color: #fff; }

/* Фокус-кольцо для доступности и аккуратности */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #0ABAB5;
  outline-offset: 2px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: no-preference) {

  /* — Кнопки: мгновенный отклик на нажатие + плавный ховер — */
  .primary-button, .sale-button, .promo-cta, .campaign-strip-inner,
  .hero-arrow, .news-prev, .news-next, .promo-arrow,
  button.primary, .add-to-cart, [data-add-cart], .cart-button, .icon-button {
    transition: transform 0.18s var(--ease-out), box-shadow 0.25s ease, background-color 0.2s ease, color 0.2s ease;
  }
  .primary-button:hover, .sale-button:hover, .promo-cta:hover { transform: translateY(-2px); }
  .primary-button:active, .sale-button:active, .promo-cta:active,
  button.primary:active, [data-add-cart]:active, .campaign-strip-inner:active { transform: scale(0.97); }
  .icon-button:hover, .cart-button:hover { transform: translateY(-1px) scale(1.06); }
  .icon-button:active, .cart-button:active { transform: scale(0.92); }
  .hero-arrow:active, .promo-arrow:active, .news-prev:active, .news-next:active { transform: scale(0.9); }

  /* — Карточки товаров/категорий: подъём + мягкий зум картинки — */
  .product-card, .catalog-product-card, .showcase-card, .news-card {
    transition: transform 0.34s var(--ease-out), box-shadow 0.34s ease;
  }
  .product-card:hover, .catalog-product-card:hover, .showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(3, 3, 3, 0.14), 0 0 0 1px rgba(10, 186, 181, 0.14);
  }
  .product-card .product-image img, .catalog-product-card .product-image img,
  .product-card img, .catalog-product-card img, .category-card img, .showcase-card img {
    transition: transform 0.55s var(--ease-out);
    will-change: transform;
  }
  .product-card:hover img, .catalog-product-card:hover img,
  .category-card:hover img, .showcase-card:hover img { transform: scale(1.06); }

  /* — Reveal-on-scroll: та же кривая, чуть спокойнее — */
  .reveal { transition-timing-function: var(--ease-out) !important; transition-duration: 0.85s !important; }

  /* — Мобильное меню: плавный въезд, а не мгновенное появление — */
  .site-header.nav-open .main-nav { animation: navSlideIn 0.3s var(--ease-out) both; }
  @keyframes navSlideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
  .site-header.nav-open .main-nav .dropdown-menu a { animation: menuItemIn 0.32s var(--ease-out) both; }
  .site-header.nav-open .main-nav .dropdown-menu a:nth-child(1) { animation-delay: 0.02s; }
  .site-header.nav-open .main-nav .dropdown-menu a:nth-child(2) { animation-delay: 0.05s; }
  .site-header.nav-open .main-nav .dropdown-menu a:nth-child(3) { animation-delay: 0.08s; }
  .site-header.nav-open .main-nav .dropdown-menu a:nth-child(4) { animation-delay: 0.11s; }
  .site-header.nav-open .main-nav .dropdown-menu a:nth-child(n+5) { animation-delay: 0.14s; }
  @keyframes menuItemIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

  /* — Ссылки навигации: плавный цвет — */
  .main-nav a, .site-footer a, .cm-cat { transition: color 0.2s ease, background-color 0.2s ease; }
}

/* Уважаем отключённую анимацию */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ===================== ЛИЧНЫЙ КАБИНЕТ — маркетплейс-стиль ============= */
.acc-hero {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px 40px;
  margin-bottom: 44px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 22% 42%, rgba(10, 186, 181, 0.18), transparent 46%),
    linear-gradient(120deg, #eef3f2 0%, #f7faf9 100%);
}
.acc-hero-mascot { position: relative; display: grid; place-items: center; }
.acc-hero-mascot::before {
  content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 186, 181, 0.3), transparent 62%); filter: blur(8px);
}
.acc-hero-mascot img { position: relative; width: 100%; max-width: 290px; height: auto; object-fit: contain; }
.acc-hero-mascot img.is-fallback { aspect-ratio: 1; object-fit: cover; object-position: center 42%; border-radius: 26px; }

.acc-hero-titlerow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.acc-hero-main h1 { margin: 0; font-size: clamp(28px, 3.4vw, 44px); font-weight: 900; letter-spacing: -1px; color: #030303; }
.acc-badge { padding: 8px 16px; border-radius: 999px; background: #0b1413; color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; }
.acc-email { margin: 8px 0 22px; color: #7a7a7a; font-size: 15px; }

.acc-metrics { display: flex; align-items: flex-end; gap: 34px; margin-bottom: 24px; flex-wrap: wrap; }
.acc-metric span { display: block; font-size: 14px; color: #8a8a8a; margin-bottom: 2px; }
.acc-metric b { font-size: 34px; font-weight: 900; color: #030303; letter-spacing: -1px; }

.acc-progress { margin-bottom: 26px; max-width: 740px; }
.acc-progress-track { position: relative; height: 8px; border-radius: 999px; background: #e2e8e7; overflow: hidden; }
.acc-progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #0ABAB5, #16d3cc); }
.acc-progress-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: #9a9a9a; }

.acc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.acc-tile { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 22px 24px; border-radius: 22px; background: #fff; border: 1px solid #eaefee; text-decoration: none; text-align: left; cursor: pointer; transition: transform 0.22s ease, box-shadow 0.22s ease; }
.acc-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08); }
.acc-tile b { font-size: 20px; font-weight: 900; color: #030303; }
.acc-tile span { font-size: 14px; color: #8a8a8a; }
.acc-tile-accent { background: linear-gradient(135deg, #0ABAB5 0%, #06827c 100%); border: none; }
.acc-tile-accent b { color: #fff; }
.acc-tile-accent span { color: rgba(255, 255, 255, 0.9); }

.acc-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; border-radius: 22px; background: linear-gradient(120deg, #0ABAB5 0%, #08928c 100%); text-decoration: none; }
.acc-banner b { display: block; font-size: 24px; font-weight: 900; color: #fff; }
.acc-banner span { color: rgba(255, 255, 255, 0.9); font-size: 14px; }
.acc-banner-btn { flex: 0 0 auto; padding: 13px 22px; border-radius: 14px; background: #0b1413; color: #fff; font-weight: 700; white-space: nowrap; }

.acc-layout { display: grid; grid-template-columns: 250px 1fr; gap: 44px; align-items: start; }
.acc-side { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 100px; }
.acc-nav-item { text-align: left; background: none; border: none; padding: 9px 0; font-size: 22px; font-weight: 800; color: #030303; cursor: pointer; text-decoration: none; letter-spacing: -0.4px; transition: color 0.2s ease; }
.acc-nav-item:hover { color: #0ABAB5; }
.acc-nav-item.active::after { content: " —"; color: #0ABAB5; }
.acc-nav-sub { font-size: 15px; font-weight: 600; color: #8a8a8a; padding: 6px 0; }
.acc-nav-sub:hover { color: #0ABAB5; }
.acc-support { margin-top: 26px; }
.acc-support p { margin: 0 0 4px; font-size: 13px; color: #aaa; }
.acc-support a { font-size: 16px; font-weight: 700; color: #030303; text-decoration: none; }
.acc-support a:hover { color: #0ABAB5; }

.acc-content .cab-panel h2 { font-size: 26px; font-weight: 900; margin: 0 0 18px; color: #030303; letter-spacing: -0.5px; }

.acc-bought { margin-top: 44px; padding-top: 32px; border-top: 1px solid #ececec; }
.acc-bought-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.acc-bought-head h2 { font-size: 24px; font-weight: 900; margin: 0; }
.acc-bought-head a { color: #0ABAB5; font-weight: 700; text-decoration: none; }
.acc-bought-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.acc-rec-card { text-decoration: none; color: inherit; }
.acc-rec-img { aspect-ratio: 1; border-radius: 16px; background: #f5f7f6; overflow: hidden; display: grid; place-items: center; }
.acc-rec-img img { width: 84%; height: 84%; object-fit: contain; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.acc-rec-card:hover .acc-rec-img img { transform: scale(1.06); }
.acc-rec-info span { display: block; font-size: 12px; color: #9a9a9a; text-transform: uppercase; margin: 10px 0 4px; }
.acc-rec-info h4 { margin: 0 0 8px; font-size: 14px; font-weight: 700; line-height: 1.3; color: #111; }
.acc-rec-price b { font-size: 16px; font-weight: 900; color: #030303; }
.acc-rec-price s { color: #aaa; font-size: 13px; margin-left: 6px; }

@media (max-width: 900px) {
  .acc-hero { grid-template-columns: 1fr; padding: 26px 22px; text-align: center; }
  .acc-hero-mascot img { max-width: 190px; }
  .acc-hero-titlerow, .acc-metrics { justify-content: center; }
  .acc-tiles { grid-template-columns: 1fr; }
  .acc-banner { flex-direction: column; text-align: center; }
  .acc-layout { grid-template-columns: 1fr; }
  .acc-side { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 20px; }
  .acc-nav-item { font-size: 17px; }
  .acc-support { width: 100%; margin-top: 8px; }
}

/* НОВИНКИ И ХИТЫ: КОМПАКТНАЯ ГОРИЗОНТАЛЬНАЯ ЛЕНТА */
.news-carousel {
  margin-top: 0 !important;
  padding: 18px 0 22px !important;
  background: transparent !important;
}

.news-carousel > .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 14px;
  padding: 20px 22px 22px;
  overflow: hidden;
  border: 1px solid rgba(49, 216, 220, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(115deg, rgba(49, 216, 220, 0.12), transparent 26%),
    #050909;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
}

.news-carousel .news-head {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  margin: 0 !important;
  text-align: left !important;
}

.news-carousel .news-head h2 {
  margin: 0;
  font-size: 30px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.news-carousel .news-head p {
  max-width: none;
  margin: 6px 0 0 !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}

.news-carousel .news-nav {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  display: flex;
  gap: 8px;
  margin: 0 !important;
}

.news-carousel .news-btn {
  width: 38px;
  height: 38px;
  font-size: 16px;
  box-shadow: none;
}

#productsGrid.news-track {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 0 !important;
  overflow-x: auto;
  overflow-y: hidden;
}

#productsGrid.news-track .product-card {
  flex: 0 0 240px !important;
  width: 240px !important;
  height: 330px !important;
  min-width: 240px !important;
  min-height: 330px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: #111 !important;
  opacity: 1 !important;
  transform: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16) !important;
  scroll-snap-align: start;
  transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

#productsGrid.news-track .product-card:hover,
#productsGrid.news-track .product-card.is-center,
#productsGrid.news-track .product-card.is-center:hover {
  opacity: 1 !important;
  transform: translateY(-2px) !important;
  background: #fff !important;
  color: #111 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22) !important;
}

#productsGrid.news-track .product-image {
  width: 100% !important;
  height: 200px !important;
  min-width: 100% !important;
  flex: 0 0 200px !important;
  align-self: stretch;
  border-radius: 0 !important;
  background: #f2f4f4 !important;
}

#productsGrid.news-track .product-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  object-fit: cover !important;
  filter: none !important;
}

#productsGrid.news-track .product-card-badge {
  top: 12px;
  left: 12px;
  min-height: 24px;
  padding: 4px 9px;
  font-size: 9px;
}

#productsGrid.news-track .product-info {
  min-width: 0 !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 14px !important;
}

#productsGrid.news-track .product-info > p,
#productsGrid.news-track .product-stock-status {
  display: none !important;
}

#productsGrid.news-track .product-info h3 {
  min-height: 36px !important;
  margin: 0 !important;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #161616 !important;
  font-size: 14px !important;
  line-height: 1.22 !important;
  font-weight: 800 !important;
}

#productsGrid.news-track .product-info h3 a { color: inherit !important; }

#productsGrid.news-track .product-bottom {
  margin-top: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

#productsGrid.news-track .product-bottom strong,
#productsGrid.news-track .product-card.is-center .product-bottom strong {
  color: #111 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  white-space: nowrap;
}

#productsGrid.news-track .product-bottom button {
  flex: 0 0 40px;
  width: 40px !important;
  height: 40px !important;
  display: grid;
  place-items: center;
  border-radius: 12px !important;
  background: var(--tiffany) !important;
  color: #041a1a !important;
  font-size: 15px !important;
  box-shadow: 0 8px 20px rgba(49, 216, 220, 0.28) !important;
}

@media (max-width: 760px) {
  .news-carousel { padding: 12px 0 16px !important; }
  .news-carousel > .container {
    width: min(100% - 20px, var(--container));
    padding: 17px 14px 16px;
    border-radius: 20px;
  }
  .news-carousel .news-head h2 { font-size: 25px !important; }
  .news-carousel .news-head p { display: none; }
  .news-carousel .news-btn { width: 34px; height: 34px; }
  #productsGrid.news-track .product-card {
    flex-basis: 220px !important;
    width: 220px !important;
    min-width: 220px !important;
    height: 306px !important;
    min-height: 306px !important;
  }
  #productsGrid.news-track .product-image {
    width: 100% !important;
    min-width: 100% !important;
    height: 180px !important;
    flex-basis: 180px !important;
  }
}

/* ВСЕ ТОВАРЫ И СТАТЬИ НА ГЛАВНОЙ */
.home-catalog-feed {
  padding: 22px 0 46px;
  background: #f7fbfb;
}

.home-mixed-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.home-products-loading {
  grid-column: 1 / -1;
  min-height: 150px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(3, 3, 3, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  color: #737b7b;
  font-size: 14px;
  font-weight: 800;
}

.home-product-card {
  position: relative;
  min-width: 0;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(3, 3, 3, .09);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(14, 30, 30, .06);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.home-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 186, 181, .46);
  box-shadow: 0 20px 46px rgba(14, 30, 30, .11);
}

.home-product-visual {
  position: relative;
  height: 210px;
  display: block;
  overflow: hidden;
  background: radial-gradient(circle at 72% 70%, rgba(10, 186, 181, .20), transparent 37%), linear-gradient(145deg, #fff, #ededed);
}

.home-product-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: none;
  transition: transform .24s ease;
}

.home-product-card:hover .home-product-visual img {
  transform: scale(1.04);
}

.home-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-height: 25px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #050505;
  color: #fff;
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.home-product-badge.sale {
  background: var(--tiffany);
  color: #041818;
}

.home-product-info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px;
}

.home-product-meta {
  margin-bottom: 5px;
  overflow: hidden;
  color: #858d8d;
  font-size: 9px;
  line-height: 1.25;
  font-weight: 800;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-product-brand {
  margin-bottom: 4px;
  color: var(--tiffany-dark);
  font-size: 10px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.home-product-info h3 {
  display: -webkit-box;
  min-height: 35px;
  margin: 0 0 7px;
  overflow: hidden;
  color: #090d0d;
  font-size: 14px;
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-product-sku {
  margin-bottom: 8px;
  color: #9a9f9f;
  font-size: 9px;
  font-weight: 700;
}

.home-product-card .product-stock-status {
  margin: 0 0 8px;
  padding: 6px 8px;
  font-size: 10px;
}

.home-product-specs {
  min-height: 31px;
  display: grid;
  gap: 3px;
  margin-bottom: 10px;
  overflow: hidden;
}

.home-product-specs span {
  overflow: hidden;
  color: #666d6d;
  font-size: 9px;
  line-height: 1.25;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-product-specs span::before {
  content: "";
  width: 4px;
  height: 4px;
  display: inline-block;
  margin: 0 5px 2px 0;
  border-radius: 50%;
  background: var(--tiffany);
}

.home-product-bottom {
  margin-top: auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
}

.home-product-prices {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.home-product-prices strong {
  color: #090d0d;
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.home-product-prices del {
  color: #a0a5a5;
  font-size: 10px;
  line-height: 1;
}

.home-product-card .catalog-cart-btn {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--tiffany);
  color: #041818;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(10, 186, 181, .28);
}

.home-product-card .catalog-cart-btn:disabled {
  width: auto;
  padding: 0 9px;
  border-radius: 10px;
  background: #e1e5e5;
  color: #777;
  font-size: 9px;
  box-shadow: none;
  cursor: not-allowed;
}

.home-mixed-grid .home-feed-article {
  min-width: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(49, 216, 220, .25);
  border-radius: 18px;
  background: linear-gradient(145deg, #071212 0%, #0a2423 100%);
  color: #fff;
  box-shadow: 0 14px 36px rgba(14, 30, 30, .10);
}

.home-mixed-grid .home-feed-article::before {
  display: none;
}

.home-mixed-grid .home-feed-article .article-tag {
  width: fit-content;
  margin: 0 0 18px;
  color: var(--tiffany);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-mixed-grid .home-feed-article h3 {
  margin: 0 0 13px;
  color: #fff;
  font-size: 20px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.home-mixed-grid .home-feed-article p {
  display: -webkit-box;
  margin: 0 0 18px;
  overflow: hidden;
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
}

.home-mixed-grid .home-feed-article .article-link {
  margin-top: auto;
  color: var(--tiffany);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .home-mixed-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .home-mixed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .home-catalog-feed { padding: 16px 0 32px; }
  .home-mixed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-product-visual { height: 180px; }
  .home-product-info { padding: 12px; }
}

@media (max-width: 480px) {
  .home-mixed-grid { grid-template-columns: 1fr; }
}
