:root {
    /* Individual Gold Colors from Figma Stops */
    --gold-dark-1: #BA8843;  /* 0% stop */
    --gold-mid-1: #DEC368;   /* 30% stop */
    --gold-light: #F6E37A;   /* 68% stop */
    --gold-dark-2: #A76A31;  /* 100% stop */

    /* The Full Linear Gradient for backgrounds */
    --gold-gradient: linear-gradient(
        90deg, 
        #BA8843 0%, 
        #DEC368 30%, 
        #F6E37A 68%, 
        #A76A31 100%
    );
}

/* Container styling for the specific shadow & rounding seen in Screenshot 122323 */
.ga-mall-discovery {
    background-color: #fff;
    padding: 40px;
    min-height: 100vh;
    
    display: flex;
    
    /* gap: 40px; */
    max-width: 1500px;
    justify-content: center;
    padding-left: 0px;

}

.main-layout {
    display: flex;
    gap: 50px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    padding-left:40px;
}



.filter-top{
    display: none;
}


.filter-sidebar {

    width: 30%;
    background: #ffffff;
    border-radius: 25px; /* Rounded corners for the container */
    padding: 35px ;
  box-shadow: 4px 0px 12px 0px rgba(0, 0, 0, 0.13);
   height: fit-content;
    position: sticky;
    top: 20px;
}

.search-container {
    background: #ffffff;
    border-radius: 4px; /* Adjusting for a cleaner look */
    padding: 0 10px;
    gab: 10px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border: 1px solid rgb(255, 255, 255);
    
    /* Exact dimensions from image_5579b3.png */
    width: 100%;
    height: 54px;
    box-sizing: border-box;

    /* Drop shadow from image_5579b3.png: X:0, Y:0, Blur:9, Opacity:25% */
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.25);
}

.search-icon {
    color: #000000;
    padding: 0 10px;
    font-size: 16px; 
    font-weight: 600;
}

.search-container input {
    border: none;
    background: transparent;
    
    width: 100%;
    outline: none;
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 400; /* Regular */
    line-height: 24px;
    color: #475569; /* Matching the muted grey color in Screenshot 122323 */
}

/* Custom placeholder styling */
.search-container input::placeholder {
    color: #475569;
}

.filter-category h4 {
    font-family: serif; /* Matches GA Mall heading style */
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.filter-category ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.filter-category label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #5d6d7e;
    font-size: 0.95rem;
    cursor: pointer;
}

/* Checkbox Color from Screenshot 122403 */
.active-check {
    accent-color: #634a2e; 
}

/* Brand Grid Layout */
.brand-content { flex: 1; }

.section-title {
    font-size: 38px;
    font-weight: 600;
    line-height: 42px;
    /* margin-bottom: 30px; */
    font-family: 'Libertinus Serif', 'Liberation Serif', serif;
      
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.brand-card {
    transition: 0.3s ease;
}

.brand-img-box {
    position: relative;
    aspect-ratio: 2/1;
    background: #ddd;
    overflow: hidden;
    width: 100%;
    border-radius: 20px;
}

.brand-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents stretching seen in some previews */
}

/* Maintain text alignment on large screens */
.brand-details p {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #475569;
    max-width: 100%; /* Allow text to wrap naturally based on card width */
}

.tag-container {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px; /* Space between labels from Figma */
    align-items: flex-start; /* Aligns them to the left */
}

.floor-label, .offer-label {
    /* Critical: This makes them take the same width in the flex container */
    width: 100%; 
    min-width: fit-content;
    
    height: 24px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    box-sizing: border-box;
    white-space: nowrap;
    
    /* Typography */
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    letter-spacing: 0px;
}

.floor-label {
    background: #E5E7EB;
    color: #000000;
    font-weight: 400;
}

.offer-label {
    background: #F59E0B;
    color: #FFFFFF;
    font-weight: 700;
}

.sale-overlay {
    position: absolute; 
    bottom: 20px;
    left: 0; /* Changed to 0 to allow width: 100% and internal padding */
    
    /* Layout specs from image_46793d.png */
    width: 100%; /* To mimic 'Fill' container behavior */
    height: 48px; /* Exact height from Figma */
    padding: 0 20px; /* Aligns text 20px from the left edge */
    box-sizing: border-box;
    
    /* Typography from image_46793d.png */
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
    font-weight: 700; /* 'Bold' in Figma */
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    
    /* Vertical Alignment from image_46793d.png */
    display: flex;
    align-items: center; /* Matches the vertical-center icon in Figma */
    text-align: left; /* Matches the left-align icon in Figma */
}

.brand-details {
    /* Layout from image_3c8fb3.png */
    display: flex;
    flex-direction: column;
    padding-top: 12px; /* Top padding from Figma */
    width: 100%;
    max-width: 412px; /* W: 412 from Figma */
}

/* Typography Correction */
.brand-details h3 {
    font-family: 'Noto Serif', serif; 
    font-weight: 200;
    font-size: 20px;
    color: #191C1D; /* From selection colors */
   line-height: 24px;
   margin: 0;
   text-align: left;
}

.sub-title {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    letter-spacing: 1.6px; /* From image_549bff.png */
    color: #64748B; /* Slate blue-gray from image_54a7b9.png */
    text-transform: uppercase;
    margin-bottom: 10px;
}
.brand-details .sub-title {
    /* Based on previous Manrope styling */
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    letter-spacing: 1.6px;
    color: #64748B;
    text-transform: uppercase;
    margin-top: 4px; /* Adjusting gap based on visual design */
}

.brand-details p {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    line-height: 20px; /* From image_549c3e.png */
    color: #475569; /* Darker gray from selection colors */
    max-width: 412px;
    margin-top: 8px;
}

.pagination-link { text-align: center; margin-top: 40px; }
.pagination-link a { color: #2980b9; text-decoration: none; font-weight: bold; }

/* Responsive View */
@media (max-width: 1024px) {
    .brand-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-layout { flex-direction: column; }
    .filter-sidebar { width: 100%; box-sizing: border-box; }
    .brand-grid { grid-template-columns:repeat(1, 1fr); }
    
    .brand-details p {
    font-size: 15px;
    line-height: 20px;
    margin-top: 4px;
    }

    .brand-details h3 {
    font-size: 22px;
    line-height: 20px;
   }

   .sub-title {
    font-size: 20px;
    letter-spacing: 1px;
   }
   .ga-mall-discovery {
    padding: 40px 5px;
    }
    .main-layout {
    padding-left:5px;
}
.brand-img-box {
    aspect-ratio: 2/1;
}
}


.brand-slider-section {
    width: 100%;
    background: #ffffff;
    padding: 10px 0;
    overflow: hidden;
    box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.18);
}

.slider-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo-track {
    display: flex;
    width: calc(250px * 16); /* Adjust based on number of items */
    animation: scrollLoop 30s linear infinite;
}

/* Pause animation on hover */
.logo-track:hover {
    animation-play-state: paused;
}

.logo-item {
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.logo-item img {
    max-width: 150px;
    height: auto;
    transition: all 0.4s ease;
}

/* Hover effect: Logo becomes big and colored */
.logo-item:hover {
    transform: scale(1.3);
    z-index: 10;
}

.logo-item:hover img {
    /* filter: grayscale(0%); */
}

/* Infinite loop animation */
@keyframes scrollLoop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 8)); /* Scroll exactly half the total width */
    }
}




/* Section Container */
.lounge-section {
    padding: 60px 20px;
    background-color: #ffffff;
    max-width: 1400px;
    margin: 0 auto;
    font-family: 'Manrope', sans-serif;
}


 .lounge-title {
    font-family: 'Libertinus Serif', serif; 
    font-weight: 600  ;
    font-size: 38px; 
    line-height: 42px; 
    letter-spacing: 0px; 
    color: #191C1D; 
    text-transform: uppercase;

    width: 100%;
    max-width: 569px; 
    margin-left: 0; 
    margin-bottom: 30px; 
    
    text-align: left;
}



.lounge-description {
    width: 100%;
    max-width: 1723px;
    margin-bottom: 40px;

    font-family: 'Manrope', sans-serif;
    font-weight: 500; 
    font-size: 28px; 
    line-height: 50px;
    letter-spacing: 0px;
    color: #000000;
    text-align: left;
}

/* Gallery Grid */
.lounge-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* Gallery Images with Rounded Corners from image_bf15f4.jpg */
.gallery-item {
    width: 100%;
    overflow: hidden;
    border-radius: 30px; /* Matches the curve in image_bf15f4.jpg */
}

.gallery-item img {
    width: 100%;
    height: 450px; /* Set a fixed height for symmetry */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* View More Link */
.view-more-container {
    text-align: center;
}

.view-more-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2980b9;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.view-more-link:hover {
    text-decoration: underline;
}



/* Responsive for Mobile */
@media (max-width: 768px) {
    .lounge-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 300px;
    }
    
    .lounge-title {
        /* font-size: 1.8rem; */
    font-size: 28px;
    line-height: 35px;
    }
}


/* ==========================================================================
   MOBILE & TABLET RESPONSIVE STYLES 
   ========================================================================== */
/* ================= MOBILE FILTER BUTTON ================= */

.mobile-filter-btn{
    display:none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-item {
        width: 150px;
    }
    @keyframes scrollLoop {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-150px * 8)); }
    }

    .section-title {
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    
    }

    .lounge-description {
        font-size: 20px; 
        line-height: 30px;
        text-align: justify;
    }
}

/* ================= MOBILE VIEW ================= */

@media(max-width:768px){

    /* FILTER BUTTON */

    .mobile-filter-btn{
        position:fixed;

        bottom:25px;
        right:20px;

        z-index:9999;

        width:58px;
        height:58px;

        border:none;
        border-radius:50%;

        background:#e11d48;

        /* background: var(--gold-gradient); */

        color:#fff;

        display:flex;
        align-items:center;
        justify-content:center;
        flex-direction:column;

        gap:2px;

        box-shadow:0 10px 30px rgba(0,0,0,0.25);

        cursor:pointer;
    }

    .mobile-filter-btn i{
        font-size:18px;
    }

    .mobile-filter-btn span{
        font-size:9px;
        font-weight:700;
        text-transform:uppercase;
    }

    /* ================= SIDEBAR ================= */

    .filter-sidebar{
        position:fixed;

        top:0;
        left:-100%;

        width:85%;
        max-width:330px;

        height:100vh;

        background:#fff;

        z-index:10000;

        overflow-y:auto;

        transition:0.4s ease;

        padding:22px 18px 80px;

        border-radius:0 25px 25px 0;

        box-shadow:5px 0 25px rgba(0,0,0,0.18);
    }

    /* ACTIVE SIDEBAR */

    .filter-sidebar.active{
        left:0;
    }

    /* OVERLAY */

    .filter-overlay{
        position:fixed;

        inset:0;

        background:rgba(0,0,0,0.45);

        opacity:0;
        visibility:hidden;

        transition:0.3s ease;

        z-index:9998;
    }

    .filter-overlay.active{
        opacity:1;
        visibility:visible;
    }

    /* TOP */

    .filter-top{
        display:flex;
        align-items:center;
        justify-content:space-between;

        margin-bottom:25px;
    }

    .filter-top h3{
        font-size:24px;
        font-weight:700;
    }

    /* CLOSE */

    .close-filter{
        width:38px;
        height:38px;

        border:none;
        border-radius:50%;

        background:#f1f5f9;

        cursor:pointer;

        font-size:16px;
    }

}


