:root {
  --ink: #14171f;
  --muted: #646b78;
  --line: #d9dde5;
  --surface: #ffffff;
  --surface-alt: #f4f6f9;
  --red: #c91f2d;
  --red-dark: #8e1722;
  --yellow: #f2b705;
  --teal: #0f7a78;
  --blue: #24476b;
  --shadow: 0 18px 44px rgba(20, 23, 31, 0.12);
  --font-body: "Inter", Arial, Helvetica, sans-serif;
  --font-heading: "Montserrat", Arial, Helvetica, sans-serif;
  --font-action: "Poppins", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--surface);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(13, 17, 24, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px rgba(8, 11, 17, 0.2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: #fff;
  font-family: var(--font-heading);
}

.brand small {
  margin-top: 2px;
  color: #b8c0cc;
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #eef2f7;
  font-family: var(--font-action);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--yellow);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-action,
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-family: var(--font-action);
  font-weight: 800;
}

.header-action {
  padding: 0 18px;
  color: #fff;
  background: #1f8f55;
  gap: 8px;
}

.header-action svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding: clamp(28px, 6vw, 72px);
  background: #080b11 url("assets/hero-autopartes.png") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 11, 17, 0.88) 0%, rgba(8, 11, 17, 0.68) 42%, rgba(8, 11, 17, 0.08) 100%);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  width: min(650px, 100%);
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--yellow);
  font-family: var(--font-action);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-heading);
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.96;
}

.hero-copy {
  max-width: 560px;
  margin: 22px 0 0;
  color: #eef2f7;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  padding: 0 20px;
}

.button.primary {
  color: #fff;
  background: var(--red);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.search-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  padding: 24px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: #fff;
}

.search-panel label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-action);
  font-weight: 800;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
  gap: 12px;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  background: #fff;
}

.quick-stats {
  min-width: 160px;
  padding: 14px 18px;
  border-left: 4px solid var(--yellow);
  background: rgba(255, 255, 255, 0.08);
}

.quick-stats strong,
.quick-stats span {
  display: block;
}

.quick-stats strong {
  font-size: 30px;
}

.quick-stats span {
  color: #d8dde8;
  font-size: 13px;
}

.section {
  padding: 58px clamp(18px, 4vw, 56px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.catalog-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.catalog-tools label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.catalog-tools select {
  min-width: 170px;
}

.section-heading h2,
.about-band h2,
.location-info h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.category-button {
  min-height: 92px;
  padding: 18px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.category-button:hover,
.category-button.is-active {
  border-color: var(--red);
  box-shadow: var(--shadow);
}

.category-button strong,
.category-button span {
  display: block;
}

.category-button strong {
  font-family: var(--font-heading);
}

.category-button span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.catalog-section {
  background: var(--surface-alt);
}

.status-message {
  margin-bottom: 16px;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.load-more {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
  font-family: var(--font-action);
  font-size: 14px;
  font-weight: 900;
}

.load-more:disabled {
  cursor: wait;
  opacity: 0.68;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-image {
  position: relative;
  display: grid;
  width: 100%;
  height: 230px;
  place-items: center;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(238, 241, 245, 0.92)),
    #eef1f5;
}

.product-image.is-square {
  height: 230px;
}

.product-image.is-wide {
  height: 230px;
}

.product-image.is-tall {
  height: clamp(520px, 42vw, 680px);
}

.product-image img {
  display: block;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: contain;
  object-position: center;
}

.product-image.is-tall img {
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: contain;
  object-position: center;
}

.product-image-empty {
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--blue));
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
}

.gallery-control {
  position: absolute;
  top: 50%;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(20, 23, 31, 0.68);
  cursor: pointer;
  font-family: var(--font-action);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-control:hover {
  background: var(--red);
}

.gallery-control.prev {
  left: 8px;
}

.gallery-control.next {
  right: 8px;
}

.gallery-count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(20, 23, 31, 0.76);
  font-size: 12px;
  font-weight: 800;
}

.product-gallery img {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(8, 11, 17, 0.9);
  backdrop-filter: blur(12px);
}

.image-lightbox[hidden] {
  display: none;
}

.lightbox-open {
  overflow: hidden;
}

.lightbox-content {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin: 0;
}

.lightbox-content img {
  max-width: min(100%, 1100px);
  max-height: 76vh;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.lightbox-content figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.lightbox-content span {
  color: #d8dde8;
}

.lightbox-close,
.lightbox-control {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-family: var(--font-action);
  font-weight: 900;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  font-size: 18px;
}

.lightbox-control {
  width: 48px;
  height: 48px;
  font-size: 32px;
}

.lightbox-close:hover,
.lightbox-control:hover {
  background: var(--red);
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.stock {
  color: #fff;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--teal);
}

.stock.low {
  background: var(--yellow);
  color: var(--ink);
}

.stock.out {
  background: var(--muted);
}

.product-card h3 {
  margin: 18px 0 8px;
  font-family: var(--font-heading);
  font-size: 21px;
  line-height: 1.2;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.product-meta span,
.product-meta a {
  display: inline-flex;
  align-items: center;
  padding: 7px 9px;
  border-radius: 8px;
  background: #eef1f5;
  color: #2d3542;
  font-size: 12px;
  font-weight: 700;
}

.product-meta a:hover {
  color: #fff;
  background: var(--blue);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
}

.price {
  color: var(--red-dark);
  font-size: 22px;
  font-weight: 900;
}

.add-quote {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  cursor: pointer;
  font-family: var(--font-action);
  font-size: 14px;
  font-weight: 800;
}

.add-quote:hover {
  border-color: var(--red);
}

.quote-drawer {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  width: min(380px, calc(100vw - 36px));
}

.quote-toggle {
  min-height: 48px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #1f8f55;
  cursor: pointer;
  font-family: var(--font-action);
  font-size: 15px;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.quote-toggle span {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  margin-left: 6px;
  place-items: center;
  color: #1f8f55;
  background: #fff;
  border-radius: 999px;
}

.quote-panel {
  margin-bottom: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.quote-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.quote-item button {
  border: 0;
  color: var(--red-dark);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-action);
  font-size: 13px;
  font-weight: 800;
}

.quote-panel-head small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.quote-window-actions {
  display: flex;
  gap: 6px;
}

.quote-window-actions button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-family: var(--font-action);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.quote-window-actions button:hover {
  border-color: var(--red);
  color: var(--red);
}

.quote-items {
  display: grid;
  gap: 10px;
  max-height: 230px;
  overflow: auto;
}

.quote-panel.is-minimized .quote-items,
.quote-panel.is-minimized .quote-panel-footer,
.quote-panel.is-minimized .quote-confirm {
  display: none;
}

.quote-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  background: var(--surface-alt);
}

.quote-item strong,
.quote-item small {
  display: block;
}

.quote-item small,
.empty-quote {
  color: var(--muted);
}

.empty-quote {
  margin: 0;
  line-height: 1.45;
}

.quote-panel-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.quote-panel-footer button {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--red-dark);
  background: #fff;
  cursor: pointer;
  font-family: var(--font-action);
  font-size: 14px;
  font-weight: 900;
}

.send-quote {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: #1f8f55;
  font-family: var(--font-action);
  font-weight: 900;
}

.quote-confirm {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #f2c4c8;
  border-radius: 8px;
  background: #fff5f6;
}

.quote-confirm p {
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 800;
}

.quote-confirm div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.quote-confirm button {
  min-height: 38px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-action);
  font-size: 14px;
  font-weight: 900;
}

.quote-confirm button:first-child {
  border: 0;
  color: #fff;
  background: var(--red);
}

.quote-confirm button:last-child {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.about-band {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(24px, 6vw, 72px);
  padding: 64px clamp(18px, 4vw, 56px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 15, 24, 0.92) 0%, rgba(10, 15, 24, 0.82) 48%, rgba(10, 15, 24, 0.58) 100%),
    url("assets/about-autopartes.png") center / cover no-repeat;
}

.about-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(201, 31, 45, 0.18), transparent 42%);
}

.about-band > * {
  max-width: 720px;
}

.about-band p:not(.eyebrow) {
  margin: 0;
  color: #e9eef5;
  font-size: 18px;
  line-height: 1.7;
}

.location-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: 28px;
  padding: 58px clamp(18px, 4vw, 56px);
}

.location-info p {
  color: var(--muted);
  line-height: 1.6;
}

.warehouse-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.warehouse-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-alt);
  overflow: hidden;
}

.warehouse-button {
  width: 100%;
  min-height: 100%;
  padding: 12px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
}

.warehouse-button:hover,
.warehouse-button:focus-visible,
.warehouse-button.is-active {
  outline: none;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--red);
}

.warehouse-button.is-active {
  box-shadow: inset 0 0 0 2px var(--red), 0 10px 24px rgba(201, 31, 45, 0.12);
}

.warehouse-button strong,
.warehouse-button span,
.warehouse-button small {
  display: block;
}

.warehouse-button strong {
  color: var(--red-dark);
  font-family: var(--font-action);
  font-size: 12px;
  text-transform: uppercase;
}

.warehouse-button span {
  margin-top: 4px;
  font-weight: 800;
}

.warehouse-button small {
  margin-top: 4px;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.map-shell {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-alt);
  box-shadow: var(--shadow);
}

.map {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  pointer-events: none;
}

.map-selected-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(300px, calc(100% - 32px));
  padding: 7px 12px 7px 7px;
  color: #fff;
  background: rgba(155, 18, 30, 0.96);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(8, 11, 17, 0.28);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  pointer-events: auto;
  transform: translate(-50%, -118%);
}

.map-selected-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-top-color: rgba(155, 18, 30, 0.96);
  transform: translateX(-50%);
}

.map-selected-pin span {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 999px;
  font-family: var(--font-action);
}

.map-selected-pin strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-selected-pin:hover,
.map-selected-pin:focus-visible {
  outline: none;
  background: var(--red);
}

.map-selected-pin:hover::after,
.map-selected-pin:focus-visible::after {
  border-top-color: var(--red);
}

.site-footer {
  padding: 36px clamp(18px, 4vw, 56px);
  color: #dce2ea;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.7fr 0.9fr;
  gap: 28px;
}

.site-footer p {
  color: #aeb6c4;
  line-height: 1.55;
}

.site-footer a {
  display: block;
  margin-top: 8px;
  color: #fff;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.social-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  margin-top: 0;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.social-links a:hover {
  border-color: var(--yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #aeb6c4;
  font-size: 13px;
}

.footer-bottom span:first-child {
  color: #fff;
  font-family: var(--font-action);
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    position: sticky;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: clamp(18px, 4vw, 56px);
    left: clamp(18px, 4vw, 56px);
    width: auto;
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(13, 17, 24, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
  }

  .nav-open .main-nav {
    display: grid;
    gap: 6px;
  }

  .main-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
  }

  .menu-toggle {
    display: flex;
  }

  .search-band,
  .about-band,
  .location-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .header-action {
    min-width: 104px;
  }

  .header-action span {
    display: none;
  }

  .header-action {
    min-width: 44px;
    width: 44px;
    padding: 0;
  }

  .hero {
    min-height: 620px;
    align-items: end;
    padding: 26px 18px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(8, 11, 17, 0.24) 0%, rgba(8, 11, 17, 0.9) 62%);
  }

  .hero h1 {
    max-width: 100%;
    font-size: 42px;
  }

  .search-row,
  .category-grid,
  .product-grid,
  .warehouse-list {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .catalog-tools {
    align-items: stretch;
    flex-direction: column;
    margin-top: 16px;
  }

  .product-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .product-image,
  .product-image.is-square,
  .product-image.is-wide {
    height: 230px;
  }

  .product-image.is-tall {
    height: 340px;
  }

  .map-shell {
    min-height: 360px;
  }

  .map-selected-pin {
    max-width: calc(100% - 72px);
    padding: 6px;
    transform: translate(-50%, -132%);
  }

  .map-selected-pin strong {
    display: none;
  }

  .map-selected-pin span {
    width: 30px;
    height: 30px;
  }

  .image-lightbox {
    grid-template-columns: 1fr 1fr;
    align-content: center;
    padding: 18px;
  }

  .lightbox-content {
    grid-column: 1 / -1;
    order: 1;
  }

  .lightbox-content img {
    max-height: 70vh;
  }

  .lightbox-control {
    order: 2;
    width: 100%;
    border-radius: 8px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
