/* ==========================================================================
   ABMKeys Hero Section — 2-Column with Vertical Slider
   ========================================================================== */

/* === Hero wrapper === */
.abm-hero-widget {
  width: 100%;
  min-height: 90vh;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
}
.elementor-widget-abmkeys-hero-section .elementor-widget-container {
  width: 100% !important;
}

/* === Decorations === */
.abm-hero-widget .abm-hero-diagonal {
  position: absolute;
  top: 0; right: 0;
  width: 42%; height: 100%;
  background: linear-gradient(180deg, #EFF4FF 0%, rgba(239,244,255,0.4) 60%, transparent 100%);
  clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none; z-index: 0;
}
.abm-hero-widget .abm-hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(27,79,216,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 70% 40%, black 0%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 60% at 70% 40%, black 0%, transparent 100%);
  pointer-events: none; z-index: 0;
}

/* === 2-column grid === */
.abm-hero-inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  width: 100% !important;
  position: relative;
  z-index: 2;
}

/* --- Right column: text content --- */
.abm-hero-text-col {
  padding: 52px 56px 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #E2E8F0;
  position: relative;
}

/* --- Left column: slider --- */
.abm-hero-slider-col {
  background: #F8FAFC;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.abm-hero-slider-col::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #EFF4FF 0%, transparent 50%);
  opacity: 0.6;
  pointer-events: none;
}

/* === Slider label === */
.abm-slider-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

/* === Vertical slider === */
.abm-vslider-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  height: 280px;
}
.abm-vslider-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.abm-vslide {
  min-height: 280px;
  width: 100%;
  padding: 4px 0;
  flex-shrink: 0;
}

/* === Slider card === */
.abm-vslide-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(15,23,42,0.07);
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.abm-vslide-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1B4FD8, #2563EB);
  border-radius: 18px 18px 0 0;
}

/* Top row: icon + badge */
.abm-vslide-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.abm-cat-ico-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
}
.ci-ms { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); }
.ci-ab { background: linear-gradient(135deg, #FFF5F5, #FEE2E2); }
.ci-ac { background: linear-gradient(135deg, #F0F9FF, #E0F2FE); }
.ci-av { background: linear-gradient(135deg, #F0FDF4, #DCFCE7); }
.ci-co { background: linear-gradient(135deg, #FFFBEB, #FEF3C7); }

/* Product count badge */
.abm-cat-badge {
  padding: 4px 10px;
  border-radius: 50px;
  background: #EFF4FF;
  color: #1B4FD8;
  font-size: 11px; font-weight: 700;
  font-family: 'DM Mono', monospace;
}

/* Category name */
.abm-vslide-name {
  font-family: 'Syne', sans-serif;
  font-size: 22px; font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

/* Description */
.abm-vslide-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}

/* Product name tags */
.abm-vslide-tags {
  display: flex; flex-wrap: wrap;
  gap: 6px; margin-bottom: 18px;
}
.abm-vslide-tag {
  padding: 4px 10px;
  border: 1px solid #E2E8F0;
  border-radius: 50px;
  font-size: 11px; font-weight: 500;
  color: #475569;
  background: #F8FAFC;
  transition: all 0.15s;
  cursor: pointer;
}
.abm-vslide-tag:hover {
  border-color: #1B4FD8;
  color: #1B4FD8;
  background: #EFF4FF;
}

/* Footer: price + button */
.abm-vslide-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #E2E8F0;
  margin-top: auto;
}
.abm-vslide-from {
  font-size: 11px; color: #94A3B8; margin-bottom: 2px;
}
.abm-vslide-price {
  font-family: 'Syne', sans-serif;
  font-size: 22px; font-weight: 800; color: #1B4FD8;
}
.abm-vslide-price .woocommerce-Price-amount {
  font-family: 'Syne', sans-serif !important;
  font-size: 22px !important; font-weight: 800 !important;
  color: #1B4FD8 !important;
}
.abm-vslide-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #1B4FD8; color: white !important;
  border-radius: 9px;
  font-size: 13px; font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.abm-vslide-btn:hover {
  background: #1240b8; color: white !important;
}

/* === Hero text content styles === */
.abm-hero-label {
  font-family: 'DM Mono', monospace !important;
  font-size: 11px !important; font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #1B4FD8 !important;
  display: flex !important; align-items: center !important;
  gap: 10px !important; margin-bottom: 24px !important;
}
.abm-hero-label::before {
  content: '';
  display: inline-block;
  width: 28px; height: 2px;
  background: #1B4FD8;
  border-radius: 2px; flex-shrink: 0;
}

.abm-hero-title {
  font-family: 'Syne', sans-serif !important;
  font-size: 62px !important; font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -1px !important;
  color: #0F172A !important;
  margin-bottom: 22px !important;
}
.abm-hero-title .line1,
.abm-hero-title .line2,
.abm-hero-title .line3 {
  display: block !important;
}
.abm-hero-title .line1 { color: #0F172A; }
.abm-hero-title .line2 { color: #1B4FD8; margin-bottom: 14px; }
.abm-hero-title .line3 {
  -webkit-text-stroke: 2px #1B4FD8;
  color: transparent;
  font-size: 68px; letter-spacing: -2px; margin-top: 10px;
}

/* Stagger animation */
.abm-hero-title .line1 { animation: abm-stagger-in 0.6s ease-out 0.1s both; }
.abm-hero-title .line2 { animation: abm-stagger-in 0.6s ease-out 0.25s both; }
.abm-hero-title .line3 { animation: abm-stagger-in 0.6s ease-out 0.4s both; }
@keyframes abm-stagger-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.abm-hero-desc {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 16px !important; color: #475569 !important;
  line-height: 1.7 !important;
  max-width: 520px !important; margin-bottom: 32px !important;
}

.abm-hero-btns {
  display: flex !important; gap: 14px !important;
  align-items: center !important;
  margin-bottom: 48px !important;
  flex-wrap: wrap !important;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .abm-hero-inner {
    grid-template-columns: 1fr !important;
  }
  .abm-hero-slider-col {
    display: none !important;
  }
  .abm-hero-text-col {
    padding: 48px 24px !important;
    border-right: none !important;
  }
  .abm-hero-title {
    font-size: 44px !important;
    letter-spacing: -0.5px !important;
  }
  .abm-hero-title .line3 {
    font-size: 48px !important;
  }
}
@media (max-width: 640px) {
  .abm-hero-title { font-size: 36px !important; }
  .abm-hero-title .line3 { font-size: 40px !important; }
  .abm-stats-bar { flex-wrap: wrap !important; }
  .abm-stat { min-width: 80px !important; }
}
