:root {
  --accent: #c90079;
  --ink: #191c1c;
  --text: #121516;
  --muted: #6d7272;
  --line: #e6e2e2;
  --soft: #f6f4f2;
  --white: #ffffff;
  --green: #49635b;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

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

button,
input,
select {
  font: inherit;
}

.reset-button {
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  min-height: 182px;
  max-width: 1640px;
  margin: 0 auto;
  padding: 24px 40px;
  display: grid;
  grid-template-columns: 120px minmax(420px, 1fr) minmax(250px, 360px) 44px;
  align-items: center;
  gap: 36px;
}

.brand img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav a {
  padding: 11px 15px;
  color: #000;
  font-size: 15px;
  font-weight: 300;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent);
}

.header-contact,
.footer-contact {
  display: grid;
  gap: 2px;
  justify-items: end;
  font-size: 15px;
  font-weight: 300;
}

.phone {
  color: var(--accent);
  font-weight: 400;
}

.address-link {
  font-size: 14px;
}

.social-link {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.social-glyph {
  display: block;
  width: 16px;
  height: 16px;
  color: var(--white);
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.75 2h8.5A5.76 5.76 0 0 1 22 7.75v8.5A5.76 5.76 0 0 1 16.25 22h-8.5A5.76 5.76 0 0 1 2 16.25v-8.5A5.76 5.76 0 0 1 7.75 2Zm0 2A3.75 3.75 0 0 0 4 7.75v8.5A3.75 3.75 0 0 0 7.75 20h8.5A3.75 3.75 0 0 0 20 16.25v-8.5A3.75 3.75 0 0 0 16.25 4h-8.5ZM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm4.75-2.8a1.05 1.05 0 1 1 0 2.1 1.05 1.05 0 0 1 0-2.1Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.75 2h8.5A5.76 5.76 0 0 1 22 7.75v8.5A5.76 5.76 0 0 1 16.25 22h-8.5A5.76 5.76 0 0 1 2 16.25v-8.5A5.76 5.76 0 0 1 7.75 2Zm0 2A3.75 3.75 0 0 0 4 7.75v8.5A3.75 3.75 0 0 0 7.75 20h8.5A3.75 3.75 0 0 0 20 16.25v-8.5A3.75 3.75 0 0 0 16.25 4h-8.5ZM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm4.75-2.8a1.05 1.05 0 1 1 0 2.1 1.05 1.05 0 0 1 0-2.1Z'/%3E%3C/svg%3E") center / contain no-repeat;
  font-size: 0;
}

.social-glyph::before {
  content: none;
}

.social-glyph::after {
  content: none;
}

.social-link .social-glyph {
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.menu-toggle span:not(.visually-hidden) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 3px 0;
  background: var(--ink);
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.22s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible,
.menu-toggle[aria-expanded="true"] {
  background: rgba(201, 0, 121, 0.08);
  box-shadow: inset 0 0 0 1px rgba(201, 0, 121, 0.18);
}

.menu-toggle[aria-expanded="true"] span:not(.visually-hidden) {
  background: var(--accent);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.section-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.home-hero {
  height: 626px;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(720px, 1160px) minmax(120px, 1fr);
  gap: 40px;
  align-items: center;
  overflow: hidden;
  background: var(--white);
}

.hero-slider,
.hero-side {
  height: 550px;
  position: relative;
  overflow: hidden;
}

.hero-slider {
  background: var(--ink);
}

.hero-track,
.hero-slide,
.hero-slide img {
  width: 100%;
  height: 100%;
}

.hero-track {
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s linear;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

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

.hero-side {
  background-image: var(--hero-side-tint), var(--hero-side-image);
  background-position: center;
  background-size: cover;
  opacity: 0.36;
  transition: opacity 0.12s linear, filter 0.12s linear;
}

.hero-side.is-updating {
  opacity: 0.28;
  filter: saturate(0.92);
}

.hero-side-left {
  --hero-side-tint: linear-gradient(rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.38));
}

.hero-side-right {
  --hero-side-tint: linear-gradient(rgba(255, 192, 224, 0.2), rgba(255, 192, 224, 0.2));
}

.hero-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
}

.hero-dot {
  width: 20px;
  height: 20px;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
  cursor: pointer;
}

.hero-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-dot:hover::before,
.hero-dot:focus-visible::before,
.hero-dot.is-active::before {
  background: var(--white);
}

.hero-dot.is-active::before {
  transform: scale(1.08);
}

.hero-dot:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.features-section {
  padding: 36px 0 82px;
  background: var(--white);
}

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

.feature-item {
  text-align: center;
}

.feature-item img {
  width: 45px;
  height: 45px;
  margin: 0 auto 28px;
  object-fit: contain;
}

.feature-item h2 {
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 700;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.fresh-line {
  padding: 0 0 70px;
  overflow: hidden;
  background: var(--white);
}

.fresh-track {
  display: flex;
  width: max-content;
  font-size: 40px;
  line-height: 1;
  font-weight: 300;
  white-space: nowrap;
  will-change: transform;
  animation: freshMarquee 22s linear infinite;
}

.fresh-group {
  display: flex;
  flex: 0 0 auto;
  gap: 82px;
  padding-right: 82px;
}

.fresh-track b {
  color: var(--accent);
  font-weight: 300;
}

@keyframes freshMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.category-showcase {
  padding: 0 20px 88px;
  background: var(--white);
}

.showcase-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.showcase-card {
  position: relative;
  min-height: 400px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.54));
}

.showcase-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.showcase-card:hover img {
  transform: scale(1.04);
}

.showcase-card span {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
}

.showcase-card small {
  display: block;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 400;
}

.showcase-card-wide {
  grid-column: 1 / -1;
}

.hits-section {
  padding: 76px 0 88px;
  background: var(--ink);
  color: var(--white);
}

.hits-head {
  text-align: center;
}

.hits-head h2 {
  color: var(--white);
  font-size: 36px;
  font-weight: 700;
}

.hits-head h2 span {
  color: var(--accent);
}

.hits-head p {
  margin: 48px auto 86px;
  max-width: 520px;
  font-size: 24px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

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

.home-hit-card {
  display: grid;
  align-content: start;
  color: var(--white);
  text-align: center;
}

.home-hit-card .product-media {
  margin-bottom: 20px;
  background: #101414;
}

.home-hit-card .product-title {
  color: var(--white);
  min-height: 44px;
  font-size: 18px;
}

.home-hit-card .product-description {
  min-height: 22px;
  color: rgba(255, 255, 255, 0.62);
}

.home-hit-card .product-price {
  color: var(--white);
}

.home-hit-card .secondary-button {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}

.team-section {
  padding: 96px 0 104px;
  background: var(--white);
}

.team-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1160px;
}

.team-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.team-gallery img {
  width: 100%;
  height: 273px;
  object-fit: cover;
}

.team-gallery .team-main-img {
  grid-column: 1 / -1;
  height: 568px;
}

.team-copy {
  min-height: 860px;
  padding: 54px 50px;
  background: var(--ink);
  color: var(--white);
}

.team-copy h2 {
  margin-bottom: 30px;
  color: var(--white);
  font-size: 30px;
  line-height: 1.45;
}

.team-copy p {
  margin: 0 0 28px;
  font-size: 19px;
  line-height: 1.6;
}

.team-copy span,
.contact-copy span {
  color: var(--accent);
}

.team-rule {
  width: 78px;
  height: 1px;
  margin: 56px 0 36px;
  background: rgba(255, 255, 255, 0.72);
}

.contact-section {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: var(--white);
}

.contact-copy {
  padding: 170px 70px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.contact-copy h2 {
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
}

.contact-copy p {
  max-width: 560px;
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
}

.contact-phone {
  color: var(--accent);
  font-size: 26px;
}

.contact-map {
  width: 100%;
  min-height: 720px;
  border: 0;
  filter: saturate(0.78);
}

.catalog-section {
  padding: 64px 0 90px;
  background: linear-gradient(180deg, #fbfaf9 0%, #ffffff 42%);
}

.catalog-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  font-size: 42px;
}

h2 {
  font-size: 32px;
}

.catalog-summary {
  color: var(--muted);
  font-size: 15px;
}

.controls-row {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 18px;
  align-items: start;
  margin-bottom: 32px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 14px;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.tab-button:hover,
.tab-button:focus-visible,
.tab-button.is-active {
  border-color: var(--accent);
  color: var(--accent);
  background: #fff7fb;
}

.search-box input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--white);
}

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

.product-card {
  position: relative;
  display: grid;
  gap: 14px;
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--soft);
}

.product-media.has-side-fill {
  --side-fill-gutter: clamp(36px, 12%, 52px);
  background: #111616;
}

.product-media.has-side-fill::before {
  content: "";
  position: absolute;
  inset: -28px;
  z-index: 0;
  background-image: var(--product-image);
  background-position: center;
  background-size: 154% 154%;
  filter: blur(22px) saturate(1.12);
  transform: scale(1.04);
}

.product-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-media.has-side-fill img {
  width: calc(100% - (var(--side-fill-gutter) * 2));
  margin: 0 auto;
  object-fit: cover;
}

.product-card:hover .product-media img,
.home-hit-card:hover .product-media img {
  transform: scale(1.035);
}

.product-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  max-width: calc(100% - 24px);
  border-radius: 8px;
  padding: 5px 8px;
  background: rgba(25, 28, 28, 0.82);
  color: var(--white);
  font-size: 12px;
}

.product-info {
  display: grid;
  gap: 8px;
}

.product-title {
  min-height: 44px;
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.22;
  font-weight: 400;
}

.product-description {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-price {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.primary-button,
.secondary-button {
  min-height: 42px;
  border-radius: 8px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.primary-button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--white);
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--white);
  color: var(--accent);
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.empty-state {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  color: var(--muted);
}

.info-section {
  padding: 72px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.info-section.muted {
  background: var(--soft);
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 48px;
  align-items: start;
}

.info-grid p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.catalog-page {
  min-height: 760px;
  padding-top: 78px;
}

.content-page {
  background: var(--white);
}

.page-intro {
  padding: 164px 0 72px;
}

.page-title-block {
  max-width: 980px;
  text-align: center;
}

.page-title-block h1 {
  margin-bottom: 52px;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.08;
}

.page-title-block h1 span {
  color: var(--accent);
}

.page-title-block p {
  margin: 0 auto 8px;
  color: #3d4142;
  font-size: 24px;
  line-height: 1.42;
}

.content-split-section {
  padding: 0 0 94px;
  background: var(--white);
}

.content-split {
  max-width: 1200px;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(420px, 1fr);
  gap: 78px;
  align-items: center;
}

.content-copy-block h2 {
  margin-bottom: 28px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
}

.content-copy-block p {
  margin: 0 0 42px;
  color: #4d5252;
  font-size: 22px;
}

.check-list {
  margin: 0 0 44px;
  padding: 0;
  display: grid;
  gap: 28px;
  list-style: none;
  color: #3d4142;
  font-size: 18px;
}

.check-list li {
  position: relative;
  padding-left: 42px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.text-action {
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}

.text-action::after {
  content: " →";
  margin-left: 4px;
}

.content-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.delivery-image {
  height: 560px;
}

.page-gallery-section {
  padding: 0 0 96px;
  background: var(--white);
}

.page-gallery {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 22px;
}

.page-gallery img {
  width: 100%;
  object-fit: cover;
}

.page-gallery-main {
  height: 760px;
}

.page-gallery-side {
  display: grid;
  gap: 22px;
}

.page-gallery-side img {
  height: 369px;
}

.request-section {
  padding: 40px 20px 112px;
  background: var(--white);
}

.request-panel {
  max-width: 760px;
  margin: 0 auto;
  border: 12px solid var(--accent);
  padding: 54px 62px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.request-panel h2 {
  margin-bottom: 18px;
  text-align: center;
  font-size: 42px;
  font-weight: 700;
}

.request-panel p {
  margin: 0 0 28px;
  color: var(--muted);
  text-align: center;
  font-size: 17px;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--text);
  resize: vertical;
}

.lead-form input {
  height: 44px;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  min-height: 130px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 120px 1fr minmax(250px, 320px) 44px;
  gap: 36px;
  align-items: center;
}

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

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 7px 34px;
  color: var(--white);
  font-size: 16px;
  font-weight: 300;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--accent);
}

.footer-contact {
  color: var(--white);
}

.footer-social {
  justify-self: end;
}

.cart-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 60;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.cart-count {
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--white);
  color: var(--accent);
  font-weight: 700;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.44);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  width: min(430px, 100vw);
  height: 100vh;
  padding: 28px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 0.25s ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.cart-items {
  min-height: 0;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

.cart-item h3 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 400;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
}

.qty-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 18px;
}

.order-form {
  display: grid;
  gap: 12px;
}

.order-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.order-form input,
.order-form select {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  background: var(--white);
  color: var(--text);
}

.policy-text,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: 32px 20px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.44);
}

.product-modal.is-open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 390px);
  background: var(--white);
  overflow: auto;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.modal-media {
  min-height: 480px;
  background: var(--soft);
}

.modal-media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.modal-body {
  padding: 54px 34px 34px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.modal-description {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.modal-price {
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: 96px 1fr 44px;
    min-height: 130px;
    gap: 22px;
  }

  .brand img {
    width: 96px;
    height: 96px;
  }

  .main-nav {
    justify-content: center;
  }

  .header-contact {
    display: none;
  }

  .home-hero {
    grid-template-columns: 1fr;
    height: auto;
    padding: 26px 20px 48px;
  }

  .hero-slider {
    aspect-ratio: 1680 / 832;
    height: auto;
    max-height: 420px;
  }

  .hero-side {
    display: none;
  }

  .feature-grid {
    gap: 42px;
  }

  .showcase-grid,
  .team-layout,
  .content-split,
  .page-gallery {
    max-width: 920px;
  }

  .contact-section {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (max-width: 860px) {
  .header-inner {
    position: relative;
    grid-template-columns: 82px 1fr 44px;
    padding: 18px 20px;
  }

  .brand img {
    width: 82px;
    height: 82px;
  }

  .menu-toggle {
    display: grid;
    justify-self: end;
    grid-column: 2;
    grid-row: 1;
  }

  .social-link {
    grid-column: 3;
    grid-row: 1;
  }

  .main-nav {
    position: absolute;
    left: auto;
    right: 20px;
    top: calc(100% - 6px);
    width: min(360px, calc(100vw - 40px));
    z-index: 30;
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 24px 50px rgba(25, 28, 28, 0.14);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .main-nav::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: var(--accent);
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    border-radius: 8px;
    padding: 13px 16px;
    color: var(--ink);
    font-size: 16px;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    background: rgba(201, 0, 121, 0.08);
    color: var(--accent);
    transform: translateY(-1px);
  }

  .catalog-head,
  .controls-row,
  .info-grid,
  .feature-grid,
  .showcase-grid,
  .home-hits-grid,
  .team-layout,
  .content-split,
  .page-gallery,
  .contact-section,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .catalog-head {
    align-items: start;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .page-intro {
    padding: 86px 0 54px;
  }

  .page-title-block h1 {
    margin-bottom: 28px;
    font-size: 40px;
  }

  .page-title-block p {
    font-size: 20px;
  }

  .content-split {
    gap: 34px;
  }

  .content-image,
  .delivery-image {
    height: 420px;
  }

  .page-gallery-main,
  .page-gallery-side img {
    height: 420px;
  }

  .request-panel {
    padding: 40px 30px;
  }

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

  .fresh-track {
    font-size: 34px;
  }

  .fresh-group {
    gap: 38px;
    padding-right: 38px;
  }

  .showcase-card,
  .showcase-card-wide {
    grid-column: auto;
    min-height: 300px;
  }

  .hits-head p {
    margin: 28px auto 44px;
    font-size: 20px;
  }

  .home-hits-grid {
    max-width: 680px;
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 320px));
    justify-content: center;
    gap: 32px 20px;
  }

  .home-hit-card {
    width: 100%;
    max-width: 320px;
    justify-self: center;
  }

  .home-hit-card .product-media {
    margin-bottom: 14px;
  }

  .home-hit-card .product-title {
    min-height: auto;
    font-size: 16px;
    line-height: 1.35;
  }

  .home-hit-card .product-description {
    min-height: auto;
  }

  .team-copy {
    min-height: auto;
    padding: 38px 28px;
  }

  .team-gallery .team-main-img {
    height: 420px;
  }

  .contact-copy {
    padding: 56px 28px;
  }

  .contact-copy p,
  .contact-phone {
    font-size: 20px;
  }

  .contact-map {
    min-height: 420px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-contact {
    width: 100%;
    justify-self: stretch;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 16px;
    text-align: center;
  }

  .footer-contact .phone,
  .footer-contact span {
    white-space: nowrap;
  }

  .footer-contact a:not(.phone) {
    flex: 1 1 100%;
    max-width: 640px;
  }

  .footer-social {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
  }

  .modal-panel {
    grid-template-columns: 1fr;
  }

  .modal-media,
  .modal-media img {
    min-height: 320px;
  }
}

@media (max-width: 560px) {
  .home-hero {
    padding: 14px 0 34px;
  }

  .main-nav {
    left: 16px;
    right: 16px;
    width: auto;
  }

  .hero-slider {
    aspect-ratio: 1680 / 832;
    height: auto;
    max-height: none;
  }

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

  .features-section {
    padding-bottom: 54px;
  }

  .feature-item h2 {
    margin-bottom: 12px;
  }

  .fresh-line {
    padding-bottom: 44px;
  }

  .fresh-track {
    font-size: 28px;
  }

  .category-showcase {
    padding-bottom: 54px;
  }

  .showcase-card {
    min-height: 250px;
  }

  .showcase-card span {
    font-size: 25px;
  }

  .hits-section {
    padding: 54px 0 64px;
  }

  .home-hits-grid {
    max-width: 430px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 14px;
  }

  .home-hit-card {
    max-width: none;
  }

  .home-hit-card .product-title {
    font-size: 14px;
  }

  .home-hit-card .product-price {
    font-size: 16px;
  }

  .home-hit-card .primary-button,
  .home-hit-card .secondary-button {
    min-height: 38px;
    padding: 8px 10px;
  }

  .team-section {
    padding: 60px 0;
  }

  .team-gallery {
    gap: 12px;
  }

  .team-gallery .team-main-img {
    height: 320px;
  }

  .team-gallery img {
    height: 170px;
  }

  .catalog-section {
    padding: 44px 0 64px;
  }

  .catalog-page {
    padding-top: 44px;
  }

  .page-intro {
    padding: 58px 0 44px;
  }

  .page-title-block h1 {
    font-size: 34px;
  }

  .page-title-block p {
    font-size: 18px;
  }

  .content-copy-block h2 {
    font-size: 25px;
  }

  .content-copy-block p {
    margin-bottom: 28px;
    font-size: 18px;
  }

  .check-list {
    gap: 20px;
    font-size: 16px;
  }

  .content-image,
  .delivery-image,
  .page-gallery-main,
  .page-gallery-side img {
    height: 320px;
  }

  .request-section {
    padding: 24px 16px 72px;
  }

  .request-panel {
    border-width: 8px;
    padding: 30px 18px;
  }

  .request-panel h2 {
    font-size: 30px;
  }

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

  .product-title {
    min-height: auto;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding-bottom: 92px;
  }

  .cart-fab {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 380px) {
  .home-hits-grid {
    max-width: 300px;
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hit-card {
    max-width: 300px;
  }
}
