/**
 * Accessories CSS
 * This file contains the CSS styles for the accessories page
 */

/* Hero Section */
.hero {
    background: url('/static/images/Accessories/pic2.png') no-repeat center center;
    background-size: cover;
    height: 300px;
    padding: 100px 0;
    text-align: left;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
}

.hero h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    font-style: italic;
}

.hero .btn {
    display: inline-block;
    font-size: 16px;
    padding: 12px 24px;
    background-color: #BE930B;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
    background-color: #a67f0a;
}

/* Accessories Section */
.accessories {
    width: 1440px;
    margin: 0 auto;
    padding: 50px 0;
    background-color: #F4F4F4;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    color: #333;
}

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-bottom: 30px;
}

/* Mobile responsive design */
@media (max-width: 768px) {
    .accessories-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet responsive design */
@media (min-width: 769px) and (max-width: 1024px) {
    .accessories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.accessory-card {
    background-color: white;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination-btn {
    padding: 12px 36px;
    background-color: #BE930B;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn:hover {
    opacity: 0.9;
}

.pagination-btn img {
    width: 16px;
    height: 16px;
}

/* Certification Tooltip */
.certification-container {
    position: relative;
}

.certification-container:hover .certification-content {
    background-color: #F6C3C3;
}

.certification-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #313131;
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    margin-bottom: 10px;
}

.certification-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: #313131 transparent transparent transparent;
}

.certification-container:hover .certification-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Filter Section Sticky */
.filter-section {
    position: sticky;
    top: 0;
    z-index: 5;
    background-color: #F4F4F4;
    padding: 10px 0;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

/* Desktop Filters */
.desktop-filters {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .desktop-filters {
        display: none;
    }
}

.filter-label {
    font-size: 16px;
    color: #C3C3C3;
}

.filters-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.filter-dropdown-wrapper {
    position: relative;
}

.filter-dropdown-btn {
    width: 200px;
    height: 47px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    border-radius: 6px;
    color: #1C1C1C;
    font-size: 16px;
    border: 1px solid transparent;
    transition: all 200ms ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-dropdown-btn:hover {
    border-color: #be930b;
}

/* Specific style for Ebike Model filter button */
.model-filter-btn {
    width: 220px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.filter-dropdown-btn svg {
    width: 18px;
    height: 18px;
}

.filter-dropdown-btn span {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex: 1;
}

.filter-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 2px;
    width: 262px;
    background-color: white;
    border-radius: 6px;
    border: 1px solid rgba(28, 28, 28, 0.3);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 10;
    max-height: 306px;
}

.filter-dropdown-menu.hidden {
    display: none;
}

.filter-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(28, 28, 28, 0.3);
}

.filter-selected-count {
    display: flex;
    align-items: center;
    gap: 4px;
}

.filter-selected-count .count {
    color: #1c1c1c;
    font-weight: 600;
    font-family: 'Proxima Nova';
    font-size: 16px;
    line-height: 1.218;
}

.filter-selected-count .label {
    color: #1c1c1c;
    font-weight: 400;
    font-family: 'Proxima Nova';
    font-size: 16px;
    line-height: 1.218;
}

.filter-clear-all {
    color: #1c1c1c;
    transition: color 0.2s ease;
    font-family: 'Proxima Nova';
    font-weight: 400;
    font-size: 16px;
    line-height: 1.218;
    background: none;
    border: none;
    cursor: pointer;
}

.filter-clear-all:hover {
    color: #be930b;
}

.filter-dropdown-content {
    padding: 8px 2px;
    overflow-y: auto;
    max-height: 200px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
}

.filter-option:hover {
    background-color: #f9fafb;
}

.checkbox-wrapper {
    position: relative;
    width: 24px;
    height: 24px;
}

.desktop-filter-checkbox {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.desktop-checkbox-span {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    border: 2px solid #9CA3AF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms ease;
}

.desktop-checkbox-checkmark {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.desktop-filter-checkbox:checked + .desktop-checkbox-span {
    background-color: #BE930B;
    border-color: #BE930B;
}

.desktop-filter-checkbox:checked + .desktop-checkbox-span .desktop-checkbox-checkmark {
    opacity: 1;
}

.filter-option-text {
    color: #1c1c1c;
    font-weight: 400;
    font-family: 'Proxima Nova';
    font-size: 16px;
    line-height: 1.218;
}

.filter-results {
    display: flex;
    align-items: center;
    gap: 16px;
}

.results-count {
    color: #666;
    font-size: 14px;
}

.clear-filters {
    color: #f0c14b;
    text-decoration: none;
    position: relative;
    display: inline-block;
    font-size: 14px;
}

.clear-filters::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(240, 193, 75, 0.6);
}

/* Custom Select Styles */
.custom-select {
    position: relative;
    background-color: white;
    border-radius: 6px;
    min-width: 160px;
}

.select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: url('/static/images/icon/icon6.svg');
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 18px 18px;
    padding-right: 20px;
}

.select-trigger:hover {
    border: 1px solid #BE930B !important;
}

.select-trigger.active {
    border: 1px solid #BE930B !important;
    box-shadow: 0 0 0 2px rgba(190, 147, 11, 0.2);
}

.select-value {
    font-size: 16px;
    color: #333;
}

.selected-count {
    font-size: 14px;
    color: #666;
}

.select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: none;
    margin-top: 4px;
}

.select-dropdown.show {
    display: block;
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
}

.selected-text {
    font-size: 14px;
    color: #666;
}

.selected-text strong {
    font-weight: bold;
    color: #000;
}

.clear-all-btn {
    font-size: 14px;
    color: #000;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.clear-all-btn:hover {
    text-decoration: underline;
}

.dropdown-options {
    max-height: 200px;
    overflow-y: auto;
    padding: 5px 0;
}

.option-item {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.option-item:hover {
    background-color: #f5f5f5;
}

.option-checkbox {
    margin-right: 10px;
    cursor: pointer;
    /* Hide default checkbox */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #ddd;
    border-radius: 2px;
    position: relative;
}

.option-checkbox:checked {
    border-color: #BE930B;
    background-color: #BE930B;
}

.option-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.option-text {
    font-size: 14px;
    color: #333;
}

/* Sort by select still uses native select */
.filter-section select {
    border: 1px solid transparent !important;
    border-radius: 4px;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('/static/images/icon/icon6.svg');
    background-repeat: no-repeat;
    background-position: right 6px center;
    padding-right: 20px;
    width: auto;
}

.filter-section select:hover {
    border: 1px solid #BE930B !important;
}

.filter-section select:focus {
    border: 1px solid #BE930B !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(190, 147, 11, 0.2);
}

/* Accessories Header Section */
.accessories-header {
    width: 1440px;
    margin: 0 auto;
    padding: 20px 0;
    background-color: #F4F4F4;
    height: 120px;
    display: flex;
    align-items: center;
}

.accessories-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.section-title {
    font-size: 36px;
    font-style: italic;
    font-weight: bold;
    color: #1C1C1C;
    margin: 0;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 50px;
    }
}

.certification-content {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.certification-content img {
    height: 42px;
}

.certification-text {
    display: flex;
    flex-direction: column;
}

.certification-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.certification-subtitle {
    font-size: 16px;
    color: #666;
}

/* Sort Options Section */
.sort-options-container {
    display: none;
    align-items: center;
    gap: 16px;
}

@media (min-width: 768px) {
    .sort-options-container {
        display: flex;
    }
}

@media (max-width: 767px) {
    .sort-options-container {
        display: none;
    }
}

.products-count {
    font-size: 14px;
    font-weight: 600;
    color: #1C1C1C;
}

.sort-by-text {
    font-size: 16px;
    color: #C3C3C3;
}

.sort-dropdown-wrapper {
    position: relative;
}

.sort-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    color: #1C1C1C;
    font-size: 16px;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
}

.sort-arrow {
    width: 18px;
    height: 18px;
    transition: transform 200ms ease;
}

.sort-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 2px;
    width: 262px;
    background-color: white;
    border-radius: 6px;
    border: 1px solid rgba(28, 28, 28, 0.3);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 10;
    max-height: 345px;
}

.sort-dropdown-menu.hidden {
    display: none;
}

.sort-dropdown-content {
    padding: 8px;
    overflow-y: auto;
    max-height: 345px;
}

.sort-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
}

.sort-option:hover {
    background-color: #f9fafb;
}

.sort-option-text {
    color: #1c1c1c;
    font-family: 'Proxima Nova';
    font-weight: 400;
    font-size: 16px;
    line-height: 1.218;
}

.check-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon.hidden {
    display: none;
}

.sort-option.selected .check-icon {
    display: flex;
}

/* Sort option styles */
.sort-option span {
    font-weight: 400 !important;
}

.sort-option.selected span {
    font-weight: 600 !important;
}

/* Mobile Filter Button */
.mobile-filter-button-container {
    display: block;
}

@media (min-width: 768px) {
    .mobile-filter-button-container {
        display: none;
    }
}

.mobile-filter-btn {
    width: 42vw;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background-color: white;
    border-radius: 6px;
    color: #1c1c1c;
    font-size: 16px;
    border: 1px solid transparent;
    transition: all 200ms ease;
}

.mobile-filter-btn:hover {
    border-color: #be930b;
}

.mobile-filter-btn svg {
    width: 18px;
    height: 18px;
}

/* Mobile Sort Button */
.mobile-sort-button-container {
    display: block;
}

@media (min-width: 768px) {
    .mobile-sort-button-container {
        display: none;
    }
}

.mobile-sort-btn {
    width: 42vw;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background-color: white;
    border-radius: 6px;
    color: #1c1c1c;
    font-size: 16px;
    border: 1px solid transparent;
    transition: all 200ms ease;
}

.mobile-sort-btn:hover {
    border-color: #be930b;
}

.mobile-sort-btn svg {
    width: 18px;
    height: 18px;
}

/* Mobile filter drawer */
.mobile-filter-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
}

.drawer-content {
    width: 100%;
    max-width: 600px;
    background-color: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1), 0 -2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(100%);
    transition: transform 300ms ease;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.drawer-header {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.drawer-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-title {
    font-size: 18px;
    font-weight: 600;
    color: #1c1c1c;
    margin: 0;
}

.mobile-filter-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: color 0.2s ease;
}

.mobile-filter-close:hover {
    color: #1c1c1c;
}

.drawer-body {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
}

/* Mobile filter sections */
.mobile-filter-section {
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 16px;
}

.mobile-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    cursor: pointer;
}

.mobile-filter-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1c1c1c;
    margin: 0;
}

.mobile-filter-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-filter-icon {
    width: 18px;
    height: 18px;
    transition: transform 200ms ease;
}

.mobile-filter-content {
    margin-left: 8px;
}

.mobile-filter-content.hidden {
    display: none;
}

.mobile-filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    cursor: pointer;
}

.mobile-filter-option:hover {
    background-color: #f9fafb;
}

.mobile-filter-checkbox {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.mobile-checkbox-span {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    border: 2px solid #9CA3AF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms ease;
}

.mobile-checkbox-checkmark {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mobile-filter-checkbox:checked + .mobile-checkbox-span {
    background-color: #BE930B;
    border-color: #BE930B;
}

.mobile-filter-checkbox:checked + .mobile-checkbox-span .mobile-checkbox-checkmark {
    opacity: 1;
}

.mobile-filter-option span {
    font-size: 16px;
    color: #1c1c1c;
}

.mobile-filter-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.mobile-apply-btn {
    flex: 1;
    padding: 12px;
    background-color: #BE930B;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.mobile-apply-btn:hover {
    background-color: #a8840a;
}

.mobile-reset-btn {
    flex: 1;
    padding: 12px;
    background-color: #f3f4f6;
    color: #1c1c1c;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.mobile-reset-btn:hover {
    background-color: #e5e7eb;
}

/* Mobile sort drawer */
.mobile-sort-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
}

.drawer-content {
    width: 100%;
    max-width: 600px;
    background-color: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1), 0 -2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(100%);
    transition: transform 300ms ease;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.drawer-header {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.drawer-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-title {
    font-size: 18px;
    font-weight: 600;
    color: #1c1c1c;
    margin: 0;
}

.mobile-sort-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: color 0.2s ease;
}

.mobile-sort-close:hover {
    color: #1c1c1c;
}

.drawer-body {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
}

.mobile-sort-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
}

.mobile-sort-option:hover {
    background-color: #f9fafb;
}

.mobile-sort-option.selected {
    background-color: #f9fafb;
}

.mobile-sort-option span {
    font-size: 16px;
    color: #1c1c1c;
}

.mobile-sort-option.selected span {
    font-weight: 600;
}

/* Pagination Links */
.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 16px;
    border: 1px solid #BE930B;
    border-radius: 6px;
    color: #BE930B;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background-color: #BE930B;
    color: white;
}

.pagination-link.opacity-50 {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-link.opacity-50:hover {
    background-color: transparent;
    color: #BE930B;
}

/* No Results Message */
#no-results-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 0;
}

#no-results-message p {
    font-family: 'Proxima Nova';
    font-size: 18px;
    line-height: 1.218;
    color: #68788E;
}

/* Pagination Container */
#pagination-container {
    display: flex;
    justify-content: center;
    padding-bottom: 50px;
}

#pagination-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

#pagination-links > div {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 100%;
    }
    
    .accessories {
        width: 100%;
        padding: 0 20px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 26px;
    }
    
    .accessories-header {
        width: 100%;
        height: auto;
        padding: 20px;
    }
    
    .accessories-header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .certification-content {
        padding: 0;
        gap: 10px;
    }
    
    .certification-content img {
        height: 32px;
    }
    
    .certification-title {
        font-size: 16px;
    }
    
    .certification-subtitle {
        font-size: 14px;
    }
    
    .filter-section {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    }
    
    .filter-section > div:first-child {
        flex-wrap: wrap;
    }
    
    .custom-select {
        min-width: 120px;
    }
    
    .sort-dropdown-menu {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 10px;
        width: 100%;
    }
}
