/* =========================
   SHOP PAGE
========================= */

.shop-page{
    position:relative;
    padding:140px 0 180px;
    overflow:hidden;

    background:
    radial-gradient(circle at top left, rgba(37,99,235,.15), transparent 25%),
    linear-gradient(to bottom, #020617, #020617);

    color:white;
}

/* CONTAINER */

.shop-container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

/* HEADER */

.shop-header{
    text-align:center;
    margin-bottom:70px;
}

.shop-header span{
    display:inline-block;
    color:#2563eb;
    font-size:14px;
    font-weight:800;
    margin-bottom:18px;
}

.shop-header h1{
    font-size:64px;
    line-height:1.2;
    color:white;
    margin-bottom:24px;
}

.shop-header h1 span{
    color:#ff3131;
}

.shop-header p{
    max-width:850px;
    margin:auto;
    font-size:18px;
    line-height:1.9;
    color:#94a3b8;
}

/* =========================
   SHOP GRID
========================= */

.shop-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:28px;
}

/* =========================
   PRODUCT CARD
========================= */

.product-card{
    position:relative;
    background:#081225;
    border-radius:24px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.06);
    transition:.4s ease;
}

.product-card:hover{
    transform:translateY(-8px);
}

/* IMAGE */

.product-image{
    position:relative;
    height:220px;
    overflow:hidden;
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s ease;
}

.product-card:hover .product-image img{
    transform:scale(1.06);
}

/* OVERLAY */

.product-overlay{
    position:absolute;
    inset:0;
    background:rgba(2,6,23,.68);

    display:flex;
    align-items:center;
    justify-content:center;

    gap:14px;

    opacity:0;

    transition:.4s ease;
}

.product-card:hover .product-overlay{
    opacity:1;
}

/* ICONS */

.preview-icon-btn,
.product-icon-btn{
    width:54px;
    height:54px;

    border-radius:50%;

    background:white;
    color:#0f172a;

    display:flex;
    align-items:center;
    justify-content:center;

    text-decoration:none;

    font-size:18px;

    transition:.3s ease;
}

.preview-icon-btn:hover,
.product-icon-btn:hover{
    background:#ff3131;
    color:white;
}

/* CONTENT */

.product-content{
    padding:22px;
}

/* CATEGORY */

.product-category{
    display:inline-flex;

    padding:7px 14px;

    border-radius:40px;

    background:rgba(37,99,235,.15);

    color:#60a5fa;

    font-size:11px;
    font-weight:700;

    margin-bottom:16px;
}

/* TITLE */

.product-content h3{
    font-size:22px;
    line-height:1.5;
    color:white;
    margin-bottom:12px;
}

/* TECH */

.product-tech{
    color:#94a3b8;
    font-size:14px;
    margin-bottom:18px;
}

/* FOOTER */

.product-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
}

/* PRICE */

.product-price{
    display:flex;
    align-items:center;
    gap:10px;
}

.old-price{
    color:#64748b;
    text-decoration:line-through;
    font-size:14px;
}

.new-price{
    color:white;
    font-size:30px;
    font-weight:800;
}

/* BUTTON */

.product-btn{
    display:inline-flex;

    align-items:center;
    justify-content:center;

    height:48px;

    padding:0 18px;

    border-radius:0 16px 0 16px;

    background:#2563eb;

    color:white;

    text-decoration:none;

    font-size:13px;
    font-weight:700;

    transition:.3s ease;
}

.product-btn:hover{
    background:#ff3131;
}

/* =========================
   PRODUCT DETAILS PAGE
========================= */

.product-details-page{
    position:relative;

    padding:160px 0;

    overflow:hidden;

    background:
    radial-gradient(circle at top left, rgba(37,99,235,.15), transparent 25%),
    linear-gradient(to bottom, #020617, #020617);

    color:white;
}

/* DETAILS CONTAINER */

.product-details-container{
    width:90%;
    max-width:1400px;

    margin:auto;

    display:grid;

    grid-template-columns:minmax(0,1fr) 380px;

    gap:40px;

    align-items:start;
}

/* LEFT COLUMN */

.product-left-column{
    display:flex;
    flex-direction:column;
    gap:30px;
}

/* IMAGE */

.product-preview-image{
    width:100%;

    border-radius:28px;

    overflow:hidden;

    background:#081225;

    border:1px solid rgba(255,255,255,.06);
}

.product-preview-image img{
    width:100%;
    display:block;
}

/* SIDEBAR */

.product-sidebar{
    position:sticky;
    top:120px;
}

/* BOXES */

.product-description-box,
.product-features-wrapper,
.product-info-box{
    background:#081225;

    border:1px solid rgba(255,255,255,.06);

    border-radius:26px;

    padding:32px;
}

/* HEADINGS */

.product-description-box h2,
.product-features-wrapper h2{
    font-size:32px;
    margin-bottom:24px;
    color:white;
}

/* CONTENT */

.product-description-content{
    color:#cbd5e1;
    line-height:2;
    font-size:17px;
}

/* CATEGORY */

.details-category{
    display:inline-flex;

    padding:10px 18px;

    border-radius:40px;

    background:rgba(37,99,235,.15);

    color:#60a5fa;

    font-size:13px;
    font-weight:700;

    margin-bottom:24px;
}

/* TITLE */

.product-details-right h1{
    font-size:50px;
    line-height:1.2;
    margin-bottom:22px;
    color:white;
}

/* TECH */

.details-tech{
    color:#94a3b8;
    font-size:17px;
    margin-bottom:24px;
}

/* PRICE */

.details-price{
    font-size:54px;
    font-weight:800;
    color:#ff3131;
    margin-bottom:34px;
}

/* BUTTONS */

.details-buttons{
    display:flex;
    gap:16px;
    margin-bottom:36px;
}

/* BUTTON */

.details-demo-btn,
.details-buy-btn{
    flex:1;

    height:58px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:0 18px 0 18px;

    text-decoration:none;

    font-size:14px;
    font-weight:700;

    transition:.3s ease;
    padding: 20px;
}

.details-demo-btn{
    background:#2563eb;
    color:white;
}

.details-buy-btn{
    background:#ff3131;
    color:white;
}

/* INFO */

.product-info-box{
    margin-top:20px;
}

.product-info-item{
    display:flex;
    justify-content:space-between;
    gap:20px;

    padding:18px 0;

    border-bottom:1px solid rgba(255,255,255,.06);
}

.product-info-item:last-child{
    border:none;
}

.product-info-item span{
    color:#94a3b8;
}

.product-info-item strong{
    color:white;
}

/* FEATURES */

.details-features{
    display:grid;

    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:18px;
}

.details-feature{
    background:#020617;

    border:1px solid rgba(255,255,255,.06);

    border-radius:18px;

    padding:22px;

    color:#cbd5e1;

    min-height:90px;

    display:flex;
    align-items:center;
}

/* =========================
   PURCHASE MODAL
========================= */

.purchase-modal{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,.75);

    display:none;

    align-items:center;
    justify-content:center;

    z-index:9999;

    padding:20px;
}

.purchase-modal-box{
    width:100%;
    max-width:500px;

    background:#081225;

    border-radius:28px;

    padding:40px;

    position:relative;
}

.purchase-modal-box h2{
    color:white;
    font-size:34px;
    margin-bottom:30px;
}

.purchase-close{
    position:absolute;

    top:20px;
    right:20px;

    width:44px;
    height:44px;

    border:none;

    border-radius:50%;

    background:#ff3131;

    color:white;

    font-size:24px;

    cursor:pointer;
}

.purchase-modal-box input{
    width:100%;
    height:58px;

    padding:0 20px;

    border-radius:14px;

    border:1px solid rgba(255,255,255,.06);

    background:#020617;

    color:white;

    margin-bottom:18px;
}

.purchase-modal-box button[type="submit"]{
    width:100%;
    height:58px;

    border:none;

    border-radius:0 18px 0 18px;

    background:#2563eb;

    color:white;

    font-size:14px;
    font-weight:700;

    cursor:pointer;
}

/* =========================
   MOBILE
========================= */

@media(max-width:992px){

    /* SHOP GRID */

    .shop-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:18px;
    }

    /* PRODUCT DETAILS */

    .product-details-container{
        display:grid;

        grid-template-columns:1fr;

        gap:24px;
    }

    /* IMAGE */

    .product-preview-image{
        order:1;
    }

    /* SIDEBAR */

    .product-details-right{
        order:2;
    }

    /* DESCRIPTION */

    .product-description-box{
        order:3;
    }

    /* FEATURES */

    .product-features-wrapper{
        order:4;
    }

    /* LEFT COLUMN */

    .product-left-column{
        display:contents;
    }

    /* SIDEBAR */

    .product-sidebar{
        position:relative;
        top:auto;
    }

    /* TITLE */

    .product-details-right h1{
        font-size:38px;
    }

    /* PRICE */

    .details-price{
        font-size:42px;
    }

    /* BUTTONS */

    .details-buttons{
        flex-direction:column;
    }

    /* FEATURES */

    .details-features{
        grid-template-columns:1fr;
    }

    /* BOXES */

    .product-description-box,
    .product-features-wrapper,
    .product-info-box{
        padding:24px;
        border-radius:22px;
    }

}

/* =========================
   SUCCESS MODAL
========================= */

.success-modal-overlay{
    position:fixed;

    inset:0;

    background:rgba(0,0,0,.75);

    display:flex;

    align-items:center;
    justify-content:center;

    z-index:999999;

    padding:20px;

    animation:fadeIn .3s ease;
}

/* BOX */

.success-modal-box{
    width:100%;
    max-width:500px;

    background:#081225;

    border-radius:28px;

    padding:50px 40px;

    text-align:center;

    border:1px solid rgba(255,255,255,.06);
}

/* ICON */

.success-icon{
    width:90px;
    height:90px;

    border-radius:50%;

    background:rgba(34,197,94,.15);

    color:#22c55e;

    display:flex;

    align-items:center;
    justify-content:center;

    font-size:42px;
    font-weight:800;

    margin:auto;

    margin-bottom:30px;
}

/* TITLE */

.success-modal-box h2{
    color:white;

    font-size:34px;

    margin-bottom:18px;
}

/* TEXT */

.success-modal-box p{
    color:#94a3b8;

    line-height:1.8;

    margin-bottom:34px;
}

/* BUTTON */

.success-modal-btn{
    display:inline-flex;

    align-items:center;
    justify-content:center;

    height:56px;

    padding:0 34px;

    border-radius:0 18px 0 18px;

    background:#2563eb;

    color:white;

    text-decoration:none;

    font-size:14px;
    font-weight:700;

    transition:.3s ease;
}

.success-modal-btn:hover{
    background:#ff3131;
}

/* ANIMATION */

@keyframes fadeIn{

    from{
        opacity:0;
    }

    to{
        opacity:1;
    }

}

/* =========================
   MANUAL PAYMENT PAGE
========================= */

.manual-payment-page{
    padding:160px 0;
    background:
    radial-gradient(circle at top left, rgba(37,99,235,.15), transparent 25%),
    #020617;
    color:white;
}

/* CONTAINER */
.manual-payment-container{
    width:90%;
    max-width:1400px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 520px;
    gap:40px;
}

/* PRODUCT CARD */
.manual-product-card{
    background:#081225;
    border-radius:28px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.06);
    margin-bottom:30px;
}

.manual-product-card img{
    width:100%;
    height:380px;
    object-fit:cover;
}

/* CONTENT */
.manual-product-content{
    padding:32px;
}

.manual-product-content span{
    display:inline-flex;
    padding:8px 14px;
    border-radius:40px;
    background:rgba(37,99,235,.15);
    color:#60a5fa;
    font-size:12px;
    font-weight:700;
    margin-bottom:20px;
}

.manual-product-content h1{
    font-size:42px;
    line-height:1.3;
    margin-bottom:24px;
}

/* PRICE */

.manual-product-price{
    color:#22c55e;
    font-size:48px;
    font-weight:800;
}

/* ACCOUNT */

.payment-account-box{
    background:#081225;
    border-radius:28px;
    padding:36px;
    border:1px solid rgba(255,255,255,.06);
}

.payment-account-box h2{
    font-size:34px;
    margin-bottom:18px;
}

.payment-account-box p{
    color:#94a3b8;
    line-height:1.8;
    margin-bottom:30px;
}

/* ACCOUNT ITEM */
.payment-account-item{
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:18px 0;
    border-bottom:1px solid rgba(255,255,255,.06);
}

.payment-account-item:last-child{
    border:none;
}

.payment-account-item span{
    color:#94a3b8;
}

.payment-account-item strong{
    color:white;
}

/* FORM */
.manual-payment-form{
    background:#081225;
    border-radius:28px;
    padding:40px;
    border:1px solid rgba(255,255,255,.06);
    position:sticky;
    top:120px;
}

/* TITLE */

.manual-payment-form h2{
    font-size:34px;
    margin-bottom:30px;
}

/* GROUP */
.manual-form-group{
    margin-bottom:24px;
}

.manual-form-group label{
    display:block;
    margin-bottom:12px;
    font-weight:700;
}

/* INPUT */
.manual-form-group input{
    width:100%;
    height:58px;
    padding:0 20px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.06);
    background:#020617;
    color:white;
}

/* FILE */
.manual-form-group input[type="file"]{
    padding:16px;
}

/* BUTTON */
.manual-payment-btn{
    width:100%;
    height:60px;
    border:none;
    border-radius:0 20px 0 20px;
    background:#2563eb;
    color:white;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    transition:.3s ease;
}

.manual-payment-btn:hover{
    background:#ff3131;
}

/* MOBILE */

@media(max-width:992px){
    .manual-payment-container{
        grid-template-columns:1fr;
    }

    .manual-payment-form{
        position:relative;
        top:auto;
    }

    .manual-product-content h1{
        font-size:32px;
    }

    .manual-product-price{
        font-size:38px;
    }

}

/* =========================
   PAYMENT SUCCESS MODAL
========================= */

.payment-success-overlay{
    position:fixed;

    inset:0;

    background:rgba(0,0,0,.75);

    z-index:999999;

    display:flex;

    align-items:center;
    justify-content:center;

    padding:20px;

    animation:fadeIn .3s ease;
}

/* BOX */

.payment-success-box{
    width:100%;
    max-width:520px;

    background:#081225;

    border-radius:32px;

    padding:50px 40px;

    text-align:center;

    border:1px solid rgba(255,255,255,.06);
}

/* ICON */

.payment-success-icon{
    width:100px;
    height:100px;

    border-radius:50%;

    background:rgba(34,197,94,.15);

    color:#22c55e;

    display:flex;

    align-items:center;
    justify-content:center;

    font-size:46px;
    font-weight:800;

    margin:auto;

    margin-bottom:30px;
}

/* TITLE */

.payment-success-box h2{
    color:white;
    font-size:36px;
    line-height:1.3;
    margin-bottom:20px;
}

/* TEXT */

.payment-success-box p{
    color:#94a3b8;
    line-height:1.9;
    margin-bottom:34px;
}

/* BUTTON */
.payment-success-btn{
    display:inline-flex;

    align-items:center;
    justify-content:center;
    height:58px;
    padding:0 34px;
    border-radius:0 18px 0 18px;
    background:#2563eb;
    color:white;
    text-decoration:none;
    font-size:14px;
    font-weight:700;
    transition:.3s ease;
}

.payment-success-btn:hover{
    background:#ff3131;
}

/* =========================
   TRANSACTIONS PAGE
========================= */

.transactions-page{
    padding:160px 0;

    background:
    radial-gradient(circle at top left, rgba(37,99,235,.15), transparent 25%),
    #020617;

    color:white;
}

/* CONTAINER */

.transactions-container{
    width:90%;
    max-width:900px;

    margin:auto;
}

/* HEADER */

.transactions-header{
    text-align:center;

    margin-bottom:40px;
}

.transactions-header h1{
    font-size:54px;

    margin-bottom:20px;
}

.transactions-header p{
    color:#94a3b8;

    line-height:1.8;
}

/* FORM */

.transactions-search-form{
    display:flex;

    gap:16px;

    margin-bottom:50px;
}

.transactions-search-form input{
    flex:1;

    height:60px;

    padding:0 22px;

    border-radius:16px;

    border:1px solid rgba(255,255,255,.06);

    background:#081225;

    color:white;
}

.transactions-search-form button{
    height:60px;

    padding:0 30px;

    border:none;

    border-radius:0 18px 0 18px;

    background:#2563eb;

    color:white;

    font-weight:700;

    cursor:pointer;
}

/* CARD */

.transaction-card{
    background:#081225;

    border-radius:24px;

    padding:30px;

    border:1px solid rgba(255,255,255,.06);

    margin-bottom:20px;
}

/* TOP */

.transaction-top{
    display:flex;

    justify-content:space-between;

    gap:20px;

    margin-bottom:24px;
}

.transaction-top h2{
    font-size:24px;

    margin-bottom:10px;
}

.transaction-top span{
    color:#94a3b8;
}

/* PRICE */

.transaction-price{
    color:#22c55e;

    font-size:28px;
    font-weight:800;
}

/* STATUS */

.transaction-status-wrapper{
    display:flex;

    gap:12px;

    flex-wrap:wrap;
}

/* EMPTY */

.transaction-empty{
    padding:40px;

    border-radius:24px;

    background:#081225;

    text-align:center;

    color:#94a3b8;
}

/* MOBILE */

@media(max-width:768px){

    .transactions-search-form{
        flex-direction:column;
    }

    .transaction-top{
        flex-direction:column;
    }

    .transactions-header h1{
        font-size:38px;
    }

}