.hero-slider {
  width: 100%;
  background: #111827;
}

.hero-slider .swiper-slide {
  aspect-ratio: 21 / 9;
  max-height: 560px;
  min-height: 220px;
}

.hero-slider .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1f2937;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  transition: background 0.2s, color 0.2s;
}

.hero-slider-nav:hover {
  background: var(--color-primary);
  color: #fff;
}

.hero-slider-nav--prev {
  left: 1rem;
}

.hero-slider-nav--next {
  right: 1rem;
}

.hero-slider-nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.hero-slider-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.hero-slider-pagination .swiper-pagination-bullet {
  width: 0.625rem;
  height: 0.625rem;
  margin: 0 !important;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  transition: background 0.2s, transform 0.2s;
}

.hero-slider-pagination .swiper-pagination-bullet-active {
  background: var(--color-primary);
  transform: scale(1.15);
}

@media (max-width: 640px) {
  .hero-slider .swiper-slide {
    aspect-ratio: 16 / 10;
    max-height: 360px;
    min-height: 180px;
  }

  .hero-slider-nav {
    width: 2.25rem;
    height: 2.25rem;
  }

  .hero-slider-nav--prev {
    left: 0.5rem;
  }

  .hero-slider-nav--next {
    right: 0.5rem;
  }

  .hero-slider-pagination {
    bottom: 0.75rem;
  }
}

.home-trust {
  width: 100%;
  background: #fff;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.home-trust-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  background: #fff;
  border: none;
  border-radius: 0;
  overflow: hidden;
  min-height: 5.75rem;
}

.home-trust-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.875rem;
  padding: 1.25rem 1.5rem;
  min-width: 0;
  min-height: 5.75rem;
  box-sizing: border-box;
}

.home-trust-item:not(:last-child) {
  border-right: 1px solid #ececec;
}

.home-trust-icon {
  flex-shrink: 0;
  width: 2rem;
  font-size: 1.75rem;
  color: var(--color-primary);
  text-align: center;
}

.home-trust-text {
  min-width: 0;
}

.home-trust-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.home-trust-desc {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #6b7280;
}

.home-categories {
  width: 100%;
  padding: 2rem 0 0;
}

.home-categories-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.home-categories-title {
  margin: 0 0 1.25rem;
  font-size: 1.375rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
}

.home-categories-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.home-category-media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 0.875rem;
  overflow: hidden;
  background: #e5e7eb;
}

.home-category-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-category:hover .home-category-media img {
  transform: scale(1.04);
}

.home-category-label {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  text-align: center;
  line-height: 1.35;
  transition: color 0.2s;
}

.home-category:hover .home-category-label {
  color: var(--color-primary);
}

.home-featured {
  width: 100%;
  margin-top: 2.5rem;
  padding: 2.5rem 0;
  background: #fff;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}

.home-featured-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.home-featured-head {
  margin-bottom: 1.75rem;
}

.home-featured-title {
  margin: 0 0 0.625rem;
  font-size: 1.375rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
}

.home-featured-desc {
  margin: 0;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6b7280;
}

.home-featured-products {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.home-product-card {
  border: 1px solid #ececec;
  background: #fff;
}

.home-product-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3f4f6;
}

.home-product-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 0.375rem 0.5rem;
  background: #dc2626;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
}

.home-product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-product-body {
  padding: 0.875rem 0.875rem 0.75rem;
}

.home-product-name {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
}

.home-product-name a {
  color: #1f2937;
  text-decoration: none;
}

.home-product-name a:hover {
  color: var(--color-primary);
}

.home-product-rating {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
}

.home-product-stars {
  display: inline-flex;
  gap: 0.125rem;
  color: #d1d5db;
  font-size: 0.6875rem;
}

.home-product-stars .is-filled {
  color: #f59e0b;
}

.home-product-reviews {
  font-size: 0.75rem;
  color: #9ca3af;
}

.home-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.home-product-prices {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.home-product-price-old {
  font-size: 0.75rem;
  color: #9ca3af;
  text-decoration: line-through;
  line-height: 1.2;
}

.home-product-price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.2;
}

.home-product-price--sale {
  color: #dc2626;
}

.home-product-cart {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--color-primary-light);
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.home-product-cart:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.home-refs {
  width: 100%;
  margin-top: 2.5rem;
  padding: 2.5rem 0;
  background: #fff;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}

.home-refs-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.home-refs-title {
  margin: 0 0 1.5rem;
  font-size: 1.375rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
}

.home-refs-slider {
  width: 100%;
  overflow: hidden;
}

.home-refs-slider .swiper-slide {
  height: auto;
}

.home-ref-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-ref-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 5.5rem;
  padding: 1rem;
  border: 1px solid #ececec;
  background: #fff;
  box-sizing: border-box;
}

.home-ref-logo img {
  display: block;
  width: 100%;
  max-width: 9.5rem;
  height: auto;
  max-height: 2.5rem;
  object-fit: contain;
}

.home-ref-name {
  display: block;
  margin-top: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.35;
}

.home-blog {
  width: 100%;
  padding: 2.5rem 0 0;
}

.home-blog-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.home-blog-title {
  margin: 0 0 1.5rem;
  font-size: 1.375rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
}

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-blog-card {
  border: 1px solid #ececec;
  background: #fff;
}

.home-blog-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f4f6;
}

.home-blog-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-blog-card:hover .home-blog-media img {
  transform: scale(1.03);
}

.home-blog-body {
  padding: 1rem 1.125rem 1.125rem;
}

.home-blog-date {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.3;
}

.home-blog-name {
  margin: 0 0 0.625rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.home-blog-name a {
  color: #1f2937;
  text-decoration: none;
}

.home-blog-name a:hover {
  color: var(--color-primary);
}

.home-blog-excerpt {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6b7280;
}

.home-blog-more {
  margin-top: 1.75rem;
  text-align: center;
}

.home-blog-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--color-primary);
  background: #fff;
  color: var(--color-primary-dark);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.home-blog-more-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.home-seo {
  width: 100%;
  padding: 2.5rem 0 3rem;
}

.home-seo-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.home-seo-title {
  margin: 0 0 0.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #374151;
  line-height: 1.4;
}

.home-seo-title:not(:first-child) {
  margin-top: 1.5rem;
}

.home-seo-inner p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #6b7280;
}

.home-banners {
  width: 100%;
  padding: 1.5rem 0 0;
}

.home-banners + .home-featured {
  margin-top: 2.5rem;
}

.home-banners-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-banner {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  text-decoration: none;
  isolation: isolate;
}

.home-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-banner:hover img {
  transform: scale(1.03);
}

.home-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.home-banner--light .home-banner-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.35) 42%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

.home-banner--dark .home-banner-overlay {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.72) 38%,
    rgba(255, 255, 255, 0.08) 100%
  );
}

.home-banner-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 46%;
  padding: 1rem 1.25rem 1.375rem;
  text-align: center;
}

.home-banner--light .home-banner-title {
  font-family: Georgia, "Times New Roman", serif;
}

.home-banner-title {
  font-size: clamp(1.375rem, 2.8vw, 2.125rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.home-banner-subtitle {
  margin-top: 0.375rem;
  font-size: clamp(0.6875rem, 1.2vw, 0.875rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.2;
}

.home-banner--light .home-banner-title,
.home-banner--light .home-banner-subtitle {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.home-banner--dark .home-banner-title,
.home-banner--dark .home-banner-subtitle {
  color: #3d2b1f;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.45);
}

@media (max-width: 768px) {
  .home-trust-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-trust-item {
    min-height: 5.75rem;
  }

  .home-trust-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #ececec;
  }

  .home-categories {
    padding-top: 1.5rem;
  }

  .home-categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .home-featured {
    margin-top: 2rem;
    padding: 2rem 0;
  }

  .home-featured-head {
    margin-bottom: 1.5rem;
  }

  .home-featured-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-banners {
    padding-top: 1rem;
  }

  .home-banners-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .home-banner-content {
    min-height: 42%;
    padding: 0.875rem 1rem 1.125rem;
  }

  .home-blog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .home-product-rating {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .home-product-reviews {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .home-trust-item {
    padding: 1rem 1.25rem;
    min-height: 5.25rem;
  }

  .home-categories-inner {
    padding: 0 1rem;
  }

  .home-categories-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .home-categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem;
  }

  .home-category-label {
    font-size: 0.8125rem;
    margin-top: 0.625rem;
  }

  .home-featured-inner {
    padding: 0 1rem;
  }

  .home-featured-title {
    font-size: 1.25rem;
  }

  .home-featured-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem;
  }

  .home-refs {
    margin-top: 2rem;
    padding: 2rem 0;
  }

  .home-refs-inner {
    padding: 0 1rem;
  }

  .home-refs-title {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .home-blog {
    padding-top: 2rem;
  }

  .home-blog-inner,
  .home-seo-inner {
    padding: 0 1rem;
  }

  .home-blog-more {
    margin-top: 1.5rem;
  }

  .home-seo {
    padding: 2rem 0 2.5rem;
  }

  .home-banners-inner {
    padding: 0 1rem;
  }

  .home-banner-content {
    min-height: 48%;
    padding: 0.75rem 0.875rem 1rem;
  }
}
