:root {
  --orange: #fb5d06;
  --ink: #1a1a1a;
  --muted: #f4f4f4;
  --line: #cecece;
  --hit: #ff3b30;
  --max: 1180px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Oswald, Arial, sans-serif;
  font-weight: 400;
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(251, 93, 6, 0.14), transparent 60%),
    #f4ece6;
}

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

a { color: inherit; }

button, input { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 48px 0;
}

.logo img { height: 72px; width: auto; }

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  letter-spacing: 0.01em;
}

.nav a:hover { opacity: 0.75; }

.nav [data-open-cart] {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 20px;
  cursor: pointer;
}

.nav [data-open-cart]:hover { opacity: 0.75; }
.header .nav [data-open-cart] { color: #fff; }

body.drawer-open { overflow: hidden; }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(28, 16, 10, 0.46);
  cursor: pointer;
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  height: 100%;
  background: #fffaf7;
  box-shadow: -16px 0 40px rgba(40, 12, 0, 0.18);
}

.drawer__head, .drawer__foot {
  padding: 18px 20px;
  background: #fff;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(251, 93, 6, 0.12);
}

.drawer__head h2 { font-size: 28px; }

.drawer__close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff4ec;
  color: #3a1608;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.drawer__body {
  flex: 1;
  overflow: auto;
  padding: 8px 20px 20px;
}

.drawer__empty {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: 28px 0;
}

.drawer__empty p { margin: 0; font-size: 22px; }
.drawer__empty .btn { width: auto; }

.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.drawer .cart-list li,
.cart-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(251, 93, 6, 0.1);
}

.drawer__photo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
}

.drawer__photo[data-tint="blue"] { filter: hue-rotate(185deg) saturate(1.5); }
.drawer__photo[data-tint="black"] { filter: grayscale(1) brightness(0.4) contrast(1.15); }

.cart-line__main { display: grid; gap: 2px; }
.cart-line__main strong { font-size: 18px; font-weight: 500; }
.cart-line__main span, .cart-line__remove { color: #666; font-size: 15px; }
.cart-line__remove {
  justify-self: start;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
}

.cart-line__controls { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cart-line__controls button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(251, 93, 6, 0.2);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.cart-line b { font-size: 18px; font-weight: 500; }

.drawer__foot { border-top: 1px solid rgba(251, 93, 6, 0.12); }
.cart-total { margin: 0 0 12px; font-size: 22px; }

.drawer .checkout { display: grid; gap: 10px; }
.drawer .checkout h3 { margin: 0; font-size: 20px; font-weight: 500; }
.drawer .checkout label, .drawer .checkout .form-error { display: grid; gap: 4px; font-size: 16px; }
.drawer .checkout input, .drawer .checkout textarea {
  width: 100%;
  border: 1px solid rgba(251, 93, 6, 0.16);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  color: #1a1a1a;
  background: #fff;
}
.drawer .checkout .phone { border: 1px solid rgba(251, 93, 6, 0.16); }
.drawer .checkout .phone input { border: 0; padding-left: 8px; }
.drawer .form-error { color: #b42318; }
.drawer .notice {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff4ec;
  color: #9a3412;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  position: relative;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bar::before { top: -8px; }
.nav-toggle__bar::after { top: 8px; }

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.38)),
    url("../assets/hero.png") center 30% / cover no-repeat;
  color: #fff;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto 11vh;
}

.glass-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 16px 34px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 176, 120, 0.46) 42%, rgba(251, 93, 6, 0.62) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -10px 18px rgba(251, 93, 6, 0.28),
    0 12px 28px rgba(70, 18, 0, 0.28);
  font-size: 22px;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(16px) saturate(1.7);
  -webkit-backdrop-filter: blur(16px) saturate(1.7);
}

.glass-btn::before,
.glass-btn::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.glass-btn::before {
  z-index: -1;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.7), transparent 36%, transparent 62%, rgba(255, 210, 170, 0.45));
}

.glass-btn::after {
  z-index: -1;
  width: 58%;
  height: 180%;
  left: -8%;
  top: -90%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85), transparent 68%);
  transform: rotate(18deg);
}

.glass-btn:hover {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 176, 120, 0.4) 42%, rgba(251, 93, 6, 0.55) 100%);
}

.glass-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.glass-btn--ink {
  color: #3a1608;
  border-color: rgba(255, 255, 255, 0.8);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(255, 196, 160, 0.72) 48%, rgba(251, 93, 6, 0.55));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -8px 14px rgba(251, 93, 6, 0.2),
    0 8px 18px rgba(251, 93, 6, 0.16);
}

.card__ozon {
  margin-top: 10px;
  color: #555;
  font-size: 16px;
}

[data-cart-count] {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 4px;
  border-radius: 99px;
  background: #fff;
  color: var(--orange);
  font-size: 14px;
}

[data-cart-count][hidden] { display: none; }

.hero h1 {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 76px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero__paws {
  display: inline-block;
  width: clamp(72px, 8vw, 130px);
  height: auto;
  vertical-align: middle;
  margin-left: 8px;
}

h2 {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 500;
  line-height: 1.25;
}

.rule {
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 14px;
  background: #111;
}

.paws { width: 150px; height: auto; opacity: 0.28; filter: grayscale(1) brightness(1.4); }
.paws--small { width: 92px; margin-top: 8px; }
.paws--trail {
  position: absolute;
  left: 8%;
  bottom: 6%;
  width: min(460px, 48vw);
  opacity: 0.22;
  filter: invert(1) grayscale(1) brightness(1.8);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.paws--side {
  position: absolute;
  right: 6%;
  top: 18px;
  width: 120px;
}
.paws--corner { margin-left: auto; }

main > section:not(.hero):not(.order) {
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto;
  padding: 42px 36px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 18px 46px rgba(90, 32, 8, 0.07);
}

.protect {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  min-height: 520px;
  overflow: hidden;
}

.protect__copy { max-width: 620px; padding-bottom: 80px; align-self: center; }
.protect__dog { width: min(560px, 100%); margin-left: auto; position: relative; z-index: 1; }

.breeds {
  position: relative;
  text-align: center;
}

.breeds p {
  max-width: 920px;
  margin: 0 auto 28px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
}

.breeds img[src*="dogs"] {
  width: min(980px, 100%);
  margin: 0 auto;
  border-radius: 20px;
}

.easy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.easy__copy h2 { max-width: 460px; }

.slider { position: relative; }

.slider__viewport { overflow: hidden; }

.slider__track {
  display: flex;
  transition: transform 0.35s ease;
}

.slider__track > * { flex: 0 0 100%; }

.slider img {
  width: min(420px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 22px;
}

.slider--quotes { max-width: 760px; margin: 36px auto 0; text-align: center; }

.slider--quotes blockquote { margin: 0; padding: 10px 56px 28px; }

.slider--quotes p {
  margin: 0 0 22px;
  font-size: 20px;
  line-height: 1.45;
}

.slider--quotes footer { font-weight: 600; font-size: 18px; }

.slider__arrow {
  position: absolute;
  top: 38%;
  z-index: 1;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #b5b5b5;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.slider__arrow--prev { left: 0; }
.slider__arrow--next { right: 0; }
.slider__arrow:hover { color: var(--orange); }

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.slider__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
}

.slider__dots button[aria-current="true"] { background: var(--orange); }

.patent { margin-inline: auto; }

.section-head { margin-bottom: 36px; }

.price__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 22px 22px;
  background: #fffaf7;
  border: 1px solid rgba(251, 93, 6, 0.12);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(80, 24, 0, 0.05);
  text-align: center;
}

.card--hit { padding-top: 46px; }

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

.card__photos {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 140px;
  margin: 6px 0 2px;
  overflow: hidden;
}

.card__photos img { width: 78%; height: auto; flex: none; }
.card__photos--2 img { width: 58%; margin: 0 -14%; }
.card__photos--3 img { width: 48%; margin: 0 -16%; }

.card__old {
  margin: 0;
  color: #9a9a9a;
  font-size: 18px;
}

.card__price {
  margin: 4px 0 16px;
  font-size: 22px;
  font-weight: 500;
}

.badge {
  position: absolute;
  top: -28px;
  left: -8px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hit);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
}

.btn--dark {
  width: 100%;
  background: #111;
  color: #fff;
  font-size: 20px;
}

.btn--dark:hover { background: #333; }

.btn--orange {
  width: 100%;
  background: var(--orange);
  color: #fff;
  font-size: 20px;
}

.btn--orange:hover { filter: brightness(0.95); }

.price__note {
  max-width: var(--max);
  margin: 28px auto 0;
  font-size: 20px;
}

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

.review-card {
  margin: 0;
  padding: 22px 20px 18px;
  border: 1px solid rgba(251, 93, 6, 0.12);
  border-radius: 20px;
  background: #fffaf7;
}

.review-card p {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.45;
}

.review-card footer { font-weight: 600; }

.mosaic {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 0.95fr;
  grid-template-rows: 250px 150px 230px;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.mosaic img,
.mosaic video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.mosaic__video { grid-row: 1 / 4; background: #f3f3f3; }
.mosaic__girl { grid-column: 2; grid-row: 1 / 3; }
.mosaic__rear { grid-column: 3; grid-row: 1; }
.mosaic__top { grid-column: 2; grid-row: 3; width: 78%; justify-self: start; }
.mosaic__clip { grid-column: 3; grid-row: 2 / 4; }

.faq__list {
  display: grid;
  gap: 16px;
  max-width: 1040px;
}

.faq article {
  padding: 22px 26px;
  border: 1px solid rgba(251, 93, 6, 0.12);
  border-radius: 18px;
  background: #fffaf7;
}

.faq h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.faq p { margin: 0; font-size: 18px; line-height: 1.4; }

.patent {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.patent > img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.patent h2 { margin: 8px 0 16px; }
.patent p { max-width: 640px; margin: 0 0 12px; font-size: 22px; line-height: 1.4; }

.order {
  position: relative;
  padding: 80px 20px 100px;
  background:
    linear-gradient(rgba(20, 16, 14, 0.55), rgba(20, 16, 14, 0.55)),
    url("../assets/form-bg.png") center / cover no-repeat;
  color: #fff;
  text-align: center;
}

.order__inner {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 36px 32px 32px;
  border-radius: 28px;
  background: #fffaf7;
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.order h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 600; line-height: 1.15; }
.order__inner > p { margin: 18px 0 28px; font-size: 18px; }

.order__form {
  display: grid;
  gap: 16px;
  text-align: left;
}

.order label { display: grid; gap: 6px; font-size: 16px; }

.order input, .order textarea {
  width: 100%;
  border: 1px solid rgba(251, 93, 6, 0.16);
  border-radius: 12px;
  padding: 12px 14px;
  color: #111;
  background: #fff;
  font: inherit;
}

.order input { height: 48px; }
.order textarea { resize: vertical; }
.order .form-error { color: #b42318; }
.order .form-success { color: #9a3412; }

.phone {
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.phone__prefix {
  padding-left: 12px;
  color: #111;
  white-space: nowrap;
}

.phone input { padding-left: 8px; }

.form-error { margin: 0; color: #ffe1c4; }
.form-success { margin: 0; font-size: 20px; text-align: center; }

.ozon-float {
  position: fixed;
  z-index: 20;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 16px;
  border-radius: 8px;
  background: #fff;
  color: #1a4cff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.ozon-float img { width: 42px; height: 42px; }

#vk_community_messages { z-index: 40; }

.vk-hint {
  position: fixed;
  z-index: 40;
  right: 84px;
  bottom: 22px;
  max-width: 240px;
  margin: 0;
  padding: 12px 28px 12px 14px;
  border-radius: 14px;
  background: #fff;
  color: #2c2d2e;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.vk-hint p { margin: 0; }

.vk-hint button {
  position: absolute;
  top: 4px;
  right: 6px;
  border: 0;
  background: transparent;
  color: #818c99;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .header { padding: 16px 18px 0; }
  .logo img { height: 52px; }

  .nav-toggle { display: grid; place-items: center; }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    right: 16px;
    flex-direction: column;
    gap: 14px;
    padding: 18px 22px;
    background: rgba(20, 16, 14, 0.92);
  }

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

  .protect, .easy, .patent, .price__grid { grid-template-columns: 1fr; }
  .protect { min-height: 0; }
  .protect__dog { margin: 0 auto; }
  .paws--trail, .paws--side { display: none; }

  main > section:not(.hero):not(.order) { padding: 28px 18px; }
  .review-grid { grid-template-columns: 1fr; }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 180px 180px;
  }

  .mosaic__video { grid-column: 1 / -1; grid-row: 1; }
  .mosaic__girl { grid-column: 1; grid-row: 2 / 4; }
  .mosaic__rear { grid-column: 2; grid-row: 2; }
  .mosaic__top { grid-column: 2; grid-row: 3; width: 100%; }
  .mosaic__clip { display: none; }

  .slider--quotes blockquote { padding: 10px 36px 24px; }
  .card__photos--2 img,
  .card__photos--3 img { width: 96px; margin: 0 -18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slider__track { transition: none; }
  .mosaic__video { display: none; }
}
