/* ==========================================================================
   Global Link Store — Homepage
   ========================================================================== */

/* ───────── PAGE SHELL ───────── */
body.page-home {
  background: #ffffff;
}

body.page-home .main-content {
  padding-bottom: 8px;
}

body.page-home .home-top-zone {
  padding-top: var(--site-header-height, 128px);
}

.home-page {
  width: 100%;
}

/* Transparent zone: hero + brands — optional background image from admin */
.home-top-zone {
  position: relative;
  background: transparent;
  padding-bottom: 4px;
}

.home-top-zone--has-bg {
  background-image: var(--home-top-bg);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.home-top-zone--has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.42) 0%,
    rgba(15, 23, 42, 0.28) 35%,
    rgba(255, 255, 255, 0.45) 72%,
    rgba(255, 255, 255, 0.92) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.home-top-zone--has-bg > * {
  position: relative;
  z-index: 1;
}

/* ───────── HERO ───────── */
.hero-section {
  padding: 20px 0 12px;
}

.hero-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}

/* Left big slider — fills full height of the dual grid row */
.hero-dual > .hero-slider {
  height: clamp(350px, 44vw, 580px);
}

/* ── Right panel: stacked top-large + two-small-bottom ── */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: clamp(350px, 44vw, 580px); /* matches left slider exactly */
}

/* Top large slot — targeted via parent so extra_class isn't needed */
.hero-right > .hero-slider {
  flex: 1 1 0;
  min-height: 0;
  height: 0 !important; /* override base .hero-slider height via flex */
}

/* Bottom row: two small slides side-by-side */
.hero-right-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex-shrink: 0;
}

/* Small slide cards — targeted via parent container */
.hero-right-bottom .hero-slider {
  height: clamp(150px, 14vw, 200px) !important;
  flex-shrink: 0;
}

/* Base slider styles (shared by all variants) */
.hero-slider {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(43, 101, 226, 0.1);
  border: 1px solid rgba(43, 101, 226, 0.08);
  height: clamp(260px, 34vw, 460px); /* default fallback; overridden by variants above */
  user-select: none;
}

.hero-slides-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
}

.hero-slider:active .hero-slides-track,
.hero-slides-track.is-dragging {
  cursor: grabbing;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.hero-slide.is-entering-right {
  transform: translateX(60px) scale(1.02);
  opacity: 0;
}

.hero-slide.is-entering-left {
  transform: translateX(-60px) scale(1.02);
  opacity: 0;
}

.hero-slide.is-leaving-left {
  opacity: 0;
  transform: translateX(-40px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.hero-slide.is-leaving-right {
  opacity: 0;
  transform: translateX(40px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.hero-slide img,
.hero-slide .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.hero-slide--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef4ff 0%, #dbeafe 100%);
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.45) 0%,
    rgba(15, 23, 42, 0.12) 45%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 3;
}

.hero-cta {
  position: absolute;
  bottom: 22px;
  left: 22px;
  padding: 11px 24px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  z-index: 5;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 20px rgba(43, 101, 226, 0.35);
}

.hero-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(43, 101, 226, 0.4);
  color: #fff;
}

.hero-ui {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
}

.hero-controls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.25);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  pointer-events: auto;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.3s ease, background 0.3s ease;
  cursor: pointer;
  border: none;
  padding: 0;
}

.hero-dot.is-active {
  width: 20px;
  background: #fff;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #334155;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: auto;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-slider:hover .hero-arrow {
  opacity: 1;
}

.hero-arrow:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-50%) scale(1.06);
}

.hero-arrow--prev { left: 12px; }
.hero-arrow--next { right: 12px; }

/* ───────── BRAND STRIP ───────── */
.brand-strip {
  display: flex;
  align-items: center;
  padding: 8px 0 20px;
  margin-bottom: 0;
}

.brand-track-wrapper {
  flex: 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(43, 101, 226, 0.1);
  border-radius: var(--radius-lg);
  padding: 14px 8px;
}

.brand-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: brand-marquee 28s linear infinite;
}

.brand-track-wrapper:hover .brand-track {
  animation-play-state: paused;
}

@keyframes brand-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.brand-item:hover {
  transform: scale(1.08);
}

.brand-item img {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  pointer-events: none;
  mix-blend-mode: multiply; /* makes white PNG backgrounds transparent — fixes heavy black Apple logo */
  filter: grayscale(20%);
  transition: filter 0.3s ease, opacity 0.3s ease;
  opacity: 0.85;
}

.brand-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* hide the old arrow buttons — no longer needed */
.brand-arrow {
  display: none;
}

/* ───────── HOME SECTIONS (from categories onward) ───────── */
.home-section {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 28px 24px 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.home-section--alt {
  background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
  border-color: #e8eef8;
}

.home-section--categories {
  margin-top: 8px;
  padding-top: 32px;
}

.home-section--offers {
  background: linear-gradient(135deg, #fff8f8 0%, #ffffff 55%);
  border-color: #fde8e8;
}

.home-section--offers .section-eyebrow {
  color: #dc2626;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.section-header h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--color-white);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary-light);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-more i {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.btn-more:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-more:hover i {
  transform: translateX(3px);
}

/* ───────── CATEGORY GRID ───────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}

.category-card {
  text-align: center;
  padding: 18px 12px 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  background: var(--color-white);
  border-color: var(--color-primary-light);
  box-shadow: 0 12px 28px rgba(43, 101, 226, 0.12);
  color: inherit;
}

.cat-image {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);

  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.cat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-card:hover .cat-image {
  transform: scale(1.06);
}

.category-card h3 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.category-card .count {
  font-size: 11.5px;
  color: var(--color-text-muted);
}

/* ───────── PRODUCTS SLIDER ───────── */
.products-slider {
  --products-per-view: 4;
  --products-gap: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.products-track-wrapper {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  container-type: inline-size;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.products-track-wrapper.is-dragging {
  cursor: grabbing;
}

.products-track {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--products-gap);
  transition: transform 0.4s ease;
  will-change: transform;
}

.products-track.is-dragging {
  transition: none;
}

.products-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.products-arrow:hover:not(:disabled) {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.products-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.product-card-wrap {
  position: relative;
  flex: 0 0 calc(
    (100cqi - (var(--products-per-view) - 1) * var(--products-gap)) / var(--products-per-view)
  );
  min-width: 0;
  height: auto;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eef2f7;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 300px;
}

.product-card-wrap:hover .product-card {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(43, 101, 226, 0.12);
  border-color: rgba(43, 101, 226, 0.2);
}

.card-image-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 20px 16px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: inherit;
}

.card-image-wrap img {
  max-height: 130px;
  width: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.product-card-wrap:hover .card-image-wrap img {
  transform: scale(1.06);
}

.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  padding: 4px 10px;
  font-size: 11px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.35);
  z-index: 2;
}

.card-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.card-body .title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}

.card-body .title a {
  color: inherit;
  transition: color 0.2s ease;
}

.card-body .title a:hover {
  color: var(--color-primary);
}

.card-body .meta {
  font-size: 11.5px;
  color: var(--color-text-muted);
  margin: 0;
}

.card-body .stock {
  font-size: 11.5px;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}

.card-body .stock.out {
  color: #dc2626;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 2px;
}

.price {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-primary);
}

.price-old {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
}

.btn-cart {
  display: block;
  margin-top: auto;
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-cart:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(43, 101, 226, 0.28);
  color: #fff;
}

.card-desc {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
  padding: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
}

.product-card-wrap:hover .card-desc {
  max-height: 72px;
  opacity: 1;
  padding-top: 4px;
}

/* ───────── ABOUT SECTION (same card size as .home-section) ───────── */
.home-section--about {
  background: linear-gradient(135deg, #fafbff 0%, #ffffff 50%, #eef4ff 100%);
  border-color: #e8eef8;
  position: relative;
  overflow: hidden;
}

.home-section--about::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(43, 101, 226, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.about-section__layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-section__content .section-eyebrow {
  display: block;
  margin-bottom: 8px;
}

.about-section__heading {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: 14px;
}

.about-section__text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 22px;
  max-width: 52ch;
}

.about-section__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(43, 101, 226, 0.28);
}

.about-section__cta:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(43, 101, 226, 0.35);
}

.about-section__cta i {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.about-section__cta:hover i {
  transform: translateX(3px);
}

.about-section__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.about-stat {
  background: var(--color-white);
  border: 1px solid rgba(43, 101, 226, 0.1);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.about-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(43, 101, 226, 0.12);
}

.about-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 18px;
}

.about-stat__value {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.about-stat__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}


/* ───────── HERO RIGHT — STATIC BANNERS ───────── */
.hero-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #1e293b;
  background-image: var(--banner-bg);
  background-size: cover;
  background-position: center;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 32px rgba(43, 101, 226, 0.1);
  border: 1px solid rgba(43, 101, 226, 0.08);
}

.hero-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(43, 101, 226, 0.18);
}

/* Overlay so text stays readable over any background */
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(15, 23, 42, 0.55) 0%,
    rgba(15, 23, 42, 0.2) 55%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Top large banner — fills flex-grow space */
.hero-banner--top {
  flex: 1 1 0;
  min-height: 0;
  height: 0; /* flex controls this */
  align-items: flex-start;
  padding: 28px 24px;
  background-position: top center; /* prevent top-edge text / logo from being clipped */
}

/* Small banners */
.hero-banner--small {
  height: clamp(120px, 11vw, 155px) !important;
  flex-shrink: 0;
  padding: 20px 20px;
}

.hero-banner__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;

  max-width: 55%;
  height: 100%;

  justify-content: center;
  text-align: center;
  align-items: center;
}

.hero-banner__title {
  font-size: clamp(15px, 1.6vw, 22px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-banner--small .hero-banner__title {
  font-size: clamp(13px, 1.2vw, 17px);
}

.hero-banner__subtitle {
  font-size: clamp(11px, 1vw, 14px);
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.4;
}

.hero-banner__btn {
  display: inline-block;
  margin-top: 4px;
  padding: 9px 18px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(43, 101, 226, 0.4);
  transition: background 0.2s ease, transform 0.2s ease;
  align-self: flex-start;
}

.hero-banner:hover .hero-banner__btn {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.hero-banner__btn--outline {
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.hero-banner:hover .hero-banner__btn--outline {
  background: #f1f5f9;
}

.hero-banner__img-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  width: 55%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 16px;
  z-index: 2;
  pointer-events: none;
}

.hero-banner__img-wrap img {
  max-height: 90%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.25));
}


/* ── Banner placeholder (shown when no data in admin) ── */
.hero-banner--placeholder {
  background-image: none;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px dashed #cbd5e1;
  cursor: default;
  pointer-events: none;
}

.hero-banner--placeholder:hover {
  transform: none;
  box-shadow: 0 8px 32px rgba(43, 101, 226, 0.1);
}

.hero-banner--placeholder::before {
  display: none;
}

.hero-banner__placeholder-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #94a3b8;
  padding: 20px;
}

.hero-banner__placeholder-body i {
  font-size: 28px;
  opacity: 0.5;
}

.hero-banner__placeholder-body span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.hero-banner__placeholder-body small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
}

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1200px) {
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
}

@media (max-width: 1100px) {
  .brand-strip { --brands-per-view: 8; }
}

@media (max-width: 992px) {
  .hero-section {
    padding-top: 14px;
    padding-bottom: 8px;
  }

  .hero-dual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-dual > .hero-slider {
    height: 220px;
  }

  .hero-right {
    height: auto;
    min-height: auto;
    flex-direction: column;
    gap: 10px;
  }

  .hero-right > .hero-slider,
  .hero-right > .hero-banner {
    height: 220px !important;
    flex: none;
  }

  .hero-right-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-right-bottom .hero-slider,
  .hero-right-bottom .hero-banner {
    height: 160px !important;
  }

  .hero-banner--top {
    padding: 20px 18px;
  }

  .hero-banner--small {
    padding: 18px 16px;
  }

  .hero-banner__body {
    max-width: 60%;
  }

  .hero-slider {
    height: 220px;
  }

  .hero-slides-track {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    inset: auto;
    height: 100%;
  }

  .hero-slides-track::-webkit-scrollbar {
    display: none;
  }

  .hero-slides-track.is-dragging {
    scroll-snap-type: none;
  }

  .hero-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    height: 100%;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .hero-slide.is-entering-right,
  .hero-slide.is-entering-left,
  .hero-slide.is-leaving-left,
  .hero-slide.is-leaving-right {
    opacity: 1;
    transform: none;
  }

  .hero-arrow {
    display: none !important;
  }

  .hero-controls {
    bottom: 12px;
  }

  .home-section {
    padding: 22px 18px 26px;
    border-radius: 16px;
  }

  .products-slider {
    --products-per-view: 3;
  }
}

@media (max-width: 768px) {
  .about-section__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-section__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .about-stat {
    padding: 16px 12px;
  }

  .hero-right-bottom {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    height: 200px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .products-slider {
    --products-per-view: 2;
    --products-gap: 10px;
    gap: 6px;
  }

  .products-arrow {
    display: none;
  }

  .product-card {
    min-height: 308px;
  }

  .card-image-wrap {
    height: 182px;
  }

  .card-image-wrap img {
    max-height: 140px;
  }

  .brand-item img {
    height: 26px;
  }
}

@media (max-width: 480px) {
  .home-section {
    padding: 18px 14px 22px;
    margin-bottom: 16px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .products-slider {
    --products-per-view: 2;
  }

  .cat-image {
    width: 60px;
    height: 60px;
    font-size: 22px;
  }
}

@media (min-width: 1200px) {
  .products-slider {
    --products-per-view: 5;
  }
}