/* =======================================================
   TOORBEE: MONOCHROME LUXURY (2026 EDITION)
   Theme: "Noir & Concrete"
   ======================================================= */

:root {
    /* --- 🌑 PALETTE --- */
    --brand-black: #0A0A0A;        /* Deepest Black */
    --brand-grey: #F4F4F6;         /* "Concrete" Grey Background */
    --brand-white: #FFFFFF;
    
    /* --- 🌫️ SURFACES --- */
    --bg-app: #F4F4F6;
    --bg-card: #FFFFFF;
    --bg-glass-header: rgba(255, 255, 255, 0.85);
    --bg-glass-dock: rgba(10, 10, 10, 0.90);

    /* --- 📐 SHAPES --- */
    --radius-pill: 50px;
    --radius-card: 24px;
    
    /* --- ⚡ SHADOWS --- */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-float: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* =======================================================
   1. GLOBAL RESET & TYPOGRAPHY
   ======================================================= */
body {
    background-color: var(--bg-app) !important;
    color: var(--brand-black) !important;
    font-family: 'Space Grotesk', sans-serif !important;
}

h1, h2, h3, h4, h5, .home1-txt3 {
    color: var(--brand-black) !important;
    letter-spacing: -0.02em !important;
}

p, .home1-txt2, .des-txt2 {
    color: #666 !important;
    font-family: 'Lato', sans-serif !important;
}

/* =======================================================
   2. HEADER: White Glass (Clean & Sleek)
   ======================================================= */
#top-navbar, .top-navbar {
    background: var(--bg-glass-header) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    border-radius: 0 0 24px 24px !important;
    padding-bottom: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 999;
}

.top-navbar-title p {
    color: #000 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-btn svg path, 
.skip_btn svg path,
.top-navbar svg path {
    stroke: #000 !important;
    stroke-width: 2px !important;
}

.notification-badge {
    background: #000 !important;
    border: 2px solid #fff !important;
}

/* =======================================================
   3. CAROUSEL & HERO IMAGES (List View)
   ======================================================= */
.homescreen-seventh-wrapper, 
.carousel-item {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.homescreen-seventh-wrapper h3,
.homescreen-seventh-wrapper p,
.home2-slider-img-content h2, 
.home2-slider-img-content p,
.carousel-caption h3, 
.carousel-caption p {
    color: #FFFFFF !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    padding: 15px 0px;
}

.carousel-indicators [data-bs-target] {
    background-color: #fff;
    opacity: 0.6;
    height: 4px;
    border-radius: 4px;
}
.carousel-indicators .active {
    opacity: 1;
    width: 20px;
}

.show-now2-custom-btn {
    background: rgba(255,255,255,0.2) !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
    backdrop-filter: blur(5px);
}

/* =======================================================
   4. BUTTONS: The "Luxury Black" Pill
   ======================================================= */
.home1-shop-now-btn a,
.shop-now-btn a,
.sign-in-btn a,
.next-btn a,
.add-to-cart-cloth-btn a,
.see-to-cart-cloth-btn a,
.confirm-order-btn a,
.claim-btn {
    background: var(--brand-black) !important;
    color: #FFFFFF !important;
    border-radius: var(--radius-pill) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 14px !important;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25) !important;
    border: none !important;
    padding: 14px 24px !important;
    transition: transform 0.2s;
}

.home1-shop-now-btn a:active,
.shop-now-btn a:active {
    transform: scale(0.96);
}

.add-to-cart-cloth-btn-calcel a {
    background: transparent !important;
    border: 2px solid #000 !important;
    color: #000 !important;
    border-radius: var(--radius-pill) !important;
}

/* =======================================================
   5. CARDS & LISTS
   ======================================================= */
.homepage1-tab-details-wrapper,
.checkout-form,
.setting-page-wrapper {
    background: var(--bg-card) !important;
    border-radius: var(--radius-card) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03) !important;
    border: 1px solid rgba(0,0,0,0.03) !important;
    margin-bottom: 20px !important;
    padding: 16px !important;
}

/* =======================================================
   6. IMAGE FIX FOR LIST VIEW (Square Thumbnail)
   ======================================================= */
/* Forces the list images to be perfect squares, full bleed */
.home1-tab-img {
    width: 100px !important;       /* Fixed Width */
    height: 100px !important;      /* Fixed Height (Square) */
    min-width: 100px !important;   /* Prevent shrinking */
    padding: 0 !important;         /* Remove gap */
    background: #E0E0E0 !important; /* Loader color */
    border-radius: 16px !important;
    overflow: hidden !important;   /* Crop excess */
    display: block !important;
    margin-right: 16px !important; /* Space between img and text */
}

.home1-tab-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;  /* ZOOM to fill (Crucial) */
    object-position: center !important;
    mix-blend-mode: normal !important; /* Show real colors */
    border-radius: 0 !important;
}

/* =======================================================
   7. IMAGE FIX FOR DETAIL PAGE (Portrait Hero)
   ======================================================= */
.single-clothes-slide-img {
    height: 480px !important;
    min-height: 400px;
    background: #EEE !important;
    padding: 0 !important;
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-float);
    margin-bottom: 24px !important;
}

.single-clothes-slide-img img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    mix-blend-mode: normal !important;
    padding: 0 !important;
    display: block;
}

.single-clothes-favourite {
    background: rgba(255,255,255,0.9) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    padding: 8px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    position: absolute !important;
    top: auto !important;
    bottom: 20px !important;
    right: 20px !important;
    margin: 0 !important;
}

/* =======================================================
   8. NAVIGATION & FILTERS
   ======================================================= */
.select-category {
    background: #fff;
    padding: 8px;
    border-radius: 50px;
    display: inline-flex;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.category-sec input[type="radio"]:checked + label {
    background: #000 !important;
    color: #fff !important;
    border-radius: 40px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

label.custom-radio-sel-category {
    background: transparent;
    color: #888;
    border: none !important;
    font-weight: 600;
}

.bottom-tabbar {
    position: fixed !important;
    bottom: 30px !important;
    left: 20px !important;
    right: 20px !important;
    width: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    z-index: 9999;
}

nav {
    background: var(--bg-glass-dock) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px);
    border-radius: 60px !important;
    height: 70px !important;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 10px !important;
    box-shadow: var(--shadow-float) !important;
    border: 1px solid rgba(255,255,255,0.1);
}

.bottom-tabbar a {
    height: 100% !important;
    border-radius: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bottom-tabbar a svg path,
.bottom-tabbar a img path {
    stroke: #666 !important;
}

.bottom-tabbar a.active {
    background: #FFFFFF !important;
    padding: 0 24px !important;
    height: 50px !important;
    box-shadow: 0 4px 15px rgba(255,255,255,0.15);
}

.bottom-tabbar a.active svg path,
.bottom-tabbar a.active img path {
    stroke: #000 !important;
}

.bottom-tabbar a.active span {
    color: #000 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    margin-left: 8px;
    display: block !important;
}

#map, #mapDiv {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 4px solid #fff;
    min-height: 250px;
}

 /* =======================================================
   9. FIX FOR FLOATING LOGO (Detail Page)
   ======================================================= */

/* The White Circle Container */
.single-clothes-favourite {
    width: 60px !important;           /* Fixed size */
    height: 60px !important;          /* Fixed size */
    min-height: 60px !important;      /* Prevent shrinking */
    background: #FFFFFF !important;   /* Pure white background */
    border-radius: 50% !important;    /* Perfect circle */
    padding: 2px !important;          /* Tiny gap creates a nice border effect */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important; /* Floating shadow */
    
    /* Position it inside the Hero Image */
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    top: auto !important;
    margin: 0 !important;
    z-index: 10;
    
    /* Flexbox to center the image */
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
}

/* The Image Inside the Circle */
.single-clothes-favourite img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;     /* MAGIC FIX: Zooms image to fill circle */
    border-radius: 50% !important;    /* Clips the image to a circle */
    mix-blend-mode: normal !important; /* Ensures colors are vibrant (not darkened) */
    display: block !important;
}

/* =======================================================
   10. LOADER THEME CONTROL
   This replaces the hardcoded HTML logo with a CSS image
   ======================================================= */

.logo-popup {
    /* 1. Hide the original HTML image */
    object-position: -9999px -9999px !important;
    
    /* 2. Inject your Theme Logo here */
    background-image: url('../images/splash-screen/logo.png'); /* Change this path to your new logo */
    
    /* 3. Styling adjustments */
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
    
    /* 4. Force dimensions (Overrides inline HTML styles) */
    width: 100% !important;
    max-width: 200px !important; /* Control logo size */
    height: 150px !important;    /* Control logo height */
    margin-top: 0 !important;    /* Reset inline margin if needed */
    display: block !important;
    margin: 0 auto !important;
    
    /* Optional: Center it perfectly in the loader mask */
    position: relative;
    top: 50px; /* Push down slightly if needed */
}

/* Optional: Customize the Spinner Color per Theme */
.circle {
    border-color: rgba(0,0,0,0.1) !important; /* Light track */
    border-top-color: var(--brand-black) !important; /* Spinning part */
}

/* PWA Menu Styling */
.menu-box-bottom {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px);
    border-top-left-radius: 24px !important;
    border-top-right-radius: 24px !important;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
    z-index: 99999;
    padding-bottom: env(safe-area-inset-bottom);
    transition: all 0.4s ease;
}

/* Hide menus by default */
.menu { 
    position: fixed; 
    bottom: -100%; 
    left: 0; right: 0; 
    width: 100%; 
    visibility: hidden; 
}

/* Show menu when active */
.menu-active { 
    bottom: 0 !important; 
    visibility: visible; 
}

/* Install Button */
.pwa-install {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
    color: white !important;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
    width: 80%;
    margin: 0 auto;
    padding: 12px;
    display: block;
    text-decoration: none;
}

/* iOS Helper Arrow */
.ios-arrow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; 
    height: 0; 
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid rgba(255, 255, 255, 0.95);
}

/* Dimmed Background */
.menu-hider {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.menu-hider.menu-active { opacity: 1; pointer-events: all; }