/* ============================================================
   EPI MARKETPLACE — HOMEPAGE STYLES
   ============================================================ */

/* global.css carregado diretamente no HTML — não duplicar aqui */

/* -----------------------------------------------------------
   HERO
----------------------------------------------------------- */
.hero {
  background: var(--clr-navy);
  position: relative;
  overflow: hidden;
}

/* Grid texture background */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: var(--clr-navy);
  background-image: 
    linear-gradient(to right, oklch(28% 0.17 252 / 0.85), oklch(28% 0.17 252 / 0.35)),
    url('../img/hero-bg.webp');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0.85;
}

.hero__grid-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  background-image: 
    linear-gradient(to right, oklch(100% 0 0 / 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(100% 0 0 / 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  z-index: -1;
}

.hero__orb--blue {
  top: 10%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--clr-blue) 0%, transparent 70%);
}

.hero__orb--orange {
  bottom: 10%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--clr-orange) 0%, transparent 70%);
}

.hero-animated__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding-block: var(--space-16) var(--space-16);
  margin-top: 88px; /* higher margin to clear navbar */
  text-align: center;
}

.hero-animated__top-badge {
  margin-bottom: var(--space-2);
}

.hero-animated__badge-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: oklch(100% 0 0 / 0.1);
  color: var(--clr-text-invert);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  text-decoration: none;
  border: 1px solid oklch(100% 0 0 / 0.2);
  transition: background var(--dur-normal) var(--ease-out);
}

.hero-animated__badge-btn:hover {
  background: oklch(100% 0 0 / 0.2);
}

.hero-animated__headline {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--clr-text-invert);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.hero-animated__static {
  color: oklch(100% 0 0 / 0.9);
  font-weight: var(--weight-medium);
}

.hero-animated__dynamic-wrapper {
  position: relative;
  display: inline-flex;
  justify-content: center;
  height: 1.3em;
  overflow: hidden;
  width: 100%;
}

.hero-animated__word {
  position: absolute;
  color: var(--clr-orange);
  font-weight: var(--weight-black);
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.6s ease;
}

.hero-animated__word.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-animated__word.exit {
  opacity: 0;
  transform: translateY(-100%);
}

.hero-animated__desc {
  font-size: clamp(var(--text-base), 1.5vw, var(--text-xl));
  color: var(--clr-text-invert-dim);
  line-height: var(--leading-relaxed);
  max-width: 60ch;
  margin-inline: auto;
}

.hero-animated__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

/* Updated buttons to match the requested black/white minimal Aceternity style */
.btn--outline {
  background: transparent;
  color: var(--clr-text-invert);
  border: 1px solid var(--clr-text-invert);
}

.btn--outline:hover {
  background: oklch(100% 0 0 / 0.1);
  color: var(--clr-text-invert);
}
/* -----------------------------------------------------------
   CATEGORIES — EDITORIAL GRID
   Asymmetric: large left + stacked right
----------------------------------------------------------- */
#categories {
  background: var(--clr-surface);
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.cat-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

/* Large hero category — spans full left column */
.cat-card--large {
  grid-row: span 2;
  min-height: 480px;
}

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

.cat-card__bg {
  position: absolute;
  inset: 0;
  transition: transform var(--dur-slow) var(--ease-out);
}

.cat-card:hover .cat-card__bg {
  transform: scale(1.05);
}

.cat-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(18% 0.17 252 / 0.88) 0%,
    oklch(18% 0.17 252 / 0.30) 50%,
    oklch(18% 0.17 252 / 0.05) 100%
  );
  transition: background var(--dur-normal) var(--ease-out);
}

.cat-card:hover .cat-card__overlay {
  background: linear-gradient(
    to top,
    oklch(18% 0.17 252 / 0.95) 0%,
    oklch(18% 0.17 252 / 0.50) 50%,
    oklch(18% 0.17 252 / 0.10) 100%
  );
}

.cat-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-8);
  transform: translateY(8px);
  transition: transform var(--dur-normal) var(--ease-out);
}

.cat-card:hover .cat-card__content {
  transform: translateY(0);
}

.cat-card__count {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--clr-orange);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}

.cat-card__name {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  color: white;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}

.cat-card--regular .cat-card__name {
  font-size: clamp(var(--text-xl), 2vw, var(--text-3xl));
}

.cat-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--clr-orange);
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity var(--dur-normal) var(--ease-out),
    transform var(--dur-normal) var(--ease-out);
}

.cat-card:hover .cat-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Fallback backgrounds when no image */
.cat-card--altura    .cat-card__bg { background: linear-gradient(135deg, oklch(28% 0.17 252), oklch(35% 0.18 220)); }
.cat-card--linhaviva .cat-card__bg { background: linear-gradient(135deg, oklch(32% 0.18 252), oklch(40% 0.15 200)); }
.cat-card--epi       .cat-card__bg { background: linear-gradient(135deg, oklch(38% 0.15 240), oklch(28% 0.17 252)); }
.cat-card--ferramentas .cat-card__bg { background: linear-gradient(135deg, oklch(35% 0.12 230), oklch(42% 0.10 250)); }

/* All categories row */
.categories__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

.categories__chips {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--clr-surface-3);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--clr-text-mid);
  transition:
    background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
}

.chip:hover {
  background: var(--clr-navy);
  border-color: var(--clr-navy);
  color: white;
}

/* -----------------------------------------------------------
   FEATURED PRODUCT — EDITORIAL SPLIT
----------------------------------------------------------- */
#featured {
  background: var(--clr-navy);
  overflow: hidden;
  position: relative;
}

.featured__pattern {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='92' viewBox='0 0 80 92'%3E%3Cpolygon points='40,1 79,23 79,69 40,91 1,69 1,23' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 80px 92px;
}

.featured__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

.featured__image-col {
  position: relative;
}

/* Featured Flip Card */
.feature-flip-card {
  position: relative;
  background: transparent;
  perspective: 1000px;
  width: 100%;
}

.feature-flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease-out);
  transform-style: preserve-3d;
  cursor: pointer;
}

.feature-flip-card:hover .feature-flip-card__inner {
  transform: rotateY(180deg);
}

.feature-flip-card__front,
.feature-flip-card__back {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  width: 100%;
}

.feature-flip-card__back {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  transform: rotateY(180deg);
  background: var(--clr-surface-2);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--clr-surface-3);
  box-shadow: var(--shadow-xl);
}

.featured__image-frame {
  background: oklch(100% 0 0 / 0.05);
  border: 1px solid oklch(100% 0 0 / 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured__image-frame img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px oklch(18% 0.17 252 / 0.8));
}

.featured__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.featured__badge-row {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.featured__title {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  color: var(--clr-text-invert);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.92;
}

.featured__desc {
  font-size: var(--text-lg);
  color: var(--clr-text-invert-dim);
  line-height: var(--leading-relaxed);
}

.featured__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3) var(--space-8);
  padding: var(--space-5);
  background: oklch(100% 0 0 / 0.04);
  border: 1px solid oklch(100% 0 0 / 0.08);
  border-radius: var(--radius-lg);
}

.featured__spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.featured__spec-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--clr-text-invert-dim);
  letter-spacing: 0.06em;
}

.featured__spec-value {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--clr-text-invert);
}

.featured__price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
}

.featured__price {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: var(--text-5xl);
  color: var(--clr-text-invert);
  line-height: 1;
}

.featured__price-note {
  font-size: var(--text-sm);
  color: var(--clr-text-invert-dim);
  line-height: var(--leading-snug);
}

.featured__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* -----------------------------------------------------------
   WHY EPI MARKETPLACE
----------------------------------------------------------- */
#why {
  background: var(--clr-navy-mid);
}

/* -----------------------------------------------------------
   PRODUCTS GRID
----------------------------------------------------------- */
#products {
  background: var(--clr-surface);
}

.products__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.products__filters {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.filter-btn {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 1.5px solid var(--clr-surface-3);
  background: white;
  color: var(--clr-text-mid);
  transition: all var(--dur-fast) var(--ease-out);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--clr-navy);
  border-color: var(--clr-navy);
  color: white;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-6);
}

/* -----------------------------------------------------------
   BLOG PREVIEW — Editorial list
----------------------------------------------------------- */
#blog-preview {
  background: var(--clr-surface-2);
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-10);
  align-items: start;
  padding-block: var(--space-8);
  border-bottom: 1px solid var(--clr-surface-3);
  text-decoration: none;
  color: inherit;
  transition: background var(--dur-fast) var(--ease-out);
}

.blog-item:hover .blog-item__title {
  color: var(--clr-blue);
}

.blog-item__index {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: var(--text-5xl);
  color: var(--clr-surface-3);
  line-height: 1;
  width: 80px;
  flex-shrink: 0;
  text-align: right;
  transition: color var(--dur-fast) var(--ease-out);
}

.blog-item:hover .blog-item__index {
  color: var(--clr-navy-soft);
}

.blog-item__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.blog-item__date {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--clr-text-dim);
}

.blog-item__title {
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
  font-weight: var(--weight-bold);
  color: var(--clr-text);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  transition: color var(--dur-fast) var(--ease-out);
}

.blog-item__excerpt {
  margin-top: var(--space-3);
  font-size: var(--text-base);
  color: var(--clr-text-mid);
  line-height: var(--leading-relaxed);
  max-width: 65ch;
}

.blog-item__read {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--clr-blue);
}

/* -----------------------------------------------------------
   CTA TYPEWRITER
----------------------------------------------------------- */
.cta-typewriter {
  background-color: var(--clr-navy-mid);
  background-image: 
    linear-gradient(to right, oklch(100% 0 0 / 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(100% 0 0 / 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  padding-block: var(--space-12);
  text-align: center;
  border-top: 1px solid oklch(100% 0 0 / 0.1);
}

.cta-typewriter__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.cta-typewriter__eyebrow {
  color: var(--clr-text-invert-dim);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: var(--weight-medium);
}

.cta-typewriter__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: var(--weight-black);
  color: var(--clr-text-invert);
  min-height: 1.5em; /* Prevent layout shift while typing */
  text-align: center;
}

.cta-typewriter__cursor {
  display: inline-block;
  vertical-align: middle;
  width: 4px;
  height: 1em;
  background-color: var(--clr-blue);
  margin-left: 4px;
  animation: blink 0.8s infinite;
  border-radius: 2px;
}

.finished + .cta-typewriter__cursor {
  animation: none;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.cta-typewriter__actions {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

.btn--black {
  background: #000;
  color: #fff;
  border: 1px solid transparent;
}
.btn--black:hover {
  background: #222;
  color: #fff;
}

.btn--white {
  background: #fff;
  color: #000;
  border: 1px solid oklch(0% 0 0 / 0.2);
}
.btn--white:hover {
  background: #f5f5f5;
  color: #000;
}

/* -----------------------------------------------------------
   RESPONSIVE — HOMEPAGE
----------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding-block: var(--space-24) var(--space-16);
  }

  .hero__visual {
    display: none;
  }

  .hero__headline {
    font-size: clamp(1.75rem, 6vw, 3.5rem);
  }

  .featured__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .featured__image-col {
    max-width: 260px;
    margin: 0 auto;
  }

  .why__grid {
    grid-template-columns: 1fr;
  }

  .why-item + .why-item {
    border-left: none;
    border-top: 1px solid var(--clr-surface-3);
  }
}

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

  .cat-card--large {
    grid-row: span 1;
    min-height: 180px;
  }

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

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

  .blog-item {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .blog-item__index {
    display: none;
  }

  .trust-bar__inner {
    gap: var(--space-5);
  }

  .trust-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  /* Hero CTAs fullwidth no mobile — fácil de tocar */
  .hero__actions {
    flex-direction: column;
    gap: var(--space-3);
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 52px; /* touch-friendly */
  }

  /* Stats em grid 2×2 no mobile */
  .hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

  .featured__specs {
    grid-template-columns: 1fr;
  }

  .categories__grid {
    gap: var(--space-3);
  }

  /* Safe area no bottom do hero */
  .hero {
    padding-bottom: max(var(--space-8), env(safe-area-inset-bottom, 0px));
  }
}

/* -----------------------------------------------------------
   PRODUCT SPECS LIST
----------------------------------------------------------- */
.specs-list {
  list-style-type: disc;
  padding-left: var(--space-4);
  margin: var(--space-2) 0;
  font-size: var(--text-xs);
  color: var(--clr-text-dim);
  line-height: var(--leading-normal);
  text-align: left;
}
.specs-list li {
  margin-bottom: 4px;
}
.specs-list li::marker {
  color: var(--clr-blue);
}

/* ============================================================
   PREMIUM CATEGORY CARDS (MUNDO LINHA VIVA LOOK)
============================================================ */
.cat-style-card {
  display: flex;
  flex-direction: column;
  background: #242526;
  border-radius: 28px;
  padding: var(--space-6) var(--space-5) var(--space-5);
  text-decoration: none;
  transition: transform var(--dur-normal) var(--ease-out), box-shadow var(--dur-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cat-style-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.cat-style-card--orange {
  background: linear-gradient(135deg, var(--clr-orange) 0%, var(--clr-orange-deep) 100%);
  border: none;
}

.cat-style-card--orange .cat-style-card__title {
  color: white;
}

.cat-style-card--orange .cat-style-card__icon {
  color: white;
  background: rgba(255, 255, 255, 0.25);
}

.cat-style-card--orange .cat-style-card__desc {
  color: rgba(255, 255, 255, 0.9);
}

.cat-style-card--orange .cat-style-card__btn {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cat-style-card--orange .cat-style-card__btn:hover {
  background: white;
  color: var(--clr-orange-deep);
  border-color: white;
}

.cat-style-card--navy {
  background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-mid) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cat-style-card--navy .cat-style-card__title {
  color: white;
}

.cat-style-card--navy .cat-style-card__icon {
  color: white;
  background: rgba(255, 255, 255, 0.2);
}

.cat-style-card--navy .cat-style-card__desc {
  color: rgba(255, 255, 255, 0.85);
}

.cat-style-card--navy .cat-style-card__btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--clr-orange);
  border: 1px solid rgba(255, 102, 0, 0.3);
}

.cat-style-card--navy .cat-style-card__btn:hover {
  background: var(--clr-orange);
  color: white;
  border-color: var(--clr-orange);
}

.cat-style-card--white {
  background: var(--clr-surface);
  border: 1px solid var(--clr-surface-3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.cat-style-card--white:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.cat-style-card--white .cat-style-card__title {
  color: var(--clr-navy);
}

.cat-style-card--white .cat-style-card__icon {
  color: var(--clr-navy);
  background: rgba(15, 23, 42, 0.08);
}

.cat-style-card--white .cat-style-card__desc {
  color: var(--clr-text-mid);
}

.cat-style-card--white .cat-style-card__btn {
  background: var(--clr-surface-2);
  color: var(--clr-text);
  border: 1px solid var(--clr-surface-3);
}

.cat-style-card--white .cat-style-card__btn:hover {
  background: var(--clr-navy);
  color: white;
  border-color: var(--clr-navy);
}

.cat-style-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}

.cat-style-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  margin: 0;
  line-height: 1.2;
}

.cat-style-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
}

.cat-style-card__desc {
  font-size: var(--text-xs);
  line-height: 1.5;
  margin: 0 0 var(--space-4) 0;
  height: 54px; /* fixed height for alignment */
  overflow: hidden;
}

.cat-style-card__img-frame {
  aspect-ratio: 16/10;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: var(--space-4);
  background: #121213;
}

.cat-style-card__img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-normal) var(--ease-out);
}

.cat-style-card:hover .cat-style-card__img-frame img {
  transform: scale(1.05);
}

.cat-style-card__btn {
  width: 100%;
  padding: var(--space-3);
  text-align: center;
  border-radius: 14px;
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  transition: all var(--dur-fast) ease;
}

@media (max-width: 992px) {
  .categories__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 576px) {
  .categories__grid {
    grid-template-columns: 1fr !important;
  }
}

#categories-title {
  color: var(--clr-orange);
}

