@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ==========================================================================
   KARB LIFESTYLE EXACT DESIGN REPLICATION FOR CORE SNEAKERS
   Pure black #000000, secondary #080808, tall condensed typography,
   thin white/grey borders, square corners, 3-column edge-to-edge layout
   ========================================================================== */

:root {
  --font-condensed: 'Oswald', 'Bebas Neue', 'Inter', -apple-system, sans-serif;
  --font-display: 'Oswald', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Global Black & White Palette matching KARB */
  --bg-main: #000000;
  --bg-secondary: #080808;
  --bg-card: #000000;
  --text-primary: #FFFFFF;
  --text-secondary: #D0D0D0;
  --text-muted: #888888;
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-white: rgba(255, 255, 255, 0.2);

  --core-black: #000000;
  --core-dark: #080808;
  --core-white: #FFFFFF;
  --core-border: rgba(255, 255, 255, 0.12);

  --bg-primary: #000000;
  --border-color: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background-color: #000000;
  color: #FFFFFF;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  background-color: #000000 !important;
  color: #FFFFFF !important;
}

body {
  font-family: var(--font-body);
  line-height: 1.4;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display, .font-condensed {
  font-family: var(--font-condensed);
  letter-spacing: 0.05em;
  font-weight: 700;
  text-transform: uppercase;
}

.font-mono-code {
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}

/* Custom Minimal Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #0a0a0a;
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: #333333;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* --- TOP ANNOUNCEMENT BAR (CLEAN B&W) --- */
.announcement-bar {
  background: #171717;
  color: #F8F7F4;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-transform: uppercase;
  padding: 10px 16px;
  text-align: center;
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- TÒPAS-STYLE ILLUSTRATION TO PHOTOGRAPHY SCROLL REVEAL HERO --- */

/* --- CINEMATIC HERO SECTION --- */
.hero-cinematic-wrapper {
  position: relative;
  overflow: hidden;
}

.hero-sneaker-float {
  animation: sneaker-float 4s ease-in-out infinite;
}

@keyframes sneaker-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

@media (max-width: 640px) {
  .hero-cinematic-wrapper {
    min-height: 65vh !important;
  }
  .hero-sneaker-float img {
    max-width: 280px !important;
  }
}
.hero-reveal-container {
  position: relative;
  width: 100%;
  height: 200vh; /* Smooth scrub track */
  background: #050505;
}

.hero-reveal-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  height: 100vh;
  overflow: hidden;
  background-color: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-reveal-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-reveal-layer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

/* Base Photo Layer: underneath */
.hero-photo-layer {
  z-index: 10;
}

/* Illustration Layer on top with pure opacity/soft dissolve */
.hero-illustration-layer {
  z-index: 20;
  will-change: opacity;
  opacity: 1;
}

.hero-reveal-overlay {
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,5,5,0.4) 0%, transparent 20%, transparent 80%, rgba(5,5,5,0.7) 100%);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.hero-scroll-pill {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { border-color: rgba(255, 255, 255, 0.3); opacity: 0.8; }
  50% { border-color: rgba(255, 255, 255, 0.9); opacity: 1; }
}

.brand-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-logo-img:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

/* --- HERO SLIDER --- */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
  min-height: 80vh;
  overflow: hidden;
  background-color: #000000;
}

.hero-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide {
  position: relative;
  min-width: 100%;
  width: 100%;
  height: 74vh;
  min-height: 500px;
  max-height: 840px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000000;
}

@media (max-width: 640px) {
  .hero-slide {
    height: 65vh;
    min-height: 460px;
  }
  .hero-arrow-btn {
    width: 36px !important;
    height: 36px !important;
  }
  .hero-arrow-left { left: 8px !important; }
  .hero-arrow-right { right: 8px !important; }
}

/* Giant background typography strictly  CORE */
.hero-giant-text {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 19vw, 19rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: #ffffff;
  pointer-events: none;
  z-index: 10;
  white-space: nowrap;
  user-select: none;
  text-align: center;
  mix-blend-mode: overlay;
  opacity: 0.95;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

/* Hero Navigation Arrows & Indicators */
.hero-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 25;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero-arrow-btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  transform: translateY(-50%) scale(1.06);
}

.hero-arrow-left { left: 24px; }
.hero-arrow-right { right: 24px; }

.hero-dots-container {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 25;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: #ffffff;
  width: 28px;
  border-radius: 4px;
}

/* --- TICKER MARQUEE (WARM BACKGROUND) --- */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  background-color: var(--bg-primary);
  color: #171717;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  position: relative;
  z-index: 20;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
  will-change: transform;
}

.marquee-content span {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0 20px;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- SECTION HORIZONTAL SLIDERS --- */
.slider-section-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 1px;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 0;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.slider-track:active {
  cursor: grabbing;
}

.slider-item {
  flex: 0 0 calc(100% / 3);
  max-width: calc(100% / 3);
  scroll-snap-align: start;
  background: #000000;
}

@media (max-width: 640px) {
  .slider-item {
    flex: 0 0 calc((100% - 1px) / 2) !important;
    max-width: calc((100% - 1px) / 2) !important;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .slider-item {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

@media (max-width: 640px) {
  .slider-track {
    gap: 1px;
    padding: 0;
    background-color: rgba(255,255,255,0.1);
  }
  .slider-nav-btn {
    width: 34px !important;
    height: 34px !important;
  }
  .slider-nav-btn svg {
    width: 14px !important;
    height: 14px !important;
  }
}

/* Slider Circular Prev/Next Arrow Buttons */
.slider-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.slider-nav-btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.slider-nav-btn:active {
  transform: scale(0.95);
}

/* Slider Progress Bar */
.slider-progress-wrapper {
  position: relative;
  width: 100%;
  height: 2px;
  background-color: var(--border-color);
  border-radius: 999px;
  margin-top: 14px;
  overflow: hidden;
}

.slider-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #000000;
  border-radius: 999px;
  width: 25%;
  transition: width 0.15s ease, transform 0.15s ease;
}

/* --- PRODUCT CARD STYLING (EXACT KARB 3-COLUMN REPLICATION) --- */
.shoe-card, .karb-product-card {
  position: relative;
  background: #000000;
  border-radius: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  height: 100%;
}

.shoe-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.shoe-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.5;
  background-color: #f7f7f7;
  overflow: hidden;
  border-radius: 0 !important;
}

/* In-Card Slide Arrows */

/* Card image stack — absolute positioning approach, no width math needed */
.card-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.card-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card-slide-image.active-slide {
  opacity: 1;
  z-index: 2;
}

.card-slide-image.hover-slide {
  opacity: 0;
  z-index: 3;
  transition: opacity 0.4s ease;
}

.shoe-card:hover .card-slide-image.hover-slide {
  opacity: 1;
}

/* In-Card Slide Arrows */
.card-slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 18;
  opacity: 0;
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.shoe-card:hover .card-slide-arrow {
  opacity: 1;
}

.card-slide-arrow:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  transform: translateY(-50%) scale(1.08);
}

.card-slide-arrow.prev { left: 10px; }
.card-slide-arrow.next { right: 10px; }

/* Carousel pagination dots */
.card-dots-indicator {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 15;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
}

.card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #d1d1d1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.card-dot.active {
  background-color: #000000;
  width: 14px;
  border-radius: 4px;
}

/* --- REELS VIDEO CARDS (BLACK & WHITE EDITORIAL) --- */
.reel-video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background-color: #121212;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  min-width: 230px;
  scroll-snap-align: start;
  border: 1px solid #2a2a2a;
}

.reel-video-card:hover {
  transform: translateY(-5px);
  border-color: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.reel-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.reel-video-card:hover video {
  transform: scale(1.03);
}

.reel-clean-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #ffffff;
  pointer-events: none;
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-tooltip {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: #075E54;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.whatsapp-widget-container:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-float-btn {
  width: 54px;
  height: 54px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  position: relative;
}

.whatsapp-float-btn:hover {
  background-color: #1EBE5D;
  transform: scale(1.08);
}

.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: whatsapp-pulse-anim 2.2s infinite;
  opacity: 0;
  pointer-events: none;
}

@keyframes whatsapp-pulse-anim {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.45); opacity: 0; }
}

@media (max-width: 640px) {
  .whatsapp-widget-container {
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-float-btn {
    width: 48px;
    height: 48px;
  }
  .whatsapp-float-btn svg {
    width: 24px;
    height: 24px;
  }
  .whatsapp-tooltip {
    display: none !important;
  }
  .shoe-card {
    border-radius: 0 !important;
  }
  /* Square image on mobile — shows full shoe clearly */
  .shoe-card-media {
    aspect-ratio: 1 / 1;
  }
  /* Hide size selector row on mobile grid — cleaner like reference */
  .shoe-card .grid-cols-12 {
    display: none !important;
  }
  /* Tighter name/price row */
  .shoe-card [onclick*="openQuickView"].px-3 {
    padding: 7px 8px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }
  .card-slide-arrow {
    display: none !important;
  }
}

/* --- ACCORDION FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease;
}

.faq-header {
  width: 100%;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.faq-header:hover {
  color: #000000;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

.faq-item.open .faq-content {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: #000000;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* --- DRAWER PANEL & MODALS (MATCHING KARB PURE BLACK WITH THIN WHITE BORDER) --- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  background: #000000;
  color: #ffffff;
  z-index: 70;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.drawer-panel.active {
  transform: translateX(0);
}

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 90;
  pointer-events: none;
}

.toast {
  background: #000000;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toast-in 0.3s ease forwards;
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- UTILITY BUTTONS (MINIMALIST REFINED) --- */
.pill-btn {
  background: #171717;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 4px;
  border: 1px solid #171717;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: none;
}

.pill-btn:hover {
  background: #000000;
  border-color: #000000;
  transform: translateY(-1px);
}

.pill-btn-outline {
  background: transparent;
  color: #171717;
  border: 1px solid #171717;
}

.pill-btn-outline:hover {
  background: #171717;
  color: #ffffff;
}

.filter-tab-active {
  background-color: #171717 !important;
  color: #ffffff !important;
  border-color: #171717 !important;
}
  color: #ffffff !important;
  border-color: #000000 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
}

/* --- BRAND FOOTER LOGO STYLING --- */
.footer-brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  transition: transform 0.25s ease;
}

.footer-brand-logo-img:hover {
  transform: scale(1.04);
}

/* --- SHOP BY BRAND SECTION (SNAPKICKS STYLE - 3 PER ROW ON MOBILE) --- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

@media (max-width: 640px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .brand-tile {
    padding: 12px 6px !important;
    border-radius: 14px !important;
  }
  .brand-card-label {
    font-size: 11px !important;
    gap: 4px !important;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .brand-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
  }
}

.brand-card-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
}

.brand-tile {
  background: #0a0a0a;
  border: 1px solid #1f1f1f;
  border-radius: 20px;
  aspect-ratio: 1 / 0.95;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.brand-tile img {
  max-width: 82%;
  max-height: 72%;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(1) drop-shadow(0 2px 10px rgba(255, 255, 255, 0.08));
}

.brand-card-item:hover .brand-tile {
  background: #141414;
  border-color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
}

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

.brand-card-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.brand-card-label span.arrow {
  transition: transform 0.2s ease;
  font-size: 14px;
  line-height: 1;
}

.brand-card-item:hover .brand-card-label {
  color: #ffffff;
}

.brand-card-item:hover .brand-card-label span.arrow {
  transform: translateX(4px);
}
