.store-home {
  background: #f6f8fb;
  color: #172033;
  min-height: 100vh;
  padding-bottom: 104px;
}

.home-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(14px);
}

.home-location,
.home-notification {
  background: #f3f7fb;
  border: 1px solid #e5edf6;
  border-radius: 999px;
  padding: 7px 10px;
}

.home-notification {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-notification .notification_no {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 17px;
  height: 17px;
  margin-left: 0;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  line-height: 17px;
  text-align: center;
}

.home-hero {
  margin: 8px -15px 18px;
  padding: 24px 15px 22px;
  background: linear-gradient(135deg, #059669, #2563eb);
  color: #fff;
}

.home-hero__copy {
  max-width: 520px;
  margin-bottom: 18px;
}

.home-hero__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 900;
}

.home-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.55;
}

.home-search {
  display: flex;
  align-items: center;
  margin: 0;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
}

.home-search .search {
  color: #0f766e;
}

.home-search input {
  height: 54px;
  font-weight: 700;
}

.home-section {
  margin-top: 18px;
}

.home-panel,
.offer.home-panel {
  background: transparent;
}

.home-section__heading,
.top-content.home-section__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.home-section__heading h3,
.home-section__heading h4 {
  margin: 0;
  color: #172033;
  font-weight: 900;
}

.home-section__heading p {
  margin-top: 3px;
}

.home-section__heading .font-theme {
  flex: 0 0 auto;
  font-weight: 800;
}

.manufacturer-panel {
  padding: 0;
}

.manufacturer-panel .corner {
  display: none;
}

.manufacturer-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.manufacturer-list::-webkit-scrollbar {
  display: none;
}

.manufacturer-card {
  width: 86px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e6edf5;
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.manufacturer-card:hover {
  border-color: #22c55e;
  box-shadow: 0 12px 24px rgba(34, 197, 94, 0.14);
  transform: translateY(-2px);
}

.manufacturer-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.home-category-grid {
  margin-inline: -6px;
}

.home-category-grid > [class*="col-"] {
  padding-inline: 6px;
}

.home-category-card {
  height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #e7edf4;
  border-radius: 8px;
  background: #fff;
  padding: 10px 6px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.home-category-card__image {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eef8f5;
}

.home-category-card img {
  max-width: 46px;
  max-height: 46px;
  object-fit: contain;
}

.home-category-card .title-color {
  width: 100%;
  display: -webkit-box;
  overflow: hidden;
  color: #172033;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.offer-panel {
  padding: 0;
}

.home-offer-card {
  border: 1px solid #eef2f7;
  box-shadow: none;
}

.home-offer-card > a {
  width: 82px;
  min-width: 82px;
}

.home-offer-card img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.home-product-slider {
  margin: 0 -6px;
}

.home-product-slider .slick-slide,
.home-product-slider > div {
  padding: 0 6px;
}

.home-product-card {
  min-height: 236px;
  border-color: #e7edf4;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.home-product-card__image {
  height: 92px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.home-product-card__image img {
  width: auto !important;
  max-width: 100%;
  max-height: 86px;
  object-fit: contain;
}

.home-product-card__content a {
  min-height: 37px;
}

.home-product-card__footer {
  gap: 8px;
}

.home-product-card__price {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  color: #0f172a;
  line-height: 1.2;
}

.home-product-card__price del {
  color: #94a3b8;
  font-weight: 600;
}

.home-product-card .plus-minus {
  border-color: #dbeafe;
}

.home-product-card__action,
.product-card .content-wrap span:last-of-type .home-product-card__action {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: #007aff;
  color: #fff;
  padding: 0;
}

.home-product-card__action svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}

.install-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.66);
  padding: 18px;
  backdrop-filter: blur(6px);
}

.install-modal.hidden {
  display: none;
}

.install-modal__box {
  width: min(100%, 360px);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  animation: homeSlideUp 0.3s ease;
}

.install-modal__box h3 {
  margin: 12px 0 6px;
  color: #0f766e;
  font-size: 20px;
  font-weight: 900;
}

.install-modal__box p {
  margin-bottom: 18px;
  color: #64748b;
  font-size: 14px;
}

.install-modal__icon {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border-radius: 8px;
  background: #ecfdf5;
  color: #047857;
}

.install-modal__icon svg {
  width: 30px;
  height: 30px;
}

.install-modal .btn {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
}

.install-modal .btn.install {
  background: #007aff;
  color: #fff;
}

.install-modal .btn.cancel {
  margin-top: 9px;
  background: #f1f5f9;
  color: #475569;
}

@keyframes homeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .store-home {
    max-width: 820px;
    margin: 0 auto;
    border-inline: 1px solid #e7edf4;
  }

  .home-header {
    max-width: 820px;
    margin: 0 auto;
  }

  .home-hero {
    margin-inline: -15px;
    padding: 34px 28px 30px;
  }

  .home-hero h1 {
    font-size: 42px;
  }

  .home-search {
    max-width: 620px;
  }
}

@media (max-width: 390px) {
  .home-hero h1 {
    font-size: 27px;
  }

  .home-category-card {
    height: 104px;
  }

  .home-category-card__image {
    width: 50px;
    height: 50px;
  }
}
