* {
    box-sizing: border-box;
}

/* Estilos para el contenedor del carrusel */
.contenedor-carrusel {
    position: relative;
    width: 100vw;
    max-width: none;
    margin: 20px calc(50% - 50vw);
    overflow: hidden;
    border-radius: 0;
}

/* Estilo de la imagen activa */
.imagen-carrusel {
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Carousel slide effect */
.carousel-viewport {
    overflow: hidden;
    width: 100%;
    max-height: 520px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(.22, .9, .36, 1);
    will-change: transform;
}

.imagen-carrusel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

/* Botones de navegación flotantes */
.btn-navegacion {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(52, 49, 192, 0.7) !important;
}

.btn-prev {
    left: 10px;
}

.btn-next {
    right: 10px;
}

/* Indicadores de puntos inferiores */
.indicadores {
    position: absolute;
    bottom: 15px;
    width: 100%;
}

.punto {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: rgba(185, 95, 95, 0.5);
    transition: background-color 0.3s;
}

.punto.active {
    background-color: #e41b1b;
    transform: scale(1.2);
}

.cabecera {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: rgba(35, 79, 182, 0.95);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
    flex-wrap: wrap;
    gap: 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.logo img {
    width: 120px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.nav-principal,
.nav-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-principal a,
.nav-footer a {
    color: #fff;
    text-decoration: none;
    font-family: Roboto, "Helvetica Neue", sans-serif;
    font-weight: 200;
    font-size: 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-principal a:hover,
.nav-footer a:hover {
    color: #000000;
    transform: translateY(-1px);
}

.nav-principal a.active-link,
.nav-footer a.active-link {
    color: #ffdd57;
    text-decoration: underline;
}

.md-content {
    background: transparent !important;
    color: #ffffff;
}

.catalog-page {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px 40px;
}

.catalog-intro {
    max-width: 980px;
    margin: 0 auto 24px;
    text-align: center;
    color: #102a5b;
}

.catalog-intro h1 {
    margin-bottom: 12px;
    font-size: 2rem;
}

.catalog-intro p {
    margin: 0;
    color: #455173;
    font-size: 1rem;
}

.catalog-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 20px;
    position: sticky;
    top: 80px;
    z-index: 15;
    background: #f7f9ff;
    padding: 16px 0;
}

.catalog-search {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.filter-input {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    border: 1px solid rgba(35, 79, 182, 0.18);
    border-radius: 16px;
    background: #fff;
    color: #102a5b;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-input:focus {
    outline: none;
    border-color: #234fb6;
    box-shadow: 0 0 0 4px rgba(35, 79, 182, 0.08);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list button {
    padding: 10px 16px;
    border: 1px solid rgba(35, 79, 182, 0.15);
    border-radius: 999px;
    background: #f7f9ff;
    color: #102a5b;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tag-list button:hover,
.tag-list button.active-filter {
    background: #234fb6;
    color: #fff;
    border-color: #234fb6;
    transform: translateY(-1px);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.catalog-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(35, 79, 182, 0.08);
}

.card-image {
    min-height: 220px;
    background: #eef3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-header h2 {
    margin: 0;
    font-size: 1.4rem;
    color: #102a5b;
}

.tag-pill {
    display: inline-flex;
    margin-bottom: 6px;
    padding: 6px 12px;
    background: #eef3ff;
    color: #234fb6;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 999px;
}

.card-info,
.card-dosis {
    margin: 0;
    color: #5d6f8d;
    line-height: 1.7;
}

.formats-section h3 {
    margin: 0 0 12px;
    color: #102a5b;
    font-size: 1rem;
}

.formats-table {
    width: 100%;
    border-collapse: collapse;
    color: #455173;
}

.formats-table th,
.formats-table td {
    padding: 10px 12px;
    border: 1px solid rgba(35, 79, 182, 0.08);
    text-align: left;
    font-size: 0.95rem;
}

.formats-table th {
    background: #f3f7ff;
    color: #234fb6;
    font-weight: 700;
}

.empty-state {
    max-width: 980px;
    margin: 0 auto;
    padding: 32px;
    text-align: center;
    color: #455173;
    background: #eef3ff;
    border-radius: 20px;
}

@media (max-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
    }
}

@media (max-width: 720px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .catalog-search {
        flex: 1 1 auto;
        min-width: 0;
    }
}

.seccion {
    max-width: 1000px;
    width: 90%;
    margin: 30px auto;
    padding: 24px 28px;
    border-radius: 16px;
    background: rgba(35, 79, 182, 0.95);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    color: #f4f4f4;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.seccion h3 {
    margin-top: 0;
    color: #ffffff;
}

.seccion p {
    color: #d8dde3;
    line-height: 1.7;
}

.promo-section {
    max-width: 1200px;
    width: 95%;
    margin: 32px auto;
    padding: 24px 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    color: #102a5b;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.promo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.promo-header h3 {
    margin: 0;
    color: #11215c;
    font-size: 1.7rem;
}

.promo-page {
    max-width: 1300px;
    margin: 30px auto;
    padding: 0 20px 40px;
}

.promo-intro {
    margin-bottom: 28px;
    text-align: center;
    color: #102a5b;
}

.promo-intro h1 {
    margin-bottom: 12px;
    font-size: 2rem;
}

.promo-intro p {
    margin: 0;
    color: #455173;
    font-size: 1rem;
}

.promos-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 24px;
}

.promo-preview,
.promo-grid {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(35, 79, 182, 0.1);
    overflow: hidden;
}

.promo-preview {
    position: sticky;
    top: 20px;
    align-self: start;
}

.preview-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.preview-image {
    min-height: 320px;
    max-height: 650px;
    background: linear-gradient(180deg, #eaf0ff 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.preview-info {
    padding: 28px;
    display: flex;
    flex-direction: row;
    gap: 18px;
}

.preview-close-btn {
    display: none;
}

.preview-unit {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: #eef3ff;
    border-radius: 999px;
    color: #234fb6;
    font-weight: 700;
    font-size: 0.95rem;
}

.preview-info h2 {
    margin: 0;
    font-size: 2rem;
    color: #102a5b;
}

.preview-info h3 {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-code,
.preview-description {
    margin: 0;
    color: #5d6f8d;
    line-height: 1.7;
}

.preview-price {
    font-size: 2rem;
    font-weight: 800;
    color: #102a5b;
}

.btn-primary {
    width: fit-content;
    padding: 14px 24px;
    border: none;
    border-radius: 999px;
    background: #1ab147;
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: #1f3f97;
    transform: translateY(-1px);
}

.promo-action-btn {
    background: linear-gradient(135deg, #28a745, #1f8a3f) !important;
}

.promo-action-btn:hover {
    background: linear-gradient(135deg, #1f8a3f, #28a745) !important;
}

.promo-action-btn.in-cart {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
}

.promo-action-btn.in-cart:hover {
    background: linear-gradient(135deg, #c82333, #dc3545) !important;
}

.facebook-button {
    background: #1877f2 !important;
    color: #ffffff !important;
}

.facebook-button:hover {
    background: #155ecb !important;
}

.btn-secondary {
    display: inline-flex;
    padding: 12px 18px;
    border: 1px solid rgba(35, 79, 182, 0.15);
    border-radius: 999px;
    background: #ffffff;
    color: #234fb6;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
    background: #f4f7ff;
    transform: translateY(-1px);
}

.floating-cart-btn {
    position: fixed;
    top: 80px;
    right: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 62px;
    padding: 14px 18px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #234fb6, #2e59d9);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 20px 40px rgba(35, 79, 182, 0.22);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
    z-index: 100;
}

.floating-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 44px rgba(35, 79, 182, 0.28);
}

.catalog-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 62px;
    padding: 14px 18px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #234fb6, #2e59d9);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 20px 40px rgba(35, 79, 182, 0.22);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.catalog-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 44px rgba(35, 79, 182, 0.28);
}

.cart-badge {
    display: inline-flex;
    min-width: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 221, 87, 0.95);
    color: #102a5b;
    font-size: 0.85rem;
    font-weight: 800;
    justify-content: center;
}

/* Go to Top Button */
.go-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #284abd 0%, #1e3a8a 100%);
    color: #00ff00;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 8px 30px rgba(40, 74, 189, 0.3);
    transition: all 0.3s ease;
}

.go-to-top-btn.show {
    display: flex;
}

.go-to-top-btn:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #284abd 100%);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(40, 74, 189, 0.4);
}

.go-to-top-btn:active {
    transform: scale(0.95);
}

.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 24;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(420px, 100%);
    transform: translateX(110%);
    transition: transform 0.25s ease;
    background: #ffffff;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
    z-index: 25;
    display: flex;
    flex-direction: column;
    padding: 24px;
    overflow-y: auto;
}

.cart-panel.open {
    transform: translateX(0);
}

.cart-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.cart-panel-header h2 {
    margin: 0;
    font-size: 1.4rem;
    color: #102a5b;
}

.cart-panel-header p {
    margin: 6px 0 0;
    color: #5d6f8d;
}

.btn-close {
    border: none;
    background: #eef3ff;
    color: #234fb6;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
}

.cart-item {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr auto;
    padding: 18px 0;
    border-bottom: 1px solid rgba(35, 79, 182, 0.08);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-format,
.cart-item-price {
    margin: 6px 0 0;
    color: #5d6f8d;
    font-size: 0.95rem;
}

.cart-item-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.qty-btn {
    min-width: 34px;
    min-height: 34px;
    border: 1px solid rgba(35, 79, 182, 0.15);
    border-radius: 10px;
    background: #f4f7ff;
    color: #234fb6;
    cursor: pointer;
}

.qty-value {
    min-width: 26px;
    text-align: center;
    font-weight: 700;
}

.cart-item-total {
    font-weight: 700;
    color: #102a5b;
    align-self: center;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 18px 0 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(35, 79, 182, 0.12);
    font-size: 1rem;
}

.btn-checkout {
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
}

.btn-clear {
    width: 100%;
}

.cart-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    padding: 20px;
    border-radius: 18px;
    background: #f4f7ff;
    color: #455173;
    text-align: center;
}

.btn-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: none;
    border-radius: 999px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #28a745, #1f8a3f);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.18);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-cart:hover {
    background: linear-gradient(135deg, #1f8a3f, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(40, 167, 69, 0.22);
}

.btn-cart.in-cart {
    background: linear-gradient(135deg, #dc3545, #c82333);
    box-shadow: 0 14px 24px rgba(220, 53, 69, 0.26);
}

.btn-cart.in-cart:hover {
    background: linear-gradient(135deg, #c82333, #dc3545);
}

.btn-cart:active {
    transform: translateY(0);
    box-shadow: 0 8px 14px rgba(40, 167, 69, 0.16);
}

.btn-cart:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.18);
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.email-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.phone-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.phone-number {
    flex: 1 1 180px;
    font-weight: 700;
    color: #102a5b;
}

.contact-name {
    flex: 0 0 auto;
    font-weight: 600;
    color: #234fb6;
}

.phone-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.btn-copy {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(35, 79, 182, 0.12);
    background: #fff;
    color: #234fb6;
    cursor: pointer;
    font-weight: 700;
}

.btn-copy:hover {
    background: #f3f7ff;
    transform: translateY(-1px);
}

.map-preview {
    background-color: #15bd23;
    text-align: center;
    margin: 24px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(35, 79, 182, 0.12);
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.map-preview h3 {
    margin: 0;
    padding: 20px 16px;
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0.25em;
}

.map-preview iframe {
    width: 100%;
    min-height: 260px;
    border: 0;
    display: block;
}

.map-preview p {
    margin: 0;
    padding: 12px 16px;
    background: #f6f9ff;
    color: #234fb6;
    font-size: 0.95rem;
}

.map-preview a {
    color: #234fb6;
    text-decoration: underline;
}

.contact-card {
    background: #eef3ff;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid rgba(35, 79, 182, 0.12);
}

.contact-card p {
    margin: 0 0 12px;
    color: #102a5b;
    line-height: 1.7;
}

.contact-card p strong {
    color: #234fb6;
}

.promo-grid {
    padding: 24px;
}

.grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.grid-header h2 {
    margin: 0;
    color: #102a5b;
    font-size: 1.6rem;
}

.grid-header p {
    margin: 0;
    color: #5d6f8d;
}

.grid-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.grid-card {
    cursor: pointer;
}

.grid-card.active {
    transform: translateY(-4px);
    border-color: #234fb6;
    box-shadow: 0 26px 50px rgba(35, 79, 182, 0.15);
}

.grid-card img {
    min-height: 170px;
}

@media (max-width: 1024px) {
    .promos-layout {
        grid-template-columns: 1fr;
    }

    .grid-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .promo-page {
        padding: 0 14px 32px;
    }

    .promo-intro h1 {
        font-size: 1.7rem;
    }

    .grid-list {
        grid-template-columns: 1fr;
    }

    .preview-image {
        min-height: 220px;
    }

    .promo-preview {
        display: none;
    }

    .promos-layout.mobile-preview-open .promo-preview {
        display: block;
    }

    .promos-layout.mobile-preview-open .promo-grid {
        display: none;
    }

    .preview-close-btn {
        display: inline-flex;
        position: absolute;
        top: 16px;
        right: 16px;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: none;
        border-radius: 50%;
        background: rgb(0, 0, 0);
        color: rgb(0, 255, 0);
        font-size: 1.2rem;
        cursor: pointer;
        z-index: 2;
    }
}

.promo-nav {
    display: flex;
    gap: 10px;
}

.promo-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #234fb6;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(35, 79, 182, 0.25);
    transition: transform 0.2s ease, background 0.2s ease;
}

.promo-arrow:hover {
    transform: translateY(-2px);
    background: #1f3f97;
}


/* Slider layout: single row with 4 visible cards */
.promo-viewport {
    overflow: hidden;
    width: 100%;
    height: auto;
}

.promo-track {
    display: flex;
    height: auto;
    gap: 22px;
    transition: transform 0.6s cubic-bezier(.22, .9, .36, 1);
    will-change: transform;
}

.promo-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(35, 79, 182, 0.12);
    flex: 0 0 calc((100% - 66px) / 4);
    min-width: 200px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
}

.promo-card:hover {
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.14);
    border-color: rgba(35, 79, 182, 0.22);
    background: #7588c5;
}

.promo-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #f7f9ff;
}

.promo-card-body {
    padding: 18px 16px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

/* Container styles */
.promo-card-body-btn {
    padding: 18px 16px 22px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex: 1;
}

/* Main Button Style */
.promo-price-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    background-color: #28a745; /* Vibrant green background */
    border: none;
    border-radius: 12px;       /* Smooth rounded outer corners */
    padding: 6px 6px 6px 24px; /* Generous left padding for price text */
    cursor: pointer;
    text-decoration: none;
}

/* Price Text Style */
.promo-price-btn .price-text {
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 32px;           /* Large bold text */
    font-weight: bold;
    margin-right: 18px;        /* Spacing between text and blue icon box */
}

/* Blue Plus/Minus Icon Container */
.promo-price-btn .status-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00ff00; /* Bright blue background */
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 36px;           /* Match thick plus appearance */
    font-weight: bold;
    width: 44px;               /* Square dimensions */
    height: 44px;
    border-radius: 10px;       /* Slightly softer inner corners */
    line-height: 1;
}
.status-icon-box.in-cart{
    background-color: #db1d30; /* Vibrant red background */
}

.promo-card .promo-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #000000;
    margin: 0;
}

.promo-card h4 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.4;
    color: #102a5b;
}

.promo-card p {
    margin: 0;
    color: #5d6f8d;
    font-size: 0.95rem;
    line-height: 1.6;
}

.promo-card .promo-price {
    text-align: center;
    margin-top: auto;
    font-weight: 700;
    font-size: 1.2rem;
    color: #00ff00;
    border-radius: 8px;
    background: #284abd;
}

.promo-price-btn {
    text-align: center;
    margin-top: auto;
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
    border-radius: 8px;
    background: linear-gradient(135deg, #28a745, #1f8a3f);
    border: none;
    padding: 10px 15px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.18);
}

.promo-price-btn:hover {
    background: linear-gradient(135deg, #1f8a3f, #28a745);
    transform: scale(1.05);
    box-shadow: 0 14px 26px rgba(40, 167, 69, 0.26);
}

.promo-price-btn:active {
    transform: scale(0.95);
}

.promo-price-btn.in-cart {
    background: linear-gradient(135deg, #dc3545, #c82333);
    box-shadow: 0 10px 20px rgba(220, 53, 69, 0.18);
}

.promo-price-btn.in-cart:hover {
    background: linear-gradient(135deg, #c82333, #dc3545);
    box-shadow: 0 14px 26px rgba(220, 53, 69, 0.26);
}

.pie-pagina {
    padding: 22px 20px;
    text-align: center;
    color: #d7d7d7;
    background: rgba(35, 79, 182, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pie-pagina p {
    margin: 10px 0 0;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .cabecera {
        justify-content: center;
    }

    .nav-principal {
        justify-content: center;
        gap: 1px !important;
    }

    .nav-principal a,
    .nav-footer a {
        font-size: 0.95rem;
    }

    .promo-section,
    .seccion {
        width: 100%;
        padding: 18px 16px;
    }

    .promo-header {
        gap: 12px;
    }

    .promo-card {
        flex: 0 0 calc((100% - 22px) / 2);
        min-width: auto;
    }
}

@media (max-width: 600px) {
    .cabecera {
        padding: 14px 16px;
    }

    .logo img {
        width: 90px;
    }

    .nav-principal,
    .nav-footer {
        width: 100%;
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 1px !important;
    }

    .nav-principal::-webkit-scrollbar,
    .nav-footer::-webkit-scrollbar {
        display: none;
    }

    .nav-principal a,
    .nav-footer a {
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .contenedor-carrusel {
        width: 100vw;
        max-width: none;
        margin: 16px calc(50% - 50vw);
    }

    .carousel-viewport {
        max-height: 280px;
    }

    .imagen-carrusel-slide {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .promo-header {
        flex-direction: column;
        align-items: stretch;
    }

    .promo-nav {
        justify-content: flex-start;
    }

    .promo-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .promo-card img {
        height: 180px;
    }

    .promo-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .floating-cart-btn {
        top: 90px;
        right: 20px;
        min-width: 56px;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}
