/*
Theme Name: Modest Apparel Custom Premium Theme
Theme URI: https://modestapparel.pk
Author: Rizwan Admani
Description: Premium Custom Dynamic Theme for Modest Apparel with perfect layouts.
Version: 1.0.5
Text Domain: modest-apparel
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #faf7f8;
    overflow-x: hidden;
    color: #222;
}

/* Fix WP Admin Bar push logic */
.admin-bar header.global-site-header { top: 32px !important; }
@media screen and (max-width: 782px) { .admin-bar header.global-site-header { top: 46px !important; } }

/* ================= GLOBAL HEADER FORCE VISIBILITY FIX ================= */
header, header.global-site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    padding: 18px 7% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #55001e !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25) !important;
    height: 95px !important;
}

.logo { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.logo-img { width: 70px; height: auto; object-fit: contain; background: transparent; mix-blend-mode: multiply; animation: logoSpinEntrance 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
.logo-text { display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.brand-name { font-size: 25px; font-weight: bold; line-height: 1.2; color: #ffffff; letter-spacing: 0.5px; opacity: 1; }
.brand-name span { color: #e0a96d; }
.tagline { font-size: 11px; color: #f0f0f0; font-style: italic; margin-top: 3px; letter-spacing: 0.8px; opacity: 1; }

/* Ensure Navigation Links are Always Displayed Linearly on Every Page */
header nav, header.global-site-header nav.main-navigation-menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

header nav ul, header.global-site-header nav.main-navigation-menu ul {
    display: flex !important;
    list-style: none !important;
    gap: 15px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

header nav ul li, header.global-site-header nav.main-navigation-menu ul li {
    list-style: none !important;
}

header nav a, header nav ul li a,
header.global-site-header nav.main-navigation-menu a,
header.global-site-header nav.main-navigation-menu ul li a {
    text-decoration: none !important;
    color: #ffffff !important;
    margin-left: 30px !important;
    font-weight: 500 !important;
    transition: 0.3s ease !important;
    font-size: 16px !important;
    display: inline-block !important;
}

header nav a:hover, header nav ul li a:hover,
header.global-site-header nav.main-navigation-menu a:hover,
header.global-site-header nav.main-navigation-menu ul li a:hover {
    color: #ffd6e5 !important;
}

/* ================= HERO SLIDER ================= */
.hero { width: 100%; height: 100vh; position: relative; overflow: hidden; background: #370014; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; animation: slider 15s infinite; z-index: 1; }
.slide::before { content: ''; position: absolute; inset: 0; background: rgba(55, 0, 20, 0.55); }
.slide1 { background-image: url('https://modestapparel.pk/wp-content/uploads/2026/06/Flora-co-ord-suit-5101.webp'); animation-delay: 0s; }
.slide2 { background-image: url('https://modestapparel.pk/wp-content/uploads/2026/06/Gardenia-3-Piece-Stitched-lawn-suit-5134-3.webp'); animation-delay: 5s; }
.slide3 { background-image: url('https://modestapparel.pk/wp-content/uploads/2026/06/Flora-cascade-3-Piece-Stitched-lawn-suit-5137-2.webp'); animation-delay: 10s; }

@keyframes slider { 0% { opacity: 0; transform: scale(1); } 8% { opacity: 1; } 30% { opacity: 1; transform: scale(1.08); } 38% { opacity: 0; } 100% { opacity: 0; } }

.hero-content { position: absolute; top: 55%; left: 8%; transform: translateY(-50%); z-index: 10; max-width: 650px; color: #fff; }
.hero-content h1 { font-size: 70px; line-height: 1.1; margin-bottom: 25px; font-weight: 700; text-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.hero-content p { font-size: 18px; line-height: 1.9; color: #f5dce6; margin-bottom: 35px; }
.btn { display: inline-block; padding: 16px 38px; background: #fff; color: #650021; text-decoration: none; border-radius: 50px; font-weight: 600; transition: 0.4s; box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.btn:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.25); }

/* ================= SECTION & CARDS ================= */
.section { padding: 90px 8%; }
.title { text-align: center; margin-bottom: 60px; }
.title h2 { font-size: 45px; color: #650021; font-weight: 700; }
.title p { color: #777; margin-top: 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 35px; }
.card { background: #fff; border-radius: 25px; overflow: hidden; transition: 0.5s; box-shadow: 0 12px 28px rgba(0,0,0,0.08); }
.card:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(101,0,33,0.22); }
.card img { width: 100%; height: 420px; object-fit: cover; }
.card-content { padding: 25px; }
.card-content h3 { color: #650021; margin-bottom: 12px; font-size: 22px; font-weight: 600; }
.card-content p { color: #666; line-height: 1.8; }

/* ================= ABOUT ================= */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 50px; align-items: center; }
.about img { width: 100%; border-radius: 30px; box-shadow: 0 15px 35px rgba(0,0,0,0.18); }
.about-content h2 { font-size: 48px; color: #650021; margin-bottom: 20px; font-weight: 700; }
.about-content p { line-height: 1.9; color: #555; margin-bottom: 20px; }

/* ================= FOOTER ================= */
footer { background: #4d0018; color: #fff; padding: 70px 5% 30px; margin-top: 50px; }
.footer-main-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1.2fr; align-items: center; gap: 25px; border-top: 1px solid rgba(255, 255, 255, 0.12); border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding: 40px 0; margin-bottom: 30px; }
.footer-box h3 { color: #ffd6e5; margin-bottom: 15px; font-size: 20px; font-weight: 600; }
.footer-box p { color: #eee; font-size: 14px; line-height: 1.8; }
.feature-3d-card { display: flex; align-items: center; gap: 12px; padding: 16px 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(255, 255, 255, 0.15) !important; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.2); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); cursor: pointer; }
.feature-3d-card:hover { transform: translateY(-8px) scale(1.03); background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04)); border-color: #ffd6e5 !important; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35); }
.icon-3d { font-size: 26px; }
.text-3d h4 { font-size: 15px; font-weight: 600; color: #ffffff; margin-bottom: 2px; }
.text-3d p { font-size: 11px !important; color: #ffd6e5 !important; margin: 0 !important; line-height: 1.3 !important; opacity: 0.85; }
.socials { display: flex; gap: 12px; margin-top: 15px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #650021; display: flex; align-items: center; justify-content: center; font-size: 18px; text-decoration: none; font-weight: 500; transition: 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.socials a:hover { transform: translateY(-4px); background: #ffd6e5; }
.copy { text-align: center; color: #ddd; font-size: 14px; padding-top: 5px; }

/* ================= WHATSAPP ================= */
.whatsapp { position: fixed; bottom: 25px; left: 25px; width: 65px; height: 65px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; font-size: 32px; z-index: 9999; animation: pulse 2s infinite; box-shadow: 0 10px 25px rgba(0,0,0,0.25); }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* ================= RESPONSIVE ================= */
@media(max-width:1100px){ .footer-main-row { grid-template-columns: repeat(2, 1fr); gap: 30px; } }
@media(max-width:768px) { 
    header nav, header.global-site-header nav.main-navigation-menu { display: none !important; } 
    .hero-content { left: 7%; right: 7%; } 
    .hero-content h1 { font-size: 42px; } 
    .title h2 { font-size: 34px; } 
    .about-content h2 { font-size: 36px; } 
    .footer-main-row { grid-template-columns: 1fr; gap: 25px; } 
}

/* ================= GLOBAL FIXED WOOCOMMERCE LAYOUT CLEANUP ================= */

/* 1. MUKAMMAL SIDEBAR REMOVAL (For image_8a5b00.png Fix) */
/* Poori website par, footer ke upar ya kahin bhi, default sidebar elements ko hamesha ke liye block karna */
.sidebar, #sidebar, .widget-area, aside, 
.wp-block-pages, .wp-block-archives, .wp-block-categories,
.woocommerce-sidebar, .product-sidebar,
div[id*="sidebar"], div[class*="sidebar"] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* 2. DYNAMIC ARCHIVE & SHOP CONTAINER PADDING FIX */
/* WooCommerce default structural wrappers ko proper spacing dena takay header ke niche na daben */
.woocommerce-page main#main, 
.woocommerce-page .site-main, 
.woocommerce-page #content,
.post-type-archive-product .site-main,
.tax-product_cat .site-main {
    padding-top: 140px !important;
    padding-left: 8% !important;
    padding-right: 8% !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* 3. HERO / DYNAMIC ARCHIVE HEADER COLOR FIX (For image_8a5798.jpg Fix) */
/* Shop title, Category Title (jaise Linen) ko premium pure white look dena */
.woocommerce-products-header, .woocommerce-archive-header {
    background: #55001e !important;
    padding: 130px 8% 40px 8% !important;
    text-align: left !important;
    margin-bottom: 40px !important;
    border-bottom: 3px solid #e0a96d !important;
}

/* Title (Shop, Linen etc.) text force styling to Bold White */
.woocommerce-products-header__title, 
.woocommerce-products-header .page-title,
.tax-product_cat .page-title,
.archive.tax-product_cat h1.page-title,
.woocommerce-page h1.page-title {
    color: #ffffff !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    text-transform: capitalize !important;
    letter-spacing: 0.5px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15) !important;
}

/* Hide overlapping redundant titles that cause double headers */
header h1.page-title, header .woocommerce-products-header {
    display: none !important;
}

/* 4. PREMIUM PAGE WRAPPERS (Cart & Checkout) */
.wc-page-wrapper {
    padding: 160px 8% 80px 8% !important; 
    background: #faf7f8 !important;
    min-height: 80vh !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
}

.wc-page-container {
    background: #ffffff !important;
    width: 100% !important;
    max-width: 1200px !important;
    padding: 50px 40px !important;
    border-radius: 24px !important;
    box-shadow: 0 15px 35px rgba(101, 0, 33, 0.05) !important;
    border: 1px solid rgba(101, 0, 33, 0.03) !important;
}

.wc-page-title {
    font-size: 36px !important;
    color: #650021 !important;
    font-weight: 700 !important;
    margin-bottom: 35px !important;
    border-bottom: 2px solid #f5dce6 !important;
    padding-bottom: 15px !important;
}

/* 5. WOOCOMMERCE COMPONENT UI FIXES */
.woocommerce input.input-text, .woocommerce textarea {
    padding: 12px 18px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    background: #fff !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
}

.woocommerce .button, .woocommerce-page .button, .woocommerce #respond input#submit {
    background-color: #650021 !important;
    color: #ffffff !important;
    padding: 14px 30px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-family: 'Poppins', sans-serif !important;
    border: none !important;
    transition: 0.3s all ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.woocommerce .button:hover, .woocommerce-page .button:hover {
    background-color: #4d0018 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(101, 0, 33, 0.2) !important;
}

/* Pagination Buttons Custom Styling */
.woocommerce-pagination, .navigation.pagination {
    display: flex !important;
    justify-content: center !important;
    margin-top: 40px !important;
    width: 100% !important;
}

.woocommerce-pagination ul, .page-numbers {
    display: inline-flex !important;
    white-space: nowrap !important;
    border: none !important;
    gap: 8px !important;
}

.woocommerce-pagination ul li, .page-numbers li {
    border: none !important;
    list-style: none !important;
}

.woocommerce-pagination ul li a, .woocommerce-pagination ul li span, .page-numbers a, .page-numbers .current {
    padding: 10px 18px !important;
    background: #fff !important;
    color: #650021 !important;
    border: 1px solid #e5cad3 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: 0.3s !important;
}

.woocommerce-pagination ul li span.current, .page-numbers .current {
    background: #650021 !important;
    color: #fff !important;
    border-color: #650021 !important;
}

/* ================= PREMIUM ANNOUNCEMENT MARQUEE (SLOW SPEED) ================= */
.marquee-container {
    width: 100% !important;
    background: #e0a96d !important; /* Elegant Signature Gold Color */
    color: #370014 !important; /* Dark Maroon Text for Contrast */
    overflow: hidden !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    margin-top: 95px !important; /* Fixed Header ke exact niche laane ke liye */
    padding: 10px 0 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 1px !important;
    display: flex !important;
    align-items: center !important;
    z-index: 999 !important;
    position: relative !important;
}

.marquee-text {
    display: inline-block !important;
    padding-left: 100% !important;
    animation: marquee-scroll 45s linear infinite !important; /* 25s se badha kar 45s kar diya hai takay speed kam ho jaye */
}

.marquee-text span {
    display: inline-block !important;
    padding-right: 50px !important;
}

/* Smooth Infinite Scrolling Animation */
@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Mobile responsive alignment */
@media screen and (max-width: 768px) {
    .marquee-container {
        font-size: 12px !important;
        padding: 8px 0 !important;
    }
}

/*======= Menu Mobile Active ==================*/
/* ==========================================================================
   MOBILE HAMBURGER MENU ACCURATE FIX
   ========================================================================== */

/* Desktop par toggle button ko chhupana */
.mobile-menu-toggle {
    display: none;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 32px !important;
    cursor: pointer !important;
    z-index: 100000 !important;
    padding: 5px !important;
    line-height: 1 !important;
}

/* 768px se choti screens (Mobile) ke liye styling */
@media screen and (max-width: 768px) {
    
    /* Mobile par button ko show karna */
    .mobile-menu-toggle {
        display: block !important;
    }

    /* Logo elements ko mobile screen ke mutabiq chota balance karna */
    .brand-name {
        font-size: 20px !important;
    }
    .tagline {
        font-size: 9px !important;
    }

    /* Original navigation wrapper ko dropdown custom block mein convert karna */
    header.global-site-header nav.main-navigation-menu {
        display: flex !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 95px !important; /* Header ke exact niche se open ho */
        left: 0 !important;
        width: 100% !important;
        background: #55001e !important; /* Modest Apparel Premium Maroon */
        padding: 10px 0 !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
        
        /* Shuru mein dropdown mukammal hidden rahega */
        max-height: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        overflow: hidden !important;
        transition: all 0.35s cubic-bezier(0.5, 1, 0.89, 1) !important;
        z-index: 99999 !important;
    }

    /* JAB CLICK HO: Active class lagte hi smooth open ho jaye */
    header.global-site-header nav.main-navigation-menu.mobile-active {
        max-height: 350px !important; /* Saree links ke liye absolute height */
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Dynamic List format ko vertical block list banana */
    header.global-site-header nav.main-navigation-menu ul {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    header.global-site-header nav.main-navigation-menu ul li {
        width: 100% !important;
        list-style: none !important;
    }

    /* Links spacing aur borders */
    header.global-site-header nav.main-navigation-menu a,
    header.global-site-header nav.main-navigation-menu ul li a {
        margin: 0 !important;
        padding: 14px 25px !important;
        display: block !important;
        width: 100% !important;
        font-size: 15px !important;
        color: #ffffff !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }

    /* Touch hover color */
    header.global-site-header nav.main-navigation-menu a:hover,
    header.global-site-header nav.main-navigation-menu ul li a:hover {
        background: rgba(224, 169, 109, 0.1) !important;
        color: #e0a96d !important;
    }

    /* Underline animation ko mobile par stop rakhna */
    header.global-site-header nav.main-navigation-menu a::after,
    header.global-site-header nav.main-navigation-menu ul li a::after {
        display: none !important;
    }
}

/* ==========================================================================
   PREMIUM 3D INTRO SPLASH SCREEN STYLING
   ========================================================================== */

#custom-3d-intro {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #370014 !important; /* Premium Dark Maroon Screen Background */
    z-index: 99999999 !important; /* Website ke har element se upar layer locked */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    perspective: 1000px !important; /* 3D Depth active karne ke liye perspective */
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out !important;
}

/* Page load hone par smoothly vanish karne ke liye */
#custom-3d-intro.intro-fade-out {
    opacity: 0 !important;
    visibility: hidden !important;
}

.intro-cube-wrapper {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* --- 3D CUBE ANIMATION DESIGN --- */
.cube-3d {
    width: 80px !important;
    height: 80px !important;
    position: relative !important;
    transform-style: preserve-3d !important;
    animation: rotate3dCube 4s infinite linear !important;
    margin-bottom: 30px !important;
}

.cube-face {
    position: absolute !important;
    width: 80px !important;
    height: 80px !important;
    background: rgba(224, 169, 109, 0.95) !important; /* Premium Matte Gold */
    border: 2px solid #ffffff !important;
    color: #370014 !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 76px !important;
    text-align: center !important;
    box-shadow: 0 0 25px rgba(224, 169, 109, 0.6) !important;
}

/* 3D Coordinate tracking for rotating cube */
.front  { transform: rotateY(  0deg) translateZ(40px) !important; }
.back   { transform: rotateY(180deg) translateZ(40px) !important; }
.right  { transform: rotateY( 90deg) translateZ(40px) !important; }
.left   { transform: rotateY(-90deg) translateZ(40px) !important; }
.top    { transform: rotateX( 90deg) translateZ(40px) !important; background: rgba(255,255,255,0.5) !important;}
.bottom { transform: rotateX(-90deg) translateZ(40px) !important; background: rgba(0,0,0,0.3) !important;}

/* Cube rotation keyframes loop */
@keyframes rotate3dCube {
    0%   { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(720deg) rotateZ(360deg); }
}

/* --- TEXT PULSE EFFECTS --- */
.intro-title {
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    margin: 0 0 8px 0 !important;
    animation: textPulse 2s infinite ease-in-out !important;
}

.intro-title span {
    color: #e0a96d !important; /* Brand Signature Gold */
}

.intro-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 13px !important;
    letter-spacing: 1px !important;
    margin: 0 0 25px 0 !important;
}

@keyframes textPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.03); opacity: 1; }
}

/* --- LINEAR LOADING PROGRESS BAR --- */
.intro-progress-bar {
    width: 180px !important;
    height: 3px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

.progress-fill {
    width: 0% !important;
    height: 100% !important;
    background: #e0a96d !important;
    animation: fillProgress 2.3s forwards cubic-bezier(0.1, 0.85, 0.25, 1) !important;
}

@keyframes fillProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Size Boxes Style */

.modest-size-swatches-wrapper {
    display: inline-flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-top: 5px !important;
    margin-bottom: 15px !important;
}
.size-swatch-box {
    min-width: 45px !important;
    height: 45px !important;
    padding: 0 10px !important;
    border: 2px solid #e0a96d !important;
    background: #ffffff !important;
    color: #370014 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}
.size-swatch-box:hover {
    border-color: #370014 !important;
}
.size-swatch-box.swatch-active {
    background-color: #370014 !important;
    border-color: #370014 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px rgba(55, 0, 20, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* Premium Font Set */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Card Zoom Effect on Hover */
.card {
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.img-container {
    overflow: hidden;
    position: relative;
}

.card img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    display: block;
}

.card:hover img {
    transform: scale(1.06);
}

/* Luxury Modern Button Styles */
.custom-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
    padding: 12px 30px;
    border-radius: 50px;
    display: inline-block;
}

.custom-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.custom-btn:hover::before {
    left: 100%;
}

.custom-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* About Section Image Styling */
.about-img-wrap {
    overflow: hidden;
    border-radius: 20px;
}
.about-img-wrap img {
    width: 100%;
    transition: transform 0.8s ease;
}
.about:hover .about-img-wrap img {
    transform: scale(1.03);
}

/* --- 100% FIXED PRODUCT MARQUEE CSS --- */
.product-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    margin-top: 30px;
    background: #ffffff;
    padding: 10px 0;
    border-radius: 12px;
    position: relative;
    display: flex;
}

/* Smooth Fade Shadows Edges Par */
.product-marquee-wrapper::before,
.product-marquee-wrapper::after {
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100%;
    position: absolute;
    width: 50px;
    z-index: 2;
    top: 0;
    pointer-events: none;
}
.product-marquee-wrapper::before { left: 0; }
.product-marquee-wrapper::after { right: 0; transform: rotateZ(180deg); }

/* Main Track Animation */
.product-marquee-track {
    display: flex;
    width: max-content; /* Automatically calculates content width */
    animation: smoothImageMarquee 15s linear infinite;
}

/* Hover karne par scroll ruk jaye ga */
.product-marquee-wrapper:hover .product-marquee-track {
    animation-play-state: paused;
}

/* Marquee Item & Image Layout */
.marquee-item {
    padding: 0 10px; /* Images ke darmiyan space */
    flex-shrink: 0;
}

.marquee-item img {
    width: 140px;      /* Standard dynamic width */
    height: 190px;     /* Eastern Suits ke liye perfect aspect ratio */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

/* Image Hover Effect */
.marquee-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Keyframe for 50% translation (seamless loop) */
@keyframes smoothImageMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* It will loop perfectly back to start */
    }
}