/* ============================================================
   style-desktop.css — NovaVet Layout ESCRITORIO (≥ 769px)
   ============================================================ */

/* ══════════════════════════════════════════════
   DESKTOP BASE LAYOUT
══════════════════════════════════════════════ */
@media (min-width: 769px) {

    body {
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .app-container {
        width: 100vw;
        height: 100vh;
        /* Efecto "pantalla dentro de pantalla" */
        transform: scale(0.75);
        padding: 2rem 3rem;
        opacity: 0.80;
        border-radius: 40px;
    }

    /* ── Header ── */
    .main-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: var(--z-header);
        position: relative;
    }

    .logo-container {
        height: 80px;
        width: 350px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        position: relative;
        cursor: pointer;
        overflow: hidden;
    }

    .logo {
        height: 100%;
        object-fit: contain;
        position: absolute;
        left: 0;
        transition: opacity 1.5s ease;
    }

    .logo-shield {
        opacity: 1;
    }

    .logo-full {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }

    .logo-container:hover .logo-shield {
        animation: fadeShield 6s forwards;
    }

    .logo-container:hover .logo-full {
        animation: revealLogo 8s forwards;
    }

    @keyframes fadeShield {
        0% {
            opacity: 1;
        }

        10% {
            opacity: 0;
        }

        85% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }

    @keyframes revealLogo {
        0% {
            opacity: 1;
            clip-path: inset(0 100% 0 0);
        }

        15% {
            opacity: 1;
            clip-path: inset(0 0 0 0);
        }

        85% {
            opacity: 1;
            clip-path: inset(0 0 0 0);
        }

        100% {
            opacity: 1;
            clip-path: inset(0 100% 0 0);
        }
    }

    /* ── Desktop Navigation ── */
    .main-nav {
        display: flex;
        gap: 1.5rem;
        align-items: center;
    }

    .nav-btn {
        background: none;
        border: none;
        color: var(--white);
        font-family: var(--font-heading);
        font-size: 1rem;
        font-weight: 300;
        letter-spacing: 1px;
        cursor: pointer;
        padding: 0.5rem 0;
        position: relative;
        transition: all 0.3s ease;
    }

    .nav-btn:hover {
        color: var(--purple-dark);
    }

    .nav-btn.active {
        font-weight: 500;
    }

    .nav-btn.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: var(--purple);
        border-radius: 2px;
    }

    .wpp-nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease;
        margin-left: 0.5rem;
    }

    .wpp-nav-link:hover {
        transform: scale(1.1);
    }

    /* ── Desktop Cart pill ── */
    .cart-container {
        display: flex;
        align-items: center;
        gap: 1rem;
        background: var(--white);
        padding: 0.5rem 0.5rem 0.5rem 1.5rem;
        border-radius: 30px;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .cart-container.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .cart-text {
        color: var(--gray-dark);
        font-weight: 600;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }

    .cart-btn {
        background: var(--purple);
        border: none;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        color: white;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        transition: transform 0.2s ease;
    }

    .cart-btn:hover {
        transform: scale(1.05);
    }

    /* Mobile elements → hidden on desktop */
    .mobile-header-tools {
        display: none !important;
    }

    .mobile-home-logo {
        display: none !important;
    }

    /* ── Home Section ── */
    .home-glass-box {
        padding: 3rem;
        margin-right: 40px;
        margin-bottom: 60px;
        max-width: 550px;
    }

    .home-title {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }

    .home-desc {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .home-badges {
        gap: 1.5rem;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .home-badge {
        padding: 0.8rem 1.2rem;
    }

    /* ── Main Display / Catalog ── */
    .main-display {
        margin-top: 0;
        margin-bottom: 2rem;
    }

    /* Vertical category title */
    .vertical-title-container {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 60px;
        z-index: var(--z-carousel);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .vertical-title {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        font-size: 4rem;
        font-family: var(--font-heading);
        font-weight: 800;
        letter-spacing: 5px;
        color: rgba(255, 255, 255, 0.50);
        text-transform: uppercase;
        transition: opacity 0.5s ease;
    }

    /* Hide mobile-only elements in catalog */
    .mobile-top-category-bar {
        display: none !important;
    }

    .swipe-hint-overlay {
        display: none !important;
    }

    /* Display content area */
    .display-content {
        padding-left: 320px;
        padding-right: 80px;
    }

    .item-showcase {
        display: flex;
        align-items: center;
        gap: 4rem;
        width: 100%;
        max-width: 1200px;
    }

    .item-image-wrapper {
        flex: 1.2;
        height: 80vh;
    }

    .item-details {
        flex: 1;
        gap: 1.5rem;
    }

    .item-title h2 {
        font-size: 4rem;
        line-height: 0.9;
    }

    .item-title h3 {
        font-size: 2rem;
    }

    /* ME INTERESA button — desktop mode */
    .add-interest-btn .sparkle-icon {
        display: none;
    }

    .add-interest-btn .btn-text {
        display: inline;
    }

    /* ── Desktop Carousel (vertical) ── */
    .carousel-section {
        position: absolute;
        left: 180px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        z-index: var(--z-carousel);
    }

    .carousel-title {
        font-family: var(--font-heading);
        font-weight: 800;
        font-size: 1.1rem;
        line-height: 1.2;
        text-align: center;
        position: absolute;
        top: -4rem;
        width: 150px;
    }

    .carousel-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .carousel-nav.next {
        margin-top: 10px;
    }

    .carousel-track-container {
        height: 356px;
        width: 110px;
        overflow: hidden;
        padding: 0.5rem 0;
        display: flex;
        justify-content: center;
    }

    .carousel-track {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .carousel-item {
        width: 100px;
        min-height: 100px;
    }

    /* ── Social Footer (vertical, side) ── */
    .social-footer {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        z-index: var(--z-carousel);
        transition: all 0.5s ease;
    }

    .social-footer.left-align {
        left: 1.5rem;
        align-items: flex-start;
    }

    .social-footer.right-align {
        right: 1.5rem;
        align-items: flex-end;
    }

    .social-btn {
        background: transparent;
        color: var(--white);
        border: none;
        height: 40px;
        width: 40px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        cursor: pointer;
        font-size: 0.85rem;
        transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s;
        overflow: hidden;
        padding: 0;
        position: relative;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.20);
    }

    .left-align .social-btn {
        justify-content: flex-start;
    }

    .right-align .social-btn {
        justify-content: flex-start;
        flex-direction: row-reverse;
    }

    .social-name {
        white-space: nowrap;
        opacity: 0;
        transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s, padding 0.3s;
        font-family: var(--font-heading);
        font-weight: 500;
        padding: 0;
    }

    .left-align .social-name {
        transform: translateX(-10px);
    }

    .right-align .social-name {
        transform: translateX(10px);
    }

    .social-icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        object-fit: cover;
        border-radius: 50%;
    }

    .social-btn:hover {
        width: 140px;
        background-color: rgba(255, 255, 255, 0.20);
        backdrop-filter: blur(4px);
    }

    .social-btn:hover .social-name {
        opacity: 1;
        transform: translateX(0);
    }

    .left-align .social-btn:hover .social-name {
        padding-left: 10px;
    }

    .right-align .social-btn:hover .social-name {
        padding-right: 10px;
    }

    /* ── Desktop Novedades (3 per row) ── */
    .novedades-item {
        flex: 0 0 calc(33.333% - 1.34rem);
    }

    /* Hide mobile-only elements */
    .features-close-btn {
        display: none;
    }

    /* ── Contact modal — responsive fallback at 1024 ── */
    @media (max-width: 1024px) {
        .item-showcase {
            flex-direction: column;
            gap: 2rem;
            height: 60vh;
            overflow-y: auto;
        }

        .item-image-wrapper {
            height: 30vh;
        }

        .item-title h2 {
            font-size: 3rem;
        }
    }

}

/* end @media desktop */