/* ============================================================
   ACESMAQ — CATEGORIA PAGES STYLESHEET
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body.categoria-page {
  background: #050811;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
}

/* HEADER */
.cat-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 17, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 112, 255, 0.2);
  padding: 14px 0;
}

.cat-header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cat-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.cat-logo-img {
  height: 40px;
  object-fit: contain;
}

.cat-logo-text {
  display: flex;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 22px;
}

.logo-aces { color: #FFFFFF; }
.logo-maq  { color: #0070FF; }

.cat-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cat-nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
}

.cat-nav-link:hover { color: #FFFFFF; }

.cat-wa-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  transition: filter 0.2s, transform 0.2s;
}

.cat-wa-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* HERO */
.cat-hero {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.cat-hero-inner {
  flex: 1;
}

.cat-breadcrumb {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.cat-breadcrumb a {
  color: #0070FF;
  text-decoration: none;
}

.cat-breadcrumb a:hover { text-decoration: underline; }

.cat-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.cat-hero-desc {
  font-size: 16px;
  color: #94A3B8;
  line-height: 1.7;
  max-width: 500px;
}

.cat-hero-img-wrap {
  flex-shrink: 0;
  width: 340px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(0, 112, 255, 0.2));
}

/* CONTAINER */
.cat-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

/* SECTION TITLE */
.cat-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 40px;
}

/* USE CASES */
.cat-use-cases {
  padding: 60px 0;
  background: #08101F;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.use-case-card {
  background: rgba(0, 112, 255, 0.06);
  border: 1px solid rgba(0, 112, 255, 0.15);
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 112, 255, 0.12);
}

.use-case-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.use-case-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.use-case-card p {
  font-size: 13px;
  color: #64748B;
  line-height: 1.6;
}

/* PRODUCTS */
.cat-products {
  padding: 70px 0;
}

.cat-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.cat-product-card {
  background: #0B1120;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cat-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 112, 255, 0.12);
  border-color: rgba(0, 112, 255, 0.3);
}

.cat-prod-img-box {
  width: 100%;
  height: 200px;
  background: #0d1628;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.cat-prod-info {
  padding: 20px;
}

.cat-prod-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.cat-prod-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 14px;
}

.cat-prod-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #0070FF;
  margin-bottom: 16px;
}

.cat-prod-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-buy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: filter 0.2s, transform 0.2s;
}

.cat-buy-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.cat-ml-btn { background: #FFE600; color: #000; }
.cat-shopee-btn { background: #EE4D2D; color: #FFF; }
.cat-wa-btn-sm { background: #25D366; color: #FFF; }

/* WhatsApp CTA */
.cat-whatsapp-cta {
  text-align: center;
  padding: 48px;
  background: rgba(37, 211, 102, 0.05);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 16px;
}

.cat-whatsapp-cta p {
  font-size: 16px;
  color: #94A3B8;
  margin-bottom: 20px;
}

.cat-cta-big-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  transition: filter 0.2s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.cat-cta-big-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
}

/* FOOTER */
.cat-footer {
  background: #03060D;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
}

.cat-footer .cat-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cat-footer-back {
  color: #0070FF;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.cat-footer-back:hover { opacity: 0.8; }

.cat-footer-copy {
  font-size: 12px;
  color: #475569;
}

/* Blue highlight shared */
.blue-highlight { color: #0070FF; }

/* ==========================================================================
   MOBILE RESPONSIVE — CATEGORIA PAGES (≤768px)
   ========================================================================== */
@media (max-width: 768px) {

  /* HEADER */
  .cat-header-inner {
    padding: 0 16px !important;
    gap: 12px !important;
  }

  .cat-logo-text { font-size: 18px !important; }

  .cat-nav {
    gap: 10px !important;
  }

  .cat-nav-link {
    display: none !important;
  }

  .cat-wa-btn {
    padding: 8px 12px !important;
    font-size: 11px !important;
    gap: 6px !important;
  }

  /* HERO */
  .cat-hero {
    flex-direction: column !important;
    padding: 28px 16px 24px !important;
    gap: 24px !important;
  }

  .cat-hero-inner {
    flex: none !important;
    width: 100% !important;
  }

  .cat-hero-title {
    font-size: clamp(26px, 8vw, 36px) !important;
    margin-bottom: 12px !important;
  }

  .cat-hero-desc {
    font-size: 14px !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
  }

  .cat-hero-img-wrap {
    width: 100% !important;
    height: 180px !important;
  }

  .cat-hero-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  /* CONTAINER */
  .cat-container {
    padding: 0 16px !important;
  }

  /* SECTION TITLE */
  .cat-section-title {
    font-size: 22px !important;
    margin-bottom: 24px !important;
    text-align: center !important;
  }

  /* USE CASES GRID → 2 colunas no mobile */
  .cat-use-cases {
    padding: 36px 0 !important;
  }

  .use-cases-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .use-case-card {
    padding: 18px 12px !important;
  }

  .use-case-icon {
    font-size: 28px !important;
    margin-bottom: 10px !important;
  }

  .use-case-card h3 {
    font-size: 13px !important;
    margin-bottom: 6px !important;
  }

  .use-case-card p {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  /* PRODUCTS SECTION */
  .cat-products {
    padding: 36px 0 !important;
  }

  /* PRODUCTS GRID → 1 coluna */
  .cat-products-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-bottom: 28px !important;
  }

  .cat-product-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
  }

  .cat-prod-img-box {
    width: 110px !important;
    min-width: 110px !important;
    height: auto !important;
    min-height: 110px !important;
    flex-shrink: 0 !important;
    border-radius: 0 !important;
  }

  .cat-prod-info {
    padding: 14px !important;
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  .cat-prod-name {
    font-size: 14px !important;
    margin-bottom: 4px !important;
  }

  .cat-prod-desc {
    font-size: 12px !important;
    margin-bottom: 8px !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
  }

  .cat-prod-price {
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }

  .cat-prod-btns {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .cat-buy-btn {
    padding: 7px 10px !important;
    font-size: 10px !important;
    flex: 1 !important;
    justify-content: center !important;
    min-width: 0 !important;
  }

  /* WA CTA */
  .cat-whatsapp-cta {
    padding: 28px 16px !important;
    text-align: center !important;
  }

  .cat-whatsapp-cta p {
    font-size: 14px !important;
    margin-bottom: 16px !important;
  }

  .cat-cta-big-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    font-size: 13px !important;
  }

  /* FOOTER */
  .cat-footer .cat-container {
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center !important;
    padding: 0 16px !important;
  }
}

/* ≤480px */
@media (max-width: 480px) {
  .use-cases-grid {
    grid-template-columns: 1fr !important;
  }

  .cat-product-card {
    flex-direction: column !important;
  }

  .cat-prod-img-box {
    width: 100% !important;
    height: 160px !important;
    min-width: unset !important;
  }

  .cat-hero-title {
    font-size: clamp(22px, 7vw, 30px) !important;
  }
}
