/* ==========================================================================
   ARCHITECTURAL LAYOUT STYLES FOR THE PREMIUM SHOP & FILTER GRID
   ========================================================================== */

/* --- 1. Breadcrumbs Component styling --- */
.shop-breadcrumbs-section {
    background-color: #fcfcfc;
    border-bottom: 1px solid #f3f4f6;
    padding: 18px 0;
}

.breadcrumbs-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumbs-list li,
.breadcrumbs-list li a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.breadcrumbs-list li a:hover {
    color: var(--dark-gold);
}

.breadcrumbs-list li.separator {
    font-size: 9px;
    color: #d1d5db;
}

.breadcrumbs-list li.active {
    color: var(--primary-black);
    font-weight: 600;
}

/* --- 2. Master Structural Layout Frame --- */
.shop-master-section {
    padding: 50px 0 80px 0;
    background-color: #ffffff;
}

.shop-master-container {
    display: grid;
    grid-template-columns: 320px 1fr; /* Exact architectural side column specification ratio */
    gap: 40px;
    align-items: flex-start;
}

/* ==========================================================================
   📦 LEFT FILTER SIDEBAR CORE STYLING (WHITE FRAME & EXTRACED GOLD ACCENTS)
   ========================================================================== */
.shop-sidebar-filters {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 30px 24px;
    position: sticky;
    top: 230px; /* Accounts cleanly for your fixed navigation top offset bounds */
}

.filter-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 24px;
}

.filter-main-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-black);
    letter-spacing: -0.3px;
}

.clear-all-trigger {
    border: none;
    background: transparent;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gold-muted);
    cursor: pointer;
    transition: color 0.2s ease;
}

.clear-all-trigger:hover {
    color: var(--dark-gold);
}

/* Segment Row Blocks setup bounds */
.filter-segment-block {
    display: flex;
    flex-direction: column;
    padding-bottom: 24px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 24px;
}

.filter-segment-block:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.segment-header-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.segment-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-black);
}

.segment-reset-btn {
    border: none;
    background: transparent;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
}

.segment-reset-btn:hover {
    color: #dc2626;
}

/* Embedded Inner Contextual Input Search Blocks */
.segment-search-box {
    display: flex;
    align-items: center;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0 14px;
    gap: 10px;
    margin-bottom: 14px;
}

.segment-search-box .search-icon {
    font-size: 12px;
    color: var(--text-muted);
}

.segment-search-box input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    padding: 10px 0;
    color: var(--primary-black);
}

/* Custom Scrollable Options Track Lists */
.segment-scrollable-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 5px;
}

.segment-scrollable-list::-webkit-scrollbar {
    width: 4px;
}
.segment-scrollable-list::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 10px;
}

/* Interactive Checkboxes Row Mechanics */
.custom-checkbox-row {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.custom-checkbox-row input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-box {
    width: 18px;
    height: 18px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.custom-checkbox-row:hover input ~ .checkbox-box {
    border-color: var(--gold-border);
}

.custom-checkbox-row input:checked ~ .checkbox-box {
    background: var(--gradient-gold-linear);
    border-color: transparent;
}

.checkbox-box::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10px;
    color: #000000;
    display: none;
}

.custom-checkbox-row input:checked ~ .checkbox-box::after {
    display: block;
}

.checkbox-label-text {
    font-size: 14px;
    color: #4b5563;
    font-weight: 500;
    flex-grow: 1;
}

.checkbox-count {
    font-size: 12px;
    color: var(--text-muted);
}

/* Dual Slider Input Track Box Elements */
/* ==========================================================================
   💰 PREMIUM DUAL PRICE SLIDER COMPONENT STYLES
   ========================================================================== */

.price-slider-track-box {
    position: relative;
    height: 6px;
    background-color: #e5e7eb; /* Base gray track */
    border-radius: 3px;
    margin-bottom: 26px;
    margin-top: 15px;
}

 
.price-slider-track-box::before {
    content: "";
    position: absolute;
    height: 100%;
    /* JS එකෙන් මේ values dynamic වෙනස් කරනවා */
    left: var(--slider-min-percent, 0%);
    right: var(--slider-max-percent, 15%);
    background: var(--gradient-gold-linear, linear-gradient(135deg, #fcd34d 0%, #d97706 100%));
    border-radius: 3px;
    z-index: 1;
}

.range-slider-input {
    position: absolute;
    width: 100%;
    height: 6px;
    top: 0;
    left: 0;
    background: none;
    pointer-events: none; /* Track එක උඩ click කරාම sliders හිර නොවීමට */
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    z-index: 2;
}

/* --- Webkit Browsers (Chrome, Safari, Edge, Opera) --- */
.range-slider-input::-webkit-slider-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 2.5px solid var(--gold-border, #d97706);
    cursor: pointer;
    pointer-events: auto; /* Thumbs විතරක් click/drag කරන්න ඉඩ දෙනවා */
    -webkit-appearance: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.range-slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: #fffdf9;
}

.range-slider-input::-webkit-slider-thumb:active {
    background: var(--dark-gold, #854d0e);
    border-color: var(--dark-gold, #854d0e);
    transform: scale(1.1);
}

/* --- Firefox Browsers --- */
.range-slider-input::-moz-range-thumb {
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: #ffffff;
    border: 2.5px solid var(--gold-border, #d97706);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.range-slider-input::-moz-range-thumb:hover {
    transform: scale(1.15);
    background: #fffdf9;
}

.range-slider-input::-moz-range-thumb:active {
    background: var(--dark-gold, #854d0e);
    border-color: var(--dark-gold, #854d0e);
}

/* Number Inputs fields tweaks */
.input-container-box:focus-within {
    border-color: var(--gold-border, #d97706);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

/* HTML arrows (spinners) hidden cleanly for premium minimalistic style */
.input-container-box input::-webkit-outer-spin-button,
.input-container-box input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.input-container-box input[type=number] {
    -moz-appearance: textfield;
}

.range-slider-input {
    position: absolute;
    width: 100%;
    height: 6px;
    top: 0;
    left: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
}

/* Core Inputs Grid Fields */
.price-inputs-fields-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-container-box {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0 12px;
    gap: 4px;
    flex: 1;
}

.currency-indicator {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.input-container-box input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 0;
    color: var(--primary-black);
}

.range-divider-to {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Rating Pill Filter Matrix Layout */
.rating-filter-matrix-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rating-matrix-pill {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 6px 14px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.rating-matrix-pill i {
    color: #f59e0b;
    font-size: 11px;
}

.rating-matrix-pill:hover,
.rating-matrix-pill.active {
    border-color: var(--gold-border);
    background-color: #fffdf9;
    color: var(--dark-gold);
}

/* ==========================================================================
   📦 RIGHT PRODUCT GRID CAPABILITIES STYLING
   ========================================================================== */
.shop-products-showcase {
    display: flex;
    flex-direction: column;
}

/* Header Control Alignment bar */
.products-showcase-control-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 14px 24px;
    border-radius: 16px;
    margin-bottom: 30px;
}

.mobile-sidebar-toggle-btn {
    display: none; /* Desktop default: standard hidden setting */
}

.results-tracker-txt {
    font-size: 14px;
    color: #4b5563;
}

.results-tracker-txt strong {
    color: var(--primary-black);
}

.control-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sorting-label-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.select-field-custom-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.sorting-native-dropdown {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-black);
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 8px 35px 8px 16px;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.select-chevron {
    position: absolute;
    right: 14px;
    font-size: 10px;
    color: var(--text-muted);
    pointer-events: none;
}

/* Massive 3 Column Matrix Grid using exact landing page variables configuration */
.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 3 Columns on PC viewports next to the filter menu sidebar */
    gap: 24px 20px;
}

/* Unified Frame Navigation row for Pagination */
.shop-pagination-navigation-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e5e7eb;
    margin-top: 50px;
    padding-top: 24px;
}

.pagination-arrow-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 10px 20px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-black);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-arrow-nav:hover:not(.disabled) {
    background: var(--gradient-gold-linear);
    color: #000000;
    border-color: transparent;
}

.pagination-arrow-nav.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numeric-pills-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-num-pill {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-num-pill:hover,
.page-num-pill.active {
    background-color: var(--surface-dark);
    color: var(--bright-gold);
}

/* --- Breadcrumb PNG Home Icon Styling --- */
.breadcrumb-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.breadcrumb-home-img {
    width: 16px;        /* Crisp, scaled-down size matching standard typography layout */
    height: 16px;       /* Constrained square proportions to prevent warping */
    object-fit: contain;/* Ensures the asset ratio is cleanly retained without distortion */
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Premium micro-interaction zoom animation on icon link hover state */
.breadcrumb-home-link:hover .breadcrumb-home-img {
    transform: scale(1.1); /* Subtle float elevation effect */
}


/* ==========================================================================
   📱 PREMIUM MOBILE RESPONSIVE LAYOUT CONSTRAINTS OVERRIDES (PERFECTLY FIXED)
   ========================================================================== */

@media screen and (max-width: 1200px) {
    .shop-master-container {
        grid-template-columns: 280px 1fr;
        gap: 20px;
    }
    .shop-products-grid {
        grid-template-columns: repeat(3, 1fr); /* Fits 3 columns beautifully on small desktops/large tablets */
    }
}
/* ==========================================================================
   📦 LEFT FILTER SIDEBAR CORE STYLING (MOBILE OVERRIDES FULL WIDTH)
   ========================================================================== */
@media screen and (max-width: 992px) {
    .shop-master-container {
        grid-template-columns: 1fr; /* Sidebar shifts out into full dynamic drawer layout */
    }
    
    /* Converted Left Filter Menu Sidebar into a full-width animated mobile drawer */
    .shop-sidebar-filters {
        position: fixed;
        top: 0;
        left: -100%; /* Default hidden position state */
        width: 100%;
        max-width: 100%; /* 🌟 Change from 320px to 100% for absolute edge-to-edge coverage */
        height: 100vh;
        z-index: 5000;
        border-radius: 0; /* Strips rounded panels out for flush full-screen alignment */
        border: none;     /* Removes external margins boundaries */
        overflow-y: auto;
        transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }
    
    .shop-sidebar-filters.mobile-open {
        left: 0; /* Slides smoothly into frame bounds */
    }
    
    .mobile-sidebar-toggle-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background-color: var(--surface-dark);
        color: var(--bright-gold);
        border: none;
        border-radius: 20px;
        padding: 10px 20px;
        font-family: 'Raleway', sans-serif;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: transform 0.2s ease, filter 0.2s ease;
    }

    .mobile-sidebar-toggle-btn:hover {
        filter: brightness(1.1);
        transform: translateY(-1px);
    }
    
    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr); /* Balanced 2 columns on tablets */
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr); /* Maintains stable 2-card setup for mid-sized handheld viewports */
        gap: 16px;
    }
}

/* 🌟 PERFECT RESPONSIVE FIXES FOR MOBILE VIEWPORTS (SMALLEST SCREENS) 🌟 */
@media screen and (max-width: 576px) {
    .shop-master-section {
        padding-top: 25px;
        padding-bottom: 50px;
    }
    
    /* --- Fixed Filter & Sorting Control Bar Layout (No overlaps, fully responsive) --- */
    .products-showcase-control-bar {
        padding: 16px 14px;
        flex-direction: column;
        align-items: stretch; /* Forces contents to stretch cleanly without overflow */
        gap: 16px; /* Perfect spacing between top and bottom blocks */
        border-radius: 16px;
        margin-bottom: 25px;
    }
    
    /* Left Block: Filter Button and Tracker Text perfectly aligned across the axis */
    .control-bar-left {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    
    .results-tracker-txt {
        font-size: 12px;
        color: #6b7280;
        text-align: right;
    }
    
    /* Right Block: Sort By dropdown optimized fully to span full width layout grids */
    .control-bar-right {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        border-top: 1px solid #f3f4f6; /* Added soft subtle premium divider separating controls */
        padding-top: 12px;
    }

    .sorting-label-title {
        font-size: 12px;
        flex-shrink: 0;
    }

    .select-field-custom-wrapper {
        flex-grow: 1;
        max-width: 70%; /* Keeps the dropdown size looking balanced and tight */
    }

    .sorting-native-dropdown {
        width: 100%;
        font-size: 13px;
        padding: 8px 30px 8px 14px;
    }
    
    /* --- 1 Card Per Row Layout (Strict Grid Fallback) --- */
    .shop-products-grid {
        grid-template-columns: 1fr !important; /* Strict single card stack flow */
        gap: 20px;
    }

    /* --- Upgraded Product Card & Image Box Scaling --- */
    .product-card {
        padding: 20px; /* Enhanced internal padding for premium aesthetic comfort */
        border-radius: 16px; /* Matched corner curvature rules */
    }

    /* 🖼️ Product Image Size Increased (Edge-to-Edge and Taller) */
    .product-card .product-image-box {
        width: calc(100% + 40px); /* Pushes outer bounds perfectly flush matching card margins */
        margin-left: -20px;
        margin-top: -20px;
        height: 260px; /* 🌟 Image Canvas Height significantly increased from 160px to 260px */
        background-color: #f9fafb;
        margin-bottom: 18px;
    }

    .product-card .product-img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Ensures high-end medicine and spice packing boxes never warp or crop layout ratios */
        padding: 10px; /* Soft safety spacing inside the light canvas layer */
    }

    /* Typography Adjustments inside single stacked blocks */
    .product-name {
        font-size: 15px; /* Shrunk slightly to match grid readability lines */
        height: auto; /* Allow name to wrap naturally without absolute restrictions */
        margin-bottom: 10px;
    }

    .product-price-row {
        margin-bottom: 16px;
    }

    /* Pagination controls alignment adjustments */
    .shop-pagination-navigation-row {
        margin-top: 40px;
        gap: 10px;
    }

    .pagination-arrow-nav {
        padding: 10px 14px;
        font-size: 12px;
    }

    .page-num-pill {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

/* --- Desktop Default Settings (Hide on normal viewports) --- */
.close-sidebar-btn {
    display: none;
}

/* --- Mobile / Tablet Styles Configuration --- */
@media screen and (max-width: 992px) {
    
     
    .close-sidebar-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 24px;
        right: 24px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background-color: #f3f4f6;
        border: none;
        color: var(--primary-black);
        font-size: 16px;
        cursor: pointer;
        z-index: 100;
        transition: all 0.3s ease;
    }

    .close-sidebar-btn:hover {
        background-color: var(--surface-dark);
        color: var(--bright-gold);
    }

    /* Close Button එකට ඉඩ තියන්න filter header එකේ padding පොඩ්ඩක් වෙනස් කිරීම */
    .filter-card-header {
        padding-right: 45px; /* Button එක උඩ වදින්නේ නැති වෙන්න */
    }

    
/* --- Mobile Sidebar Toggle Trigger Adaptations --- */
.mobile-sidebar-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Perfect spatial breathing room between the PNG image and button text */
    background-color: var(--surface-dark);
    color: var(--bright-gold);
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

/* --- Integrated PNG Icon Specific Rules --- */
.mobile-sidebar-toggle-btn .btn-icon-img {
    width: 16px;        /* Sized perfectly to remain crisp next to the text element */
    height: 16px;       /* Preserves standard bounding square alignment proportions */
    object-fit: contain;/* Enforces correct layout ratios without rendering distortions */
    display: block;
    transition: transform 0.2s ease, filter 0.3s ease;
}

/* High-end hover interactions for mobile control buttons */
.mobile-sidebar-toggle-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

/* Inverts or turns the filter PNG asset pure obsidian black on hover if target layout specifies it */
.mobile-sidebar-toggle-btn:hover .btn-icon-img {
    transform: rotate(15deg); /* Subtle premium kinetic interaction click response */
}
}

/* Embedded Inner Contextual Input Search Blocks */
.segment-search-box {
    display: flex;
    align-items: center;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0 14px;
    gap: 10px;
    margin-bottom: 14px;
}

/* --- Sidebar Search PNG Icon Styling --- */
.segment-search-box .search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-search-img {
    width: 14px;        /* Sized perfectly to sit elegantly inside the sidebar search input track */
    height: 14px;       /* Preserves standard bounding square alignment proportions */
    object-fit: contain;/* Enforces correct layout ratios without rendering distortions */
    display: block;
    opacity: 0.6;       /* Softened default presence to let the layout breathe */
    transition: opacity 0.3s ease;
}

/* Subtle visual glow up state when user activates the field box focus rules */
.segment-search-box:focus-within .sidebar-search-img {
    opacity: 1;         /* Sharp high luxury opacity focus response */
}

.segment-search-box input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    padding: 10px 0;
    color: var(--primary-black);
}

/* --- Premium Fallback Container Design Elements --- */
.no-records-fallback-card {
    grid-column: 1 / -1; /* Makes the card span across all columns in your product grid */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin: 30px 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
     transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.no-records-fallback-card:hover {
    transform: translateY(-4px);
}

/* --- Animated Visual Icon Element --- */
.fallback-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(245, 166, 35, 0.2);
}

.fallback-icon-wrapper i {
    font-size: 2rem;
    color: #d4af37; /* Clean luxury gold tone matching your brand */
    animation: pulseIcon 3s infinite ease-in-out;
}

/* --- Typography System Elements --- */
.fallback-title {
    font-family: inherit;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.fallback-subtitle {
    font-size: 0.95rem;
    color: #7f8c8d;
    max-width: 480px;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* --- Clear Filters Call-to-Action Link Button --- */
.fallback-reset-trigger {
    background: #111111;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 12px 28px;
    border: none;
    border-radius: 50px; /* Perfect sleek pill shape format */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
     transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.fallback-reset-trigger:hover {
    background: #d4af37; /* Swaps background accent on mouseover interaction */
     transform: scale(1.02);
}

.fallback-reset-trigger:active {
    transform: scale(0.98);
}

/* --- Smooth Idle Animation Loop --- */
@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.85;
    }
}

/* ==========================================
   5. Mobile Responsive Optimization Breakpoint
   ========================================== */
@media screen and (max-width: 768px) {
    .no-records-fallback-card {
        padding: 40px 20px;
        margin: 20px 10px;
        border-radius: 18px;
    }

    .fallback-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 18px;
    }

    .fallback-icon-wrapper i {
        font-size: 1.75rem;
    }

    .fallback-title {
        font-size: 1.2rem;
        margin-bottom: 8px;
        padding: 0 5px;
    }

    .fallback-subtitle {
        font-size: 0.88rem;
        line-height: 1.5;
        margin-bottom: 22px;
        padding: 0 10px;
    }

    .fallback-reset-trigger {
        width: 100%; /* Expands button to full card width for easier mobile thumb reaching */
        max-width: 290px;
        justify-content: center;
        padding: 14px 20px; /* Enhanced touch target size */
        font-size: 0.85rem;
    }
}

/* --- Hide Scrollbar for Chrome, Safari, Opera and Edge --- */
.premium-showcase-sidebar::-webkit-scrollbar {
    display: none;
}

/* --- Hide Scrollbar for IE, Edge and Firefox --- */
.premium-showcase-sidebar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
/* ==========================================================================
   Desktop View - Independent Sidebar Scroll (PC Mood Only)
   ========================================================================== */
@media screen and (min-width: 992px) {
    /* 1. Main Container Alignment */
    .shop-master-container {
        display: flex;
        align-items: flex-start;
        gap: 30px; /* Space between sidebar and products grid */
    }

    /* 2. Sidebar Scroll Configuration */
    .shop-sidebar-filters {
        width: 350px; /* Fixed width for desktop sidebar */
        flex-shrink: 0;
        
        /* Locks the sidebar position when the user scrolls down the main page */
        position: sticky;
        top: 180px; /* Adjust this value if your navbar is higher or overlapping */
        
        /* Limits the sidebar height to the screen size and enables dynamic layout scrolling */
        max-height: calc(100vh - 40px); 
        overflow-y: auto; 
        
        /* Hide scrollbar for Firefox */
        scrollbar-width: none;
        /* Hide scrollbar for Internet Explorer and Old Edge */
        -ms-overflow-style: none; 
    }

    /* Hide scrollbar for Chrome, Safari, Opera, and New Edge */
    .shop-sidebar-filters::-webkit-scrollbar {
        display: none;
    }

    /* 3. Products Grid Showcase */
    .shop-products-showcase {
        flex-grow: 1;
        /* Keeps default page-level body scroll for the product area */
    }
}
