/* ==========================================================================
   PÁGINA DE PRODUCTOS
   ========================================================================== */

/* Mega-Menú: Botón Destacado 'Ver Catálogo Completo' */
.dropdown-item--view-all {
    grid-column: 1 / -1;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.dropdown-item__icon--all {
    background: linear-gradient(135deg, #009dff, #00c6ff) !important;
    color: #ffffff !important;
}

/* --- CATÁLOGO: ESTRUCTURA PRINCIPAL --- */
.catalog-page {
    padding-top: 100px;
    padding-bottom: 80px;
}

/* Hero del Catálogo */
.catalog-hero {
    text-align: center;
    max-width: 960px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catalog-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(0, 157, 255, 0.08);
    border: 1px solid rgba(0, 157, 255, 0.3);
    margin-bottom: 20px;
}

.catalog-hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
}

.catalog-hero__badge-text {
    font-size: 0.76rem;
    font-weight: 700;
    color: #007acc;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.catalog-hero__title {
    font-size: clamp(2.4rem, 4.8vw, 3.8rem);
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.catalog-hero__subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 740px;
    margin: 0 auto 28px auto;
}

/* Buscador y Filtros Rápidos de Técnica */
.catalog-search-wrapper {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 36px auto;
}

.catalog-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1.5px solid rgba(0, 195, 255, 0.35);
    border-radius: 50px;
    padding: 8px 14px 8px 20px;
    box-shadow: 0 8px 30px rgba(0, 157, 255, 0.08);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.catalog-search-bar:focus-within {
    border-color: #009dff;
    box-shadow: 0 10px 35px rgba(0, 157, 255, 0.18);
}

.catalog-search-icon {
    font-size: 1.35rem;
    color: #009dff;
    flex-shrink: 0;
}

.catalog-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    background: transparent;
}

.catalog-search-input::placeholder {
    color: #8c9ba8;
}

.catalog-search-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f7fc;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #64748b;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.catalog-search-clear:hover {
    background: #e2e8f0;
    color: #001a35;
    transform: scale(1.08);
}

.catalog-quick-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.catalog-quick-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #8c9ba8;
    letter-spacing: 0.6px;
    margin-right: 2px;
}

.catalog-quick-pill {
    font-size: 0.76rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
    color: #4b6378;
    background: #f1f7fc;
    border: 1px solid rgba(0, 157, 255, 0.15);
    text-decoration: none;
    transition: all 0.2s ease;
}

.catalog-quick-pill:hover {
    color: #0088ff;
    border-color: rgba(0, 157, 255, 0.4);
    background: #e8f4fd;
}

.catalog-quick-pill.is-active {
    background: linear-gradient(135deg, #009dff, #00c6ff);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(0, 157, 255, 0.3);
}

/* Barra de Métricas y Confianza (4 ítems) */
.catalog-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
}

.catalog-metric-item {
    background: #ffffff;
    border: 1px solid rgba(0, 195, 255, 0.25);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 16px rgba(0, 157, 255, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.catalog-metric-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 157, 255, 0.12);
    border-color: rgba(0, 195, 255, 0.5);
}

.catalog-metric-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 195, 255, 0.12);
    color: #0088ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.catalog-metric-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.catalog-metric-info strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1.15;
}

.catalog-metric-info span {
    font-size: 0.74rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Barra Horizontal de Categorías (14 Rubros) */
.catalog-categories-bar {
    margin: 32px 0 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 8px;
}

.catalog-categories-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 157, 255, 0.25) transparent;
}

.catalog-categories-scroll::-webkit-scrollbar {
    height: 4px;
}

.catalog-categories-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 157, 255, 0.25);
    border-radius: 4px;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid rgba(0, 157, 255, 0.2);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--color-text-dark);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.category-pill i {
    font-size: 1rem;
    color: #0088ff;
}

.category-pill:hover {
    color: #0088ff;
    border-color: #009dff;
    background: #f0f8ff;
    transform: translateY(-2px);
}

.category-pill.is-active {
    background: linear-gradient(135deg, #0088ff, #00c6ff);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(0, 157, 255, 0.3);
}

.category-pill.is-active i {
    color: #ffffff;
}

.catalog-categories-badge {
    flex-shrink: 0;
    background: rgba(0, 195, 255, 0.12);
    border: 1px solid rgba(0, 195, 255, 0.3);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0088ff;
    letter-spacing: 0.6px;
}

/* Cabecera de la Sección de Cuadrícula */
.catalog-grid-section {
    margin-bottom: 50px;
    transition: opacity 0.18s ease;
    scroll-margin-top: 100px;
}

.catalog-grid-section.is-loading {
    opacity: 0.45;
    pointer-events: none;
}

.catalog-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.catalog-grid-subtag {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0088ff;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.catalog-grid-title {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 800;
    color: var(--color-text-dark);
    margin: 0;
}

.catalog-grid-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.catalog-count-pill {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4b6378;
    background: #eef7fc;
    border: 1px solid rgba(0, 157, 255, 0.2);
    padding: 5px 12px;
    border-radius: 50px;
}

.btn-clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #e11d48;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.btn-clear-filters:hover {
    opacity: 0.8;
}

/* Cuadrícula de 4 Columnas de Productos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* Tarjeta Individual de Producto */
.product-card {
    background: #ffffff;
    border: 1px solid rgba(0, 157, 255, 0.16);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(0, 26, 53, 0.04);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.28s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(0, 157, 255, 0.16);
    border-color: rgba(0, 195, 255, 0.55);
}

.product-card__media {
    position: relative;
    width: 100%;
    height: 205px;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card__img {
    transform: scale(1.05);
}

.product-card__hover-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 100%, rgba(0, 195, 255, 0.25), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card:hover .product-card__hover-glow {
    opacity: 1;
}

/* Insignias de Productos */
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.product-badge--primary {
    background: linear-gradient(135deg, #0088ff, #00c6ff);
    color: #ffffff;
}

.product-badge--cyan {
    background: rgba(0, 229, 255, 0.18);
    color: #007acc;
    border: 1px solid rgba(0, 195, 255, 0.45);
    backdrop-filter: blur(8px);
}

.product-badge--dark {
    background: #001a35;
    color: #ffffff;
}

.product-badge--amber {
    background: #fff8e6;
    color: #b45309;
    border: 1px solid #fde68a;
}

.product-badge--emerald {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

/* Cuerpo de la Tarjeta */
.product-card__body {
    padding: 16px 16px 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.product-card__line-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #0088ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.25;
    margin: 2px 0 0 0;
}

.product-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-card__title a:hover {
    color: #0088ff;
}

.product-card__desc {
    font-size: 0.81rem;
    color: var(--color-text-muted);
    line-height: 1.45;
    margin: 2px 0 0 0;
}

.product-card__specs-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: auto;
    padding-top: 10px;
}

.spec-tag {
    font-size: 0.66rem;
    font-weight: 600;
    color: #3b5066;
    background: #f1f7fc;
    border: 1px solid rgba(0, 157, 255, 0.16);
    border-radius: 4px;
    padding: 2px 7px;
    white-space: nowrap;
}

/* Pie de Tarjeta */
.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid rgba(0, 157, 255, 0.08);
    background: rgba(248, 252, 255, 0.75);
    margin-top: auto;
}

.product-card__metric {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.64rem;
    font-weight: 700;
    color: #8194a5;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.metric-val {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1.2;
}

.btn-card-cotizar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #0088ff, #00c6ff);
    color: #ffffff !important;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 3px 10px rgba(0, 157, 255, 0.25);
}

.btn-card-cotizar:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(0, 157, 255, 0.4);
}

/* Estado Vacío */
.catalog-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border: 1px dashed rgba(0, 157, 255, 0.3);
    border-radius: 20px;
    margin: 20px 0;
}

.catalog-empty-state .empty-icon {
    font-size: 3rem;
    color: #0088ff;
    margin-bottom: 12px;
}

/* Banner de Producción Masiva Corporativa */
.mass-production-banner {
    background: linear-gradient(145deg, #ffffff 0%, #eef9ff 50%, #e0f6ff 100%);
    border: 1.5px solid rgba(0, 195, 255, 0.35);
    border-radius: 24px;
    padding: 38px;
    box-shadow: 0 16px 40px rgba(0, 157, 255, 0.08);
    margin: 50px 0 30px 0;
}

.mass-production-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 36px;
    align-items: center;
}

.mass-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(0, 157, 255, 0.1);
    border: 1px solid rgba(0, 157, 255, 0.3);
    border-radius: 50px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #0088ff;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.mass-title {
    font-size: clamp(1.6rem, 2.4vw, 2.3rem);
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1.2;
    margin-bottom: 14px;
}

.mass-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 22px;
}

.btn-mass-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50px;
    background: linear-gradient(135deg, #0088ff, #00c6ff);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 157, 255, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-mass-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(0, 157, 255, 0.45);
}

.mass-trust-checks {
    display: flex;
    gap: 20px;
    margin-top: 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #3b5066;
    flex-wrap: wrap;
}

.trust-check-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.trust-check-item i {
    color: #0088ff;
    font-size: 1.05rem;
}

/* 3 Pasos del Proceso Técnico */
.mass-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.mass-step-card {
    background: #ffffff;
    border: 1px solid rgba(0, 157, 255, 0.2);
    border-radius: 16px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 157, 255, 0.05);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.mass-step-card:hover {
    transform: translateY(-4px);
    border-color: #009dff;
}

.step-badge {
    font-size: 0.65rem;
    font-weight: 800;
    color: #0088ff;
    background: rgba(0, 157, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 195, 255, 0.12);
    color: #0088ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.mass-step-card h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 0;
}

.mass-step-card p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

.step-link {
    font-size: 0.74rem;
    font-weight: 700;
    color: #0088ff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    margin-top: 4px;
    transition: gap 0.2s ease;
}

.step-link:hover {
    gap: 7px;
}

/* Cinta Inferior del Banner */
.mass-footer-strip {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 157, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.strip-label {
    color: #0088ff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.strip-tags {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* --- DETALLE INDIVIDUAL DE PRODUCTO --- */
.product-detail-page {
    padding-top: 96px;
    padding-bottom: 70px;
}

.detail-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0 24px 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    flex-wrap: wrap;
}

.detail-breadcrumbs a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.detail-breadcrumbs a:hover {
    color: #0088ff;
}

.bc-sep {
    color: #b0c2d3;
    font-size: 0.8rem;
}

.bc-current {
    color: var(--color-text-dark);
    font-weight: 700;
}

.detail-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 42px;
    margin-bottom: 50px;
    align-items: start;
}

.detail-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 157, 255, 0.2);
    box-shadow: 0 12px 36px rgba(0, 157, 255, 0.08);
}

.detail-primary-image {
    width: 100%;
    height: 420px;
    object-fit: contain;
    padding: 24px;
    background: #ffffff;
    display: block;
}

.detail-floating-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
}

.detail-image-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 100%, rgba(0, 195, 255, 0.15), transparent 70%);
}

.detail-trust-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.detail-trust-pill {
    background: #ffffff;
    border: 1px solid rgba(0, 157, 255, 0.16);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 3px 10px rgba(0, 157, 255, 0.04);
}

.detail-trust-pill i {
    font-size: 1.35rem;
    color: #0088ff;
    flex-shrink: 0;
}

.detail-trust-pill strong {
    display: block;
    font-size: 0.78rem;
    color: var(--color-text-dark);
    font-weight: 700;
}

.detail-trust-pill span {
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.detail-title {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    color: var(--color-text-dark);
    margin: 8px 0 12px 0;
    line-height: 1.15;
}

.detail-lead {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
}

.detail-specs-card {
    background: #ffffff;
    border: 1px solid rgba(0, 157, 255, 0.2);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 22px;
    box-shadow: 0 4px 16px rgba(0, 157, 255, 0.05);
}

.specs-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.specs-grid-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 157, 255, 0.08);
    font-size: 0.88rem;
}

.spec-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-label {
    color: #64748b;
    font-weight: 500;
}

.spec-value {
    color: var(--color-text-dark);
    font-weight: 700;
    text-align: right;
}

.text-highlight {
    color: #0088ff;
}

.detail-description-box {
    background: rgba(240, 249, 255, 0.6);
    border: 1px solid rgba(0, 157, 255, 0.15);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 22px;
}

.detail-description-box h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-description-box p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

.detail-actions-box,
.detail-actions-card {
    background: linear-gradient(135deg, #001a35 0%, #08284d 100%);
    border: 1px solid rgba(0, 195, 255, 0.28);
    border-radius: 20px;
    padding: 24px 26px;
    color: #ffffff;
    box-shadow: 0 12px 36px rgba(0, 26, 53, 0.28);
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
}

.detail-actions-box::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 195, 255, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.detail-actions-header,
.detail-action-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #00e5ff;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.cta-title,
.detail-action-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

.cta-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 195, 255, 0.35);
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #00e5ff;
    white-space: nowrap;
}

.detail-buttons-row,
.detail-action-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.btn-detail-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: linear-gradient(135deg, #0088ff, #00c6ff);
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(0, 157, 255, 0.35);
    white-space: nowrap;
    box-sizing: border-box;
    flex: 1 1 auto;
}

.btn-detail-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 157, 255, 0.55);
}

.btn-detail-whatsapp,
.btn-whatsapp-direct {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 13px 22px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    border: none;
    white-space: nowrap;
    box-sizing: border-box;
    flex: 1 1 auto;
}

.btn-detail-whatsapp:hover,
.btn-whatsapp-direct:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.detail-support-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #64748b;
}

.detail-support-note i {
    color: #0088ff;
}

.detail-related-section {
    margin-top: 50px;
    padding-top: 36px;
    border-top: 1px solid rgba(0, 157, 255, 0.16);
}

.related-header,
.detail-related-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    gap: 14px;
    flex-wrap: wrap;
}

.related-title,
.detail-related-title {
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    font-weight: 800;
    color: var(--color-text-dark);
    margin: 0;
}

.btn-view-category,
.detail-related-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0088ff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.btn-view-category:hover,
.detail-related-link:hover {
    gap: 8px;
}

/* RESPONSIVE: MÓDULO DE PRODUCTOS */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .catalog-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mass-production-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .detail-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .detail-primary-image {
        height: 340px;
    }
}

@media (max-width: 768px) {
    .catalog-page {
        padding-top: 80px;
    }

    .catalog-search-bar {
        padding: 8px 14px 8px 16px;
        border-radius: 50px;
    }

    .mass-steps-grid {
        grid-template-columns: 1fr;
    }

    .detail-trust-pills {
        grid-template-columns: 1fr;
    }

    .detail-actions-box {
        padding: 20px 18px;
    }

    .detail-buttons-row,
    .detail-action-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 10px;
    }

    .btn-detail-quote,
    .btn-detail-whatsapp,
    .detail-action-buttons .btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
        text-align: center;
        white-space: normal;
        flex: 1 1 100%;
    }
}

@media (max-width: 640px) {
    .detail-actions-box {
        padding: 18px 16px;
        border-radius: 16px;
    }

    .detail-actions-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cta-title {
        font-size: 1.12rem;
    }

    .cta-badge-live {
        align-self: flex-start;
    }

    .btn-detail-quote,
    .btn-detail-whatsapp {
        padding: 12px 16px;
        font-size: 0.88rem;
    }

    .related-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

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

    .catalog-metrics-grid {
        grid-template-columns: 1fr;
    }

    .catalog-categories-bar {
        flex-direction: column;
        align-items: stretch;
    }
}

/* --- BARRA DE PAGINACIÓN INTERACTIVA --- */
.catalog-pagination {
    margin-top: 48px;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-item {
    display: inline-flex;
    align-items: center;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(0, 157, 255, 0.22);
    color: var(--color-text-dark, #001a35);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 26, 53, 0.04);
}

.pagination-link:hover:not(.is-active) {
    background: rgba(0, 157, 255, 0.08);
    border-color: #0088ff;
    color: #0077dd;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0, 136, 255, 0.16);
}

.pagination-link.is-active {
    background: linear-gradient(135deg, #0088ff, #00c6ff);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 136, 255, 0.35);
    cursor: default;
}

.pagination-link--prev,
.pagination-link--next {
    padding: 0 16px;
    font-weight: 600;
}

.pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 42px;
    color: var(--color-text-muted, #64748b);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
}

@media (max-width: 580px) {
    .catalog-pagination {
        margin-top: 36px;
    }

    .pagination-link {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 0.85rem;
        border-radius: 9px;
    }

    .pagination-dots {
        width: 20px;
        height: 36px;
    }
}

