/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #105689;
    background-color: #eef9ff;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Barra promocional superior */
.promo-bar {
    background: linear-gradient(135deg, #105689 0%, #0d4a6f 100%);
    color: #fff;
    padding: 12px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.promo-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.promo-close:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.promo-content-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.promo-content {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
    animation: scroll-left 30s linear infinite;
    width: fit-content;
}

.promo-content:hover {
    animation-play-state: paused;
}

.promo-icon {
    font-size: 18px;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.promo-text {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: inline-block;
}

.promo-link {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.95;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-left: 8px;
}

.promo-link:hover {
    opacity: 1;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Header */
header {
    background-color: #eef9ff;
    padding: 5px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo y marca */
.logo-section {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

/* Navegación */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-menu > li > a {
    color: #105689;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    display: inline-block;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #105689;
    transition: width 0.3s ease;
}

.nav-menu > li > a:hover {
    color: #0d4a6f;
    transform: translateY(-2px);
}

.nav-menu > li > a:hover::after {
    width: 100%;
}

.nav-menu > li > a.active {
    color: #0d4a6f;
    font-weight: 600;
}

.nav-menu > li > a.active::after {
    display: none;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown .arrow {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    list-style: none;
    padding: 12px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #105689;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background-color: #105689;
    transition: height 0.2s ease;
    border-radius: 0 2px 2px 0;
}

.dropdown-menu a:hover {
    background-color: #eef9ff;
    color: #0d4a6f;
    padding-left: 28px;
}

.dropdown-menu a:hover::before {
    height: 60%;
}

/* Buscador */
.search-item {
    display: flex;
    align-items: center;
    position: relative;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

.search-input {
    width: 200px;
    padding: 8px 40px 8px 12px;
    border: 1px solid #105689;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: #105689;
    background-color: #fff;
    outline: none;
    transition: all 0.3s ease;
    height: 38px;
    box-sizing: border-box;
}

.search-input:focus {
    border-color: #0d4a6f;
    border-right: none;
    box-shadow: 0 0 0 2px rgba(16, 86, 137, 0.1);
}

.search-input:focus + .search-button {
    border-color: #0d4a6f;
}

.search-input::placeholder {
    color: #999;
}

.search-button {
    background-color: #105689;
    border: 1px solid #105689;
    border-left: none;
    border-radius: 0 4px 4px 0;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    height: 38px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.search-button:hover {
    background-color: #0d4a6f;
    border-color: #0d4a6f;
}

.search-input:focus + .search-button:hover {
    border-color: #0d4a6f;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #105689;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #105689;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #eef9ff;
}

.search-result-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background-color: #f1f1f1;
    border-radius: 4px;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #105689;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-price {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    color: #666;
    margin: 0;
}

.search-result-empty {
    padding: 20px;
    text-align: center;
    color: #999;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
}

/* Carrito */
.cart-item {
    display: flex;
    align-items: center;
    position: relative;
}

/* Nosotros */
.about-section {
    padding-top: 20px;
}

.about-hero {
    text-align: center;
}

.about-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.about-title {
    font-family: 'Raleway', sans-serif;
    font-size: 80px;
    font-weight: 400;
    color: #105689;
    margin: 0 0 -20px 0;
}

.about-hero-image {
    margin-top: -50px;
}

.about-hero-image img {
    max-width: 1100px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.about-text-image-content {
    padding-top: 40px;
    padding-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text-block {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    line-height: 1.8;
    color: #105689;
}

.about-text-block p {
    margin: 0;
}

.about-text-block-bottom {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    line-height: 1.8;
    color: #105689;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.about-text-block-bottom p {
    margin: 0;
}

.about-image-block {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

.about-image-block img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    display: block;
}

.about-mision-vision-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.about-mision-vision-content::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(16, 86, 137, 0.15);
    transform: translateX(-50%);
}

.about-mv-item {
    background-color: transparent;
    padding: 50px 40px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-mv-icon {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-mv-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.about-mv-item h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #105689;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

.about-mv-item p {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #105689;
    max-width: 400px;
}

.about-gallery-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.about-gallery-item {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}

.about-gallery-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: all 0.4s ease;
    border-radius: 8px;
}

.about-gallery-item:hover img {
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(16, 86, 137, 0.3);
}

@media (max-width: 968px) {
    .about-text-image-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 30px;
    }

    .about-text-block-bottom {
        padding-top: 20px;
    }

    .about-gallery-content {
        grid-template-columns: 1fr;
    }

    .about-title {
        font-size: 55px;
    }

    .about-hero-image img {
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }

    .about-title {
        font-size: 42px;
    }

    .about-hero-image img {
        max-width: 600px;
    }

    .about-mision-vision-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-mision-vision-content::before {
        display: none;
    }

    .about-mv-item {
        padding: 40px 30px;
    }

    .about-mv-icon {
        margin-bottom: 20px;
    }

    .about-mv-icon img {
        width: 60px;
        height: 60px;
    }

    .about-mv-item h3 {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .about-mv-item p {
        font-size: 15px;
        max-width: 100%;
    }

    .about-gallery-item {
        padding: 20px;
    }

    .about-gallery-item img {
        height: 300px;
    }
}

.cart-button {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #105689;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.cart-button:hover:not(.cart-button-disabled) {
    color: #0d4a6f;
    background-color: rgba(16, 86, 137, 0.1);
    transform: scale(1.05);
}

.cart-button-disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
}

.cart-button-disabled:hover {
    transform: none;
    background-color: transparent;
}

.cart-button::after {
    display: none;
}

.cart-icon {
    position: relative;
    color: #105689;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #e74c3c;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    border: 2px solid #eef9ff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Sección Hero */
.hero-section {
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5px 0 50px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Texto del hero */
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.edition-badge {
    font-size: 18px;
    color: #105689;
    font-weight: 500;
    line-height: 1.3;
}

.hero-title {
    font-size: 72px;
    font-weight: 500;
    color: #105689;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0;
}

.catalog-link {
    color: #105689;
    text-decoration: underline;
    font-size: 18px;
    font-weight: 500;
    margin-top: 20px;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    animation: subtlePulse 3s ease-in-out infinite;
}

.catalog-link:hover {
    color: #0d4a6f;
    transform: translateX(8px) scale(1.05);
    text-shadow: 0 2px 8px rgba(16, 86, 137, 0.3);
    animation: none;
}

@keyframes subtlePulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Imagen del hero */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    position: relative;
}

.hero-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    animation: fadeInUp 1s ease-out;
    transform: scale(1.2);
}

/* Indicadores decorativos */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 0;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.indicator {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #105689;
    opacity: 1;
}

/* Sección Compra por categorías */
.categories-section {
    padding: 100px 0;
    background-color: #fff;
    font-family: 'Raleway', sans-serif;
}

.categories-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.categories-title-section {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.categories-title {
    font-family: 'Raleway', sans-serif;
    font-size: 36px;
    font-weight: 500;
    color: #105689;
    margin: 0;
    line-height: 1.2;
}

.title-divider {
    width: 100%;
    height: 1px;
    background-color: #a8d5e2;
    margin-top: 5px;
    margin-bottom: 0;
}

.collection-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #105689;
    font-size: 20px;
    font-weight: 400;
    margin-top: 25px;
    margin-bottom: 0;
}

.sofa-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(1234%) hue-rotate(182deg) brightness(0.4) contrast(1.2);
}

.ver-mas-link {
    color: #105689;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-top: 20px;
}

.ver-mas-link:hover {
    color: #0d4a6f;
}

.categories-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-image-wrapper {
    width: 100%;
    flex: 1;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 0;
    padding: 20px;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.category-image-flip {
    transform: scaleX(-1);
}

.category-name {
    padding: 15px;
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #105689;
    text-align: center;
    line-height: 1.5;
    flex-shrink: 0;
}

/* Sección Beneficios del servicio */
.benefits-section {
    padding: 50px 0;
    background-color: #f1f1f1;
    font-family: 'Raleway', sans-serif;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    align-items: start;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

.benefit-icon {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 30px;
}

.benefit-icon-img {
    width: 100%;
    height: 100%;
    max-width: 180px;
    max-height: 180px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(1234%) hue-rotate(182deg) brightness(0.4) contrast(1.2);
}

.benefit-title {
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #105689;
    margin: 0 0 16px 0;
    letter-spacing: -0.3px;
}

.benefit-description {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #105689;
    margin: 0;
    line-height: 1.7;
}

/* Sección Promociones exclusivas */
.promotions-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.promotions-header {
    margin-bottom: 30px;
}

.promotions-title {
    font-size: 42px;
    font-weight: 500;
    color: #1a3a5f;
    margin: 0;
    margin-bottom: 10px;
}

.promotions-title-divider {
    width: 100%;
    height: 2px;
    background-color: #1a3a5f;
}

.category-nav {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-nav-item {
    color: #1a3a5f;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.category-nav-item.active {
    border-bottom: 2px solid #1a3a5f;
}

.category-nav-item:hover {
    color: #0d2a47;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-link {
    text-decoration: none;
    display: block;
    width: 100%;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1.2;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 280px;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #fff;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 15px;
}

.discount-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #105689;
    color: #fff;
    padding: 6px 12px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    z-index: 2;
    font-family: 'Raleway', sans-serif;
    line-height: 1.2;
}

.favorite-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #105689;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform 0.2s ease;
}

.favorite-btn:hover {
    transform: scale(1.1);
}

.product-info {
    padding: 12px;
    background-color: #fff;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
    gap: 15px;
}

.product-name-link {
    text-decoration: none;
    flex: 1;
}

.product-name {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #105689;
    margin: 0;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.product-name-link:hover .product-name {
    color: #0d4a6f;
    text-decoration: underline;
}

.product-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
    justify-content: flex-start;
}

.original-price {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.discounted-price {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #105689;
}

.product-description {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    color: #666;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quantity-selector {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    color: #105689;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.qty-btn {
    background-color: transparent;
    border: 1px solid #105689;
    color: #105689;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    padding: 0;
    transition: all 0.2s ease;
    font-family: 'Raleway', sans-serif;
    border-radius: 50%;
}

.qty-btn:hover {
    background-color: #105689;
    color: #fff;
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-label {
    font-weight: 400;
    color: #105689;
}

.qty-value {
    font-weight: 600;
    color: #105689;
    min-width: 24px;
    text-align: center;
}

.add-to-cart-btn {
    background-color: #fff;
    color: #105689;
    border: 1px solid #105689;
    border-radius: 0;
    padding: 8px 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Raleway', sans-serif;
}

.add-to-cart-btn:hover {
    background-color: #105689;
    color: #fff;
}

.add-to-cart-btn span {
    font-size: 16px;
    font-weight: 500;
}

.add-to-cart-btn svg {
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 56px;
    }
    
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .logo-section {
        justify-content: center;
    }
    
    .search-input {
        width: 150px;
        font-size: 13px;
        padding: 6px 35px 6px 10px;
    }
    
    .search-button {
        padding: 6px 10px;
    }
    
    .search-button svg {
        width: 18px;
        height: 18px;
    }
    
    .categories-header {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .categories-cards {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 50px 30px;
    }

    .benefit-icon {
        width: 160px;
        height: 160px;
        margin-bottom: 25px;
    }

    .benefit-icon-img {
        max-width: 160px;
        max-height: 160px;
    }

    .benefit-title {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .benefit-description {
        font-size: 17px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-nav {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .logo-image {
        height: 65px;
    }
    
    .dropdown-menu {
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }
    
    .search-input {
        width: 120px;
        font-size: 12px;
        padding: 6px 30px 6px 8px;
    }
    
    .search-button {
        padding: 6px 8px;
    }
    
    .search-button svg {
        width: 16px;
        height: 16px;
    }
    
    .search-results {
        max-height: 300px;
    }
    
    .search-result-item {
        padding: 10px;
    }
    
    .search-result-image {
        width: 40px;
        height: 40px;
    }
    
    .search-result-title {
        font-size: 13px;
    }
    
    .search-result-price {
        font-size: 11px;
    }
    
    .dropdown:hover .dropdown-menu {
        transform: translateX(-50%) translateY(0);
    }
    
    .nav-menu {
        gap: 15px;
        font-size: 14px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .categories-section,
    .benefits-section {
        padding: 60px 0;
    }
    
    .categories-title {
        font-size: 32px;
    }
    
    .benefits-grid {
        gap: 50px;
        padding: 40px 20px;
    }

    .benefit-icon {
        width: 140px;
        height: 140px;
        margin-bottom: 20px;
    }

    .benefit-icon-img {
        max-width: 140px;
        max-height: 140px;
    }

    .benefit-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .benefit-description {
        font-size: 16px;
    }
    
    .promotions-section {
        padding: 60px 0;
    }
    
    .promotions-title {
        font-size: 32px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-nav {
        gap: 15px;
        font-size: 14px;
    }
}

/* Sección Productos instalados */
.installed-products-section {
    padding: 0 0 50px 0;
    background-color: #fff;
    font-family: 'Raleway', sans-serif;
}

.installed-products-title {
    font-family: 'Raleway', sans-serif;
    font-size: 42px;
    font-weight: 500;
    color: #105689;
    text-align: center;
    margin: 0 0 60px 0;
}

.installed-products-title .title-underline {
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
}

.installed-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.installed-product-item {
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.installed-product-item:hover {
    transform: scale(1.02);
}

.installed-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
}

/* Responsive para Productos instalados */
@media (max-width: 968px) {
    .installed-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .installed-products-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .installed-products-section {
        padding: 60px 0;
    }
    
    .installed-products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .installed-products-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
}

/* Sección Testimonios */
.testimonials-section {
    padding: 80px 0;
    background-color: #f1f1f1;
    font-family: 'Raleway', sans-serif;
}

.testimonials-title {
    font-family: 'Raleway', sans-serif;
    font-size: 40px;
    font-weight: 400;
    color: #105689;
    text-align: center;
    margin: 0 0 60px 0;
}

.testimonials-title .title-underline {
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    background-color: #105689;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-avatar svg {
    width: 50px;
    height: 50px;
}

.testimonial-content {
    flex: 1;
}

.testimonial-name {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #105689;
    margin: 0 0 10px 0;
}

.testimonial-text {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Responsive para Testimonios */
@media (max-width: 968px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .testimonials-title {
        font-size: 36px;
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Botón flotante de WhatsApp */
.whatsapp-float-btn {
    position: fixed;
    bottom: 5px;
    right: 30px;
    width: 150px;
    height: 150px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    text-decoration: none;
    padding: 0;
}

.whatsapp-float-btn::before {
    content: "Comunícate con nosotros para ayudarte a buscar tu mueble ideal";
    position: absolute;
    right: 110px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #105689;
    color: #fff;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    max-width: 250px;
    white-space: normal;
    text-align: left;
    line-height: 1.5;
    width: max-content;
}

.whatsapp-float-btn::after {
    content: "";
    position: absolute;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #105689;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    z-index: 1001;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
}

.whatsapp-float-btn:hover::before,
.whatsapp-float-btn:hover::after {
    opacity: 1;
    visibility: visible;
}

.whatsapp-float-btn:active {
    transform: scale(0.95);
}

.whatsapp-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: filter 0.3s ease;
}

.whatsapp-float-btn:hover .whatsapp-icon {
    filter: drop-shadow(0 6px 12px rgba(37, 211, 102, 0.4));
}

@media (max-width: 768px) {
    .whatsapp-float-btn {
        width: 75px;
        height: 75px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float-btn::before {
        right: 95px;
        font-size: 12px;
        padding: 12px 16px;
        max-width: 300px;
    }
    
    .whatsapp-float-btn::after {
        right: 85px;
    }
}

/* Footer */
.main-footer {
    background-color: #105689;
    color: #fff;
    padding: 60px 0 20px 0;
    font-family: 'Raleway', sans-serif;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.social-media {
    display: flex;
    gap: 16px;
    margin-top: 25px;
    justify-content: center;
    align-items: center;
}

.social-icon {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    padding: 10px;
    position: relative;
}

.social-icon:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.social-icon:active {
    transform: translateY(-2px) scale(1.02);
}

.social-icon i {
    font-size: 24px;
    color: #105689;
    display: block;
    transition: all 0.3s ease;
}

.social-icon:hover i {
    transform: scale(1.1);
    color: #0d4a6f;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
}

.footer-copyright p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Responsive para Footer */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-section:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 20px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section:last-child {
        grid-column: 1;
    }
    
    .social-media {
        margin-top: 20px;
        gap: 12px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        padding: 8px;
    }
    
    .footer-links a {
        font-size: 16px;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
}

/* ============================================
   ESTILOS PARA PÁGINA DE PRODUCTO
   ============================================ */

/* Sección de Detalle del Producto */
.product-detail-section {
    padding: 60px 0;
    background-color: #fff;
}

.product-detail-wrapper {
    min-height: 400px;
}

.loading-message,
.error-message {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #105689;
    font-family: 'Raleway', sans-serif;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-image-section {
    width: 100%;
}

.product-image-slider {
    width: 100%;
    max-width: 500px;
}

.product-image-wrapper-large {
    position: relative;
    width: 100%;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    padding: 40px;
    overflow: hidden;
}

.slider-images-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-image-large {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-image-large.active {
    opacity: 1;
    pointer-events: auto;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(16, 86, 137, 0.8);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: rgba(16, 86, 137, 1);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
    left: 10px;
}

.slider-btn-next {
    right: 10px;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 0 10px;
}

.slider-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #105689;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-indicator:hover {
    background-color: rgba(16, 86, 137, 0.5);
}

.slider-indicator.active {
    background-color: #105689;
}

.discount-badge-large {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #105689;
    color: #fff;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 700;
    z-index: 2;
    font-family: 'Raleway', sans-serif;
    border-radius: 0 0 0 4px;
}

.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 0;
}

.product-title-wrapper {
    flex: 1;
}

.product-title {
    font-family: 'Raleway', sans-serif;
    font-size: 36px;
    font-weight: 500;
    color: #105689;
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.offer-text {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #105689;
    margin: 0;
    line-height: 1.2;
}

.product-rating {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}

.star {
    font-size: 20px;
    color: #ccc;
}

.star.filled {
    color: #105689;
}

.product-specifications {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 5px 0;
}

.spec-item {
    display: flex;
    gap: 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.2;
}

.spec-label {
    font-weight: 500;
    color: #105689;
    min-width: 150px;
}

.spec-value {
    font-weight: 400;
    color: #105689;
}

.product-pricing-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    flex-shrink: 0;
}

.original-price-large {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
    line-height: 1.2;
}

.current-price-large {
    font-family: 'Raleway', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #105689;
    line-height: 1.2;
}

.product-description-section {
    margin: 5px 0;
}

.product-description-large {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #105689;
    line-height: 1.4;
    margin: 0;
}

.product-actions-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.quantity-selector-large {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #105689;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #105689;
    padding: 10px 15px;
}

.qty-btn-large {
    background-color: transparent;
    border: none;
    color: #105689;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    font-family: 'Raleway', sans-serif;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn-large:hover {
    background-color: #105689;
    color: #fff;
    border-radius: 50%;
}

.qty-label-large {
    font-weight: 400;
    color: #105689;
}

.qty-value-large {
    font-weight: 600;
    color: #105689;
    min-width: 30px;
    text-align: center;
    font-size: 18px;
}

.buy-button {
    background-color: #fff;
    color: #105689;
    border: 1px solid #105689;
    padding: 12px 40px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
    flex: 1;
    max-width: 300px;
    position: relative;
    overflow: hidden;
}

.buy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #105689;
    transition: left 0.3s ease;
    z-index: 0;
}

.buy-button span {
    position: relative;
    z-index: 1;
}

.buy-button:hover {
    color: #fff;
    border-color: #0d4a6f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 86, 137, 0.3);
}

.buy-button:hover::before {
    left: 0;
}

/* Sección Productos Similares */
.similar-products-section {
    padding: 80px 0;
    background-color: #fff;
}

.similar-products-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.similar-products-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;
    min-width: 200px;
}

.similar-products-title {
    font-family: 'Raleway', sans-serif;
    font-size: 42px;
    font-weight: 500;
    color: #105689;
    margin: 0;
    line-height: 1.2;
}

.similar-products-divider {
    width: 100%;
    height: 2px;
    background-color: #105689;
}

.ver-mas-link {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #105689;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ver-mas-link:hover {
    color: #0d4a6f;
    text-decoration: underline;
}

.similar-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    flex: 1;
    grid-auto-flow: row;
}

.similar-product-card {
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1;
}

.similar-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.similar-product-image-wrapper {
    width: 100%;
    flex: 1;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    min-height: 0;
}

.similar-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.similar-product-name {
    padding: 20px;
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #105689;
    text-align: center;
    line-height: 1.5;
    flex-shrink: 0;
}

/* Responsive para Página de Producto */
@media (max-width: 968px) {
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-title {
        font-size: 32px;
    }
    
    .current-price-large {
        font-size: 36px;
    }
    
    .product-actions-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .buy-button {
        max-width: 100%;
    }
    
    .similar-products-wrapper {
        gap: 20px;
    }
    
    .similar-products-header {
        min-width: 180px;
    }
    
    .similar-products-title {
        font-size: 36px;
    }
    
    .similar-products-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .product-detail-section {
        padding: 40px 0;
    }
    
    .product-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .product-pricing-section {
        align-items: flex-start;
        width: 100%;
    }
    
    .product-title {
        font-size: 28px;
    }
    
    .current-price-large {
        font-size: 32px;
    }
    
    .original-price-large {
        font-size: 18px;
    }
    
    .spec-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .spec-label {
        min-width: auto;
    }
    
    .similar-products-section {
        padding: 60px 0;
    }
    
    .similar-products-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .similar-products-header {
        min-width: auto;
        width: 100%;
    }
    
    .similar-products-title {
        font-size: 36px;
    }
    
    .similar-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        width: 100%;
    }
    
    .similar-product-name {
        font-size: 16px;
        padding: 15px;
    }
}

@media (max-width: 600px) {
    .similar-products-wrapper {
        gap: 20px;
    }
    
    .similar-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .similar-product-image-wrapper {
        padding: 20px;
    }
    
    .similar-product-name {
        font-size: 14px;
        padding: 12px;
    }
}

/* ============================================
   ESTILOS PARA PÁGINA DE CATEGORÍAS
   ============================================ */

/* Sección Promocional de Categorías */
.categories-promo-section {
    background-color: #eef9ff;
    padding: 80px 0;
}

.categories-promo-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    justify-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
}

.categories-promo-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.categories-promo-title {
    font-family: 'Raleway', sans-serif;
    font-size: 72px;
    font-weight: 500;
    color: #105689;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.promo-line {
    display: block;
}

.promo-year {
    display: block;
    font-size: 72px;
    font-weight: 500;
    margin-top: 15px;
}

.categories-promo-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.categories-promo-image {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
}

.categories-promo-discount {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #105689;
    color: #fff;
    padding: 25px 35px;
    border-radius: 50% 40% 50% 40% / 60% 30% 70% 40%;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(16, 86, 137, 0.3);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: rotate(-2deg);
    min-width: 140px;
}

.categories-promo-discount-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
    transform: rotate(1deg);
}

.categories-promo-discount-text {
    display: block;
    font-size: 48px;
    line-height: 1;
    font-weight: 700;
    transform: rotate(1deg);
}

.categories-page-section {
    padding: 40px 0;
    background-color: #fff;
    min-height: calc(100vh - 200px);
}

.categories-page-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar */
.categories-sidebar {
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 8px;
    position: sticky;
    top: 20px;
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-search {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.sidebar-search-input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #105689;
    border-radius: 4px 0 0 4px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: #105689;
    background-color: #fff;
    outline: none;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-search-input:focus {
    border-color: #0d4a6f;
    box-shadow: 0 0 0 2px rgba(16, 86, 137, 0.1);
}

.sidebar-search-input::placeholder {
    color: #999;
}

.sidebar-search-button {
    background-color: #105689;
    border: 1px solid #105689;
    border-left: none;
    border-radius: 0 4px 4px 0;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sidebar-search-button:hover {
    background-color: #0d4a6f;
    border-color: #0d4a6f;
}

.categories-menu {
    margin-top: 0;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.categories-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    /* Ocultar scrollbar pero mantener funcionalidad */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE y Edge */
}

.categories-menu-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.categories-menu-list li {
    margin: 0;
    padding: 0;
}

.category-menu-item {
    display: block;
    padding: 12px 15px;
    color: #105689;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin-bottom: 5px;
}

.category-menu-item:hover {
    background-color: rgba(16, 86, 137, 0.1);
    color: #0d4a6f;
}

.category-menu-item.active {
    background-color: #105689;
    color: #fff;
    font-weight: 600;
}

/* Área de productos */
.categories-products-area {
    width: 100%;
}

/* Responsive para Página de Categorías */
@media (max-width: 968px) {
    .categories-promo-content {
        padding: 0 20px;
        gap: 50px;
    }

    .categories-promo-title {
        font-size: 48px;
    }

    .promo-year {
        font-size: 48px;
    }

    .categories-promo-image {
        max-height: 400px;
    }
    
    .categories-promo-image-wrapper {
        max-width: 500px;
    }
    
    .categories-page-container {
        grid-template-columns: 200px 1fr;
        gap: 30px;
    }
    
    .categories-sidebar {
        padding: 15px;
    }
    
    .sidebar-search-input {
        font-size: 13px;
        padding: 8px 10px;
    }
    
    .sidebar-search-button {
        padding: 8px 12px;
    }
    
    .category-menu-item {
        font-size: 14px;
        padding: 10px 12px;
    }
}

@media (max-width: 768px) {
    .categories-promo-section {
        padding: 50px 0;
    }

    .categories-promo-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .categories-promo-text {
        justify-content: center;
        text-align: center;
    }

    .categories-promo-title {
        font-size: 48px;
    }

    .promo-year {
        font-size: 48px;
    }

    .categories-promo-image {
        max-height: 350px;
    }
    
    .categories-promo-image-wrapper {
        max-width: 100%;
    }
    
    .categories-promo-discount {
        top: 5px;
        right: 5px;
        padding: 15px 20px;
        min-width: 120px;
    }
    
    .categories-promo-discount-text {
        font-size: 32px;
    }
    
    .categories-promo-discount-label {
        font-size: 12px;
    }
    
    .categories-page-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .categories-sidebar {
        position: static;
        max-height: none;
    }
    
    .sidebar-search {
        margin-bottom: 20px;
    }
    
    .categories-menu-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .category-menu-item {
        margin-bottom: 0;
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* Sección de Contacto */
.contact-section {
    background-color: #fff;
    font-family: 'Raleway', sans-serif;
    min-height: calc(100vh - 400px);
    padding-bottom: 50px;
}

.contact-header {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
    padding: 0;
}

.contact-header-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-title {
    font-family: 'Raleway', sans-serif;
    font-size: 36px;
    font-weight: 500;
    color: #105689;
    margin: 0 0 30px 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-item p {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #105689;
    margin: 0;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #105689;
}

.form-group input,
.form-group textarea {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    padding: 12px 15px;
    border: 1px solid #105689;
    border-radius: 4px;
    color: #105689;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0d4a6f;
    box-shadow: 0 0 0 3px rgba(16, 86, 137, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    background-color: #105689;
    border: 1px solid #105689;
    padding: 14px 40px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-button:hover {
    background-color: #0d4a6f;
    border-color: #0d4a6f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 86, 137, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

/* Responsive para Contacto */
@media (max-width: 968px) {
    .contact-content {
        gap: 30px;
        padding: 0 30px;
    }
    
    .contact-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .contact-header {
        margin-bottom: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .contact-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .contact-info {
        gap: 20px;
    }
    
    .contact-info-item {
        gap: 10px;
    }
    
    .contact-info-item p {
        font-size: 15px;
    }
    
    .contact-form {
        gap: 18px;
    }
    
    .submit-button {
        width: 100%;
        align-self: stretch;
    }
}

/* ============================================
   ESTILOS PARA MODALES DEL CARRITO
   ============================================ */

/* Modal base */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background-color: #fff;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Modal 1: Carrito */
.cart-modal-content {
    padding: 20px;
}

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.cart-modal-title {
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #105689;
    margin: 0;
}

.cart-icon-header {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-icon-header svg {
    width: 32px;
    height: 32px;
    color: #105689;
}

.cart-badge-header {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #e74c3c;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.cart-items-container {
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background-color: #f1f1f1;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-discount {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: #105689;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cart-item-title {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #105689;
    margin: 0;
}

.cart-item-description {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    color: #666;
    margin: 0;
}

.cart-item-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.cart-item-original-price {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.cart-item-price {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #105689;
}

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

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-qty-label {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: #105689;
    font-weight: 500;
}

.cart-qty-btn {
    background-color: #f1f1f1;
    border: 1px solid #105689;
    color: #105689;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart-qty-btn:hover {
    background-color: #105689;
    color: #fff;
}

.cart-qty-value {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #105689;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.cart-item-remove {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #e74c3c;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    transition: color 0.3s ease;
}

.cart-item-remove:hover {
    color: #c0392b;
}

.cart-item-remove svg {
    width: 16px;
    height: 16px;
}

.cart-total {
    margin: 20px 0;
    padding-top: 15px;
}

.cart-total-divider {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    margin-bottom: 15px;
}

.cart-total-text {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #105689;
    text-align: right;
    margin: 0;
}

.cart-modal-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.cart-continue-shopping {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #105689;
    text-decoration: none;
    padding: 12px 0;
    transition: color 0.3s ease;
}

.cart-continue-shopping:hover {
    color: #0d4a6f;
    text-decoration: underline;
}

.cart-continue-btn {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background-color: #105689;
    border: 2px solid #fff;
    padding: 12px 40px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-continue-btn:hover {
    background-color: #0d4a6f;
}

/* Modal 2: Checkout */
.checkout-modal-content {
    padding: 25px 35px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkout-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 15px;
    align-items: start;
}

.checkout-section-title {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #105689;
    margin: 0 0 6px 0;
    grid-column: 1 / -1;
}

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

.checkout-form .form-group label {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #105689;
    margin-bottom: 2px;
}

.checkout-form .form-group input,
.checkout-form .form-group select {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    padding: 10px 12px;
    border: 1px solid #105689;
    border-radius: 4px;
    color: #105689;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.checkout-form .form-group input:focus,
.checkout-form .form-group select:focus {
    outline: none;
    border-color: #0d4a6f;
    box-shadow: 0 0 0 3px rgba(16, 86, 137, 0.1);
}

.checkout-form .form-group input::placeholder {
    color: #999;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    grid-column: 1 / -1;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #105689;
    cursor: pointer;
    margin-bottom: 0;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.radio-group-inline {
    display: flex;
    gap: 15px;
    margin-top: 8px;
}

.envio-options {
    margin-left: 26px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 0;
    transition: opacity 0.3s ease;
}

.envio-options:has(input:disabled),
.envio-options[style*="opacity: 0.5"] {
    opacity: 0.5;
    pointer-events: none;
}

.envio-options input:disabled,
.envio-options select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}

.store-option:has(input:disabled) {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.store-location {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.store-location svg {
    color: #105689;
    flex-shrink: 0;
    margin-top: 3px;
}

.checkout-total {
    margin: 12px 0;
    padding-top: 12px;
    border-top: 2px solid #e0e0e0;
    grid-column: 1 / -1;
}

.checkout-total-text {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #105689;
    text-align: right;
    margin: 0;
}

.checkout-actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    grid-column: 1 / -1;
}

.checkout-actions .checkout-whatsapp-btn,
.checkout-actions .checkout-email-btn {
    flex: 1;
    width: auto;
}

.checkout-actions .checkout-back-btn {
    width: auto;
    min-width: 120px;
}

.checkout-back-btn {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #105689;
    background-color: #fff;
    border: 2px solid #105689;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-back-btn:hover {
    background-color: #f1f1f1;
}

.checkout-buy-btn {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background-color: #105689;
    border: 2px solid #105689;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-buy-btn:hover {
    background-color: #0d4a6f;
}

/* Spinner de carga para botones */
.loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.checkout-whatsapp-btn,
.checkout-email-btn {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background-color: #105689;
    border: 2px solid #105689;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-whatsapp-btn:hover,
.checkout-email-btn:hover {
    background-color: #0d4a6f;
    border-color: #0d4a6f;
}

.form-group-inline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-inline > label {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #105689;
}

.radio-label-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #105689;
    cursor: pointer;
}

.radio-label-inline input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.envio-field {
    margin-top: 8px;
}

.store-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.store-option:hover {
    background-color: #f9f9f9;
    border-color: #105689;
}

.store-option input[type="radio"] {
    margin-top: 2px;
    flex-shrink: 0;
}

.store-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
}

.store-info svg {
    color: #105689;
    flex-shrink: 0;
    margin-top: 2px;
}

.store-info span {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    color: #105689;
    line-height: 1.4;
}

/* Modal de Cotización Exitosa */
.success-modal-content {
    max-width: 500px;
    width: 90%;
    background-color: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.success-modal-title {
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #105689;
    margin: 0 0 20px 0;
}

.success-modal-message {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.success-modal-button {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #105689;
    background-color: #fff;
    border: 2px solid #105689;
    padding: 12px 40px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success-modal-button:hover {
    background-color: #f1f1f1;
}

.success-modal-button:active {
    transform: scale(0.98);
}

/* Modal 3: Términos y Condiciones */
.terms-modal-content {
    padding: 0;
    max-width: 800px;
}

.terms-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 35px;
    border-bottom: 2px solid #e0e0e0;
    background-color: #fff;
    border-radius: 12px 12px 0 0;
}

.terms-modal-title {
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #105689;
    margin: 0;
}

.terms-modal-close {
    background: transparent;
    border: none;
    color: #105689;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 4px;
    width: 40px;
    height: 40px;
}

.terms-modal-close:hover {
    background-color: #f1f1f1;
    transform: rotate(90deg);
}

.terms-modal-close svg {
    width: 24px;
    height: 24px;
}

.terms-modal-body {
    padding: 30px 35px;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.terms-content {
    font-family: 'Raleway', sans-serif;
    color: #105689;
    line-height: 1.8;
}

.terms-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #105689;
    margin: 25px 0 12px 0;
}

.terms-content h3:first-child {
    margin-top: 0;
}

/* Estilos para la política de garantía */
.warranty-title {
    font-size: 22px;
    font-weight: 700;
    color: #105689;
    margin: 0 0 24px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #eef9ff;
}

.warranty-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.warranty-list li {
    padding: 18px 20px;
    background-color: #f8fbff;
    border-left: 4px solid #105689;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

.warranty-list li:hover {
    background-color: #eef9ff;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(16, 86, 137, 0.1);
}

.warranty-list li strong {
    color: #105689;
    font-weight: 600;
    display: inline-block;
    min-width: 120px;
    margin-right: 8px;
}

.terms-content p {
    font-size: 15px;
    color: #333;
    margin: 0 0 20px 0;
    text-align: justify;
}

.terms-last-updated {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.terms-last-updated span {
    font-weight: 600;
    color: #105689;
}

/* Responsive para modales */
@media (max-width: 768px) {
    .modal-content {
        max-width: 100%;
        margin: 10px;
        max-height: 95vh;
    }

    .cart-modal-content,
    .checkout-modal-content {
        padding: 20px;
    }

    .terms-modal-content {
        max-width: 100%;
    }

    .terms-modal-header {
        padding: 20px;
    }

    .terms-modal-title {
        font-size: 24px;
    }

    .terms-modal-body {
        padding: 20px;
    }

    .terms-content h3 {
        font-size: 18px;
    }

    .terms-content p {
        font-size: 14px;
    }

    .warranty-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .warranty-list {
        gap: 14px;
    }

    .warranty-list li {
        padding: 14px 16px;
        font-size: 14px;
    }

    .warranty-list li strong {
        display: block;
        margin-bottom: 6px;
        min-width: auto;
    }
    
    .checkout-section {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cart-modal-title {
        font-size: 24px;
    }

    .cart-item {
        flex-direction: column;
    }

    .cart-item-image {
        width: 100%;
        height: 200px;
    }

    .success-modal-content {
        padding: 30px 20px;
    }

    .success-modal-title {
        font-size: 24px;
    }

    .success-modal-message {
        font-size: 14px;
    }

    .cart-modal-actions,
    .checkout-actions {
        flex-direction: column;
    }

    .cart-continue-btn,
    .checkout-back-btn,
    .checkout-buy-btn {
        width: 100%;
    }

    .checkout-section-title {
        font-size: 18px;
    }

    .checkout-total-text {
        font-size: 24px;
    }
}
