:root {
  --font-main: "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
  --bg: #ffffff;
  --bg-soft: #f0f0f0;
  --bg-muted: #ecefed;
  --text: #202321;
  --text-soft: #6d746f;
  --text-muted: #969d98;
  --line: #e2e6e1;
  --line-strong: #cfd6d0;
  --accent: #536d63;
  --accent-dark: #354f47;
  --accent-soft: #eef3f0;
  --rose: #bd9c96;
  --white: #ffffff;
  --black: #000000;
  --footer-bg: #0d0d0d;
  --shadow-soft: 0 18px 48px rgba(31, 39, 34, 0.08);
  --shadow-hover: 0 20px 46px rgba(31, 39, 34, 0.12);
  --radius: 8px;
  --header-height: 74px;
  --container: 1220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.no-scroll {
  overflow: hidden;
}

html.fonts-loading body {
  visibility: hidden;
}

html.fonts-timeout {
  --font-main: "Segoe UI", Arial, sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: calc(100% - 48px);
  max-width: var(--container);
  margin: 0 auto;
}

.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 {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 230, 225, 0.84);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.brand {
  justify-self: start;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}

.desktop-nav {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  justify-self: center;
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
}

.desktop-nav a,
.footer-nav a,
.mobile-menu-nav a {
  transition: color 0.18s ease;
}

.desktop-nav a:hover,
.footer-nav a:hover,
.mobile-menu-nav a:hover {
  color: var(--text);
}

.desktop-nav a[aria-current="page"],
.mobile-menu-nav a[aria-current="page"] {
  color: var(--text);
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.footer-socials a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.burger {
  display: none;
  grid-column: 3;
  width: 42px;
  height: 42px;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.burger span {
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease;
}

.burger.is-open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.burger.is-open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  border-top: 1px solid var(--line);
  background: var(--white);
  transition: max-height 0.24s ease, opacity 0.2s ease;
}

.mobile-menu.is-open {
  max-height: 420px;
  opacity: 1;
}

.mobile-menu-nav {
  width: calc(100% - 48px);
  max-width: var(--container);
  margin: 0 auto;
}

.mobile-menu-nav {
  display: grid;
  gap: 4px;
  padding: 18px 0 12px;
}

.mobile-menu-nav a {
  padding: 12px 0;
  font-size: 20px;
  font-weight: 650;
}

.hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 92px 0 84px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 840px;
  margin: 0 auto;
  color: var(--text);
  font-size: 72px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-text {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--text-soft);
  font-size: 21px;
  line-height: 1.55;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 20px;
  color: var(--text);
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.button-light {
  color: var(--text);
  background: var(--white);
  border-color: var(--line-strong);
}

.button-light:hover,
.button-outline:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.button-outline {
  background: var(--white);
  border-color: var(--line-strong);
}

.page-hero {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  padding: 98px 0 74px;
  text-align: center;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: 72px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0;
}

.page-hero p:last-child {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--text-soft);
  font-size: 19px;
  line-height: 1.7;
}

.page-hero-catalog {
  background: var(--bg);
}

.page-hero-info {
  background: var(--bg);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.section.home-occasions {
  padding: 76px 0;
  background: var(--bg-soft);
}

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

.occasion-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.occasion-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
}

.occasion-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--bg-muted);
}

.occasion-card span {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.home-info-strip {
  background: var(--white);
}

.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2,
.about-text h2,
.contacts-info h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0;
}

.section-heading p:last-child,
.about-text > p,
.contacts-info > p {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.7;
}

.catalog-section {
  background: var(--bg-soft);
}

.about-section,
.contacts-section,
.delivery-section {
  background: var(--bg-soft);
}

.catalog-heading {
  max-width: none;
  display: grid;
  justify-items: center;
  text-align: center;
}

.catalog-heading h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0;
}

.catalog-heading p {
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 17px;
}

.catalog-heading-compact {
  margin-bottom: 30px;
}

.catalog-top {
  display: grid;
  grid-template-columns: minmax(240px, 420px) 220px auto auto;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 26px;
}

.search-field input,
.sort-field select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  padding: 0 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.search-field input:focus,
.sort-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(83, 109, 99, 0.12);
}

.catalog-layout {
  max-width: 1080px;
  margin: 0 auto;
}

.catalog-result-count {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.text-button {
  border: 0;
  padding: 0;
  color: var(--accent);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.filter-group {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.filter-group h4 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.filter-options {
  display: grid;
  gap: 8px;
}

.filter-option {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--text-soft);
  background: var(--white);
  font-size: 14px;
  font-weight: 650;
  text-align: left;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.filter-option:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.filter-option.is-active {
  color: var(--accent-dark);
  border-color: rgba(83, 109, 99, 0.42);
  background: var(--accent-soft);
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(31, 39, 34, 0.02);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
}

.product-image {
  aspect-ratio: 1 / 1;
  background: var(--bg-muted);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.025);
}

.product-body {
  display: grid;
  gap: 14px;
  padding: 17px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-title {
  min-height: 46px;
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
}

.product-price {
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.select-button {
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0 13px;
  color: var(--text);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.select-button:hover {
  color: var(--white);
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.empty-state {
  max-width: 520px;
  margin: 40px auto 0;
  padding: 42px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}

.empty-state h3 {
  margin: 0;
  font-size: 24px;
}

.empty-state p {
  margin: 12px 0 22px;
  color: var(--text-soft);
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.8fr);
  gap: 58px;
  align-items: center;
}

.about-text > p {
  max-width: 720px;
}

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

.feature-card,
.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-card {
  padding: 20px;
}

.feature-card h3,
.step-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.feature-card p,
.step-card p {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

.about-image-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

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

.step-card {
  padding: 24px;
  min-height: 230px;
}

.step-card span {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 800;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: 46px;
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.contact-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list a,
.contact-list p {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 650;
}

.map-placeholder {
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-soft);
  background:
    linear-gradient(90deg, rgba(83, 109, 99, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(83, 109, 99, 0.08) 1px, transparent 1px),
    #f0f0f0;
  background-size: 42px 42px;
  font-weight: 700;
}

.site-footer {
  color: #dfe5e1;
  background: var(--footer-bg);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(200px, auto);
  gap: 36px;
  align-items: start;
  padding: 46px 0 34px;
}

.footer-about p {
  max-width: 390px;
  margin: 14px 0 0;
  color: #aeb8b2;
  font-size: 14px;
}

.footer-nav {
  display: grid;
  gap: 8px;
  color: #c9d1cc;
  font-size: 14px;
  font-weight: 650;
}

.footer-contacts {
  display: grid;
  justify-items: end;
  gap: 14px;
}

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

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

.footer-socials svg {
  width: 20px;
  height: 20px;
  fill: var(--black);
}

.copyright {
  display: flex;
  justify-content: space-between;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ea9a3;
  font-size: 13px;
}

.sheet-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  background: rgba(20, 24, 22, 0.48);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.sheet-backdrop.is-open,
.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.filter-sheet {
  width: 100%;
  max-height: min(88vh, 760px);
  display: flex;
  flex-direction: column;
  margin: auto 0 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--white);
  transform: translateY(100%);
  transition: transform 0.24s ease;
}

.sheet-backdrop.is-open .filter-sheet {
  transform: translateY(0);
}

.sheet-header,
.sheet-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.sheet-header h2 {
  margin: 0;
  font-size: 24px;
}

.sheet-body {
  overflow: auto;
  padding: 0 24px 12px;
}

.sheet-actions {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.sheet-actions .button {
  flex: 1;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--white);
  font-size: 26px;
  line-height: 1;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.icon-button:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.product-modal {
  position: relative;
  width: calc(100% - 40px);
  max-width: 980px;
  max-height: calc(100vh - 44px);
  overflow: auto;
  margin: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transform: translateY(12px);
  transition: transform 0.22s ease;
}

.modal-backdrop.is-open .product-modal {
  transform: translateY(0);
}

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

.modal-product {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 34px;
  padding: 24px;
}

.modal-image {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-muted);
}

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

.modal-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 36px;
}

.modal-code {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
}

.modal-details h2 {
  margin: 12px 0 14px;
  font-size: 36px;
  line-height: 1.15;
}

.modal-price {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 800;
}

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

.meta-list {
  display: grid;
  gap: 8px;
  margin: 24px 0;
}

.meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.meta-list span:first-child {
  color: var(--text-muted);
}

.meta-list span:last-child {
  font-weight: 700;
  text-align: right;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-actions .button {
  flex: 1 1 190px;
}

.modal-section {
  margin: 22px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.modal-section h3 {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.3;
}

.composition-list,
.promise-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-soft);
  font-size: 14px;
}

.composition-list li::before {
  content: "- ";
}

.promise-list {
  color: var(--text);
  font-weight: 750;
  text-transform: uppercase;
}

.request-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 0 16px 0 18px;
  color: var(--white);
  background: var(--footer-bg);
  box-shadow: var(--shadow-hover);
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease;
}

.request-float:hover {
  transform: translateY(-2px);
  background: var(--black);
}

.request-float strong {
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--black);
  background: var(--white);
  font-size: 13px;
}

.request-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  justify-content: flex-end;
  background: rgba(13, 13, 13, 0.48);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.request-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.request-drawer {
  width: min(100%, 460px);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.24s ease;
}

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

.request-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.request-header h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
}

.request-items {
  display: grid;
  gap: 12px;
  overflow: auto;
  padding: 18px 24px;
}

.request-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.request-item img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.request-item h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

.request-item p {
  margin: 5px 0 0;
  color: var(--text-soft);
  font-size: 13px;
}

.request-item-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.qty-button,
.remove-request-item {
  min-width: 32px;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-weight: 800;
}

.qty-value {
  min-width: 26px;
  text-align: center;
  font-weight: 800;
}

.remove-request-item {
  margin-left: auto;
  padding: 0 10px;
  color: var(--text-soft);
  font-size: 12px;
}

.request-empty {
  margin: 18px 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.request-empty h3 {
  margin: 0;
  font-size: 19px;
}

.request-empty p {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.request-empty.is-hidden {
  display: none;
}

.request-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
}

.request-summary div {
  display: grid;
  gap: 3px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.request-summary span {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.request-summary strong {
  font-size: 18px;
}

.request-actions {
  display: flex;
  gap: 10px;
  padding: 0 24px 24px;
}

.request-actions .button {
  flex: 1;
}

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

  .split-section {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 960px) {
  :root {
    --header-height: 66px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .mobile-menu-nav {
    width: calc(100% - 32px);
  }

  .desktop-nav {
    display: none;
  }

  .burger {
    grid-column: 2;
  }

  .burger,
  .mobile-menu {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: 390px;
  }

  .hero h1 {
    max-width: 660px;
    font-size: 52px;
  }

  .hero-text {
    max-width: 560px;
    font-size: 19px;
  }

  .section {
    padding: 78px 0;
  }

  .page-hero-inner {
    padding: 76px 0 58px;
  }

  .page-hero h1 {
    font-size: 44px;
  }

  .section-heading h2,
  .about-text h2,
  .contacts-info h2 {
    font-size: 38px;
  }

  .catalog-heading {
    margin-bottom: 22px;
  }

  .catalog-heading h2 {
    font-size: 38px;
  }

  .catalog-top {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 14px;
  }

  .catalog-layout {
    max-width: none;
  }

  .about-layout,
  .contacts-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-image-wrap img {
    min-height: 360px;
  }

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

  .footer-contacts {
    justify-items: start;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 70px 0 62px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.12;
  }

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

  .page-hero p:last-child {
    font-size: 16px;
  }

  .hero-text {
    font-size: 17px;
  }

  .product-modal .button,
  .empty-state .button {
    width: auto;
  }

  .section.home-occasions {
    padding: 56px 0;
  }

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

  .section-heading h2,
  .about-text h2,
  .contacts-info h2 {
    font-size: 32px;
  }

  .section-heading p:last-child,
  .about-text > p {
    font-size: 16px;
  }

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

  .product-body {
    padding: 13px;
    gap: 9px;
  }

  .product-title {
    min-height: 48px;
    font-size: 14px;
  }

  .product-footer {
    display: grid;
    gap: 10px;
  }

  .select-button {
    width: 100%;
    min-height: 42px;
  }

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

  .step-card {
    min-height: auto;
  }

  .step-card span {
    margin-bottom: 24px;
  }

  .map-placeholder {
    min-height: 310px;
  }

  .modal-product {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
  }

  .modal-image img {
    min-height: 280px;
  }

  .modal-details {
    padding-right: 0;
  }

  .modal-details h2 {
    font-size: 27px;
    padding-right: 44px;
  }

  .meta-list div {
    display: grid;
    gap: 2px;
  }

  .meta-list span:last-child {
    text-align: left;
  }

  .sheet-header,
  .sheet-actions {
    padding: 16px;
  }

  .sheet-body {
    padding: 0 16px 12px;
  }

  .request-float {
    right: 16px;
    bottom: 16px;
    left: 16px;
    justify-content: space-between;
  }

  .request-backdrop {
    align-items: flex-end;
  }

  .request-drawer {
    width: 100%;
    height: min(88vh, 760px);
    border-radius: var(--radius) var(--radius) 0 0;
    transform: translateY(100%);
  }

  .request-backdrop.is-open .request-drawer {
    transform: translateY(0);
  }

  .request-header,
  .request-items,
  .request-summary,
  .request-actions {
    padding-left: 16px;
    padding-right: 16px;
  }

  .request-summary,
  .request-actions {
    grid-template-columns: 1fr;
  }

  .request-actions {
    display: grid;
  }

  .product-actions {
    display: grid;
  }
}

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

  .product-footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .select-button {
    width: auto;
  }

}
