@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: 1180px;
  --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-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-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-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;

  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;

  background-position: center center, center center !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, center 35% !important;
}
/* УБИРАЕМ ХРОМИРОВАННЫЙ БЛИК С КАРТОЧЕК */

.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 .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; }
}

/* приоритет атрибута 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: x mandatory;
  scroll-behavior: smooth;
  padding: 28px max(16px, calc((100% - 300px) / 2));
  scrollbar-width: none;
}
.news-track::-webkit-scrollbar { display: 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: 100dvh !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: 128px !important;
  padding-left: 60px !important;
}
@media (max-width: 720px) {
  .hero .hero-content {
    padding-top: 104px !important;
    padding-left: 28px !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;
  }
}
