/* ═══════════════════════════════════════════════════════════════
   Eletrofrio — HOME CSS
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset de margem do site content na home ── */
.home .site-content,
.home .site-content .col-full,
.home #primary,
.home #main {
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}
/* Remove padding lateral do Storefront */
.home .col-full { padding-left: 0 !important; padding-right: 0 !important; }

/* ── Utilitários ── */
.ef-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; transition: all .2s; cursor: pointer; border: none; }
.ef-btn--primary { background: #1B2F8A; color: #fff; }
.ef-btn--primary:hover { background: #15256e; color: #fff; }
.ef-btn--cyan { background: #00AECC; color: #fff; }
.ef-btn--cyan:hover { background: #0098b3; color: #fff; }
.ef-btn--outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.ef-btn--outline-white:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

.ef-badge { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; font-size: 12px; font-weight: 800; }
.ef-badge--sale { background: #FEF3C7; color: #B45309; }
.ef-badge--new  { background: #DCFCE7; color: #15803D; }

.ef-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.ef-section-header h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 700; color: #0F172A; display: flex; align-items: center; gap: 10px; margin: 0; }
.ef-section-header--center { flex-direction: column; text-align: center; gap: 8px; }
.ef-section-header--center h2 { font-size: 28px; }
.ef-section-header--center p { color: #64748B; font-size: 15px; margin: 0; }
.ef-section-link { font-size: 13px; font-weight: 600; color: #00AECC; text-decoration: none; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.ef-section-link:hover { color: #1B2F8A; }

/* ════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════ */
.ef-hero {
  position: relative;
  background: #1B2F8A;
  color: #fff;
  overflow: hidden;
  padding: 64px 0 48px;
}
.ef-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0,174,204,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 0% 100%, rgba(255,199,44,.06) 0%, transparent 70%);
  pointer-events: none;
}
.ef-hero__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.ef-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px; padding: 5px 14px; font-size: 12px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: #93C5FD; margin-bottom: 20px;
}
.ef-hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5vw, 54px); font-weight: 900;
  line-height: 1.05; margin: 0 0 16px; text-transform: uppercase; letter-spacing: -.01em;
  color: #fff !important;
}
.ef-hero__title span { color: #FFC72C !important; }
.ef-hero__logo-img {
  display: block;
  max-width: 360px;
  width: 100%;
  height: auto;
  margin-top: 8px;
}
.ef-hero__sub { font-size: 16px; color: rgba(255,255,255,.75); margin: 0 0 28px; }

/* Busca hero */
.ef-hero__search { width: 100%; max-width: 600px; }
.ef-hero__search-wrap {
  display: flex; align-items: center;
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
.ef-hero__search-icon { position: absolute; left: 16px; color: #94A3B8; pointer-events: none; }
.ef-hero__search-wrap { position: relative; }
.ef-hero__search-input {
  flex: 1; border: none; outline: none; font-size: 15px; color: #0F172A;
  padding: 16px 16px 16px 48px; background: transparent; min-width: 0;
}
.ef-hero__search-btn {
  background: #FFC72C; color: #1B2F8A; font-weight: 700; font-size: 14px;
  border: none; padding: 0 24px; height: 52px; cursor: pointer; white-space: nowrap;
  transition: background .2s;
}
.ef-hero__search-btn:hover { background: #FFD55A; }
.ef-hero__search-tips {
  display: flex; align-items: center; gap: 8px; margin-top: 10px;
  font-size: 12px; color: rgba(255,255,255,.6);
}
.ef-hero__search-tips a { color: rgba(255,255,255,.85); text-decoration: none; background: rgba(255,255,255,.1); padding: 2px 8px; border-radius: 4px; transition: background .2s; }
.ef-hero__search-tips a:hover { background: rgba(255,255,255,.2); }

/* Quick links */
.ef-hero__quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ef-hero__quick a {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.9); font-size: 13px; font-weight: 500;
  padding: 7px 14px; border-radius: 6px; text-decoration: none; transition: all .2s;
}
.ef-hero__quick a:hover { background: rgba(255,255,255,.2); color: #fff; border-color: rgba(255,255,255,.3); }

/* Stats */
.ef-hero__stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 24px; align-self: start;
}
.ef-hero__stat { text-align: center; padding: 8px; }
.ef-hero__stat-num {
  display: block; font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px; font-weight: 900; color: #00AECC; line-height: 1;
}
.ef-hero__stat-num span { font-size: 20px; }
.ef-hero__stat-label { display: block; font-size: 11px; color: rgba(255,255,255,.65); margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }

/* ════════════════════════════════════════════════════
   CATEGORIES
   ════════════════════════════════════════════════════ */
.ef-categories {
  background: #F8FAFC; padding: 56px 0;
}
.ef-categories__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ef-categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ef-cat-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 2px solid #E2E8F0; border-radius: 10px;
  padding: 16px; text-decoration: none; transition: all .2s;
}
.ef-cat-card:hover {
  border-color: #00AECC;
  box-shadow: 0 8px 24px rgba(0,174,204,.2);
  transform: translateY(-2px);
  background: #F0F9FF;
}
.ef-cat-card__icon {
  width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0;
  background: #1B2F8A;
  display: flex; align-items: center; justify-content: center;
  color: #00AECC;
  font-weight: bold;
}
.ef-cat-card__info { flex: 1; min-width: 0; }
.ef-cat-card__info strong { display: block; font-size: 13px; font-weight: 700; color: #0F172A; line-height: 1.3; }
.ef-cat-card__info span { display: block; font-size: 11px; color: #94A3B8; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ef-cat-card__arrow { color: #CBD5E1; flex-shrink: 0; transition: transform .2s; }
.ef-cat-card:hover .ef-cat-card__arrow { color: #00AECC; transform: translateX(3px); }

/* ════════════════════════════════════════════════════
   FEATURED PRODUCTS
   ════════════════════════════════════════════════════ */
.ef-featured { background: #fff; padding: 56px 0; }
.ef-featured__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ef-featured__block { margin-bottom: 48px; }
.ef-featured__block:last-child { margin-bottom: 0; }
.ef-featured__empty { text-align: center; padding: 40px; color: #64748B; }

.ef-products-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ── Card home (ef-prod-card) — visual alinhado com catalog ── */
.ef-prod-card {
  background: #fff;
  border: 1px solid #ECEEF2;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex;
  flex-direction: column;
}

.ef-prod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(27,47,138,.10), 0 2px 8px rgba(0,0,0,.06);
  border-color: #00AECC;
}

.ef-prod-card__img {
  aspect-ratio: 1;
  background: #F5F7FA;
  border-bottom: 1px solid #ECEEF2;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ef-prod-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform .3s ease;
}

.ef-prod-card:hover .ef-prod-card__img img { transform: scale(1.04); }

.ef-prod-card__no-img { color: #CBD5E1; }

.ef-prod-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 800;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
}

.ef-prod-card__badge--sale { background: #00AECC; color: #1B2F8A; }
.ef-prod-card__badge--new  { background: #10B981; color: #fff; }

.ef-prod-card__info {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ef-prod-card__brand {
  font-size: 10px;
  font-weight: 700;
  color: #00AECC;
  text-transform: uppercase;
  letter-spacing: .10em;
  font-family: 'Barlow Condensed', sans-serif;
}

.ef-prod-card__info h3 {
  font-size: 14px;
  font-weight: 600;
  color: #1A1A2E;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ef-prod-card__sku {
  font-size: 11px;
  color: #9CA3AF;
  font-family: 'IBM Plex Mono', monospace;
}

.ef-prod-card__price {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #F0F1F5;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ef-prod-card__price--old {
  font-size: 11px;
  color: #9CA3AF;
  text-decoration: line-through;
  display: block;
}

.ef-prod-card__price--current {
  font-size: 20px;
  font-weight: 800;
  font-family: 'Barlow Condensed', sans-serif;
  color: #1B2F8A;
  display: block;
  line-height: 1.1;
}

.ef-prod-card__price--cred {
  font-size: 12px;
  font-weight: 700;
  font-family: 'Barlow Condensed', sans-serif;
  color: #00AECC;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(27,47,138,.07);
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

.ef-prod-card__price--cred::before {
  content: '★';
  font-size: 9px;
  color: #1B2F8A;
}

.ef-prod-card__price--consult {
  font-size: 13px;
  color: #9CA3AF;
  font-style: italic;
}

/* ════════════════════════════════════════════════════
   CTA CREDENCIADA
   ════════════════════════════════════════════════════ */
.ef-cta-cred {
  background: linear-gradient(135deg, #0F172A 0%, #1B2F8A 60%, #1E3A8A 100%);
  color: #fff; padding: 64px 0;
  position: relative; overflow: hidden;
}
.ef-cta-cred::before {
  content: ''; position: absolute;
  top: -50%; right: -10%; width: 600px; height: 600px;
  border-radius: 50%; border: 1px solid rgba(0,174,204,.15);
  pointer-events: none;
}
.ef-cta-cred__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.ef-cta-cred__eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: #FFC72C; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px;
}
.ef-cta-cred__content h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px; font-weight: 900; line-height: 1.1;
  margin: 0 0 16px; text-transform: uppercase;
}
.ef-cta-cred__content h2 span { color: #FFC72C; }
.ef-cta-cred__content p { font-size: 15px; color: rgba(255,255,255,.75); margin: 0 0 28px; line-height: 1.6; }
.ef-cta-cred__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.ef-cta-cred__benefits { display: flex; flex-direction: column; gap: 20px; }
.ef-benefit { display: flex; align-items: flex-start; gap: 16px; }
.ef-benefit__icon {
  width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0;
  background: rgba(0,174,204,.15); border: 1px solid rgba(0,174,204,.25);
  display: flex; align-items: center; justify-content: center; color: #00AECC;
}
.ef-benefit strong { display: block; font-size: 14px; font-weight: 700; color: #fff; }
.ef-benefit span { display: block; font-size: 13px; color: rgba(255,255,255,.6); margin-top: 2px; }

/* ════════════════════════════════════════════════════
   BRANDS
   ════════════════════════════════════════════════════ */
.ef-brands { background: #F8FAFC; padding: 56px 0; }
.ef-brands__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ef-brands__strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin: 36px 0;
}
.ef-brand-item {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 10px;
  padding: 16px 28px; text-decoration: none; transition: all .2s;
  min-width: 120px;
}
.ef-brand-item span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 800; color: #475569; letter-spacing: -.01em;
  transition: color .2s;
}
.ef-brand-item:hover { border-color: #1B2F8A; box-shadow: 0 4px 12px rgba(27,47,138,.08); }
.ef-brand-item:hover span { color: #1B2F8A; }

/* Info strip */
.ef-info-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #1B2F8A; border-radius: 12px; overflow: hidden;
}
.ef-info-strip__item {
  display: flex; align-items: center; gap: 12px; padding: 20px 24px;
  color: rgba(255,255,255,.9); font-size: 13px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.ef-info-strip__item:last-child { border-right: none; }
.ef-info-strip__item strong { display: block; color: #fff; font-size: 14px; font-weight: 700; }

/* ════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ef-hero__inner { grid-template-columns: 1fr; }
  .ef-hero__stats { grid-template-columns: repeat(4,1fr); max-width: 100%; }
  .ef-categories__grid { grid-template-columns: repeat(2, 1fr); }
  .ef-products-row { grid-template-columns: repeat(2, 1fr); }
  .ef-cta-cred__inner { grid-template-columns: 1fr; gap: 40px; }
  .ef-info-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ef-hero { padding: 40px 0 36px; }
  .ef-hero__stats { grid-template-columns: repeat(2, 1fr); }
  .ef-categories__grid { grid-template-columns: 1fr; }
  .ef-products-row { grid-template-columns: 1fr 1fr; }
  .ef-cta-cred__content h2 { font-size: 28px; }
  .ef-info-strip { grid-template-columns: 1fr 1fr; }
  .ef-brands__strip { gap: 8px; }
  .ef-brand-item { padding: 12px 20px; }
}
