/* Hero Background Images */
.slide-bg-1 {
    background-image: url('/assets/images/hero/bg1.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.slide-bg-2 {
    background-image: url('/assets/images/hero/bg2.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 768px) {
    .slide-bg-1 {
        background-position: top;
    }
    
    .slide-bg-2 {
        background-position: top;
    }
}

/* Page Background Images */
.page-bg-hero {
    background-image: url('/assets/images/hero/pages.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ============================================
   COMPACT FOOTER STYLES (NO HOVER ANIMATIONS)
   ============================================ */

/* Footer Logo */
.footer-logo-modern {
    display: inline-block;
}

/* Footer Description */
.footer-description-modern {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    max-width: 100%;
}

/* Social Media Section */
.footer-social-section {
    margin-top: 0.75rem;
}

.footer-social-title {
    color: #9a3412;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.65rem;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fafaf9;
    border: 1.5px solid #e7e5e4;
    border-radius: 10px;
    color: #a16207;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Section Titles */
.footer-section-title {
    color: #1c1917;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--color-primary-400), var(--color-primary), var(--color-primary-300));
    border-radius: 2px;
}

/* Footer Links */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 0.6rem;
}

.footer-link-item {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

/* Contact Info */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-item-modern {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.9rem;
    gap: 0.65rem;
}

.footer-contact-icon-modern {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.footer-contact-text {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    display: block;
}

.footer-contact-link {
    color: #6b7280;
    text-decoration: none;
}

/* Newsletter */
.footer-newsletter-desc {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-newsletter-form-modern {
    margin-top: 0.5rem;
}

.footer-newsletter-input-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #e7e5e4;
    border-radius: 10px;
    padding: 0.4rem;
    gap: 0.4rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.footer-newsletter-input-wrapper:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(255, 105, 0, 0.1);
}

.footer-newsletter-input-icon {
    width: 16px;
    height: 16px;
    color: #a16207;
    margin-left: 0.4rem;
    flex-shrink: 0;
}

.footer-newsletter-input-modern {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #1c1917;
    font-size: 0.875rem;
    padding: 0.5rem 0.6rem;
}

.footer-newsletter-input-modern::placeholder {
    color: #9ca3af;
}

.footer-newsletter-btn-modern {
    background: var(--color-primary);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(255, 105, 0, 0.25);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    padding: 1rem 0;
    border-top: 1px solid #e7e5e4;
    background: rgba(250, 250, 249, 0.9);
}

.footer-copyright-text {
    color: #6b7280;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.footer-credit-link {
    color: #1c1917;
    text-decoration: none;
    font-weight: 600;
}

/* Payments Section */
.footer-payments-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

@media (min-width: 768px) {
    .footer-payments-section {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }
}

.footer-payments-label-modern {
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.footer-payment-badges {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.footer-payment-badge {
    display: inline-block;
    width: 38px;
    height: 26px;
    background: #ffffff;
    border: 1px solid #e7e5e4;
    border-radius: 5px;
    padding: 3px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.footer-payment-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(40%);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-description-modern {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-section-title {
        margin-bottom: 0.85rem;
    }
    
    .footer-contact-item-modern {
        margin-bottom: 0.8rem;
    }
    
    .footer-newsletter-input-wrapper {
        flex-direction: column;
        align-items: stretch;
        padding: 0.6rem;
    }
    
    .footer-newsletter-input-icon {
        margin-left: 0;
        margin-bottom: 0.4rem;
    }
    
    .footer-newsletter-btn-modern {
        width: 100%;
        justify-content: center;
    }
    
    .footer-payments-section {
        margin-top: 0.75rem;
    }
}

/* Language Dropdown Enhancements */
.lang-option.active {
    background-color: rgba(255, 105, 0, 0.1);
    color: var(--color-primary);
}

.lang-option.active .text-slate-400,
.lang-option.active .text-slate-500 {
    color: var(--color-primary);
}

.lang-option.active i[data-feather="check"] {
    opacity: 1 !important;
}

.dark .lang-option.active {
    background-color: rgba(255, 105, 0, 0.2);
}

/* Smooth dropdown animation */
.dropdown-menu {
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Dropdown Enhancements */
#searchDropdown {
    animation: slideDown 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-empty-state {
    animation: fadeIn 0.3s ease-out;
}

.search-suggestions {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.clear-search {
    transition: all 0.2s ease;
}

.search-suggestion-item {
    transition: all 0.2s ease;
}

.search-suggestion-item:hover {
    transform: translateX(2px);
}

/* Search Dropdown min-width */
#searchDropdown {
    min-width: 400px !important;
}

/* Search Input Enhancements */
#searchItem::placeholder {
    font-weight: 400;
    opacity: 0.7;
}

#searchItem:focus::placeholder {
    opacity: 0.5;
}

/* Search Empty State Enhancements */
.search-empty-state {
    animation: fadeIn 0.4s ease-out;
}

/* Search Suggestions Enhancements */
.search-suggestion-item {
    position: relative;
}

.search-suggestion-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--color-primary);
    border-radius: 0 2px 2px 0;
    transition: height 0.2s ease;
}

.search-suggestion-item:hover::before {
    height: 60%;
}

/* Custom translate utilities for search dropdown */
.-translate-y-1\/2 {
    --tw-translate-y: -50%;
    translate: var(--tw-translate-x, 0) var(--tw-translate-y);
}

/* Search Input Icon Alignment */
.search-input-icon {
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}

.clear-search-btn {
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}

/* ============================================
   PRODUCT CARD STYLING
   ============================================ */

/* Product Image Container - Square Aspect Ratio */
.product-image-container {
    aspect-ratio: 1 / 1;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.product-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image hover zoom effect */
.group:hover .product-image-container img {
    transform: scale(1.1);
}

/* Product Badges - ALWAYS VISIBLE (No hover required) */
.product-badge-container {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 10;
}

.product-badge-container li {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.product-badge-container li a,
.product-badge-container li span {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex !important;
}

/* Ensure badges are always visible even without hover */
.group .product-badge-container {
    opacity: 1 !important;
}

.group:hover .product-badge-container {
    opacity: 1 !important;
}

/* Product action buttons (heart, eye) - ONLY visible on hover */
.product-actions {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease;
    z-index: 10;
}

.group:hover .product-actions {
    opacity: 1 !important;
    visibility: visible !important;
}

.group:hover .product-actions .favorite-btn,
.group:hover .product-actions a,
.group:hover .product-actions button {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Always show favorited button and remove button even without hover */
.product-actions .favorite-btn.bg-red-500,
.product-actions .favorite-btn.is-favorite,
.product-actions .remove-favorite-btn-permanent {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Parent container should be visible if it has always-visible item */
ul.product-actions:has(.remove-favorite-btn-permanent),
ul.product-actions:has(.favorite-btn.bg-red-500),
ul.product-actions:has(.favorite-btn.is-favorite) {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ============================================
   COMPACT MEGA MENU STYLING
   ============================================ */

/* Compact Mega Menu - Reduce spacing and make it tighter */
.compact-megamenu {
    padding: 1.25rem !important;
    gap: 1.5rem !important;
    min-width: auto !important;
    justify-content: flex-start !important;
}

/* Mega Menu Columns - Equal spacing and alignment */
.compact-megamenu > li {
    flex: 0 1 auto;
    min-width: 170px;
    max-width: 200px;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

/* Menu Items Styling */
.compact-megamenu ul {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
}

.compact-megamenu .megamenu-head {
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    color: #1c1917 !important;
    margin: 0 0 0.5rem 0 !important;
    padding: 0 0 0.35rem 0 !important;
    padding-inline: 0 !important;
    border-bottom: 2px solid rgba(239, 68, 68, 0.15);
    letter-spacing: -0.01em;
    text-align: left !important;
}

.compact-megamenu .megamenu-head a {
    color: #1c1917 !important;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
    padding: 0 !important;
    margin: 0 !important;
}

.compact-megamenu .megamenu-head a:hover {
    color: var(--color-primary) !important;
}

/* Sub Menu Items - Compact spacing */
.compact-megamenu li {
    padding: 0 !important;
    padding-inline: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

.compact-megamenu li a {
    display: inline-block !important;
    text-align: left !important;
    padding: 0 !important;
    padding-inline: 0 !important;
    margin: 0 !important;
}

.compact-megamenu .sub-menu-item {
    display: inline-block;
    padding: 0.3rem 0 !important;
    padding-inline: 0 !important;
    margin: 0 !important;
    font-size: 0.8125rem !important;
    color: #6b7280 !important;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1.3;
    text-align: left !important;
}

.compact-megamenu .sub-menu-item:hover {
    color: var(--color-primary) !important;
    padding-left: 0.3rem !important;
    padding-inline-end: 0 !important;
    transform: translateX(2px);
}

/* View All Link Styling */
.compact-megamenu .sub-menu-item.text-primary {
    margin: 0.35rem 0 0 0 !important;
    padding: 0.35rem 0 0 0 !important;
    border-top: 1px solid #f3f4f6;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    text-align: left !important;
}

.compact-megamenu .sub-menu-item.text-primary:hover {
    padding-left: 0.3rem !important;
}

/* Responsive adjustments */
@media (max-width: 1280px) {
    .compact-megamenu {
        gap: 1.25rem !important;
        padding: 1rem !important;
    }
    
    .compact-megamenu > li {
        min-width: 160px;
        max-width: 190px;
    }
}

@media (max-width: 1024px) {
    .compact-megamenu {
        gap: 1rem !important;
    }
    
    .compact-megamenu > li {
        min-width: 150px;
        max-width: 180px;
    }
}

/* Dark mode adjustments */
.dark .compact-megamenu .megamenu-head {
    color: #ffffff !important;
    border-bottom-color: rgba(239, 68, 68, 0.25);
}

.dark .compact-megamenu .megamenu-head a {
    color: #ffffff !important;
}

.dark .compact-megamenu .sub-menu-item {
    color: #d1d5db !important;
}

.dark .compact-megamenu .sub-menu-item:hover {
    color: var(--color-primary) !important;
}

/* ============================================
   MINIMAL FASHION CATEGORY FILTER
   ============================================ */

/* Filter Body - Compact & Clean */
.toda-filter-body {
    padding: 0;
}

/* Main Category - Minimal */
.toda-main-category-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
    margin-bottom: 0.625rem;
}

.toda-main-category-header:hover {
    color: #ef4444;
}

.toda-expand-icon {
    width: 16px;
    height: 16px;
    color: #6b7280;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.toda-main-category-header.expanded .toda-expand-icon {
    transform: rotate(90deg);
    color: #ef4444;
}

.toda-main-category-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    flex: 1;
}

.dark .toda-main-category-title {
    color: #e5e7eb;
}

/* Simple Clean Checkbox */
.toda-checkbox-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.toda-checkbox-item:hover .toda-checkbox-text {
    color: #ef4444;
}

.toda-checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.toda-checkbox-visual {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 3px;
    margin-right: 0.75rem;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: #ffffff;
}

.dark .toda-checkbox-visual {
    background: #1e293b;
    border-color: #475569;
}

.toda-checkbox-input:checked ~ .toda-checkbox-visual {
    background: #ef4444;
    border-color: #ef4444;
}

.toda-checkbox-visual::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    opacity: 0;
    transition: all 0.2s ease;
}

.toda-checkbox-input:checked ~ .toda-checkbox-visual::after {
    transform: rotate(45deg) scale(1);
    opacity: 1;
}

.toda-checkbox-text {
    font-size: 0.875rem;
    font-weight: 400;
    color: #4b5563;
    flex: 1;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.dark .toda-checkbox-text {
    color: #d1d5db;
}

.toda-checkbox-input:checked ~ .toda-checkbox-text {
    color: #1f2937;
    font-weight: 500;
}

.dark .toda-checkbox-input:checked ~ .toda-checkbox-text {
    color: #f3f4f6;
}

/* Sub Categories - Simple */
.toda-subcategories-list {
    margin-left: 1.5rem;
    margin-top: -0.7rem;
    padding-left: 0.75rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.dark .toda-subcategories-list {
    border-left-color: #374151;
}

.toda-subcategory-item {
    margin-bottom: 0.125rem;
}

.toda-subcategory-item .toda-checkbox-item {
    padding: 0.375rem 0;
}

.toda-subcategory-item .toda-checkbox-visual {
    width: 16px;
    height: 16px;
    margin-right: 0.625rem;
}

.toda-subcategory-item .toda-checkbox-visual::after {
    left: 4px;
    top: 1px;
    width: 3px;
    height: 7px;
    border-width: 0 1.5px 1.5px 0;
}

.toda-subcategory-item .toda-checkbox-text {
    font-size: 0.8125rem;
}

/* Collapse */
.toda-subcategories-list.collapsed {
    max-height: 0 !important;
    margin-top: 0;
    margin-bottom: 0;
    opacity: 0;
}

/* ============================================
   TODA FILTER LOADER
   ============================================ */

/* Loader Overlay */
.toda-filter-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.toda-filter-loader-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Loader Container */
.toda-filter-loader-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    animation: scaleIn 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.dark .toda-filter-loader-box {
    background: #1e293b;
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Spinner */
.toda-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #fee2e2;
    border-top: 4px solid #ef4444;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.dark .toda-spinner {
    border-color: rgba(239, 68, 68, 0.2);
    border-top-color: #ef4444;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loader Text */
.toda-loader-text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #374151;
    letter-spacing: 0.3px;
}

.dark .toda-loader-text {
    color: #e5e7eb;
}

/* Loader Dots Animation */
.toda-loader-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* ============================================
   MOBILE FILTER SYSTEM
   ============================================ */

/* Mobile Filter Button - Sticky */
.mobile-filter-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 40;
    display: none;
}

@media (max-width: 768px) {
    .mobile-filter-bar {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }
}

.dark .mobile-filter-bar {
    background: #1e293b;
    border-top-color: #334155;
}

.mobile-filter-btn,
.mobile-sort-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-filter-btn:active,
.mobile-sort-btn:active {
    background: #e5e7eb;
    transform: scale(0.98);
}

.dark .mobile-filter-btn,
.dark .mobile-sort-btn {
    background: #334155;
    border-color: #475569;
    color: #f3f4f6;
}

.dark .mobile-filter-btn:active,
.dark .mobile-sort-btn:active {
    background: #475569;
}

/* Filter Badge */
.filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 0.375rem;
    background: #ef4444;
    color: #ffffff;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Mobile Filter Drawer */
.mobile-filter-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: none;
    pointer-events: none;
}

.mobile-filter-drawer.active {
    display: block;
    pointer-events: auto;
}

.mobile-filter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-filter-drawer.active .mobile-filter-overlay {
    opacity: 1;
}

.mobile-filter-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 85vh;
    background: #ffffff;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    box-shadow: 0 -10px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.dark .mobile-filter-content {
    background: #1e293b;
}

.mobile-filter-drawer.active .mobile-filter-content {
    transform: translateY(0);
}

/* Filter Header */
.mobile-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.dark .mobile-filter-header {
    border-bottom-color: #334155;
}

.mobile-filter-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.dark .mobile-filter-title {
    color: #f3f4f6;
}

.mobile-filter-close {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-filter-close:active {
    background: #e5e7eb;
    transform: scale(0.95);
}

.dark .mobile-filter-close {
    background: #334155;
}

.dark .mobile-filter-close:active {
    background: #475569;
}

/* Filter Body */
.mobile-filter-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

/* Filter Footer */
.mobile-filter-footer {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    background: #f9fafb;
}

.dark .mobile-filter-footer {
    background: #0f172a;
    border-top-color: #334155;
}

.filter-clear-btn {
    flex: 1;
    padding: 0.875rem;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-clear-btn:active {
    background: #f9fafb;
    transform: scale(0.98);
}

.dark .filter-clear-btn {
    background: #1e293b;
    border-color: #475569;
    color: #f3f4f6;
}

.filter-apply-btn {
    flex: 2;
    padding: 0.875rem;
    background: #ff6900;
    border: none;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-apply-btn:active {
    background: #e55d00;
    transform: scale(0.98);
}

/* Active Filter Badges */
.active-filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.active-filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #92400e;
}

.dark .active-filter-badge {
    background: #451a03;
    border-color: #78350f;
    color: #fef3c7;
}

.active-filter-remove {
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f59e0b;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.75rem;
    line-height: 1;
    transition: all 0.2s ease;
}

.active-filter-remove:hover {
    background: #d97706;
}

/* Mobile Sort Modal */
.mobile-sort-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: none;
    pointer-events: none;
}

.mobile-sort-modal.active {
    display: block;
    pointer-events: auto;
}

.mobile-sort-content {
    background: #ffffff;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    padding: 1.5rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .mobile-sort-content {
    background: #1e293b;
}

.mobile-sort-modal.active .mobile-sort-content {
    transform: translateY(0);
}

.mobile-sort-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-sort-option:hover,
.mobile-sort-option.active {
    background: #f3f4f6;
    color: #ff6900;
}

.dark .mobile-sort-option {
    color: #f3f4f6;
}

.dark .mobile-sort-option:hover,
.dark .mobile-sort-option.active {
    background: #334155;
}

.sort-check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #ff6900;
    display: none;
}

.mobile-sort-option.active .sort-check-icon {
    display: block;
}

/* Desktop Filter Panel - Hide on Mobile */
@media (max-width: 768px) {
    .desktop-filter-panel {
        display: none !important;
    }
    
    /* Add padding bottom for mobile filter bar */
    body {
        padding-bottom: 5rem;
    }
    
    /* Product Card Mobile Optimizations */
    .group .mt-4 {
        margin-top: 0.75rem !important;
    }
    
    .group .hover\:text-primary {
        font-size: 0.875rem !important;
        line-height: 1.25rem !important;
    }
    
    .group .text-lg {
        font-size: 0.875rem !important;
    }
    
    .product-actions {
        gap: 0.25rem !important;
    }
    
    .product-actions button,
    .product-actions a {
        width: 2rem !important;
        height: 2rem !important;
    }
    
    .product-actions svg {
        width: 1rem !important;
        height: 1rem !important;
    }
    
    .product-badge-container li a {
        font-size: 9px !important;
        padding: 0.25rem 0.5rem !important;
    }
}

/* Product Image Container Improvements */
.product-image-container {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .product-image-container img {
    transform: scale(1.05);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Touch Optimization */
@media (hover: none) and (pointer: coarse) {
    .product-actions button:active,
    .product-actions a:active {
        transform: scale(0.95);
    }
}

/* Hide Back to Top button on mobile */
@media (max-width: 768px) {
    #back-to-top,
    .back-to-top {
        display: none !important;
    }
}

/* ============================================
   EMPTY STATE CARD - CUSTOM CSS
   ============================================ */

/* Empty State Container */
.toda-empty-state-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 1rem;
}

@media (max-width: 768px) {
    .toda-empty-state-wrapper {
        padding: 3rem 1rem;
    }
}

/* Empty State Card */
.toda-empty-state-card {
    max-width: 28rem;
    width: 100%;
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.dark .toda-empty-state-card {
    background: #1e293b;
}

@media (max-width: 768px) {
    .toda-empty-state-card {
        padding: 1.5rem;
    }
}

/* Empty State Icon Container */
.toda-empty-icon-wrapper {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 1.5rem;
    position: relative;
}

@media (max-width: 768px) {
    .toda-empty-icon-wrapper {
        width: 5rem;
        height: 5rem;
        margin-bottom: 1rem;
    }
}

/* Icon Background Circle */
.toda-empty-icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fed7aa 0%, #fef3c7 100%);
    border-radius: 50%;
}

.dark .toda-empty-icon-bg {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.3) 0%, rgba(234, 88, 12, 0.2) 100%);
}

/* Icon Inner Circle */
.toda-empty-icon-inner {
    position: absolute;
    inset: 0.75rem;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.dark .toda-empty-icon-inner {
    background: #1e293b;
}

/* Icon SVG */
.toda-empty-icon-svg {
    width: 3rem;
    height: 3rem;
    color: #f97316;
}

@media (max-width: 768px) {
    .toda-empty-icon-svg {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Empty State Title */
.toda-empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.dark .toda-empty-title {
    color: #f3f4f6;
}

@media (max-width: 768px) {
    .toda-empty-title {
        font-size: 1.25rem;
    }
}

/* Empty State Description */
.toda-empty-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.dark .toda-empty-description {
    color: #9ca3af;
}

@media (max-width: 768px) {
    .toda-empty-description {
        font-size: 0.8125rem;
        margin-bottom: 1.5rem;
    }
}

/* Empty State Actions Container */
.toda-empty-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Primary Action Button */
.toda-empty-btn-primary {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: #ff6900;
    color: #ffffff;
    border: none;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.toda-empty-btn-primary:hover {
    background: #e55d00;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: scale(1.02);
}

.toda-empty-btn-primary:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .toda-empty-btn-primary {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
}

/* Secondary Action Button */
.toda-empty-btn-secondary {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f3f4f6;
    color: #374151;
    border: none;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .toda-empty-btn-secondary {
    background: #334155;
    color: #e5e7eb;
}

.toda-empty-btn-secondary:hover {
    background: #e5e7eb;
    transform: scale(1.02);
}

.dark .toda-empty-btn-secondary:hover {
    background: #475569;
}

.toda-empty-btn-secondary:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .toda-empty-btn-secondary {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

/* Button Icon */
.toda-empty-btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .toda-empty-btn-icon {
        width: 1.125rem;
        height: 1.125rem;
    }
}
