
/* ================= GLOBAL RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #fafafa;
}

.login-btn-with-circle{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:6px;
text-align:center;
}

.login-circle-small{
width:60px;
height:60px;
border-radius:50%;
background:#f1f5f9;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 4px 12px rgba(15,23,42,.12);
overflow:hidden;
}

.login-circle-small i{
font-size:24px;
color:#4479ac;
}

.profile-small-img{
width:100%;
height:100%;
object-fit:cover;
border-radius:50%;
}

.profile-initial{
font-size:22px;
font-weight:600;
color:#4479ac;
}

.login-btn-text{
font-size:14px;
font-weight:600;
color:#334155;
}


.login-note{
    font-size:13px;
    color:#64748b;
    margin-top:8px;
}
/* ADD PRODUCT BUTTON */

.add-product-btn{
background:linear-gradient(135deg,#0098db,#006fa1);
color:#fff;
border:none;
padding:12px 18px;
border-radius:10px;
font-size:15px;
font-weight:600;
cursor:pointer;
margin-bottom:20px;
}

.add-product-btn:hover{
opacity:.9;
}


/* POPUP OVERLAY */

.order-popup-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.55);
display:none;
align-items:center;
justify-content:center;
z-index:9999;
}
.add-product-wrap{
    text-align:center;
    margin:25px 0;
}

/* POPUP */

.order-popup{
background:#fff;
padding:28px;
border-radius:18px;
width:50%;
max-width:90%;
box-shadow:0 30px 60px rgba(0,0,0,.2);
}


/* TITLE */

.order-popup h3{
margin-bottom:20px;
font-size:22px;
font-weight:700;
color:#111;
}


/* FORM GRID */

.order-form-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:12px;
margin-bottom:18px;
}


/* INPUT */

.order-form-grid input{
width:100%;
padding:12px;
border:1px solid #d6dbe3;
border-radius:8px;
font-size:14px;
outline:none;
}

.order-form-grid input:focus{
border-color:#0098db;
}


/* ACTIONS */

.order-popup-actions{
display:flex;
gap:10px;
}


/* SAVE BUTTON */

.order-save-btn{
flex:1;
background:linear-gradient(135deg,#0098db,#006fa1);
border:none;
color:#fff;
padding:12px;
border-radius:10px;
font-weight:600;
cursor:pointer;
}


/* CANCEL BUTTON */

.order-cancel-btn{
flex:1;
background:#e5e7eb;
border:none;
padding:12px;
border-radius:10px;
font-weight:600;
cursor:pointer;
}


/* MOBILE */

@media(max-width:600px){

.order-form-grid{
grid-template-columns:1fr;
}

.order-popup{
width:92%;
}

}



.phone-input-group{
    display:flex;
    align-items:stretch;
    gap:12px;
}

.phone-country-wrap{
    flex:0 0 220px;
    display:flex;
}

.phone-country-wrap .select2-container{
    width:100% !important;
    height:58px;
}

.phone-input-group input{
    flex:1;
    height:58px;
    min-width:0;
    border:1px solid #d7e0ea;
    border-radius:14px;
    background:#fff;
    padding:0 18px;
    font-size:16px;
    color:#0f172a;
    outline:none;
    box-shadow:0 2px 8px rgba(15,23,42,.03);
    box-sizing:border-box;
}

.phone-input-group input:focus{
    border-color:#0098db;
    box-shadow:0 0 0 4px rgba(0,152,219,.10);
}

/* Select2 match input exactly */
.phone-country-wrap .select2-container--default .select2-selection--single{
    height:58px !important;
    border:1px solid #d7e0ea !important;
    border-radius:14px !important;
    background:#fff !important;
    padding:0 42px 0 16px !important;
    display:flex !important;
    align-items:center !important;
    box-shadow:0 2px 8px rgba(15,23,42,.03);
    box-sizing:border-box;
}

.phone-country-wrap .select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height:58px !important;
    padding-left:0 !important;
    padding-right:0 !important;
    font-size:16px !important;
    color:#0f172a !important;
}

.phone-country-wrap .select2-container--default .select2-selection--single .select2-selection__arrow{
    height:58px !important;
    right:10px !important;
}

.phone-country-wrap .select2-container--default.select2-container--focus .select2-selection--single{
    border-color:#0098db !important;
    box-shadow:0 0 0 4px rgba(0,152,219,.10);
}

@media (max-width:768px){
    .phone-input-group{
        flex-direction:column;
        align-items:stretch;
    }

    .phone-country-wrap{
        flex:unset;
    }

    .phone-country-wrap .select2-container,
    .phone-input-group input{
        width:100% !important;
    }
}

.popup-overlay{
    position:fixed;
    inset:0;
    background:rgba(15,23,42,.55);
    backdrop-filter:blur(4px);
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
    z-index:9999;
}

.whatsapp-popup-box{
    width:100%;
    max-width:520px;
    background:#ffffff;
    border-radius:24px;
    padding:28px;
    box-shadow:0 30px 80px rgba(15,23,42,.22);
    border:1px solid rgba(226,232,240,.9);
    animation:popupFadeUp .22s ease;
}

@keyframes popupFadeUp{
    from{
        opacity:0;
        transform:translateY(14px) scale(.98);
    }
    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

.popup-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:8px;
}

.popup-header h3{
    margin:0;
    font-size:32px;
    line-height:1.15;
    font-weight:800;
    color:#0f172a;
}

.popup-close-btn{
    width:40px;
    height:40px;
    border:none;
    border-radius:12px;
    background:#f8fafc;
    color:#64748b;
    font-size:24px;
    line-height:1;
    cursor:pointer;
    transition:all .2s ease;
}

.popup-close-btn:hover{
    background:#eef2f7;
    color:#0f172a;
}

.popup-subtitle{
    margin:0 0 22px;
    font-size:15px;
    line-height:1.6;
    color:#64748b;
}

.phone-input-card{
    background:linear-gradient(180deg,#f8fbff 0%, #fdfefe 100%);
    border:1px solid #dbe7f3;
    border-radius:18px;
    padding:16px;
    margin-bottom:22px;
}

.popup-label{
    display:block;
    margin-bottom:10px;
    font-size:13px;
    font-weight:700;
    letter-spacing:.2px;
    color:#334155;
}

.phone-input-group{
    display:flex;
    align-items:center;
    gap:12px;
}

.phone-country-wrap{
    flex:0 0 145px;
}

.phone-input-group select,
.phone-input-group input{
    width:100%;
    height:56px;
    border:1px solid #d7e0ea;
    border-radius:14px;
    background:#fff;
    padding:0 16px;
    font-size:16px;
    color:#0f172a;
    outline:none;
    transition:all .2s ease;
    box-shadow:0 2px 8px rgba(15,23,42,.03);
}

.phone-input-group select{
    font-weight:600;
    cursor:pointer;
}

.phone-input-group input{
    flex:1;
}

.phone-input-group select:focus,
.phone-input-group input:focus{
    border-color:#0098db;
    box-shadow:0 0 0 4px rgba(0,152,219,.10);
}

.phone-input-group input::placeholder{
    color:#94a3b8;
}

.modern-popup-actions{
    display:flex;
    gap:12px;
}

.popup-save-btn,
.popup-cancel-btn{
    flex:1;
    height:52px;
    border:none;
    border-radius:14px;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    transition:all .22s ease;
}

.popup-save-btn{
    background:linear-gradient(135deg,#0098db,#006fa1);
    color:#fff;
    box-shadow:0 12px 24px rgba(0,152,219,.22);
}

.popup-save-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 16px 28px rgba(0,152,219,.28);
}

.popup-cancel-btn{
    background:#f8fafc;
    color:#475569;
    border:1px solid #dbe3ee;
}

.popup-cancel-btn:hover{
    background:#f1f5f9;
    color:#0f172a;
}

@media (max-width:768px){
    .whatsapp-popup-box{
        max-width:100%;
        padding:20px;
        border-radius:20px;
    }

    .popup-header h3{
        font-size:24px;
    }

    .phone-input-group{
        flex-direction:column;
        align-items:stretch;
    }

    .phone-country-wrap{
        flex:unset;
    }

    .modern-popup-actions{
        flex-direction:column;
    }

    .popup-save-btn,
    .popup-cancel-btn{
        width:100%;
    }
}
.popup-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.6);
display:none;
align-items:center;
justify-content:center;
z-index:9999;
}

.popup-box{
background:#fff;
padding:20px;
border-radius:12px;
width:40%;
max-width:90%;
}

.popup-box h3{
margin-top:0;
font-size:18px;
margin-bottom:12px;
}

.popup-box input{
width:100%;
padding:10px;
border:1px solid #ddd;
border-radius:6px;
margin-bottom:0px;
}

.popup-actions{
display:flex;
gap:10px;
}

.popup-actions button{
flex:1;
border:none;
background:#0098db;
color:#fff;
padding:8px;
border-radius:6px;
cursor:pointer;
}

.popup-actions button:last-child{
background:#6b7280;
}

.contact-manage-wrap{
    position:relative;
    display:inline-block;
}

.contact-manage-btn{
    width:38px;
    height:38px;
    border:none;
    border-radius:10px;
    background:#f8fafc;
    color:#0098db;
    cursor:pointer;
    box-shadow:0 4px 12px rgba(15,23,42,0.06);
}

.contact-manage-dropdown{
    display:none;
    position:absolute;
    top:46px;
    right:0;
    min-width:220px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    box-shadow:0 14px 30px rgba(15,23,42,0.10);
    padding:8px;
    z-index:20;
}

.contact-manage-dropdown.show{
    display:block;
}

.contact-manage-dropdown button{
    width:100%;
    border:none;
    background:#fff;
    text-align:left;
    padding:12px 14px;
    border-radius:8px;
    font-size:14px;
    color:#334155;
    cursor:pointer;
}

.contact-manage-dropdown button:hover{
    background:#f8fafc;
    color:#0098db;
}

.profile-img{
cursor:pointer;
}
.profile-image-wrapper{
position:relative;
display:inline-block;
cursor:pointer;
}

.profile-camera{
position:absolute;
bottom:0;
right:0;
background:#0098db;
color:#fff;
width:26px;
height:26px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:12px;
box-shadow:0 4px 10px rgba(0,0,0,.2);
pointer-events:none;
}

@media (max-width:768px){
    .popup-box{
background:#fff;
padding:20px;
border-radius:12px;
width:100%;
max-width:100%;
}
    .profile-image-wrapper{
        width:fit-content;
        max-width:100%;
    }

    .profile-camera{
        width:22px;
        height:22px;
        right:2px;
        bottom:2px;
        font-size:10px;
        border-width:1.5px;
    }
}

.bio-wrapper{
position:relative;
}

.bio-edit-icon{
position:absolute;
top:0;
right:0;
cursor:pointer;
color:#0098db;
font-size:14px;
}

.bio-edit-panel{
display:none;
margin-top:10px;
}

.bio-edit-panel textarea{
width:100%;
min-height:80px;
padding:10px;
border:1px solid #ddd;
border-radius:6px;
}

.bio-edit-actions{
margin-top:8px;
display:flex;
gap:8px;
}

.bio-edit-actions button{
background:#0098db;
color:#fff;
border:none;
padding:6px 12px;
border-radius:5px;
cursor:pointer;
}

.upload-box{
    display:flex;
    align-items:center;
    justify-content:center;
    border:2px dashed #cbd5e1;
    background:#f8fafc;
    cursor:pointer;
    transition:all .25s ease;
}

.upload-box-inner{
    text-align:center;
    pointer-events:none;
}

.upload-plus{
    display:block;
    font-size:38px;
    font-weight:700;
    color:#0098db;
    line-height:1;
}

.upload-text{
    display:block;
    margin-top:6px;
    font-size:13px;
    font-weight:600;
    color:#334155;
}

.upload-subtext{
    display:block;
    margin-top:4px;
    font-size:12px;
    color:#64748b;
}

.upload-box:hover{
    border-color:#0098db;
    background:#f1f7fb;
}

.upload-box.drag-over{
    border-color:#0098db;
    background:#e0f2fe;
    box-shadow:0 0 0 4px rgba(0,152,219,0.12);
    transform:scale(1.01);
}

.remove-screenshot-btn{
    position:absolute;
    top:10px;
    right:10px;
    width:30px;
    height:30px;
    border:none;
    border-radius:50%;
    background:rgba(15,23,42,0.75);
    color:#fff;
    font-size:18px;
    line-height:1;
    cursor:pointer;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:center;
}

.remove-screenshot-btn:hover{
    background:#ef4444;
}

.screenshot-section{
    margin-top:24px;
}

.screenshot-top-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:14px;
}

.screenshot-title{
    margin:0;
    font-size:20px;
    font-weight:700;
    color:#111827;
}

.screenshot-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.upload-screenshot-btn{
    background:linear-gradient(135deg,#0098db,#006fa1);
    color:#fff;
    border:none;
    border-radius:10px;
    padding:11px 16px;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    transition:all .25s ease;
    box-shadow:0 8px 20px rgba(0,152,219,0.18);
}

.upload-screenshot-btn:hover{
    background:linear-gradient(135deg,#12a4e6,#005f8d);
    transform:translateY(-1px);
}

.screenshot-row{
    display:flex;
    gap:14px;
    overflow-x:auto;
    padding-bottom:8px;
    scroll-behavior:smooth;
}

.screenshot-row::-webkit-scrollbar{
    height:8px;
}

.screenshot-row::-webkit-scrollbar-thumb{
    background:#cbd5e1;
    border-radius:20px;
}

.screenshot{
    position:relative;
    flex:0 0 auto;
    width:170px;
    height:320px;
    border-radius:18px;
    overflow:hidden;
    background:#f8fafc;
    border:1px solid #e5e7eb;
    box-shadow:0 8px 24px rgba(15,23,42,0.06);
    cursor:pointer;
    transition:transform .25s ease, box-shadow .25s ease;
}

.screenshot:hover{
    transform:translateY(-3px);
    box-shadow:0 14px 30px rgba(15,23,42,0.12);
}

.screenshot img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.remove-screenshot-btn{
    position:absolute;
    top:10px;
    right:10px;
    width:30px;
    height:30px;
    border:none;
    border-radius:50%;
    background:rgba(15,23,42,0.75);
    color:#fff;
    font-size:18px;
    line-height:1;
    cursor:pointer;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:all .2s ease;
}

.remove-screenshot-btn:hover{
    background:#ef4444;
}

@media (max-width:768px){
    .screenshot-top-bar{
        align-items:stretch;
    }

    .upload-screenshot-btn{
        width:100%;
        text-align:center;
    }

    .screenshot{
        width:145px;
        height:270px;
    }
}
/* ================= MORE TAB CUSTOM CONTENT UI ================= */

.more-box-builder{
    margin-top:30px;
}

.more-box-builder-head{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
    margin:18px 0;
}

.more-boxes-container,
.saved-more-cards{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.more-dynamic-box{
    background:#f4f4f4;
    border:1px solid #e3e3e3;
    border-radius:12px;
    padding:20px;
}

.more-box-title{
    width:100%;
    height:52px;
    border:2px solid #a7a7a7;
    border-radius:8px;
    background:#fff;
    padding:0 16px;
    font-size:16px;
    color:#444;
    margin-bottom:18px;
    outline:none;
}

.more-box-title:focus{
    border-color:#5b83c5;
}

.more-editor-wrap{
    background:#fff;
    border:1px solid #d8d8d8;
    border-radius:6px;
    overflow:hidden;
}

.more-editor-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    padding:14px;
    border-bottom:1px solid #e4e4e4;
    background:#fff;
}

.add-box-media-btn,
.editor-switch-btn,
.save-box-btn,
.delete-more-box-btn{
    border:2px solid #5c84c6;
    background:#fff;
    color:#4d73b3;
    border-radius:6px;
    padding:10px 16px;
    font-size:15px;
    font-weight:500;
    cursor:pointer;
    transition:all .2s ease;
}

.add-box-media-btn:hover,
.editor-switch-btn:hover,
.delete-more-box-btn:hover{
    background:#f3f8ff;
}

.add-box-area{
    text-align:center;
    margin:25px 0;
}

.add-more-box-btn{
    background:#f8fafc;
    border:2px dashed #cbd5e1;
    border-radius:16px;
    padding:18px 30px;
    font-size:16px;
    font-weight:600;
    color:#334155;
    cursor:pointer;
    transition:all .25s ease;
}

.add-more-box-btn:hover{
    background:#f1f5f9;
    border-color:#0098db;
    color:#0098db;
}

.save-box-btn{
    background:linear-gradient(135deg,#0098db,#006fa1);
    border-color:#0098db;
    color:#fff;
}

.save-box-btn:hover{
    background:linear-gradient(135deg,#0284c7,#075985);
    color:#fff;
}

.editor-view-switch{
    display:flex;
    align-items:center;
}

.editor-switch-btn{
    border:1px solid #cfd8e3;
    border-radius:0;
    padding:9px 14px;
}

.editor-switch-btn:first-child{
    border-top-left-radius:6px;
    border-bottom-left-radius:6px;
}

.editor-switch-btn:last-child{
    border-top-right-radius:6px;
    border-bottom-right-radius:6px;
}

.editor-switch-btn.active{
    background:#f3f6fb;
}

.more-toolbar{
    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
    padding:10px 12px;
    border-bottom:1px solid #e4e4e4;
    background:#fafafa;
}

.toolbar-select{
    min-width:140px;
    height:40px;
    border:1px solid #d4d4d4;
    border-radius:4px;
    background:#fff;
    padding:0 12px;
    font-size:14px;
    outline:none;
}

.tool-btn{
    min-width:38px;
    height:38px;
    border:none;
    background:transparent;
    border-radius:4px;
    font-size:18px;
    color:#444;
    cursor:pointer;
    transition:all .2s ease;
}

.tool-btn:hover{
    background:#eef4ff;
    color:#2f66b0;
}

.more-editor-textarea{
    width:100%;
    min-height:240px;
    border:none;
    outline:none;
    resize:vertical;
    padding:18px;
    background:#fff;
    color:#444;
    font-size:15px;
    line-height:1.7;
}

.more-box-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:18px;
}

.saved-more-card{
    background:#fff;
    border:1px solid #e7edf4;
    border-radius:18px;
    padding:18px;
    box-shadow:0 8px 24px rgba(15,23,42,0.05);
}

.saved-more-card .app-info h3{
    margin:0 0 8px;
    font-size:20px;
    font-weight:700;
}

.saved-more-card .app-info p{
    margin:0 0 8px;
    font-size:15px;
    line-height:1.7;
}

.saved-more-card .app-info p:last-child{
    margin-bottom:0;
}

.saved-more-card .app-info a{
    color:#00ff13;
    text-decoration:none;
    word-break:break-word;
}

.saved-more-card .app-info a:hover{
    text-decoration:underline;
}

@media (max-width:768px){
    .more-dynamic-box{
        padding:14px;
    }

    .more-editor-top{
        flex-direction:column;
        align-items:stretch;
    }

    .editor-view-switch{
        width:100%;
    }

    .editor-switch-btn{
        flex:1;
        text-align:center;
    }

    .toolbar-select{
        width:100%;
    }

    .tool-btn{
        min-width:34px;
        height:34px;
        font-size:17px;
    }

    .more-box-actions{
        flex-direction:column;
    }

    .add-more-box-btn,
    .add-box-media-btn,
    .save-box-btn,
    .delete-more-box-btn{
        width:100%;
        text-align:center;
    }
}


.post-offers-list{
    margin-top:20px;
    display:flex;
    flex-direction:column;
    gap:14px;
}

.post-offer-item{
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:14px;
    background:#fff;
}

.post-offer-left h4{
    margin:0 0 8px;
    font-size:15px;
    font-weight:700;
    color:#1f2937;
}

.post-offer-price{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
}

.post-offer-actions{
    display:flex;
    gap:10px;
    margin-top:12px;
    flex-wrap:wrap;
}

.post-offer-actions .buy-btn,
.post-offer-actions .preview-btn{
    flex:1;
    min-width:130px;
}

@media (max-width: 768px){
    .modal-content{
        flex-direction:column;
        height:auto;
        max-height:90vh;
        overflow-y:auto;
    }

    .modal-img,
    .modal-side{
        flex:unset;
        width:100%;
    }

    .post-offer-actions{
        flex-direction:column;
    }
}
.action-cart{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-right:12px;
}

.cart-count{
    position:absolute;
    top:-8px;
    right:-10px;
    font-size:11px;
    padding:3px 6px;
    border-radius:20px;
}
/* ===== CART DRAWER ===== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 1998;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 95%;
    height: 100vh;
    background: #fff;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
    z-index: 1999;
    display: flex;
    flex-direction: column;
    transition: right 0.35s ease;
}

.cart-drawer.show {
    right: 0;
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.cart-drawer-header h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: #111827;
}

.cart-close {
    border: none;
    background: transparent;
    font-size: 30px;
    cursor: pointer;
    color: #6b7280;
    line-height: 1;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
}

.cart-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 14px;
    background: #fff;
}

.cart-remove {
    color: #ef4444;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    margin-top: 2px;
}

.cart-item-content {
    flex: 1;
}

.cart-item-title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.35;
}

.cart-item-subtitle {
    margin: 0 0 8px;
    color: #4b5563;
    font-size: 15px;
}

.cart-item-prices {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.cart-item-old {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 14px;
}

.cart-item-new {
    color: #2563eb;
    font-size: 17px;
    font-weight: 700;
}

.cart-drawer-summary {
    border-top: 1px solid #e5e7eb;
    padding: 18px 20px 22px;
    background: #fff;
}

.cart-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #374151;
    font-size: 16px;
}

.total-row {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

#cartTotal {
    color: #2563eb;
}

.proceed-cart-btn {
    display: block;
    margin-top: 18px;
    text-align: center;
    padding: 14px 18px;
    border-radius: 8px;
    background: #4f7df0;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.proceed-cart-btn:hover {
    background: #3d69d9;
    color: #fff;
}

body.cart-open {
    overflow: hidden;
}

@media (max-width: 576px) {
    .cart-drawer {
        width: 100%;
        max-width: 100%;
    }
}


.cart-count {
    position: absolute;
    top: -13px;
    right: -10px;
    font-size: 18px;
    padding: 2px 6px;
    border-radius: 50px;
    left: 18px;
}
/* ================= ORDER NOW TAB ================= */
.order-online-wrap {
    padding: 24px 0;
}

.order-online-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    border-bottom: 1px solid #eceff3;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-left {
    flex: 1;
    min-width: 0;
}

.order-item-left h4 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.4;
}

.order-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sale-price {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.old-price {
    font-size: 15px;
    color: #9ca3af;
    text-decoration: line-through;
}

.save-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 6px;
    background: #59b35c;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.order-item-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.buy-btn,
.preview-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:8px 14px;
    border-radius:10px;
    background:linear-gradient(135deg,#5ea0df,#3b6fa3);
    color:#fff;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
}

.buy-btn {
    background: linear-gradient(135deg, #5ea0df, #3b6fa3);
    color: #fff;
    border: none;
}

.buy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(59, 111, 163, 0.24);
}

.preview-btn {
    background: #fff;
    color: #5ea0df;
    border: 1.5px solid #5ea0df;
}

.preview-btn:hover {
    background: #f8fbff;
}

@media (max-width: 768px) {
    .container {
        margin: 80px 0;
        padding: 0 15px;
    }

    .profile {
        flex-direction: column;
        gap: 20px;
    }

    .profile-img {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }

    .stats {
        gap: 20px;
    }

    /* better post modal for mobile */
    .modal {
        align-items: flex-end;
        padding: 0;
    }

    .modal-content {
        flex-direction: column;
        width: 100%;
        height: 92vh;
        max-height: 92vh;
        border-radius: 22px 22px 0 0;
        overflow: hidden;
    }

    .modal-img {
        width: 100%;
        height: 240px;
        min-height: 240px;
        max-height: 240px;
        padding: 0;
        background: #000;
    }

    .modal-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-width: none;
        max-height: none;
    }

    .modal-side {
        width: 100%;
        height: calc(92vh - 240px);
        padding: 16px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal-side h3 {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .modal-side p {
        font-size: 14px;
        margin-bottom: 14px;
        line-height: 1.5;
    }

    .post-offers-list {
        gap: 12px;
        margin-top: 12px;
    }

    .post-offer-item {
        padding: 12px;
        border-radius: 14px;
    }

    .post-offer-left h4 {
        font-size: 14px;
        line-height: 1.4;
    }

    .post-offer-price {
        gap: 6px;
    }

    .sale-price {
        font-size: 16px;
    }

    .old-price {
        font-size: 13px;
    }

    .save-badge {
        font-size: 11px;
        padding: 4px 7px;
        border-radius: 999px;
    }

    .post-offer-actions {
        flex-direction: column;
        gap: 8px;
        margin-top: 10px;
    }

    .post-offer-actions .buy-btn,
    .post-offer-actions .preview-btn {
        width: 100%;
        min-width: unset;
        min-height: 46px;
        font-size: 14px;
    }

    .close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
        font-size: 22px;
        background: rgba(0, 0, 0, 0.6);
    }

    .nav-arrow {
        top: 120px;
        font-size: 22px;
        width: 38px;
        height: 38px;
        padding: 0;
        background: rgba(0, 0, 0, 0.45);
    }

    .nav-arrow.left {
        left: 8px;
    }

    .nav-arrow.right {
        right: 8px;
    }

    .screenshot {
        height: 320px;
        min-width: 180px;
    }

    .create-post-box {
        padding: 20px;
    }

    .app-card {
        flex-direction: column;
        text-align: left;
    }


    .app-icon {
        margin: 0 auto;
    }

    .tabs {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .profile-top {
        flex-wrap: wrap;
    }

    .stats {
        gap: 15px;
    }

    .tabs {
        gap: 20px;
    }

    .tab {
        font-size: 12px;
    }

    .screenshot {
        height: 280px;
        min-width: 150px;
    }

    .modal-content {
        height: 94vh;
        max-height: 94vh;
        border-radius: 18px 18px 0 0;
    }

    .modal-img {
        height: 210px;
        min-height: 210px;
        max-height: 210px;
    }

    .modal-side {
        height: calc(94vh - 210px);
        padding: 14px;
    }

    .modal-side h3 {
        font-size: 18px;
    }

    .modal-side p {
        font-size: 13px;
    }

    .post-offer-left h4 {
        font-size: 13px;
    }

    .post-offer-actions .buy-btn,
    .post-offer-actions .preview-btn {
        min-height: 44px;
        font-size: 13px;
    }

    .nav-arrow {
        display: none;
    }
}
#createPostModal textarea{
    width:100%;
    padding:12px 15px;
    border-radius:10px;
    border:1px solid #ddd;
    margin:15px 0;
    font-size:14px;
    resize:vertical;
    min-height:90px;
}
.no-reviews{
    text-align:center;
    padding:35px 20px;
}

.no-review-icon{
    font-size:40px;
    color:#f59e0b;
    margin-bottom:12px;
}

.no-review-title{
    font-size:18px;
    font-weight:600;
    color:#111827;
    margin-bottom:6px;
}

.no-review-text{
    font-size:14px;
    color:#6b7280;
    margin-bottom:18px;
}

.empty-review-btn{
    background:#2563eb;
    color:#fff;
    border:none;
    padding:10px 18px;
    border-radius:10px;
    font-size:14px;
    cursor:pointer;
}

.empty-review-btn:hover{
    background:#1d4ed8;
}
.success-box{
    background:#fff;
    padding:40px 30px;
    border-radius:16px;
    text-align:center;
    box-shadow:0 20px 50px rgba(0,0,0,0.1);
    max-width:400px;
    width:90%;
}

.success-icon{
    font-size:60px;
    color:#16a34a;
    margin-bottom:15px;
}

.success-title{
    font-size:22px;
    font-weight:600;
    margin-bottom:10px;
    color:#111827;
}

.success-text{
    font-size:14px;
    color:#6b7280;
    margin-bottom:25px;
}

.back-btn{
    display:inline-block;
    padding:10px 20px;
    border-radius:10px;
    background:#2563eb;
    color:#fff;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
}

.back-btn:hover{
    background:#1d4ed8;
}
.listing-rating{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:12px;
    flex-wrap:wrap;
}

.rating-stars{
    color:#f59e0b;
    font-size:14px;
    display:flex;
    align-items:center;
    gap:2px;
}

.rating-info{
    font-size:14px;
    color:#475467;
    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
}

.rating-score{
    font-weight:600;
}

.rating-count{
    color:#98a2b3;
}

.write-review,
.view-reviews,
.write-reviews{
    font-size:13px;
    color:#2563eb;
    text-decoration:none;
    white-space:nowrap;
}

.write-review,
.write-reviews{
    margin-left:auto;
}

.write-review:hover,
.view-reviews:hover,
.write-reviews:hover{
    text-decoration:underline;
}

.review-popup,
.reviews-popup{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.45);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
    padding:16px;
}

.review-popup-box,
.reviews-popup-box{
    background:#fff;
    width:460px;
    max-width:100%;
    max-height:85vh;
    overflow:auto;
    border-radius:16px;
    padding:22px;
    box-shadow:0 20px 50px rgba(0,0,0,0.15);
}

.review-popup-box h3,
.reviews-popup-box h3{
    margin:0 0 12px;
    font-size:20px;
    font-weight:600;
    line-height:1.3;
}

.review-popup-box textarea{
    width:100%;
    min-height:110px;
    margin-top:10px;
    padding:12px;
    border:1px solid #e5e7eb;
    border-radius:8px;
    resize:vertical;
    font-size:14px;
}

.review-popup-box input{
    width:100%;
    margin-top:10px;
    padding:12px;
    border:1px solid #e5e7eb;
    border-radius:8px;
    font-size:14px;
}

.popup-actions{
    display:flex;
    justify-content:flex-end;
    gap:10px;
    margin-top:16px;
    flex-wrap:wrap;
}

.review-cancel,
.review-submit,
.reviews-close{
    border:none;
    padding:10px 16px;
    border-radius:8px;
    font-size:14px;
    cursor:pointer;
}

.review-cancel{
    background:#f3f4f6;
    color:#111827;
}

.review-submit,
.reviews-close{
    background:#2563eb;
    color:#fff;
}

.review-submit:hover,
.reviews-close:hover{
    background:#1d4ed8;
}

.review-cancel:hover{
    background:#e5e7eb;
}

.reviews-list{
    margin-top:10px;
}

.review-item{
    padding:12px 0;
    border-top:1px solid #eef2f6;
}

.review-item:first-child{
    border-top:none;
    padding-top:0;
}

.review-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:10px;
    font-size:14px;
    font-weight:600;
}

.review-name{
    color:#344054;
    word-break:break-word;
}

.review-stars{
    color:#f59e0b;
    white-space:nowrap;
    flex-shrink:0;
    font-size: 28px;
}

.review-text{
    font-size:14px;
    margin-top:6px;
    color:#475467;
    line-height:1.5;
    word-break:break-word;
}

@media (max-width:768px){
    .listing-rating{
        gap:8px;
    }

    .write-review,
    .view-reviews,
    .write-reviews{
        font-size:12px;
    }
}

@media (max-width:480px){
    .listing-rating{
        display:grid;
        grid-template-columns:1fr;
        gap:8px;
        align-items:flex-start;
    }

    .rating-stars{
        display:flex;
        justify-content:center;
        align-items:center;
        width:100%;
        font-size:14px;
    }

    .rating-info{
        width:100%;
        justify-content:center;
        text-align:center;
        font-size:13px;
        gap:4px;
    }

    .write-review,
    .view-reviews,
    .write-reviews{
        display:block;
        width:100%;
        margin:0;
        text-align:center;
        padding:10px 12px;
        border:1px solid #e5e7eb;
        border-radius:10px;
        background:#fff;
        font-size:13px;
    }

    .view-reviews{
        color:#111827;
    }

    .review-popup,
    .reviews-popup{
        padding:10px;
    }

    .review-popup-box,
    .reviews-popup-box{
        width:100%;
        max-width:100%;
        max-height:90vh;
        padding:16px;
        border-radius:12px;
    }

    .review-head{
        flex-direction:column;
        align-items:flex-start;
        gap:4px;
    }

    .popup-actions{
        flex-direction:column;
    }

    .review-cancel,
    .review-submit,
    .reviews-close{
        width:100%;
    }
}
/* ================= NAVBAR ================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

.nav-inner {
    width: 100%;
    max-width: 935px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.shop-setup-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    cursor: pointer;
}

.plus-symbol {
    font-size: 22px;
    font-weight: bold;
}

.setup-label {
    font-size: 11px;
}

.nav-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-icons img {
    width: 22px;
}

.chat-label {
    font-size: 11px;
}

/* ================= CONTAINER ================= */
.container {
    max-width: 935px;
    margin: 100px auto 40px;
    padding: 0 20px;
}

/* ================= PROFILE ================= */
.profile {
    display: flex;
    gap: 40px;
}

.profile-img {
    width: 150px;
    height: 150px;
    
    object-fit: cover;
   
}

.profile-info {
    flex: 1;
}

.profile-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.verified-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.follow-btn {
    background: #0098db;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    font-size: 12px;
}

.stats {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}

.bio {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

/* ================= TABS ================= */
.tabs {
    display: flex;
    justify-content: center;
    gap: 60px;
    border-top: 1px solid #ddd;
    margin-top: 20px;
    background: #fff;
}

.tab {
    padding: 15px 0;
    font-size: 13px;
    cursor: pointer;
    border-top: 2px solid transparent;
}

.tab.active {
    border-top: 2px solid black;
    font-weight: bold;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ================= POSTS GRID ================= */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 10px;
}

.post-wrapper {
    display: flex;
    flex-direction: column;
}

.post {
    position: relative;
    cursor: pointer;
}

.post img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0;
    transition: 0.3s;
    font-weight: bold;
}

.post:hover .overlay {
    opacity: 1;
}

.post-title {
    font-size: 13px;
    padding: 8px 6px 12px;
    font-weight: 600;
    color: #222;
    text-align: left;
}

/* ================= MODAL BASE ================= */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal.show {
    display: flex;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 2200;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

/* ================= VIEW POST MODAL ================= */
.modal-content {
    background: #fff;
    display: flex;
    max-width: 900px;
    width: 90%;
    height: 80%;
    border-radius: 8px;
    overflow: hidden;
}

.modal-img {
    flex: 65%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    padding: 10px;
}

.modal-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.modal-side {
    flex: 35%;
    padding: 20px;
    overflow-y: auto;
    background: #fff;
}

.order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 13px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.wa-icon {
    width: 20px;
}

/* ================= NAVIGATION ARROWS (Shared) ================= */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    cursor: pointer;
    padding: 20px;
    z-index: 3100;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow.left { 
    left: 20px; 
}

.nav-arrow.right { 
    right: 20px; 
}

/* Make sure arrows are above modal content */
#modal .nav-arrow,
#screenshotModal .nav-arrow {
    z-index: 3200;
}

/* ================= CREATE POST MODAL ================= */
.create-post-box {
    background: #fff;
    width: 100%;
    max-width: 450px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    animation: scaleUp 0.25s ease;
    margin: 20px;
}

@keyframes scaleUp {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.create-header h3 {
    margin-bottom: 6px;
    font-size: 22px;
}

.create-header p {
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
}

/* Upload Area */
.upload-preview {
    width: 100%;
    min-height: 200px;
    border-radius: 15px;
    background: #f5f5f5;
    border: 2px dashed #ddd;
    margin-bottom: 15px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

/* Upload Placeholder */
.upload-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    text-align: center;
    background: #f5f5f5;
    z-index: 5;
    transition: all 0.3s ease;
}

.upload-placeholder.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    z-index: -1 !important;
}

/* Image Preview Container */
.image-preview-container {
    position: relative;
    width: 100%;
    min-height: 200px;
    background: #fff;
    z-index: 10;
    display: none;
}

.image-preview-container.show {
    display: block !important;
}

#previewImage {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    display: block;
}

/* Remove Image Button */
.remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 20;
    border: 2px solid white;
}

.remove-image:hover {
    background: rgba(255, 0, 0, 0.8);
    transform: scale(1.1);
}

#createPostModal input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin: 15px 0;
    font-size: 14px;
}

.publish-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #0098db, #006fa1);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
}

/* ================= SCREENSHOT MODAL ================= */
#screenshotModal {
    z-index: 3000;
}

.screenshot-modal-content {
    max-width: 90vw;
    max-height: 90vh;
}

.screenshot-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

/* ================= SCREENSHOTS SECTION ================= */
.screenshot-section {
    margin-bottom: 40px;
    width: 100%;
}

.screenshot-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.screenshot-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
}

.screenshot-row::-webkit-scrollbar {
    height: 4px;
}

.screenshot-row::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.screenshot-row::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.screenshot {
    flex: 0 0 auto;
    height: 420px;
    min-width: 220px;
    background: #f8f8f8;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    scroll-snap-align: start;
    overflow: hidden;
    padding: 10px;
    transition: 0.3s;
    cursor: pointer;
}

.screenshot img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 14px;
}

.screenshot:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* ================= APP CARD ================= */
.app-card {
    display: flex;
    align-items: left;
    gap: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 25px;
    border-radius: 20px;
    color: #fff;
    margin-top: 30px;
    width: 95%;
}

.app-icon {
    font-size: 50px;
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

/* Update the app-info section */
.app-info {
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    min-width: 0; /* Important for flexbox to allow text wrapping */
}

.app-info h3 {
    margin-bottom: 5px;
    font-size: 20px;
    white-space: normal;
}

.app-info p {
    margin-bottom: 10px;
    opacity: 0.9;
    white-space: normal;
}

.apk-link {
    color: #fff;
    word-break: break-all; /* This will break long URLs */
    font-size: 13px;
    opacity: 0.8;
    text-decoration: none;
    display: inline-block;
    max-width: 100%;
    line-height: 1.4;
}

/* ================= FOOTER ================= */
.footer {
    text-align: center;
    padding: 40px 20px 30px;
    color: #888;
    font-size: 13px;
    margin-top: 60px;
    border-top: 1px solid #eee;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {
    .container { margin: 80px 0; padding: 0 15px; }
    .profile { flex-direction: column; gap: 20px; }
    .profile-img { width: 100px; height: 100px; margin: 0 auto; }
    .stats { gap: 20px; }
    
    .modal-content {
        flex-direction: column;
        height: 100%;
        width: 100%;
        border-radius: 0;
    }
    
    .modal-img { 
        height: 60%; 
        width: 100%;
    }
    
    .modal-side { 
        height: 40%; 
    }
    
    .screenshot { 
        height: 320px; 
        min-width: 180px; 
    }
    
    .nav-arrow {
        font-size: 30px;
        width: 40px;
        height: 40px;
        padding: 0;
    }
    
    .nav-arrow.left { left: 5px; }
    .nav-arrow.right { right: 5px; }
    
    .create-post-box { padding: 20px; }
    .app-card { flex-direction: column; text-align: left; }
    .app-icon { margin: 0 auto; }
    .tabs { gap: 30px; }
}

@media (max-width: 480px) {
    .profile-top { flex-wrap: wrap; }
    .stats { gap: 15px; }
    .tabs { gap: 20px; }
    .tab { font-size: 12px; }
    .screenshot { height: 280px; min-width: 150px; }
}