/* ============================================================================
   GLOBALES.CSS — compartido por TODAS las páginas del sitio
   ============================================================================ */

:root {
    --primary-color: #00A7E1;
    --primary-light: #4BBFE8;
    --secondary-color: #005B94;
    --accent-color: #fd7b1ef5;
    --accent-light: #fa812bce;
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --gray-color: #999999;
}

body {
    font-family: 'Barlow Semi Condensed', sans-serif;
    background-color: #f8f9fa;
    color: var(--dark-color);
}

/* ==== NAVBAR ==== */
.navbar {
    padding: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar > .container {
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    color: #075985;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-brand img {
    display: block;
    width: auto;
    height: clamp(61px, 4.75vw, 70.3px);
    max-height: none;
    margin: 0;
    object-fit: contain;
    transform: none;
    filter: none;
}

.exportar-brand-name {
    display: inline-block;
    margin: 0;
    color: #075985;
    font-size: clamp(28px, 2.2vw, 36px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.7px;
    white-space: nowrap;
    vertical-align: middle;
}

#navbarNav {
    align-items: center;
    justify-content: center;
    padding: 0;
}

#navbarNav .navbar-nav {
    align-items: center;
    justify-content: center;
    gap: 6.83px;
    margin: 0;
    padding: 0;
}

#navbarNav .nav-link {
    position: relative;
    display: block;
    margin: 0 8px;
    padding: 8px;
    color: var(--dark-color);
    font-size: 23.76px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.3s ease;
}

#navbarNav .nav-link:hover,
#navbarNav .nav-link:focus-visible {
    color: var(--primary-color);
}

#navbarNav .nav-link:not(.btn)::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    content: "";
    transition: width 0.3s ease;
}

#navbarNav .nav-link:not(.btn):hover::after,
#navbarNav .nav-link:not(.btn):focus-visible::after {
    width: 100%;
}

#navbarNav .nav-link i {
    flex-shrink: 0;
}

#exportar-login-zone {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
}

a.nav-link.btn[href="/login"] {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: auto;
    min-width: 168px;
    min-height: 45px;
    margin: 0 23px 0 0;
    padding: 0.7rem 1.45rem;
    background: linear-gradient(180deg, #08B5EC 0%, #087DB8 45%, #064D82 100%);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.3px;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    text-shadow: 0 1px 2px rgba(0, 30, 60, 0.38);
    box-shadow: 0 4px 9px rgba(0, 60, 100, 0.3);
    transform: none;
    filter: none;
    transition: box-shadow 0.2s ease;
}

a.nav-link.btn[href="/login"]::after {
    content: none;
}

a.nav-link.btn[href="/login"]::before {
    position: absolute;
    z-index: 5;
    top: -60%;
    left: -60%;
    width: 30%;
    height: 220%;
    opacity: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.44) 20%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.44) 80%, transparent 100%);
    content: "";
    pointer-events: none;
    transform: skewX(-22deg);
    will-change: left, opacity;
}

@keyframes login-button-sweep {
    0% { left: -60%; opacity: 0; }
    8% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 125%; opacity: 0; }
}

a.nav-link.btn[href="/login"]:hover,
a.nav-link.btn[href="/login"]:focus,
a.nav-link.btn[href="/login"]:focus-visible,
a.nav-link.btn[href="/login"]:active {
    background: linear-gradient(180deg, #08B5EC 0%, #087DB8 45%, #064D82 100%);
    color: #fff !important;
    box-shadow: 0 4px 9px rgba(0, 60, 100, 0.3);
}

a.nav-link.btn[href="/login"]:hover::before {
    animation: login-button-sweep 1.2s ease-in-out both;
}

a.nav-link.btn[href="/login"]:focus-visible {
    outline: 3px solid rgba(90, 205, 255, 0.8);
    outline-offset: 3px;
}

@media (min-width: 992px) {
    nav.navbar > .container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        column-gap: clamp(12px, 1.5vw, 28px);
        align-items: center;
        width: 100%;
        max-width: none;
        padding-right: 20px;
        padding-left: 20px;
    }
    nav.navbar .navbar-brand { grid-column: 1; justify-self: start; min-width: 0; margin-right: 0; }
    nav.navbar .navbar-collapse { grid-column: 2; display: flex !important; justify-content: center; min-width: 0; }
    nav.navbar .navbar-nav { display: flex; flex-flow: row nowrap; align-items: center; justify-content: center; gap: clamp(4px, 0.5vw, 10px); margin: 0; }
    nav.navbar #exportar-login-zone { grid-column: 3; justify-self: end; min-width: 0; }
}

@media (max-width: 991.98px) {
    nav.navbar > .container { display: flex; flex-wrap: wrap; width: 100%; max-width: 100%; padding-right: 12px; padding-left: 12px; }
    nav.navbar .navbar-toggler { margin-left: auto; }
    nav.navbar .navbar-collapse { flex-basis: 100%; width: 100%; padding: 0.5rem 0 0.75rem; }
    nav.navbar .navbar-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    nav.navbar .navbar-nav .nav-link { margin: 0.2rem 0; font-size: 20px; }
    #navbarNav #exportar-login-menu-item { display: flex; justify-content: center; width: 100%; text-align: center; }
    #navbarNav #exportar-login-menu-item > a { margin: 8px auto; }
    nav.navbar #exportar-login-zone { display: flex; width: 100%; justify-content: center; padding: 0 0 0.75rem; }
}

@media (max-width: 575.98px) {
    nav.navbar .navbar-brand img { height: 54px; }
    nav.navbar .exportar-brand-name { font-size: clamp(23px, 6vw, 28px); }
}

/* ==== HERO BASE (compartido index + empresa) ==== */
.hero-content { position: relative; z-index: 1; }
.hero-content div .col-lg-4 { display: flex; justify-content: center; align-items: center; }

.hero-section {
    background: black;
    color: white;
    padding: calc(1rem + 5px) 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/assets/img/sombra_1.svg"), url("/assets/img/servicio_1-q60.webp");
    background-repeat: repeat-x, no-repeat;
    background-position: top center, center bottom;
    background-size: auto, 100% 250%;
    opacity: 0.7;
    z-index: 0;
}

@media (min-width: 768px) {
    .hero-section::before { background-position: top center, center 45%; }
}

@media (max-width: 767.98px) {
    .hero-section::before { background-position: top center, center 55%; background-size: auto, auto 200%; }
}

.hero-title {
    font-weight: 700;
    margin-bottom: 0.35rem;
    font-size: clamp(1.55rem, 1.96vw, 2.01rem); /* ← CAMBIO 1: +15% */
    line-height: 1.15;
    -webkit-text-stroke: 0.25px rgba(0, 18, 34, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 4px rgba(0, 0, 0, 0.55);
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.05vw, 1.08rem);
    line-height: 1.4;
    opacity: 0.96;
    margin-bottom: 0.45rem;
    -webkit-text-stroke: 0.2px rgba(0, 18, 34, 0.78);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 3px rgba(0, 0, 0, 0.65);
}

/* ← CAMBIO 5: efectos outlined al H2 solo en el hero del index */
.hero-section .hero-subtitle {
    -webkit-text-stroke: 0.55px #000;
    paint-order: stroke fill;
    text-shadow:
        1px 1px 1px #000,
        -1px -1px 1px #000,
        1px -1px 1px #000,
        -1px 1px 1px #000;
    line-height: 1.4875;
}

@media (max-width: 991.98px) {
    .hero-title { font-size: 1.96rem; } /* ← CAMBIO 2 */
    .navbar .nav-item { margin-bottom: 0.5rem; }
    .navbar .nav-link.btn { display: inline-block; margin-left: 0; margin-right: 0.5rem; }
    .navbar-brand img { margin-left: 50px; height: 30px; }
    .nav-link.btn { width: 100%; }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 1.73rem; } /* ← CAMBIO 3 */
    .section-title { font-size: 1.8rem; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 1.50rem; } /* ← CAMBIO 4 */
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.5rem; }
}

/* ==== BOTONES COMPARTIDOS ==== */
.btn-descripcion-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.25rem 0 1.25rem;
    padding: 0.5rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 167, 225, 0.35);
    transition: all 0.3s ease;
}
.btn-descripcion-toggle:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 167, 225, 0.5); }
.btn-descripcion-toggle:focus { outline: none; box-shadow: 0 0 0 3px rgba(0, 167, 225, 0.4); }
.btn-descripcion-toggle i { font-size: 0.8rem; transition: transform 0.3s ease; }

.btn-sm { padding: 0.4rem 1rem; font-size: 0.85rem; border-radius: 50px; }
.btn-outline-primary { border: 1px solid var(--primary-color); color: var(--primary-color); background: transparent; transition: all 0.3s ease; }
.btn-outline-primary:hover { background-color: var(--primary-color); color: white; }
.btn-primary-gradient { background: linear-gradient(45deg, var(--primary-color), var(--primary-light)); color: white; border: none; transition: all 0.3s ease; }
.btn-primary-gradient:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0, 167, 225, 0.3); }
.btn-orange-gradient { background: linear-gradient(45deg, var(--accent-color), var(--accent-light)); color: white; border: none; transition: all 0.3s ease; }
.btn-orange-gradient:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(225, 127, 0, 0.3); }

.btn-ver-mas {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.7rem 1.45rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 40px;
    overflow: hidden;
    background: linear-gradient(180deg, #8bd9ef 0%, #287dad 48%, #07527f 100%);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 1px 1px rgba(0, 30, 60, 0.38);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 4px rgba(0, 30, 60, 0.3);
    transition: transform 0.22s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-ver-mas::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0; left: 5.5%; right: 5.5%;
    height: 46%;
    border-radius: 40px 40px 60% 60%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}
.btn-ver-mas > * { position: relative; z-index: 1; }
.btn-ver-mas:hover { color: #fff; filter: brightness(1.04); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), inset 0 -2px 4px rgba(0, 30, 60, 0.24), 0 7px 16px -4px rgba(0, 80, 130, 0.46), 0 0 13px 2px rgba(65, 190, 255, 0.38); }
.btn-ver-mas:active { transform: translateY(1px); box-shadow: inset 0 2px 5px rgba(0, 40, 80, 0.2); }
.btn-ver-mas:focus-visible { outline: 3px solid rgba(90, 205, 255, 0.8); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { .btn-ver-mas { transition: none; } }

.nav-link.btn-action { color: var(--dark-color); font-weight: 500; transition: all 0.3s ease; padding: 0.5rem 0.8rem; border-radius: 5px; margin: 0 0.2rem; }
.nav-link.btn-action:hover { background-color: rgba(0, 167, 225, 0.1); color: var(--primary-color); transform: translateY(-2px); }

/* ==== FORMULARIOS ==== */
.form-control,
.form-select {
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    border: 1px solid #e9ecef;
    font-size: 0.95rem;
    box-shadow: none;
    transition: all 0.3s;
}
.form-control:focus,
.form-select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 0.25rem rgba(0, 167, 225, 0.15); }
.form-label { font-weight: 500; margin-bottom: 0.5rem; color: var(--dark-color); }
.form-check-input:checked { background-color: var(--primary-color); border-color: var(--primary-color); }

fieldset {
    margin-top: 30px;
    border-width: 1px;
    border-color: darkblue;
    padding-block-start: 0em;
    padding-inline-start: 0.75em;
    padding-inline-end: 0.75em;
    border-radius: 5px;
    padding-block-end: 0.625em;
    margin: 0 auto;
    border: darkblue 1px solid;
}
fieldset legend {
    width: auto;
    font-size: 1.2rem;
    border-style: none;
    background-color: darkblue;
    font-weight: bold;
    color: White;
    margin-top: -15px;
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

/* ==== PRODUCTOS (section + cards, usados en index y empresa) ==== */
.products-section { padding: 10px 0 3rem; background-color: #f8f9fa; }

.section-title {
    font-weight: 700;
    color: #0066a3;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    font-size: 2rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.product-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    height: 100%;
}
.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); }
.product-img { width: 100%; aspect-ratio: 1 / 1; height: auto; position: relative; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: scale-down; transition: transform 0.5s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}
.product-info { padding: 1.5rem; }
.product-title { font-weight: 600; margin-bottom: 0.5rem; color: var(--dark-color); font-size: 1.1rem; }
.product-price { font-weight: 700; color: var(--primary-color); margin-bottom: 0.75rem; font-size: 1.2rem; }
.product-sinonimos,
.product-country { color: var(--gray-color); font-size: 0.9rem; display: flex; align-items: center; }
.product-meta { display: flex; align-items: center; margin-bottom: 0.75rem; }
.product-country i,
.product-company i { margin-right: 0.5rem; color: var(--primary-color); }
.product-company { font-size: 0.9rem; color: var(--gray-color); margin-top: 0.5rem; display: flex; align-items: center; }
.product-actions { margin-top: 1rem; display: flex; justify-content: space-between; }

/* ==== AUTOCOMPLETE (search suggestions, usadas en index y empresa) ==== */
#autocomplete-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 30px;
    width: 95%;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(0);
}
.autocomplete-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; cursor: pointer; font-size: 0.95rem; color: #212529; transition: background-color 0.2s ease; }
.autocomplete-item i { font-size: 1rem; color: #6c757d; }
.autocomplete-item:hover { background-color: #f8f9fa; }

/* ==== FOOTER ==== */
footer#contacto {
    position: relative;
    isolation: isolate;
    padding: 0 0 8px;
    color: #e6e6e6;
    background-color: #004d88;
    background-image: linear-gradient(rgba(0, 29, 46, 0.58), rgba(0, 29, 46, 0.58)), url('/assets/img/servicio_footer.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
footer#contacto::before,
footer#contacto::after { content: none; display: none; }
#contacto .footer-content { position: relative; z-index: 1; width: 100%; max-width: 100%; box-sizing: border-box; }
#contacto .footer-content > .row {
    display: grid;
    grid-template-columns: 10% repeat(4, 20%) 10%;
    column-gap: 0;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 20px 0;
    margin: 0;
    border-radius: 0;
}
#contacto .footer-content > .row > [class*="col-"] {
    flex: 1 1 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
#contacto .footer-content > .row > :nth-child(1) { grid-column: 2; }
#contacto .footer-content > .row > :nth-child(2) { grid-column: 3; }
#contacto .footer-content > .row > :nth-child(3) { grid-column: 4; }
#contacto .footer-content > .row > :nth-child(4) { grid-column: 5; }
#contacto .footer-content > .row > :first-child { align-items: flex-start; text-align: left; }
#contacto .footer-content > .row > :first-child .img-container { align-self: stretch; width: 100%; justify-content: center; }
#contacto .footer-content > .row > :first-child .img-container img { margin-left: auto; margin-right: auto; }
#contacto .footer-content > .row > :first-child > p,
#contacto .footer-content > .row > :first-child .footer-title { align-self: stretch; text-align: left; }
#contacto .img-container { display: flex; justify-content: center; align-items: center; width: 100%; background: transparent; border: 0; border-radius: 0; padding: 0; margin: 0; }
#contacto .img-container img {
    content: url('https://exportar.co/assets/img/logo_fondo_osc.webp');
    display: block;
    flex: 0 0 auto;
    width: 75%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    background: transparent;
    filter: drop-shadow(0 0 0.5px rgba(255,255,255,1)) drop-shadow(0 0 1px rgba(0,0,0,0.75)) drop-shadow(0 1px 1px rgba(0,0,0,0.35));
    margin-left: auto;
    margin-right: auto;
}
#contacto .footer-content > .row > :first-child > p {
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    color: #fff;
    background: transparent;
    padding: 0 12px;
    margin: 0 0 0.5rem;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55rem;
    -webkit-text-stroke: .35px #000;
    paint-order: stroke fill;
    text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000;
}
#contacto .footer-content > .row > :first-child > p small { color: rgba(255,255,255,.72); }
#contacto .footer-column-content { display: flex; flex-direction: column; align-items: flex-start; width: max-content; max-width: 100%; margin: 0 auto; }
#contacto .footer-title {
    display: table;
    width: max-content;
    max-width: 100%;
    margin: 0 0 16px;
    padding: 0 4px 5px;
    border: 0;
    border-bottom: 3px solid #ffaa14;
    border-radius: 0;
    color: #ffaa14;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.625rem;
    text-align: center;
    -webkit-text-stroke: .55px #000;
    paint-order: stroke fill;
    text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000;
}
#contacto .footer-title::after { content: none; display: none; }
#contacto .footer-content > .row > :first-child .footer-title { box-sizing: border-box; margin: 12px auto; text-align: center; }
#contacto .footer-content > .row > :last-child { align-items: flex-start; text-align: left; }
#contacto .footer-content > .row > :last-child .footer-title { align-self: flex-start; text-align: left; }
#contacto .footer-links { display: flex; flex-direction: column; align-items: flex-start; width: max-content; max-width: 100%; list-style: none; margin: 0; padding: 0; text-align: left; }
#contacto .footer-links li { margin: 0 0 5px; padding: 0; font-size: 1rem; font-weight: 400; line-height: 1.2rem; }
#contacto .footer-links li:last-child { margin-bottom: 0; }
#contacto .footer-links a {
    display: flex;
    align-items: baseline;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.25rem;
    -webkit-text-stroke: .35px #000;
    paint-order: stroke fill;
    text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000;
    transition: color .2s ease;
}
#contacto .footer-links a i { flex: 0 0 auto; margin-right: 7px; color: #43c5f5; font-size: .8rem; }
#contacto .footer-links a:hover { color: #ffaa14; }
#contacto .contact-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 330px;
    gap: 10px;
    text-align: left;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    line-height: 1.4;
    -webkit-text-stroke: .3px #000;
    paint-order: stroke fill;
    text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000;
}
#contacto .contact-info > i { flex: 0 0 18px; margin: 1px 0 0; color: #43c5f5; font-size: 1.15rem; text-align: left; }
#contacto .contact-info > div { min-width: 0; margin: 0; }
#contacto .copyright { position: relative; z-index: 1; margin: 22px 8% 0; padding: 10px 0 0; border-top: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 20px; font-weight: 600; text-align: center; }
#contacto .copyright p { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #fff; -webkit-text-stroke: .45px #000; paint-order: stroke fill; text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000; }
#contacto .social-links { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 12px 0 0; }
#contacto .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 28px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #fff; text-shadow: 1px 1px 2px #000; transition: color .2s ease, transform .2s ease; }
#contacto .social-links a:hover { color: #ffaa14; background: transparent; transform: translateY(-2px); }

@media (max-width: 991.98px) {
    #contacto .footer-content > .row { row-gap: 26px; padding-right: 16px; padding-left: 16px; }
    #contacto .footer-content > .row > :first-child { flex: 0 0 100%; max-width: 100%; }
    #contacto .img-container img { width: 55%; max-width: 100%; }
    #contacto .copyright { font-size: 17px; margin-right: 5%; margin-left: 5%; }
}

@media (max-width: 575.98px) {
    #contacto .footer-content > .row { display: flex; flex-wrap: wrap; padding: 22px 16px 0; column-gap: 0; row-gap: 0; }
    #contacto .footer-content > .row > [class*="col-"] { width: auto; max-width: none; margin-bottom: 28px; align-items: center; text-align: center; }
    #contacto .footer-content > .row > :first-child { flex: 0 0 100%; align-items: center; text-align: center; }
    #contacto .footer-content > .row > :nth-child(2) { flex: 0 0 50%; }
    #contacto .footer-content > .row > :nth-child(3) { flex: 0 0 50%; }
    #contacto .footer-content > .row > :last-child { flex: 0 0 100%; align-items: center; text-align: center; }
    #contacto .footer-content > .row > :first-child .img-container { align-self: center; justify-content: center; width: 100%; }
    #contacto .footer-content > .row > :first-child > p { padding-left: 4%; padding-right: 4%; text-align: center; }
    #contacto .footer-content > .row > :first-child .footer-title,
    #contacto .footer-content > .row > :last-child .footer-title { padding-left: 4px; padding-right: 4px; margin-left: auto; margin-right: auto; align-self: center; text-align: center; }
    #contacto .footer-content > .row > :nth-child(2) .footer-title,
    #contacto .footer-content > .row > :nth-child(3) .footer-title { margin-left: auto; margin-right: auto; }
    #contacto .footer-links { width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; text-align: left; }
    #contacto .contact-info { justify-content: center; text-align: center; margin-left: auto; margin-right: auto; max-width: 100%; gap: 8px; }
    #contacto .contact-info > i { text-align: center; }
    #contacto .copyright { margin-top: 12px; font-size: 14px; line-height: 1.45; }
    #contacto .social-links { gap: 16px; }
}

/* ==== MODALES COMPARTIDOS ==== */
#nuevoProductoModal .modal-content { border-radius: 12px; border: 2px solid #8a8a8a; }
#nuevoProductoModal .modal-header { background-color: #ebebeb; border-bottom: 1px solid #8a8a8a; }
#nuevoProductoModal .modal-title { font-weight: bold; color: #8a8a8a; }
#nuevoProductoModal .form-control,
#nuevoProductoModal .form-select { border-radius: 6px; border-color: #8a8a8a; }
#nuevoProductoModal textarea { resize: vertical; }
#nuevoProductoModal .modal-footer { background-color: #f8f9fa; border-top: 1px solid #ccc; }

#modalProveedores .modal-content { border-radius: 16px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15); background: #f9fafb; border: none; }
#modalProveedores .modal-header { background-color: #3b82f6; color: white; border-top-left-radius: 16px; border-top-right-radius: 16px; padding: 1rem 1.5rem; border-bottom: none; }
#modalProveedores .modal-title { font-weight: 600; font-size: 1.5rem; }
#modalProveedores .btn-close { filter: invert(1); }

:is(#publicarModal, .modal-publicar, #modalNosotros) .modal-dialog { width: 90vw; max-width: 1400px; margin: 1.5rem auto; }
:is(#publicarModal, .modal-publicar, #modalNosotros) .modal-content {
    border-radius: 18px;
    border: 1px solid rgba(0, 91, 148, 0.25);
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 91, 148, 0.10);
}
:is(#publicarModal, .modal-publicar, #modalNosotros) .modal-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.75rem;
    border: none;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    background: linear-gradient(135deg, #005B94 0%, #008FCA 55%, #4BBFE8 100%);
    color: #ffffff;
    overflow: hidden;
}
:is(#publicarModal, .modal-publicar, #modalNosotros) .modal-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 25% 20%, rgba(255, 255, 255, 0.25), transparent 55%);
    pointer-events: none;
    z-index: 0;
}
:is(#publicarModal, .modal-publicar, #modalNosotros) .modal-header > * { position: relative; z-index: 2; }
:is(#publicarModal, .modal-publicar, #modalNosotros) .modal-title,
:is(#publicarModal, .modal-publicar, #modalNosotros) .modal-header h5 {
    margin: 0;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.20);
}
:is(#publicarModal, .modal-publicar, #modalNosotros) .modal-header p {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    line-height: 1.35;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.18);
}
:is(#publicarModal, .modal-publicar, #modalNosotros) .modal-header .btn-close {
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    margin: 0;
    padding: 0.5rem;
    filter: invert(1) brightness(2);
    opacity: 0.9;
}
:is(#publicarModal, .modal-publicar, #modalNosotros) .modal-header .btn-close:hover,
:is(#publicarModal, .modal-publicar, #modalNosotros) .modal-header .btn-close:focus { opacity: 1; box-shadow: none; }
:is(#publicarModal, .modal-publicar, #modalNosotros) .modal-body { padding: 1.1rem 1.75rem 1rem; background: #f8fafb; }
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-intro { margin-bottom: 0.9rem; }
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-intro p { margin-bottom: 0.2rem; color: #555555; font-size: 1rem; line-height: 1.4; }
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-intro p:first-child { color: #333333; font-size: 0.9rem; font-weight: 600; }
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-intro p:last-child { margin-bottom: 0; color: #666666; }
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-beneficios { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 0.9rem; }
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-beneficios--tres-centrados { grid-template-columns: repeat(3, minmax(0, 1fr)); }
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-beneficio { background: #ffffff; border: 1px solid #e5eaee; border-radius: 12px; padding: 1.1rem 1.15rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); box-sizing: border-box; }
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-beneficio-titulo { margin-bottom: 0.45rem; color: #005B94; font-size: 1rem; font-weight: 700; line-height: 1.2; }
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-beneficio p { margin: 0; color: #555555; font-size: 0.88rem; line-height: 1.4; }
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-beneficio ul { margin: 0; padding: 0; list-style: none; color: #555555; font-size: 0.88rem; line-height: 1.4; }
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-beneficio li { position: relative; margin: 0 0 0.5rem; padding-left: 1.1rem; list-style: none; background: none; color: #555555; font-size: 0.88rem; line-height: 1.4; }
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-beneficio li:last-child { margin-bottom: 0; }
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-beneficio li::marker { content: ''; color: transparent; }
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-beneficio li::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffe2aa 0%, #e8a33a 55%, #bd7815 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(160, 90, 0, 0.3);
}
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-urgencia {
    margin: 0.75rem 0 0;
    padding: 0.65rem 1.1rem;
    border-radius: 10px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.08), rgba(75, 191, 232, 0.16));
    border: 1px solid rgba(0, 167, 225, 0.18);
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.35;
}
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-urgencia strong { color: #005B94; font-size: 0.98rem; }
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-urgencia strong::after { content: ' '; }
:is(#publicarModal, .modal-publicar, #modalNosotros) .modal-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 1.75rem 1.15rem;
    border-top: 1px solid #e9ecef;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    background: #ffffff;
    text-align: center;
}
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-cta {
    position: relative;
    display: inline-block;
    max-width: 100%;
    padding: 0.75rem 2.2rem;
    border: 0;
    border-radius: 40px;
    overflow: hidden;
    background: linear-gradient(180deg, #8bd9ef 0%, #287dad 48%, #07527f 100%);
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    text-shadow: 0 1px 1px rgba(0, 30, 60, 0.38);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 4px rgba(0, 30, 60, 0.3), 0 6px 16px -4px rgba(0, 80, 130, 0.5);
    transition: transform 0.22s ease, box-shadow 0.25s ease;
}
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 5.5%;
    right: 5.5%;
    height: 46%;
    border-radius: 40px 40px 60% 60%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}
:is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-cta:hover {
    transform: translateY(-2px);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -2px 4px rgba(0, 30, 60, 0.35), 0 10px 22px -6px rgba(0, 80, 130, 0.6);
}

@media (max-width: 1199.98px) {
    :is(#publicarModal, .modal-publicar, #modalNosotros) .modal-dialog { width: 92vw; max-width: 1100px; }
}
@media (max-width: 991.98px) {
    :is(#publicarModal, .modal-publicar, #modalNosotros) .modal-dialog { width: 94vw; max-width: 900px; }
    :is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-beneficios,
    :is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-beneficios--tres-centrados { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    :is(#publicarModal, .modal-publicar, #modalNosotros) .modal-dialog { width: auto; max-width: none; margin: 0.6rem; }
    :is(#publicarModal, .modal-publicar, #modalNosotros) .modal-header { padding: 0.85rem 1rem; }
    :is(#publicarModal, .modal-publicar, #modalNosotros) .modal-title,
    :is(#publicarModal, .modal-publicar, #modalNosotros) .modal-header h5 { font-size: 1.15rem; }
    :is(#publicarModal, .modal-publicar, #modalNosotros) .modal-body { padding: 0.9rem 1rem 0.75rem; }
    :is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-beneficios,
    :is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-beneficios--tres-centrados { grid-template-columns: 1fr; gap: 0.75rem; }
    :is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-beneficio { padding: 1rem 1.05rem; }
    :is(#publicarModal, .modal-publicar, #modalNosotros) .modal-footer { padding: 0.85rem 1rem 1rem; }
    :is(#publicarModal, .modal-publicar, #modalNosotros) .publicar-cta { display: block; width: 100%; padding: 0.7rem 1.2rem; font-size: 0.94rem; white-space: normal; }
}

/* ==== MODAL WHATSAPP (contactar proveedor) ==== */
.modal-whatsapp-dialog { max-width: 440px; }
.modal-whatsapp-content { border: none; border-radius: 18px; overflow: hidden; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35); }
.modal-whatsapp-header { background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); color: #fff; border-bottom: none; padding: 0.8rem 1.1rem; }
.modal-whatsapp-avatar { width: 44px; height: 44px; flex-shrink: 0; background: #fff; color: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
.modal-whatsapp-header .modal-title { font-weight: 700; font-size: 1rem; line-height: 1.2; margin: 0; }
.modal-whatsapp-subtitle { font-size: 0.76rem; line-height: 1.3; opacity: 0.95; }
.modal-whatsapp-body { padding: 0.85rem 1.1rem 0.65rem; }
.field-whatsapp .form-label { font-weight: 600; font-size: 0.85rem; color: #495057; margin-bottom: 0.25rem; }
.field-whatsapp .input-with-icon { position: relative; }
.field-whatsapp .input-with-icon > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #128c7e; font-size: 0.95rem; pointer-events: none; }
.field-whatsapp .form-control { padding: 0.48rem 0.9rem 0.48rem 2.5rem; border-radius: 10px; border: 1.5px solid #e3e8ee; background: #f8fbf9; font-size: 0.88rem; min-height: 40px; transition: all 0.25s ease; }
.field-whatsapp .form-control:focus { background: #fff; border-color: #25d366; box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.18); outline: none; }
.field-whatsapp .form-control.was-validated:invalid { border-color: #dc3545; }
.modal-whatsapp-check { display: flex; align-items: flex-start; gap: 10px; background: #f2faf5; border: 1px solid #d9f0e4; border-radius: 10px; padding: 10px 14px; margin: 0.65rem 0 0.25rem; }
.modal-whatsapp-check .form-check-input { flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid #7c858e; cursor: pointer; }
.modal-whatsapp-check .form-check-label { margin: 0; color: #4d555d; font-size: 0.665rem; line-height: 1.4; cursor: pointer; }
.modal-whatsapp-check .form-check-input:checked { background-color: #25d366; border-color: #25d366; }
.modal-whatsapp-footer { display: flex; justify-content: center; align-items: center; border-top: 1px solid #eef1f4; padding: 0.65rem 1.1rem; gap: 0.5rem; }
.btn-whatsapp-cancel { display: none; padding: 0.55rem 1.5rem; font-weight: 600; border-radius: 50px; color: #6c757d; background: #f1f3f5; border: none; transition: all 0.25s ease; }
.btn-whatsapp-cancel:hover { background: #e2e6ea; color: #495057; }

.btn-whatsapp-send {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    flex: 0 1 auto;
    min-width: 235px;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0.01em;
    border-radius: 50px;
    color: #fff;
    background: linear-gradient(180deg, #72F542 0%, #20C83D 28%, #07852D 62%, #046020 82%, #023E18 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 18px rgba(0, 100, 35, 0.42), 0 2px 5px rgba(0, 55, 20, 0.28), inset 0 2px 2px rgba(255, 255, 255, 0.72), inset 0 -3px 5px rgba(0, 45, 18, 0.32);
    text-shadow: 0 1px 2px rgba(0, 35, 12, 0.42);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-whatsapp-send::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 2px;
    left: 8%;
    width: 84%;
    height: 38%;
    border-radius: 50px 50px 45% 45%;
    background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.04));
    pointer-events: none;
}
.btn-whatsapp-send::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: -65%;
    left: -55%;
    width: 34%;
    height: 230%;
    transform: rotate(24deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22) 18%, rgba(255,255,255,0.92) 50%, rgba(255,255,255,0.24) 82%, transparent);
    filter: blur(0.4px);
    animation: whatsapp-cta-shine 2.4s linear infinite;
    pointer-events: none;
}
.btn-whatsapp-send:hover {
    transform: translateY(-2px) scale(1.025);
    box-shadow: 0 11px 25px rgba(0, 100, 35, 0.5), 0 2px 5px rgba(0, 55, 20, 0.28), inset 0 2px 2px rgba(255, 255, 255, 0.78), inset 0 -3px 5px rgba(0, 45, 18, 0.28), 0 0 13px 2px rgba(80, 255, 65, 0.3);
    filter: saturate(1.08) brightness(1.03);
    color: #fff;
}
.btn-whatsapp-send:focus-visible { outline: 3px solid rgba(37, 211, 150, 0.4); outline-offset: 3px; }
@keyframes whatsapp-cta-shine { 0% { left: -55%; } 100% { left: 135%; } }
@media (prefers-reduced-motion: reduce) { .btn-whatsapp-send, .btn-whatsapp-send::before { animation: none; transition: none; } }
.btn-whatsapp-send:disabled { opacity: 0.75; cursor: not-allowed; }

@media (max-height: 720px) {
    .modal-whatsapp-dialog { margin: 0.5rem auto; }
    .modal-whatsapp-content { max-height: calc(100vh - 1rem); max-height: calc(100dvh - 1rem); display: flex; flex-direction: column; }
    .modal-whatsapp-body { min-height: 0; overflow-y: auto; padding: 0.65rem 1rem 0.5rem; }
    .field-whatsapp.mb-3 { margin-bottom: 0.5rem; }
    .modal-whatsapp-header { padding: 0.65rem 1rem; }
    .modal-whatsapp-footer { padding: 0.55rem 1rem; }
}

/* ==== SWEETALERT ==== */
.swal-whatsapp-popup { border-radius: 18px; padding: 1.4rem 1.6rem; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); }
.swal-enviado-title { font-size: 1.5rem; font-weight: 800; color: #128c7e; margin-top: 0.5rem; }
.swal-enviado-body { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; padding: 0.5rem 0; }
.swal-enviado-icon { width: 72px; height: 72px; flex-shrink: 0; margin-bottom: 0.25rem; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; color: #fff; background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); border-radius: 50%; box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45); }
.swal-wa-icon { width: 72px; height: 72px; flex-shrink: 0; margin-bottom: 0.25rem; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: #fff; background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); border-radius: 50%; box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45); animation: swal-wa-pulse 1.4s ease-in-out infinite; }
@keyframes swal-wa-pulse { 0% { transform: scale(1); box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45); } 50% { transform: scale(1.08); box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6); } 100% { transform: scale(1); box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45); } }
.swal-enviado-texto { font-size: 0.98rem; color: #5f6b7a; line-height: 1.5; margin: 0; max-width: 320px; text-align: center; }
.swal-enviado-texto b { color: #128c7e; }
.swal-redirigiendo-contador { margin-top: 0.4rem; font-size: 0.85rem; color: #9aa4b2; letter-spacing: 0.03em; }
.swal-abrir-link { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.7rem; padding: 0.65rem 1.5rem; font-weight: 700; font-size: 0.95rem; border-radius: 50px; color: #fff; background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); box-shadow: 0 5px 14px rgba(37, 211, 102, 0.4); text-decoration: none; transition: all 0.3s ease; }
.swal-abrir-link:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(37, 211, 102, 0.55); color: #fff; }
.swal-redirigiendo-contador .swal-contador { display: inline-block; min-width: 1.5em; font-size: 1.05rem; color: #128c7e; }
.swal2-btn-whatsapp { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.6rem 1.4rem; font-weight: 700; border-radius: 50px; color: #fff; background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); box-shadow: 0 5px 14px rgba(37, 211, 102, 0.4); border: none; transition: all 0.3s ease; }
.swal2-btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(37, 211, 102, 0.55); }
.swal2-btn-whatsapp:focus { box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.35); }
.swal2-btn-whatsapp-cancel { padding: 0.6rem 1.4rem; font-weight: 600; border-radius: 50px; color: #6c757d; background: #f1f3f5; border: none; transition: all 0.25s ease; }
.swal2-btn-whatsapp-cancel:hover { background: #e2e6ea; color: #495057; }

/* ==== FLOATS (WhatsApp + publicar) ==== */
.pie--3 { position: fixed; bottom: 10px; right: 8px; z-index: 9999; border-radius: 50%; padding: 6px; transition: transform 0.2s; }
.pie--3:hover { transform: scale(1.1); }
.pie--3 img { width: 80px; height: 80px; object-fit: contain; display: block; }

.fab-publicar {
    position: fixed;
    bottom: 16px;
    left: 16px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 165px;
    height: 52px;
    padding: 0 20px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: #fff;
    font-family: inherit;
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    transition: width 0.28s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.fab-publicar i { display: none !important; }
.fab-publicar .fab-publicar-texto { display: inline; max-width: none; opacity: 1; margin-left: 0; overflow: visible; font-size: 1.12rem; white-space: nowrap; }
.fab-publicar:hover,
.fab-publicar:focus-visible { width: auto; justify-content: center; padding: 0 20px; transform: none; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32); outline: none; }
.fab-publicar:active { transform: scale(0.96); }

@media (max-width: 576px) {
    .fab-publicar { bottom: calc(14px + env(safe-area-inset-bottom, 0px)); left: 12px; width: 58px; min-width: 58px; height: 58px; padding: 0; justify-content: center; font-size: 1rem; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); }
    .fab-publicar i { display: inline-block !important; margin: 0 !important; font-size: 1.35rem; }
    .fab-publicar .fab-publicar-texto { display: none !important; }
    .fab-publicar:hover,
    .fab-publicar:focus-visible { width: 58px; min-width: 58px; padding: 0; justify-content: center; }
}

body:has(#productModal.show) .pie--3,
body:has(#productModal.show) .fab-publicar { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }

/* ==== MODAL PRODUCTO (index + empresa) ==== */
#productModal.exportar-preview-v2 {
      --pv-bg: #fcfeff;
      --pv-ice: #f0f9fe;
      --pv-panel: #ffffff;
      --pv-summary: #f5f8fa;
      --pv-title: #123f60;
      --pv-text: #394c5b;
      --pv-border: #d9eaf3;
      --pv-shadow: 0 12px 32px rgba(31,70,96,.19), 0 3px 8px rgba(31,70,96,.09);
      position: fixed !important;
      inset: 0 !important;
      width: 100vw !important;
      height: 100dvh !important;
      max-height: 100dvh !important;
      padding: 0 !important;
      overflow: hidden !important;
      background: rgba(30,49,63,.32) !important;
}

#productModal.exportar-preview-v2 .modal-dialog { max-height: 100dvh !important; overflow: hidden !important; }
#productModal.exportar-preview-v2 .modal-content { width: 100% !important; max-height: 100% !important; border: 1px solid var(--pv-border) !important; border-radius: 18px !important; background: var(--pv-bg) !important; box-shadow: 0 18px 55px rgba(18,50,72,.28) !important; }

#productModal.exportar-preview-v2 .modal-header {
    display: flex !important;
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    z-index: 20 !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    pointer-events: none !important;
}
#productModal.exportar-preview-v2 .modal-title { display: none !important; }
#productModal.exportar-preview-v2 .modal-header .btn-close { pointer-events: auto !important; }
#productModal.exportar-preview-v2 .modal-body { max-height: none !important; padding: clamp(12px,2.2vh,24px) clamp(14px,2.5vw,32px) !important; background: var(--pv-bg) !important; }
#productModal.exportar-preview-v2 .modal-body .row.exportar-preview-grid { display: grid !important; width: 100% !important; height: 100% !important; min-height: 0 !important; margin: 0 !important; }
#productModal.exportar-preview-v2 .exportar-preview-grid > * { width: auto !important; max-width: none !important; min-width: 0 !important; min-height: 0 !important; height: 100% !important; margin: 0 !important; padding: 0 !important; }
#productModal.exportar-preview-v2 #exportar-modal-preview-v2-image-frame { border: 1px solid #d6eaf6 !important; box-shadow: 0 14px 34px rgba(27,74,105,.24), 0 4px 10px rgba(27,74,105,.12), inset 0 1px 0 #ffffff !important; }
#productModal.exportar-preview-v2 .exportar-preview-info { display: flex !important; flex-direction: column !important; align-items: stretch !important; background: #ffffff !important; border: 1px solid #e5edf2 !important; border-radius: 16px !important; box-shadow: 0 14px 34px rgba(27,74,105,.20), 0 4px 10px rgba(27,74,105,.10) !important; }
#productModal.exportar-preview-v2 .exportar-preview-title { color: var(--pv-title) !important; font-weight: 800 !important; letter-spacing: -.7px !important; }
#productModal.exportar-preview-v2 .exportar-preview-info p,
#productModal.exportar-preview-v2 .exportar-preview-info li,
#productModal.exportar-preview-v2 .exportar-preview-info label { color: var(--pv-text) !important; font-size: clamp(15px,1.8vh,19px) !important; line-height: 1.55 !important; }

@media (max-width: 767.98px) {
    #productModal.exportar-preview-v2 .modal-dialog { padding: 8px !important; }
    #productModal.exportar-preview-v2 .modal-body { padding: 10px 12px !important; }
    #productModal.exportar-preview-v2 .modal-body .row.exportar-preview-grid { grid-template-columns: minmax(0,1fr) !important; grid-template-rows: minmax(0, 58%) minmax(0, 42%) !important; gap: 8px !important; }
    #productModal.exportar-preview-v2 .exportar-preview-grid > * { height: auto !important; min-height: 0 !important; }
    #productModal.exportar-preview-v2 #exportar-modal-preview-v2-image-frame { height: 100% !important; max-height: 100% !important; padding: 6px !important; }
    #productModal.exportar-preview-v2 #exportar-modal-preview-v2-image-frame img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
    #productModal.exportar-preview-v2 .exportar-preview-info { min-height: 0 !important; padding: 10px 12px !important; overflow: auto !important; }
    #productModal.exportar-preview-v2 .exportar-preview-title { font-size: clamp(20px, 3vh, 30px) !important; margin-bottom: 6px !important; }
    #productModal.exportar-preview-v2 .exportar-preview-info p,
    #productModal.exportar-preview-v2 .exportar-preview-info li,
    #productModal.exportar-preview-v2 .exportar-preview-info label { font-size: clamp(12px, 1.65vh, 15px) !important; line-height: 1.35 !important; }
}

#productModal.exportar-preview-v2 .modal-footer {
    display: flex !important;
    flex: 0 0 auto !important;
    min-height: 62px !important;
    max-height: 72px !important;
    padding: 10px 20px !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 10px !important;
    background: var(--pv-summary) !important;
    border-top: 1px solid #e5edf2 !important;
    overflow: hidden !important;
}

#productModal.exportar-preview-v2 #btnVerCatalogo,
#productModal.exportar-preview-v2 #btnVerEmpresa {
    box-sizing: border-box !important;
    position: relative !important;
    isolation: isolate !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    gap: .55rem !important;
    min-height: 44px !important;
    padding: .7rem 1.45rem !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    color: #fff !important;
    font-family: inherit !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    text-shadow: 0 1px 1px rgba(0,30,60,.38) !important;
    overflow: hidden !important;
    transition: transform .22s ease, box-shadow .25s ease, filter .25s ease !important;
}
#productModal.exportar-preview-v2 #btnVerCatalogo { border-radius: 10px !important; background: linear-gradient(180deg,#00B1EC 0%,#0F508C 48%,#004D88 100%) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 4px rgba(0,30,60,.3), 0 6px 16px -4px rgba(0,80,130,.5) !important; }
#productModal.exportar-preview-v2 #btnVerEmpresa { border-radius: 18px !important; background: linear-gradient(180deg,#FFC078 0%,#FF7A00 48%,#C94B00 100%) !important; text-shadow: 0 1px 1px rgba(80,30,0,.38) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 4px rgba(80,30,0,.3), 0 6px 16px -4px rgba(180,70,0,.45) !important; }
#productModal.exportar-preview-v2 #btnVerCatalogo > i { display: none !important; }
#productModal.exportar-preview-v2 #btnVerCatalogo::before,
#productModal.exportar-preview-v2 #btnVerEmpresa::before { content: ""; position: absolute; z-index: 0; top: 0; left: 5.5%; right: 5.5%; height: 46%; border-radius: 40px 40px 60% 60%; background: linear-gradient(180deg,rgba(255,255,255,.58) 0%,rgba(255,255,255,0) 100%); pointer-events: none; }
#productModal.exportar-preview-v2 #btnVerCatalogo::after { content: "\f06e"; font-family: "Font Awesome 5 Free","Font Awesome 6 Free",FontAwesome !important; font-weight: 900 !important; font-style: normal !important; position: relative; z-index: 1; order: -1; color: #fff; }
#productModal.exportar-preview-v2 #btnVerCatalogo > *,
#productModal.exportar-preview-v2 #btnVerEmpresa > * { position: relative; z-index: 1; }
#productModal.exportar-preview-v2 #btnVerCatalogo:hover,
#productModal.exportar-preview-v2 #btnVerEmpresa:hover { color: #fff !important; filter: brightness(1.04) !important; transform: translateY(-2px) !important; }
#productModal.exportar-preview-v2 #btnVerCatalogo:focus-visible,
#productModal.exportar-preview-v2 #btnVerEmpresa:focus-visible { outline: 3px solid rgba(90,205,255,.8) !important; outline-offset: 3px !important; }

@media(max-width:700px) {
    #productModal.exportar-preview-v2 .modal-dialog { padding: 5px !important; }
    #productModal.exportar-preview-v2 .modal-body { padding: 8px !important; }
    #productModal.exportar-preview-v2 .modal-body .row.exportar-preview-grid { grid-template-columns: minmax(0,1fr) !important; grid-template-rows: minmax(0, .9fr) minmax(0,1.1fr) !important; gap: 10px !important; }
    #productModal.exportar-preview-v2 .exportar-preview-grid > * { height: auto !important; }
    #productModal.exportar-preview-v2 #exportar-modal-preview-v2-image-frame { min-height: 0 !important; padding: 6px !important; }
    #productModal.exportar-preview-v2 .exportar-preview-info { padding: 12px !important; }
    #productModal.exportar-preview-v2 .exportar-preview-title { font-size: clamp(30px,4vh,40px) !important; margin-bottom: 8px !important; }
    #productModal.exportar-preview-v2 .modal-footer { min-height: 54px !important; padding: 6px !important; gap: 6px !important; }
    #productModal.exportar-preview-v2 #btnVerCatalogo,
    #productModal.exportar-preview-v2 #btnVerEmpresa { padding: 7px 10px !important; font-size: 12px !important; }
}

#productModal.exportar-preview-v2 .modal-dialog { width: 80vw !important; max-width: 80vw !important; height: 100dvh !important; margin: 0 auto !important; padding: 12px 0 !important; box-sizing: border-box !important; }
#productModal.exportar-preview-v2 .modal-body .row.exportar-preview-grid { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr) !important; gap: 20px !important; }

@media (max-width: 700px) {
    #productModal.exportar-preview-v2 .modal-dialog { width: 96vw !important; max-width: 96vw !important; padding: 5px 0 !important; }
    #productModal.exportar-preview-v2 .modal-body .row.exportar-preview-grid { grid-template-columns: minmax(0, 1fr) !important; }
}

#productModal.exportar-preview-v2 .exportar-preview-info { padding: 12px 18px !important; gap: 4px !important; justify-content: flex-start !important; }
#productModal.exportar-preview-v2 .exportar-preview-title { font-size: 1.8em !important; line-height: 1.1 !important; margin: 0 0 4px !important; padding: 0 !important; }
#productModal.exportar-preview-v2 .exportar-preview-info p { margin-top: 0 !important; margin-bottom: 4px !important; line-height: 1.3 !important; }
#productModal.exportar-preview-v2 .exportar-preview-info h1,
#productModal.exportar-preview-v2 .exportar-preview-info h2,
#productModal.exportar-preview-v2 .exportar-preview-info h3 { margin-top: 0 !important; margin-bottom: 4px !important; line-height: 1.15 !important; }
#productModal.exportar-preview-v2 .exportar-preview-info > * { margin-top: 0 !important; margin-bottom: 6px !important; }
#productModal.exportar-preview-v2 .exportar-preview-info [class*="supplier"],
#productModal.exportar-preview-v2 .exportar-preview-info [class*="manufacturer"],
#productModal.exportar-preview-v2 .exportar-preview-info [class*="fabricante"],
#productModal.exportar-preview-v2 .exportar-preview-info [class*="exportador"] { padding: 10px 12px !important; margin-top: 4px !important; margin-bottom: 0 !important; }
#productModal.exportar-preview-v2 .exportar-preview-info .exportar-descripcion-label { display: none !important; }

#productModal.exportar-preview-v2 .modal-content { display: flex !important; flex-direction: column !important; height: calc(100dvh - 24px) !important; min-height: 0 !important; overflow: hidden !important; }
#productModal.exportar-preview-v2 .modal-body { flex: 1 1 0% !important; height: 0 !important; min-height: 0 !important; overflow: hidden !important; }
#productModal.exportar-preview-v2 .modal-body .exportar-preview-grid { display: grid !important; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr) !important; grid-template-rows: minmax(0, 1fr) !important; align-items: stretch !important; height: 100% !important; min-height: 0 !important; margin-bottom: 0 !important; }
#productModal.exportar-preview-v2 .exportar-preview-grid > *:first-child { display: flex !important; flex-direction: column !important; align-self: center !important; height: fit-content !important; min-height: 0 !important; max-height: none !important; flex: initial !important; overflow: visible !important; }
#productModal.exportar-preview-v2 .exportar-preview-grid { align-items: center !important; min-height: 0 !important; }
#productModal.exportar-preview-v2 .exportar-preview-grid > :first-child { display: flex !important; flex-direction: column !important; align-self: center !important; height: fit-content !important; min-height: 0 !important; max-height: none !important; flex: initial !important; overflow: visible !important; }

#productModal.exportar-preview-v2 #exportar-b2b-image-frame { box-sizing: border-box !important; height: 489px !important; min-height: 489px !important; max-height: none !important; border-radius: 18px !important; overflow: hidden !important; box-shadow: 0 12px 30px rgba(29, 88, 120, 0.13), inset 0 1px 0 rgb(255, 255, 255) !important; }
#productModal.exportar-preview-v2 #exportar-modal-preview-v2-image-frame { display: flex !important; flex: initial !important; align-self: center !important; width: 100% !important; height: 489px !important; min-width: 0 !important; min-height: 0 !important; max-width: 100% !important; max-height: 100% !important; box-sizing: border-box !important; padding: 21.856px !important; background: rgb(252, 254, 255) !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; border-radius: 18px !important; clip-path: inset(0 round 18px) !important; }
#productModal.exportar-preview-v2 #exportar-modal-preview-v2-image-frame img { display: block !important; flex: 1 1 auto !important; width: 100% !important; height: 100% !important; min-width: 0 !important; min-height: 0 !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; object-position: center center !important; margin: 0 !important; transform: none !important; }

#productModal.exportar-preview-v2 .exportar-preview-info > .p-3.rounded:has(#modal-company-type) { display: inline-block !important; width: fit-content !important; max-width: 100% !important; height: auto !important; box-sizing: border-box !important; align-self: flex-start !important; }
#productModal.exportar-preview-v2 .exportar-preview-info > .p-3.rounded:has(#modal-company-type) > h5 { display: block !important; width: fit-content !important; max-width: 100% !important; box-sizing: border-box !important; border: 1px solid #cfe0ed !important; border-radius: 5px !important; padding: 5px 7px !important; margin: 0 0 10px 0 !important; }
#productModal.exportar-preview-v2 .exportar-preview-info > .p-3.rounded:has(#modal-company-type) { display: block !important; width: fit-content !important; max-width: 100% !important; padding: 10px 12px !important; margin: 0 auto !important; background-color: #f1f7fb !important; border-radius: 8px !important; box-sizing: border-box !important; }
#productModal.exportar-preview-v2 .exportar-preview-info > .p-3.rounded:has(#modal-company-type) > h5 { display: flex !important; align-items: center !important; gap: 7px !important; width: fit-content !important; max-width: 100% !important; padding: 4px 6px !important; margin: 0 0 7px 0 !important; line-height: 1.25 !important; box-sizing: border-box !important; }
#productModal.exportar-preview-v2 .exportar-preview-info > .p-3.rounded:has(#modal-company-type) > p { display: flex !important; align-items: center !important; gap: 7px !important; margin: 0 0 5px 0 !important; padding: 0 !important; line-height: 1.3 !important; }
#productModal.exportar-preview-v2 .exportar-preview-info > .p-3.rounded:has(#modal-company-type) > p:last-child { margin-bottom: 0 !important; }
#productModal.exportar-preview-v2 .exportar-preview-info > .p-3.rounded:has(#modal-company-type) > p > i { margin-left: 7px; }

#productModal.exportar-preview-v2 #modal-product-title { font-size: 37.5px !important; line-height: 1.15 !important; font-weight: 800 !important; color: #123f60 !important; }
#productModal.exportar-preview-v2 .exportar-preview-price-wrap { background: transparent !important; background-image: none !important; box-shadow: none !important; padding-left: 0 !important; margin-left: 0 !important; }
#productModal.exportar-preview-v2 #modal-product-price { margin-left: 0 !important; place-self: start !important; }
#productModal.exportar-preview-v2 .exportar-preview-info .exportar-preview-price-wrap + p:not(.is-expanded),
#productModal.exportar-preview-v2 .exportar-preview-info .exportar-preview-price-wrap + div > p:not(.is-expanded),
#productModal.exportar-preview-v2 .exportar-preview-info #modal-product-description:not(.is-expanded) { display: -webkit-box !important; -webkit-box-orient: vertical !important; -webkit-line-clamp: 3 !important; line-clamp: 3 !important; overflow: hidden !important; overflow-wrap: anywhere !important; max-width: 100% !important; box-sizing: border-box !important; }
#productModal.exportar-preview-v2 .exportar-preview-info .exportar-preview-price-wrap + p.is-expanded,
#productModal.exportar-preview-v2 .exportar-preview-info .exportar-preview-price-wrap + div > p.is-expanded,
#productModal.exportar-preview-v2 .exportar-preview-info #modal-product-description.is-expanded { display: block !important; -webkit-line-clamp: unset !important; line-clamp: unset !important; overflow: visible !important; max-height: none !important; }

#productModal.exportar-preview-v2 .exportar-descripcion-toggle { display: inline-flex !important; align-items: center !important; justify-content: center !important; align-self: flex-start !important; min-height: 36px !important; margin: 2px 0 8px !important; padding: 6px 12px !important; border: 1px solid #b7d9ed !important; border-radius: 20px !important; background: #edf8fe !important; color: #07527f !important; font: inherit !important; font-size: 13px !important; font-weight: 700 !important; line-height: 1.25 !important; cursor: pointer !important; }
#productModal.exportar-preview-v2 .exportar-descripcion-toggle:focus-visible { outline: 2px solid #00A7E1 !important; outline-offset: 2px !important; }
@media (max-width: 767.98px) { #productModal.exportar-preview-v2 .exportar-descripcion-toggle { min-height: 40px !important; padding: 8px 14px !important; margin-bottom: 8px !important; touch-action: manipulation; } }
#productModal.exportar-preview-v2 .exportar-descripcion-label { display: none !important; }
#productModal.exportar-preview-v2 #modal-product-img { filter: drop-shadow(0 5px 9px rgba(15, 23, 42, .20)); }

#productModal.exportar-preview-v2 .exportar-preview-info .exportar-preview-price-wrap { display: block !important; width: auto !important; min-height: 0 !important; margin: 0 0 10px 0 !important; padding: 0 !important; background: transparent !important; background-color: transparent !important; background-image: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
#productModal.exportar-preview-v2 .exportar-preview-info *:has(> #modal-product-price) { background: transparent !important; background-color: transparent !important; background-image: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; outline: none !important; padding: 0 !important; }
#productModal.exportar-preview-v2 .exportar-preview-info #modal-product-price { display: inline-flex !important; align-items: center !important; width: fit-content !important; max-width: 100% !important; box-sizing: border-box !important; padding: 9px 14px !important; margin: 0 !important; place-self: start !important; border: 1px solid #b7d9bd !important; border-radius: 9px !important; background: #f0f9f2 !important; background-color: #f0f9f2 !important; background-image: none !important; box-shadow: none !important; color: #14532d !important; font-weight: 750 !important; }
#productModal.exportar-preview-v2 .exportar-preview-info #modal-product-price * { background: transparent !important; background-color: transparent !important; border-color: transparent !important; box-shadow: none !important; color: #14532d !important; }
#productModal.exportar-preview-v2 .modal-body .row.exportar-preview-grid { align-items: center !important; }
#productModal.exportar-preview-v2 .exportar-preview-info { height: fit-content !important; min-height: 0 !important; max-height: none !important; align-self: center !important; flex: initial !important; overflow: visible !important; }
#productModal.exportar-preview-v2 .modal-header .btn-close { display: block !important; box-sizing: border-box !important; width: 30px !important; min-width: 30px !important; max-width: 30px !important; height: 30px !important; min-height: 30px !important; max-height: 30px !important; padding: 7px !important; margin: 0 !important; border: 1px solid rgba(18,63,96,.12) !important; border-radius: 50% !important; background-color: rgba(255,255,255,.96) !important; background-size: 12px 12px !important; box-shadow: 0 2px 7px rgba(18,50,72,.14) !important; opacity: 1 !important; }

@media (max-width: 700px) and (orientation: portrait) {
    #productModal.exportar-preview-v2 .modal-dialog { width: 96vw !important; max-width: 96vw !important; height: min(85dvh, 820px) !important; max-height: 85dvh !important; min-height: 0 !important; margin: auto !important; padding: 4px 0 !important; }
    #productModal.exportar-preview-v2 .modal-content { display: flex !important; flex-direction: column !important; height: 100% !important; max-height: 100% !important; min-height: 0 !important; overflow: hidden !important; }
    #productModal.exportar-preview-v2 .modal-header { flex: 0 0 auto !important; min-height: 0 !important; padding: 4px 8px !important; border: 0 !important; }
    #productModal.exportar-preview-v2 .modal-header .btn-close { width: 30px !important; min-width: 30px !important; height: 30px !important; min-height: 30px !important; padding: 7px !important; background-size: 12px 12px !important; }
    #productModal.exportar-preview-v2 .modal-body { flex: 1 1 auto !important; height: auto !important; min-height: 0 !important; overflow-y: auto !important; overflow-x: hidden !important; padding: 8px !important; }
    #productModal.exportar-preview-v2 .modal-body .row.exportar-preview-grid { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto auto !important; gap: 10px !important; height: auto !important; min-height: 0 !important; margin: 0 !important; }
    #productModal.exportar-preview-v2 .exportar-preview-grid > *,
    #productModal.exportar-preview-v2 .exportar-preview-grid > *:first-child { width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none !important; }
    #productModal.exportar-preview-v2 #exportar-b2b-image-frame,
    #productModal.exportar-preview-v2 #exportar-modal-preview-v2-image-frame { width: 100% !important; height: auto !important; max-height: 38vh !important; min-height: 0 !important; padding: 6px !important; overflow: hidden !important; box-sizing: border-box !important; }
    #productModal.exportar-preview-v2 #exportar-modal-preview-v2-image-frame img { width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; object-position: center !important; }
    #productModal.exportar-preview-v2 .exportar-preview-info { display: flex !important; flex-direction: column !important; justify-content: flex-start !important; width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none !important; padding: 12px 14px !important; gap: 6px !important; overflow: visible !important; box-sizing: border-box !important; }
    #productModal.exportar-preview-v2 .exportar-preview-title,
    #productModal.exportar-preview-v2 #modal-product-title { display: block !important; font-size: clamp(22px, 5.5vw, 30px) !important; line-height: 1.15 !important; margin: 0 0 6px !important; overflow-wrap: anywhere !important; }
    #productModal.exportar-preview-v2 .exportar-preview-info p,
    #productModal.exportar-preview-v2 .exportar-preview-info li,
    #productModal.exportar-preview-v2 .exportar-preview-info label,
    #productModal.exportar-preview-v2 .exportar-preview-info > .p-3.rounded:has(#modal-company-type) > p { font-size: 15px !important; line-height: 1.4 !important; overflow-wrap: anywhere !important; }
    #productModal.exportar-preview-v2 .exportar-preview-info #modal-product-price { font-size: clamp(18px, 4.8vw, 24px) !important; max-width: 100% !important; overflow-wrap: anywhere !important; }
    #productModal.exportar-preview-v2 .modal-footer { position: relative !important; inset: auto !important; z-index: 2 !important; display: flex !important; flex: 0 0 auto !important; min-height: 64px !important; max-height: none !important; padding: 8px !important; gap: 8px !important; margin: 0 !important; background: #f3f8fb !important; box-sizing: border-box !important; }
    #productModal.exportar-preview-v2 #btnVerCatalogo,
    #productModal.exportar-preview-v2 #btnVerEmpresa { flex: 1 1 0 !important; min-width: 0 !important; min-height: 44px !important; padding: 8px 7px !important; font-size: clamp(13px, 3.5vw, 16px) !important; line-height: 1.15 !important; white-space: normal !important; text-align: center !important; }
}

@media (max-width: 900px) and (orientation: landscape) {
    #productModal.exportar-preview-v2 .modal-dialog { width: 96vw !important; max-width: 96vw !important; height: 96dvh !important; max-height: 96dvh !important; margin: auto !important; padding: 4px 0 !important; }
    #productModal.exportar-preview-v2 .modal-content { display: flex !important; flex-direction: column !important; height: 100% !important; max-height: 100% !important; min-height: 0 !important; overflow: hidden !important; }
    #productModal.exportar-preview-v2 .modal-body { flex: 1 1 auto !important; height: 0 !important; min-height: 0 !important; overflow: auto !important; padding: 8px !important; }
    #productModal.exportar-preview-v2 .modal-body .row.exportar-preview-grid { display: grid !important; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr) !important; grid-template-rows: minmax(0, 1fr) !important; gap: 10px !important; height: 100% !important; min-height: 0 !important; margin: 0 !important; }
    #productModal.exportar-preview-v2 .exportar-preview-grid > *,
    #productModal.exportar-preview-v2 .exportar-preview-grid > *:first-child { height: 100% !important; min-height: 0 !important; max-height: 100% !important; }
    #productModal.exportar-preview-v2 #exportar-b2b-image-frame,
    #productModal.exportar-preview-v2 #exportar-modal-preview-v2-image-frame { height: 100% !important; min-height: 0 !important; max-height: 100% !important; padding: 6px !important; overflow: hidden !important; }
    #productModal.exportar-preview-v2 #exportar-modal-preview-v2-image-frame img { width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; }
    #productModal.exportar-preview-v2 .exportar-preview-info { min-height: 0 !important; height: 100% !important; padding: 8px 10px !important; gap: 4px !important; overflow: auto !important; }
    #productModal.exportar-preview-v2 .exportar-preview-title,
    #productModal.exportar-preview-v2 #modal-product-title { font-size: clamp(19px, 3.8vh, 27px) !important; line-height: 1.12 !important; }
    #productModal.exportar-preview-v2 .exportar-preview-info p,
    #productModal.exportar-preview-v2 .exportar-preview-info li,
    #productModal.exportar-preview-v2 .exportar-preview-info label { font-size: clamp(13px, 2.2vh, 16px) !important; line-height: 1.3 !important; }
    #productModal.exportar-preview-v2 .modal-footer { position: relative !important; inset: auto !important; flex: 0 0 auto !important; min-height: 58px !important; padding: 6px 10px !important; gap: 8px !important; }
    #productModal.exportar-preview-v2 #btnVerCatalogo,
    #productModal.exportar-preview-v2 #btnVerEmpresa { min-width: 0 !important; min-height: 40px !important; padding: 6px 10px !important; font-size: 14px !important; }
}

@media (max-width: 767.98px) and (orientation: portrait) {
    #productModal.exportar-preview-v2 { position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100vh !important; height: 100dvh !important; max-height: 100vh !important; max-height: 100dvh !important; padding: 0 !important; overflow: hidden !important; }
    #productModal.exportar-preview-v2 .modal-dialog { width: 100vw !important; max-width: 100vw !important; height: 100vh !important; height: 100dvh !important; max-height: 100vh !important; max-height: 100dvh !important; margin: 0 !important; padding: 0 !important; }
    #productModal.exportar-preview-v2 .modal-content { display: flex !important; flex-direction: column !important; width: 100% !important; height: 100% !important; max-height: 100% !important; min-height: 0 !important; border-radius: 0 !important; overflow: hidden !important; }
    #productModal.exportar-preview-v2 .modal-body { display: block !important; flex: 1 1 0 !important; height: 0 !important; min-height: 0 !important; max-height: none !important; padding: 10px !important; overflow: hidden !important; }
    #productModal.exportar-preview-v2 .modal-body .row.exportar-preview-grid { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: minmax(0, 46fr) minmax(0, 54fr) !important; gap: 10px !important; width: 100% !important; height: 100% !important; min-height: 0 !important; margin: 0 !important; }
    #productModal.exportar-preview-v2 .exportar-preview-grid > * { width: 100% !important; max-width: 100% !important; min-width: 0 !important; height: 100% !important; min-height: 0 !important; margin: 0 !important; }
    #productModal.exportar-preview-v2 #exportar-modal-preview-v2-image-frame { display: flex !important; align-items: center !important; justify-content: center !important; width: 100% !important; height: 100% !important; min-height: 0 !important; padding: 6px !important; overflow: hidden !important; }
    #productModal.exportar-preview-v2 #exportar-modal-preview-v2-image-frame img { display: block !important; width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; object-position: center !important; }
    #productModal.exportar-preview-v2 .exportar-preview-info { display: flex !important; flex-direction: column !important; justify-content: flex-start !important; width: 100% !important; height: 100% !important; min-height: 0 !important; padding: 12px 14px !important; gap: 6px !important; overflow-x: hidden !important; overflow-y: auto !important; overscroll-behavior: contain !important; }
    #productModal.exportar-preview-v2 .exportar-preview-title { font-size: clamp(21px, 2.8vh, 29px) !important; line-height: 1.15 !important; margin: 0 0 4px !important; overflow-wrap: anywhere !important; }
    #productModal.exportar-preview-v2 .exportar-preview-info p,
    #productModal.exportar-preview-v2 .exportar-preview-info li,
    #productModal.exportar-preview-v2 .exportar-preview-info label { font-size: 15px !important; line-height: 1.4 !important; overflow-wrap: anywhere !important; }
    #productModal.exportar-preview-v2 .modal-footer { display: flex !important; flex: 0 0 auto !important; min-height: 76px !important; max-height: 86px !important; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)) !important; gap: 10px !important; justify-content: center !important; align-items: center !important; overflow: hidden !important; }
    #productModal.exportar-preview-v2 #btnVerCatalogo,
    #productModal.exportar-preview-v2 #btnVerEmpresa { flex: 1 1 0 !important; min-width: 0 !important; min-height: 48px !important; padding: 8px 10px !important; font-size: clamp(13px, 1.8vh, 16px) !important; white-space: normal !important; line-height: 1.15 !important; }
    #productModal.exportar-preview-v2 .modal-header { top: 10px !important; right: 10px !important; }
    #productModal.exportar-preview-v2 .modal-header .btn-close { width: 34px !important; height: 34px !important; padding: 9px !important; }
}

@media (max-width: 767.98px) and (orientation: landscape) {
    #productModal.exportar-preview-v2 .modal-dialog { width: 100vw !important; max-width: 100vw !important; height: 100vh !important; height: 100dvh !important; max-height: 100vh !important; max-height: 100dvh !important; margin: 0 !important; padding: 4px !important; }
    #productModal.exportar-preview-v2 .modal-content { height: 100% !important; max-height: 100% !important; min-height: 0 !important; }
    #productModal.exportar-preview-v2 .modal-body { flex: 1 1 0 !important; height: 0 !important; min-height: 0 !important; padding: 8px !important; overflow: hidden !important; }
    #productModal.exportar-preview-v2 .modal-body .row.exportar-preview-grid { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr) !important; grid-template-rows: minmax(0, 1fr) !important; gap: 10px !important; height: 100% !important; }
    #productModal.exportar-preview-v2 .exportar-preview-grid > * { height: 100% !important; min-height: 0 !important; }
    #productModal.exportar-preview-v2 .exportar-preview-info { min-height: 0 !important; padding: 10px 12px !important; overflow-x: hidden !important; overflow-y: auto !important; }
    #productModal.exportar-preview-v2 .exportar-preview-title { font-size: clamp(19px, 4.2vh, 27px) !important; line-height: 1.1 !important; margin-bottom: 5px !important; }
    #productModal.exportar-preview-v2 .exportar-preview-info p,
    #productModal.exportar-preview-v2 .exportar-preview-info li,
    #productModal.exportar-preview-v2 .exportar-preview-info label { font-size: clamp(12px, 2.5vh, 15px) !important; line-height: 1.3 !important; }
    #productModal.exportar-preview-v2 .modal-footer { flex: 0 0 auto !important; min-height: 58px !important; max-height: 64px !important; padding: 5px 10px !important; }
    #productModal.exportar-preview-v2 #btnVerCatalogo,
    #productModal.exportar-preview-v2 #btnVerEmpresa { min-height: 42px !important; padding: 6px 12px !important; font-size: 13px !important; }
}

/* ============================================================================
   INDEX.CSS — solo lo usa index.php
   ============================================================================ */

/* ==== BUSCADOR HERO ==== */
.search-container {
    width: 75%;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 60px 1rem 1.5rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    font-size: 1rem;
}

.search-btn {
    position: absolute;
    right: 20px;
    top: 7px;
    background:
        radial-gradient(ellipse at 35% 8%, rgba(255, 255, 255, 0.98) 0%, rgba(220, 248, 255, 0.85) 18%, rgba(100, 220, 255, 0.25) 45%, transparent 70%),
        linear-gradient(180deg, #65e5ff 0%, #16b9ef 32%, #0786ca 66%, #064c86 100%);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.95), inset 0 -3px 5px rgba(0, 45, 100, 0.60), 0 2px 6px rgba(0, 65, 110, 0.35);
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}
.search-btn i,
.search-btn svg { color: #fff; fill: #fff; filter: drop-shadow(0 1px 1px rgba(0, 45, 80, 0.65)); }
.search-btn.lupa-brillo-a i,
.search-btn.lupa-brillo-a svg { filter: drop-shadow(0 0 2px rgba(255, 255, 255, 1)) drop-shadow(0 0 5px rgba(120, 240, 255, 0.95)) drop-shadow(0 0 8px rgba(40, 190, 255, 0.65)); }
.search-btn.lupa-brillo-a { box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.98), inset 0 -3px 5px rgba(0, 45, 100, 0.60), 0 0 7px rgba(100, 235, 255, 0.85), 0 0 12px rgba(60, 195, 255, 0.45); }
.search-btn.lupa-brillo-b i,
.search-btn.lupa-brillo-b svg { filter: drop-shadow(0 0 3px rgba(255, 255, 255, 1)) drop-shadow(0 0 7px rgba(0, 220, 255, 1)) drop-shadow(0 0 13px rgba(0, 145, 255, 0.95)); }
.search-btn.lupa-brillo-b { box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.95), inset 0 -3px 5px rgba(0, 45, 100, 0.60), 0 0 9px rgba(0, 220, 255, 0.95), 0 0 18px rgba(0, 145, 255, 0.70); }
.search-btn:hover { transform: scale(1.05); filter: brightness(1.08) saturate(1.12); box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.98), inset 0 -3px 5px rgba(0, 45, 100, 0.60), 0 3px 8px rgba(0, 65, 110, 0.40); }

.search-container > p { margin-top: 0.75rem; margin-bottom: 0; }

@media (max-width: 991.98px) {
    .search-container { width: 100%; max-width: 100%; box-sizing: border-box; }
    .search-input { width: 100%; box-sizing: border-box; }
}

/* ==== ACTION BUTTONS (legacy, por si otras páginas los usan) ==== */
.action-buttons { padding: 2rem 0; background-color: white; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); }
.action-btn { display: block; width: 100%; padding: 1rem; border-radius: 10px; text-align: center; font-weight: 600; transition: all 0.3s ease; color: white; border: none; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); margin-bottom: 1rem; }
.action-btn:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); }
.btn-publish { background: linear-gradient(45deg, var(--primary-color), var(--primary-light)); }
.btn-request { background: linear-gradient(45deg, var(--secondary-color), var(--primary-color)); }
.btn-benefits { background: linear-gradient(45deg, var(--accent-color), var(--secondary-color)); }
.action-btn i { margin-right: 0.5rem; }