/* Image-first storefront pass. Keep this file last in index.html. */
.home-page {
  color: #111513;
  background:
    radial-gradient(circle at 10% 12%, rgba(226, 74, 42, 0.08), transparent 28%),
    linear-gradient(180deg, #f4f2ec 0%, #fbfaf6 46%, #ece8dd 100%);
}

.home-page .market-header {
  position: sticky;
  top: 12px;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.74);
}

.home-page .electro-hero {
  min-height: clamp(680px, calc(100dvh - 76px), 920px);
  border-radius: 26px;
  background: #101412;
}

.home-page .electro-hero-video,
.home-page .electro-hero-media {
  object-position: 58% center;
  filter: saturate(1.1) contrast(1.04);
}

.home-page .electro-hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 10, 9, 0.76) 0%, rgba(8, 10, 9, 0.5) 31%, rgba(8, 10, 9, 0.05) 66%, rgba(8, 10, 9, 0.2) 100%),
    linear-gradient(180deg, rgba(8, 10, 9, 0.02) 0%, rgba(8, 10, 9, 0.74) 100%);
}

.home-page .hero-meaning-badge,
.home-page .hero-video-status,
.home-page .showroom-intro-band,
.home-page .showroom-product-guide,
.home-page .showroom-sku-board,
.home-page .pricing-readiness,
.home-page .sync-badge small {
  display: none !important;
}

.home-page .electro-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(72px, 10vw, 150px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0;
}

.home-page .electro-hero .hero-lead {
  max-width: 360px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 1.6vw, 24px);
}

.home-page .hero-actions .button,
.home-page .hero-glass-nav a,
.home-page .float-chip,
.home-page .hero-deal-panel {
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 54px rgba(0, 0, 0, 0.18);
}

.home-page .hero-actions .button:first-child {
  background: rgba(255, 255, 255, 0.88);
  color: #111513;
}

.home-page .hero-deal-panel {
  max-width: 260px;
}

.home-page .hero-deal-panel p {
  display: none;
}

.home-page .hero-hot-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-page .hero-hot-row article {
  min-height: 122px;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
}

.home-page .hero-hot-row img {
  width: 96px;
  height: 92px;
  object-fit: contain;
  background: #f6f5ef;
}

.home-page .hero-hot-row strong {
  color: #161b19;
  font-size: 15px;
}

.home-page .showroom-products {
  width: min(calc(100% - 32px), 1480px);
  padding-top: clamp(42px, 6vw, 84px);
}

.home-page .olaa-style-shop {
  width: min(calc(100% - 32px), 1480px);
  padding-top: clamp(24px, 4vw, 56px);
}

.home-page .olaa-search-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(17, 21, 19, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(25, 29, 27, 0.08);
}

.home-page .olaa-search-card button,
.home-page .olaa-search-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  background: #e84d2f;
}

.home-page .olaa-search-card label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(232, 77, 47, 0.24);
  border-radius: 999px;
  background: #fff8f2;
}

.home-page .olaa-search-card span {
  color: #e84d2f;
  font-size: 12px;
  font-weight: 850;
}

.home-page .olaa-search-card input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #111513;
  font: inherit;
  background: transparent;
}

.home-page .olaa-promo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(180px, 0.52fr));
  gap: 14px;
  margin-top: 16px;
}

.home-page .olaa-promo-grid a {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 22px;
  color: #fff;
  text-decoration: none;
  background: #151917;
  box-shadow: 0 20px 58px rgba(25, 29, 27, 0.11);
}

.home-page .olaa-promo-grid .olaa-main-promo {
  min-height: 330px;
}

.home-page .olaa-promo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.03);
}

.home-page .olaa-promo-grid a:not(.olaa-main-promo) img {
  object-fit: contain;
  padding: 22px;
  background: linear-gradient(180deg, #fff 0%, #eee9df 100%);
}

.home-page .olaa-promo-grid div,
.home-page .olaa-promo-grid > a > strong {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
}

.home-page .olaa-promo-grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 10, 9, 0.78) 100%);
}

.home-page .olaa-promo-grid span {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  background: rgba(232, 77, 47, 0.92);
}

.home-page .olaa-promo-grid strong {
  display: block;
  color: #fff;
  font-size: clamp(18px, 2.4vw, 34px);
  line-height: 1.05;
}

.home-page .olaa-category-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.home-page .olaa-category-row a {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  padding: 12px 8px 10px;
  border-radius: 18px;
  color: #252926;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 38px rgba(25, 29, 27, 0.06);
}

.home-page .olaa-category-row img {
  width: 66px;
  height: 66px;
  padding: 8px;
  border-radius: 999px;
  object-fit: contain;
  background: #fff5ef;
}

.home-page .olaa-deal-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.home-page .olaa-deal-row article {
  display: grid;
  grid-template-rows: minmax(150px, 1fr) auto auto;
  gap: 6px;
  min-height: 260px;
  padding: 10px;
  border: 1px solid rgba(17, 21, 19, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.home-page .olaa-deal-row img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  padding: 12px;
  border-radius: 15px;
  object-fit: contain;
  background: linear-gradient(180deg, #fff 0%, #eee9df 100%);
}

.home-page .olaa-deal-row span {
  width: max-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  background: #e84d2f;
}

.home-page .olaa-deal-row strong {
  overflow: hidden;
  color: #141816;
  font-size: 15px;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-page .home-contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(calc(100% - 32px), 1480px);
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(17, 21, 19, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 54px rgba(25, 29, 27, 0.08);
}

.home-page .home-contact-strip span {
  display: inline-flex;
  width: max-content;
  margin-bottom: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #e84d2f;
  font-size: 11px;
  font-weight: 850;
  background: #fff1ea;
}

.home-page .home-contact-strip strong {
  display: block;
  color: #151917;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.12;
}

.home-page .home-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

.home-page .home-contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid rgba(17, 21, 19, 0.08);
  border-radius: 999px;
  color: #27302b;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  background: #fff;
}

.home-page .home-contact-actions a.is-primary {
  border-color: #1f8f63;
  color: #fff;
  background: #1f8f63;
}

.home-page .showroom-header {
  align-items: end;
  margin-bottom: 18px;
}

.home-page .showroom-header h2,
.home-page .product-area .section-title h2 {
  font-size: clamp(34px, 5vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.home-page .showroom-header > p,
.home-page .product-area .section-title p:last-child {
  max-width: 260px;
  color: #626861;
  font-size: 14px;
  line-height: 1.55;
}

.home-page .showroom-proof-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  margin-bottom: 18px;
}

.home-page .showroom-proof-strip div,
.home-page .showroom-proof-strip a {
  min-height: 82px;
  border: 1px solid rgba(17, 21, 19, 0.08);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: none;
}

.home-page .showroom-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(0, 1fr);
  gap: 16px;
}

.home-page .showroom-feature,
.home-page .showroom-card-grid article {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #161b19;
  box-shadow: 0 22px 70px rgba(30, 35, 31, 0.13);
}

.home-page .showroom-feature {
  min-height: 560px;
  display: block;
}

.home-page .showroom-feature img,
.home-page .showroom-card-grid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transform: scale(1.01);
}

.home-page .showroom-feature > div,
.home-page .showroom-card-grid div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 9, 8, 0.84) 74%);
}

.home-page .showroom-feature p,
.home-page .showroom-card-grid p,
.home-page .showroom-card-points {
  display: none !important;
}

.home-page .showroom-feature h3,
.home-page .showroom-card-grid h3 {
  margin: 6px 0 0;
  color: #fff;
  font-size: clamp(19px, 2.2vw, 34px);
  line-height: 1.08;
  letter-spacing: 0;
}

.home-page .showroom-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-page .showroom-card-grid article {
  min-height: 272px;
}

.home-page .showroom-scenario-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.home-page .showroom-scenario-strip a {
  min-height: 86px;
  border: 1px solid rgba(17, 21, 19, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.home-page .showroom-scenario-strip strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-page .product-area {
  padding-top: clamp(46px, 6vw, 86px);
}

.home-page .product-toolbar {
  grid-template-columns: minmax(0, 1fr) auto;
  background: rgba(255, 255, 255, 0.72);
}

.home-page .sync-badge {
  min-width: 82px;
  justify-content: center;
}

.home-page .sync-badge b {
  font-size: 12px;
}

.home-page .product-grid {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
  gap: 16px !important;
}

.home-page .product-card,
.home-page .product-card:nth-child(1),
.home-page .product-card:nth-child(8n + 1) {
  border: 1px solid rgba(17, 21, 19, 0.08) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.72) !important;
}

.home-page .product-card-media,
.home-page .product-card:nth-child(1) .product-card-media,
.home-page .product-card:nth-child(8n + 1) .product-card-media {
  border-radius: 14px !important;
  background: linear-gradient(180deg, #ffffff 0%, #eeeae0 100%) !important;
}

.home-page .product-copy,
.home-page .product-card:nth-child(1) .product-copy,
.home-page .product-card:nth-child(8n + 1) .product-copy {
  min-height: 136px !important;
  gap: 6px !important;
}

.home-page .product-copy small {
  color: #6d746f !important;
  font-size: 10px !important;
  text-transform: uppercase;
}

.home-page .product-copy h3,
.home-page .product-card:nth-child(1) h3,
.home-page .product-card:nth-child(8n + 1) h3 {
  min-height: 38px !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.home-page .product-meta {
  display: none !important;
}

.home-page .price-row {
  min-height: 58px !important;
}

.home-page .price-row strong {
  width: max-content;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 999px;
  background: #111513;
  color: #fff !important;
  font-size: 12px !important;
}

.home-page .product-actions button,
.home-page .product-actions .chat-action {
  border-radius: 999px !important;
}

.home-page .product-actions button:not(.secondary-action) {
  background: #e64b2f;
}

.home-page .mobile-shop-nav {
  display: none;
}

@media (max-width: 980px) {
  .home-page .showroom-layout,
  .home-page .showroom-proof-strip,
  .home-page .showroom-scenario-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .olaa-promo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-page .olaa-promo-grid .olaa-main-promo {
    grid-column: 1 / -1;
  }

  .home-page .olaa-category-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-page .home-contact-strip {
    grid-template-columns: 1fr;
  }

  .home-page .home-contact-actions {
    justify-content: start;
  }

  .home-page .showroom-feature {
    min-height: 420px;
  }

  .home-page .hero-hot-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .home-page {
    padding-bottom: 86px;
  }

  .home-page .market-header,
  .home-page .electro-hero,
  .home-page .product-area,
  .home-page .olaa-style-shop,
  .home-page .home-contact-strip,
  .home-page .showroom-products,
  .home-page .last-order-panel {
    width: min(calc(100% - 20px), 1480px);
  }

  .home-page .olaa-search-card {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .home-page .olaa-search-card button,
  .home-page .olaa-search-card a {
    display: none;
  }

  .home-page .olaa-promo-grid {
    grid-template-columns: 1fr;
  }

  .home-page .olaa-promo-grid .olaa-main-promo,
  .home-page .olaa-promo-grid a {
    min-height: 190px;
  }

  .home-page .olaa-category-row {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .home-page .olaa-category-row a {
    flex: 0 0 78px;
    scroll-snap-align: start;
  }

  .home-page .olaa-category-row img {
    width: 58px;
    height: 58px;
  }

  .home-page .olaa-deal-row {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .home-page .olaa-deal-row article {
    flex: 0 0 168px;
    min-height: 230px;
    scroll-snap-align: start;
  }

  .home-page .home-contact-strip {
    padding: 12px;
    border-radius: 20px;
  }

  .home-page .home-contact-strip strong {
    font-size: 17px;
  }

  .home-page .home-contact-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    width: 100%;
  }

  .home-page .home-contact-actions a {
    min-height: 42px;
    padding-inline: 10px;
  }

  .home-page .electro-hero {
    min-height: 690px;
    border-radius: 20px;
  }

  .home-page .electro-hero h1 {
    font-size: clamp(58px, 18vw, 82px);
  }

  .home-page .hero-float-layer {
    display: none;
  }

  .home-page .showroom-layout,
  .home-page .showroom-card-grid,
  .home-page .showroom-proof-strip,
  .home-page .showroom-scenario-strip {
    grid-template-columns: 1fr;
  }

  .home-page .showroom-card-grid article {
    min-height: 250px;
  }

  .home-page .showroom-scenario-strip a:nth-child(n + 5) {
    display: none;
  }

  .home-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .home-page .product-card,
  .home-page .product-card:nth-child(1),
  .home-page .product-card:nth-child(8n + 1) {
    padding: 7px !important;
  }

  .home-page .product-copy,
  .home-page .product-card:nth-child(1) .product-copy,
  .home-page .product-card:nth-child(8n + 1) .product-copy {
    min-height: 128px !important;
    padding-top: 8px !important;
  }

  .home-page .price-row {
    min-height: 52px !important;
  }

  .home-page .product-actions {
    gap: 6px !important;
  }

  .home-page .mobile-shop-nav {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
    padding: 7px;
    border: 1px solid rgba(17, 21, 19, 0.08);
    border-radius: 22px;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 60px rgba(17, 21, 19, 0.18);
  }

  .home-page .mobile-shop-nav a {
    display: grid;
    place-items: center;
    gap: 3px;
    min-width: 0;
    min-height: 48px;
    border-radius: 17px;
    color: #4b514c;
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
  }

  .home-page .mobile-shop-nav span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    color: inherit;
    font-size: 15px;
    line-height: 1;
  }

  .home-page .mobile-shop-nav .is-active {
    color: #fff;
    background: #e84d2f;
  }

  .home-page .customer-contact-dock {
    bottom: 86px;
  }

  .home-page .cart-float {
    bottom: 86px;
  }
}
