/* ============================================================
   INDEX-EXTRA.CSS — Styles tambahan untuk homepage baru
   Kita Utama Supermarket Bahan Bangunan
   ============================================================ */

/* ===== RESET DASAR ===== */
*, *::before, *::after { box-sizing: border-box; }

/* ===== HERO BANNER SLIDESHOW ===== */
.hero-banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #1a3a6b !important;
  padding: 72px 0 0 0 !important;
  margin: 0 !important;
}

#heroBannerWrapper {
  position: relative;
  width: 100%;
  height: clamp(340px, 35vw, 480px);
  min-height: 280px;
  max-height: 520px;
  padding: 0 !important;
  margin: 0 !important;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.7s ease, transform 0.7s ease;
  display: flex;
  align-items: center;
}

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

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  padding: 0 6% 0 7%;
  max-width: 650px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.slide-badge-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.slide-badge,
.slide-tag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  line-height: 1;
  white-space: nowrap;
  margin: 0;
}

.slide-badge {
  background: #f5a623;
  color: #0f2345;
}

.slide-tag-badge {
  background: #c1272d;
  color: #ffffff;
}

.slide-title {
  text-align: left;
  font-size: clamp(1.4rem, 3.8vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.slide-subtitle {
  text-align: left;
  font-size: clamp(0.82rem, 1.6vw, 1.05rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: 16px;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.slide-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #1a3a6b;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  margin-top: 6px;
  align-self: flex-start;
  text-align: left;
}

.slide-cta-btn:hover {
  background: #f5a623;
  color: #0f2345;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

/* Slide navigation arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
  font-size: 0.9rem;
}

.slide-arrow:hover { background: rgba(255,255,255,0.35); }
.slide-arrow.left { left: 16px; }
.slide-arrow.right { right: 16px; }

/* Slide bullets */
.slide-bullets {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.slide-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.slide-bullet.active {
  width: 24px;
  border-radius: 4px;
  background: white;
}

@media (max-width: 768px) {
  .hero-banner-section {
    padding: 0px 0 0 0 !important;
    margin: 0 !important;
    background: #1a3a6b !important;
  }
  
  #heroBannerWrapper {
    height: clamp(220px, 52vw, 320px);
    min-height: 220px;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .hero-slide-content {
    padding: 0 20px;
    max-width: 90%;
    align-items: flex-start;
    text-align: left;
  }
  
  .slide-badge-row {
    gap: 6px;
    margin-bottom: 8px;
    justify-content: flex-start;
  }
  
  .slide-badge,
  .slide-tag-badge {
    height: 26px;
    padding: 0 12px;
    font-size: 0.65rem;
  }
  
  .slide-title {
    text-align: left;
    font-size: 1.3rem;
    margin-bottom: 6px;
  }
  
  .slide-subtitle {
    text-align: left;
    font-size: 0.78rem;
    margin-bottom: 10px;
  }
  
  .slide-cta-btn {
    padding: 8px 18px;
    font-size: 0.8rem;
    align-self: flex-start;
    text-align: left;
  }
}

/* ===== KATEGORI CEPAT ===== */
.kategori-cepat-section {
  background: #ffffff;
  padding: 16px 0 18px !important;
  margin: 0 !important;
  border-bottom: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
  .kategori-cepat-section {
    padding: 12px 0 14px !important;
    margin: 0 !important;
  }
}

.kategori-cepat-section .container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

.kategori-cepat-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.kategori-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.kategori-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 12px 6px;
  border-radius: 12px;
  transition: all 0.2s;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.kategori-item:hover {
  background: #f0f4ff;
  border-color: #1a3a6b;
  transform: translateY(-2px);
}

.kategori-item:active { transform: scale(0.96); }

.kategori-emoji {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0f4ff, #e6eeff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 2px 8px rgba(26,58,107,0.1);
  transition: all 0.2s;
}

.kategori-item:hover .kategori-emoji {
  background: linear-gradient(135deg, #1a3a6b, #2b5797);
}

.kategori-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #444;
  text-align: center;
  line-height: 1.3;
}

.kategori-item:hover .kategori-label { color: #1a3a6b; }

/* ===== SECTION EVENT ===== */
.event-section {
  padding: 32px 0 28px;
  background: linear-gradient(135deg, #0f2345 0%, #1a3a6b 100%);
}

.event-section .container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

.event-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.event-section-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
}

.event-section-title span { color: #f5a623; }

.event-see-all {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.event-see-all:hover { color: #f5a623; }

/* Event cards container — horizontal scroll mobile */
#eventCardsContainer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.event-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
}

/* Event Banner Wrap Header */
.event-card-banner-wrap {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.event-card-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(15,35,69,0.75) 100%);
  z-index: 1;
}

.event-card-banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 12px 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.event-emoji { font-size: 2.2rem; }

.event-status-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-active { background: #d4edda; color: #155724; }
.status-soon { background: rgba(255,255,255,0.9); color: #1a3a6b; font-weight: 800; }
.status-ended { background: rgba(0,0,0,0.4); color: rgba(255,255,255,0.8); }

.event-card-body { padding: 14px 16px 18px; }

.event-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #1a3a6b;
  margin-bottom: 6px;
}

.event-desc {
  font-size: 0.78rem;
  color: #777;
  line-height: 1.5;
  margin-bottom: 10px;
}

.event-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.event-date, .event-highlight {
  font-size: 0.72rem;
  color: #555;
  font-weight: 500;
}

.event-cta-btn {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1a3a6b;
  text-decoration: none;
  border: 1.5px solid #1a3a6b;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.2s;
}

.event-cta-btn:hover {
  background: #1a3a6b;
  color: white;
}

/* ===== PROMO SECTION (updated) ===== */
.promo-grid-section {
  padding: 32px 0;
  background: #f8f9fa;
}

.promo-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.promo-section-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a3a6b;
}

/* Simplified member toggle — kecil, tidak mencolok */
.member-toggle-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 5px 12px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
  transition: all 0.2s;
  user-select: none;
}

.member-toggle-mini.active {
  border-color: #f5a623;
  color: #b8860b;
  background: #fffdf0;
}

.member-toggle-mini input[type="checkbox"] { display: none; }

.member-toggle-mini .toggle-switch {
  width: 28px;
  height: 16px;
  background: #ddd;
  border-radius: 8px;
  position: relative;
  transition: background 0.3s;
}

.member-toggle-mini .toggle-switch::after {
  content: '';
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.3s;
}

.member-toggle-mini.active .toggle-switch { background: #f5a623; }
.member-toggle-mini.active .toggle-switch::after { left: 14px; }

/* ===== ELEGANT PROMO COUNTDOWN TIMER BANNER ===== */
.promo-countdown-banner {
  background: linear-gradient(135deg, #c0392b 0%, #962d22 100%);
  border-radius: 14px;
  padding: 10px 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(192, 57, 43, 0.25);
  color: white;
  flex-wrap: wrap;
  gap: 10px;
}

.countdown-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.countdown-title i {
  color: #f1c40f;
  font-size: 0.95rem;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 6px;
}

.time-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 4px 8px;
  min-width: 44px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.time-box span {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  font-family: inherit;
}

.time-box label {
  font-size: 0.58rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.time-separator {
  font-size: 0.9rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 -2px;
}

@media (max-width: 768px) {
  .promo-countdown-banner {
    padding: 8px 12px !important;
    border-radius: 12px !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    text-align: center !important;
  }

  .countdown-title {
    font-size: 0.72rem !important;
    letter-spacing: 0.3px !important;
  }

  .countdown-timer {
    gap: 4px !important;
  }

  .time-box {
    padding: 3px 6px !important;
    min-width: 36px !important;
    border-radius: 6px !important;
    background: rgba(0, 0, 0, 0.3) !important;
  }

  .time-box span {
    font-size: 0.85rem !important;
  }

  .time-box label {
    font-size: 0.52rem !important;
    margin-top: 1px !important;
  }

  .time-separator {
    font-size: 0.8rem !important;
  }
}

/* Promo search bar — lebih bersih */
.promo-search-simple {
  position: relative;
  margin-bottom: 18px;
}

.promo-search-simple input {
  width: 100%;
  padding: 11px 16px 11px 40px;
  border: 1.5px solid #e0e0e0;
  border-radius: 30px;
  font-size: 0.88rem;
  outline: none;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.promo-search-simple input:focus {
  border-color: #1a3a6b;
  box-shadow: 0 0 0 3px rgba(26,58,107,0.1);
}

.promo-search-simple i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 0.88rem;
}

/* ===== CTA KATALOG ===== */
.cta-katalog-section {
  padding: 28px 0;
  background: #f8f9fa;
  text-align: center;
}

.cta-katalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #1a3a6b, #2b5797);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  padding: 15px 36px;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(26,58,107,0.3);
  transition: all 0.25s;
}

.cta-katalog-btn:hover {
  background: linear-gradient(135deg, #0f2345, #1a3a6b);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26,58,107,0.4);
  color: white;
}

.cta-katalog-btn i { font-size: 1.1rem; }

/* ===== BRAND STRIP ===== */
.brand-strip-section {
  padding: 20px 0;
  background: white;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  overflow: hidden;
}

.brand-strip-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: stripScroll 22s linear infinite;
  align-items: center;
}

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

.brand-strip-track img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(40%);
  opacity: 0.75;
  flex-shrink: 0;
  transition: all 0.3s;
}

.brand-strip-track img:hover { filter: none; opacity: 1; }

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

/* ===== KONTAK STRIP ===== */
.kontak-strip-section {
  background: #1a3a6b;
  padding: 20px 0;
}

.kontak-strip-section .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.kontak-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.kontak-strip-item i {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.kontak-strip-item:hover { color: #f5a623; }

.kontak-strip-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.2);
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  z-index: 9999;
  transition: all 0.3s;
  animation: waPulse 2.5s infinite;
}

.floating-wa-btn:hover {
  background: #128c7e;
  transform: scale(1.1);
  animation: none;
  box-shadow: 0 8px 24px rgba(37,211,102,0.6);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 6px 28px rgba(37,211,102,0.8), 0 0 0 8px rgba(37,211,102,0.12); }
}

/* ===== NAVBAR SEARCH BAR (desktop) ===== */
.navbar-search-desktop {
  display: none;
}

@media (min-width: 769px) {
  .navbar-search-desktop {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.15);
    border-radius: 24px;
    padding: 6px 14px;
    gap: 8px;
    flex: 0 1 260px;
  }

  .navbar-search-desktop input {
    background: none;
    border: none;
    color: white;
    font-size: 0.83rem;
    outline: none;
    width: 100%;
    font-family: inherit;
  }

  .navbar-search-desktop input::placeholder { color: rgba(255,255,255,0.6); }
  .navbar-search-desktop i { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
}

/* ===== FOOTER HOME ===== */
.footer-home {
  background: #0f2345;
  color: rgba(255,255,255,0.65);
  padding: 24px 16px;
  text-align: center;
  font-size: 0.82rem;
}

.footer-home img { height: 28px; margin-bottom: 12px; opacity: 0.85; }

.footer-home-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer-home-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-home-links a:hover { color: #f5a623; }

/* ===== FOOTER STAFF MODE ICON ===== */
.footer-home {
  position: relative;
}

.footer-home-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.staff-mode-wrap {
  display: inline-block;
}

.staff-mode-icon-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.staff-mode-icon-btn:hover {
  background: linear-gradient(135deg, #f39c12, #e67e22) !important;
  color: #ffffff !important;
  border-color: #f39c12 !important;
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(243, 156, 18, 0.45);
}

@media (min-width: 769px) {
  .footer-home .staff-mode-wrap {
    position: absolute;
    left: 16px;
    bottom: 2px;
  }
}

@media (max-width: 768px) {
  .footer-home .staff-mode-wrap {
    position: static;
    display: block;
    text-align: center;
    margin-top: 10px;
  }
}

/* ===== NAVBAR MODIFIKASI ===== */
.nav-link-about {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 768px) {
  .hero-banner-section {
    margin-top: calc(63px + env(safe-area-inset-top)) !important;
  }

  #heroBannerWrapper { height: 44vw; min-height: 200px; }

  .hero-slide-content {
    padding: 0 6% !important;
    max-width: 100% !important;
  }

  .slide-badge-row {
    margin-bottom: 8px !important;
  }

  .slide-cta-btn {
    display: inline-flex !important;
    padding: 8px 18px !important;
    font-size: 0.8rem !important;
  }

  .kategori-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }

  .kategori-emoji { width: 42px; height: 42px; font-size: 1.25rem; border-radius: 12px; }
  .kategori-label { font-size: 0.65rem; }

  #eventCardsContainer {
    grid-template-columns: repeat(1, 1fr);
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  #eventCardsContainer::-webkit-scrollbar { display: none; }

  .event-card {
    min-width: 240px;
    flex-shrink: 0;
  }

  .kontak-strip-section .container { gap: 16px; }
  .kontak-strip-divider { display: none; }
  .kontak-strip-item span { display: none; }

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

  .floating-wa-btn { bottom: 18px; right: 18px; width: 52px; height: 52px; font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .kategori-grid { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .kategori-item { padding: 8px 3px; }
  .cta-katalog-btn { width: calc(100% - 32px); justify-content: center; }
}

@media (min-width: 1025px) {
  .kategori-grid { grid-template-columns: repeat(10, 1fr); }
  #eventCardsContainer { grid-template-columns: repeat(3, 1fr); }
}

/* ===== SEKSI PROMO BRAND POPULER ===== */
.home-brands-section {
  padding: 40px 0;
  background: #f8f9fa;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}

.brand-showcase-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.brand-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 160px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-item-card:hover {
  transform: translateY(-4px);
  border-color: #f39c12;
  box-shadow: 0 8px 24px rgba(243, 156, 18, 0.15), 0 4px 10px rgba(0, 0, 0, 0.05);
}

.brand-card-logo-wrap {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.brand-card-logo-wrap img {
  max-width: 85%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(10%);
  transition: filter 0.2s;
}

.brand-item-card:hover .brand-card-logo-wrap img {
  filter: grayscale(0%);
}

.brand-item-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a3a6b;
  margin: 0 0 6px 0;
}

.brand-card-promo-label {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  line-height: 1.2;
}

.brand-card-action {
  font-size: 0.78rem;
  font-weight: 600;
  color: #f39c12;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Brand Cover Banner Styles */
.brand-item-card.has-cover {
  padding: 0 0 12px 0;
  overflow: hidden;
  position: relative;
}

.brand-card-cover-wrap {
  width: 100%;
  height: 70px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 15px 15px 0 0;
}

.brand-card-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(15,35,69,0.45) 100%);
}

.brand-item-card.has-cover .brand-card-logo-wrap {
  position: relative;
  margin-top: -24px;
  margin-bottom: 8px;
  height: 48px;
  width: 48px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  border: 2px solid #ffffff;
  z-index: 2;
  padding: 4px;
}

.brand-item-card.has-cover .brand-card-body-content {
  padding: 0 10px;
  width: 100%;
}

/* Responsive khusus smartphone */
@media (max-width: 768px) {
  .home-brands-section {
    padding: 24px 16px;
  }

  /* Perbaikan Event Cards horizontal scroll di Mobile */
  #eventCardsContainer {
    display: flex !important;
    overflow-x: auto !important;
    gap: 14px !important;
    padding: 4px 4px 14px 4px !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  #eventCardsContainer::-webkit-scrollbar {
    display: none;
  }

  .event-card {
    min-width: 260px !important;
    max-width: 280px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start;
  }
  
  /* Perbaikan Brand Showcase Cards Horizontal Scroll dengan Peek Preview di Mobile */
  .brand-showcase-grid {
    display: flex !important;
    overflow-x: auto !important;
    gap: 14px !important;
    padding: 4px 4px 14px 4px !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  
  .brand-showcase-grid::-webkit-scrollbar {
    display: none;
  }
  
  .brand-item-card {
    min-width: 220px !important;
    max-width: 235px !important;
    flex-shrink: 0 !important;
    padding: 14px !important;
    min-height: 160px !important;
    scroll-snap-align: start;
  }
  
  .brand-card-logo-wrap {
    height: 52px;
  }
  
  .brand-item-card h3 {
    font-size: 0.9rem;
  }
  
  .brand-card-promo-label {
    font-size: 0.68rem;
    padding: 4px 8px;
  }
}

