/* ============================================================
   AVTORAMKI MD — standalone site theme
   ============================================================ */

[hidden] { display: none !important; }

:root {
  --page-width: 1200px;
  --header-height: 76px;
  --color-dark: #0b0b0d;
  --color-dark-2: #14151a;
  --color-gold: #d4a749;
  --color-gold-2: #f8db95;
  --color-gold-dark: #b8862f;
  --color-text: #17181c;
  --color-muted: #626773;
  --color-line: #e5e6ea;
  --color-bg: #f6f6f8;
  --font-body: "Assistant", "Segoe UI", Arial, sans-serif;
  --font-display: "Exo 2", "Assistant", Arial, sans-serif;
}

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

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

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

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

a {
  color: inherit;
}

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

.page-width {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ---------- Buttons ---------- */

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.03em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

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

.button--primary,
.btn--gold {
  background: linear-gradient(135deg, var(--color-gold-2) 0%, var(--color-gold) 55%, #c89636 100%);
  color: #101114;
  box-shadow: 0 10px 24px rgba(212, 167, 73, 0.28);
}

.button--secondary,
.btn--dark {
  background: #101114;
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-line);
}

.btn--outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-dark);
}

.button--full-width {
  width: 100%;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #000;
  color: #fff;
  border-bottom: 1px solid rgba(212, 167, 73, 0.28);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: var(--header-height);
}

.site-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: #fff;
  white-space: nowrap;
}

.site-logo b {
  color: var(--color-gold);
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0;
  transition: color 0.18s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--color-gold);
  transition: right 0.22s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  right: 0;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 9px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
}

.lang-switch button.is-active {
  background: var(--color-gold);
  color: #101114;
}

.header-cta {
  min-height: 38px;
  padding: 0 16px;
  font-size: 12px;
}

.header-cta svg {
  width: 16px;
  height: 16px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.menu-toggle.is-open span {
  background: transparent;
}

.menu-toggle.is-open span::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Footer ---------- */

.site-footer {
  background: #000;
  color: rgba(255, 255, 255, 0.72);
  padding: 58px 0 24px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .site-logo {
  font-size: 24px;
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 360px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.footer-social a:hover {
  border-color: var(--color-gold);
  background: rgba(212, 167, 73, 0.12);
}

.footer-social img {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--color-gold-2);
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
}

/* ---------- Generic page sections ---------- */

.page-hero {
  padding: 56px 0 28px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.page-hero p {
  margin: 0;
  max-width: 620px;
  color: var(--color-muted);
  font-size: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--color-gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--color-gold);
}

/* ---------- Catalog ---------- */

.catalog-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 28px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-chip:hover {
  border-color: var(--color-gold);
  color: var(--color-text);
}

.filter-chip.is-active {
  background: #101114;
  border-color: #101114;
  color: #fff;
}

.catalog-search {
  margin-left: auto;
  min-width: 240px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: #fff;
  outline: none;
}

.catalog-search:focus {
  border-color: var(--color-gold);
}

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 167, 73, 0.55);
  box-shadow: 0 18px 36px rgba(15, 16, 20, 0.1);
}

.product-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 18px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(212, 167, 73, 0.12), transparent 60%),
    linear-gradient(160deg, #101114 0%, #1b1c22 100%);
  overflow: hidden;
}

.product-card__media img {
  width: 94%;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease;
}

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

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-gold-2), var(--color-gold));
  color: #101114;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  flex: 1;
}

.product-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.product-card__title a {
  text-decoration: none;
}

.product-card__meta {
  color: var(--color-muted);
  font-size: 12px;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.product-card__price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-gold-dark);
  white-space: nowrap;
}

.product-card__link {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-gold);
}

.catalog-empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--color-muted);
  background: #fff;
  border: 1px dashed var(--color-line);
  border-radius: 18px;
}

/* ---------- Product page ---------- */

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 44px;
  align-items: start;
  padding: 42px 0 20px;
}

.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 28px;
  border-radius: 26px;
  border: 1px solid rgba(212, 167, 73, 0.25);
  background:
    radial-gradient(90% 80% at 50% 0%, rgba(212, 167, 73, 0.16), transparent 62%),
    linear-gradient(155deg, #0e0f13 0%, #191a20 100%);
  box-shadow: 0 24px 50px rgba(15, 16, 20, 0.18);
}

.product-gallery img {
  width: min(100%, 760px);
  height: auto;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.45));
}

.product-info h1 {
  margin: 6px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1.05;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--color-gold-dark);
}

.product-price small {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
}

.product-description {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
}

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

.product-benefits {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  background: #fff;
}

.product-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-muted);
}

.product-benefit img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.product-details {
  margin-top: 18px;
  border-top: 1px solid var(--color-line);
  padding-top: 18px;
}

.product-details summary {
  cursor: pointer;
  font-weight: 700;
  padding: 10px 0;
}

.product-details p {
  margin: 0 0 12px;
  color: var(--color-muted);
  font-size: 14px;
}

.product-meta {
  margin: -8px 0 16px;
  color: var(--color-muted);
  font-size: 13px;
}

.related-products {
  padding: 26px 0 10px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
}

/* ---------- Delivery ---------- */

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

.delivery-step {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 18px;
}

.delivery-step__num {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--color-gold-dark);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.delivery-step h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.delivery-step p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.55;
}

.delivery-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.delivery-info {
  padding: 24px;
  border-radius: 18px;
  background: #101114;
  color: rgba(255, 255, 255, 0.76);
}

.delivery-info h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
}

.delivery-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.delivery-faq {
  max-width: 820px;
  margin: 0 auto 30px;
}

.delivery-faq h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
}

.delivery-faq details {
  border-top: 1px solid var(--color-line);
  padding: 14px 0;
}

.delivery-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-text);
}

.delivery-faq p {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact-note__hours {
  margin-top: 14px !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

.contact-card__icon img {
  width: 24px;
  height: 24px;
}

/* ---------- Hero icon fixes ---------- */

.hpro__social-icon img {
  width: 16px;
  height: 16px;
}

.hpro__why-icon img {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-social img {
  filter: brightness(0) invert(1);
  opacity: 0.82;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* ---------- Constructor page ---------- */

.constructor-page {
  padding: 26px 0 10px;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(178, 205, 235, 0.35), transparent 70%),
    linear-gradient(180deg, #f3f8ff 0%, #ffffff 60%);
}

.constructor-page__head {
  max-width: 1260px;
  margin: 0 auto 10px;
  padding: 0 16px;
}

.constructor-page__head h1 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
}

.constructor-page__head p {
  margin: 0;
  color: var(--color-muted);
}

.constructor-order-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1260px;
  margin: 18px auto 0;
  padding: 16px 18px;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 61, 97, 0.08);
}

.constructor-order-bar__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.constructor-order-bar__price span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.constructor-order-bar__price strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-gold-dark);
}

/* ---------- Contacts ---------- */

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 20px;
}

.contact-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.contact-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(248, 219, 149, 0.55), rgba(212, 167, 73, 0.22));
  font-size: 22px;
}

.contact-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.contact-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.contact-note {
  margin-top: 24px;
  padding: 22px;
  border-radius: 18px;
  background: #101114;
  color: rgba(255, 255, 255, 0.78);
}

.contact-note h3 {
  margin: 0 0 8px;
  color: #fff;
}

.contact-note p {
  margin: 0;
  font-size: 14px;
}

/* ---------- Order modal ---------- */

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 6, 9, 0.68);
  backdrop-filter: blur(4px);
}

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

.order-modal__panel {
  width: min(600px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.order-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.order-modal__head h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 24px;
}

.order-modal__head p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.order-modal__close {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.order-summary {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f7f7f9;
  border: 1px solid var(--color-line);
  font-size: 13px;
  color: var(--color-muted);
  white-space: pre-line;
}

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

.order-form label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-muted);
}

.order-form input,
.order-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: #fff;
  outline: none;
}

.order-form textarea {
  min-height: 80px;
  resize: vertical;
}

.order-form input:focus,
.order-form textarea:focus {
  border-color: var(--color-gold);
}

.order-form .btn {
  margin-top: 6px;
}

.order-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--color-muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 200;
  transform: translate(-50%, 20px);
  padding: 12px 18px;
  border-radius: 999px;
  background: #101114;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: calc(100vw - 40px);
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Responsive ---------- */

@media screen and (max-width: 990px) {
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-height);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 20px 18px;
    background: #000;
    border-bottom: 1px solid rgba(212, 167, 73, 0.28);
  }

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

  .site-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav a::after {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    order: -1;
    margin-right: 8px;
  }

  .site-header__inner {
    gap: 12px;
  }

  .header-cta {
    display: none;
  }

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

  .product-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .product-gallery {
    position: static;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .catalog-search {
    margin-left: 0;
    width: 100%;
  }

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

@media screen and (max-width: 749px) {
  :root {
    --header-height: 64px;
  }

  .site-logo {
    font-size: 18px;
  }

  .site-header__actions {
    margin-left: auto;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-hero {
    padding: 36px 0 18px;
  }

  .product-layout {
    padding-top: 24px;
  }

  .product-gallery {
    min-height: 280px;
    padding: 16px;
    border-radius: 18px;
  }

  .order-modal__panel {
    padding: 18px;
    border-radius: 18px;
  }

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