html{
    scroll-behavior: smooth !important;
}

.datahaus-servidores-carousels {
    margin: 20px 0;
}

.datahaus-categoria-section {
    margin-bottom: 100px;
}
.datahaus-categoria-section:last-of-type{
    margin-bottom: 0;
}
.datahaus-categoria-title {
    margin-bottom: 50px;
    font-size: 32px;
    font-weight: bold;
    color: #ffff;
}

.datahaus-servidor-carousel {
    position: relative;
}

.datahaus-servidor-info{
    display: flex;
    align-items: center;
    gap: 20px;
}

.datahaus-servidor-item {
    padding: 40px;
    border: 1px solid #ddd;
    border-radius: 24px;
    height: auto;
    background: #fff;
    box-shadow: 0px 4px 24px 0px #0B66F333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.datahaus-servidor-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.datahaus-servidor-content {
    height: 100%;
    display: flex;
	justify-content: space-between;
    flex-direction: column;
}

.datahaus-servidor-title {
    font-size: 24px;
    font-weight: 700;
    color: #0B66F3;
}

.datahaus-servidor-subtitle{
    color: #021228B2;
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 0;
}

.datahaus-servidor-image{
    margin-top: 0px;
    margin-bottom: 0px;
}

.datahaus-servidor-excerpt {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
    flex-grow: 1;
}

.datahaus-servidor-link {
    display: inline-block;
    background: #007cba;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    margin-top: auto;
    text-align: center;
}

.datahaus-servidor-link:hover {
    background: #005a87;
    color: white;
    text-decoration: none;
}

.datahaus-servidor-carousel .swiper-button-next,
.datahaus-servidor-carousel .swiper-button-prev {
    color: #fff;
    width: 40px;
    height: 40px;
    background-color: #000000B2;
    border-radius: 50%;
    opacity: 1;
}

.datahaus-servidor-carousel .swiper-button-next:after,
.datahaus-servidor-carousel .swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
}

.datahaus-servidor-carousel .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}

.datahaus-servidor-carousel .swiper-pagination-bullet-active {
    background: #007cba;
}

.datahaus-servidor-carousel .swiper-button-prev{
    left: 0;
}

.datahaus-servidor-carousel{
    padding-left: 20px;
    padding-right: 40px;
}

.datahaus-servidor-carousel .swiper-button-next{
    right: 40px;
}

body:not(.detail-view) #servidores {
    padding-right: 0;
}

.datahaus-servidor-ver-mas {
    background: #0B66F3;
    color: white;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 24px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.datahaus-servidor-ver-mas:hover {
    background: #2362D8;
}

/* Vista de detalle */
.servidor_logo{
    text-align: initial !important;
}
.servidor_imagen img{
    max-height: 305px !important;
    object-fit: cover;
}
.servidor_logo img{
    height: 20px !important;
    margin-bottom: 5px;
	width: fit-content;
}
.detail-view .servidor_logo img{
	height: 30px !important;
}
.detail-view .servidor_logo img{
    opacity: 1;
}
.datahaus-detail-view {
    margin-top: 20px;
}


.datahaus-back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.datahaus-detail-content {
    display: flex;
    gap: 30px;
    align-items: center;
}

.datahaus-detail-image {
    flex: 0 0 300px;
}

.datahaus-detail-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.datahaus-detail-info h2 {
    margin: 0 0 15px 0;
    font-size: 28px;
}

.datahaus-detail-info div {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.9;
}


.datahaus-detail-specs-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.datahaus-accordion-title, .datahaus-detail-specs-header h2{
    color: #494A4A;
    font-weight: 700;
    font-size: 32px;
}

.datahaus-detail-specs {
    margin: 0 auto;
    max-width: none;
}

.datahaus-spec-accordion {
    border: none;
    border-radius: 0;
    overflow: visible;
    background: #f8f9fa;
}

.datahaus-spec-header {
    background: #0B66F3;
    padding: 16px 24px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 22px;
    color: #fff;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
}

.datahaus-spec-accordion:first-child .datahaus-spec-header {
    border-radius: 8px 8px 0 0;
}

.datahaus-spec-accordion:last-child .datahaus-spec-header {
    border-radius: 0 0 8px 8px;
}


.datahaus-spec-header.active {
    border-radius: 8px 8px 0px 0px;
}

.datahaus-spec-header span:last-child {
    font-size: 14px;
    color: #666;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.datahaus-spec-header.active span:last-child {
    transform: rotate(180deg);
}

.datahaus-spec-content {
    padding: 0;
    display: none;
    background: white;
    border: none;
}

.datahaus-spec-content.active {
    display: block;
    padding: 16px 24px;
}

.datahaus-spec-option {
    display: flex;
    align-items: baseline;
    transition: none;
    background: transparent;
    border-radius: 0;
    padding: 16px 0px;
}

.datahaus-spec-option:first-of-type{
    padding-top: 0;
}

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

.datahaus-spec-option:hover {
    background: transparent;
}

.datahaus-spec-option input[type="radio"],
.datahaus-spec-option input[type="checkbox"] {
    margin: 4px 12px 0 0;
    transform: scale(1.1);
    flex-shrink: 0;
}


.datahaus-spec-option label strong {
    font-weight: 600;
    color: #000;
}

.datahaus-spec-accordion:not(:first-child) .datahaus-spec-header {
    border-top: 1px solid #ffff;
}

.datahaus-qty-input {
    width: 84px !important;
    padding: 4px 8px;
    border: 1px solid #0000003B;
    border-radius: 4px;
    margin-right: 8px;
    text-align: center;
    font-size: 14px;
    margin-bottom: 0px !important;
}

.datahaus-qty-input:focus {
    border-color: #0B66F3;
    outline: none;
}

.datahaus-cotizar-section {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-top: 40px;
    gap: 24px;
}

.datahaus-cotizar-btn {
    background: #0B66F3;
    font-family: 'Inter', sans-serif;
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
}

.datahaus-cotizar-btn:hover {
    background-color: #2362D8;
}

#datahaus-contactar-asesor{
    padding: 16px 24px;
    border-radius: 100px;
    color: #0B66F3;
    border: 1px solid #0B66F3;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
}

#datahaus-contactar-asesor svg{
    fill: #0B66F3;
}

#datahaus-contactar-asesor:hover{
    background-color: #0B66F3;
    color: #fff;
}

#datahaus-contactar-asesor:hover svg{
    fill: #fff;
}


.datahaus-back-btn {
    background: #0B66F3;
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 16px 24px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.datahaus-back-btn:hover {
    background: #2362D8;
}

.datahaus-qty-input {
    width: 60px;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 8px;
    text-align: center;
    font-size: 14px;
}

.datahaus-label-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.datahaus-label-sku {
    color: #021228B2;
    font-size: 18px;
    font-weight: 200;
}

.datahaus-spec-option label {
    cursor: pointer;
    flex-grow: 1;
    font-size: 18px;
    color: #021228B2;
    margin: 0;
    font-weight: 500;
    font-weight: normal;
    display: flex;
    align-items: center;
}

body.detail-view #servidores{
    background-color: #fff;
    background-image: none;
	padding-right: 60px;
}

.datahaus-textarea-option {
    width: 100%;
    padding: 16px 0;
}

.datahaus-textarea-option:first-of-type {
    padding-top: 0;
}

.datahaus-textarea-option:last-child {
    padding-bottom: 0;
}

.datahaus-textarea-input {
    width: 100%;
    min-height: 100px;
    padding: 12px 16px;
    border: 1px solid #0000003B;
    border-radius: 4px;
    resize: vertical;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.4;
    color: #021228B2;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.datahaus-textarea-input:focus {
    outline: none;
    border-color: #0B66F3;
    box-shadow: 0 0 0 1px #0B66F3;
}

.datahaus-textarea-input::placeholder {
    color: #021228B2;
    font-weight: 400;
    opacity: 0.7;
}

/* Responsive */

@media(max-width:1200px){
    .datahaus-servidor-info{
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .datahaus-detail-specs {
        padding: 0px;
    }
    .datahaus-categoria-title{
        font-size: 28px;
    }
    .datahaus-spec-header {
        padding: 14px 16px;
        font-size: 18px;
    }

    .datahaus-spec-content.active {
        padding: 12px 16px 16px 16px;
    }

    .datahaus-cotizar-section {
        padding: 0px;
        flex-wrap: wrap;
        flex-direction: row;
    }
    #datahaus-contactar-asesor, #datahaus-cotizar-btn{
        width: 100%;
        justify-content: center;
    }

    .datahaus-spec-option {
        padding: 10px 0;
    }
    .datahaus-servidor-ver-mas{
        width: fit-content;
    }
    .datahaus-categoria-section{
        margin-bottom: 50px;
    }
    body.detail-view #servidores{
        padding-top: 40px;
        padding-bottom: 40px;
		padding-left: 20px;
		padding-right: 20px;
    }
    .datahaus-detail-specs-header{
        flex-direction: column;
        flex-wrap: wrap;
        align-items: initial;
        gap: 24px;
    }
    .datahaus-accordion-title, .datahaus-detail-specs-header h2{
        font-size: 24px;
        font-weight: 700;
        margin: 0;
    }
    .datahaus-qty-input{
        font-size: 14px !important;
        width: auto !important;
    }
    .datahaus-servidor-carousel .swiper-button-next, .datahaus-servidor-carousel .swiper-button-prev{
        display: none;
    }
    .datahaus-servidor-carousel{
        padding-left: 0;
        padding-right: 15px;
    }
	.datahaus-servidor-item{
		padding: 30px;
	}
	.datahaus-label-wrapper{
		flex-direction: column;
		gap: 5px;
	}
	.datahaus-label-text{
		line-height: normal;
	}
	.datahaus-spec-option{
		align-items: start;
	}
	.datahaus-textarea-option {
        padding: 10px 0;
    }

    .datahaus-textarea-input {
        font-size: 16px;
        min-height: 80px;
        padding: 10px 12px;
    }
}
