/* =========================================================
   TRS RESELLER
   FINAL GLOBAL STYLE
   PREMIUM + FAST + MOBILE OPTIMIZED
   GLOBAL HEADER + SIDEBAR + NAVIGATION
========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}

html{
    scroll-behavior:smooth;
    overflow-x:hidden;
}

body{
    background:#eef2ff;
    color:#222;
    padding-bottom:80px;
    overflow-x:hidden;
    transform:none !important;
}

button,
input,
select,
textarea{
    font-family:inherit;
}

button{
    cursor:pointer;
}

a,
button,
input,
select,
textarea,
.product-card,
.category-card,
.nav-item{
    -webkit-tap-highlight-color:transparent;
}


/* =========================================================
   GLOBAL HEADER
========================================================= */

.main-header{
    position:sticky;
    top:0;
    left:0;

    width:100%;
    height:64px;
    min-height:64px;

    padding:0 15px;

    background:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    border-bottom:1px solid #e9edf5;

    box-shadow:0 2px 10px rgba(0,0,0,.06);

    z-index:5000;

    transform:none !important;
}


/* =========================================================
   HEADER LEFT / MENU
========================================================= */

.header-left{
    position:absolute;
    left:15px;
    top:0;

    height:64px;

    display:flex;
    align-items:center;

    z-index:10;
}

.header-menu-btn{
    width:42px;
    height:42px;

    padding:0;

    border:none;
    border-radius:12px;

    background:#f4f7fc;
    color:#2563eb;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:20px;

    position:relative;
    z-index:20;

    pointer-events:auto;

    transition:
        background-color .18s ease,
        transform .14s ease;
}

.header-menu-btn:hover{
    background:#eaf1ff;
}

.header-menu-btn:active{
    transform:scale(.92);
}


/* =========================================================
   CENTER LOGO
========================================================= */

.header-logo{
    position:absolute;

    left:50%;
    top:50%;

    transform:translate(-50%,-50%) !important;

    width:auto;
    height:52px;

    display:flex;
    align-items:center;
    justify-content:center;

    text-decoration:none;

    overflow:visible;

    z-index:5;

    pointer-events:auto;
}

.header-logo img{
    display:block;

    width:auto;
    height:46px;

    max-width:165px;
    max-height:46px;

    object-fit:contain;
    object-position:center;

    margin:0;
}


/* =========================================================
   HEADER RIGHT
========================================================= */

.header-right{
    position:absolute;

    right:15px;
    top:0;

    height:64px;

    display:flex;
    align-items:center;

    z-index:10;
}

.header-right .login{
    height:38px;

    padding:0 16px;

    border:none;
    border-radius:10px;

    background:#FFD700;
    color:#111;

    font-size:14px;
    font-weight:700;

    position:relative;
    z-index:20;

    transition:
        transform .14s ease,
        box-shadow .18s ease;
}

.header-right .login:hover{
    box-shadow:0 4px 12px rgba(0,0,0,.12);
}

.header-right .login:active{
    transform:scale(.95);
}


/* =========================================================
   GLOBAL SIDEBAR OVERLAY
========================================================= */

.sidebar-overlay{
    position:fixed;

    inset:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.50);

    z-index:5999;

    opacity:0;
    visibility:hidden;

    pointer-events:none;

    transition:
        opacity .20s ease,
        visibility .20s ease;
}

.sidebar-overlay.show,
.sidebar-overlay.active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}


/* =========================================================
   GLOBAL SIDEBAR
========================================================= */

.sidebar{
    position:fixed;

    top:0;
    left:0;

    width:290px;
    max-width:82%;

    height:100vh;
    height:100dvh;

    background:#fff;

    z-index:6000;

    box-shadow:8px 0 30px rgba(0,0,0,.15);

    transform:translateX(-105%) !important;

    visibility:hidden;

    pointer-events:none;

    transition:
        transform .24s cubic-bezier(.22,1,.36,1),
        visibility 0s linear .24s;

    overflow-y:auto;
    overflow-x:hidden;

    overscroll-behavior:contain;

    will-change:transform;
}

.sidebar.show,
.sidebar.active{
    transform:translateX(0) !important;

    visibility:visible;

    pointer-events:auto;

    transition:
        transform .24s cubic-bezier(.22,1,.36,1),
        visibility 0s linear 0s;
}


/* =========================================================
   SIDEBAR HEADER
========================================================= */

.sidebar-header{
    height:70px;
    min-height:70px;

    padding:0 18px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    border-bottom:1px solid #edf0f5;

    position:sticky;
    top:0;

    background:#fff;

    z-index:2;
}

.sidebar-header h2{
    margin:0;

    color:#2563eb;

    font-size:20px;
    font-weight:800;
}

.sidebar-close{
    width:40px;
    height:40px;

    border:none;
    border-radius:12px;

    background:#f4f6fa;
    color:#555;

    font-size:27px;
    line-height:1;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:
        background-color .16s ease,
        transform .14s ease;
}

.sidebar-close:hover{
    background:#edf1f7;
}

.sidebar-close:active{
    transform:scale(.92);
}


/* =========================================================
   SIDEBAR CONTENT
========================================================= */

.sidebar-content{
    padding:18px;
}

.sidebar-content a{
    display:flex;
    align-items:center;
    gap:12px;

    width:100%;
    min-height:48px;

    margin-bottom:8px;
    padding:12px 14px;

    border-radius:12px;

    background:#f7f9fd;
    color:#222;

    text-decoration:none;

    font-size:14px;
    font-weight:600;

    transition:
        background-color .16s ease,
        color .16s ease,
        transform .14s ease;
}

.sidebar-content a:hover{
    background:#eaf1ff;
    color:#2563eb;
}

.sidebar-content a:active{
    transform:scale(.98);
}

.sidebar-content a i{
    width:22px;
    color:#2563eb;
    text-align:center;
}


/* =========================================================
   SEARCH BOX
========================================================= */

.search-box{
    display:flex;

    margin:15px;

    background:#fff;

    border-radius:16px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(37,99,235,.12);

    transition:
        box-shadow .18s ease,
        transform .18s ease;
}

.search-box:focus-within{
    box-shadow:0 8px 25px rgba(37,99,235,.17);
    transform:translateY(-1px);
}

.search-box input{
    flex:1;
    min-width:0;

    border:none;
    outline:none;

    padding:15px;

    font-size:16px;

    background:#fff;
}

.search-box button{
    width:60px;

    border:none;

    background:#2563eb;
    color:#fff;

    font-size:20px;

    transition:
        background-color .18s ease,
        transform .14s ease;
}

.search-box button:active{
    transform:scale(.94);
}


/* =========================================================
   BANNER SLIDER
   RIGHT SIDE → CENTER
========================================================= */

.banner-slider{
    padding:0 15px 15px;
}

.slider{
    position:relative;

    width:100%;
    height:180px;

    overflow:hidden;

    border-radius:18px;

    box-shadow:0 8px 18px rgba(0,0,0,.15);

    contain:layout paint;

    isolation:isolate;
}


/* ---------------------------------------------------------
   ALL SLIDES
--------------------------------------------------------- */

.slider .slide{
    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    display:block;

    opacity:0;
    visibility:hidden;

    transform:translate3d(100%,0,0);

    z-index:1;

    pointer-events:none;

    will-change:transform,opacity;

    transition:
        transform .72s cubic-bezier(.22,1,.36,1),
        opacity .72s ease,
        visibility 0s linear .72s;
}


/* ---------------------------------------------------------
   ACTIVE SLIDE
   New slide enters from RIGHT
--------------------------------------------------------- */

.slider .slide.active{
    position:absolute;

    inset:0;

    display:block;

    opacity:1;
    visibility:visible;

    transform:translate3d(0,0,0);

    z-index:2;

    pointer-events:auto;

    transition:
        transform .72s cubic-bezier(.22,1,.36,1),
        opacity .72s ease;
}


/* ---------------------------------------------------------
   SLIDE IMAGE
--------------------------------------------------------- */

.slider .slide img{
    width:100%;
    height:100%;

    object-fit:cover;

    display:block;

    user-select:none;

    -webkit-user-drag:none;
}


/* ---------------------------------------------------------
   MOBILE SLIDER
--------------------------------------------------------- */

@media (max-width:600px){

    .slider{
        height:170px;
    }

    .slider .slide{
        transition:
            transform .65s cubic-bezier(.22,1,.36,1),
            opacity .65s ease,
            visibility 0s linear .65s;
    }

    .slider .slide.active{
        transition:
            transform .65s cubic-bezier(.22,1,.36,1),
            opacity .65s ease;
    }
}


/* ---------------------------------------------------------
   SMALL MOBILE SLIDER
--------------------------------------------------------- */

@media (max-width:380px){

    .slider{
        height:155px;
    }
}


/* =========================================================
   RESELLER HERO
========================================================= */

.hero-banner{
    position:relative;

    margin:10px 15px 30px;

    padding:30px 28px;

    min-height:190px;

    border-radius:26px;

    overflow:hidden;

    background:linear-gradient(
        135deg,
        #2563eb 0%,
        #1d5be0 55%,
        #174dcc 100%
    );

    box-shadow:0 12px 30px rgba(37,99,235,.18);

    display:flex;
    align-items:center;
}

.hero-banner::before{
    content:"";

    position:absolute;

    width:230px;
    height:230px;

    right:-80px;
    top:-90px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    pointer-events:none;
}

.hero-banner::after{
    content:"";

    position:absolute;

    width:150px;
    height:150px;

    right:80px;
    bottom:-100px;

    border-radius:50%;

    background:rgba(255,255,255,.06);

    pointer-events:none;
}

.hero-content{
    position:relative;
    z-index:2;

    max-width:620px;
}

.hero-content h2{
    margin:0;

    color:#fff;

    font-size:27px;
    line-height:1.3;

    font-weight:800;

    letter-spacing:-.4px;
}

.hero-content p{
    margin:9px 0 20px;

    color:rgba(255,255,255,.92);

    font-size:15px;
    line-height:1.5;
}

.hero-register-btn{
    display:inline-flex;

    align-items:center;
    justify-content:center;

    min-width:150px;
    height:50px;

    padding:0 24px;

    background:#fff;
    color:#2563eb;

    border:none;
    border-radius:14px;

    font-size:16px;
    font-weight:700;

    box-shadow:0 7px 18px rgba(0,0,0,.12);

    transition:
        transform .16s ease,
        box-shadow .18s ease;
}

.hero-register-btn:hover{
    transform:translateY(-2px);

    box-shadow:0 10px 22px rgba(0,0,0,.16);
}

.hero-register-btn:active{
    transform:scale(.97);
}


/* =========================================================
   CATEGORIES
========================================================= */

.categories{
    padding:18px;
}

.categories h2{
    font-size:24px;
    margin-bottom:18px;
    color:#222;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.category-card{
    background:#fff;

    border-radius:20px;

    padding:18px;

    text-align:center;

    box-shadow:0 6px 20px rgba(0,0,0,.08);

    border:1px solid #f1f1f1;

    transition:
        transform .22s cubic-bezier(.22,1,.36,1),
        box-shadow .22s ease;
}

.category-card:hover{
    transform:translateY(-4px);

    box-shadow:0 9px 22px rgba(0,0,0,.10);
}

.category-card:active{
    transform:scale(.96);
}

.category-icon{
    font-size:34px;
    margin-bottom:10px;

    transition:transform .22s ease;
}

.category-card:hover .category-icon{
    transform:scale(1.06);
}

.category-card p{
    font-size:15px;
    font-weight:bold;
    color:#333;
}


/* =========================================================
   PRODUCTS
========================================================= */

.products{
    padding:18px;
}

.products h2{
    font-size:24px;
    margin-bottom:18px;
}

.product-grid{
    display:grid;

    grid-template-columns:1fr;

    gap:18px;
}

.product-card{
    position:relative;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 4px 12px rgba(0,0,0,.08);

    cursor:pointer;

    transition:
        transform .22s cubic-bezier(.22,1,.36,1),
        box-shadow .22s ease,
        opacity .18s ease;
}

.product-card:hover{
    transform:translateY(-4px);

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

.product-card:active{
    transform:scale(.975);
}

.product-card img{
    width:100%;

    aspect-ratio:4/5;

    object-fit:cover;

    display:block;

    transition:
        transform .30s cubic-bezier(.22,1,.36,1);
}

.product-card:hover img{
    transform:scale(1.035);
}

.product-card h3{
    padding:12px 15px 5px;

    font-size:18px;
    line-height:1.4;
}

.price{
    padding:0 15px;

    font-size:20px;

    font-weight:bold;

    color:#2563eb;
}

.profit{
    padding:6px 15px;

    color:#16a34a;

    font-weight:bold;
}


/* =========================================================
   PRODUCT BUTTONS
========================================================= */

.cart-btn,
.order-btn{
    margin:15px;

    width:calc(100% - 30px);

    min-height:48px;

    border:none;

    border-radius:12px;

    background:#2563eb;

    color:#fff;

    font-size:16px;

    font-weight:bold;

    transition:
        transform .14s ease,
        box-shadow .18s ease,
        background-color .18s ease;
}

.cart-btn:hover,
.order-btn:hover{
    box-shadow:0 5px 14px rgba(37,99,235,.18);
}

.cart-btn:active,
.order-btn:active{
    transform:scale(.97);
}

.details-btn{
    width:calc(100% - 30px);

    height:45px;

    margin:0 15px 15px;

    border:none;

    border-radius:12px;

    background:#FFD700;

    color:#111;

    font-weight:bold;

    font-size:16px;

    transition:
        transform .14s ease,
        box-shadow .18s ease;
}

.details-btn:hover{
    box-shadow:0 5px 14px rgba(0,0,0,.10);
}

.details-btn:active{
    transform:scale(.97);
}


/* =====================================================
   TRS RESELLER
   PREMIUM CATEGORY SECTION
   CIRCULAR CATEGORY DESIGN
===================================================== */

.homepage-category-section,
.categories-section{
    width:100%;
}


/* =====================================================
   CATEGORY SECTION
===================================================== */

.category-section{
    width:100%;
    margin:22px 0 28px;
    padding:0 10px;
}


/* =====================================================
   CATEGORY HEADER
===================================================== */

.category-section .section-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:15px;
}

.category-section .section-header h2{
    margin:0;
    font-size:20px;
    font-weight:700;
    color:#111827;
}

.category-section .section-header a{
    font-size:13px;
    font-weight:600;
    color:#2563eb;
    text-decoration:none;
}


/* =====================================================
   CATEGORY GRID
===================================================== */

#categoryGrid{
    display:flex;
    align-items:flex-start;
    gap:18px;

    width:100%;

    overflow-x:auto;
    overflow-y:hidden;

    padding:5px 3px 12px;

    scroll-behavior:smooth;

    scrollbar-width:none;
}

#categoryGrid::-webkit-scrollbar{
    display:none;
}


/* =====================================================
   CATEGORY ITEM
===================================================== */

#categoryGrid .category-card{
    flex:0 0 auto;

    width:82px;

    display:flex;
    flex-direction:column;
    align-items:center;

    background:transparent;

    border:0;
    border-radius:0;

    padding:0;
    margin:0;

    box-shadow:none;

    cursor:pointer;

    transition:transform .2s ease;
}


/* =====================================================
   CATEGORY IMAGE
===================================================== */

#categoryGrid .category-image-wrap{
    position:relative;

    width:72px;
    height:72px;

    flex-shrink:0;

    border-radius:50%;

    overflow:hidden;

    background:#f3f4f6;

    border:2px solid #ffffff;

    box-shadow:
        0 2px 8px rgba(0,0,0,.10);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


/* =====================================================
   CATEGORY IMAGE
===================================================== */

#categoryGrid .category-image-wrap img{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;

    border-radius:50%;

    transition:transform .3s ease;
}


/* =====================================================
   HOVER
===================================================== */

#categoryGrid .category-card:hover{
    transform:translateY(-2px);
}

#categoryGrid .category-card:hover .category-image-wrap{
    transform:scale(1.04);

    box-shadow:
        0 5px 14px rgba(37,99,235,.18);
}

#categoryGrid .category-card:hover .category-image-wrap img{
    transform:scale(1.06);
}


/* =====================================================
   ACTIVE / TOUCH
===================================================== */

#categoryGrid .category-card:active{
    transform:scale(.96);
}


/* =====================================================
   CATEGORY NAME
===================================================== */

#categoryGrid .category-card h3{
    width:100%;

    margin:8px 0 0;
    padding:0;

    text-align:center;

    font-size:12px;
    font-weight:600;

    line-height:1.3;

    color:#1f2937;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}


/* =====================================================
   MOBILE
===================================================== */

@media(max-width:600px){

    .category-section{
        margin:18px 0 24px;
        padding:0 8px;
    }

    #categoryGrid{
        gap:16px;

        padding-left:3px;
        padding-right:3px;
    }

    #categoryGrid .category-card{
        width:76px;
    }

    #categoryGrid .category-image-wrap{
        width:68px;
        height:68px;
    }

    #categoryGrid .category-card h3{
        margin-top:7px;
        font-size:11.5px;
    }

}


/* =====================================================
   VERY SMALL MOBILE
===================================================== */

@media(max-width:380px){

    #categoryGrid{
        gap:14px;
    }

    #categoryGrid .category-card{
        width:70px;
    }

    #categoryGrid .category-image-wrap{
        width:62px;
        height:62px;
    }

    #categoryGrid .category-card h3{
        font-size:11px;
    }

}


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

@media(min-width:601px){

    #categoryGrid{
        gap:22px;
    }

    #categoryGrid .category-card{
        width:90px;
    }

    #categoryGrid .category-image-wrap{
        width:80px;
        height:80px;
    }

    #categoryGrid .category-card h3{
        font-size:13px;
        margin-top:9px;
    }

}

.category-header{
    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 10px;
}

.see-all-btn{
    background:#2563eb;

    color:#fff;

    border:none;

    padding:8px 14px;

    border-radius:10px;

    font-size:14px;

    font-weight:600;

    transition:
        transform .14s ease,
        box-shadow .18s ease;
}

.see-all-btn:hover{
    box-shadow:0 4px 12px rgba(37,99,235,.18);
}

.see-all-btn:active{
    transform:scale(.95);
}


/* =========================================================
   HORIZONTAL PRODUCTS
========================================================= */

.horizontal-products{
    display:flex;

    gap:15px;

    overflow-x:auto;

    padding:10px;

    scroll-behavior:smooth;

    scrollbar-width:none;

    -webkit-overflow-scrolling:touch;
}

.horizontal-products::-webkit-scrollbar{
    display:none;
}

.horizontal-products .product-card{
    min-width:180px;
    max-width:180px;

    flex-shrink:0;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.horizontal-products .product-card img{
    width:100%;

    height:220px;

    object-fit:cover;

    display:block;
}

.horizontal-products .product-card h3{
    font-size:18px;

    padding:10px;

    line-height:1.4;

    min-height:70px;
}

.horizontal-products .price{
    font-size:16px;

    padding:0 10px 10px;
}

.horizontal-products .order-btn{
    width:calc(100% - 20px);

    margin:10px;

    padding:10px;

    border:none;

    border-radius:10px;

    background:#2563eb;

    color:#fff;

    font-weight:bold;
}


/* =========================================================
   WISHLIST
========================================================= */

.wishlist-btn{
    position:absolute;

    top:12px;
    right:12px;

    width:42px;
    height:42px;

    border:none;

    border-radius:50%;

    background:#fff;

    color:#444;

    font-size:22px;

    box-shadow:0 2px 8px rgba(0,0,0,.15);

    cursor:pointer;

    z-index:5;

    transition:
        transform .18s ease,
        background-color .18s ease,
        color .18s ease;
}

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

.wishlist-btn:active{
    transform:scale(.88);
}

.wishlist-btn.active{
    background:#ff4d6d;
    color:#fff;
}


/* =========================================================
   DELETE BUTTON
========================================================= */

.delete-btn{
    width:100%;

    padding:10px;

    margin-top:8px;

    background:#dc3545;

    color:#fff;

    border:none;

    border-radius:8px;

    font-size:15px;

    cursor:pointer;

    transition:
        background-color .18s ease,
        transform .14s ease;
}

.delete-btn:hover{
    background:#b02a37;
}

.delete-btn:active{
    transform:scale(.97);
}


/* =========================================================
   PRODUCT MODAL
========================================================= */

.product-modal{
    display:none;

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.55);

    justify-content:center;
    align-items:center;

    z-index:9999;

    padding:15px;
}

.modal-content{
    position:relative;

    background:#fff;

    width:90%;

    max-width:400px;

    max-height:90vh;

    overflow-y:auto;

    border-radius:18px;

    padding:20px;

    text-align:center;
}

.product-modal[style*="display: flex"] .modal-content,
.product-modal.show .modal-content{
    animation:trsModalIn .24s cubic-bezier(.22,1,.36,1) both;
}

@keyframes trsModalIn{
    from{
        opacity:0;
        transform:translateY(12px) scale(.985);
    }

    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

.modal-content img{
    width:100%;

    border-radius:12px;

    aspect-ratio:4/5;

    object-fit:cover;
}

.close-modal{
    position:absolute;

    top:12px;
    right:18px;

    font-size:30px;

    cursor:pointer;

    font-weight:bold;

    z-index:2;

    transition:transform .14s ease;
}

.close-modal:active{
    transform:scale(.88);
}

.buy-btn{
    margin-top:20px;

    width:100%;

    height:50px;

    border:none;

    border-radius:12px;

    background:#2563eb;

    color:#fff;

    font-size:17px;

    font-weight:bold;

    transition:
        transform .14s ease,
        box-shadow .18s ease;
}

.buy-btn:hover{
    box-shadow:0 5px 14px rgba(37,99,235,.18);
}

.buy-btn:active{
    transform:scale(.97);
}


/* =========================================================
   ORDER POPUP
========================================================= */

.order-popup{
    display:none;

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.5);

    justify-content:center;
    align-items:center;

    z-index:9999;

    padding:15px;
}

.popup-box{
    width:90%;

    max-width:350px;

    background:#fff;

    padding:20px;

    border-radius:15px;
}

.order-popup[style*="display: flex"] .popup-box,
.order-popup.show .popup-box{
    animation:trsPopupIn .24s cubic-bezier(.22,1,.36,1) both;
}

@keyframes trsPopupIn{
    from{
        opacity:0;
        transform:translateY(12px) scale(.985);
    }

    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

.popup-box input{
    width:100%;

    padding:12px;

    margin:10px 0;

    border:1px solid #ddd;

    border-radius:8px;

    outline:none;

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.popup-box input:focus{
    border-color:#2563eb;

    box-shadow:0 0 0 3px rgba(37,99,235,.07);
}

.popup-box button{
    width:100%;

    padding:12px;

    margin-top:10px;

    border:none;

    border-radius:10px;

    background:#2563eb;

    color:#fff;

    font-weight:bold;

    transition:
        transform .14s ease,
        box-shadow .18s ease;
}

.popup-box button:hover{
    box-shadow:0 5px 14px rgba(37,99,235,.18);
}

.popup-box button:active{
    transform:scale(.97);
}


/* =========================================================
   CART COUNT
========================================================= */

.cart-header-btn{
    position:relative;
}

#cartCountBadge{
    position:absolute;

    top:-5px;
    right:-5px;

    background:red;

    color:#fff;

    min-width:20px;
    height:20px;

    padding:0 4px;

    border-radius:50%;

    font-size:12px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-weight:bold;
}

#cartCountBadge.trs-cart-bump{
    animation:trsCartBump .30s cubic-bezier(.22,1,.36,1);
}

@keyframes trsCartBump{
    0%{
        transform:scale(1);
    }

    45%{
        transform:scale(1.22);
    }

    100%{
        transform:scale(1);
    }
}


/* =========================================================
   GLOBAL BOTTOM NAVIGATION
========================================================= */

.bottom-nav{
    position:fixed !important;

    left:0 !important;
    right:0 !important;
    bottom:0 !important;

    width:100% !important;

    height:calc(68px + env(safe-area-inset-bottom));

    display:grid;

    grid-template-columns:repeat(4,1fr);

    align-items:start;

    padding:7px 8px env(safe-area-inset-bottom);

    background:rgba(255,255,255,.97);

    border-top:1px solid #e5e7eb;

    box-shadow:0 -2px 15px rgba(0,0,0,.12);

    z-index:99999 !important;

    transform:none !important;
    animation:none !important;

    box-sizing:border-box;

    isolation:isolate;
}

.bottom-nav .nav-item{
    position:relative;

    min-width:0;

    width:100%;

    height:54px;

    padding:5px;

    border:0;

    background:transparent;

    color:#64748b;

    display:flex;

    flex-direction:column;

    align-items:center;
    justify-content:center;

    font-size:14px;

    cursor:pointer;

    text-decoration:none;

    overflow:hidden;

    transform:none !important;

    transition:
        color .18s ease,
        background-color .18s ease,
        opacity .18s ease;
}

.bottom-nav .nav-item i{
    display:block;

    font-size:21px;

    line-height:1;

    margin-bottom:4px;

    transform:none !important;

    transition:
        color .18s ease,
        opacity .18s ease;
}

.bottom-nav .nav-item span{
    margin-top:0;

    font-size:11px;

    line-height:1.1;

    transition:
        color .18s ease,
        opacity .18s ease;
}

.bottom-nav .nav-item.active{
    color:#2563eb;

    background:transparent;

    transform:none !important;
}

.bottom-nav .nav-item.active i{
    transform:none !important;
}

.bottom-nav .nav-item.trs-click-active{
    transform:none !important;

    background:rgba(37,99,235,.06);

    opacity:.78;
}

.bottom-nav .nav-item.trs-click-active i{
    transform:none !important;
}

.bottom-nav .nav-item .trs-ripple{
    position:absolute;

    border-radius:50%;

    background:rgba(37,99,235,.16);

    pointer-events:none;

    transform:scale(0);

    animation:trsNavRipple .42s ease-out forwards;

    z-index:0;
}

@keyframes trsNavRipple{

    from{
        transform:scale(0);
        opacity:.5;
    }

    to{
        transform:scale(1);
        opacity:0;
    }
}

.bottom-nav .nav-item > i,
.bottom-nav .nav-item > span{
    position:relative;

    z-index:1;
}


/* =========================================================
   NAV ENTRANCE
========================================================= */

html.trs-page-ready .bottom-nav .nav-item{
    animation:trsNavItemEnter .32s ease-out both;
}

html.trs-page-ready .bottom-nav .nav-item:nth-child(1){
    animation-delay:0ms;
}

html.trs-page-ready .bottom-nav .nav-item:nth-child(2){
    animation-delay:25ms;
}

html.trs-page-ready .bottom-nav .nav-item:nth-child(3){
    animation-delay:50ms;
}

html.trs-page-ready .bottom-nav .nav-item:nth-child(4){
    animation-delay:75ms;
}

@keyframes trsNavItemEnter{

    from{
        opacity:0;
        transform:translateY(10px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}


/* =========================================================
   FOOTER
========================================================= */

.app-footer{
    margin-top:45px;

    padding:32px 20px 100px;

    background:#fff;

    border-top:1px solid #e8edf7;

    box-shadow:0 -5px 25px rgba(0,0,0,.04);

    border-radius:28px 28px 0 0;

    color:#222;
}

.footer-brand{
    text-align:center;
    margin-bottom:30px;
}

.footer-brand h2{
    margin:0 0 8px;

    font-size:25px;

    color:#2563eb;
}

.footer-brand h2 span{
    color:#facc15;
}

.footer-brand p{
    margin:7px 0 0;

    color:#777;

    font-size:13px;
}

.footer-logo{
    width:190px;
    max-width:80%;
    height:80px;

    object-fit:contain;

    display:none;

    margin:0 auto 10px;
}

.footer-section{
    margin-bottom:27px;
}

.footer-section h3{
    margin:0 0 15px;

    font-size:17px;

    font-weight:700;
}


/* =========================================================
   SUPPORT GRID
========================================================= */

.support-grid{
    display:grid;

    grid-template-columns:1fr 1fr;

    gap:11px;
}

.support-item{
    min-height:64px;

    padding:12px;

    display:flex;

    align-items:center;

    gap:11px;

    text-decoration:none;

    background:#f7f9fd;

    border:1px solid #edf0f6;

    border-radius:16px;

    color:#222;

    transition:
        transform .16s ease,
        box-shadow .18s ease,
        background-color .18s ease;
}

.support-item:hover{
    box-shadow:0 4px 14px rgba(0,0,0,.06);
}

.support-item:active{
    transform:scale(.97);
}

.support-item i{
    width:39px;
    height:39px;

    flex-shrink:0;

    border-radius:12px;

    display:flex;

    align-items:center;
    justify-content:center;

    font-size:20px;

    background:#fff;
}

.support-item.whatsapp i,
.support-item.channel i{
    color:#25d366;
}

.support-item.facebook i{
    color:#1877f2;
}

.support-item span{
    font-size:13px;

    font-weight:700;

    line-height:1.25;
}

.support-item small{
    display:block;

    margin-top:3px;

    color:#888;

    font-size:11px;

    font-weight:400;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-list{
    display:flex;

    flex-direction:column;

    gap:10px;
}

.contact-list a,
.contact-list > div{
    display:flex;

    align-items:center;

    gap:13px;

    padding:13px;

    background:#f7f9fd;

    border-radius:14px;

    text-decoration:none;

    color:#333;

    font-size:13px;

    transition:
        transform .16s ease,
        background-color .18s ease;
}

.contact-list a:active{
    transform:scale(.985);
}

.contact-list i{
    width:38px;
    height:38px;

    flex-shrink:0;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:11px;

    background:#eaf1ff;

    color:#2563eb;
}

.contact-list span{
    font-weight:600;
}

.contact-list small{
    display:block;

    color:#888;

    font-size:11px;

    margin-bottom:2px;

    font-weight:400;
}


/* =========================================================
   ABOUT BUTTON
========================================================= */

.footer-about-btn{
    width:100%;

    height:56px;

    padding:0 16px;

    border:1px solid #e5eaf3;

    border-radius:15px;

    background:#f7f9fd;

    color:#222;

    display:flex;

    align-items:center;

    gap:12px;

    font-size:14px;

    font-weight:700;

    transition:
        transform .16s ease,
        box-shadow .18s ease;
}

.footer-about-btn:hover{
    box-shadow:0 4px 14px rgba(0,0,0,.06);
}

.footer-about-btn:active{
    transform:scale(.98);
}

.footer-about-btn i:first-child{
    color:#2563eb;
    font-size:19px;
}

.footer-about-btn i:last-child{
    margin-left:auto;
    color:#999;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom{
    text-align:center;

    margin-top:25px;

    padding-top:18px;

    border-top:1px solid #edf0f5;
}

.footer-bottom p{
    margin:0;

    color:#999;

    font-size:11px;
}


/* =========================================================
   ABOUT POPUP
========================================================= */

.about-popup{
    position:fixed;

    inset:0;

    background:rgba(0,0,0,.55);

    display:none;

    align-items:flex-end;
    justify-content:center;

    z-index:9999;

    padding:15px;
}

.about-popup.show{
    display:flex;
}

.about-popup-box{
    position:relative;

    width:100%;

    max-width:500px;

    max-height:90vh;

    overflow-y:auto;

    background:#fff;

    border-radius:25px 25px 18px 18px;

    padding:30px 23px;

    animation:aboutPopup .24s cubic-bezier(.22,1,.36,1);
}

@keyframes aboutPopup{

    from{
        transform:translateY(55px);
        opacity:0;
    }

    to{
        transform:translateY(0);
        opacity:1;
    }
}

.about-close{
    position:absolute;

    top:15px;
    right:15px;

    width:36px;
    height:36px;

    border:none;

    border-radius:50%;

    background:#f1f3f7;

    font-size:24px;

    cursor:pointer;

    color:#555;

    transition:transform .14s ease;
}

.about-close:active{
    transform:scale(.88);
}

.about-icon{
    width:60px;
    height:60px;

    margin-bottom:15px;

    border-radius:18px;

    display:flex;

    align-items:center;
    justify-content:center;

    background:#eaf1ff;

    color:#2563eb;

    font-size:25px;
}

.about-popup-box h2{
    margin:0 0 15px;

    font-size:23px;
}

.about-popup-box > p{
    color:#666;

    font-size:14px;

    line-height:1.7;

    margin:10px 0;
}

.about-contact{
    margin-top:20px;

    padding:14px;

    border-radius:15px;

    background:#f7f9fd;
}

.about-contact p{
    margin:8px 0;

    font-size:13px;

    color:#444;
}

.about-contact i{
    color:#2563eb;

    width:20px;
}


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

@media (min-width:601px){

    .header-logo img{
        height:48px;

        max-width:175px;
        max-height:48px;
    }

    .hero-banner{
        margin-left:18px;
        margin-right:18px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width:600px){

    .main-header{
        height:60px;
        min-height:60px;

        padding:0 12px;
    }

    .header-left{
        left:12px;
        height:60px;
    }

    .header-menu-btn{
        width:40px;
        height:40px;

        border-radius:11px;

        font-size:18px;
    }

    .header-logo{
        height:50px;
        max-width:150px;
    }

    .header-logo img{
        height:42px;

        max-width:140px;
        max-height:42px;
    }

    .header-right{
        right:12px;
        height:60px;
    }

    .header-right .login{
        height:36px;

        padding:0 13px;

        border-radius:9px;

        font-size:13px;
    }


    /* Sidebar */

    .sidebar{
        width:285px;
        max-width:84%;
    }

    .sidebar-header{
        height:64px;
        min-height:64px;
    }

    .sidebar-content{
        padding:15px;
    }


    /* Hero */

    .hero-banner{
        margin:10px 15px 25px;

        padding:26px 22px;

        min-height:180px;

        border-radius:22px;
    }

    .hero-content{
        width:100%;
    }

    .hero-content h2{
        font-size:22px;

        line-height:1.35;
    }

    .hero-content p{
        font-size:14px;

        margin-top:8px;
        margin-bottom:18px;
    }

    .hero-register-btn{
        height:48px;

        min-width:145px;

        padding:0 21px;

        border-radius:13px;

        font-size:15px;
    }


    /* Banner */

    .slider{
        height:170px;
    }


    /* Categories */

    .category-grid{
        gap:10px;
    }

    .category-card{
        padding:15px 8px;
    }


    /* Bottom Navigation */

    .bottom-nav{
        height:calc(64px + env(safe-area-inset-bottom));

        padding-top:5px;
    }

    .bottom-nav .nav-item{
        height:54px;

        font-size:10px;

        gap:3px;
    }

    .bottom-nav .nav-item i{
        font-size:18px;

        margin-bottom:3px;
    }

    .bottom-nav .nav-item span{
        font-size:10px;
    }

    #cartCountBadge{
        top:3px;

        right:calc(50% - 24px);
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width:380px){

    .main-header{
        height:58px;
        min-height:58px;
    }

    .header-left{
        height:58px;
        left:10px;
    }

    .header-right{
        height:58px;
        right:10px;
    }

    .header-menu-btn{
        width:37px;
        height:37px;

        border-radius:10px;

        font-size:17px;
    }

    .header-logo img{
        height:38px;

        max-width:120px;
        max-height:38px;
    }

    .header-right .login{
        height:34px;

        padding:0 11px;

        border-radius:9px;

        font-size:12px;
    }

    .slider{
        height:155px;
    }

    .hero-banner{
        padding:23px 19px;

        border-radius:20px;
    }

    .hero-content h2{
        font-size:20px;
    }

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

    .app-footer{
        padding-left:15px;
        padding-right:15px;
    }

    .support-grid{
        gap:8px;
    }

    .support-item{
        padding:9px;
        gap:8px;
    }

    .support-item i{
        width:35px;
        height:35px;

        font-size:17px;
    }

    .support-item span{
        font-size:11px;
    }
}


/* =========================================================
   SAFE AREA
========================================================= */

@supports (padding-bottom:env(safe-area-inset-bottom)){

    body{
        padding-bottom:calc(80px + env(safe-area-inset-bottom));
    }
}


/* =========================================================
   PRODUCT DETAILS PAGE
   PREMIUM MOBILE-APP STYLE
========================================================= */

.product-page{
    position:relative;

    width:100%;
    max-width:1200px;

    margin:0 auto;

    padding:18px 16px 110px;

    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(0,1fr);

    gap:35px;

    box-sizing:border-box;

    animation:trsProductPageEnter .34s cubic-bezier(.22,1,.36,1) both;
}

@keyframes trsProductPageEnter{

    from{
        opacity:0;

        transform:translateY(12px);
    }

    to{
        opacity:1;

        transform:translateY(0);
    }
}


/* =========================================================
   PRODUCT GALLERY
========================================================= */

.product-gallery{
    width:100%;
    min-width:0;

    animation:trsProductGalleryEnter .38s cubic-bezier(.22,1,.36,1) .03s both;
}

@keyframes trsProductGalleryEnter{

    from{
        opacity:0;

        transform:translateY(14px) scale(.99);
    }

    to{
        opacity:1;

        transform:translateY(0) scale(1);
    }
}

.product-main-image{
    width:100%;

    aspect-ratio:1 / 1;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f8fafc 100%
        );

    border-radius:20px;

    overflow:hidden;

    position:relative;

    display:flex;

    align-items:center;
    justify-content:center;

    border:1px solid rgba(226,232,240,.85);

    box-shadow:
        0 10px 30px rgba(15,23,42,.08),
        0 2px 8px rgba(15,23,42,.04);

    contain:layout paint;
}

.product-main-image::after{
    content:"";

    position:absolute;

    inset:0;

    pointer-events:none;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.32),
            transparent 45%
        );

    opacity:.65;
}

.product-main-image img{
    width:100%;
    height:100%;

    object-fit:contain;

    display:block;

    position:relative;

    z-index:1;

    transition:
        opacity .20s ease,
        transform .25s cubic-bezier(.22,1,.36,1);
}


/* =========================================================
   PRODUCT IMAGE NAVIGATION
========================================================= */

.image-prev,
.image-next{
    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:42px;
    height:42px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.94);

    color:#1e293b;

    box-shadow:
        0 4px 15px rgba(15,23,42,.14),
        0 1px 3px rgba(15,23,42,.08);

    display:flex;

    align-items:center;
    justify-content:center;

    cursor:pointer;

    z-index:5;

    transition:
        transform .15s ease,
        box-shadow .18s ease,
        background-color .18s ease;
}

.image-prev{
    left:12px;
}

.image-next{
    right:12px;
}

.image-prev:hover,
.image-next:hover{
    background:#fff;

    box-shadow:
        0 6px 18px rgba(15,23,42,.17);
}

.image-prev:active,
.image-next:active{
    transform:translateY(-50%) scale(.91);
}


/* =========================================================
   PRODUCT THUMBNAILS
========================================================= */

.product-thumbnails{
    width:100%;

    display:flex;

    gap:9px;

    overflow-x:auto;

    padding:12px 2px 4px;

    box-sizing:border-box;

    scrollbar-width:none;

    -webkit-overflow-scrolling:touch;
}

.product-thumbnails::-webkit-scrollbar{
    display:none;
}

.product-thumbnails img{
    width:68px;
    height:68px;

    flex:0 0 68px;

    object-fit:cover;

    border-radius:12px;

    border:2px solid transparent;

    background:#f8fafc;

    cursor:pointer;

    opacity:.78;

    box-shadow:0 2px 7px rgba(15,23,42,.06);

    transition:
        transform .16s ease,
        opacity .16s ease,
        border-color .16s ease,
        box-shadow .16s ease;
}

.product-thumbnails img:hover{
    opacity:1;

    transform:translateY(-2px);
}

.product-thumbnails img.active{
    opacity:1;

    border-color:#2563eb;

    box-shadow:
        0 0 0 2px rgba(37,99,235,.10),
        0 4px 12px rgba(37,99,235,.12);
}

.product-thumbnails img:active{
    transform:scale(.94);
}


/* =========================================================
   PRODUCT INFORMATION CARD
========================================================= */

.product-info{
    width:100%;
    min-width:0;

    background:#fff;

    border:1px solid #e8edf5;

    border-radius:22px;

    padding:24px;

    box-shadow:
        0 12px 35px rgba(15,23,42,.07),
        0 2px 8px rgba(15,23,42,.03);

    animation:trsProductInfoEnter .40s cubic-bezier(.22,1,.36,1) .06s both;
}

@keyframes trsProductInfoEnter{

    from{
        opacity:0;

        transform:translateY(18px);
    }

    to{
        opacity:1;

        transform:translateY(0);
    }
}

.product-info h1{
    margin:0;

    font-size:27px;

    line-height:1.32;

    font-weight:800;

    color:#0f172a;

    word-break:break-word;

    letter-spacing:-.35px;
}

.product-sku{
    margin-top:8px;

    color:#94a3b8;

    font-size:13px;

    line-height:1.5;
}

.product-sku span{
    font-weight:700;

    color:#64748b;
}

.product-meta{
    margin-top:11px;

    display:inline-flex;

    align-items:center;

    gap:7px;

    padding:7px 11px;

    border-radius:9px;

    background:#eff6ff;

    color:#64748b;

    font-size:12px;

    font-weight:600;
}

.product-meta i{
    color:#2563eb;
}

/* =====================================================
   PRODUCT RATING
===================================================== */

.product-meta{
    width:fit-content;
    max-width:100%;
    flex-wrap:wrap;
}

.product-meta > span{
    display:inline-flex;
    align-items:center;
    gap:7px;
}

.product-rating{
    display:inline-flex !important;
    align-items:center;
    gap:4px !important;
    margin-left:4px;
    padding-left:11px;
    border-left:1px solid #dbe5f0;
    color:#64748b;
    white-space:nowrap;
}

.product-rating i{
    color:#f59e0b !important;
    font-size:13px;
}

.product-rating strong{
    color:#f59e0b;
    font-size:13px;
    font-weight:800;
}


/* =====================================================
   SUGGESTED SELLING PRICE
===================================================== */

.suggested-selling-price-section{
    width:100%;
    margin-top:16px;
    padding:14px 16px;
    box-sizing:border-box;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;

    background:linear-gradient(
        135deg,
        #f0fdf4 0%,
        #f8fafc 100%
    );

    border:1px solid #d9f0df;
    border-radius:14px;

    box-shadow:
        0 5px 16px rgba(15,23,42,.04);

    animation:trsSuggestedPriceEnter .35s
        cubic-bezier(.22,1,.36,1) both;
}

.suggested-selling-price-label{
    display:flex;
    align-items:center;
    gap:8px;

    color:#475569;
    font-size:13px;
    font-weight:700;
    line-height:1.4;
}

.suggested-selling-price-label i{
    color:#f59e0b;
    font-size:14px;
}

.suggested-selling-price{
    flex-shrink:0;

    color:#16a34a;
    font-size:20px;
    font-weight:850;
    line-height:1;

    letter-spacing:-.3px;
    white-space:nowrap;
}


/* =====================================================
   SUGGESTED PRICE ANIMATION
===================================================== */

@keyframes trsSuggestedPriceEnter{
    from{
        opacity:0;
        transform:translateY(6px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}


/* =====================================================
   MOBILE PRODUCT RATING + SUGGESTED PRICE
===================================================== */

@media(max-width:100px){

    .product-meta{
        width:auto;
        max-width:100%;
        display:flex;
        align-items:center;
        flex-wrap:wrap;
        gap:7px;
    }

    .product-meta > span{
        gap:5px;
    }

    .product-rating{
        margin-left:2px;
        padding-left:8px;
    }

    .product-rating i{
        font-size:11px;
    }

    .product-rating strong{
        font-size:12px;
    }

    .suggested-selling-price-section{
        margin-top:13px;
        padding:12px 13px;
        border-radius:13px;
        gap:10px;
    }

    .suggested-selling-price-label{
        font-size:12px;
        gap:6px;
    }

    .suggested-selling-price-label i{
        font-size:13px;
    }

    .suggested-selling-price{
        font-size:18px;
    }

}

/* =========================================================
   PRODUCT PRICE
========================================================= */

.product-price-section{
    margin-top:18px;

    padding:16px 0;

    border-top:1px solid #eef2f7;

    border-bottom:1px solid #eef2f7;

    display:flex;

    align-items:baseline;

    gap:10px;
}

.product-price-label{
    font-size:14px;

    color:#64748b;

    font-weight:600;
}

.product-price{
    font-size:30px;

    font-weight:800;

    color:#2563eb;

    letter-spacing:-.5px;
}


/* =========================================================
   VARIANTS
========================================================= */

.variant-container{
    margin-top:20px;
}

.variant-group{
    margin-bottom:19px;
}

.variant-group > label{
    display:block;

    margin-bottom:10px;

    font-size:15px;

    font-weight:800;

    color:#1e293b;
}

.variant-options{
    display:flex;

    flex-wrap:wrap;

    gap:9px;
}

.variant-option{
    min-height:43px;

    padding:8px 15px;

    border-radius:10px;

    border:1px solid #d9e0ea;

    background:#fff;

    color:#334155;

    font-size:14px;

    font-weight:700;

    cursor:pointer;

    transition:
        transform .14s ease,
        border-color .16s ease,
        background-color .16s ease,
        color .16s ease,
        box-shadow .16s ease;
}

.variant-option:hover{
    border-color:#2563eb;

    background:#f8fbff;
}

.variant-option.selected{
    background:#2563eb;

    color:#fff;

    border-color:#2563eb;

    box-shadow:
        0 4px 12px rgba(37,99,235,.20);
}

.variant-option:active{
    transform:scale(.96);
}


/* =========================================================
   SELLING PRICE
========================================================= */

.selling-price-section{
    margin-top:20px;
}

.selling-price-section label{
    display:block;

    margin-bottom:9px;

    font-size:14px;

    font-weight:800;

    color:#1e293b;
}

.selling-input-wrapper{
    width:100%;

    height:52px;

    display:flex;

    align-items:center;

    border:1px solid #d8e0ea;

    border-radius:12px;

    background:#f8fafc;

    box-sizing:border-box;

    overflow:hidden;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background-color .18s ease;
}

.selling-input-wrapper > span{
    padding-left:15px;
    padding-right:7px;

    color:#475569;

    font-size:17px;

    font-weight:800;
}

.selling-input-wrapper input{
    flex:1;

    height:100%;

    min-width:0;

    border:none;

    outline:none;

    background:transparent;

    padding:0 13px 0 4px;

    font-size:16px;

    font-weight:600;

    color:#0f172a;
}

.selling-input-wrapper:focus-within{
    background:#fff;

    border-color:#2563eb;

    box-shadow:
        0 0 0 3px rgba(37,99,235,.08);
}

.selling-input-wrapper input::placeholder{
    color:#94a3b8;

    font-weight:400;
}

.selling-input-wrapper input::-webkit-inner-spin-button,
.selling-input-wrapper input::-webkit-outer-spin-button{
    -webkit-appearance:none;

    margin:0;
}

.selling-input-wrapper input{
    appearance:textfield;
}


/* =========================================================
   PROFIT
========================================================= */

.profit-box{
    margin-top:13px;

    padding:14px 15px;

    border-radius:12px;

    background:
        linear-gradient(
            135deg,
            #f0fdf4,
            #ecfdf5
        );

    border:1px solid #bbf7d0;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:15px;

    box-shadow:0 3px 10px rgba(22,163,74,.05);
}

.profit-box span{
    font-size:14px;

    font-weight:700;

    color:#166534;
}

.profit-box strong{
    font-size:19px;

    font-weight:800;

    color:#16a34a;
}


/* =========================================================
   QUANTITY
========================================================= */

.quantity-section{
    margin-top:19px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:15px;
}

.quantity-label{
    font-size:15px;

    font-weight:800;

    color:#1e293b;
}

.quantity-control{
    height:45px;

    display:flex;

    align-items:center;

    border:1px solid #d7dee8;

    border-radius:11px;

    overflow:hidden;

    background:#fff;

    box-shadow:0 2px 7px rgba(15,23,42,.04);
}

.quantity-control button{
    width:43px;
    height:45px;

    border:none;

    background:#f8fafc;

    color:#334155;

    cursor:pointer;

    font-size:14px;

    display:flex;

    align-items:center;
    justify-content:center;

    transition:
        background-color .14s ease,
        color .14s ease,
        transform .12s ease;
}

.quantity-control button:hover{
    background:#eff6ff;

    color:#2563eb;
}

.quantity-control button:active{
    background:#eaf1ff;

    transform:scale(.91);
}

.quantity-control input{
    width:50px;
    height:45px;

    border:none;

    border-left:1px solid #edf0f4;

    border-right:1px solid #edf0f4;

    outline:none;

    text-align:center;

    font-size:15px;

    font-weight:800;

    color:#0f172a;

    background:#fff;
}

.quantity-control input:focus{
    background:#f8fbff;
}

.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button{
    -webkit-appearance:none;

    margin:0;
}

.quantity-control input{
    appearance:textfield;
}


/* =========================================================
   TOTAL PRICE
========================================================= */

.product-total-box{
    margin-top:17px;

    padding:15px;

    background:#f8fafc;

    border:1px solid #e5e7eb;

    border-radius:12px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    box-shadow:0 2px 8px rgba(15,23,42,.03);
}

.product-total-box span{
    font-size:14px;

    font-weight:700;

    color:#64748b;
}

.product-total-box strong{
    font-size:22px;

    font-weight:800;

    color:#0f172a;
}


/* =========================================================
   PRODUCT ACTIONS
========================================================= */

.product-actions{
    margin-top:19px;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:10px;
}

.product-actions button{
    min-height:52px;

    border-radius:12px;

    border:none;

    font-size:15px;

    font-weight:800;

    cursor:pointer;

    display:flex;

    align-items:center;
    justify-content:center;

    gap:8px;

    transition:
        transform .14s ease,
        box-shadow .18s ease,
        background-color .16s ease;
}

.product-cart-btn{
    background:#eff6ff;

    color:#2563eb;

    border:1px solid #bfdbfe !important;

    box-shadow:0 3px 10px rgba(37,99,235,.06);
}

.product-cart-btn:hover{
    background:#dbeafe;

    box-shadow:0 5px 14px rgba(37,99,235,.10);
}

.product-order-btn{
    background:#2563eb;

    color:#fff;

    box-shadow:
        0 6px 16px rgba(37,99,235,.20);
}

.product-order-btn:hover{
    background:#1d4ed8;

    box-shadow:
        0 8px 20px rgba(37,99,235,.25);
}

.product-actions button:active{
    transform:scale(.96);
}


/* =========================================================
   DESCRIPTION
========================================================= */

.product-description-section{
    margin-top:30px;

    padding-top:21px;

    border-top:1px solid #edf1f5;
}

.product-description-section h2{
    margin:0 0 13px;

    font-size:19px;

    font-weight:800;

    color:#0f172a;

    display:flex;

    align-items:center;

    gap:8px;
}

.product-description-section h2::before{
    content:"";

    width:4px;

    height:20px;

    border-radius:5px;

    background:#2563eb;

    flex-shrink:0;
}

.product-description{
    padding:15px;

    background:#f8fafc;

    border:1px solid #edf1f5;

    border-radius:13px;

    font-size:14px;

    line-height:1.8;

    color:#475569;

    white-space:pre-line;

    word-break:break-word;
}


/* =========================================================
   PRODUCT IMAGE SWITCH ANIMATION
========================================================= */

.product-main-image img.trs-image-changing{
    opacity:.35;

    transform:scale(.985);
}


/* =========================================================
   PRODUCT LOGIN REQUIRED
========================================================= */

.login-required{
    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:25px;

    text-align:center;
}

.login-required-page{
    min-height:100vh;

    width:100%;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:30px 20px;

    box-sizing:border-box;

    background:#f3f6ff;

    font-family:Arial,sans-serif;
}

.login-required-box{
    width:100%;

    max-width:420px;

    background:#fff;

    border-radius:18px;

    padding:35px 25px;

    box-sizing:border-box;

    text-align:center;

    box-shadow:0 8px 30px rgba(0,0,0,.08);

    animation:trsLoginCardIn .30s cubic-bezier(.22,1,.36,1) both;
}

@keyframes trsLoginCardIn{

    from{
        opacity:0;
        transform:translateY(18px) scale(.98);
    }

    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

.login-required-icon{
    width:65px;
    height:65px;

    margin:0 auto 18px;

    border-radius:50%;

    background:#eff6ff;

    color:#2563eb;

    display:flex;

    align-items:center;
    justify-content:center;

    font-size:27px;
}

.login-required-box h2{
    margin:0 0 12px;

    font-size:25px;

    color:#111827;

    font-weight:700;
}

.login-required-box p{
    margin:0 auto 25px;

    max-width:340px;

    font-size:15px;

    line-height:1.6;

    color:#6b7280;
}

.login-required-btn{
    display:flex;

    align-items:center;

    justify-content:center;

    gap:9px;

    width:100%;

    min-height:48px;

    box-sizing:border-box;

    background:#2563eb;

    color:#fff;

    text-decoration:none;

    border-radius:10px;

    font-size:16px;

    font-weight:600;

    transition:
        transform .14s ease,
        background-color .16s ease,
        box-shadow .18s ease;
}

.login-required-btn:hover{
    background:#1d4ed8;

    box-shadow:0 5px 14px rgba(37,99,235,.16);
}

.login-required-btn:active{
    transform:scale(.97);
}

.login-required-back{
    display:block;

    margin-top:17px;

    color:#6b7280;

    text-decoration:none;

    font-size:14px;

    transition:color .16s ease;
}

.login-required-back:hover{
    color:#2563eb;
}


/* =========================================================
   PRODUCT PAGE RESPONSIVE
========================================================= */

@media (max-width:900px){

    .product-page{
        grid-template-columns:1fr;

        gap:22px;

        max-width:700px;
    }

    .product-info{
        padding:22px;
    }

    .product-main-image{
        max-height:650px;
    }
}


@media (max-width:600px){

    .product-page{
        display:block;

        width:100%;

        padding:9px 12px 95px;

        animation-duration:.30s;
    }

    .product-gallery{
        margin-bottom:16px;

        animation-duration:.32s;
    }

    .product-main-image{
        width:100%;

        aspect-ratio:1 / 1;

        border-radius:16px;

        box-shadow:
            0 8px 22px rgba(15,23,42,.07);
    }

    .image-prev,
    .image-next{
        width:35px;
        height:35px;

        font-size:12px;
    }

    .image-prev{
        left:9px;
    }

    .image-next{
        right:9px;
    }

    .product-thumbnails{
        padding-top:9px;

        gap:7px;
    }

    .product-thumbnails img{
        width:58px;
        height:58px;

        flex-basis:58px;

        border-radius:9px;
    }


    /* Product information */

    .product-info{
        padding:18px 15px 20px;

        border-radius:18px;

        box-shadow:
            0 8px 24px rgba(15,23,42,.06);
    }

    .product-info h1{
        font-size:21px;

        line-height:1.35;

        letter-spacing:-.15px;
    }

    .product-sku{
        font-size:12px;

        margin-top:5px;
    }

    .product-meta{
        font-size:11px;

        margin-top:8px;

        padding:6px 9px;
    }

    .product-price-section{
        margin-top:12px;

        padding:13px 0;
    }

    .product-price-label{
        font-size:13px;
    }

    .product-price{
        font-size:25px;
    }

    .variant-container{
        margin-top:16px;
    }

    .variant-group{
        margin-bottom:15px;
    }

    .variant-group > label{
        font-size:14px;

        margin-bottom:8px;
    }

    .variant-options{
        gap:7px;
    }

    .variant-option{
        min-height:39px;

        padding:7px 12px;

        font-size:13px;

        border-radius:9px;
    }

    .selling-price-section{
        margin-top:16px;
    }

    .selling-price-section label{
        font-size:13px;

        margin-bottom:8px;
    }

    .selling-input-wrapper{
        height:48px;

        border-radius:10px;
    }

    .selling-input-wrapper input{
        font-size:15px;
    }

    .profit-box{
        padding:12px 13px;

        margin-top:11px;

        border-radius:10px;
    }

    .profit-box span{
        font-size:13px;
    }

    .profit-box strong{
        font-size:17px;
    }

    .quantity-section{
        margin-top:15px;
    }

    .quantity-label{
        font-size:14px;
    }

    .quantity-control{
        height:42px;
    }

    .quantity-control button{
        width:39px;
        height:42px;
    }

    .quantity-control input{
        width:43px;
        height:42px;
    }

    .product-total-box{
        margin-top:14px;

        padding:13px;

        border-radius:10px;
    }

    .product-total-box span{
        font-size:13px;
    }

    .product-total-box strong{
        font-size:19px;
    }

    .product-actions{
        margin-top:14px;

        gap:8px;
    }

    .product-actions button{
        min-height:49px;

        font-size:13px;

        border-radius:10px;
    }

    .product-description-section{
        margin-top:23px;

        padding-top:17px;
    }

    .product-description-section h2{
        font-size:18px;

        margin-bottom:9px;
    }

    .product-description{
        padding:13px;

        font-size:13px;

        line-height:1.7;

        border-radius:11px;
    }
}


@media (max-width:480px){

    .login-required-page{
        padding:20px 15px;
    }

    .login-required-box{
        padding:30px 20px;

        border-radius:16px;
    }

    .login-required-box h2{
        font-size:23px;
    }

    .login-required-box p{
        font-size:14px;
    }
}


@media (max-width:360px){

    .product-page{
        padding-left:9px;
        padding-right:9px;
    }

    .product-info{
        padding-left:13px;
        padding-right:13px;
    }

    .product-info h1{
        font-size:19px;
    }

    .product-price{
        font-size:22px;
    }

    .product-actions button{
        font-size:12px;

        gap:5px;
    }

    .variant-option{
        padding-left:10px;
        padding-right:10px;

        font-size:12px;
    }
}


/* =========================================================
   GLOBAL PREMIUM POPUP
========================================================= */

#trsGlobalPopup{
    position:fixed;

    inset:0;

    z-index:99999;

    display:flex;

    align-items:center;
    justify-content:center;

    padding:20px;

    visibility:hidden;

    opacity:0;

    transition:
        opacity .20s ease,
        visibility .20s ease;
}

#trsGlobalPopup .trs-popup-backdrop{
    position:absolute;

    inset:0;

    background:rgba(15,23,42,.55);
}

#trsGlobalPopup .trs-popup-card{
    position:relative;

    width:100%;

    max-width:380px;

    padding:30px 24px 24px;

    background:#fff;

    border-radius:26px;

    text-align:center;

    box-shadow:0 25px 70px rgba(0,0,0,.22);

    transform:translateY(15px) scale(.96);

    opacity:0;

    transition:
        transform .24s cubic-bezier(.22,1,.36,1),
        opacity .18s ease;
}

#trsGlobalPopup.show{
    visibility:visible;
    opacity:1;
}

#trsGlobalPopup.show .trs-popup-card{
    transform:translateY(0) scale(1);
    opacity:1;
}

.trs-popup-close{
    position:absolute;

    top:13px;
    right:13px;

    width:34px;
    height:34px;

    border:none;

    border-radius:50%;

    background:#f4f6fa;

    color:#64748b;

    display:flex;

    align-items:center;
    justify-content:center;

    font-size:23px;

    line-height:1;

    cursor:pointer;

    transition:
        background-color .16s ease,
        transform .14s ease,
        color .16s ease;
}

.trs-popup-close:hover{
    background:#e9eef7;

    color:#334155;
}

.trs-popup-close:active{
    transform:scale(.88);
}

.trs-popup-icon{
    position:relative;

    width:78px;
    height:78px;

    margin:0 auto 18px;

    border-radius:50%;

    display:flex;

    align-items:center;
    justify-content:center;

    font-size:32px;

    animation:
        trsPopupIconIn .30s cubic-bezier(.22,1,.36,1) .04s both;
}

.trs-popup-icon::before{
    content:"";

    position:absolute;

    inset:-5px;

    border-radius:50%;

    border:2px solid currentColor;

    opacity:.10;

    animation:trsPopupPulse 1.5s ease-out infinite;
}

@keyframes trsPopupIconIn{

    0%{
        opacity:0;
        transform:scale(.7);
    }

    70%{
        transform:scale(1.04);
    }

    100%{
        opacity:1;
        transform:scale(1);
    }
}

@keyframes trsPopupPulse{

    0%{
        transform:scale(.9);
        opacity:.12;
    }

    100%{
        transform:scale(1.3);
        opacity:0;
    }
}

#trsGlobalPopup.success .trs-popup-icon{
    background:#ecfdf3;
    color:#16a34a;
}

#trsGlobalPopup.error .trs-popup-icon{
    background:#fef2f2;
    color:#dc2626;
}

#trsGlobalPopup.warning .trs-popup-icon{
    background:#fff7ed;
    color:#ea580c;
}

#trsGlobalPopup.info .trs-popup-icon{
    background:#eff6ff;
    color:#2563eb;
}

#trsGlobalPopup.question .trs-popup-icon{
    background:#f5f3ff;
    color:#7c3aed;
}

#trsGlobalPopup.loading .trs-popup-icon{
    background:#eff6ff;
    color:#2563eb;
}

#trsGlobalPopup.loading .trs-popup-icon::before{
    animation:none;
}

.trs-popup-content{
    padding:0 5px;
}

.trs-popup-content h3{
    margin:0 0 9px;

    color:#111827;

    font-size:22px;

    line-height:1.3;

    font-weight:800;
}

.trs-popup-content p{
    margin:0 auto;

    max-width:310px;

    color:#64748b;

    font-size:14px;

    line-height:1.65;
}

.trs-popup-actions{
    display:flex;

    gap:10px;

    width:100%;

    margin-top:23px;
}

.trs-popup-actions button{
    flex:1;

    min-height:48px;

    padding:0 18px;

    border:none;

    border-radius:13px;

    font-family:Arial,sans-serif;

    font-size:14px;

    font-weight:700;

    cursor:pointer;

    transition:
        transform .14s ease,
        box-shadow .18s ease,
        background-color .16s ease;
}

.trs-popup-primary{
    background:#2563eb;

    color:#fff;

    box-shadow:0 7px 18px rgba(37,99,235,.22);
}

.trs-popup-primary:hover{
    background:#1d4ed8;

    box-shadow:0 9px 22px rgba(37,99,235,.28);
}

.trs-popup-secondary{
    background:#f1f5f9;

    color:#334155;
}

.trs-popup-secondary:hover{
    background:#e2e8f0;
}

.trs-popup-actions button:active{
    transform:scale(.95);
}

#trsGlobalPopup.success .trs-popup-primary{
    background:#16a34a;

    box-shadow:0 7px 18px rgba(22,163,74,.22);
}

#trsGlobalPopup.success .trs-popup-primary:hover{
    background:#15803d;
}

#trsGlobalPopup.error .trs-popup-primary{
    background:#dc2626;

    box-shadow:0 7px 18px rgba(220,38,38,.20);
}

#trsGlobalPopup.error .trs-popup-primary:hover{
    background:#b91c1c;
}

#trsGlobalPopup.warning .trs-popup-primary{
    background:#ea580c;
}

#trsGlobalPopup.loading .trs-popup-card{
    padding-top:35px;
    padding-bottom:35px;
}

#trsGlobalPopup.loading .trs-popup-icon{
    font-size:29px;
}


/* =========================================================
   POPUP MOBILE
========================================================= */

@media(max-width:480px){

    #trsGlobalPopup{
        padding:16px;
    }

    #trsGlobalPopup .trs-popup-card{
        max-width:360px;

        padding:28px 20px 20px;

        border-radius:23px;
    }

    .trs-popup-icon{
        width:72px;
        height:72px;

        font-size:29px;

        margin-bottom:16px;
    }

    .trs-popup-content h3{
        font-size:20px;
    }

    .trs-popup-content p{
        font-size:13px;

        line-height:1.6;
    }

    .trs-popup-actions{
        margin-top:20px;
    }

    .trs-popup-actions button{
        min-height:46px;

        font-size:13px;

        border-radius:12px;
    }
}


@media(max-width:350px){

    #trsGlobalPopup{
        padding:12px;
    }

    #trsGlobalPopup .trs-popup-card{
        padding:25px 17px 18px;
    }

    .trs-popup-icon{
        width:66px;
        height:66px;

        font-size:26px;
    }

    .trs-popup-content h3{
        font-size:19px;
    }

    .trs-popup-content p{
        font-size:12px;
    }
}


/* =========================================================
   FAST SCROLL REVEAL
========================================================= */

.trs-reveal{
    opacity:0;

    transform:translateY(16px);

    transition:
        opacity .32s ease,
        transform .32s cubic-bezier(.22,1,.36,1);

    transition-delay:
        var(--trs-stagger-delay,0ms);
}

.trs-reveal-visible{
    opacity:1;

    transform:translateY(0);
}

.trs-reveal.product-card{
    transform:translateY(12px);
}

.trs-reveal.product-card.trs-reveal-visible{
    transform:translateY(0);
}

.trs-reveal.category-card{
    transform:translateY(10px);
}

.trs-reveal.category-card.trs-reveal-visible{
    transform:translateY(0);
}


/* =========================================================
   NO PAGE-WIDE TRANSFORM
========================================================= */

html.trs-page-ready,
html.trs-page-exit{
    transform:none !important;
}

html.trs-page-ready body,
html.trs-page-exit body,
html.trs-product-transition body{
    transform:none !important;
}

html.trs-page-exit{
    opacity:.96;

    transition:opacity .20s ease;
}


/* =========================================================
   PRODUCT OPENING
========================================================= */

.product-card.trs-product-opening{
    transform:scale(.985) !important;

    transition:
        transform .18s ease,
        opacity .18s ease !important;
}


/* =========================================================
   GLOBAL CLICK FEEDBACK
========================================================= */

.trs-click-active{
    transform:scale(.975) !important;
}

.bottom-nav.trs-click-active{
    transform:none !important;
}

.bottom-nav .nav-item.trs-click-active{
    transform:none !important;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media(prefers-reduced-motion:reduce){

    html{
        scroll-behavior:auto;
    }

    *,
    *::before,
    *::after{
        animation-duration:.01ms !important;

        animation-iteration-count:1 !important;

        transition-duration:.01ms !important;

        scroll-behavior:auto !important;
    }

    body,
    html{
        transform:none !important;
    }

    .trs-reveal{
        opacity:1 !important;

        transform:none !important;
    }

    .product-page,
    .product-gallery,
    .product-info,
    .login-required-box{
        animation:none !important;

        opacity:1 !important;

        transform:none !important;
    }

    .bottom-nav{
        position:fixed !important;

        transform:none !important;

        animation:none !important;
    }

    .bottom-nav .nav-item{
        animation:none !important;

        transform:none !important;

        opacity:1 !important;
    }
}


/* =========================================================
   GLOBAL FIXED NAV SAFETY
========================================================= */

html .bottom-nav{
    position:fixed !important;

    left:0 !important;
    right:0 !important;
    bottom:0 !important;

    width:100% !important;

    transform:none !important;

    z-index:99999 !important;
}


/* =========================================================
   PERFORMANCE SAFETY
========================================================= */

img{
    max-width:100%;
}

video,
iframe{
    max-width:100%;
}

body,
main,
section,
header,
footer{
    max-width:100%;
}


/* =========================================================
   END OF TRS RESELLER GLOBAL STYLE
========================================================= */

/* =====================================================
   TRS RESELLER
   CATEGORY PRODUCTS PAGE
   COMPLETE CSS
===================================================== */


/* =====================================================
   PAGE
===================================================== */

.category-products-page {
    background: #f5f7fb;
    min-height: 100vh;
}


/* =====================================================
   MAIN CONTAINER
===================================================== */

.category-products-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 20px;
}


/* =====================================================
   CATEGORY INFO / TOP AREA
===================================================== */

.category-products-info {
    position: relative;

    display: flex;
    align-items: center;

    gap: 15px;

    margin-bottom: 20px;
    padding: 15px 0;
}


/* =====================================================
   BACK BUTTON
===================================================== */

.category-products-back {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    border: none;
    outline: none;

    background: #ffffff;
    color: #2563eb;

    padding: 10px 15px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.category-products-back:hover {
    transform: translateY(-1px);

    background: #f8fafc;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.10);
}


.category-products-back:active {
    transform: scale(0.96);
}


.category-products-back i {
    font-size: 14px;
}


/* =====================================================
   CATEGORY TITLE
===================================================== */

.category-products-title {
    margin: 0;

    font-size: 24px;
    font-weight: 700;

    color: #111827;

    line-height: 1.3;
}


/* =====================================================
   PRODUCT COUNT
===================================================== */

#categoryProductsCount {
    margin: 0 0 0 auto;

    font-size: 14px;

    color: #6b7280;

    white-space: nowrap;
}


/* =====================================================
   PRODUCTS HEADING
===================================================== */

.category-products-heading-section {
    margin-bottom: 15px;
}


.category-products-heading-section h2 {
    margin: 0;

    font-size: 20px;
    font-weight: 700;

    color: #111827;

    line-height: 1.4;
}


/* =====================================================
   PRODUCTS GRID
===================================================== */

.category-products-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;

    width: 100%;
}


/* =====================================================
   PRODUCT CARD
===================================================== */

.category-product-card {
    position: relative;

    background: #ffffff;

    border-radius: 14px;

    overflow: hidden;

    cursor: pointer;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.category-product-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.12);
}


.category-product-card:active {
    transform: scale(0.98);
}


/* =====================================================
   PRODUCT IMAGE WRAPPER
===================================================== */

.category-product-image-wrap {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    background: #f3f4f6;

    overflow: hidden;
}


/* =====================================================
   PRODUCT IMAGE
===================================================== */

.category-product-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.35s ease;
}


.category-product-card:hover
.category-product-image {
    transform: scale(1.04);
}


/* =====================================================
   RATING
===================================================== */

.category-product-rating {
    position: absolute;

    top: 8px;
    left: 8px;

    display: inline-flex;

    align-items: center;

    gap: 4px;

    background: #ffffff;

    padding: 5px 8px;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 600;

    color: #111827;

    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.10);

    z-index: 2;
}


.category-product-rating i {
    color: #f59e0b;
}


/* =====================================================
   PRODUCT INFORMATION
===================================================== */

.category-product-info {
    padding: 12px;
}


/* =====================================================
   PRODUCT NAME
===================================================== */

.category-product-name {
    margin: 0 0 8px;

    font-size: 15px;

    font-weight: 600;

    color: #111827;

    line-height: 1.4;

    display: -webkit-box;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =====================================================
   PRICE ROW
===================================================== */

.category-product-price-row {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 7px;
}


/* =====================================================
   SELLING PRICE
===================================================== */

.category-product-selling-price {
    font-size: 17px;

    font-weight: 700;

    color: #2563eb;

    line-height: 1.3;
}


/* =====================================================
   OLD PRICE
===================================================== */

.category-product-old-price {
    font-size: 13px;

    font-weight: 500;

    color: #9ca3af;

    text-decoration: line-through;

    line-height: 1.3;
}


/* =====================================================
   SUGGESTED SELLING PRICE
===================================================== */

.category-product-suggested {
    margin-top: 7px;

    font-size: 12px;

    color: #6b7280;

    line-height: 1.4;
}


/* =====================================================
   LOADING / EMPTY / ERROR MESSAGE
===================================================== */

.category-products-message {
    grid-column: 1 / -1;

    width: 100%;

    text-align: center;

    padding: 55px 20px;

    color: #6b7280;
}


.category-products-message i {
    display: block;

    margin-bottom: 14px;

    font-size: 30px;

    color: #2563eb;
}


.category-products-message h3 {
    margin: 0 0 7px;

    font-size: 18px;

    font-weight: 700;

    color: #111827;
}


.category-products-message p {
    margin: 0;

    font-size: 14px;

    color: #6b7280;
}


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

@media (min-width: 600px) {

    .category-products-container {
        padding: 22px;
    }


    .category-products-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 18px;
    }


    .category-product-info {
        padding: 13px;
    }

}


/* =====================================================
   DESKTOP
===================================================== */

@media (min-width: 900px) {

    .category-products-container {
        padding: 25px;
    }


    .category-products-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 20px;
    }


    .category-products-title {
        font-size: 26px;
    }


    .category-products-heading-section h2 {
        font-size: 21px;
    }


    .category-product-name {
        font-size: 16px;
    }


    .category-product-selling-price {
        font-size: 18px;
    }

}


/* =====================================================
   LARGE DESKTOP
===================================================== */

@media (min-width: 1200px) {

    .category-products-container {
        padding-left: 30px;
        padding-right: 30px;
    }


    .category-products-grid {
        grid-template-columns:
            repeat(5, minmax(0, 1fr));
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 420px) {

    .category-products-container {
        padding: 15px;
    }


    .category-products-info {
        gap: 10px;

        margin-bottom: 15px;

        padding: 10px 0;
    }


    .category-products-back {
        padding: 9px 11px;

        font-size: 13px;
    }


    .category-products-title {
        font-size: 20px;
    }


    #categoryProductsCount {
        font-size: 12px;
    }


    .category-products-grid {
        gap: 10px;
    }


    .category-product-info {
        padding: 9px;
    }


    .category-product-name {
        font-size: 13px;
    }


    .category-product-selling-price {
        font-size: 15px;
    }


    .category-product-old-price {
        font-size: 11px;
    }


    .category-product-suggested {
        font-size: 11px;
    }

}