.flash-sale-card{
    position:relative;
    overflow:hidden;

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

    min-height:92px;

    padding:18px 22px;

    border-radius:26px;

    background:
    linear-gradient(
        135deg,
        #d41048 0%,
        #c10f42 45%,
        #a90f39 100%
    );

    box-shadow:
    0 12px 30px rgba(193,15,66,.18);

    margin-block:10px;
}

.flash-sale-card::before{
    content:"";

    position:absolute;

    width:180px;
    height:180px;

    right:-80px;
    top:-40px;

    border-radius:50%;

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

.flash-sale-card::after{
    content:"";

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.03),
        transparent
    );

    pointer-events:none;
}

.flash-sale-left{
    display:flex;
    align-items:center;
    gap:14px;

    position:relative;
    z-index:2;
}

.flash-icon{
    width:48px;
    height:48px;

    border-radius:14px;

    background:#f1bf0a;

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

    font-size:22px;

    flex-shrink:0;

    box-shadow:
    0 8px 18px rgba(241,191,10,.28);
}

.flash-title{
    font-size:1.35rem;
    font-weight:800;
    line-height:1;
    color:#fff;
}

.flash-timer{
    margin-top:6px;

    display:flex;
    align-items:center;
    gap:8px;

    font-size:.82rem;
    font-weight:600;

    color:rgba(255,255,255,.75);
}

.flash-timer span{
    color:#fff;

    font-size:.92rem;
    font-weight:800;

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

    padding:4px 8px;

    border-radius:10px;

    min-width:34px;

    text-align:center;

    backdrop-filter:blur(8px);
}

.flash-link{
    position:relative;
    z-index:2;

    display:flex;
    align-items:center;
    gap:8px;

    height:42px;

    padding:0 18px;

    border-radius:999px;

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

    backdrop-filter:blur(10px);

    color:#fff;

    text-decoration:none;

    font-size:.9rem;
    font-weight:700;

    transition:.3s;
}

.flash-link:hover{
    background:
    rgba(255,255,255,.18);
}


#mobileMenuBtn svg{
    transition:.35s;
}

.drawer-open #mobileMenuBtn svg{
    transform:rotate(90deg);
}


/* ===== PREMIUM PRODUCT CARD OVERRIDE ===== */

#product-list{
gap:12px !important;
margin-top:64px !important;
}

#product-list > li > a > div{
border-radius:24px !important;
box-shadow:0 8px 24px rgba(15,23,42,.04) !important;
border:1px solid #edf0f5 !important;
}

#product-list > li > a > div:hover{
transform:translateY(-4px) !important;
box-shadow:0 16px 40px rgba(15,23,42,.08) !important;
}

/* Product Image */

#product-list img{
aspect-ratio:1/1 !important;
object-fit:cover !important;
}

/* Category Badge */

#product-list .absolute.top-3.left-3{
padding:5px 10px !important;
font-size:10px !important;
font-weight:600 !important;
letter-spacing:.08em !important;
}

/* Cart & Wishlist Buttons */

#product-list .absolute.top-3.right-3 button{
width:34px !important;
height:34px !important;
}

#product-list .absolute.top-3.right-3 svg{
width:16px !important;
height:16px !important;
}

/* Product Content */

#product-list .p-5{
padding:16px !important;
}

/* Price */

#product-list .text-\[24px\]{
font-size:20px !important;
line-height:1 !important;
font-weight:800 !important;
}

/* Product Name */

#product-list h3{
font-size:14px !important;
font-weight:600 !important;
line-height:1.4 !important;
min-height:40px !important;
margin-top:10px !important;
}

/* Footer Area */

#product-list .border-t{
padding-top:12px !important;
margin-top:12px !important;
}

#product-list .text-\[12px\]{
font-size:11px !important;
}

/* Flash Sale Card */

.flash-sale-card{
min-height:78px !important;
padding:14px 18px !important;
border-radius:22px !important;
background:linear-gradient(
135deg,
#d73b5d 0%,
#ca2f54 100%
) !important;
box-shadow:0 10px 24px rgba(202,47,84,.15) !important;
}

.flash-title{
font-size:1.1rem !important;
}

.flash-icon{
width:42px !important;
height:42px !important;
font-size:18px !important;
}

.flash-link{
height:38px !important;
padding:0 14px !important;
font-size:.82rem !important;
}

/* Mobile Refinement */

@media (max-width:768px){

#product-list{
gap:10px !important;
}

#product-list > li > a > div{
border-radius:20px !important;
}

#product-list .p-5{
padding:14px !important;
}

#product-list h3{
font-size:13px !important;
}

#product-list .text-\[24px\]{
font-size:18px !important;
}

}


/* =========================
   HERO MOBILE DESKTOP FIX
========================= */

@media (max-width:768px){

header.max-w-5xl{
overflow:hidden;
padding-top:32px !important;
}

.moonlat-logo{
font-size:72px;
font-weight:900;
letter-spacing:14px;
line-height:.9;
text-align:center;
white-space:nowrap;
}
}


.hero-product-image{
display:block;
width:100%;
max-width:650px;
margin:40px auto 0;
object-fit:contain;
}


.skeleton-card{
background:#fff;
border:1px solid #edf0f5;
border-radius:24px;
overflow:hidden;
}

.skeleton-block,
.skeleton-pill{
background:linear-gradient(
90deg,
#f1f3f8 25%,
#e4e8f0 50%,
#f1f3f8 75%
);
background-size:200% 100%;
animation:skeletonShimmer 1.3s infinite linear;
border-radius:12px;
}

.skeleton-pill{
border-radius:999px;
}

.moonlat-showcase{
margin-top:70px;
padding:26px;
background:#fff;
border-radius:36px;
border:1px solid #ececec;
overflow:hidden;
}

.showcase-header{
display:flex;
justify-content:space-between;
align-items:flex-end;
margin-bottom:14px;
}

.showcase-header h2{
font-size:30px;
font-weight:900;
line-height:1;
}

.showcase-header span{
font-size:14px;
color:#a17400;
font-weight:600;
}

.showcase-header a{
font-size:14px;
font-weight:700;
color:#183fad;
text-decoration:none;
}

.showcase-line{
height:2px;
background:#ededed;
margin-bottom:26px;
position:relative;
}

.showcase-line span{
position:absolute;
left:0;
top:0;
height:100%;
width:140px;
background:#F1BF0A;
}

.showcase-slider{
position:relative;
overflow:hidden;
}

.showcase-track{
display:flex;
transition:.7s ease;
}

.showcase-card{
min-width:100%;
text-align:center;
}

.showcase-image{
width:100%;
max-width:650px;
height:420px;
margin:auto;
object-fit:contain;
display:block;
}

.showcase-category{
margin-top:22px;
font-size:13px;
font-weight:700;
letter-spacing:.12em;
text-transform:uppercase;
color:#8b8b8b;
}

.showcase-title{
font-size:34px;
font-weight:700;
line-height:1.2;
margin-top:12px;
color:#111;
}

.showcase-price{
font-size:42px;
font-weight:900;
margin-top:10px;
color:#a87500;
}

.showcase-btn{
display:inline-flex;
align-items:center;
justify-content:center;
gap:10px;
margin-top:24px;
height:58px;
padding:0 32px;
background:#F1BF0A;
border-radius:999px;
font-size:16px;
font-weight:700;
color:#111;
text-decoration:none;
}

.showcase-dots{
display:flex;
justify-content:center;
gap:10px;
margin-top:28px;
}

.showcase-dot{
width:12px;
height:12px;
border-radius:999px;
background:#e6c7c7;
cursor:pointer;
transition:.3s;
}

.showcase-dot.active{
width:42px;
background:#b67b00;
}

@media(max-width:768px){

.moonlat-showcase{
padding:18px;
border-radius:24px;
}

.showcase-image{
height:280px;
}

.showcase-title{
font-size:22px;
}

.showcase-price{
font-size:26px;
}

.showcase-btn{
height:48px;
font-size:14px;
padding:0 22px;
}

}


.showcase-track{
display:flex;
transition:.7s ease;
width:100%;
}




/* ==========================
   SKELETON LOADER
========================== */

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

.skeleton-shimmer{
    background:linear-gradient(
        90deg,
        #f1f3f8 25%,
        #e4e8f0 50%,
        #f1f3f8 75%
    );
    background-size:200% 100%;
    animation:skeletonShimmer 1.3s infinite linear;
}

.best-seller-skeleton{
    display:flex;
    gap:14px;
    padding:14px;
    border:1px solid #ececec;
    background:#fff;
}

.best-seller-image{
    width:95px;
    height:95px;
    border-radius:16px;
}

.best-seller-lines{
    flex:1;
}

.best-seller-line{
    height:12px;
    border-radius:999px;
    margin-bottom:10px;
}

.best-seller-line.large{
    height:18px;
}

.showcase-skeleton{
    text-align:center;
    padding:10px;
}

.showcase-image-skeleton{
    width:100%;
    height:420px;
    border-radius:28px;
}

.showcase-text{
    height:16px;
    width:140px;
    margin:18px auto 0;
    border-radius:999px;
}

.showcase-title-skeleton{
    height:34px;
    width:70%;
    margin:16px auto;
    border-radius:999px;
}

.showcase-price-skeleton{
    height:40px;
    width:180px;
    margin:0 auto;
    border-radius:999px;
}

.showcase-btn-skeleton{
    width:220px;
    height:58px;
    margin:24px auto 0;
    border-radius:999px;
}

@media(max-width:768px){

.showcase-image-skeleton{
    height:280px;
}

.showcase-btn-skeleton{
    height:48px;
    width:180px;
}

}


/* =========================
   MORPHING STICKY HEADER
========================= */

.moonlat-sticky-brand{

    position:fixed;

    top:0;
    left:50%;

    transform:
    translateX(-50%)
    translateY(-100%);

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

    z-index:9999;

    display:flex;
    justify-content:center;

    transition:
    transform .45s ease,
    opacity .45s ease;

    opacity:0;

    pointer-events:none;
}

.moonlat-sticky-brand.active{

    transform:
    translateX(-50%)
    translateY(0);

    opacity:1;
}

.sticky-brand-inner{

    width:100%;

    background:
    rgba(24,63,173,.95);

    backdrop-filter:
    blur(20px);

    padding:14px 20px 12px;

    text-align:center;

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

.sticky-brand-title{

    display:block;

    font-size:26px;
    font-weight:900;

    letter-spacing:.25em;

    line-height:1;

    color:#fff;
}

.sticky-brand-subtitle{

    display:block;

    margin-top:6px;

    font-size:11px;

    letter-spacing:.45em;

    color:#F1BF0A;
}

.nav-hidden{

    opacity:0;

    transform:
    translateY(-25px);

    pointer-events:none;

    transition:
    opacity .35s ease,
    transform .35s ease;
}




body.drawer-open{
    overflow:hidden;
    height:100vh;
    touch-action:none;
}

/* =========================
   MOONLAT AI
========================= */

.moonlat-ai-section{
margin-top:80px;
}

.moonlat-ai-card{

background:#0d1738;

border-radius:36px;

padding:28px;

overflow:hidden;

position:relative;

box-shadow:
0 30px 60px rgba(24,63,173,.18);
}

.moonlat-ai-card::before{

content:"";

position:absolute;

width:500px;
height:500px;

top:-250px;
right:-250px;

border-radius:50%;

background:
radial-gradient(
circle,
rgba(241,191,10,.15),
transparent 70%
);
}

.moonlat-ai-header{
position:relative;
z-index:2;
}

.moonlat-ai-badge{

display:inline-flex;

padding:8px 14px;

border-radius:999px;

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

color:#F1BF0A;

font-size:13px;
font-weight:700;
}

.moonlat-ai-header h2{

margin-top:18px;

font-size:40px;

font-weight:900;

line-height:1;

color:#fff;
}

.moonlat-ai-header p{

margin-top:14px;

max-width:620px;

font-size:16px;

line-height:1.7;

color:rgba(255,255,255,.75);
}

.moonlat-ai-suggestions{

display:flex;

gap:10px;

flex-wrap:wrap;

margin-top:24px;
}

.ai-chip{

border:none;

padding:12px 16px;

border-radius:999px;

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

color:#fff;

cursor:pointer;

font-size:13px;

transition:.3s;
}

.ai-chip:hover{

background:#F1BF0A;

color:#111;
}

.moonlat-ai-input-wrap{

margin-top:26px;

background:#fff;

height:72px;

border-radius:999px;

display:flex;

align-items:center;

padding:0 12px 0 20px;

gap:14px;
}

.moonlat-ai-icon{

width:24px;
height:24px;

color:#183fad;

flex-shrink:0;
}

#moonlatAIInput{

flex:1;

border:none;

outline:none;

font-size:18px;

background:transparent;
}

.moonlat-ai-send{

width:52px;
height:52px;

border:none;

border-radius:50%;

background:#183fad;

color:#fff;

display:flex;

align-items:center;

justify-content:center;

cursor:pointer;
}

.moonlat-ai-send svg{

width:22px;
height:22px;
}

.moonlat-ai-response{

margin-top:20px;

padding:22px;

border-radius:22px;

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

color:#fff;

display:none;

line-height:1.7;
}

@media(max-width:768px){

.moonlat-ai-card{
padding:22px;
border-radius:28px;
}

.moonlat-ai-header h2{
font-size:28px;
}

.moonlat-ai-input-wrap{
height:62px;
}

#moonlatAIInput{
font-size:15px;
}

}


/* ==========================
   STICKY AI BAR
========================== */

#moonlatAISticky{

position:fixed;

left:50%;
bottom:20px;

transform:
translateX(-50%)
translateY(120px);

width:calc(100% - 28px);
max-width:470px;

z-index:9998;

transition:.45s ease;
}

#moonlatAISticky.active{

transform:
translateX(-50%)
translateY(0);
}

.moonlat-ai-sticky-inner{

height:68px;

background:#fff;

border-radius:999px;

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

padding:0 10px 0 18px;

cursor:pointer;

box-shadow:
0 15px 40px rgba(0,0,0,.16);
}

.moonlat-ai-left{

display:flex;
align-items:center;
gap:12px;
}

.moonlat-ai-left svg{

width:24px;
height:24px;

color:#183fad;
}

.moonlat-ai-left span{

font-size:16px;
font-weight:600;
}

.moonlat-ai-arrow{

width:48px;
height:48px;

border-radius:50%;

background:#183fad;

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

color:#fff;

font-size:22px;
}

