* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fa;
    color: #1f2937;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
    z-index: 3;
    position: relative;
}

.container2 {
    width: min(1180px, 58%);
    margin: auto;
    margin-top: -90px;
    z-index: 3;
    position: relative;
    padding-top: 270px;
}

.error-page {
    position: relative;
    min-height: 82vh;
    overflow: hidden;
    
}

.error-page-content {
    width: min(1180px, 92%);
    margin: auto;
    margin-top: 300px;
    z-index: 3;
    position: relative;
}


nav {
    display: flex;
    gap: 18px;
    align-items: center;
}



.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: none;
    align-items: center;
}

.slide.active {
    display: flex;
}

html {
    scroll-behavior: smooth;
}


nav a {
    color: white;
    text-shadow: 0 2px 6px rgba(0,0,0,.5);
}

nav a:hover{
    color: #ffd166;
    text-shadow: 0 2px 6px rgba(0,0,0,.5);
}

.lang {
    background: #ffd166;
    color: #073b4c;
    text-shadow: none;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1;
}

.hero p {
    font-size: 22px;
    max-width: 650px;
}

.btn,
button {
    background: #178489;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    border: 0;
    cursor: pointer;
}
.btnSearch {
    background: #178489;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    border: 0;
    cursor: pointer;
}

.btnSearch:hover {
    background:#CD6A00 !important;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    border: 0;
    cursor: pointer;
}

.btn:hover {
    background: #53c1c7;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    border: 0;
    cursor: pointer;
}


.btnNegocio {
    background: #CD6A00;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    border: 0;
    cursor: pointer;
}

.btnNegocio:hover {
    background: #dba801;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    border: 0;
    cursor: pointer;
}

.section {
    padding: 70px 0 30px;
}

.section h2,
.section h1 {
    color: #073b4c;
}

.category-grid,
.business-grid {
    display: grid;
    gap: 20px;
}

.category-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.category-card {
    background: white;
    padding: 24px;
    border-radius: 18px;
    text-decoration: none;
    color: #073b4c;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.category-card span {
    font-size: 34px;
    display: block;
    margin-bottom: 12px;
}

.business-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.business-card {
    background: white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    position: relative;
}

.business-card.premium {
    border: 2px solid #ffd166;
}

.business-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    background: #ddd;
}

.business-body {
    padding: 20px;
}

.category {
    color: #118ab2;
    font-weight: 800;
}

.badge {
    background: #ffd166;
    color: #073b4c;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.btn-small,
.btn-whatsapp {
    padding: 11px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
}

.btn-small {
    background: #073b4c;
    color: white;
}

.btn-whatsapp {
    background: #25d366;
    color: #063b20;
}

.bg-container {
    /* Primero el gradiente, luego la imagen */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(244,247,246,1) 100%), 
                url("../img/bgcontenido.png");
    background-size: cover;
    background-position: center;
}


.bg-containerList {
    position: absolute;
    inset: 0;
    z-index: 1; 
    /* Primero el gradiente, luego la imagen */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(244,247,246,1) 100%), 
                url("../img/bgcontenido.png");
    background-size: cover;
    background-position: center;
    height: 80vh;
}

.bg-container2 {
    background: linear-gradient(to bottom, rgba(119, 192, 211, 0) 0%, rgb(255, 255, 255) 100%);
    position: absolute;
    inset: 0;
    z-index: 2; 
    height: 100vh;
}

.bg-container4 {
    position: absolute;
    inset: 0;
    z-index: 1; 
    /* Primero el gradiente, luego la imagen */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(244,247,246,1) 100%), 
                url("../img/bgcontenido.png");
    background-size: cover;
    background-position: center;
    height: 80vh;
}

.bg-containerContacto {
    background: linear-gradient(to bottom, rgba(119, 192, 211, 0.548) 0%, rgb(255, 255, 255) 100%);
    height: 100vh;
}

.bg-container3 {
    position: absolute;
    z-index: 1;
    inset: 0;
    /* Primero el gradiente, luego la imagen */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(244,247,246,1) 100%), 
                url("../img/bgcontenido.png");
    background-size: cover;
    background-position: center;
    height: 500px;
}

.profile {
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-top: 150px;
}

.profile-img {
    width: 100%;
    border-radius: 24px;
    max-height: 520px;
    object-fit: cover;
    background: #ddd;
}

.info-box,
.contact-card {
    background: white;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.footer {
    margin-top: 70px;
    background: #073b4c;
    color: white;
    padding: 28px 0;
    text-align: center;
    bottom: 0px;
    position: relative;
    width: 100%;
}

.footerContacto {
    margin-top: 70px;
    background: #073b4c;
    color: white;
    padding: 28px 0;
    text-align: center;
    bottom: 0px;
    position: relative;
    width: 100%;
}

.empty {
    background: white;
    padding: 24px;
    border-radius: 16px;
}

.admin-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: #073b4c;
    color: white;
    padding: 24px;
}

.admin-sidebar a {
    color: white;
    display: block;
    margin: 16px 0;
    text-decoration: none;
}

.admin-main {
    padding: 30px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

.table th,
.table td {
    padding: 14px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.admin-form {
    background: white;
    padding: 24px;
    border-radius: 18px;
    display: grid;
    gap: 14px;
    max-width: 850px;
}


.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}

.dashboard-card {
    background: white;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.dashboard-card h3 {
    margin: 0 0 12px;
    color: #073b4c;
}

.dashboard-card strong {
    font-size: 42px;
    color: #06d6a0;
}

.section-admin {
    margin-top: 35px;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.features span {
    background: #f1f5f9;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #073b4c;
}


@media (max-width: 1024px) {
    nav {
        gap: 10px;
        font-size: 13px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }


    .profile {
        grid-template-columns: 1fr;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }
}


.admin-search{display:grid;grid-template-columns:1fr 120px 90px;gap:10px;margin-bottom:20px;max-width:850px}.admin-search input{padding:13px;border:1px solid #d1d5db;border-radius:12px;font-size:16px}.admin-thumb{width:180px;height:120px;object-fit:cover;border-radius:14px;border:1px solid #e5e7eb}.admin-gallery,.photo-gallery{display:grid;gap:16px}.admin-gallery{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));margin-bottom:24px}.admin-photo-card{background:white;padding:12px;border-radius:16px;box-shadow:0 8px 24px rgba(0,0,0,.08)}.admin-photo-card img{width:100%;height:130px;object-fit:cover;border-radius:12px}.danger{margin-top:8px;background:#ef4444;color:white}.photo-gallery{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.photo-gallery img{width:100%;height:240px;object-fit:cover;border-radius:18px;box-shadow:0 8px 24px rgba(0,0,0,.08)}@media(max-width:780px){.admin-search{grid-template-columns:1fr}}

html {
    scroll-behavior: smooth;
}

.menu-toggle {
    display: none;
    background: #ffd166;
    color: #073b4c;
    border: none;
    border-radius: 12px;
    font-size: 26px;
    padding: 8px 14px;
    cursor: pointer;
}

.topbar {
    background: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 50;
}

.nav {
    width: min(1180px, 92%);
    margin: auto;
    min-height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 444px;
    height: auto;
    display: block;
}

nav {
    display: flex;
    gap: 22px;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0,0,0,.99);
}

.lang {
    background: #CD6A00;
    color: #073b4c;
    text-shadow: none;
    padding: 9px 13px;
    border-radius: 999px;
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.slider {
    height: 100vh;
    position: relative;
}

.gratis {
    position: absolute;
    top: 15%;
    right: 10%;
    width: 25%;
    height: 25%;
    display: block;
    background-image: url("../img/gratis.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    cursor: pointer;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: none;
}

.slide.active {
    display: block;
}

.hero-content {
    width: min(1180px, 92%);
    margin: auto;
    color: white;
    padding-top: 60vh;
}

.hero-content h1 {
    color: white;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    margin: 0 0 18px;
    max-width: 780px;
    text-shadow: 0 3px 12px rgba(0,0,0,.55);
}

.hero-content p {
    color: white;
    font-size: 22px;
    max-width: 650px;
    text-shadow: 0 3px 12px rgba(0,0,0,.55);
}

.search-box {
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform: translateX(-50%);
    z-index: 30;
    width: min(980px, 88%);
    margin: 0;
    background:#ffffff26;
    display: grid;
    grid-template-columns: 1fr 260px 140px;
    gap: 12px;
    padding: 18px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,.22);
    height: 86px;
}

.search-box input,
.search-box select,
.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 16px;
}


.menu-toggle {
    display: none;
    background: #ffd166;
    color: #073b4c;
    border: none;
    border-radius: 12px;
    font-size: 26px;
    padding: 8px 14px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .nav {
        min-height: 90px;
        align-items: center;
    }

    .logo img {
        width: 230px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100px;
        right: 4%;
        background: rgba(7, 59, 76, .97);
        width: 92%;
        padding: 20px;
        border-radius: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    nav.active {
        display: flex;
    }

    .hero-content {
        padding-top: 61vh;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content p {
        font-size: 17px;
    }

    .search-box {
        bottom: 45%;
        grid-template-columns: 1fr;
        width: 90%;
        padding: 14px;
        height: auto;
    }
}

.caracteristica-card {
    display: flex;
    text-align: left;
}

.caracteristica-checkbox {
    width: 22px !important;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.gallery-item {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    border-radius: 18px;
    overflow: hidden;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform .25s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .94);
    padding: 24px;
}

.lightbox.is-open {
    display: flex;
}

.lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(1200px, 88vw);
    height: 88vh;
}

.lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    z-index: 2;
    border: 0;
    color: white;
    background: rgba(255, 255, 255, 0);
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.lightbox-close {
    top: 20px;
    right: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 34px;
    line-height: 1;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 70px;
    border-radius: 14px;
    font-size: 48px;
    line-height: 1;
    padding-bottom: 70px;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-counter {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, .65);
    color: white;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 780px) {
    .gratis {
        top: 8%;
        width: 40%;
        right: 29%;
    }
    
    .container2 {
        width: 85%;
    }
    
    .lightbox {
        padding: 12px;
    }

    .lightbox-content {
        width: 100%;
        height: 82vh;
    }

    .lightbox-nav {
        width: 44px;
        height: 58px;
        font-size: 38px;
        padding-bottom: 60px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }
    
    
    .nav a {
        font-size: 18px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
}


.language-switcher a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:50%;
    transition:.25s;
}

.language-switcher a img{
    width:40px;
    height:40px;
    border-radius:50%;
}

.language-switcher a.active{
    background:#fffefe;
}


.language-switcher{

    display:flex;
    gap:6px;
    padding:5px;
    border-radius:30px;
    box-shadow:0 6px 18px rgba(0, 0, 0, 0.356);
}   

.btn-secondary{
    padding: 11px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    background: #073b4c;
    margin: 5px;
    color: white;
}

.btn-secondary:hover{
    background: #CD6A00;
    color: #ffffff;
    cursor: pointer;
}

.btn-primary{
    padding: 11px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    background: #073b4c;
    margin: 5px;
    color: white;
}

.btn-primary:hover{
    background: #CD6A00;
    color: #ffffff;
    cursor: pointer;
}

.admin-table td{
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.profile-left {
    min-width: 0;
}

.profile-left .profile-img {
    width: 100%;
    display: block;
}

.business-about {
    margin-top: 20px;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.business-about h2 {
    margin: 0 0 14px;
    font-size: 1.35rem;
    line-height: 1.25;
    color: #073b4c;
}

.business-about-text {
    line-height: 1.7;
    overflow-wrap: anywhere;
    color: #374151;
}


/* =========================================================
   AVISO DE PRIVACIDAD / PÁGINAS LEGALES
   ========================================================= */

.legal-page {
    padding: 190px 20px 70px;
}

.legal-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .07);
    z-index: 3;
    position: relative;
}

.legal-header {
    padding-bottom: 28px;
    margin-bottom: 32px;
    border-bottom: 1px solid #e5e7eb;
}

.legal-kicker {
    display: block;
    margin-bottom: 8px;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #0b6173;
}

.legal-header h1 {
    margin: 0 0 16px;
    color: #073b4c;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
}

.legal-intro {
    max-width: 800px;
    margin-bottom: 12px;
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.75;
}

.legal-updated {
    margin: 0;
    color: #6b7280;
    font-size: .9rem;
}

.legal-section {
    margin-bottom: 36px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    margin: 0 0 14px;
    color: #073b4c;
    font-size: 1.35rem;
    line-height: 1.3;
}

.legal-section p,
.legal-section li {
    color: #374151;
    line-height: 1.75;
}

.legal-section ul {
    margin: 16px 0 20px;
    padding-left: 24px;
}

.legal-section li {
    margin-bottom: 7px;
}

.legal-section a {
    color: #0b6173;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.legal-highlight {
    margin-top: 24px;
    padding: 20px 22px;
    border-left: 4px solid #0b6173;
    border-radius: 8px;
    background: #eef7f8;
}

.legal-highlight strong {
    color: #073b4c;
}

.legal-highlight p {
    margin: 8px 0 0;
}

.legal-contact {
    padding: 18px 20px;
    background: #f7f9fa;
    border-radius: 10px;
    font-style: normal;
    line-height: 1.8;
}

.link-privacidad {
    }

@media (max-width: 768px) {

    .legal-page {
        padding: 24px 14px 45px;
        margin-top: 100px;
    }

    .legal-container {
        padding: 25px 20px;
        border-radius: 14px;
    }

    .legal-section {
        margin-bottom: 30px;
    }

    .legal-section h2 {
        font-size: 1.2rem;
    }
}

.link-privacidad {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

/* =========================================================
   DASHBOARD DE VISITANTES
   ========================================================= */

.visitor-dashboard {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 24px 0 30px;
}

.visitor-card {
    padding: 22px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
}

.visitor-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #64748b;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.visitor-card-number {
    margin-bottom: 7px;
    color: #073b4c;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.visitor-card-description {
    color: #94a3b8;
    font-size: .82rem;
}

.online-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #22c55e;
}

.visitor-card-online {
    border-top: 3px solid #22c55e;
}

@media (max-width: 1000px) {

    .visitor-dashboard {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {

    .visitor-dashboard {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   MENÚ - ANUNCIA TU NEGOCIO
   ========================================================= */

.menu-anuncia {
    animation: menuAnunciaFade 2.4s ease-in-out infinite;
}

@keyframes menuAnunciaFade {

    0%,
    100% {
        color: #ffffff;
    }

    50% {
        color: #ffd166;
    }
}

/* =========================================================
   CLIMA - HERO
   ========================================================= */

.weather-widget {
    position: absolute;

    /*
     * Posición escritorio.
     * Ajustaremos estos dos valores si fuera necesario
     * después de verlo sobre el hero real.
     */
    right: calc(48% - 550px);
    bottom: 25%;

    z-index: 12;

    width: 300px;

    padding: 16px 18px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            rgba(7, 59, 76, 0.4),
            rgba(18, 108, 126, 0.19)
        );

    border: 1px solid rgba(255, 255, 255, .25);

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .20);

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    opacity: 0;
    transform: translateY(8px);

    transition:
        opacity .45s ease,
        transform .45s ease;
}


/*
 * El atributo hidden manda mientras
 * todavía no tenemos datos.
 */
.weather-widget[hidden] {
    display: none !important;
}


/*
 * JavaScript agrega esta clase
 * cuando llegan los datos.
 */
.weather-widget.weather-visible {
    opacity: 1;
    transform: translateY(0);
}


.weather-main {
    display: flex;
    align-items: center;
    gap: 8px;
}


.weather-icon {
    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 3px 5px rgba(0, 0, 0, .20)
        );
}


.weather-temperature {
    display: flex;
    align-items: flex-start;

    font-size: 2.4rem;
    line-height: 1;

    font-weight: 800;

    white-space: nowrap;
}


.weather-temperature sup {
    margin-top: 4px;
    margin-left: 2px;

    font-size: .85rem;
    font-weight: 600;
}


.weather-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    margin-left: 3px;

    line-height: 1.2;
}


.weather-info strong {
    font-size: .86rem;
    font-weight: 700;
}


.weather-info span {
    margin-top: 4px;

    font-size: .78rem;

    color: rgba(255, 255, 255, .85);
}


.weather-details {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 8px;

    margin-top: 11px;
    padding-top: 10px;

    border-top:
        1px solid rgba(255, 255, 255, .18);

    font-size: .73rem;
}


.weather-details span {
    display: flex;
    align-items: center;

    gap: 4px;

    white-space: nowrap;
}


.weather-details strong {
    font-weight: 700;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .weather-widget {
        right: 30px;
        bottom: 135px;

        width: 285px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 768px) {

    .weather-widget {
        right: 30%;
        bottom: 5px;

        width: auto;
        max-width: 270px;

        padding: 12px 14px;

        border-radius: 14px;
    }


    .weather-icon {
        width: 46px;
        height: 46px;

        flex-basis: 46px;
    }


    .weather-temperature {
        font-size: 1.9rem;
    }


    .weather-info strong {
        font-size: .75rem;
    }


    .weather-info span {
        font-size: .7rem;
    }


    .weather-details {
        font-size: .67rem;
    }


    /*
     * En móvil quitamos sensación para
     * mantener el widget compacto.
     */
    .weather-feels {
        /*display: none !important;*/
    }

}


/* =========================================================
   MÓVILES PEQUEÑOS
   ========================================================= */

@media (max-width: 480px) {

    .weather-widget {
        right: 22%;
        bottom: 5px;

        max-width: 235px;
    }


    .weather-details {
        justify-content: flex-start;
        gap: 12px;
    }

}