/* =========================
   Base / Reset
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --color-white: #fff;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  background: #fff;
  box-sizing: border-box;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  cursor: pointer;
}

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

a:hover {
  text-decoration: underline;
}

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 24px 0;
}

/* =========================
   Typography
========================= */
h1 {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
}
h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
}
h3 {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
}
h4 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}
h5 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}
h6 {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}

p {
  margin-top: 12px;
}
p:first-child {
  margin-top: 0;
}

small {
  font-size: 0.875rem;
  color: #555;
}

/* =========================
   Layout helpers
========================= */
.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: block;
}

.section {
  margin: 40px 0;
}

.grid {
  display: grid;
  gap: 24px;
}

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

@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section {
    padding: 40px 0;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  background: transparent;
}

/* сам фон, который будем "включать" */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  /* градиенты слоями — получится похоже на твой */
  background: radial-gradient(
      120% 140% at 0% 100%,
      rgba(35, 90, 55, 0.45) 0%,
      rgba(0, 0, 0, 0) 60%
    ),
    radial-gradient(
      120% 140% at 100% 0%,
      rgba(10, 20, 40, 0.65) 0%,
      rgba(0, 0, 0, 0) 55%
    ),
    linear-gradient(135deg, #081420 0%, #0b1617 45%, #060a12 100%);

  opacity: 0; /* скрыт пока не проскроллили */
  transition: opacity 0.25s ease;
}

/* класс добавляется при прокрутке */
.site-header.is-scrolled::before {
  opacity: 1;
}

/* по желанию — эффект "стекла" */
.site-header.is-scrolled {
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.header__wrapper {
  background-image: url("../img/minimalistskii-dizain-gostinoi.jpg");
  background-size: cover;
  background-position: center bottom;
height: clamp(500px, 60vw, 1200px);
}

.nav {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  max-width: 120px;
  min-height: auto;
}

.header__logo a img {
  width: 120px;
  height: auto;
}

.header__menu--ul {
  display: flex;
  gap: 40px;
}

.header__menu--ul a {
  color: var(--color-white);
  font-size: 1.2em;
  text-decoration: none;
}

.info__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  color: var(--color-white);
  border: 1px solid #000;
  background-image: url("../img/glavnay.png");
  background-position: center bottom;
  background-size: cover;
  padding: 60px;
  border-radius: 18px;
}

.info__h2 {
  justify-items: center;
  align-content: center;
}

.info__h2 h2 {
  text-align: center;
  font-size: clamp(40px, 3vw, 46px);
  max-width: 340px;
text-transform: uppercase;
}

.info__text{
	padding: 1rem;
	border-radius: 18px;
	background-color: rgba(255, 255, 255, 0.15);
}

.info__text p {
  font-size: 1.1em;
//color: rgba(152, 222, 0, 0.95);
}

.wrapper__card h2 {
  margin: 0 auto 48px;
  max-width: 900px;
  text-align: center;
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1.05;
  font-weight: 800;
}

/* сетка карточек */
.card__block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* карточка */
.card__info {
  background: var(--color-white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 22px;
  transform: translateZ(0);
  transition: transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
  align-content: start;
}

/* hover — чуть увеличивается */
.card__info:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

/* блок под картинку */
.card__image {
  width: 100%;
  object-fit: cover;
  display: block;
height: clamp(162px, 20vw, 271px);
}

/* контент */
.card__content {
  padding: 0 18px 18px 22px;
  display: grid;
  gap: 20px;
}

.card__content h3 {
  margin: 0;
  font-size: 1.3em;
  line-height: 1.2;
  font-weight: 800;
}

.card__content p {
  margin: 0;
  font-size: 1.1em;
  line-height: 1.45;
  color: #3a3a3a;
}

/* адаптив: до 768 — 1 карточка в ряд на всю ширину */
@media (max-width: 768px) {
  .wrapper__card {
    padding: 56px 0;
  }

.card__image{
	height: auto;
}

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

  .card__content h3 {
    font-size: 20px;
  }

	.wrapper__card--index{
	padding-top: 0 ;
}

}

/* на очень больших экранах "уменьшаем" визуально карточки:
   сетка остаётся, но контент не растягивается на весь монитор */
@media (min-width: 1200px) {
  .card__block {
    max-width: 1200px;
    margin: 0 auto;
  }
}

@media (hover: hover) {
  .card__info:hover {
    transform: scale(1.03);
  }
}

.wrapper__paints h2 {
  text-align: center;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  padding: 40px 0;
}

.blocks__paints-wrapper {
  display: grid;
  gap: 22px;
}

/* сама карточка */
.block__paint {
  position: relative;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: center;

  padding: 36px 44px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);

  overflow: hidden;

  /* разные оттенки будем менять этими переменными */
  --g1: rgba(40, 90, 60, 0.55); /* зелёное пятно */
  --g2: rgba(10, 25, 45, 0.75); /* синее пятно */
  --base1: #060a12;
  --base2: #0b1217;
}

.block__paint::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background: radial-gradient(
      120% 160% at 40% 20%,
      var(--g1) 0%,
      rgba(0, 0, 0, 0) 55%
    ),
    radial-gradient(140% 160% at 0% 100%, var(--g2) 0%, rgba(0, 0, 0, 0) 60%),
    linear-gradient(135deg, var(--base1) 0%, var(--base2) 45%, #04070d 100%);

  opacity: 1;
}

.block__paint > * {
  position: relative;
  z-index: 1;
}

/* чередование как на фото: 2-я, 4-я картинка справа */
.block__paint:nth-child(even) {
  grid-template-columns: 1fr 420px;
}

.block__paint:nth-child(even) .paint__media {
  order: 2;
}
.block__paint:nth-child(even) .paint__content {
  order: 1;
}

/* отличия по карточкам */
.block__paint:nth-child(1) {
  --g1: rgba(45, 120, 75, 0.55);
  --g2: rgba(10, 30, 60, 0.75);
}

.block__paint:nth-child(2) {
  --g1: rgba(80, 110, 55, 0.45);
  --g2: rgba(35, 25, 70, 0.8);
}

.block__paint:nth-child(3) {
  --g1: rgba(25, 95, 90, 0.5);
  --g2: rgba(15, 35, 55, 0.8);
}

.block__paint:nth-child(4) {
  --g1: rgba(90, 75, 30, 0.35); /* чуть в тёплый */
  --g2: rgba(10, 25, 55, 0.85);
}

.block__paint:nth-child(5) {
  --g1: rgba(35, 130, 110, 0.45);
  --g2: rgba(20, 40, 70, 0.8);
}

.block__paint:nth-child(6) {
  --g1: rgba(120, 80, 35, 0.45);
  --g2: rgba(25, 35, 65, 0.85);
}

.block__paint:nth-child(7) {
  --g1: rgba(70, 50, 120, 0.45);
  --g2: rgba(15, 25, 55, 0.9);
}

/* картинка банки */
.paint__media img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.18));
}

/* контент */
.paint__content h3 {
  margin: 0 0 10px;
  font-size: clamp(18px, 3vw, 46px);
  line-height: 1.02;
  letter-spacing: 0.5px;
  font-weight: 800;
  color: var(--color-white);
}

.paint__subtitle {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.4;
  color: #222;
}

.paint__subtitle .sep {
  display: inline-block;
  margin: 0 10px;
  color: rgba(0, 0, 0, 0.35);
}

/* список с красными точками */
.paint__list {
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.paint__list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.45;
  color: #222;
}

.paint__list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.4em;
  background: rgba(152, 222, 0, 0.95);
}

/* кнопки */
.paint__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.paint__subtitle,
.paint__list li {
  color: rgba(255, 255, 255, 0.85);
}

.paint__subtitle .sep {
  color: rgba(255, 255, 255, 0.35);
}

.btn--outline {
  border: 1px solid rgba(152, 222, 0, 0.95);
  color: var(--color-white);
}

.btn--primary {
  background: linear-gradient(90deg, #f06b5c, #d94a3a);
  color: var(--color-white);
}
.grey__background {
  background-color: rgb(248, 248, 248);
}

/* адаптив */
@media (max-width: 992px) {
  .block__paint,
  .block__paint:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px 22px;
  }

  .block__paint:nth-child(even) .paint__media {
    order: 0;
  }

  .paint__media img {
    max-width: 340px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .btn {
    width: 100%;
    min-width: 0;
  }
}

footer {
  background: radial-gradient(
      120% 140% at 0% 100%,
      rgba(35, 90, 55, 0.45) 0%,
      rgba(0, 0, 0, 0) 60%
    ),
    radial-gradient(
      120% 140% at 100% 0%,
      rgba(10, 20, 40, 0.65) 0%,
      rgba(0, 0, 0, 0) 55%
    ),
    linear-gradient(135deg, #081420 0%, #0b1617 45%, #060a12 100%);
}

.footer__menu {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
}

.section__footer {
  margin-bottom: 0;
}

.footer_logo a img {
  width: 220px;
  height: auto;
}

.footer__menu--ul {
  display: flex;
  gap: 40px;
}

.footer__menu--ul a {
  color: var(--color-white);
  font-size: 1.1em;
  text-decoration: none;
}

.footer__wrapper {
  display: grid;
  gap: 20px;
}

.footer_copyrait {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1em;
}

.menu .header__menu--ul a:hover,
.footer__menu--ul a:hover {
  color: rgba(152, 222, 0, 0.95);
}

.header__wrapper-all {
  background: none;
  height: 85px;
}

.header__wrapper-all .site-header {
  background: radial-gradient(
      120% 140% at 0% 100%,
      rgba(35, 90, 55, 0.45) 0%,
      rgba(0, 0, 0, 0) 60%
    ),
    radial-gradient(
      120% 140% at 100% 0%,
      rgba(10, 20, 40, 0.65) 0%,
      rgba(0, 0, 0, 0) 55%
    ),
    linear-gradient(135deg, #081420 0%, #0b1617 45%, #060a12 100%);
}

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

.news-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.news-card__link {
  display: block;
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.news-card__thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  margin-bottom: 14px;
}

.news-card__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
}

.news-card__meta {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 10px;
}

.news-card__excerpt {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.75);
}

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

.body {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.info__h2 span {
  color: rgba(152, 222, 0, 0.95);
}

.info__text-company {
  font-size: 1.5em;
  justify-items: center;
  align-content: center;
}

.wrapper__success {
  display: grid;
  gap: 20px;
  margin: 20px 0;
}

.success {
  display: grid;
  gap: 20px;
  grid-template-columns: 50px 1fr;
  border: 1px solid rgba(152, 222, 0, 0.95);
  padding: 32px;
  border-radius: 32px;
}

.success-text {
  align-content: center;
  font-size: 1.2em;
}

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

/* карточка */
.product-card {
  background: var(--color-white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 22px;
  transform: translateZ(0);
  transition: transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
  align-content: start;
}

.product-card__image {
  width: 100%;
  object-fit: cover;
  display: block;
}

.product-card__content {
  padding: 18px 18px 22px;
}

.product-card__content h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.product-card__content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #3a3a3a;
}

/* Планшет: 2 в ряд */
@media (max-width: 992px) {
  .product-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

/* Мобилка: 1 в ряд на всю ширину */
@media (max-width: 768px) {
  .product-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

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

.product-card {
  display: grid;
  gap: 12px;
  grid-template-rows: 279px 1fr 1fr auto;
}

.product-card__media {
  display: grid;
  text-decoration: none;
  color: inherit;
  grid-template-rows: 1fr auto;
  gap: 5px;
}

.product-card__slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f3f3;
  aspect-ratio: 1 / 1; /* квадрат как в каталоге */
}

.product-card__media-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}

.product-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* банки/товары красиво */
  background: #fff;

  opacity: 0;
  transform: scale(1.01);
  transition: opacity 0.25s ease;
}

.product-card__img.is-active {
  opacity: 1;
}

.product-card__noimg {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.55);
}

.product-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  padding: 0 16px;
}

.product-card__title a {
  color: inherit;
  text-decoration: none;
}
.product-card__title a:hover {
  text-decoration: underline;
}

.product-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease;
  align-self: end;
}

/* адаптив */
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__menu {
    display: grid;
    grid-template-columns: 1fr;
  }
  .footer__menu--ul {
    display: grid;
    gap: 10px;
  }
  .footer_logo {
    justify-self: center;
  }
}
@media (max-width: 768px) {
  .menu {
    display: none;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .info__wrapper {
    grid-template-columns: 1fr;
  }
  .footer__menu {
    justify-content: center;
  }
}

.pdp {
  padding: 20px 0 60px;
}
.pdp__top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: start;
}

/* Gallery */
.pdp-gallery__main {
  position: relative;
  border-radius: 18px;
  overflow: visible;
  background: #fff;
  min-height: 520px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.pdp-gallery__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: #fff;
}
.pdp-gallery__img.is-active {
  opacity: 1;
}

.pdp-gallery__thumbs {
  margin-top: 14px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74px;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.pdp-thumb {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.pdp-thumb img {
  width: 100%;
  height: 52px;
  object-fit: cover;
  display: block;
  border-radius: 7px;
}
.pdp-thumb.is-active {
  border-color: rgba(0, 0, 0, 0.65);
}

/* Info */
.pdp-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.1;
}

.pdp-meta {
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  margin-bottom: 14px;
}

.pdp-text {
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.6;
}

.pdp-all-specs {
  display: inline-block;
  margin-top: 18px;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

/* Tabs */
.pdp-tabs {
  margin-top: 26px;
}
.pdp-tabs__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  overflow: hidden;
  background: #fafafa;
}

.pdp-tab {
  padding: 16px 14px;
  background: transparent;
  border: 0;
  font-weight: 500;
  cursor: pointer;
}
.pdp-tab.is-active {
  background: #fff;
  font-weight: 700;
}

.pdp-panels {
  margin-top: 18px;
}
.pdp-panel {
  display: none;
}
.pdp-panel.is-active {
  display: block;
}

.pdp-tax {
  margin-top: 28px;
  color: rgba(0, 0, 0, 0.7);
  display: grid;
  gap: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .pdp__top {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .pdp-gallery__main {
    min-height: 420px;
  }
  .pdp-tabs__nav {
    grid-template-columns: 1fr;
  }
}

.product-card__dots {
  display: flex;
  z-index: 11;
  pointer-events: none;
  justify-content: center;
  gap: 6px;
  position: relative;
}

.product-card__dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
}

.product-card__dots .dot.is-active {
  background: rgba(0, 0, 0, 0.75);
}

/* .site-header должен быть "контейнером" для абсолютного меню */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* меню на всю ширину + фон как у хедера */
.mobile-drop {
  position: absolute;
  left: 0;
  right: 0;
  top: 80px; /* высота шапки */
  z-index: 1200;

  /* фон как у хедера */
  background: radial-gradient(
      120% 140% at 0% 100%,
      rgba(35, 90, 55, 0.45) 0%,
      rgba(0, 0, 0, 0) 60%
    ),
    radial-gradient(
      120% 140% at 100% 0%,
      rgba(10, 20, 40, 0.65) 0%,
      rgba(0, 0, 0, 0) 55%
    ),
    linear-gradient(135deg, #081420 0%, #0b1617 45%, #060a12 100%);

  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  overflow: hidden;

  backdrop-filter: blur(10px);

  /* анимация сверху */
  opacity: 0;
  transform: translateY(-16px);
  visibility: hidden;
  pointer-events: none;

  transition: opacity 0.25s ease, transform 0.25s ease,
    visibility 0s linear 0.25s;
}

.mobile-drop.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}

/* внутренности */
.mobile-drop__list {
  margin: 0;
  padding: 16px 18px 20px;
  display: grid;
  gap: 14px;
}

.mobile-drop__list a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
}

.mobile-drop__list a:hover {
  color: rgba(152, 222, 0, 0.95);
}

/* на десктопе mobile-drop скрыт, бургер скрыт */
@media (min-width: 769px) {
  .mobile-drop {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .burger {
    display: none !important;
  }
}

/* на мобилке скрываем обычное меню и показываем бургер */
@media (max-width: 768px) {
  .menu {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
}

/* КРАСИВЫЙ БУРГЕР */
.burger {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(152, 222, 0, 0.95);
  background: rgba(0, 0, 0, 0.08);
  display: none; /* покажем в media */
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.burger:hover {
  background: rgba(0, 0, 0, 0.16);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}
.burger:active {
  transform: scale(0.98);
}

.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}

/* 3 линии */
.burger span:nth-child(1) {
  top: 15px;
}
.burger span:nth-child(2) {
  top: 22px;
}
.burger span:nth-child(3) {
  top: 29px;
}

/* Открыто: крестик */
.burger.is-open span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .burger {
    display: inline-flex;
  }
}

.burger.is-open span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.footer__mail {
  justify-items: center;
  color: var(--color-white);
}

.footer__mail a {
  font-size: 1.15em;
  color: rgba(152, 222, 0, 0.95);
}

@media (max-width: 768px) {
  .footer__mail {
    justify-items: center;
    text-align: center;
  }
}

.mobile-drop__mail a,
.contacts__mail,
.contacts__intro-name {
  color: rgba(152, 222, 0, 0.95);
}

.product-card--grid {
  grid-template-rows: auto 1fr;
}

.sections__padding {
  padding: 0;
}

.pagination {
  margin: 20px 0 0 0;
}

.breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin: 12px 0 20px;
  font-size: 14px;
  color: rgba(0,0,0,.65);
}

.breadcrumbs a{
  color: rgba(0,0,0,.75);
  text-decoration: none;
}
.breadcrumbs a:hover{
  text-decoration: underline;
}

.breadcrumbs__sep{
  color: rgba(0,0,0,.35);
  user-select:none;
}

.breadcrumbs__current{
  color: rgba(0,0,0,.85);
  font-weight: 500;
}

/* ====== ZOOM (лупа слева) ====== */
.pdp-zoom {
  position: relative;
width: 100%;
}

.pdp-zoom__main {
  position: relative;     /* чтобы absolute img работал от него */
  width: 100%;
  min-height: 520px;      /* ВАЖНО: высота как была у pdp-gallery__main */
  border-radius: 18px;
  overflow: hidden;       /* обрезаем картинку внутри */
  background: #fff;
}
.pdp-zoom__preview {
  position: absolute;
  top: 0;
  left: calc(100% + 18px);  /* ВОТ ОНО: справа */
  width: 420px;
  height: 420px;

  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 200% 200%;
  box-shadow: 0 18px 45px rgba(0,0,0,.14);

  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.pdp-zoom.is-active .pdp-zoom__preview {
  opacity: 1;
  transform: translateY(0);
}

/* отключаем лупу на мобилках/тачах */
@media (hover: none), (max-width: 992px) {
  .pdp-zoom__preview {
    display: none;
  }
}

.pdp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.92);
  color: #222;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s, box-shadow 0.2s;
  user-select: none;
}

.pdp-arrow:hover {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.pdp-arrow--prev { left: 12px; }
.pdp-arrow--next { right: 12px; }

.pdp-arrow.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.certificates{
	padding: 20px 0;
}

.certificates__wrapper{
	display: grid;
	gap: 20px;
	margin: 20px 0;
}

.certificates__li {
	display: grid;
	grid-template-columns: auto auto;
	align-items: center;
	gap: 20px;
	width: max-content;
}

/* ===== Catalog layout ===== */
.catalog-layout{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  margin-top: 20px;
  align-items: start;
}

/* ===== Filters ===== */
.catalog-filters__toggle{
  display: none;              /* на десктопе скрыта */
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 12px 14px;
  cursor: pointer;
  background: #111;
  color: #fff;
  font-weight: 600;
  margin-bottom: 12px;        /* будет видно на мобилке */
}

.catalog-filters__box{
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
  position: sticky;
  top: 16px;
}

.catalog-filters__title{
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}

.catalog-filters__label{
  font-weight: 600;
  margin-bottom: 10px;
}

.catalog-filters__item{
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  cursor: pointer;
}

.catalog-filters__actions{
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}

.catalog-filters__apply{
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
}

.catalog-filters__reset{
  text-decoration: underline;
}

/* ===== Mobile behavior ===== */
@media (max-width: 900px){
  .catalog-layout{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .catalog-filters__toggle{
    display: block;            /* на мобилке показываем кнопку */
  }

  .catalog-filters__box{
    position: static;          /* sticky на мобилке выключаем */
  }

  /* свернутое состояние */
  .catalog-filters.is-collapsed .catalog-filters__box{
    display: none;
  }
}



/* ===== Pretty checkboxes ===== */
.catalog-filters__item{
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 12px;
  user-select: none;
}

.catalog-filters__item:hover{
  background: rgba(0,0,0,.04);
}

.catalog-filters__cb{
  /* прячем нативный чекбокс, но оставляем доступным */
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.catalog-filters__fake{
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid rgba(0,0,0,.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  background: #fff;
  transition: transform .15s ease, border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}

.catalog-filters__text{
  font-size: 16px;
  line-height: 1.2;
}

/* галочка рисуется псевдоэлементом */
.catalog-filters__fake::after{
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0.6);
  opacity: 0;
  transition: opacity .15s ease, transform .18s ease;
}

/* checked state */
.catalog-filters__cb:checked + .catalog-filters__fake{
  background: #111;
  border-color: #111;
  transform: scale(1.03);
}

.catalog-filters__cb:checked + .catalog-filters__fake::after{
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}

/* лёгкий “пружинящий” эффект при клике */
.catalog-filters__cb:active + .catalog-filters__fake{
  transform: scale(0.96);
}

/* focus (доступность клавиатуры) */
.catalog-filters__cb:focus-visible + .catalog-filters__fake{
  box-shadow: 0 0 0 4px rgba(0,0,0,.12);
  border-color: rgba(0,0,0,.6);
}

@media (max-width: 900px){
  .catalog-filters:not(.is-collapsed) .catalog-filters__item{
    animation: filterItemIn .22s ease both;
  }
  .catalog-filters:not(.is-collapsed) .catalog-filters__item:nth-child(1){ animation-delay: .02s; }
  .catalog-filters:not(.is-collapsed) .catalog-filters__item:nth-child(2){ animation-delay: .04s; }
  .catalog-filters:not(.is-collapsed) .catalog-filters__item:nth-child(3){ animation-delay: .06s; }
  .catalog-filters:not(.is-collapsed) .catalog-filters__item:nth-child(4){ animation-delay: .08s; }
  .catalog-filters:not(.is-collapsed) .catalog-filters__item:nth-child(5){ animation-delay: .10s; }
  .catalog-filters:not(.is-collapsed) .catalog-filters__item:nth-child(6){ animation-delay: .12s; }
  .catalog-filters:not(.is-collapsed) .catalog-filters__item:nth-child(7){ animation-delay: .14s; }
}

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

.section__index{
	padding: 0;
	margin: 0;
}
