/* =========================================================
RESET
========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{

    width:100%;
    height:100%;

    overflow:hidden;

    background:#f5f5f5;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

}

/* =========================================================
VARIABLES
========================================================= */

:root{

    --yellow:#f4b400;

    --grid-line:
        rgba(244,180,0,.32);

    --shadow:
        0 10px 40px rgba(0,0,0,.12);

}

/* =========================================================
GRID
========================================================= */

.grid-wrapper{

    position:fixed;

    inset:0;

    z-index:1;

    overflow:hidden;

}

.grid-background{

    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    background-image:

        linear-gradient(
            to right,
            var(--grid-line) 1px,
            transparent 1px
        ),

        linear-gradient(
            to bottom,
            var(--grid-line) 1px,
            transparent 1px
        );

}

/* =========================================================
GLOW
========================================================= */

.center-glow{

    position:fixed;

    left:50%;
    top:50%;

    width:700px;
    height:700px;

    transform:
        translate(-50%,-50%);

    background:
        radial-gradient(
            circle,
            rgba(244,180,0,.08) 0%,
            rgba(244,180,0,.03) 35%,
            transparent 70%
        );

    z-index:2;

    pointer-events:none;

    filter:blur(10px);

}

/* =========================================================
MAIN
========================================================= */

.main-wrapper{

    position:relative;

    width:100vw;
    height:100vh;

    z-index:5;

}

/* =========================================================
LOGO
========================================================= */

.center-logo{

    position:absolute;

    left:50%;
    top:50%;

    transform:
        translate(-50%,-50%);

    width:min(360px,42vw);

    opacity:.14;

    z-index:2;

    pointer-events:none;

}

.center-logo img{

    width:100%;

    display:block;

}

/* =========================================================
THUMBS
========================================================= */

.thumb{

    position:absolute;

    perspective:1200px;

    z-index:10;

    cursor:pointer;

    opacity:0;

    transform:
        translateY(15px)
        scale(.96);

    transition:
        opacity .7s ease,
        transform .7s ease;

}

.thumb.loaded{

    opacity:1;

    transform:
        translateY(0)
        scale(1);

}

.thumb-inner{

    position:relative;

    width:100%;
    height:100%;

    transform-style:preserve-3d;

    transition:
        transform .55s cubic-bezier(.22,.61,.36,1);

}

.thumb:hover .thumb-inner{

    transform:
        rotateY(180deg);

}

.thumb-face{

    position:absolute;

    inset:0;

    overflow:hidden;

    backface-visibility:hidden;

    border-radius:2px;

    box-shadow:var(--shadow);

}

.thumb-front img{

    width:100%;
    height:100%;

    object-fit:cover;

    display:block;

}

.thumb-back{

    transform:
        rotateY(180deg);

    display:flex;

    align-items:center;
    justify-content:center;

    text-align:center;

    padding:20px;

    background:#161616;

    color:#f4b400;

    font-size:1rem;
    font-weight:bold;

    line-height:1.25;

}

/* =========================================================
MODAL
========================================================= */

.modal{

    position:fixed;

    inset:0;

    z-index:999;

    display:flex;

    align-items:center;
    justify-content:center;

    opacity:0;
    visibility:hidden;

    transition:
        opacity .4s ease,
        visibility .4s ease;

}

.modal.active{

    opacity:1;
    visibility:visible;

}

.modal-backdrop{

    position:absolute;

    inset:0;

    background:
        rgba(0,0,0,.68);

    backdrop-filter:
        blur(10px);

}

.modal-content{

    position:relative;

    width:min(1200px,92vw);

    max-height:92vh;

    background:#fff;

    border-radius:24px;

    overflow:hidden;

    display:flex;

    align-items:stretch;

    z-index:10;

    transform:
        scale(.92)
        translateY(40px);

    transition:
        transform .55s cubic-bezier(.22,.61,.36,1);

}

.modal.active .modal-content{

    transform:
        scale(1)
        translateY(0);

}

/* =========================================================
GALLERY
========================================================= */

.modal-gallery{

    position:relative;

    flex:1.2;

    background:#fff;

    overflow:hidden;

    display:flex;

    align-items:flex-start;

}

.modal-image{

    width:100%;

    line-height:0;

}

.modal-image img{

    width:100%;

    height:auto;

    display:block;

}

/* =========================================================
ARROWS
========================================================= */

.gallery-arrow{

    position:absolute;

    top:50%;

    transform:
        translateY(-50%);

    width:56px;
    height:56px;

    border:none;

    border-radius:50%;

    background:
        rgba(255,255,255,.15);

    backdrop-filter:
        blur(8px);

    color:#fff;

    font-size:2rem;

    cursor:pointer;

    z-index:20;

}

.gallery-prev{

    left:22px;

}

.gallery-next{

    right:22px;

}

/* =========================================================
THUMBNAILS
========================================================= */

.gallery-thumbs{

    position:absolute;

    left:28px;
    right:28px;
    bottom:24px;

    display:flex;

    justify-content:center;

    gap:10px;

    z-index:30;

}

.gallery-thumb{

    width:68px;
    height:68px;

    flex-shrink:0;

    border-radius:12px;

    overflow:hidden;

    cursor:pointer;

    opacity:.55;

    border:
        2px solid transparent;

    transition:
        all .25s ease;

}

.gallery-thumb.active{

    opacity:1;

    border-color:
        var(--yellow);

}

.gallery-thumb img{

    width:100%;
    height:100%;

    object-fit:cover;

}

/* =========================================================
INFO
========================================================= */

.modal-info{

    flex:.8;

    padding:60px;

    display:flex;

    flex-direction:column;

    overflow-y:auto;

    min-height:0;

}

.modal-category{

    font-size:.78rem;

    letter-spacing:.25em;

    text-transform:uppercase;

    color:#999;

    margin-bottom:18px;

}

.modal-title{

    font-size:2.4rem;

    line-height:1.08;

    margin-bottom:28px;

}

.modal-description{

    font-size:.98rem;

    line-height:1.42;

    color:#5d5d5d;

    margin-bottom:38px;

    max-width:46ch;

}

.modal-price{

    font-size:1.7rem;

    font-weight:bold;

    color:var(--yellow);

}

/* =========================================================
MERCADOPAGO
========================================================= */

.modal-payment{

    margin-top:28px;

    width:100%;

}

/* =========================================================
PAYMENT WRAPPER
========================================================= */

.payment-wrapper{

    width:100%;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

}

/* =========================================================
PAY BUTTON
========================================================= */

.pay-btn{

    display:flex;

    align-items:center;
    justify-content:center;

    padding:16px 34px;

    border-radius:14px;

    background:var(--yellow);

    color:#111;

    font-weight:bold;

    text-decoration:none;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        opacity .25s ease;

}

.pay-btn:hover{

    transform:
        translateY(-2px);

    opacity:.92;

}

/* =========================================================
PAYMENT NOTE
========================================================= */

.payment-note{

    margin-top:14px;

    text-align:center;

    font-size:.78rem;

    color:#8a8a8a;

    line-height:1.2;

    white-space:nowrap;

}

/* =========================================================
CLOSE
========================================================= */

.close-btn{

    position:absolute;

    top:28px;
    right:28px;

    width:54px;
    height:54px;

    border:none;

    border-radius:50%;

    background:var(--yellow);

    color:#111;

    font-size:1.7rem;

    cursor:pointer;

    z-index:50;

    transition:
        transform .45s ease,
        background .25s ease;

}

.close-btn:hover{

    transform:rotate(180deg);

}

/* =========================================================
MOBILE
========================================================= */

@media(max-width:900px){

    .center-logo{

        width:58vw;

    }

    .center-glow{

        width:400px;
        height:400px;

    }

    .thumb-back{

        font-size:.72rem;

        padding:10px;

    }

    .modal-content{

        width:min(94vw,520px);

        max-height:94vh;

        flex-direction:column;

    }

    .modal-gallery{

        flex:none;

    }

    .modal-info{

        padding:36px 28px;

        max-height:40vh;

    }

    .modal-title{

        font-size:1.7rem;

    }

    .gallery-thumb{

        width:54px;
        height:54px;

        flex-shrink:0;

    }

}

/* =========================================================
WHATSAPP FLOAT
========================================================= */

.whatsapp-float{

    position:fixed;

    right:26px;
    bottom:26px;

    width:68px;
    height:68px;

    border-radius:50%;

    background:#25D366;

    color:#fff;

    display:flex;

    align-items:center;
    justify-content:center;

    z-index:9999;

    box-shadow:
        0 12px 35px rgba(0,0,0,.22);

    transition:
        transform .28s ease,
        box-shadow .28s ease,
        opacity .28s ease;

}

.whatsapp-float:hover{

    transform:
        translateY(-4px)
        scale(1.08);

    box-shadow:
        0 18px 45px rgba(0,0,0,.28);

}

.whatsapp-float:hover svg{

    transform:rotateY(180deg);

}

.whatsapp-float svg{

    width:34px;
    height:34px;

    transform-style:preserve-3d;

    transition:
        transform .6s cubic-bezier(.22,.61,.36,1);

}

/* MOBILE */

@media(max-width:900px){

    .whatsapp-float{

        width:62px;
        height:62px;

        right:18px;
        bottom:18px;

    }

    .whatsapp-float svg{

        width:30px;
        height:30px;

    }

}

/* =========================================================
WEB THUMBS
========================================================= */

.thumb-web .thumb-face{

    box-shadow:

        inset 0 0 0 1px rgba(255,255,255,.22),

        0 0 18px rgba(120,180,255,.10),

        var(--shadow);

}

/* =========================================================
AUTO FLIP
========================================================= */

.thumb.auto-flip .thumb-inner{

    transform:
        rotateY(180deg);

}

/* =========================================================
PAYMENT OPTIONS
========================================================= */

.payment-title{

    font-size:.95rem;

    font-weight:600;

    color:#444;

    margin-bottom:22px;

    text-align:center;

}

.payment-divider{

    margin:26px 0;

    color:#9a9a9a;

    font-size:.82rem;

    text-transform:uppercase;

    letter-spacing:.18em;

}

.transfer-card{

    width:100%;

    padding:22px;

    border:1px solid #ececec;

    border-radius:16px;

    background:#fafafa;

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:10px;

}

.transfer-title{

    font-weight:bold;

    font-size:1rem;

    color:#222;

}

.transfer-label{

    font-size:.75rem;

    color:#8d8d8d;

    text-transform:uppercase;

    letter-spacing:.15em;

}

.transfer-alias{

    font-size:1.25rem;

    font-weight:bold;

    color:#111;

    letter-spacing:.04em;

    user-select:all;

}

.copy-alias-btn{

    margin-top:8px;

    padding:12px 24px;

    border:none;

    border-radius:12px;

    background:#222;

    color:#fff;

    font-size:.92rem;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

}

.copy-alias-btn:hover{

    background:#000;

    transform:translateY(-2px);

}

.copy-alias-btn:disabled{

    opacity:.8;

    cursor:default;

}

.transfer-note{

    margin-top:10px;

    font-size:.78rem;

    color:#8a8a8a;

    text-align:center;

    line-height:1.45;

    max-width:280px;

}

.copy-alias-btn.whatsapp-ready{

    background:#25D366;

    color:#fff;

}

.copy-alias-btn.whatsapp-ready:hover{

    background:#1ebc59;

}

.alias-copied{

    background:#2E7D32;

    color:#fff;

    transform:scale(1.03);

}