/* ============================================
   VARIABLES DE MARCA — FM Informática
   Modificá estos valores para ajustar colores
============================================ */
:root {
    --fm-blue: #1A5FAD;
    --fm-blue-dark: #134a87;
    --fm-blue-bg: #0d2a4a;
    --fm-orange: #F5A623;
    --fm-orange-dark: #d98e10;
}

/* ============================================
   BASE
============================================ */
body {
    font-family: 'Roboto', sans-serif;
    background: #f8f9fa;
    color: #111827;
}

.font-display {
    font-family: 'Roboto', sans-serif;
}

/* Colores de marca como clases utilitarias */
.bg-fm-blue {
    background-color: var(--fm-blue) !important;
}

.bg-fm-blue-dark {
    background-color: var(--fm-blue-bg) !important;
}

.bg-fm-orange {
    background-color: var(--fm-orange) !important;
}

.text-fm-blue {
    color: var(--fm-blue) !important;
}

.text-fm-orange {
    color: var(--fm-orange) !important;
}

.border-fm-blue {
    border-color: var(--fm-blue) !important;
}

.btn-fm-blue {
    background-color: var(--fm-blue);
    color: #fff;
    border: none;
}

.btn-fm-blue:hover {
    background-color: var(--fm-blue-dark);
    color: #fff;
}

.btn-fm-orange {
    background-color: var(--fm-orange);
    color: #fff;
    border: none;
}

.btn-fm-orange:hover {
    background-color: var(--fm-orange-dark);
    color: #fff;
}

/* ============================================
   NAVBAR
============================================ */
.btn-nav-link {
    background: transparent;
    border: none;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color .15s, color .15s;
}

.btn-nav-link:hover,
.btn-nav-link.active {
    background-color: var(--fm-orange) !important;
    color: #fff;
}

.btn-nav-link--strong {
    color: var(--fm-blue);
    font-weight: 700;
}

.navbar {
    height: 66px;

    .shadow-md {
        --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, #0000001a), 0 2px 4px -2px var(--tw-shadow-color, #0000001a);
        box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
}

.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    height: 40px;
}

.brand-logo {
    display: block;
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 576px) {
    .brand-logo-wrap {
        height: 34px;
    }

    .brand-logo {
        max-height: 34px;
    }
}

.logo-box {
    width: 36px;
    height: 36px;
    background: var(--fm-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    color: #fff;
    font-size: 13px;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 1;
}

.nav-search {
    position: relative;
    flex: 1;
    max-width: 420px;
}

.nav-search input {
    padding-left: 34px;
    font-size: 13px;
    height: 36px;
    background: #f1f3f5;
    border: 1.5px solid transparent;
    border-radius: 8px;
    width: 100%;
}

.nav-search input:focus {
    background: #fff;
    border-color: var(--fm-blue);
    box-shadow: none;
    outline: none;
}

.nav-search .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    width: 15px;
    pointer-events: none;
}

.btn-software {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
}

.cart-btn {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-flash {
    animation: cartFlashAnim 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes cartFlashAnim {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.7);
    }

    50% {
        transform: scale(1.25) rotate(3deg);
        box-shadow: 0 0 12px 6px rgba(245, 166, 35, 0);
    }

    100% {
        transform: scale(1) rotate(0);
        box-shadow: 0 0 0 0 rgba(245, 166, 35, 0);
    }
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--fm-orange);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.cart-empty-state {
    border: 1px dashed #dbe4ee;
    border-radius: 10px;
    color: #64748b;
    font-size: 13px;
    padding: 14px;
    text-align: center;
}

.cart-items {
    display: grid;
    gap: 10px;
}

.cart-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 10px;
}

.cart-item-image {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    object-fit: cover;
    background: #f1f5f9;
}

.cart-item-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.cart-item-meta {
    font-size: 11px;
    color: #64748b;
}

.cart-item-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--fm-blue);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
}

.cart-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dbe4ee;
    border-radius: 999px;
}

.cart-qty-btn {
    border: none;
    background: transparent;
    width: 26px;
    height: 26px;
    font-size: 14px;
    color: #334155;
}

.cart-qty-value {
    min-width: 22px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}

.cart-remove-btn {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
}

.cart-remove-btn:hover {
    color: #dc2626;
}

.cart-footer {
    display: none;
}

/* ============================================
   BARRA DE CATEGORÍAS
============================================ */
.cat-bar {
    background: var(--fm-blue);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.cat-bar::-webkit-scrollbar {
    display: none;
}

.cat-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 16px;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}

.cat-item:hover,
.cat-item.active {
    color: #fff;
    border-bottom-color: var(--fm-orange);
}


/* ── CARRUSEL HERO ── */
#hero-carousel .carousel-item {
    transition: opacity 0.6s ease-in-out;
}

#hero-carousel .slide-img {
    width: 100%;
    aspect-ratio: 16 / 5;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 768px) {
    #hero-carousel .slide-img {
        aspect-ratio: 4 / 3;
    }
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 60%, transparent 100%);
    display: flex;
    align-items: center;
    padding: 0 5%;
    pointer-events: none;
}

.slide-content {
    max-width: 520px;
}

.slide-badge {
    background: var(--fm-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 12px;
}

.slide-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: clamp(22px, 3.5vw, 44px);
    line-height: 1.1;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.slide-sub {
    font-size: clamp(13px, 1.2vw, 15px);
    color: rgba(255, 255, 255, .75);
    margin-bottom: 20px;
    line-height: 1.5;
}

.slide-cta {
    background: var(--fm-orange);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all .2s;
    pointer-events: auto;
    position: absolute;
    bottom: 18px;
    right: 32px;
    z-index: 2;
}

@media (max-width: 768px) {
    .slide-cta {
        bottom: 14px;
        right: 18px;
        padding: 8px 20px;
        font-size: 13px;
    }
}

.slide-cta:hover {
    opacity: .95;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.35);
}

.slide-cta .cta-arrow {
    display: inline-block;
    animation: ctaPulse 1.5s infinite ease-in-out;
}

@keyframes ctaPulse {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 44px;
    opacity: 1;
    z-index: 4;
    pointer-events: auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: none;
}

.carousel-control-prev::after,
.carousel-control-next::after {
    content: '';
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .3);
}

.carousel-control-prev::after {
    background: rgba(255, 255, 255, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E") center/20px no-repeat;
}

.carousel-control-next::after {
    background: rgba(255, 255, 255, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E") center/20px no-repeat;
}

.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .4);
    transition: background .2s, transform .2s;
}

.carousel-indicators .active {
    background: var(--fm-orange);
    transform: scale(1.3);
}


/* ============================================
   HERO
============================================ */
.hero-main {
    background: transparent;
    border-radius: 16px;
    height: 100%;
    min-height: 260px;
    position: relative;
    overflow: hidden;
}

.hero-main::before {
    content: none;
}

.hero-main::after {
    content: none;
}

.hero-badge {
    background: var(--fm-orange);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.hero-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.js-swipe-carousel {
    cursor: grab;
    user-select: none;
}

.js-swipe-carousel.is-dragging {
    cursor: grabbing;
}

.promo-mini-carousel {
    width: 100%;
    height: 100%;
    max-width: none;
}

.promo-mini-item {
    background: #0f172a;
    border-radius: 14px;
    height: 100%;
    box-shadow: 0 10px 25px rgba(2, 6, 23, .16);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.promo-mini-carousel .carousel-inner,
.promo-mini-carousel .carousel-item {
    height: 100%;
}

.promo-mini-carousel .carousel-item {
    transition: opacity 0.5s ease-in-out;
}

.promo-mini-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #e2e8f0;
}

.promo-mini-top {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    padding: 12px 14px;
    background: linear-gradient(180deg, rgba(15, 23, 42, .82) 0%, rgba(15, 23, 42, .38) 70%, transparent 100%);
    pointer-events: none;
}

.promo-mini-bottom {
    position: absolute;
    text-align: right;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 24px;
    background: linear-gradient(0deg, rgba(15, 23, 42, .88) 0%, rgba(15, 23, 42, .42) 50%, transparent 100%);
    pointer-events: none;
}

.promo-mini-tag {
    color: #fcd34d;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .45px;
}

.promo-mini-title {
    color: #fff;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
}

.promo-mini-sub {
    color: rgba(255, 255, 255, .84);
    font-size: 12px;
    line-height: 1.5;
    padding-right: 0;
}

.promo-mini-link {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    color: var(--fm-orange);
    padding: .2em .6em;
    border-radius: .5em;
    background-color: whitesmoke;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .1px;
    pointer-events: auto;
    transition: all .15s;
}

.promo-mini-link:hover {
    background-color: white;
    padding: .2em 1em;
}

.promo-mini-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    pointer-events: auto;
}

.promo-mini-control:hover {
    border-color: var(--fm-blue);
    color: var(--fm-blue);
}

.promo-mini-control-prev {
    left: 10px;
}

.promo-mini-control-next {
    right: 10px;
}

.promo-mini-empty {
    height: 100%;
    min-height: 260px;
    border: 1px dashed #cbd5e1;
    color: #334155;
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {

    .hero-main,
    .promo-mini-carousel,
    .promo-mini-item,
    .promo-mini-carousel .carousel-inner,
    .promo-mini-carousel .carousel-item,
    .promo-mini-empty {
        min-height: 200px;
    }

    .promo-mini-control-prev {
        left: 4px;
    }

    .promo-mini-control-next {
        right: 4px;
    }
}

.promo-card {
    border-radius: 14px;
    cursor: pointer;
    transition: all .25s;
    min-height: 80px;
    position: relative;
    overflow: hidden;
}

.promo-card:hover {
    transform: scale(1.02);
}

.promo-icon {
    position: absolute;
    right: 6px;
    top: 24px;
    transform: translateY(-50%);
    color: #1a5fad;
    font-size: 36px;
    opacity: .15;
}


/* ============================================
   FONT SIZE UTILITIES
============================================ */
.text-10 {
    font-size: 10px;
}
.text-11 {
    font-size: 11px;
}
.text-12 {
    font-size: 12px;
}
.text-13 {
    font-size: 13px;
}
.text-14 {
    font-size: 14px;
}
.text-15 {
    font-size: 15px;
}
.text-16 {  
    font-size: 16px;
}




/* ============================================
   TARJETAS DE PRODUCTO
============================================ */
.prod-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
}

.prod-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
}

.prod-img {
    background: #fff;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    position: relative;
}

.prod-tag {
    position: absolute;
    top: 7px;
    left: 7px;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
}

.prod-name {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.3;
}

.prod-brand {
    font-size: 11px;
    color: #adb5bd;
}

.prod-price {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.3;
}

.prod-price small {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 10px;
    color: #adb5bd;
    display: block;
}

.prod-card-tools {
    display: flex;
    gap: 8px;
}

.prod-tool-btn {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ced6df;
    background: #fff;
    color: #475569;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color .15s, color .15s, background-color .15s, transform .15s;
}

.prod-tool-btn:hover {
    border-color: var(--fm-blue);
    color: var(--fm-blue);
    transform: translateY(-1px);
}

.prod-tool-btn.copied {
    background: #ecfdf5;
    border-color: #22c55e;
    color: #16a34a;
}

.add-btn {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: none;
    flex-shrink: 0;
    cursor: pointer;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    transition: background .2s, transform .15s;
}

.add-btn:hover {
    transform: translateY(-1px);
}

.add-btn i {
    font-size: 12px;
}

/* ============================================
   SECCIÓN SOFTWARE
============================================ */
.soft-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    transition: background .2s, border-color .2s;
    cursor: pointer;
}

.soft-card:hover {
    background: rgba(255, 255, 255, .11);
    border-color: rgba(255, 255, 255, .22);
}

.soft-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(245, 166, 35, .15);
    border: 1px solid rgba(245, 166, 35, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* ============================================
   FOOTER
============================================ */
.app-footer {
    background: linear-gradient(180deg, #0f172a 0%, #0b1221 100%);
    color: #cbd5e1;
    padding-top: 34px;
}

.app-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 0 12px 28px;
}

.app-footer__col {
    border: 1px solid rgba(148, 163, 184, .24);
    background: rgba(15, 23, 42, .45);
    border-radius: 14px;
    padding: 16px;
}

.app-footer__title {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: .2px;
}

.app-footer__text {
    margin: 0;
    font-size: 12px;
    line-height: 1.65;
    color: rgba(203, 213, 225, .9);
}

.app-footer__channels {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.app-footer__chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(147, 197, 253, .35);
    background: rgba(59, 130, 246, .12);
    color: #dbeafe;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 6px 10px;
}

.app-footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.app-footer__list li {
    font-size: 12px;
    color: rgba(203, 213, 225, .95);
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-footer__list li a {
    color: inherit;
    text-decoration: none;
}

.app-footer__list li a:hover {
    color: #fff;
    text-decoration: underline;
}

.app-footer__list i {
    color: var(--fm-orange);
    width: 14px;
    text-align: center;
}

.app-footer__link {
    font-size: 12px;
    font-weight: 600;
    color: #93c5fd;
    text-decoration: none;
}

.app-footer__link:hover {
    color: #bfdbfe;
}

.app-footer__badges {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.app-footer__badges a {
    display: inline-flex;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    padding: 6px;
    transition: transform .15s ease, border-color .15s ease;
}

.app-footer__badges a:hover {
    transform: translateY(-1px);
    border-color: rgba(245, 166, 35, .55);
}

.app-footer__badges img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
}

.app-footer__bottom {
    border-top: 1px solid rgba(148, 163, 184, .24);
    padding: 12px 12px;
    font-size: 12px;
    color: rgba(203, 213, 225, .7);
}

.app-footer__bottom a {
    color: rgba(203, 213, 225, .85);
    text-decoration: none;
}

.app-footer__bottom a:hover {
    color: #fff;
}

@media (max-width: 1200px) {
    .app-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .app-footer__grid {
        grid-template-columns: 1fr;
    }

    .app-footer__badges img {
        width: 64px;
        height: 64px;
    }
}

/* ============================================
   TÍTULOS DE SECCIÓN
============================================ */
.sec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fm-orange);
    display: inline-block;
    flex-shrink: 0;
}

.sec-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -.4px;
}

/* ============================================
   CATALOGO FILTROS
============================================ */
.catalog-filters-panel {
    overflow: hidden;
}

@media (max-width: 991.98px) {
    #catalog-filters-collapse {
        margin-top: 8px;
    }
}

@media (min-width: 992px) {
    .catalog-filters-panel {
        position: sticky;
        top: 80px;
    }

    #catalog-filters-collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }
}

/* ============================================
   MODAL DETALLE DE PRODUCTO
============================================ */
.product-detail-main-image-wrap {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.product-detail-main-image {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.product-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
    gap: 8px;
}

.product-detail-thumb {
    border: 1px solid #dbe4ee;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
    line-height: 0;
    transition: border-color .15s, transform .15s;
}

.product-detail-thumb img {
    width: 100%;
    height: 48px;
    object-fit: contain;
}

.product-detail-thumb:hover,
.product-detail-thumb.active {
    border-color: var(--fm-blue);
    transform: translateY(-1px);
}

.product-detail-price {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--fm-blue);
}

.product-modal-cart-chip {
    border: 1px solid #dbe4ee;
    background: #f8fafc;
    color: #0f172a;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 6px 10px;
    text-decoration: none;
}

.product-modal-cart-chip:hover {
    border-color: var(--fm-blue);
    color: var(--fm-blue);
    background: #fff;
}

.product-modal-cart-chip .fa-cart-shopping {
    color: var(--fm-blue);
}

.product-modal-cart-sep {
    color: #94a3b8;
}

.product-modal-cart-chip.is-pulse {
    animation: productModalCartPulse .42s ease;
}

@keyframes productModalCartPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(26, 95, 173, .32);
    }

    55% {
        transform: scale(1.06);
        box-shadow: 0 0 0 8px rgba(26, 95, 173, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(26, 95, 173, 0);
    }
}

@media (min-width: 768px) {
    .product-modal-cart-chip {
        display: none !important;
    }
}

.product-detail-description {
    font-size: 14px;
    line-height: 1.55;
    color: #334155;
}

.product-detail-description p:last-child {
    margin-bottom: 0;
}

/* ============================================
   PAGINA DE PRODUCTO
============================================ */
.product-page-main-image-wrap {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.product-page-main-image {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.product-page-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 10px;
}

.product-page-thumb {
    border: 1px solid #dbe4ee;
    background: #fff;
    border-radius: 8px;
    padding: 6px;
    line-height: 0;
    transition: border-color .15s, transform .15s;
}

.product-page-thumb img {
    width: 100%;
    height: 60px;
    object-fit: contain;
}

.product-page-thumb:hover,
.product-page-thumb.active {
    border-color: var(--fm-blue);
    transform: translateY(-1px);
}

.product-page-price {
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--fm-blue);
    display: flex;
    align-self: anchor-center;
}

.product-page-price-others {
    flex: 1;
    text-align: center;
}

.product-page-description {
    font-size: 15px;
    line-height: 1.6;
    color: #334155;
}

.product-page-description p:last-child {
    margin-bottom: 0;
}

/* ============================================
   PAGINA EMPRESA
============================================ */
.empresa-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0 72px;
    background:
        radial-gradient(1000px 480px at 12% -10%, rgba(245, 166, 35, .30), transparent 55%),
        radial-gradient(760px 420px at 88% -10%, rgba(26, 95, 173, .38), transparent 60%),
        linear-gradient(135deg, #081326 0%, #0e2340 55%, #143866 100%);
}

.empresa-hero--compact {
    padding: 62px 0 48px;
}

.empresa-hero::after {
    content: '';
    position: absolute;
    inset: auto -10% -80px;
    height: 180px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #f8f9fa 90%);
}

.empresa-hero__inner {
    position: relative;
    z-index: 1;
}

.empresa-kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: #e2e8f0;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 16px;
}

.empresa-title {
    max-width: 900px;
    font-size: clamp(32px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -1.5px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.empresa-subtitle {
    max-width: 760px;
    font-size: clamp(15px, 1.6vw, 20px);
    color: rgba(255, 255, 255, .8);
    line-height: 1.6;
    margin-bottom: 28px;
}

.empresa-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.empresa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    padding: 0 22px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.empresa-btn:hover {
    transform: translateY(-1px);
}

.empresa-btn--primary {
    background: var(--fm-orange);
    color: #fff;
    box-shadow: 0 8px 20px rgba(245, 166, 35, .3);
}

.empresa-btn--primary:hover {
    color: #fff;
    background: var(--fm-orange-dark);
    box-shadow: 0 10px 22px rgba(217, 142, 16, .34);
}

.empresa-btn--ghost {
    border: 1px solid rgba(255, 255, 255, .32);
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.empresa-btn--ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, .14);
}

.empresa-band {
    margin-top: -18px;
    position: relative;
    z-index: 2;
}

.empresa-band__grid {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.empresa-stat {
    border: 1px solid #e5edf6;
    border-radius: 12px;
    padding: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.empresa-stat strong {
    display: block;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.15;
    margin-bottom: 6px;
}

.empresa-stat span {
    display: block;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

.empresa-section {
    background: transparent;
}

.empresa-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 25px rgba(2, 6, 23, .06);
}

.empresa-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--fm-blue);
    background: rgba(26, 95, 173, .1);
    margin-bottom: 12px;
}

.empresa-card h2 {
    font-size: 24px;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 10px;
}

.empresa-card p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 12px;
}

.empresa-card ul {
    margin: 0;
    padding-left: 18px;
    color: #334155;
    line-height: 1.8;
}

.empresa-card--accent {
    background: linear-gradient(160deg, #f8fbff 0%, #eef5ff 100%);
    border-color: #d6e6fb;
}

.empresa-cta {
    padding: 0 0 58px;
}

.empresa-cta__box {
    border-radius: 18px;
    border: 1px solid #d9e9ff;
    background: linear-gradient(125deg, #eaf2ff 0%, #ffffff 55%, #fff2de 100%);
    box-shadow: 0 14px 35px rgba(15, 23, 42, .08);
    text-align: center;
    padding: 34px 20px;
}

.empresa-cta__box h3 {
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 10px;
}

.empresa-cta__box p {
    color: #475569;
    font-size: 15px;
    margin-bottom: 20px;
}

.empresa-cta__box .empresa-hero__cta {
    justify-content: center;
}

@media (max-width: 992px) {
    .empresa-band__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .empresa-hero {
        padding: 68px 0 56px;
    }

    .empresa-title {
        letter-spacing: -1px;
    }

    .empresa-card h2 {
        font-size: 22px;
    }
}

/* ============================================
   TOASTIFY (ESTILO TIPO DASH)
============================================ */
.toastify.app-toastify {
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(2, 6, 23, .22);
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 12px;
    position: fixed !important;
    top: 55px !important;
    right: 70px !important;
    left: auto !important;
    z-index: 99999 !important;
    overflow: hidden;
    animation: app-toast-enter .22s cubic-bezier(.2, .8, .2, 1);
}

.toastify.app-toastify::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(255, 255, 255, .45);
    transform-origin: left;
    animation: app-toast-progress linear forwards;
    animation-duration: var(--toastify-duration, 2400ms);
}

.toastify.app-toastify.app-toastify--success::after {
    background: var(--fm-orange);
}

.toastify.app-toastify.app-toastify--error::after {
    background: rgba(255, 255, 255, .65);
}

.toastify.app-toastify:hover,
.toastify.app-toastify:focus-within {
    animation-play-state: paused;
}

.toastify.app-toastify:hover::after {
    animation-play-state: paused;
}

.toastify.app-toastify:focus-within::after {
    animation-play-state: paused;
}

.toastify.app-toastify .toast-close {
    opacity: .9;
}

@keyframes app-toast-progress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

@keyframes app-toast-enter {
    from {
        opacity: 0;
        transform: translate3d(16px, -4px, 0) scale(.98);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}