﻿/* ==========================================================================
   YALITECH - PÃGINA DE APLICACIONES INDUSTRIALES
   Desarrollado para integraciÃ³n en Magento 2 (BEM modular, CSS3 puro, sin Tailwind)
   ========================================================================== */

/* Variables CSS principales */
:root {
  --yt-primary: #d82344;
  --yt-primary-hover: #b81734;
  --yt-primary-light: #fbebee;
  --yt-primary-glow: rgba(216, 35, 68, 0.25);
  
  --yt-dark: #171b20;
  --yt-dark-sub: #2c323a;
  --yt-charcoal: #212529;
  --yt-gray-bg: #f8fafc;
  --yt-gray-card: #f9fbfd;
  --yt-gray-border: #e2e8f0;
  --yt-gray-text: #64748b;
  --yt-dark-text: #1e293b;
  
  --yt-radius-sm: 6px;
  --yt-radius-md: 10px;
  --yt-radius-lg: 16px;
  --yt-radius-full: 9999px;
  
  --yt-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --yt-shadow-md: 0 6px 18px rgba(0, 0, 0, 0.08);
  --yt-shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12);
  --yt-shadow-hover: 0 14px 32px rgba(216, 35, 68, 0.14);
  
  --yt-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --yt-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Reset y caja base con alcance */
.yt-wrapper {
  font-family: var(--yt-font-family);
  color: var(--yt-dark-text);
  background-color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

.yt-wrapper *,
.yt-wrapper *::before,
.yt-wrapper *::after {
  box-sizing: border-box;
}

.yt-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --------------------------------------------------------------------------
   TOPBAR
   -------------------------------------------------------------------------- */
.yt-topbar {
  background-color: #2b3038;
  color: #c9d1d9;
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.yt-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.yt-topbar__info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e6edf3;
}

.yt-topbar__info svg {
  color: var(--yt-primary);
  flex-shrink: 0;
}

.yt-topbar__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.yt-topbar__link {
  color: #c9d1d9;
  text-decoration: none;
  transition: var(--yt-transition);
}

.yt-topbar__link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   HEADER PRINCIPAL
   -------------------------------------------------------------------------- */
.yt-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--yt-gray-border);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--yt-shadow-sm);
}

.yt-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

/* Logo */
.yt-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.yt-logo img {
  height: 58px;
  max-height: 58px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: var(--yt-transition);
}

.yt-logo:hover img {
  transform: scale(1.03);
}

.yt-footer__logo img {
  height: 62px;
  max-height: 62px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* NavegaciÃ³n central */
.yt-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.yt-header__nav-item {
  color: var(--yt-dark-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.25;
  text-align: center;
  transition: var(--yt-transition);
  position: relative;
  padding: 6px 0;
}

.yt-header__nav-item:hover {
  color: var(--yt-primary);
}

.yt-header__nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 2px;
  background-color: var(--yt-primary);
  transition: transform 0.25s ease;
}

.yt-header__nav-item:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Acciones a la derecha */
.yt-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.yt-btn-track {
  background-color: #24292e;
  color: #ffffff;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--yt-radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--yt-transition);
  border: 1px solid transparent;
}

.yt-btn-track:hover {
  background-color: #0d1117;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.yt-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #2d3748;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--yt-transition);
}

.yt-icon-btn:hover {
  background-color: #f1f5f9;
  color: var(--yt-primary);
}

.yt-cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: var(--yt-primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.yt-cart-count.bounce {
  transform: scale(1.35);
}

/* --------------------------------------------------------------------------
   HERO / TITULAR DE LA PÃGINA
   -------------------------------------------------------------------------- */
.yt-hero {
  padding: 45px 0 30px;
  text-align: center;
  background: linear-gradient(180deg, #fdfefe 0%, #f7fafc 100%);
  border-bottom: 1px solid var(--yt-gray-border);
}

.yt-hero__pretitle {
  color: var(--yt-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.yt-hero__title {
  font-size: 38px;
  font-weight: 800;
  color: var(--yt-dark);
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}

.yt-hero__description {
  font-size: 15px;
  color: var(--yt-gray-text);
  max-width: 680px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.yt-hero__accent-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 35px;
}

.yt-hero__accent-dot {
  width: 6px;
  height: 6px;
  background-color: #cbd5e1;
  border-radius: 50%;
}

.yt-hero__accent-line {
  width: 48px;
  height: 4px;
  background-color: var(--yt-primary);
  border-radius: var(--yt-radius-full);
}

/* --------------------------------------------------------------------------
   TABS / FILTRO DE INDUSTRIAS
   -------------------------------------------------------------------------- */
.yt-filter-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 10px;
}

.yt-tab-btn {
  background: #ffffff;
  border: 1px solid var(--yt-gray-border);
  border-radius: var(--yt-radius-md);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #4a5568;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--yt-transition);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  text-decoration: none;
}

.yt-tab-btn svg {
  color: #718096;
  transition: var(--yt-transition);
}

.yt-tab-btn:hover {
  border-color: var(--yt-primary);
  color: var(--yt-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(216, 35, 68, 0.1);
}

.yt-tab-btn:hover svg {
  color: var(--yt-primary);
}

.yt-tab-btn.is-active {
  border-color: var(--yt-primary);
  color: var(--yt-primary);
  background-color: #ffffff;
  box-shadow: 0 4px 14px rgba(216, 35, 68, 0.12);
}

.yt-tab-btn.is-active svg {
  color: var(--yt-primary);
}

/* --------------------------------------------------------------------------
   SECCIONES DE INDUSTRIA (ZIG-ZAG 2 COLUMNAS)
   -------------------------------------------------------------------------- */
.yt-industries-list {
  padding: 50px 0 60px;
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.yt-industry-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.yt-industry-row--reverse {
  grid-template-columns: 1fr 1.15fr;
}

.yt-industry-row--reverse .yt-banner-card {
  order: 2;
}

.yt-industry-row--reverse .yt-products-side {
  order: 1;
}

/* Card Banner Industrial */
.yt-banner-card {
  position: relative;
  border-radius: var(--yt-radius-lg);
  overflow: hidden;
  box-shadow: var(--yt-shadow-md);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 32px;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.yt-banner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--yt-shadow-lg);
}

.yt-banner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 17, 23, 0.15) 0%, rgba(12, 17, 23, 0.65) 45%, rgba(12, 17, 23, 0.92) 100%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.yt-banner-card:hover::before {
  background: linear-gradient(180deg, rgba(12, 17, 23, 0.1) 0%, rgba(12, 17, 23, 0.6) 40%, rgba(12, 17, 23, 0.95) 100%);
}

.yt-banner-card__content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 480px;
}

.yt-badge-tag {
  display: inline-block;
  background-color: var(--yt-primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--yt-radius-full);
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(216, 35, 68, 0.4);
}

.yt-banner-card__title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.yt-banner-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 22px;
}

.yt-btn-banner {
  background-color: var(--yt-primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--yt-radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--yt-transition);
  border: 1px solid transparent;
}

.yt-btn-banner:hover {
  background-color: #b81734;
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(216, 35, 68, 0.5);
}

/* Lado de Productos Destacados */
.yt-products-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.yt-products-side__header {
  margin-bottom: 12px;
}

.yt-products-side__title {
  color: var(--yt-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yt-products-side__title::after {
  content: '';
  display: inline-block;
  width: 25px;
  height: 1.5px;
  background-color: var(--yt-primary);
}

/* Carrusel de Productos */
.yt-products-carousel {
  position: relative;
  overflow: hidden;
  padding: 4px 0;
}

.yt-products-track {
  display: flex;
  gap: 18px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Tarjeta individual de producto */
.yt-product-card {
  flex: 0 0 calc(50% - 9px);
  max-width: calc(50% - 9px);
  background: #ffffff;
  border: 1px solid var(--yt-gray-border);
  border-radius: var(--yt-radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--yt-transition);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.yt-product-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-4px);
  box-shadow: var(--yt-shadow-md);
}

.yt-product-card__thumb {
  background: #ffffff;
  border-radius: var(--yt-radius-md);
  padding: 10px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
}

.yt-product-card__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

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

.yt-product-card__category {
  color: var(--yt-primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.yt-product-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--yt-dark);
  margin: 0 0 10px;
  line-height: 1.35;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-product-card__price {
  font-size: 17px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 14px;
}

.yt-btn-add-cart {
  width: 100%;
  background-color: #0f172a;
  border: 1px solid #0f172a;
  color: #ffffff;
  padding: 11px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-radius: var(--yt-radius-md);
  cursor: pointer;
  transition: var(--yt-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.yt-btn-add-cart:hover {
  background-color: var(--yt-primary);
  border-color: var(--yt-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(216, 35, 68, 0.35);
  transform: translateY(-1px);
}

.yt-btn-add-cart.is-added {
  background-color: #059669;
  border-color: #059669;
  color: #ffffff;
}

/* Dots indicadores del carrusel */
.yt-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.yt-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #cbd5e1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--yt-transition);
}

.yt-dot.is-active {
  background-color: var(--yt-primary);
  width: 18px;
  border-radius: var(--yt-radius-full);
}

/* --------------------------------------------------------------------------
   BANNER CALL TO ACTION ("Â¿NO ENCONTRÃ“ LO QUE BUSCA?")
   -------------------------------------------------------------------------- */
.yt-cta-banner {
  background: linear-gradient(135deg, #2b3038 0%, #1e2229 100%);
  color: #ffffff;
  padding: 55px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.yt-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, rgba(216, 35, 68, 0.18) 0%, rgba(216, 35, 68, 0) 70%);
  pointer-events: none;
}

.yt-cta-banner__title {
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}

.yt-cta-banner__text {
  font-size: 15px;
  color: #cbd5e1;
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.yt-cta-banner__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.yt-btn-primary {
  background-color: var(--yt-primary);
  color: #ffffff;
  padding: 12px 30px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--yt-radius-full);
  text-decoration: none;
  transition: var(--yt-transition);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yt-btn-primary:hover {
  background-color: var(--yt-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(216, 35, 68, 0.35);
}

.yt-btn-secondary {
  background-color: transparent;
  color: #ffffff;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--yt-radius-full);
  text-decoration: none;
  transition: var(--yt-transition);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yt-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   SECCIÃ“N NEWSLETTER
   -------------------------------------------------------------------------- */
.yt-newsletter-section {
  padding: 60px 0;
  background-color: #f8fafc;
}

.yt-newsletter-card {
  background-color: #ffffff;
  border-radius: var(--yt-radius-lg);
  border: 1px solid var(--yt-gray-border);
  box-shadow: var(--yt-shadow-md);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  overflow: hidden;
}

.yt-newsletter-card__left {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 40px;
  background: linear-gradient(135deg, #ffffff 0%, #fdf6f7 100%);
  border-right: 1px solid #f1f5f9;
}

.yt-newsletter-card__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  border: 4px solid #ffffff;
}

.yt-newsletter-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-newsletter-card__info {
  display: flex;
  flex-direction: column;
}

.yt-newsletter-card__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--yt-primary);
  margin: 0 0 10px;
  line-height: 1.25;
}

.yt-newsletter-card__subtitle {
  font-size: 13px;
  color: var(--yt-gray-text);
  margin: 0;
  line-height: 1.6;
}

.yt-newsletter-card__right {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.yt-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.yt-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.yt-form-group label {
  font-size: 11px;
  font-weight: 600;
  color: #4b5563;
}

.yt-form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--yt-dark-text);
  border: 1px solid var(--yt-gray-border);
  border-radius: var(--yt-radius-sm);
  outline: none;
  transition: var(--yt-transition);
  background-color: #fdfefe;
}

.yt-form-control:focus {
  border-color: var(--yt-primary);
  box-shadow: 0 0 0 3px var(--yt-primary-glow);
  background-color: #ffffff;
}

.yt-form-control::placeholder {
  color: #94a3b8;
}

.yt-newsletter-form .yt-btn-submit {
  align-self: flex-start;
  margin-top: 6px;
  background-color: transparent;
  color: var(--yt-primary);
  border: 1.5px solid var(--yt-primary);
  padding: 10px 28px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--yt-radius-full);
  cursor: pointer;
  transition: var(--yt-transition);
}

.yt-newsletter-form .yt-btn-submit:hover {
  background-color: var(--yt-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(216, 35, 68, 0.25);
}

.yt-form-feedback {
  font-size: 12px;
  margin-top: 8px;
  display: none;
}

.yt-form-feedback.is-success {
  display: block;
  color: #059669;
}

.yt-form-feedback.is-error {
  display: block;
  color: #e11d48;
}

/* --------------------------------------------------------------------------
   FOOTER CORPORATIVO
   -------------------------------------------------------------------------- */
.yt-footer {
  background-color: #1e2229;
  color: #cbd5e1;
  padding-top: 60px;
  font-size: 13px;
}

.yt-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.yt-footer__col-title {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 20px;
  position: relative;
}

.yt-footer__col-title::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--yt-primary);
  margin-top: 8px;
}

.yt-footer__logo-desc {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
}

.yt-footer__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yt-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.yt-footer__contact-item svg {
  color: var(--yt-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.yt-footer__contact-item a {
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--yt-transition);
}

.yt-footer__contact-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.yt-footer__links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.yt-footer__link {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--yt-transition);
  display: inline-block;
}

.yt-footer__link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.yt-footer__bottom {
  padding: 22px 0;
  font-size: 12px;
  color: #64748b;
}

.yt-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.yt-footer__social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.yt-social-link {
  color: #94a3b8;
  background-color: rgba(255, 255, 255, 0.05);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--yt-transition);
  text-decoration: none;
}

.yt-social-link:hover {
  background-color: var(--yt-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.yt-footer__credits a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
}

.yt-footer__credits a:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   TOAST NOTIFICACIONES FLOTANTES (CARRITO / EVENTOS)
   -------------------------------------------------------------------------- */
.yt-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.yt-toast {
  background-color: #1e293b;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--yt-radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  border-left: 4px solid var(--yt-primary);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  max-width: 360px;
}

.yt-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.yt-toast svg {
  color: #10b981;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   RESPONSIVE / MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .yt-header__nav {
    gap: 14px;
  }
  .yt-header__nav-item {
    font-size: 12px;
  }
  .yt-industry-row,
  .yt-industry-row--reverse {
    grid-template-columns: 1fr;
  }
  .yt-industry-row--reverse .yt-banner-card {
    order: 1;
  }
  .yt-industry-row--reverse .yt-products-side {
    order: 2;
  }
  .yt-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .yt-newsletter-card {
    grid-template-columns: 1fr;
  }
  .yt-newsletter-card__left {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
  }
}

@media (max-width: 768px) {
  .yt-topbar__inner {
    justify-content: center;
    text-align: center;
  }
  .yt-header__inner {
    flex-direction: column;
    gap: 14px;
  }
  .yt-header__nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .yt-hero__title {
    font-size: 28px;
  }
  .yt-product-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .yt-newsletter-card__left {
    flex-direction: column;
    text-align: center;
  }
  .yt-form-row {
    grid-template-columns: 1fr;
  }
  .yt-footer__top {
    grid-template-columns: 1fr;
  }
  .yt-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   YALITECH HOME 2027 - COMPONENTES Y ESTILOS AVANZADOS
   ========================================================================== */

/* Mega-Menu y Enlaces Activos */
.yt-header__nav-item--highlight {
  color: var(--yt-primary) !important;
  background-color: var(--yt-primary-light);
  padding: 6px 14px;
  border-radius: var(--yt-radius-full);
}

.yt-header__nav-item--highlight:hover {
  background-color: var(--yt-primary);
  color: #ffffff !important;
}

.yt-header__nav-item--highlight::after {
  display: none !important;
}

/* Selector de BÃºsqueda Predictiva en Header */
.yt-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.yt-search-input {
  background-color: #f1f5f9;
  border: 1px solid transparent;
  border-radius: var(--yt-radius-full);
  padding: 8px 16px 8px 36px;
  font-size: 13px;
  width: 170px;
  transition: var(--yt-transition);
  outline: none;
}

.yt-search-input:focus {
  width: 230px;
  background-color: #ffffff;
  border-color: var(--yt-primary);
  box-shadow: 0 0 0 3px var(--yt-primary-glow);
}

.yt-search-icon {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   HERO SLIDER 2027
   -------------------------------------------------------------------------- */
.yt-home-hero {
  position: relative;
  overflow: hidden;
  background-color: #0f141c;
  min-height: 520px;
}

.yt-hero-slider {
  position: relative;
  width: 100%;
  height: 520px;
}

.yt-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.02);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.yt-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.yt-hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 14, 20, 0.94) 0%, rgba(10, 14, 20, 0.78) 50%, rgba(10, 14, 20, 0.45) 100%);
  z-index: 1;
}

.yt-hero-slide__content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  color: #ffffff;
  padding: 40px 0;
}

.yt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(216, 35, 68, 0.18);
  border: 1px solid rgba(216, 35, 68, 0.45);
  color: #ff8598;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: var(--yt-radius-full);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.yt-hero-badge__dot {
  width: 7px;
  height: 7px;
  background-color: var(--yt-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--yt-primary);
}

.yt-hero-slide__title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: #ffffff;
  margin: 0 0 18px;
}

.yt-hero-slide__title span {
  color: var(--yt-primary);
}

.yt-hero-slide__desc {
  font-size: 16px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0 0 28px;
}

.yt-hero-slide__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Flechas y Controles del Slider */
.yt-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: var(--yt-transition);
}

.yt-slider-arrow:hover {
  background: var(--yt-primary);
  border-color: var(--yt-primary);
  transform: translateY(-50%) scale(1.08);
}

.yt-slider-arrow--prev {
  left: 24px;
}

.yt-slider-arrow--next {
  right: 24px;
}

.yt-hero-pagination {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.yt-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--yt-transition);
}

.yt-hero-dot.is-active {
  background: var(--yt-primary);
  width: 32px;
  border-radius: var(--yt-radius-full);
}

/* --------------------------------------------------------------------------
   BARRA DE PILARES Y CONFIANZA 2027
   -------------------------------------------------------------------------- */
.yt-pillars-section {
  background-color: #ffffff;
  padding: 35px 0;
  border-bottom: 1px solid var(--yt-gray-border);
  position: relative;
  margin-top: -24px;
  z-index: 5;
}

.yt-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.yt-pillar-card {
  background: #ffffff;
  border: 1px solid var(--yt-gray-border);
  border-radius: var(--yt-radius-md);
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--yt-shadow-sm);
  transition: var(--yt-transition);
}

.yt-pillar-card:hover {
  border-color: rgba(216, 35, 68, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(216, 35, 68, 0.08);
}

.yt-pillar-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--yt-primary-light);
  color: var(--yt-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--yt-transition);
}

.yt-pillar-card:hover .yt-pillar-card__icon {
  background: var(--yt-primary);
  color: #ffffff;
  transform: rotate(6deg);
}

.yt-pillar-card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--yt-dark);
  margin: 0 0 4px;
}

.yt-pillar-card__text {
  font-size: 12px;
  color: var(--yt-gray-text);
  margin: 0;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   SECCIÃ“N PRODUCTOS DESTACADOS 2027
   -------------------------------------------------------------------------- */
.yt-home-products {
  padding: 70px 0 80px;
  background-color: #fdfefe;
}

.yt-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 35px;
  flex-wrap: wrap;
  gap: 20px;
}

.yt-section-header__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--yt-dark);
  margin: 0 0 6px;
  letter-spacing: -0.5px;
}

.yt-section-header__subtitle {
  font-size: 14px;
  color: var(--yt-gray-text);
  margin: 0;
}

/* Tabs de Filtro de Productos */
.yt-prod-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--yt-radius-full);
}

.yt-prod-filter-btn {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--yt-radius-full);
  cursor: pointer;
  transition: var(--yt-transition);
}

.yt-prod-filter-btn.is-active {
  background: #ffffff;
  color: var(--yt-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.yt-products-grid-home {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Tarjeta de Producto 2027 */
.yt-card-2027 {
  background: #ffffff;
  border: 1px solid var(--yt-gray-border);
  border-radius: var(--yt-radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--yt-transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.yt-card-2027:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.yt-card-2027__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--yt-radius-full);
  background-color: var(--yt-primary-light);
  color: var(--yt-primary);
  z-index: 3;
}

.yt-card-2027__thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
}

.yt-card-2027__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.yt-card-2027:hover .yt-card-2027__thumb img {
  transform: scale(1.08);
}

/* BotÃ³n Quickview flotante en hover */
.yt-card-2027__quickview {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  border: none;
  border-radius: var(--yt-radius-full);
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.25s ease;
  z-index: 4;
}

.yt-card-2027:hover .yt-card-2027__quickview {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.yt-card-2027__quickview:hover {
  background: var(--yt-primary);
}

.yt-card-2027__sku {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.yt-card-2027__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--yt-dark);
  margin: 0 0 12px;
  line-height: 1.35;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-card-2027__pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.yt-card-2027__price {
  font-size: 18px;
  font-weight: 800;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.yt-card-2027__tax {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-left: 3px;
}

.yt-stock-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 3px 8px;
  border-radius: var(--yt-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.yt-stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 6px rgba(22, 163, 74, 0.6);
}

.yt-card-2027__quote-label {
  font-size: 17px;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.3px;
  display: block;
}

.yt-card-2027__quote-sub {
  display: block;
  font-size: 10.5px;
  color: #64748b;
  font-weight: 500;
  margin-top: 1px;
}

.yt-card-2027__cotizar-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 4px 9px;
  border-radius: var(--yt-radius-sm);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.yt-card-2027__actions {
  display: flex;
  gap: 8px;
}

/* BotÃ³n Comprable: Transaccional Directo (Azul Oscuro -> Rojo YaliTech) */
.yt-btn-add-cart {
  flex: 1;
  background-color: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  padding: 11px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-radius: var(--yt-radius-md);
  cursor: pointer;
  transition: var(--yt-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
}

.yt-btn-add-cart svg {
  flex-shrink: 0;
}

.yt-btn-add-cart:hover {
  background-color: var(--yt-primary);
  border-color: var(--yt-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(216, 35, 68, 0.35);
  transform: translateY(-1px);
}

/* BotÃ³n Cotizable: Consultivo B2B (Fondo Suave -> Azul TÃ©cnico) */
.yt-btn-cotizar {
  flex: 1;
  background-color: #f8fafc;
  border: 1px solid #94a3b8;
  color: #1e293b;
  padding: 11px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-radius: var(--yt-radius-md);
  cursor: pointer;
  transition: var(--yt-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
}

.yt-btn-cotizar svg {
  flex-shrink: 0;
  color: #0284c7;
  transition: color 0.2s ease;
}

.yt-btn-cotizar:hover {
  background-color: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
  transform: translateY(-1px);
}

.yt-btn-cotizar:hover svg {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   SECCIÃ“N MULTIMEDIA / PROPÃ“SITO ("YALITECH ES TECNOLOGÃA...")
   -------------------------------------------------------------------------- */
.yt-purpose-section {
  background: linear-gradient(135deg, #10141b 0%, #1a202c 100%);
  color: #ffffff;
  padding: 85px 0;
  position: relative;
  overflow: hidden;
}

.yt-purpose-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(216, 35, 68, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.yt-purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.yt-purpose-video-wrapper {
  position: relative;
  border-radius: var(--yt-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16 / 9;
  background: #000000;
}

.yt-purpose-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.yt-purpose-content h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

.yt-purpose-content h2 span {
  color: var(--yt-primary);
}

.yt-purpose-content p {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.7;
  margin: 0 0 28px;
}

.yt-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.yt-stat-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--yt-radius-md);
  padding: 16px;
  text-align: center;
}

.yt-stat-number {
  font-size: 26px;
  font-weight: 800;
  color: var(--yt-primary);
  margin-bottom: 4px;
}

.yt-stat-label {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* --------------------------------------------------------------------------
   SHOWCASE DE APLICACIONES EN HOME
   -------------------------------------------------------------------------- */
.yt-home-apps-section {
  padding: 80px 0;
  background-color: #f8fafc;
}

.yt-apps-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.yt-app-home-card {
  position: relative;
  height: 260px;
  border-radius: var(--yt-radius-lg);
  overflow: hidden;
  box-shadow: var(--yt-shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  transition: var(--yt-transition);
}

.yt-app-home-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.85) 100%);
  transition: opacity 0.3s ease;
}

.yt-app-home-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--yt-shadow-lg);
}

.yt-app-home-card:hover::before {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(216, 35, 68, 0.85) 100%);
}

.yt-app-home-card__content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.yt-app-home-card__title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #ffffff;
}

.yt-app-home-card__cta {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
  transition: transform 0.2s ease;
}

.yt-app-home-card:hover .yt-app-home-card__cta {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   CATÃLOGOS TÃ‰CNICOS EN HOME
   -------------------------------------------------------------------------- */
.yt-home-catalogs {
  padding: 70px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--yt-gray-border);
}

.yt-catalogs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.yt-catalog-card {
  background: #ffffff;
  border: 1px solid var(--yt-gray-border);
  border-radius: var(--yt-radius-lg);
  overflow: hidden;
  transition: var(--yt-transition);
  display: flex;
  flex-direction: column;
}

.yt-catalog-card:hover {
  border-color: var(--yt-primary);
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.yt-catalog-card__cover {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.yt-catalog-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.yt-catalog-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--yt-dark);
  margin: 0 0 12px;
}

.yt-btn-download-pdf {
  background: #f8fafc;
  border: 1px solid var(--yt-gray-border);
  color: var(--yt-dark-text);
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--yt-radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--yt-transition);
}

.yt-btn-download-pdf:hover {
  background: var(--yt-primary);
  border-color: var(--yt-primary);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   NOVEDADES Y BLOG 2027
   -------------------------------------------------------------------------- */
.yt-home-blog {
  padding: 80px 0;
  background-color: #fdfefe;
}

.yt-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.yt-blog-card {
  background: #ffffff;
  border: 1px solid var(--yt-gray-border);
  border-radius: var(--yt-radius-lg);
  overflow: hidden;
  box-shadow: var(--yt-shadow-sm);
  transition: var(--yt-transition);
  display: flex;
  flex-direction: column;
}

.yt-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--yt-shadow-md);
  border-color: #cbd5e1;
}

.yt-blog-card__thumb {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.yt-blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.yt-blog-card:hover .yt-blog-card__thumb img {
  transform: scale(1.05);
}

.yt-blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.yt-blog-card__date {
  font-size: 11px;
  font-weight: 600;
  color: var(--yt-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.yt-blog-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--yt-dark);
  margin: 0 0 10px;
  line-height: 1.35;
}

.yt-blog-card__excerpt {
  font-size: 13px;
  color: var(--yt-gray-text);
  line-height: 1.6;
  margin: 0 0 18px;
}

.yt-blog-card__link {
  color: var(--yt-dark);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--yt-transition);
}

.yt-blog-card__link:hover {
  color: var(--yt-primary);
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   MARCAS REPRESENTADAS RIBBON
   -------------------------------------------------------------------------- */
.yt-brands-ribbon {
  padding: 40px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--yt-gray-border);
  border-bottom: 1px solid var(--yt-gray-border);
}

.yt-brands-ribbon__title {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.yt-brands-flex {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  opacity: 0.75;
}

.yt-brand-item {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #475569;
  transition: var(--yt-transition);
}

.yt-brand-item:hover {
  color: var(--yt-primary);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   MODAL INTERACTIVO QUICKVIEW / COTIZACIÃ“N
   -------------------------------------------------------------------------- */
.yt-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.yt-modal-overlay.is-active {
  display: flex;
  opacity: 1;
}

.yt-modal-dialog {
  background: #ffffff;
  border-radius: var(--yt-radius-lg);
  max-width: 780px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.yt-modal-overlay.is-active .yt-modal-dialog {
  transform: scale(1);
}

.yt-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f1f5f9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: var(--yt-transition);
  z-index: 10;
}

.yt-modal-close:hover {
  background: var(--yt-primary);
  color: #ffffff;
}

.yt-modal-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.yt-modal-photo {
  background: #f8fafc;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--yt-gray-border);
}

.yt-modal-photo img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
}

.yt-modal-info {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.yt-modal-badge {
  color: var(--yt-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.yt-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--yt-dark);
  margin: 0 0 10px;
  line-height: 1.3;
}

.yt-modal-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--yt-primary);
  margin-bottom: 16px;
}

.yt-modal-desc {
  font-size: 13px;
  color: var(--yt-gray-text);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE ADICIONAL HOME 2027
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .yt-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .yt-products-grid-home {
    grid-template-columns: repeat(2, 1fr);
  }
  .yt-purpose-grid {
    grid-template-columns: 1fr;
  }
  .yt-apps-grid-home {
    grid-template-columns: repeat(2, 1fr);
  }
  .yt-catalogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .yt-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .yt-hero-slide__title {
    font-size: 30px;
  }
  .yt-home-hero,
  .yt-hero-slider {
    height: 460px;
  }
  .yt-pillars-grid {
    grid-template-columns: 1fr;
  }
  .yt-products-grid-home {
    grid-template-columns: 1fr;
  }
  .yt-apps-grid-home {
    grid-template-columns: 1fr;
  }
  .yt-catalogs-grid {
    grid-template-columns: 1fr;
  }
  .yt-blog-grid {
    grid-template-columns: 1fr;
  }
  .yt-modal-body {
    grid-template-columns: 1fr;
  }
  .yt-modal-photo {
    padding: 20px;
    height: 180px;
    border-right: none;
    border-bottom: 1px solid var(--yt-gray-border);
  }
  .yt-modal-info {
    padding: 24px;
  }
  .yt-stats-row {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   BUSCADOR DESPLEGABLE OCULTO (TOGGLE POR ÃCONO AL LADO DE LA CESTA)
   -------------------------------------------------------------------------- */
.yt-search-overlay-bar {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--yt-gray-border);
  border-bottom: 2px solid var(--yt-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 16px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 950;
}

.yt-search-overlay-bar.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.yt-search-bar-form {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.yt-search-bar-icon {
  color: var(--yt-primary);
  flex-shrink: 0;
}

.yt-search-bar-input {
  flex: 1;
  border: 1px solid var(--yt-gray-border);
  background-color: #f8fafc;
  border-radius: var(--yt-radius-full);
  padding: 11px 20px;
  font-size: 14px;
  color: var(--yt-dark-text);
  outline: none;
  transition: var(--yt-transition);
}

.yt-search-bar-input:focus {
  background-color: #ffffff;
  border-color: var(--yt-primary);
  box-shadow: 0 0 0 3px var(--yt-primary-glow);
}

.yt-search-close-btn {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: var(--yt-transition);
  flex-shrink: 0;
}

.yt-search-close-btn:hover {
  background-color: var(--yt-primary);
  color: #ffffff;
}

.yt-icon-btn.is-active {
  background-color: var(--yt-primary-light);
  color: var(--yt-primary);
}

/* --------------------------------------------------------------------------
   DIFERENCIACIÃ“N VISUAL: PRODUCTOS COMPRABLES VS COTIZABLES
   -------------------------------------------------------------------------- */
.yt-card-2027--comprar {
  border-top: 3px solid #10b981;
}

.yt-card-2027--cotizar {
  border-top: 3px solid #0284c7;
}

.yt-card-2027__badge--comprar {
  background-color: #ecfdf5 !important;
  color: #065f46 !important;
  border: 1px solid #a7f3d0 !important;
}

.yt-card-2027__badge--cotizar {
  background-color: #eff6ff !important;
  color: #1e40af !important;
  border: 1px solid #bfdbfe !important;
}

.yt-prod-filter-btn--comprar.is-active {
  background: #ecfdf5;
  color: #065f46;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.yt-prod-filter-btn--cotizar.is-active {
  background: #eff6ff;
  color: #1e40af;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

/* Tag de Stock / Disponibilidad Superior Derecho */
.yt-card-2027__stock-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--yt-radius-full);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.yt-card-2027__stock-badge--in {
  background-color: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.yt-card-2027__stock-badge--custom {
  background-color: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}
