@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- PREMIUM DESIGN SYSTEM & CSS VARIABLES --- */
:root {
  /* Color Palettes - Harmonious HSL */
  --bg-primary: hsl(210, 20%, 98%);       /* Pure soft slate-white */
  --bg-secondary: hsl(210, 16%, 95%);     /* Soft gray */
  --bg-card: hsl(0, 0%, 100%);            /* Crisp solid white */
  --bg-glass: rgba(255, 255, 255, 0.65);  /* Frosted white glass */
  --border-glass: rgba(255, 255, 255, 0.7);
  --border-light: hsl(210, 14%, 90%);     /* Clean borders */
  
  /* Text Hues - No pure black for premium feel */
  --text-main: hsl(220, 25%, 15%);        /* Deep charcoal */
  --text-muted: hsl(220, 12%, 48%);       /* Steel slate */
  --text-light: hsl(220, 10%, 90%);       /* Light off-white */
  
  /* Curated Humber Blue Theme Accents */
  --silver-light: hsl(208, 95%, 88%);      /* Pale liquid blue tint */
  --silver-medium: hsl(210, 90%, 50%);     /* Clear tech blue */
  --silver-dark: hsl(212, 92%, 42%);       /* Vibrant Humber blue */
  --chrome-highlight: hsl(205, 100%, 97%); /* High-glare cool light reflection */
  
  /* Brand Specific Silver/Chrome Variables (Preserves Silver logo and title shine) */
  --brand-silver-light: hsl(210, 20%, 94%);
  --brand-silver-medium: hsl(210, 10%, 82%);
  --brand-silver-dark: hsl(210, 8%, 62%);
  --brand-chrome-highlight: hsl(210, 30%, 99%);
  
  /* Gradients */
  --metallic-grad: linear-gradient(135deg, var(--chrome-highlight) 0%, var(--silver-light) 40%, var(--silver-medium) 70%, var(--silver-dark) 100%);
  --metallic-hover-grad: linear-gradient(135deg, var(--chrome-highlight) 0%, hsl(208, 95%, 84%) 30%, var(--silver-medium) 60%, hsl(214, 92%, 36%) 100%);
  --glass-grad: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(240, 246, 255, 0.45) 100%);
  
  /* Accents */
  --accent-blue: hsl(210, 60%, 55%);
  --accent-emerald: hsl(150, 50%, 45%);
  --accent-gold: var(--silver-dark);          /* Re-themed: former gold/amber accent now Humber blue */

  /* Humber College Dark Blue — primary clickable-button theme */
  --humber-blue: hsl(211, 100%, 24%);          /* Deep Humber navy (#003d78) */
  --humber-blue-bright: hsl(210, 92%, 32%);    /* Medium blue — gradient top (#0850a6) */
  --humber-blue-deep: hsl(214, 100%, 16%);     /* Deepest navy — gradient base (#002152) */
  --humber-glow: 0 0 25px rgba(0, 78, 152, 0.40), 0 0 5px rgba(37, 99, 235, 0.25);
  
  /* Shadow Systems */
  --shadow-premium: 0 10px 30px -10px rgba(148, 163, 184, 0.18), 
                    0 1px 3px rgba(148, 163, 184, 0.06);
  --shadow-hover: 0 25px 50px -20px rgba(100, 116, 139, 0.28), 
                  0 0 15px rgba(226, 232, 240, 0.8),
                  inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --silver-glow: 0 0 25px rgba(37, 99, 235, 0.4), 0 0 5px rgba(59, 130, 246, 0.22);
  
  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Timing */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & GLOBAL STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* --- SCROLLBARS --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--silver-medium);
  border: 3px solid var(--bg-primary);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--silver-dark);
}

/* --- GLASSMORPHISM & METALLIC SHAPE CLASSES --- */
.glass-panel {
  background: var(--glass-grad);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-premium);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-hover);
}

/* Premium Solid Button (Humber Dark Blue Gradient) */
.btn-silver {
  background: linear-gradient(135deg, var(--humber-blue-bright) 0%, var(--humber-blue-deep) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 15px -3px rgba(0, 45, 95, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-silver::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  transition: transform 0.8s ease;
}

.btn-silver:hover {
  background: linear-gradient(135deg, hsl(210, 95%, 38%) 0%, hsl(214, 100%, 20%) 100%);
  box-shadow: 0 8px 25px -5px rgba(0, 60, 120, 0.55), var(--humber-glow);
  transform: translateY(-2px);
}

.btn-silver:hover::after {
  transform: rotate(30deg) translate(20%, 20%);
}

.btn-silver:active {
  transform: translateY(0);
}

/* Secondary Ghost Button */
.btn-ghost {
  border: 2px solid var(--humber-blue);
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 28px; /* Slightly adjusted padding to balance 2px borders */
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
}

.btn-ghost:hover {
  background: rgba(8, 80, 166, 0.07);
  border-color: var(--humber-blue-deep);
  color: var(--humber-blue-deep);
  transform: translateY(-2px);
}

/* --- STRUCTURE LAYOUT --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glass Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 80px;
  border-radius: 0;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 40px -15px rgba(148, 163, 184, 0.25);
  border-color: rgba(255, 255, 255, 0.9);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Stunning Brand Logo */
.silver-logo {
  width: 120px;
  height: 120px;
  background-image: url('../images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: linear-gradient(
    125deg,
    var(--brand-silver-dark) 0%,
    var(--brand-silver-dark) 42%,
    var(--brand-chrome-highlight) 48%,
    var(--brand-chrome-highlight) 52%,
    var(--brand-silver-dark) 58%,
    var(--brand-silver-dark) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShine 12s ease-in-out infinite;
}

@keyframes textShine {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

.nav-menu {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--silver-dark);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
}

/* CTA that only appears inside the mobile dropdown menu */
.nav-cta-mobile {
  display: none;
}

/* Footer style */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 80px 0 40px 0;
  margin-top: 120px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--text-main);
  padding-left: 4px;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 16px 0 24px 0;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- HERO LANDING SECTION --- */
.hero-section {
  padding: 160px 0 100px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(148, 163, 184, 0.05);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--silver-dark);
  border-radius: 50%;
  animation: pulse-silver 2s infinite;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--silver-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Breathtaking Showcase Item Visual */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.showcase-plate {
  width: 85%;
  height: 85%;
  position: absolute;
  top: 7%;
  left: 7%;
  background: var(--glass-grad);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-hover);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.showcase-bg-glow {
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(226, 232, 240, 0.7) 0%, rgba(255, 255, 255, 0) 65%);
  top: -25%;
  left: -25%;
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}

.showcase-img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 20px 30px rgba(100, 116, 139, 0.25));
  transition: var(--transition-smooth);
}

.hero-visual:hover .showcase-img {
  transform: scale(1.08) rotate(2deg);
}

.hero-visual:hover .showcase-plate {
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 35px 70px -25px rgba(100, 116, 139, 0.35), var(--silver-glow);
}

/* Floating Status Tag */
.showcase-tag {
  position: absolute;
  bottom: 12%;
  right: 0;
  z-index: 3;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.showcase-tag .tag-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.showcase-tag .tag-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

/* --- SECTION GENERAL STYLES --- */
.section-margin {
  margin-top: 140px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--silver-dark);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.section-title span {
  background: linear-gradient(135deg, hsl(210, 92%, 46%) 0%, hsl(214, 95%, 30%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- PRODUCT CARDS & GRID --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--metallic-grad);
  opacity: 0;
  transition: var(--transition-smooth);
}

.product-card-img-wrap {
  position: relative;
  aspect-ratio: 1.15;
  background: var(--bg-secondary);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-condition-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.badge-new {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.badge-refurbished {
  background: var(--metallic-grad);
  color: hsl(220, 30%, 15%);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.product-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-cat {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.product-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.3;
}

.product-card-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.product-card-price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.product-card-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.product-card-moq {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Card Hover States */
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--silver-medium);
}

.product-card:hover::before {
  opacity: 1;
}

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

/* Newly Added Section Carousel Scroll Style */
.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

.carousel-scroll {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  padding-bottom: 20px;
}

.carousel-scroll::-webkit-scrollbar {
  display: none; /* Safari & Chrome */
}

.carousel-scroll .product-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

/* --- WHOLESALE ADVANTAGES GRIDS --- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.advantage-card {
  padding: 40px;
  text-align: left;
}

.advantage-icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--metallic-grad);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--silver-glow);
  margin-bottom: 28px;
}

.advantage-icon {
  width: 28px;
  height: 28px;
  stroke: hsl(220, 30%, 15%);
  stroke-width: 2;
  fill: none;
}

.advantage-card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.advantage-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- CATALOG SEARCH & FILTER --- */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding-top: 120px;
}

.filter-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
  padding: 30px;
}

.filter-group {
  margin-bottom: 30px;
}

.filter-group-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}

/* Custom Checkbox styles */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.checkbox-label:hover {
  color: var(--text-main);
}

.checkbox-input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--silver-medium);
  border-radius: 4px;
  background: white;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.checkbox-input:checked {
  background: var(--metallic-grad);
  border-color: var(--silver-dark);
}

.checkbox-input:checked::before {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: bold;
}

.search-wrap {
  display: flex;
  margin-bottom: 40px;
  gap: 16px;
}

.search-input-box {
  flex-grow: 1;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 16px 24px;
  border-radius: 50px;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  box-shadow: var(--shadow-premium);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.search-input:focus {
  outline: none;
  border-color: var(--silver-medium);
  box-shadow: 0 10px 25px -5px rgba(148, 163, 184, 0.25), var(--silver-glow);
}

.view-toggle-btns {
  display: flex;
  background: var(--bg-secondary);
  border-radius: 50px;
  padding: 4px;
  border: 1px solid var(--border-light);
}

.view-btn {
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  color: var(--text-muted);
  font-weight: 600;
  transition: var(--transition-fast);
}

.view-btn.active {
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: var(--shadow-premium);
}

/* --- PRODUCT DETAIL SPECIFICS --- */
.detail-layout {
  padding-top: 120px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  margin-bottom: 80px;
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-main-wrap {
  width: 100%;
  aspect-ratio: 1.2;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.gallery-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 16px;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}

.gallery-thumb.active, .gallery-thumb:hover {
  border-color: var(--silver-dark);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info {
  display: flex;
  flex-direction: column;
}

.detail-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.detail-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.detail-price-box {
  margin: 24px 0;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
}

.detail-price-box h4 {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.detail-price-val {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  background: linear-gradient(135deg, var(--text-main) 0%, var(--silver-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.detail-highlights {
  margin-bottom: 32px;
  list-style-position: inside;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-highlights li {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Quality Refurbished Shield Widget */
.quality-shield {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-md);
  margin-bottom: 40px;
  border: 1px solid var(--silver-medium);
  background: var(--glass-grad);
}

.quality-shield-icon {
  width: 48px;
  height: 48px;
  background: var(--metallic-grad);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--silver-glow);
  flex-shrink: 0;
}

.quality-shield-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-main);
}

.quality-shield-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Interactive Wholesale Calculator */
.calculator-box {
  padding: 32px;
  margin-bottom: 40px;
}

.calculator-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.calc-input-wrap label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.calc-input {
  width: 100%;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: white;
  font-size: 1.1rem;
  font-weight: 700;
  outline: none;
}

.calc-input:focus {
  border-color: var(--silver-dark);
}

.calc-result-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 24px;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.calc-result-row:last-child {
  margin-bottom: 0;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.calc-result-row span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.calc-result-row .val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.calc-result-row .val-large {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

/* Specs Table */
.specs-table-wrap {
  margin-top: 60px;
}

.specs-title {
  font-size: 1.6rem;
  margin-bottom: 24px;
  color: var(--text-main);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-light);
}

.specs-table td {
  padding: 16px 24px;
  font-size: 0.95rem;
}

.specs-table td:first-child {
  font-weight: 700;
  color: var(--text-main);
  width: 30%;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.specs-table td:last-child {
  color: var(--text-muted);
}

/* Modal Form Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  width: 100%;
  max-width: 580px;
  padding: 40px;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition-smooth);
  position: relative;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.close-modal-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.close-modal-btn:hover {
  color: var(--text-main);
}

/* Custom form fields */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: white;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--silver-dark);
  box-shadow: var(--silver-glow);
}

/* --- INSTAGRAM PAGE --- */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.insta-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  cursor: pointer;
  box-shadow: var(--shadow-premium);
}

.insta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.insta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transition: var(--transition-smooth);
  padding: 24px;
  text-align: center;
}

.insta-stats {
  display: flex;
  gap: 24px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.1rem;
}

.insta-stats span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.insta-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.insta-card:hover .insta-img {
  transform: scale(1.05);
}

.insta-card:hover .insta-overlay {
  opacity: 1;
}

/* --- COMPANY PAGE --- */
.company-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 120px;
  padding-top: 120px;
}

.company-about-img-wrap {
  width: 100%;
  aspect-ratio: 1.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-premium);
}

.company-about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-about-content h1,
.company-about-content h2 {
  font-size: 2.6rem;
  margin-bottom: 24px;
}

.company-about-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

/* Step Facility Workflow visualizer */
.workflow-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  position: relative;
}

.workflow-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-light);
  z-index: 1;
}

.workflow-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.workflow-number {
  width: 80px;
  height: 80px;
  background: var(--bg-card);
  border: 2px solid var(--silver-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

.workflow-step:hover .workflow-number {
  background: var(--metallic-grad);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: var(--silver-glow);
  transform: translateY(-4px) scale(1.05);
}

.workflow-step h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.workflow-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Intake Form Section */
.intake-layout {
  max-width: 800px;
  margin: 100px auto 0 auto;
  padding: 50px;
}

.intake-layout h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 12px;
}

.intake-layout p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* --- THE FLOATING AI CHATBOT ORB --- */
.chatbot-orb {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 64px;
  height: 64px;
  background: var(--metallic-grad);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 10px 30px -5px rgba(100, 116, 139, 0.4), var(--silver-glow);
  cursor: pointer;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.chatbot-orb:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 15px 35px -5px rgba(100, 116, 139, 0.6), var(--silver-glow);
}

.chatbot-orb svg {
  width: 28px;
  height: 28px;
  stroke: hsl(220, 30%, 15%);
  stroke-width: 2.2;
  fill: none;
}

/* Chat Widget Panel */
.chat-panel {
  position: fixed;
  bottom: 110px;
  right: 32px;
  width: 380px;
  height: 520px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition-smooth);
}

.chat-panel.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.chat-header {
  padding: 20px 24px;
  background: var(--metallic-grad);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  animation: pulse-green 1.5s infinite;
}

.chat-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.chat-close-btn {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
}

.chat-body {
  flex-grow: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(255, 255, 255, 0.95);
}

.chat-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.4;
  word-wrap: break-word;
}

.chat-msg.bot {
  background: var(--bg-secondary);
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  background: var(--metallic-grad);
  color: var(--text-main);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.chat-footer {
  padding: 16px 20px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 12px;
}

.chat-input {
  flex-grow: 1;
  border: 1px solid var(--border-light);
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 0.9rem;
  outline: none;
  background: var(--bg-secondary);
  transition: var(--transition-fast);
}

.chat-input:focus {
  background: white;
  border-color: var(--silver-dark);
}

.chat-send-btn {
  width: 40px;
  height: 40px;
  background: var(--metallic-grad);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--silver-glow);
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.chat-send-btn:hover {
  transform: scale(1.05);
}

.chat-send-btn svg {
  width: 18px;
  height: 18px;
  stroke: hsl(220, 30%, 15%);
  stroke-width: 2.2;
  fill: none;
}

/* Typing Indicator */
.typing-bubble {
  display: flex;
  gap: 4px;
  padding: 12px 20px;
  background: var(--bg-secondary);
  align-self: flex-start;
  border-radius: var(--radius-md);
  border-bottom-left-radius: 4px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing-bounce 1s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

/* --- ANIMATION KEYFRAMES --- */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-silver {
  0% { box-shadow: 0 0 0 0 rgba(148, 163, 184, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(148, 163, 184, 0); }
  100% { box-shadow: 0 0 0 0 rgba(148, 163, 184, 0); }
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes typing-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Hamburger toggle styling */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2.2px;
  background-color: var(--text-main);
  border-radius: 4px;
  transition: var(--transition-fast);
  transform-origin: center;
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Company CTA Grid */
.company-cta-grid {
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  border-radius: var(--radius-lg);
  background: var(--glass-grad);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-premium);
}

/* --- RESPONSIVE ADAPTATIONS --- */
@media (max-width: 1024px) {
  .hero-grid, .detail-grid, .company-about-grid, .company-cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .company-cta-grid {
    padding: 40px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .filter-sidebar {
    position: static;
  }
  .advantages-grid, .workflow-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-timeline::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .header {
    height: 70px;
    padding: 0 20px;
  }

  /* Shrink the oversized 120px logo so the header fits the viewport */
  .silver-logo {
    width: 44px;
    height: 44px;
  }

  .hamburger-btn {
    display: flex;
  }

  /* Hide the wide header pill on mobile — it pushed the hamburger off-screen.
     The CTA reappears inside the dropdown menu via .nav-cta-mobile. */
  .header-inquiry-btn {
    display: none;
  }

  .nav-cta-mobile {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 84px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-hover);
    border-radius: var(--radius-md);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    z-index: 1000;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
    border-color: var(--silver-medium);
  }
  
  .nav-link {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
  }
  
  .nav-menu li:last-child .nav-link {
    border-bottom: none;
  }
  
  .brand-name {
    font-size: 1.1rem;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .carousel-scroll .product-card {
    flex: 0 0 280px; /* Snug fit on mobile screen viewports */
  }
  
  .hero-title {
    font-size: 2.6rem;
  }
  
  .advantages-grid, .workflow-timeline, .form-row, .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .company-cta-grid {
    padding: 30px 20px;
    border-radius: var(--radius-md);
  }
  
  .chat-panel {
    width: calc(100vw - 40px);
    right: 20px;
    bottom: 90px;
  }
  
  .chatbot-orb {
    bottom: 20px;
    right: 20px;
  }
}

/* --- TRUSTED PARTNERS MARQUEE --- */
.partners-section {
  overflow: hidden;
}

.partners-marquee-wrap {
  position: relative;
  margin-top: 40px;
  overflow: hidden;
}

.partners-fade-left,
.partners-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}

.partners-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.partners-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: partners-scroll 40s linear infinite;
  padding: 12px 0;
  will-change: transform;
}

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

/* Travels exactly one half of the (duplicated) track. Uniform card margins
   make the two halves identical in width, so the loop point is seamless. */
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.partner-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 220px;
  height: 100px;
  margin-right: 20px;
  padding: 20px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  filter: grayscale(0.3) opacity(0.85);
}

.partner-logo-card:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-color: rgba(37,99,235,0.35);
  filter: grayscale(0) opacity(1);
}

.partner-logo-card--dark {
  background: #1a1a2e;
  border-color: rgba(255,255,255,0.08);
}

.partner-logo-card--dark:hover {
  border-color: rgba(37,99,235,0.4);
}

.partner-logo-img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* --- CATEGORY CARDS (2-column grid) --- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* Full-width feature card (spans both columns so a lone 7th card never looks off) */
.cat-card--wide {
  grid-column: 1 / -1;
  min-height: 260px;
}

.cat-card--wide .cat-card-content {
  width: 42%;
}

.cat-card {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 300px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: rgba(255,255,255,0.50);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.28s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.28s cubic-bezier(0.16,1,0.3,1),
              border-color 0.28s ease;
  cursor: pointer;
}

.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

.cat-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 32px 70px rgba(0,0,0,0.13), 0 8px 20px rgba(0,0,0,0.06);
  border-color: rgba(255,255,255,0.6);
}

.cat-card-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.cat-card:hover .cat-card-glow {
  opacity: 1;
}

.cat-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 34px 30px;
  width: 54%;
  flex-shrink: 0;
}

.cat-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cat-card-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  margin-bottom: 2px;
}

.cat-card-title {
  font-family: var(--font-header);
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--text-main);
  line-height: 1.1;
  margin: 0;
}

.cat-card-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 2px 0 0;
  line-height: 1.55;
}

.cat-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1.5px solid currentColor;
  width: fit-content;
  margin-top: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.cat-card:hover .cat-card-cta {
  background: currentColor;
}

.cat-card:hover .cat-card-cta span {
  color: #111;
}

.cat-card-img-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  overflow: hidden;
}

.cat-card-img-wrap::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 30%;
  background: linear-gradient(to right, rgba(255,255,255,0.55), transparent);
  z-index: 2;
  pointer-events: none;
}

.cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
  padding: 16px 16px 16px 0;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}

.cat-card:hover .cat-card-img {
  transform: scale(1.08) translateX(-6px);
}

@media (max-width: 860px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }

  .cat-card {
    min-height: 220px;
  }

  .cat-card-title {
    font-size: 1.35rem;
  }

  .cat-card-content {
    padding: 26px 22px;
    width: 58%;
  }

  .cat-card--wide .cat-card-content {
    width: 58%;
  }
}
