.hero {
  display: grid;
  gap: 20px;
  align-items: center;
  min-height: 280px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-page {
  color-scheme: dark;
  --home-bg: #030408;
  --home-panel: rgba(7, 10, 18, 0.82);
  --home-cyan: #00f5e1;
  --home-purple: #9d18ff;
  --home-green: #51ff36;
  --home-text: #f5f7fb;
  --home-muted: #a9b5c7;
  --home-header-inset: 18px;
  --surface: rgba(0, 0, 0, 0.78);
  --surface-muted: rgba(255, 255, 255, 0.055);
  --text: var(--home-text);
  --muted: var(--home-muted);
  --border: rgba(0, 245, 225, 0.28);
  --accent: var(--home-purple);
  --accent-strong: #7b13d1;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.42), 0 0 28px rgba(157, 24, 255, 0.14);
  background:
    radial-gradient(ellipse at 18% 42%, rgba(73, 14, 96, 0.38), transparent 35rem),
    radial-gradient(ellipse at 86% 18%, rgba(126, 18, 180, 0.38), transparent 34rem),
    radial-gradient(ellipse at 92% 62%, rgba(71, 10, 104, 0.66), transparent 40rem),
    linear-gradient(105deg, #050209 0%, #090313 34%, #11051e 66%, #210033 100%) #050209;
  background-attachment: fixed;
  color: var(--home-text);
  font-family: Arial, Helvetica, sans-serif;
}

.home-page a {
  text-decoration: none;
}

.home-header,
.home-main,
.home-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.home-page .header-inner {
  width: min(1180px, calc(100% - 32px));
}

.home-page .brand-logo {
  width: 748px;
}

.home-page .site-header {
  background: linear-gradient(180deg, rgba(3, 4, 8, 0.98), rgba(3, 4, 8, 0.78));
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(0, 245, 225, 0.2);
}

.home-page .nav a {
  color: var(--home-text);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-page .nav a:hover {
  color: var(--home-cyan);
}

.home-page .language-toggle {
  border-color: rgba(0, 245, 225, 0.34);
  background: rgba(255, 255, 255, 0.94);
  color: #050209;
  font-weight: 900;
}

.home-page .language-toggle:hover {
  background: #fff;
}

.home-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0 10px;
  background: linear-gradient(180deg, rgba(3, 4, 8, 0.98), rgba(3, 4, 8, 0.78));
  backdrop-filter: blur(16px);
}

.home-topbar,
.home-nav-row {
  display: grid;
  gap: 16px;
  align-items: center;
}

.home-topbar {
  grid-template-columns: minmax(480px, 680px) auto;
  justify-content: space-between;
}

.home-nav-row {
  grid-template-columns: minmax(320px, 460px) auto;
  justify-content: space-between;
}

.home-brand {
  display: inline-grid;
  width: fit-content;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.94;
}

.home-brand span {
  color: var(--home-cyan);
  font-size: 15px;
}

.home-brand strong {
  font-size: 32px;
}

.home-topbar .home-brand img {
  display: block;
  width: 680px;
  height: auto;
}

.home-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  width: min(100%, 460px);
  min-height: 48px;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(0, 245, 225, 0.32);
  border-radius: 6px;
  box-shadow: 0 0 24px rgba(157, 24, 255, 0.18);
}

.home-search-below-hero {
  width: 100%;
  justify-self: start;
  grid-template-columns: minmax(0, 1fr) 52px;
  min-height: 64px;
  padding: 4px;
  background: #121b2b;
  border: 2px solid var(--home-cyan);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 24px rgba(0, 245, 225, 0.18);
}

.home-search:focus-within {
  border-color: var(--home-cyan);
  box-shadow: 0 0 0 3px rgba(0, 245, 225, 0.14), 0 0 28px rgba(157, 24, 255, 0.28);
}

.home-search input {
  min-height: 46px;
  color: var(--home-text);
  background: transparent;
  border: 0;
  outline: 0;
}

.home-search input::placeholder {
  color: #7e8aa0;
}

.home-search input::-webkit-search-cancel-button,
.home-search input::-webkit-search-decoration {
  appearance: none;
  -webkit-appearance: none;
}

.home-search button {
  display: grid;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  place-items: center;
  color: var(--home-cyan);
  background: transparent;
  border: 0;
  font-size: 30px;
  line-height: 1;
}

.home-search button span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  line-height: 1;
}

.home-search-below-hero:focus-within {
  box-shadow: 0 0 0 4px rgba(0, 245, 225, 0.2), 0 0 32px rgba(0, 245, 225, 0.24);
}

.home-search-below-hero input {
  min-width: 0;
  min-height: 52px;
  padding: 12px clamp(12px, 2vw, 20px);
  font-size: clamp(16px, 1.4vw, 18px);
}

.home-search-below-hero input::placeholder {
  color: #c5d0df;
  opacity: 1;
}

.home-search-below-hero button {
  width: 52px;
  height: 52px;
  min-height: 52px;
  background: var(--home-cyan);
  color: var(--home-bg);
  border-radius: 6px;
}

.home-search-below-hero button:hover {
  background: #fff;
}

.home-search-below-hero button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.home-header-actions,
.home-nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

.home-header-actions {
  justify-content: end;
  padding-right: var(--home-header-inset);
}

.home-nav {
  justify-content: flex-end;
  padding-right: var(--home-header-inset);
}

.home-contact-link,
.home-admin-link,
.home-nav a {
  color: var(--home-text);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-contact-link {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 8px;
  align-items: center;
  color: #fff;
  white-space: nowrap;
}

.home-phone-prefixes {
  display: grid;
  gap: 1px;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1;
}

.home-phone-main {
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.home-icon-link {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(0, 245, 225, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.home-icon-link:hover,
.home-nav a:hover,
.home-admin-link:hover {
  color: var(--home-cyan);
  border-color: var(--home-cyan);
}

.home-nav-row {
  margin-top: 28px;
}

.home-nav {
  justify-content: flex-end;
  padding-right: var(--home-header-inset);
}

.home-nav a.cart-nav.has-items {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--danger);
  animation: cart-nav-alert-pulse 1.15s ease-in-out infinite;
}

.home-nav a.cart-nav.has-items:hover {
  color: var(--danger);
}

.home-main {
  display: grid;
  gap: 34px;
  padding: 32px 0 34px;
}

.home-hero {
  --home-hero-image: url("/assets/bg_bmw.png");
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(320px, 1.18fr);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid #006f73;
  border-radius: 8px;
  background:
    var(--home-hero-image) center right / cover no-repeat,
    linear-gradient(135deg, #080b14, #030408);
  background-clip: padding-box;
  box-shadow: 0 0 70px rgba(0, 245, 225, 0.12);
}

.home-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  gap: 0;
  padding: clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px) clamp(26px, 4vw, 42px);
}

.home-eyebrow {
  margin: 0;
  color: var(--home-cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-hero h1 {
  grid-row: 1;
  margin: 0;
  color: var(--home-cyan);
  font-size: 56px;
  line-height: 0.93;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(0, 245, 225, 0.2);
}

.home-hero h1::first-line {
  color: #fff;
}

.home-hero p {
  max-width: 470px;
  margin: 0;
  color: var(--home-muted);
  font-weight: 800;
}

.home-cta {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  gap: 12px;
  align-items: center;
  padding: 0 24px;
  color: #fff;
  border: 1px solid var(--home-cyan);
  border-radius: 6px;
  box-shadow: inset -44px 0 0 rgba(157, 24, 255, 0.28), 0 0 22px rgba(0, 245, 225, 0.16);
  font-weight: 900;
  text-transform: uppercase;
}

.home-cta:hover {
  background: rgba(0, 245, 225, 0.12);
}

.home-arrow-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.home-cta .home-arrow-icon,
.home-promo-card .home-arrow-icon {
  filter: invert(1);
}

.home-benefits,
.home-category-grid,
.home-product-grid,
.home-promo-grid,
.home-brand-strip,
.home-inquiry-cta,
.home-footer {
  display: grid;
  gap: 14px;
}

.home-benefits {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 14px;
  background: rgba(0, 0, 0, 0.74);
  border: 1px solid rgba(0, 245, 225, 0.3);
  border-radius: 8px;
}

.home-benefits article {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.home-benefits article:last-child {
  border-right: 0;
}

.home-benefits strong,
.home-section h2,
.home-footer h2 {
  text-transform: uppercase;
}

.home-benefits strong {
  color: #fff;
  font-size: 15px;
}

.home-benefits span,
.home-section__header a,
.home-footer p,
.home-footer a {
  color: var(--home-muted);
}

.home-section {
  display: grid;
  gap: 16px;
}

.home-section__header {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.home-section h2 {
  margin: 0;
  font-size: 26px;
}

.home-section__header a:hover,
.home-footer a:hover {
  color: var(--home-cyan);
}

.home-category-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.home-category-card,
.home-product-card,
.home-promo-card {
  position: relative;
  overflow: hidden;
  color: var(--home-text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(0, 245, 225, 0.28);
  border-radius: 8px;
  box-shadow: inset 0 0 32px rgba(157, 24, 255, 0.11);
}

.home-category-card {
  display: grid;
  grid-template-rows: auto minmax(44px, auto) auto;
  min-height: 230px;
  gap: 6px;
  align-content: start;
  padding: 12px;
}

.home-category-card:hover,
.home-product-card:hover,
.home-promo-card:hover {
  border-color: var(--home-cyan);
  box-shadow: 0 0 24px rgba(0, 245, 225, 0.16), inset 0 0 32px rgba(157, 24, 255, 0.16);
}

.home-category-card__art {
  display: grid;
  min-height: 78px;
  place-items: center;
  color: var(--home-cyan);
  font-size: 56px;
  text-shadow: 0 0 22px rgba(0, 245, 225, 0.48);
}

.home-category-card__image {
  display: grid;
  aspect-ratio: 1 / 0.78;
  place-items: center;
  overflow: hidden;
  margin-bottom: 4px;
  border-radius: 6px;
  background: radial-gradient(circle, rgba(0, 245, 225, 0.12), rgba(255, 255, 255, 0.035) 54%, rgba(0, 0, 0, 0.18));
}

.home-category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-category-card strong,
.home-product-card h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.home-category-card strong {
  min-height: 44px;
  font-size: 16px;
  line-height: 1.25;
  text-transform: uppercase;
  -webkit-line-clamp: 2;
}

.home-category-card em {
  color: var(--home-muted);
  font-style: normal;
  font-size: 13px;
}

.home-card-arrow {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #051015;
  background: var(--home-cyan);
  border-radius: 4px;
  font-weight: 900;
}

.home-card-arrow img {
  display: block;
  width: 20px;
  height: 20px;
}

.home-product-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.home-product-card {
  display: grid;
  grid-template-rows: auto minmax(92px, 1fr) auto auto auto;
  gap: 10px;
  min-height: 330px;
  padding: 12px;
}

.home-product-card__image {
  display: grid;
  aspect-ratio: 1 / 0.86;
  place-items: center;
  overflow: hidden;
  color: var(--home-cyan);
  background: radial-gradient(circle, rgba(0, 245, 225, 0.12), rgba(255, 255, 255, 0.035) 54%, rgba(0, 0, 0, 0.18));
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.home-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-product-card h3 {
  min-height: 44px;
  font-size: 14px;
  line-height: 1.3;
  -webkit-line-clamp: 2;
}

.home-product-card p {
  display: -webkit-box;
  min-height: 36px;
  margin: 6px 0 0;
  overflow: hidden;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-product-card > strong {
  color: var(--home-cyan);
  font-size: 20px;
}

.home-product-card__price.has-sale {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}

.home-product-card__price del {
  color: var(--home-muted);
  font-size: 0.78em;
}

.home-product-card__price.has-sale span {
  color: var(--danger);
}

.home-product-card .is-available {
  color: var(--home-green);
  font-size: 13px;
  font-weight: 800;
}

.home-product-card .is-empty {
  color: #ff5a76;
  font-size: 13px;
  font-weight: 800;
}

.home-product-card__button {
  display: grid;
  min-height: 38px;
  place-items: center;
  color: #fff;
  background: var(--home-purple);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-promo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-promo-card {
  display: grid;
  min-height: 160px;
  gap: 8px;
  align-content: center;
  padding: 28px;
  background:
    radial-gradient(circle at 80% 50%, rgba(0, 245, 225, 0.28), transparent 16rem),
    linear-gradient(135deg, rgba(157, 24, 255, 0.26), rgba(255, 255, 255, 0.025));
  text-align: left;
  text-decoration: none;
}

.home-promo-card--delivery {
  background:
    radial-gradient(circle at 78% 50%, rgba(81, 255, 54, 0.18), transparent 16rem),
    linear-gradient(135deg, rgba(0, 245, 225, 0.17), rgba(157, 24, 255, 0.18));
}

.home-promo-card--inquiry {
  border-color: rgba(157, 24, 255, 0.5);
  cursor: pointer;
  background:
    radial-gradient(circle at 76% 45%, rgba(157, 24, 255, 0.34), transparent 16rem),
    linear-gradient(135deg, rgba(0, 245, 225, 0.12), rgba(157, 24, 255, 0.24));
}

.home-promo-card span {
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
}

.home-promo-card strong {
  color: var(--home-cyan);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.home-promo-card em {
  display: inline-flex;
  width: fit-content;
  gap: 8px;
  align-items: center;
  color: #fff;
  font-style: normal;
  font-weight: 900;
}

.home-inquiry-cta {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 22px 24px;
  background:
    radial-gradient(circle at 90% 50%, rgba(157, 24, 255, 0.28), transparent 22rem),
    rgba(0, 0, 0, 0.74);
  border: 1px solid rgba(0, 245, 225, 0.3);
  border-radius: 8px;
}

.home-inquiry-cta h2,
.home-inquiry-cta p {
  margin: 0;
}

.home-inquiry-cta h2 {
  color: #fff;
  font-size: 26px;
  text-transform: uppercase;
}

.home-inquiry-cta p {
  color: var(--home-muted);
}

.home-inquiry-cta button {
  display: inline-flex;
  min-height: 48px;
  gap: 10px;
  align-items: center;
  padding: 0 22px;
  color: #fff;
  background: var(--home-purple);
  border: 1px solid rgba(0, 245, 225, 0.42);
  border-radius: 6px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-inquiry-cta button:hover {
  border-color: var(--home-cyan);
  box-shadow: 0 0 24px rgba(0, 245, 225, 0.16);
}

.home-inquiry-cta .home-arrow-icon {
  filter: invert(1);
}

.home-brand-strip {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.home-brand-strip span {
  color: var(--home-cyan);
  text-align: center;
  font-weight: 900;
  font-size: clamp(14px, 2vw, 21px);
}

.home-footer {
  grid-template-columns: 1.2fr 1fr 1fr;
  padding: 18px 0 28px;
}

.home-footer > div {
  display: grid;
  gap: 8px;
  align-content: space-between;
}

.home-footer-logo {
  display: inline-grid;
  width: fit-content;
}

.home-footer-logo img {
  display: block;
  width: 220px;
  height: auto;
}

.home-footer h2 {
  margin: 0;
  color: #fff;
  font-size: 15px;
}

.home-footer p {
  margin: 0;
}

.home-footer-terms-link {
  text-transform: uppercase;
}

.home-social-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.home-social-link {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(0, 245, 225, 0.28);
  border-radius: 8px;
}

.home-social-link img {
  width: 22px;
  height: 22px;
  display: block;
}

.home-social-link:hover {
  border-color: var(--home-cyan);
  background: rgba(0, 245, 225, 0.08);
}

@media (max-width: 1080px) {
  .home-page .brand-logo {
    width: 484px;
  }

  .home-topbar {
    grid-template-columns: minmax(380px, 440px) 1fr;
  }

  .home-nav-row {
    grid-template-columns: minmax(280px, 1fr) auto;
  }

  .home-topbar .home-brand img {
    width: 440px;
  }

  .home-header-actions {
    justify-content: flex-end;
  }

  .home-hero,
  .home-benefits,
  .home-promo-grid,
  .home-inquiry-cta,
  .home-footer {
    grid-template-columns: 1fr;
  }

  .home-category-grid,
  .home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-brand-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-header,
  .home-main,
  .home-footer {
    width: min(100% - 20px, 1180px);
  }

  .home-header {
    position: static;
  }

  .home-main {
    padding-top: 16px;
    gap: 24px;
  }

  .home-topbar,
  .home-nav-row,
  .home-hero {
    grid-template-columns: 1fr;
  }

  .home-topbar .home-brand img {
    width: 280px;
  }

  .home-header-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-right: 0;
  }

  .home-contact-link {
    width: 100%;
  }

  .home-search {
    width: 100%;
  }

  .home-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    padding-right: 0;
  }

  .home-nav a {
    white-space: nowrap;
  }

  .home-hero {
    min-height: clamp(220px, 72vw, 360px);
    background-position: 58% center;
  }

  .home-hero__content {
    padding: 28px 20px 28px;
  }

  .home-benefits article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .home-benefits article:last-child {
    border-bottom: 0;
  }

  .home-category-grid,
  .home-product-grid,
  .home-brand-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .home-category-grid,
  .home-product-grid,
  .home-brand-strip {
    grid-template-columns: 1fr;
  }

  .home-hero h1 {
    font-size: 32px;
  }

  .home-section__header {
    align-items: flex-start;
    flex-direction: column;
  }
}

.shop-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.catalog-heading {
  margin-bottom: 20px;
}

.catalog-search {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.catalog-controls {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  min-height: 56px;
  padding: 8px 0;
  color: var(--muted);
  background: transparent;
  font-size: 14px;
  font-weight: 400;
}

.catalog-control-field {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  white-space: nowrap;
}

.catalog-controls .catalog-control-field select {
  width: 150px;
  flex-shrink: 0;
  min-width: 0;
  min-height: 40px;
  padding: 8px 30px 8px 12px;
  appearance: none;
  color: var(--text);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%23a9b5c7' stroke-width='1'/%3E%3C/svg%3E") right 10px center / 14px no-repeat;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.catalog-view-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}

.catalog-view-buttons {
  display: inline-flex;
}

.catalog-view-button {
  display: grid;
  width: 40px;
  min-height: 40px;
  padding: 0;
  place-items: center;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
}

.catalog-view-button:first-child {
  border-radius: 4px 0 0 4px;
}

.catalog-view-button:last-child {
  border-left: 0;
  border-radius: 0 4px 4px 0;
}

.catalog-view-button svg {
  width: 20px;
  height: 20px;
}

.catalog-view-button:hover {
  background: var(--surface-muted);
}

.catalog-view-button.is-active {
  color: #fff;
  background: var(--accent);
}

.catalog-controls .catalog-control-field select:focus-visible,
.catalog-view-button:focus-visible {
  border-color: var(--accent);
  box-shadow: none;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.catalog-search-field {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 48px;
  gap: 8px;
  padding: 4px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.catalog-search-field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.catalog-search input {
  flex: 1;
  min-width: 120px;
  min-height: 38px;
  padding: 4px 2px;
  border: 0;
  outline: 0;
  font-size: 17px;
}

.catalog-search-field [data-clear-product-search] {
  display: grid;
  width: 28px;
  height: 28px;
  min-height: 28px;
  flex: 0 0 auto;
  padding: 0;
  place-items: center;
  color: var(--muted);
  background: var(--surface-muted);
  border: 0;
  border-radius: 4px;
}

.catalog-search-field [data-clear-product-search]:hover {
  color: var(--text);
}

.catalog-search-field [data-clear-product-search][hidden] {
  display: none;
}

.active-filter-row {
  display: contents;
}

.active-category-filter {
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  max-width: min(260px, 42vw);
  min-height: 32px;
  padding: 5px 6px 5px 12px;
  color: white;
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
}

.active-category-filter > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.active-category-filter button {
  display: grid;
  width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  place-items: center;
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border: 0;
  border-radius: 4px;
}

.active-category-filter button:hover {
  background: rgba(255, 255, 255, 0.28);
}

.catalog-filters {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 18px;
}

.filter-section {
  display: grid;
  gap: 10px;
}

.filter-title {
  font-weight: 700;
}

.category-search-field {
  display: flex;
  gap: 6px;
  align-items: center;
  min-height: 48px;
  padding: 4px 5px 4px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.category-search-field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.category-search-field input {
  flex: 1;
  min-width: 0;
  min-height: 38px;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 14px;
}

.category-search-field button {
  display: grid;
  width: 28px;
  height: 28px;
  min-height: 28px;
  flex: 0 0 auto;
  padding: 0;
  place-items: center;
  color: var(--muted);
  background: var(--surface-muted);
  border: 0;
  border-radius: 4px;
}

.category-search-field button:hover {
  color: var(--text);
}

.category-search-field button[hidden] {
  display: none;
}

.category-list {
  display: grid;
  max-height: calc(100vh - 180px);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.category-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--text);
  text-align: left;
  background: var(--surface);
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  font-weight: 600;
}

.category-option:last-child {
  border-bottom: 0;
}

.category-option:hover,
.category-option.is-active {
  background: var(--surface-muted);
}

.category-option[data-depth="1"] {
  padding-left: 28px;
}

.category-option[data-depth="2"] {
  padding-left: 46px;
}

.category-option__icon,
.category-option__icon-placeholder {
  width: 20px;
  height: 20px;
}

.category-option__icon {
  display: block;
  opacity: 0.72;
}

.category-option span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-option span:nth-child(3) {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.category-empty {
  padding: 10px;
  color: var(--muted);
  background: var(--surface);
  font-size: 14px;
}

.catalog-results {
  display: grid;
  gap: 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  min-height: 360px;
  padding: 14px;
}

.product-card__image,
.product-detail__image {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.product-card__image img,
.product-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card__image {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  min-width: 0;
  width: 100%;
  background: #000;
}

.product-card__image img {
  min-width: 0;
  min-height: 0;
}

.product-card__image:not(.is-loaded) {
  visibility: hidden;
}

.product-card__body {
  display: grid;
  align-content: start;
  gap: 6px;
}

.product-card__title {
  display: -webkit-box;
  min-height: 48px;
  margin: 0;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card__title a {
  text-decoration: none;
}

.product-card__title a:hover {
  color: var(--accent);
}

.product-card__meta,
.product-card__category,
.product-card__description {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.product-card__description {
  display: -webkit-box;
  min-height: 36px;
  overflow: hidden;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.product-grid.product-list {
  grid-template-columns: minmax(0, 1fr);
}

.product-list .product-card {
  grid-template-columns: 120px minmax(0, 1fr) 180px;
  grid-template-rows: auto;
  min-height: 0;
  gap: 16px;
  align-items: center;
}

.product-list .product-card__title,
.product-list .product-card__description {
  min-height: 0;
  overflow-wrap: anywhere;
}

.product-list .product-card__footer {
  align-items: flex-start;
  flex-direction: column;
}

.product-card__price,
.product-detail__price {
  font-size: 20px;
  font-weight: 700;
}

.product-card__price.has-sale,
.product-detail__price.has-sale,
.cart-row__unit.has-sale {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}

.product-card__price del,
.product-detail__price del,
.cart-row__unit del {
  color: var(--muted);
  font-size: 0.82em;
  font-weight: 600;
}

.product-card__price.has-sale span,
.product-detail__price.has-sale span,
.cart-row__unit.has-sale span {
  color: var(--danger);
}

.discount-badge {
  display: inline-grid;
  min-height: 22px;
  padding: 2px 7px;
  place-items: center;
  color: #fff;
  background: var(--danger);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.product-detail__description {
  display: grid;
  gap: 6px;
  padding: 0;
}

.product-detail__description h2 {
  margin: 0;
  font-size: 17px;
}

.product-detail__description p {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

.product-detail__purchase {
  display: grid;
  gap: 12px;
  align-self: end;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.product-detail__purchase-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-detail__purchase-actions .product-detail__price {
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-detail__stock {
  font-weight: 700;
}

body.shop-theme .product-detail__stock.is-available {
  color: #00f5e1;
}

.product-detail__purchase [data-detail-add-to-cart] {
  flex: 0 0 auto;
}

.stock-label {
  color: var(--muted);
  font-size: 13px;
}

.stock-label.is-available {
  color: var(--accent-strong);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 0;
}

.pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-card button:disabled,
.product-detail button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-card button:disabled:hover,
.product-detail button:disabled:hover {
  background: var(--accent);
}

.catalog-empty {
  grid-column: 1 / -1;
}

.catalog-inquiry-empty {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.catalog-inquiry-link {
  min-height: 0;
  padding: 0;
  color: var(--accent);
  background: transparent;
  border: 0;
  font-weight: 800;
}

.catalog-inquiry-link:hover {
  color: var(--accent-strong);
  background: transparent;
  text-decoration: underline;
}

.product-inquiry-modal .modal-actions {
  display: grid;
}

.product-inquiry-modal .modal-actions button {
  width: 100%;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 28px;
  min-height: 364px;
  align-items: start;
}

.product-detail__media {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.product-detail__image {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  min-width: 0;
  width: 100%;
  height: 314px;
  background: #000;
}

.product-detail__image img {
  min-width: 0;
  min-height: 0;
}

.product-detail__image-button,
.product-detail__image-button:hover {
  padding: 0;
  border: 0;
  background: #000;
  cursor: zoom-in;
}

.product-detail__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-detail__thumbs button {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  width: 78px;
  height: 58px;
  place-items: center;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}

.product-detail__thumbs button.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.product-detail__thumbs img {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body:has(.product-gallery-lightbox[open]) {
  overflow: hidden;
}

.product-gallery-lightbox {
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
  overflow: hidden;
}

.product-gallery-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.product-gallery-lightbox__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  place-items: center;
  padding: 56px 88px;
}

.product-gallery-lightbox__inner img {
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  background: transparent;
}

.product-gallery-lightbox__close,
.product-gallery-lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  cursor: pointer;
  line-height: 1;
  text-align: center;
}

.product-gallery-lightbox__close {
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  font-size: 24px;
  line-height: 1;
}

.product-gallery-lightbox__nav {
  top: 50%;
  width: 48px;
  height: 48px;
  font-size: 0;
  transform: translateY(-50%);
}

.product-gallery-lightbox__nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  border-top: 4px solid currentColor;
  border-right: 4px solid currentColor;
}

.product-gallery-lightbox__nav.previous::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.product-gallery-lightbox__nav.next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.product-gallery-lightbox__nav.previous {
  left: 24px;
}

.product-gallery-lightbox__nav.next {
  right: 24px;
}

.product-gallery-lightbox__count {
  position: absolute;
  bottom: 18px;
  left: 50%;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-weight: 700;
  transform: translateX(-50%);
}

.product-detail__content {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
  gap: 12px;
  min-height: 314px;
}

.product-detail__content:only-child {
  grid-column: 1 / -1;
}

.product-detail__title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 48px;
  line-height: 1.05;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-detail__title--long {
  font-size: 42px;
}

.product-detail__title--very-long {
  font-size: 36px;
}

.identifier-list {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
}

.identifier-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 8px 0;
}

.identifier-list div:first-child {
  padding-top: 0;
}

.identifier-list dt {
  color: var(--muted);
  font-weight: 700;
}

.identifier-list dd {
  margin: 0;
}

.cart-list {
  display: grid;
  gap: 12px;
}

.cart-checkout-action {
  display: flex;
  justify-content: flex-end;
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cart-row__item {
  display: grid;
  gap: 8px;
}

.cart-row__quantity {
  display: inline-grid;
  grid-template-columns: 32px auto 32px;
  gap: 8px;
  align-items: center;
  justify-content: start;
  color: var(--muted);
}

.cart-row__quantity button {
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border-radius: 4px;
}

.cart-row__quantity button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.cart-row__quantity button:disabled:hover {
  background: var(--accent);
}

.cart-row__quantity span {
  min-width: 52px;
  text-align: center;
}

.cart-row__stock {
  color: var(--muted);
  font-size: 13px;
}

.cart-row__price {
  display: grid;
  gap: 4px;
  min-width: 150px;
  text-align: right;
}

.cart-row__unit {
  justify-content: end;
  color: var(--muted);
  font-size: 14px;
}

.checkout-total {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 20px;
}

.checkout-total span {
  color: var(--muted);
  font-weight: 700;
}

.checkout-address-field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.checkout-field-title {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
}

.checkout-field-title button {
  display: grid;
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  place-items: center;
  border-radius: var(--radius);
  font-size: 22px;
  line-height: 1;
}

.shop-modal {
  width: min(560px, calc(100% - 32px));
  padding: 24px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.shop-modal::backdrop {
  background: rgba(23, 32, 42, 0.42);
}

.product-inquiry-modal {
  background: rgba(6, 5, 12, 0.98);
}

.product-inquiry-modal::backdrop {
  background: rgba(0, 0, 0, 0.68);
}

.modal-header {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.modal-header h2 {
  margin: 0;
}

.icon-button {
  width: 36px;
  min-height: 36px;
  padding: 0;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--danger);
}

.account-auth-layout {
  display: grid;
  width: min(480px, 100%);
  gap: 16px;
  align-items: start;
  margin: 0 auto;
}

.account-auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 28px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.account-auth-divider::before,
.account-auth-divider::after {
  content: "";
  height: 1px;
  background: var(--border);
}

.account-auth-layout .form-message:empty {
  display: none;
}

.account-auth-layout h2,
.account-layout h2,
.account-inline-form h3 {
  margin: 0;
}

.account-header {
  display: flex;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 20px;
  align-items: start;
}

.account-layout > .panel,
.account-side-panels > .panel {
  display: grid;
  gap: 16px;
}

.account-profile-panel {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

.account-profile-panel button[type="submit"],
.account-side-panels .account-form-actions button[type="submit"] {
  align-self: end;
  margin-top: 28px;
}

.account-side-panels .account-form-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.account-side-panels {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: 20px;
  align-self: start;
}

.account-address-panel,
.account-invoice-panel {
  min-width: 0;
}

.account-orders-panel {
  grid-column: 1 / -1;
}

.form-two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkbox-row {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 18px;
}

.checkout-terms {
  align-items: flex-start;
}

.checkout-terms a,
.privacy-notice a,
.site-legal-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-notice,
.checkout-terms-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.checkout-terms-note.is-error {
  color: var(--danger);
}

.storage-options {
  margin-top: 24px;
}

.site-legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  padding: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

@media print {
  .site-legal-footer,
  .storage-options {
    display: none;
  }
}

.account-section-title,
.account-form-actions,
.account-card,
.account-order__header {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.account-section-title button {
  display: grid;
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  place-items: center;
  color: white;
  background: var(--accent);
  border: 0;
  border-radius: var(--radius);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.account-card-list,
.account-orders {
  display: grid;
  gap: 10px;
}

.account-card {
  padding: 12px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.account-card-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.account-icon-button {
  display: inline-grid;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  place-items: center;
  border-color: var(--border);
  background: var(--surface);
}

.account-icon-button:hover {
  background: var(--surface);
  border-color: var(--accent);
}

.account-icon-button img {
  width: 20px;
  height: 20px;
  opacity: 0.82;
}

.account-icon-button:hover img,
.account-icon-button:focus-visible img {
  opacity: 1;
}

.account-icon-button.danger img {
  filter: invert(18%) sepia(93%) saturate(2314%) hue-rotate(351deg) brightness(83%) contrast(93%);
}

.account-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.account-badge {
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 6px;
  color: var(--accent-strong);
  background: rgba(15, 118, 110, 0.1);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.account-inline-form {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.account-order {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.account-order__header {
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.account-order__header strong {
  color: var(--text);
}

.account-order ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-order li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  font-size: 14px;
}

.account-order li span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .home-page .brand-logo {
    width: 308px;
  }

  .catalog-search {
    grid-template-columns: 1fr;
  }

  .catalog-search-field {
    align-items: stretch;
    flex-wrap: wrap;
    padding: 6px 8px;
  }

  .active-category-filter {
    max-width: 100%;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    position: static;
  }

  .category-list {
    max-height: 260px;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-detail__image {
    height: auto;
  }

  .product-detail__title {
    font-size: 34px;
  }

  .product-detail__title--long {
    font-size: 30px;
  }

  .product-detail__title--very-long {
    font-size: 26px;
  }

  [data-product-detail] {
    padding: 16px;
  }

  .product-detail__purchase-actions {
    gap: 10px;
  }

  .product-detail__purchase [data-detail-add-to-cart] {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 14px;
  }

  .product-gallery-lightbox__inner {
    padding: 56px 14px;
  }

  .product-gallery-lightbox__close {
    top: 10px;
    right: 10px;
  }

  .product-gallery-lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }

  .product-gallery-lightbox__nav.previous {
    left: 10px;
  }

  .product-gallery-lightbox__nav.next {
    right: 10px;
  }

  .product-gallery-lightbox__count {
    bottom: 10px;
  }

  .cart-row {
    grid-template-columns: 1fr;
  }

  .cart-row__price {
    text-align: left;
  }

  .cart-row__unit {
    justify-content: start;
  }

  .account-auth-layout,
  .account-layout,
  .form-two-columns {
    grid-template-columns: 1fr;
  }

  .account-profile-panel,
  .account-side-panels,
  .account-address-panel,
  .account-invoice-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .account-header,
  .account-card,
  .account-form-actions,
  .account-order li {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .account-order li span:first-child {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .product-list .product-card {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
  }

  .product-list .product-card__footer {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 360px) {
  .product-detail__purchase [data-detail-add-to-cart] {
    padding-inline: 8px;
    font-size: 13px;
  }
}
