/* Ghost X Development category styles — loaded only on category pages. */

.animated-button {
    background: linear-gradient(to right, #2F6BFF, #45E6F0) !important;
    border: none !important;
    position: relative;
    overflow: hidden;
}

.animate-shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.glow-text-subtle {
    text-shadow: 0 0 8px rgba(69,230,240,0.4);
}

.gxd-grid-toolbar{
    position: relative;
    z-index: 20;
}
.gxd-grid-toggle{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    justify-content:flex-end;
}
.gxd-grid-btn{
    appearance:none;
    border:1px solid rgba(69,230,240,.28);
    background:rgba(11,17,24,.82);
    color:#d9f7ff;
    border-radius:999px;
    padding:10px 16px;
    font-size:.95rem;
    font-weight:800;
    line-height:1;
    transition:all .25s ease;
    box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.gxd-grid-btn:hover,
.gxd-grid-btn:focus-visible{
    border-color:rgba(69,230,240,.7);
    color:#fff;
    transform:translateY(-1px);
}
.gxd-grid-btn.is-active{
    background:linear-gradient(135deg, rgba(47,107,255,.105), rgba(69,230,240,.24));
    border-color:#45E6F0;
    color:#fff;
    box-shadow:0 0 0 1px rgba(69,230,240,.15), 0 12px 28px rgba(0,0,0,.22);
}
.gxd-product-card{
    height:100%;
    display:flex;
    flex-direction:column;
    background:linear-gradient(180deg, rgba(11,17,24,.98) 0%, rgba(12,17,23,.98) 100%);
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 18px 36px rgba(0,0,0,.26), 0 0 0 1px rgba(255,255,255,.018) inset;
}
.gxd-product-media{
    aspect-ratio: 4 / 3;
    isolation:isolate;
    background:linear-gradient(135deg,#0B1118,#111C28);
}
.gxd-product-image{
    object-fit:cover;
    object-position:center;
    display:block;
    opacity:1;
    content-visibility:visible!important;
    backface-visibility:visible!important;
    transform:none!important;
    will-change:auto!important;
}
/* Do not use a GPU hover transform as the mechanism that first rasterises an image. */
.gxd-product-media::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(180deg,transparent 62%,rgba(2,8,14,.18));
    opacity:.45;
    transition:opacity .22s ease;
}
@media (hover:hover){
    .gxd-product-card:hover .gxd-product-media::after{opacity:.18;}
}
.gxd-product-title{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    white-space:normal;
    min-height:2.72em;
    color:#f4f8ff!important;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    font-size:1.38rem;
    font-weight:800!important;
    line-height:1.28;
    letter-spacing:.005em;
    text-wrap:balance;
    text-shadow:none!important;
}
.gxd-product-card .py-5{
    padding:1.5rem 1.5rem 1.58rem;
}
.gxd-price-row{
    display:flex;
    align-items:flex-end;
    gap:.6rem;
    flex-wrap:wrap;
    margin-bottom:1rem;
}
.gxd-price-label{
    font-size:.8rem;
    font-weight:760;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:rgba(186,230,253,.72);
}
.gxd-price-current{
    font-size:1.92rem;
    font-weight:900;
    line-height:1;
}
.gxd-price-old{
    font-size:1.06rem;
    color:rgba(170,178,191,.96);
}
.gxd-cta-wrap{
    margin-top:auto;
    padding-top:.2rem;
}
.gxd-cta-wrap .animated-button{
    width:100%;
    min-height:58px;
    border-radius:14px;
    font-size:1.06rem;
    font-weight:900;
    letter-spacing:.02em;
    box-shadow:0 12px 26px rgba(47,107,255,.050);
}
#products-grid.gxd-grid-mode-grid-compact{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:1.15rem;
}
#products-grid.gxd-grid-mode-grid-compact .gxd-product-media{
    aspect-ratio:1 / 1;
}
#products-grid.gxd-grid-mode-grid-compact .gxd-product-title{
    font-size:1.22rem;
}
#products-grid.gxd-grid-mode-grid-default .gxd-product-title{
    font-size:1.44rem;
}
#products-grid.gxd-grid-mode-grid-compact .product-item .py-5{
    padding-top:1rem;
    padding-bottom:1rem;
}
#products-grid.gxd-grid-mode-grid-large{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:2rem;
}
#products-grid.gxd-grid-mode-grid-large .gxd-product-card{min-height:100%;}
#products-grid.gxd-grid-mode-grid-large .gxd-product-media{
    aspect-ratio:16 / 10;
}
#products-grid.gxd-grid-mode-grid-large .gxd-product-title{
    font-size:1.6rem;
}
@media (min-width: 1280px){
    #products-grid.gxd-grid-mode-grid-compact{
        grid-template-columns:repeat(5,minmax(0,1fr));
    }
    #products-grid.gxd-grid-mode-grid-default{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
    #products-grid.gxd-grid-mode-grid-large{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}
@media (min-width: 1024px) and (max-width: 1279px){
    #products-grid.gxd-grid-mode-grid-compact{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
    #products-grid.gxd-grid-mode-grid-default{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
    #products-grid.gxd-grid-mode-grid-large{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media (min-width: 640px) and (max-width: 1023px){
    #products-grid.gxd-grid-mode-grid-compact,
    #products-grid.gxd-grid-mode-grid-default,
    #products-grid.gxd-grid-mode-grid-large,
    #products-grid.gxd-grid-mode-list{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media (max-width: 639px){
    .gxd-grid-toolbar{
        align-items:flex-start;
    }
    .gxd-grid-toggle{
        justify-content:flex-start;
    }
    #products-grid.gxd-grid-mode-grid-compact,
    #products-grid.gxd-grid-mode-grid-default,
    #products-grid.gxd-grid-mode-grid-large,
    #products-grid.gxd-grid-mode-list{
        grid-template-columns:1fr;
    }
    #products-grid.gxd-grid-mode-grid-compact .gxd-product-media{
        aspect-ratio:4 / 3;
    }
}

#products-grid.gxd-grid-mode-list{
    grid-template-columns:1fr;
    gap:1rem;
}
#products-grid.gxd-grid-mode-list .product-item{
    display:block;
}
#products-grid.gxd-grid-mode-list .gxd-product-card{
    display:grid;
    grid-template-columns:minmax(220px, 320px) minmax(0,1fr);
    align-items:stretch;
}
#products-grid.gxd-grid-mode-list .gxd-product-media{
    aspect-ratio:auto;
    min-height:100%;
    height:100%;
}
#products-grid.gxd-grid-mode-list .gxd-product-image{
    height:100%;
}
#products-grid.gxd-grid-mode-list .gxd-product-title{
    -webkit-line-clamp:3;
    min-height:0;
}
#products-grid.gxd-grid-mode-list .product-item .py-5{
    display:flex;
    flex-direction:column;
    justify-content:center;
}
#products-grid.gxd-grid-mode-list .animated-button{
    max-width:260px;
}
@media (max-width: 899px){
    #products-grid.gxd-grid-mode-list .gxd-product-card{
        grid-template-columns:1fr;
    }
    #products-grid.gxd-grid-mode-list .gxd-product-media{
        aspect-ratio:4 / 3;
    }
    #products-grid.gxd-grid-mode-list .animated-button{
        max-width:none;
    }
}

/* PERFORMANCE OPTIMIZATIONS
   Keep the first visible rows fully paintable. Applying content-visibility to every card can make
   a browser rasterise an image only when a hover/transform occurs. Limit it to deeper rows. */
#products-grid{content-visibility:visible!important;}
.product-item{min-width:0;}
.product-item:nth-child(-n+12){content-visibility:visible!important;contain:layout style paint;}
.product-item:nth-child(n+13){
    contain:layout style paint;
    content-visibility:auto;
    contain-intrinsic-size:520px;
}

/* Reduce blur on mobile for performance */
@media (max-width: 768px) {
    .product-item .blur {
        filter: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

/* GXD media loading stability */
.gxd-product-media,.gxd-fd-img-wrap{background:linear-gradient(135deg,#07111b,#0b1a2b);}
.gxd-product-image,.gxd-fd-img{transform:none!important;will-change:auto!important;}
.gxd-image-unavailable{object-fit:cover!important;}

/* Readable GXD package highlights: larger than v1, still compact enough for 4-column cards. */
.gxd-new-badge{
    position:absolute;
    top:14px;
    left:14px;
    z-index:5;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:30px;
    padding:0 11px;
    border:1px solid rgba(106,223,255,.28);
    border-radius:999px;
    background:rgba(7,20,32,.88);
    color:#dff8ff;
    box-shadow:0 10px 24px rgba(0,0,0,.22),0 0 0 1px rgba(255,255,255,.02) inset;
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    font-family:Inter,ui-sans-serif,system-ui,sans-serif;
    font-size:.72rem;
    font-weight:780;
    line-height:1;
    letter-spacing:.12em;
    text-transform:uppercase;
    pointer-events:none;
}
.gxd-new-badge::before{content:none;}
.gxd-product-tags{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:9px;
    min-height:40px;
    margin:2px 0 1.12rem;
}
.gxd-product-tag{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:36px;
    padding:8px 14px;
    border:1px solid rgba(96,122,150,.26);
    border-radius:999px;
    background:linear-gradient(180deg,rgba(12,22,35,.88),rgba(8,16,27,.92));
    color:#dce9f5;
    box-shadow:0 8px 18px rgba(0,0,0,.16), inset 0 1px rgba(255,255,255,.03);
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:.86rem;
    font-weight:590;
    line-height:1;
    letter-spacing:.01em;
    white-space:nowrap;
}
.gxd-product-tag::before{
    content:"";
    width:6px;
    height:6px;
    flex:0 0 6px;
    border-radius:50%;
    background:currentColor;
    box-shadow:0 0 8px currentColor;
    opacity:.9;
}
.gxd-product-tag-polys{
    border-color:rgba(69,230,240,.26);
    background:linear-gradient(180deg,rgba(7,26,35,.92),rgba(7,18,28,.94));
    color:#71e7f2;
}
.gxd-product-tag-quality{
    border-color:rgba(162,124,255,.24);
    background:linear-gradient(180deg,rgba(22,18,38,.92),rgba(11,10,24,.94));
    color:#cdb8ff;
}
.gxd-product-tag-delivery{
    border-color:rgba(75,214,165,.24);
    background:linear-gradient(180deg,rgba(10,28,24,.92),rgba(8,19,17,.95));
    color:#97ecc0;
}
.gxd-product-tag-support{
    border-color:rgba(97,144,255,.24);
    background:linear-gradient(180deg,rgba(13,20,39,.92),rgba(10,15,31,.95));
    color:#aec6ff;
}
#products-grid.gxd-grid-mode-grid-compact .gxd-product-tags{gap:8px;}
#products-grid.gxd-grid-mode-grid-compact .gxd-product-tag{
    min-height:33px;
    padding:7px 12px;
    gap:6px;
    font-size:.79rem;
    font-weight:580;
}
#products-grid.gxd-grid-mode-grid-compact .gxd-product-tag::before{width:5px;height:5px;flex-basis:5px;}
#products-grid.gxd-grid-mode-list .gxd-product-tags{margin-bottom:1.05rem;}
@media (max-width:639px){
    .gxd-product-title{font-size:1.24rem;line-height:1.34;}
    .gxd-product-tags{gap:7px;margin-bottom:1rem;}
    .gxd-product-tag{min-height:33px;font-size:.79rem;padding:7px 12px;gap:6px;font-weight:590;} 
    .gxd-new-badge{top:12px;left:12px;min-height:28px;padding:0 10px;font-size:.69rem;}
}

.gxd-grid-toolbar,.gxd-grid-toggle{display:none!important;}

.gxd-product-card{overflow:hidden!important;border-radius:24px;}
.gxd-product-media{display:block;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px;border-bottom-left-radius:0;border-bottom-right-radius:0;line-height:0;}
.gxd-product-image{display:block!important;width:100%!important;height:100%!important;border-radius:0!important;}
.gxd-package-image-placeholder{border-top-left-radius:24px;border-top-right-radius:24px;}
.product-item .gxd-product-card > .absolute.-inset-0\.5{border-radius:24px!important;}


/* V12 login-aware add flow: make the required Discord step explicit before navigation. */
.gxd-add-action.is-login-required{
    background:linear-gradient(110deg,#168ec7 0%,#2f6bff 100%)!important;
    border:1px solid rgba(113,220,255,.28)!important;
}
.gxd-add-action.is-login-required .gxd-add-label{font-weight:760;}
.gxd-login-add-note{
    margin:.7rem .2rem 0;
    color:rgba(194,214,229,.78);
    font:590 .84rem/1.42 Inter,ui-sans-serif,system-ui,sans-serif;
    text-align:center;
}
@media (max-width:639px){
    .gxd-add-action.is-login-required{font-size:.98rem!important;}
    .gxd-login-add-note{font-size:.8rem;}
}


/* V13: keep all package feature tags on one clean line. */
.gxd-product-tags{
    flex-wrap:nowrap!important;
    gap:7px!important;
    min-height:34px!important;
    margin-bottom:1.05rem!important;
    overflow-x:auto;
    overflow-y:hidden;
    padding:1px 1px 4px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
}
.gxd-product-tags::-webkit-scrollbar{display:none;}
.gxd-product-tag{
    flex:0 0 auto;
    min-height:32px!important;
    padding:7px 10px!important;
    gap:5px!important;
    font-size:.76rem!important;
    font-weight:580!important;
    letter-spacing:0!important;
}
.gxd-product-tag::before{width:5px!important;height:5px!important;flex-basis:5px!important;}
@media (min-width:1280px){
    .gxd-product-tag{font-size:.78rem!important;padding-inline:11px!important;}
}


/* V14: simplify package tags to 3 clearer chips and align colours more closely with the GXD theme. */
.gxd-product-tags{
    flex-wrap:nowrap!important;
    gap:10px!important;
    min-height:38px!important;
    margin-bottom:1.08rem!important;
    overflow-x:auto;
    overflow-y:hidden;
    padding:2px 1px 4px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
}
.gxd-product-tag{
    flex:0 0 auto;
    min-height:36px!important;
    padding:8px 14px!important;
    gap:7px!important;
    border-radius:999px!important;
    font-size:.84rem!important;
    font-weight:560!important;
    line-height:1!important;
    letter-spacing:.005em!important;
    box-shadow:0 8px 18px rgba(0,0,0,.14), inset 0 1px rgba(255,255,255,.025)!important;
}
.gxd-product-tag::before{
    width:6px!important;
    height:6px!important;
    flex-basis:6px!important;
    box-shadow:0 0 8px currentColor!important;
    opacity:.95!important;
}
.gxd-product-tag-polys{
    border-color:rgba(69,230,240,.28)!important;
    background:linear-gradient(180deg,rgba(6,28,37,.96),rgba(6,20,29,.96))!important;
    color:#79eaf3!important;
}
.gxd-product-tag-quality{
    border-color:rgba(74,149,255,.26)!important;
    background:linear-gradient(180deg,rgba(10,20,42,.96),rgba(8,15,30,.97))!important;
    color:#a9c8ff!important;
}
.gxd-product-tag-support{
    border-color:rgba(60,196,255,.24)!important;
    background:linear-gradient(180deg,rgba(8,23,37,.96),rgba(8,17,30,.97))!important;
    color:#c8e6ff!important;
}
@media (min-width:1280px){
    .gxd-product-tag{
        min-height:38px!important;
        padding:8px 15px!important;
        font-size:.86rem!important;
    }
}
@media (max-width:639px){
    .gxd-product-tags{
        gap:8px!important;
        min-height:36px!important;
    }
    .gxd-product-tag{
        min-height:34px!important;
        padding:7px 12px!important;
        font-size:.8rem!important;
    }
}


/* V21: cleaner category card edges + refined tag typography */
.gxd-product-card{
    border:0!important;
    box-shadow:0 18px 34px rgba(0,0,0,.24), 0 1px 0 rgba(255,255,255,.02) inset!important;
    background:linear-gradient(180deg, rgba(10,17,26,.985) 0%, rgba(8,14,23,.985) 100%)!important;
}
.gxd-product-card > .absolute.-inset-0\.5{
    display:none!important;
}
.gxd-product-media{
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:linear-gradient(135deg,#08131d,#0d1927)!important;
    border-top-left-radius:22px!important;
    border-top-right-radius:22px!important;
}
.gxd-product-image,
.gxd-package-image-placeholder{
    border:0!important;
    outline:0!important;
}
.gxd-package-image-placeholder{
    border-top-left-radius:22px!important;
    border-top-right-radius:22px!important;
}
.gxd-product-tags{
    gap:8px!important;
    min-height:36px!important;
    margin:4px 0 1rem!important;
}
.gxd-product-tag{
    min-height:35px!important;
    padding:7px 13px!important;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    font-size:.81rem!important;
    font-weight:540!important;
    letter-spacing:.002em!important;
    color:#e6f1fa!important;
    text-rendering:optimizeLegibility!important;
}
.gxd-product-tag::before{
    width:5px!important;
    height:5px!important;
    flex-basis:5px!important;
    opacity:.92!important;
}
.gxd-product-tag-polys{
    border-color:rgba(69,230,240,.20)!important;
    background:linear-gradient(180deg,rgba(8,29,37,.94),rgba(8,20,28,.95))!important;
    color:#9af3fb!important;
}
.gxd-product-tag-quality{
    border-color:rgba(86,155,255,.20)!important;
    background:linear-gradient(180deg,rgba(12,22,40,.94),rgba(8,16,30,.95))!important;
    color:#c6dbff!important;
}
.gxd-product-tag-support{
    border-color:rgba(88,204,255,.18)!important;
    background:linear-gradient(180deg,rgba(9,22,35,.94),rgba(8,16,28,.95))!important;
    color:#d7ecff!important;
}
@media (min-width:1280px){
    .gxd-product-tag{
        font-size:.82rem!important;
        padding:7px 14px!important;
    }
}
@media (max-width:639px){
    .gxd-product-tag{
        min-height:34px!important;
        font-size:.79rem!important;
        padding:7px 12px!important;
    }
}


/* =====================================================================
   GXD V23 CATEGORY HEADER + CARD REFINEMENT
   ===================================================================== */
body.template-category #main-content>.w-full{
    padding-top:44px!important;
    padding-bottom:72px!important;
}
body.template-category .category-description{
    max-width:880px!important;
    margin:0 auto 26px!important;
}
body.template-category .category-description h1{
    margin-bottom:12px!important;
    font-size:clamp(2.25rem,2rem + .9vw,3.35rem)!important;
    line-height:1.08!important;
    font-weight:820!important;
    letter-spacing:-.03em!important;
}
body.template-category .category-description>p:first-of-type{
    display:block!important;
    max-width:760px!important;
    margin:0 auto!important;
    font-size:1rem!important;
    line-height:1.66!important;
    color:rgba(215,232,243,.8)!important;
}
body.template-category .category-description>p:not(:first-of-type){display:none!important;}
body.template-category .gxd-category-search-wrap{
    width:min(920px,100%)!important;
    margin:0 auto 28px!important;
}
body.template-category .gxd-category-search-field{
    position:relative!important;
}
body.template-category .gxd-category-search-icon{
    position:absolute!important;
    left:18px!important;
    top:50%!important;
    width:20px!important;
    height:20px!important;
    transform:translateY(-50%)!important;
    color:rgba(88,225,237,.82)!important;
    pointer-events:none!important;
}
body.template-category #search-input{
    width:100%!important;
    min-height:58px!important;
    padding:0 20px 0 50px!important;
    border:1px solid rgba(69,230,240,.13)!important;
    border-radius:15px!important;
    background:linear-gradient(180deg,rgba(7,18,31,.96),rgba(5,14,25,.99))!important;
    color:#fff!important;
    box-shadow:0 14px 30px rgba(0,0,0,.17)!important;
    font-family:Inter,ui-sans-serif,system-ui,sans-serif!important;
    font-size:.96rem!important;
    line-height:1.3!important;
    outline:none!important;
}
body.template-category #search-input:focus{
    border-color:rgba(69,230,240,.42)!important;
    box-shadow:0 0 0 3px rgba(69,230,240,.075),0 14px 30px rgba(0,0,0,.18)!important;
}
body.template-category #search-input::placeholder{color:rgba(199,218,232,.5)!important;}
body.template-category [aria-label="Related FiveM collections"]{
    gap:14px!important;
    margin-bottom:30px!important;
}
body.template-category [aria-label="Related FiveM collections"]>a{
    padding:18px 20px!important;
    border:1px solid rgba(69,230,240,.08)!important;
    border-radius:17px!important;
    background:linear-gradient(180deg,rgba(6,19,33,.88),rgba(4,14,25,.96))!important;
    box-shadow:0 12px 26px rgba(0,0,0,.14)!important;
}
body.template-category [aria-label="Related FiveM collections"]>a>div:first-child{
    font-size:.66rem!important;
    font-weight:750!important;
    letter-spacing:.16em!important;
}
body.template-category [aria-label="Related FiveM collections"]>a>div:nth-child(2){
    margin-top:8px!important;
    font-size:1.05rem!important;
    font-weight:720!important;
    line-height:1.28!important;
}
body.template-category [aria-label="Related FiveM collections"]>a p{
    margin-top:6px!important;
    font-size:.84rem!important;
    line-height:1.5!important;
    color:rgba(205,224,237,.7)!important;
}
body.template-category .gxd-product-card{
    border:0!important;
    outline:0!important;
    border-radius:22px!important;
    isolation:isolate!important;
    box-shadow:0 18px 38px rgba(0,0,0,.27)!important;
}
body.template-category .gxd-product-card:hover{
    border:0!important;
    outline:0!important;
    transform:translateY(-3px)!important;
    box-shadow:0 24px 46px rgba(0,0,0,.32)!important;
}
body.template-category .gxd-product-card>.absolute.-inset-0\.5{display:none!important;}
body.template-category .gxd-product-media{
    width:100%!important;
    margin:0!important;
    border:0!important;
    outline:0!important;
    border-radius:22px 22px 0 0!important;
    box-shadow:none!important;
    overflow:hidden!important;
}
body.template-category .gxd-product-media::before,
body.template-category .gxd-product-media::after{display:none!important;content:none!important;}
body.template-category .gxd-product-image{
    display:block!important;
    width:100%!important;
    height:100%!important;
    margin:0!important;
    border:0!important;
    outline:0!important;
    border-radius:0!important;
    object-fit:cover!important;
}
body.template-category .gxd-product-card .py-5{
    padding:20px 20px 21px!important;
}
body.template-category .gxd-product-title{
    min-height:2.6em!important;
    font-size:1.1rem!important;
    font-weight:730!important;
    line-height:1.3!important;
    letter-spacing:-.012em!important;
}
body.template-category .gxd-product-tags{
    gap:7px!important;
    min-height:34px!important;
    margin:4px 0 14px!important;
}
body.template-category .gxd-product-tag{
    min-height:33px!important;
    padding:7px 11px!important;
    gap:6px!important;
    border-radius:999px!important;
    font-size:.76rem!important;
    font-weight:540!important;
    letter-spacing:0!important;
    box-shadow:none!important;
}
body.template-category .gxd-product-tag::before{
    width:5px!important;
    height:5px!important;
    flex-basis:5px!important;
    box-shadow:0 0 6px currentColor!important;
}
body.template-category .gxd-price-row{margin-top:auto!important;}
body.template-category .gxd-price-current{
    font-size:1.65rem!important;
    font-weight:850!important;
    letter-spacing:-.025em!important;
}
body.template-category .gxd-cta-wrap .animated-button{
    min-height:52px!important;
    border-radius:13px!important;
    font-size:.92rem!important;
    font-weight:750!important;
}
@media(max-width:768px){
    body.template-category #main-content>.w-full{padding-top:30px!important;}
    body.template-category .category-description{margin-bottom:22px!important;}
    body.template-category .gxd-category-search-wrap{margin-bottom:24px!important;}
}


/* V24.2.3 — category CTA and image fit polish */
body.template-category .gxd-cta-wrap .animated-button{
  min-height:50px!important;
  font-size:.96rem!important;
  font-weight:760!important;
  border-radius:14px!important;
}
body.template-category .gxd-product-image-wrap,
body.template-category .gxd-product-image-frame,
body.template-category .gxd-product-image-shell{
  overflow:hidden!important;
}
body.template-category .gxd-product-image,
body.template-category img.gxd-product-image{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center center!important;
}


/* V24.2.11 stable category first paint */
body.template-category #products-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:30px!important;align-items:stretch!important;}
body.template-category .product-item,body.template-category .gxd-product-card{height:100%!important;transform:none!important;animation:none!important;}
body.template-category .gxd-product-card:hover{transform:none!important;}
body.template-category .gxd-product-media{display:block!important;position:relative!important;aspect-ratio:16/9!important;overflow:hidden!important;}
body.template-category .gxd-product-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;}
body.template-category .gxd-product-card>.py-5{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;padding:22px!important;}
body.template-category .gxd-product-title{min-height:54px!important;line-height:1.35!important;}
body.template-category .gxd-product-tags{min-height:36px!important;}
body.template-category .gxd-price-row{min-height:42px!important;}
body.template-category .gxd-cta-wrap{margin-top:auto!important;}
@media(max-width:1180px){body.template-category #products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;}}
@media(max-width:700px){body.template-category #products-grid{grid-template-columns:1fr!important;gap:20px!important;}}
