body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(180deg, #00d2ff 0%, #3a7bd5 100%);
    background-attachment: fixed;
}

body > .navbar,
body > footer {
    display: none;
}

body > main {
    padding: 0 !important;
    margin: 0 !important;
}

.glopy-search-wrapper {
    min-height: 100vh;
    padding: 1.2rem 1rem 7rem;
    color: #ffffff;
}

.hero-comparador {
    background: rgba(2, 17, 40, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.2rem;
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-logo {
    width: 140px;
    height: auto;
    margin-bottom: 0.6rem;
}

.hero-brand h1 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.hero-brand p {
    margin: 0.35rem 0 0;
    font-size: 0.92rem;
    opacity: 0.95;
}

.hero-search {
    display: grid;
    gap: 0.75rem;
}

.hero-search-input {
    background: #ffffff;
    color: #1c2b44;
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.hero-search-input i {
    font-size: 1rem;
    color: #3a7bd5;
}

.hero-search-input input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 0.95rem;
}

.hero-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #0089de, #00c6ff);
}

.top-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.top-section-card {
    text-decoration: none;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.top-section-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.icon-wrap i {
    font-size: 1.2rem;
}

.top-section-card h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.top-section-card p {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    opacity: 0.9;
}

.provider-results {
    display: grid;
    gap: 1.25rem;
}

.provider-row {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 1rem;
}

.row-title h3 {
    margin: 0 0 0.9rem;
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.provider-card {
    background: #ffffff;
    border-radius: 14px;
    color: #20334f;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 180px;
    overflow: hidden;
    position: relative;
}

.provider-card__body {
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.provider-card__media {
    position: relative;
    min-height: 160px;
    background: #e8eef5;
}

.provider-card__card-view-image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Comparador: foto como fondo del contenedor derecho (sin <img>) */
.provider-card--carousel .provider-card__media--bg {
    background-color: #e8eef5;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 0;
    height: 100%;
    align-self: stretch;
}

.provider-card--carousel .provider-card__media--bg-empty {
    background-image: linear-gradient(145deg, #dde6f0 0%, #cfd9e8 100%);
}

.provider-card__card-view-placeholder {
    width: 100%;
    height: 100%;
    min-height: 160px;
    background: linear-gradient(145deg, #dde6f0 0%, #cfd9e8 100%);
}

.provider-card__provider-logo {
    position: absolute;
    right: 0.45rem;
    bottom: 0.45rem;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #ffffff;
    padding: 0.25rem;
    box-shadow: 0 2px 10px rgba(15, 35, 65, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.provider-card__provider-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.provider-badge {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 600;
    color: #ffffff;
    background: #3a7bd5;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}

.provider-card__body h4 {
    margin: 0.2rem 0 0;
    font-size: 0.9rem;
    color: #3a7bd5;
    font-weight: 700;
}

.card-view-title {
    margin: 0;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.35;
}

.card-view-price {
    margin: 0;
    font-size: 1.05rem;
    color: #006cc7;
    font-weight: 700;
}

.card-view-detail {
    margin: 0;
    font-size: 0.82rem;
    color: #5d6f87;
    line-height: 1.35;
}

.provider-card__body a {
    margin-top: auto;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    color: #0a76d0;
}

/* Carrusel por proveedor (comparador) */
.provider-carousel {
    min-width: 0;
}

.provider-carousel__viewport {
    position: relative;
    overflow: hidden;
    min-width: 0;
    border-radius: 14px;
    height: 220px;
    display: flex;
    flex-direction: column;
}

/* Flechas centradas en altura; puntos abajo (sin padding extra en la card) */
.provider-carousel__chrome {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 0.2rem;
    padding: 0 0.75rem 0.35rem;
    pointer-events: none;
    box-sizing: border-box;
}

.provider-carousel__chrome-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 0;
    pointer-events: none;
}

.provider-carousel__chrome-nav-spacer {
    min-width: 0;
}

.provider-carousel__chrome-side {
    display: flex;
    align-items: center;
    pointer-events: auto;
}

.provider-carousel__chrome-side--text {
    justify-content: flex-start;
    padding-right: 0.25rem;
}

.provider-carousel__chrome-side--media {
    justify-content: flex-end;
    padding-left: 0.25rem;
}

.provider-carousel__chrome-dots {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 0;
    padding-bottom: 0.15rem;
    pointer-events: auto;
}

.provider-carousel__fab {
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #1c2b44;
    box-shadow: 0 2px 10px rgba(15, 35, 65, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.3;
    transition: background 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.provider-carousel__fab:hover:not(:disabled) {
    opacity: 0.8;
    background: #f0f4fa;
    box-shadow: 0 3px 12px rgba(15, 35, 65, 0.2);
}

.provider-carousel__fab:disabled {
    opacity: 0.15;
    cursor: not-allowed;
}

.provider-carousel__fab i {
    font-size: 1.05rem;
    line-height: 1;
}

.provider-carousel__dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: 2px solid rgba(32, 51, 79, 0.35);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.provider-carousel__dot:hover {
    border-color: #3a7bd5;
}

.provider-carousel__dot.is-active {
    background: #3a7bd5;
    border-color: #3a7bd5;
    transform: scale(1.15);
}

.provider-carousel__track {
    display: flex;
    flex: 1;
    min-height: 0;
    align-items: stretch;
    transition: transform 0.35s ease;
    will-change: transform;
}

.provider-carousel__slide {
    flex-shrink: 0;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    min-height: 0;
}

.provider-carousel__slide .provider-card--carousel {
    min-height: 0;
    flex: 1;
    width: 100%;
    height: 100%;
    align-self: stretch;
}

.provider-carousel__brand-logo {
    position: absolute;
    right: 0.45rem;
    bottom: 0.45rem;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #ffffff;
    padding: 0.25rem;
    box-shadow: 0 2px 10px rgba(15, 35, 65, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
}

.provider-carousel__brand-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Franja estática de logos (sin marquee); scroll horizontal si no cabe */
.domains-showcase {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 1rem;
}

.domains-showcase-lead {
    margin: -0.35rem 0 0.85rem;
    font-size: 0.82rem;
    opacity: 0.92;
    line-height: 1.35;
}

.domains-showcase-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.45) transparent;
    margin: 0 -0.15rem;
    padding-bottom: 0.25rem;
}

.domains-showcase-viewport::-webkit-scrollbar {
    height: 6px;
}

.domains-showcase-viewport::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 4px;
}

.domains-showcase-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    align-items: stretch;
    padding: 0.15rem 0.15rem 0.35rem;
    width: max-content;
    min-width: 100%;
}

.domains-showcase-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 108px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    text-align: center;
}

.domains-showcase-logo {
    width: 100%;
    height: 52px;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.5rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.domains-showcase-logo img {
    max-width: 100%;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.domains-showcase-fallback {
    font-size: 1.35rem;
    font-weight: 800;
    color: #3a7bd5;
    line-height: 1;
}

.domains-showcase-name {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
    opacity: 0.95;
    max-width: 108px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.domains-showcase-empty {
    padding: 0.5rem 0;
}

@media (max-width: 560px) {
    .provider-card {
        grid-template-columns: 1fr;
    }

    .provider-card__media {
        order: -1;
        min-height: 140px;
        max-height: 200px;
    }

    .provider-card__card-view-placeholder {
        min-height: 140px;
    }
}

@media (min-width: 768px) {
    .glopy-search-wrapper {
        padding: 1.6rem 1.6rem 7rem;
    }

    .hero-comparador {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
        padding: 1.4rem;
    }

    .top-sections {
        grid-template-columns: 1fr 1fr;
    }

    .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .provider-card__media {
        min-height: 180px;
    }

    .domains-showcase-item {
        width: 120px;
    }

    .domains-showcase-logo {
        height: 56px;
    }
}
