.skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-nav {
    height: 40px;
    margin: 10px;
}

.skeleton-filter {
    height: 60px;
    margin: 15px 0;
}

.skeleton-image {
    width: 60px;
    height: 60px;
}

.skeleton-text {
    height: 20px;
    width: 80%;
}

.skeleton-button {
    height: 30px;
    width: 60px;
}

.category-nav-loading,
.filters-loading {
    padding: 20px;
}

/* Category Navigation - Full Width Navbar Style */
.category-navigation-wrapper {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
    width: 100%;
    margin-bottom: 0;
}

.category-navbar {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 0;
    background-color: #ffffff;

    /* Custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #6c757d transparent;
}

.category-navbar::-webkit-scrollbar {
    height: 3px;
}

.category-navbar::-webkit-scrollbar-track {
    background: transparent;
}

.category-navbar::-webkit-scrollbar-thumb {
    background: #6c757d;
    border-radius: 3px;
}

.category-navbar::-webkit-scrollbar-thumb:hover {
    background: #495057;
}

.category-items {
    display: flex;
    /* flex olarak değiştirildi */
    align-items: center;
    width: 100%;
    /* min-width yerine width */
    height: 55px;
    padding: 0 15px;
    /* sağ padding azaltıldı */
    margin: 0;
    justify-content: space-between;
    /* kategorileri eşit dağıt */
}

.category-item {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    /* padding azaltıldı */
    text-decoration: none;
    color: #495057;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-radius: 0;
    margin: 0;
    min-height: 55px;
    position: relative;
    border-bottom: 3px solid transparent;
    flex: 1;
    /* eşit genişlik için */
    text-align: center;
    /* metni ortala */
}

.category-item:hover {
    background-color: #f8f9fa;
    color: #212529;
    text-decoration: none;
    border-bottom-color: #e10613;
    /* kırmızı renk */
}

.category-item:focus {
    outline: none;
    background-color: #f8f9fa;
    box-shadow: inset 0 0 0 2px rgba(225, 6, 19, 0.25);
    /* kırmızı focus */
}

.category-item.active {
    background-color: #f8f9fa;
    color: #e10613;
    /* aktif renk kırmızı */
    border-bottom-color: #e10613;
    /* aktif border kırmızı */
    font-weight: 600;
}

.category-text {
    display: inline-block;
    line-height: 1.3;
    max-width: none;
    /* max-width kaldırıldı */
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    width: 100%;
}

.category-divider {
    width: 1px;
    height: 25px;
    background-color: #dee2e6;
    margin: 0;
    flex-shrink: 0;
    opacity: 0.8;
}

/* Mobile ve Tablet için responsive */
@media (max-width: 1200px) {
    .category-items {
        display: inline-flex;
        /* büyük ekranlarda scroll'a geri dön */
        width: auto;
        min-width: 100%;
        justify-content: flex-start;
        padding: 0 20px;
    }

    .category-item {
        flex: none;
        padding: 10px 15px;
    }

    .category-text {
        max-width: 180px;
    }
}

@media (max-width: 992px) {
    .category-items {
        padding: 0 15px;
        height: 50px;
    }

    .category-item {
        padding: 8px 12px;
        font-size: 13px;
        min-height: 50px;
    }

    .category-text {
        max-width: 160px;
    }

    .category-divider {
        height: 22px;
    }

    .product-detail-left {
        border-right: none;
        padding-right: 0;
        margin-bottom: 25px;
    }

    .product-detail-right {
        padding-left: 0;
    }

    .product-specs-section {
        padding-right: 0;
        margin-bottom: 15px;
    }

    .product-additional-info {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #e9ecef;
        padding-top: 15px;
    }
}

@media (max-width: 576px) {
    .product-specs .table td {
        padding: 2px 5px;
        font-size: 11px;
    }

    .product-specs .table td:first-child {
        width: 50%;
    }

    .category-items {
        padding: 0 8px;
        height: 40px;
    }

    .category-item {
        padding: 5px 8px;
        font-size: 11px;
        min-height: 40px;
    }

    .category-text {
        max-width: 120px;
    }

    .category-divider {
        height: 18px;
    }

    .variant-item {
        gap: 10px;
    }

    .variant-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .variant-name {
        font-size: 13px;
        line-clamp: 3;
        -webkit-line-clamp: 3;
        /* Mobile'da 3 satıra çıkar */
    }

    .variant-cart-form .d-flex {
        gap: 8px;
        width: 100%;
        justify-content: space-between;
    }

    .variant-actions {
        gap: 12px;
    }

    .variant-specs .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .variant-cart-form .form-control {
        max-width: 35px !important;
        min-width: 30px;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .category-item:hover {
        background-color: transparent;
        border-bottom-color: transparent;
    }

    .category-item:active {
        background-color: #f8f9fa;
        border-bottom-color: #e10613;
        /* touch için kırmızı */
    }
}

/* Smooth scrolling */
.category-navbar {
    scroll-behavior: smooth;
}

/* Loading state */
.category-navbar.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Filter Sidebar Styles */
.filters-sidebar {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    position: sticky;
    top: 20px;
    height: calc(100vh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    margin-right: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    /* Increased base font size */

    /* Custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #6c757d #f1f3f4;
}

/* Webkit scrollbar styles */
.filters-sidebar::-webkit-scrollbar {
    width: 8px;
}

.filters-sidebar::-webkit-scrollbar-track {
    background: #f1f3f4;
    border-radius: 10px;
    margin: 5px 0;
}

.filters-sidebar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6c757d 0%, #495057 100%);
    border-radius: 10px;
    border: 1px solid #f1f3f4;
    transition: background 0.3s ease;
}

.filters-sidebar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #495057 0%, #343a40 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.filters-sidebar::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #343a40 0%, #212529 100%);
}

/* Scroll state visual feedback */
.filters-sidebar.scrolled-down::before {
    opacity: 0.7;
}

.filters-sidebar.scrolled-up::after {
    opacity: 0.7;
}

/* Scroll fade effect */
.filters-sidebar::before {
    content: "";
    position: sticky;
    top: 0;
    height: 20px;
    background: linear-gradient(
        to bottom,
        #f8f9fa 0%,
        rgba(248, 249, 250, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.filters-sidebar::after {
    content: "";
    position: sticky;
    bottom: 0;
    height: 20px;
    background: linear-gradient(
        to top,
        #f8f9fa 0%,
        rgba(248, 249, 250, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.filter-title {
    color: #495057;
    border-bottom: 2px solid #007bff;
    padding-bottom: 6px;
    margin-bottom: 15px;
    font-size: 18px;
    /* Increased from 16px */
    font-weight: 600;
}

.filter-section {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 8px;
    /* Reduced from 12px */
    margin-bottom: 8px;
    /* Reduced from 12px */
    transition: background-color 0.2s ease;
    padding: 6px;
    /* Reduced from 8px */
    margin: -6px;
    /* Adjusted accordingly */
    border-radius: 4px;
}

.filter-section:nth-child(2) {
    /* Brand section */
    margin-bottom: 6px;
    /* Extra reduced spacing */
}

.filter-section:nth-child(3) {
    /* Category section */
    margin-top: 6px;
    /* Extra reduced spacing */
}

.filter-section:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.filter-section:last-of-type {
    border-bottom: none;
    margin-bottom: 15px;
}

.filter-section select[data-filter-id] {
    border-left: 3px solid #28a745;
    /* Dinamik filtreleri ayırt etmek için */
}

.filter-section
    select[data-filter-id]
    + .select2-container
    .select2-selection--multiple {
    border-left: 3px solid #28a745;
}

.filter-section .form-label .filter-count {
    background-color: #6c757d;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
}

#products-table > tbody > tr:nth-child(odd of .product-row) {
    background-color: #f8f9fa;
}

/* Advanced Filters Accordion Styles */
#advancedFiltersAccordion .card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 0;
    overflow: hidden;
}

#advancedFiltersAccordion .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 0;
}

#advancedFiltersAccordion .btn-link {
    color: #495057;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 16px;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#advancedFiltersAccordion .btn-link:hover {
    color: #1976d2;
    text-decoration: none;
}

#advancedFiltersAccordion .btn-link:focus {
    text-decoration: none;
    box-shadow: none;
}

#advancedFiltersAccordion .btn-link:not(.collapsed) {
    background-color: #e3f2fd;
    color: #1976d2;
}

#advancedFiltersAccordion .card-body {
    padding: 16px;
    background-color: #fff;
}

#advancedFilterCount {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
}

.accordion-toggle-icon {
    transition: transform 0.2s ease-in-out;
    transform: rotate(-90deg);
}

#advancedFiltersAccordion .btn-link:not(.collapsed) .accordion-toggle-icon {
    transform: rotate(0deg);
}

.accordion-filter {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.accordion-filter:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.accordion-filter-header {
    padding: 12px 16px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
    user-select: none;
}

.accordion-filter-header:hover {
    background-color: #e9ecef;
}

.accordion-filter-header.active {
    background-color: #e3f2fd;
    border-bottom-color: #2196f3;
}

.filter-header-text {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.filter-header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.selected-count-badge {
    background-color: #28a745;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
}

.accordion-arrow {
    font-size: 12px;
    color: #6c757d;
    transition: transform 0.3s ease;
}

.accordion-filter-header.active .accordion-arrow {
    transform: rotate(180deg);
}

/* Filter Content */
.accordion-filter-content {
    border-top: none;
}

.filter-content-inner {
    padding: 16px;
    max-height: 300px;
    overflow-y: auto;

    /* Custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #6c757d #f1f3f4;
}

.filter-content-inner::-webkit-scrollbar {
    width: 6px;
}

.filter-content-inner::-webkit-scrollbar-track {
    background: #f1f3f4;
    border-radius: 10px;
}

.filter-content-inner::-webkit-scrollbar-thumb {
    background: #6c757d;
    border-radius: 10px;
}

/* Search Input */
.filter-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-search-input {
    width: 100%;
    padding: 8px 36px 8px 36px;
    border: 1px solid #ced4da;
    border-radius: 20px;
    font-size: 13px;
    background-color: #f8f9fa;
    transition: all 0.2s ease;
}

.filter-search-input:focus {
    outline: none;
    border-color: #007bff;
    background-color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

.filter-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 12px;
    z-index: 1;
}

/* Search clear button */
.filter-search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 11px;
    z-index: 2;
}

.filter-search-clear:hover {
    background-color: #e9ecef;
    color: #495057;
}

.filter-search-clear:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Filter Options */
.filter-options-wrapper {
    max-height: 200px;
    overflow-y: auto;
}

.filter-option {
    display: flex;
    align-items: center;
    padding: 8px 4px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    margin-bottom: 2px;
    user-select: none;
}

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

.filter-option.hidden {
    display: none;
}

.filter-option-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.filter-option-checkmark {
    position: relative;
    width: 18px;
    height: 18px;
    border: 2px solid #ced4da;
    border-radius: 3px;
    margin-right: 10px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.filter-option-checkbox:checked + .filter-option-checkmark {
    background-color: #007bff;
    border-color: #007bff;
}

.filter-option-checkbox:checked + .filter-option-checkmark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-option-text {
    flex: 1;
    font-size: 15px;
    color: #495057;
    line-height: 1.3;
}

.filter-option-count {
    font-size: 11px;
    color: #6c757d;
    margin-left: 8px;
    flex-shrink: 0;
}

/* Show More/Less Button */
.filter-show-more {
    width: 100%;
    padding: 8px 12px;
    border: none;
    background-color: #f8f9fa;
    color: #007bff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    margin-top: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.filter-show-more:hover {
    background-color: #e9ecef;
    color: #0056b3;
}

.filter-show-more.hidden {
    display: none !important;
}

.show-more-icon {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.filter-show-more.expanded .show-more-icon {
    transform: rotate(180deg);
}

.custom-control-label .switch-text {
    margin-left: 10px;
    font-weight: 500;
    color: #495057;
    font-size: 14px;
}

.custom-control-input:checked ~ .custom-control-label .switch-text {
    color: #28a745;
    font-weight: 600;
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.filter-divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #28a745 50%,
        transparent 100%
    );
    margin: 15px 0;
}

.filter-count {
    background-color: #28a745;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 8px;
    margin-left: 4px;
    font-weight: normal;
}

.filter-section:empty + .filter-divider {
    display: none;
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    /* Increased spacing */
    font-size: 14px;
    /* Increased from 13px */
}

/* Enhanced form elements */
.filters-sidebar .form-control:focus,
.filters-sidebar .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

.filters-sidebar input[type="number"] {
    font-size: 14px !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    border: 1px solid #ced4da !important;
    line-height: 1.4 !important;
}

.filters-sidebar input[type="number"]:focus {
    border-color: #007bff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15) !important;
    outline: none !important;
}

/* Radio button styling */
.form-check-input[type="radio"]:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.filter-actions {
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
    margin-top: 15px;
    position: relative;
}

.filter-actions #clearFilters {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.filter-actions #clearFilters.show {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}

.filter-actions #clearFilters.hide {
    opacity: 0;
    transform: translateY(10px);
}

.filter-actions .btn,
#load-more-container .btn {
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    /* Consistent font size */
    padding: 10px 16px;
    /* Increased padding */
}

.filter-actions .btn-primary,
#load-more-container .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.filter-actions .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.4);
}

.filter-actions .btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}

.filter-actions .btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    transform: translateY(-1px);
}

.circle {
    width: 28px;
    height: 28px;
    background-color: #ffffff;
    border: 2px solid #28a745;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.circle.active {
    background-color: #28a745;
}

.circle.active::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Form Controls - Compact */
.filters-sidebar .form-select,
.filters-sidebar .form-control {
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 4px;
    /* Unified radius to match select2 */
    border: 1px solid #ced4da;
    line-height: 1.4;
}

.filters-sidebar .form-check {
    margin-bottom: 0;
}

.filters-sidebar .form-check-input {
    margin-top: 3px;
    /* Better alignment with larger text */
    transform: scale(1.1);
    /* Slightly larger checkboxes */
}

.filters-sidebar .form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.filters-sidebar .form-check-label {
    font-size: 14px;
    /* Increased from 12px */
    margin-left: 6px;
    /* Increased spacing */
    line-height: 1.4;
}

.filters-sidebar .btn-sm {
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
}

/* Search Info Styles */
.search-info {
    background-color: #e3f2fd;
    padding: 12px 16px;
    border-radius: 6px;
    border-left: 4px solid #2196f3;
}

.help-text {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 0;
}

/* Select2 Customization - Complete Override */
.filters-sidebar .select2-container {
    font-size: 12px !important;
    /* Reduced from 14px */
}

.filters-sidebar .select2-container--default .select2-selection--single {
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    min-height: 32px !important;
    padding: 3px 6px !important;
    font-size: 12px !important;
    background-color: #fff !important;
    display: flex !important;
    align-items: center !important;
}

.filters-sidebar
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    color: #495057 !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

.filters-sidebar
    .select2-container--default
    .select2-selection--single
    .select2-selection__placeholder {
    color: #6c757d !important;
    font-size: 12px !important;
}

/* Arrow ve Clear Button Positioning Fix */
.filters-sidebar
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 16px !important;
    height: 16px !important;
}

.filters-sidebar
    .select2-container--default
    .select2-selection--single
    .select2-selection__clear {
    position: absolute !important;
    right: 28px !important; /* Arrow'dan 20px sola */
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #6c757d !important;
    font-size: 18px !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    z-index: 1 !important;
}

.filters-sidebar
    .select2-container--default
    .select2-selection--single
    .select2-selection__clear:hover {
    color: #495057 !important;
}

/* Arrow icon styling */
.filters-sidebar
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: #6c757d transparent transparent transparent !important;
    border-style: solid !important;
    border-width: 5px 4px 0 4px !important;
    height: 0 !important;
    left: 50% !important;
    margin-left: -4px !important;
    margin-top: -2px !important;
    position: absolute !important;
    top: 50% !important;
    width: 0 !important;
}

/* Focus state için arrow rengi */
.filters-sidebar
    .select2-container--default.select2-container--focus
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-top-color: #007bff !important;
}

/* Focus state */
.filters-sidebar
    .select2-container--default.select2-container--focus
    .select2-selection--single {
    border-color: #007bff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15) !important;
}

/* Rendered text için sağ padding - clear button ve arrow için yer bırak */
.filters-sidebar
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    padding-right: 50px !important; /* Clear + Arrow için yer */
}

/* Select2 Customization - Compact */
.filters-sidebar .select2-container--default .select2-selection--multiple {
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    /* Reduced from 6px */
    min-height: 32px !important;
    /* Reduced from 42px back to smaller */
    padding: 3px 6px !important;
    /* Reduced padding */
    font-size: 12px !important;
    /* Reduced from 14px */
    background-color: #fff !important;
}

.filters-sidebar.select2-container--default
    .select2-selection--multiple
    .select2-selection__rendered {
    padding: 0 !important;
    margin: 0 !important;
}

.filters-sidebar
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    background-color: #007bff !important;
    border: 1px solid #007bff !important;
    border-radius: 3px !important;
    /* Reduced from 4px */
    color: white !important;
    padding: 2px 6px !important;
    /* Reduced padding */
    margin: 1px 2px 1px 0 !important;
    /* Reduced margins */
    font-size: 11px !important;
    /* Reduced from 13px */
    line-height: 1.2 !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    max-width: calc(100% - 25px) !important;
}

.filters-sidebar
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-right: 4px !important;
    /* Reduced from 6px */
    margin-left: 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    /* Reduced from 14px */
    line-height: 1 !important;
    float: none !important;
    display: inline-block !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    border: none !important;
    background: none !important;
}

.filters-sidebar
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 2px !important;
}

/* Choice text styling */
.filters-sidebar
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__display {
    color: white !important;
    font-size: 15px !important;
    /* Reduced from 13px */
    padding-left: 0 !important;
    line-height: 1.2 !important;
}

/* Dropdown styling */
.filters-sidebar .select2-container--default .select2-dropdown {
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    /* Reduced from 6px */
    font-size: 12px !important;
    /* Reduced from 14px */
}

.filters-sidebar .select2-container--default .select2-results__option {
    padding: 6px 10px !important;
    /* Reduced from 8px 12px */
    font-size: 12px !important;
    /* Reduced from 14px */
    line-height: 1.3 !important;
}

.filters-sidebar
    .select2-container--default
    .select2-results__option--highlighted {
    background-color: #007bff !important;
    color: white !important;
}

/* Search input in dropdown */
.filters-sidebar
    .select2-container--default
    .select2-search--dropdown
    .select2-search__field {
    padding: 4px 8px !important;
    /* Reduced from 6px 12px */
    font-size: 12px !important;
    /* Reduced from 14px */
    border: 1px solid #ced4da !important;
    border-radius: 3px !important;
    /* Reduced from 4px */
}

/* Clear button styling */
.filters-sidebar .select2-container--default .select2-selection__clear {
    color: #6c757d !important;
    font-size: 18px !important;
    margin-right: 8px !important;
    /* Reduced from 10px */
    padding: 0 !important;
    line-height: 1 !important;
}

.filters-sidebar .select2-container--default .select2-selection__clear:hover {
    color: #495057 !important;
}

/* Placeholder styling */
.filters-sidebar
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__placeholder {
    color: #6c757d !important;
    font-size: 12px !important;
    /* Reduced from 14px */
    margin: 4px 2px !important;
    /* Reduced margins */
    line-height: 1.3 !important;
}

/* Focus state */
.filters-sidebar
    .select2-container--default.select2-container--focus
    .select2-selection--multiple {
    border-color: #007bff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15) !important;
}

/* .form-select {
    display: block;
    width: 100%;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    appearance: none;
}

.form-select-sm {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 0.5rem;
    font-size: 0.875rem;
} */

/* Select2 Customization */
.select2-container--default .select2-selection--multiple {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    min-height: 38px;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    border-radius: 4px;
    padding: 2px 8px;
    margin: 3px;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove {
    color: rgba(255, 255, 255, 0.8);
    margin-right: 6px;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove:hover {
    color: white;
}

/* Mobile Styles */
@media (max-width: 991.98px) {
    .filters-sidebar {
        position: static;
        height: auto;
        max-height: 400px;
        margin-bottom: 20px;
        margin-right: 0;
        font-size: 16px;
        /* Larger for mobile */
    }

    .filters-sidebar::before,
    .filters-sidebar::after {
        display: none;
    }

    .filter-title {
        font-size: 20px;
    }

    .form-label {
        font-size: 16px;
    }

    .filters-sidebar .form-select,
    .filters-sidebar .form-control,
    .filters-sidebar input[type="number"] {
        font-size: 16px !important;
        padding: 12px 16px !important;
    }

    .filter-actions .btn {
        font-size: 16px;
        padding: 12px 20px;
    }

    .filters-sidebar .select2-container--default .select2-selection--multiple {
        min-height: 40px !important;
        font-size: 14px !important;
        padding: 6px 10px !important;
    }

    .filters-sidebar
        .select2-container--default
        .select2-selection--multiple
        .select2-selection__choice {
        font-size: 13px !important;
        padding: 4px 8px !important;
        margin: 2px 3px 2px 0 !important;
    }

    .filters-sidebar
        .select2-container--default
        .select2-selection--multiple
        .select2-selection__placeholder {
        font-size: 14px !important;
        margin: 8px 4px !important;
    }

    .filters-sidebar .select2-container--default .select2-dropdown {
        font-size: 14px !important;
    }

    .filters-sidebar .select2-container--default .select2-results__option {
        padding: 10px 12px !important;
        font-size: 14px !important;
    }

    /* Mobile spacing remains normal */
    .filter-section {
        padding-bottom: 12px;
        margin-bottom: 12px;
    }
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .accordion-filter-header {
        padding: 10px 12px;
    }

    .filter-header-text {
        font-size: 13px;
    }

    .filter-content-inner {
        padding: 12px;
        max-height: 250px;
    }

    .filter-search-input {
        padding: 10px 40px 10px 36px;
        font-size: 14px;
    }

    .filter-option {
        padding: 10px 4px;
    }

    .filter-option-text {
        font-size: 14px;
    }

    .filter-option-count {
        font-size: 12px;
    }

    .filter-search-clear {
        right: 10px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* Table Responsive Enhancements */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #495057;
}

.table th,
.table td {
    vertical-align: middle !important;
}

.table td {
    padding: 0.4rem !important;
    align-items: center;
}

.table > tbody > tr.product-row:hover {
    background-color: #c9deff !important;
}

.domestic-vat {
    text-align: center;
}

.vat-cell {
    text-align: center;
    /* font-size: 12px; */
    line-height: 1.2;
}

.vat-rate {
    /* font-weight: bold; */
    color: #333;
}

.vat-amount {
    color: #666;
    margin-top: 2px;
}

/* Preserve existing styles */
@media only screen and (max-width: 767px) {
    table.sticky-header {
        overflow-x: auto;
        display: block;
    }

    table.sticky-header thead {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        background-color: #fff;
        z-index: 999;
    }

    table.sticky-header th {
        white-space: nowrap;
    }

    table.sticky-header td,
    table.sticky-header th {
        min-width: 80px;
        box-sizing: border-box;
    }
}

.image-container {
    display: inline-block;
    overflow: visible;
    transition: transform 0.3s ease;
    position: relative;
}

.image-container img {
    width: 100%;
    height: auto;
}

.sortable {
    cursor: pointer;
}

.sort-arrows {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
}

.sort-arrow {
    opacity: 0.3;
    font-size: 0.94rem;
    cursor: pointer;
    vertical-align: middle;
}

.sort-arrow.active {
    opacity: 1;
    font-weight: bolder;
}

.sort-arrow.asc::after {
    content: "↑";
}

.sort-arrow.desc::after {
    content: "↓";
}

.break-text {
    max-width: 100px;
}

.image-container {
    display: block;
    overflow: visible;
    width: 60px;
    height: 60px;
    object-fit: cover;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.image-container.lazy {
    opacity: 0.8;
    filter: blur(1px);
}

.image-container.loaded {
    opacity: 1;
    filter: none;
}

.image-container:hover {
    transform: scale(3.1) translateX(16px);
    z-index: 1000;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.image-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

.image-container.lazy + .image-loading-spinner {
    display: block;
}

.image-container.loaded + .image-loading-spinner {
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Intersection Observer destekli lazy loading için */
.image-container.lazy:not(.in-viewport) {
    opacity: 0.3;
    transform: scale(0.95);
}

.image-container.lazy.in-viewport {
    opacity: 0.7;
    transform: scale(1);
}

.pagination .page-item .page-link {
    color: #3c3c3b;
}

/* Expand button styling */
.expand-btn {
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    padding: 8px !important;
    transition: all 0.2s ease;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expand-btn:hover {
    background-color: #f8f9fa !important;
    transform: scale(1.05);
}

.expand-btn:focus {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1) !important;
    outline: none !important;
}

.expand-btn:active {
    transform: scale(0.95);
}

.expand-icon {
    font-size: 14px !important;
    color: #000000 !important;
    font-weight: 600;
    transition: all 0.3s ease;
    line-height: 1;
}

.expand-btn:hover .expand-icon {
    color: #333333 !important;
    transform: scale(1.1);
}

.expand-btn[aria-expanded="true"] .expand-icon {
    transform: rotate(180deg);
}

/* Product detail container */
.product-detail-container {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    padding: 25px;
    margin: 0;
    width: 100%;
    min-height: 300px;
}

.product-detail-left {
    /* border-right: 1px solid #e9ecef; */
    padding-right: 25px;
}

.product-specs-section {
    padding-right: 20px;
}

.product-additional-info {
    padding-left: 20px;
    /* border-left: 1px solid #e9ecef; */
    min-height: 250px;
}

.product-detail-image {
    transition: opacity 0.3s ease;
}

.product-detail-image.loading {
    opacity: 0.7;
}

.product-detail-image.loaded {
    opacity: 1;
}

.image-cache-hit {
    animation: fadeIn 0.2s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.product-detail-right {
    padding-left: 25px;
}

.product-image-container {
    display: flex;
    align-items: flex-start;
    /* justify-content: center; */
    padding-right: 10px;
}

/* Product image in detail */
.product-image-large {
    text-align: center;
}

.product-image-large img {
    max-width: 140px;
    /* 120px'den 140px'e artırıldı */
    max-height: 140px;
    /* 120px'den 140px'e artırıldı */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-image-large .table {
    text-align: left;
    margin-top: 10px;
}

.product-image-large .table td {
    padding: 3px 6px;
    /* 8px'den 6px'e düşürüldü */
    font-size: 15px;
    vertical-align: middle;
    border: none;
    color: #6c757d;
}

.product-info-container {
    padding-left: 10px;
    /* 15px'den 10px'e düşürüldü */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-specs .table:first-child td:first-child {
    font-weight: 600;
    font-size: 14px;
    color: #495057;
    padding-bottom: 10px;
    word-wrap: break-word;
    white-space: normal;
    /* Başlığın sarmalanmasına izin ver */
    line-height: 1.3;
}

/* .product-specs {
                                                                                                                                                                                                                                                                                                                                                                        margin-top: 15px;
                                                                                                                                                                                                                                                                                                                                                                    } */

/* Product specs table */
.product-specs h5 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
    padding-right: 5px !important;
}

.product-specs .table {
    font-size: 12px !important;
}

.product-specs .table td {
    padding: 3px 6px;
    /* 8px'den 6px'e düşürüldü */
    font-size: 15px;
    vertical-align: middle;
    border: none;
}

.product-specs .table td:first-child {
    color: #6c757d;
    width: 42%;
    /* 45%'den 42%'ye düşürüldü - daha fazla alan için */
}

.product-specs .table td:last-child {
    color: #495057;
    font-weight: 500;
}

/* Variants section */
.product-detail-right h5 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid #28a745;
    padding-bottom: 5px;
    font-size: 18px !important;
}

.variants-list {
    max-height: 350px;
    overflow-y: auto;
}

.variant-item {
    display: block;
    margin-bottom: 8px;
    background-color: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    overflow: hidden;
}

.variant-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.variant-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
}

.variant-info-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    /* Flex shrinking için önemli */
    margin-right: 15px;
}

.variant-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 0;
}

.variant-name-container {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.variant-name {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
    line-height: 1.3;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    margin: 0;
}

.variant-code {
    font-size: 12px;
    color: #6c757d;
    margin-top: 2px;
    word-break: break-all;
    line-height: 1.2;
}

.variant-stock {
    font-size: 12px;
    color: #28a745;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 15px;
}

.variant-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.variant-expand-btn {
    min-width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.variant-expand-btn:hover {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.variant-expand-btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Expand icon animasyonu */
.variant-expand-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.variant-expand-btn[aria-expanded="true"] .variant-expand-icon {
    transform: rotate(180deg);
}

/* Detay alanı */
.variant-details {
    border-top: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.variant-details-content {
    padding: 16px;
}

.variant-details-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 14px;
    border-bottom: 2px solid #28a745;
    padding-bottom: 4px;
    display: inline-block;
}

/* Teknik özellikler grid */
.variant-specs {
    margin: 0 -8px;
}

.variant-specs .col-md-4,
.variant-specs .col-sm-6 {
    padding: 0 8px;
    margin-bottom: 8px;
}

/* Özellik item'ları */
.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background-color: white;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    min-height: 36px;
    transition: background-color 0.2s ease;
}

.spec-item:hover {
    background-color: #f1f3f4;
}

.spec-label {
    font-weight: 500;
    color: #6c757d;
    font-size: 12px;
    flex-shrink: 0;
    margin-right: 8px;
}

.spec-value {
    font-weight: 600;
    color: #495057;
    font-size: 12px;
    text-align: right;
}

/* Collapse animasyonu */
.variant-details.collapsing {
    transition: height 0.35s ease;
}

.variant-price {
    font-size: 14px;
    font-weight: 600;
    color: #007bff;
    white-space: nowrap;
    min-width: 60px;
    text-align: right;
}

.variant-cart-form {
    margin: 0;
}

/* Form styling */
.variant-cart-form .d-flex {
    gap: 6px;
    /* Gap azaltıldı */
    align-items: center;
}

.variant-cart-form .form-control {
    max-width: 40px !important;
    /* 50px'den 40px'e */
    min-width: 35px;
    height: 32px !important;
    /* Yükseklik küçültüldü */
    padding: 4px 6px !important;
    /* Padding azaltıldı */
    font-size: 12px !important;
    /* Font size küçültüldü */
    text-align: center;
    flex-shrink: 0;
    border-radius: 4px;
}

.variant-cart-form .btn-custom-green {
    color: white !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    height: 32px !important;
    line-height: 1.2;
    border-radius: 4px;
}

.variant-cart-form .btn-custom-green:hover {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.variant-cart-form .btn-custom-dark {
    color: white !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    height: 32px !important;
    line-height: 1.2;
    border-radius: 4px;
}

.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-success-pulse {
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Floating success icon */
@keyframes cartSuccessFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0.8);
    }
}

/* Toast notifications */
.cart-toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
}

.cart-toast .toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-toast .toast-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.cart-toast .toast-close:hover {
    opacity: 1;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Form styling */
.add-to-cart-form input[name="quantity"],
.variant-cart-form input[name="quantity"] {
    transition: border-color 0.3s;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .category-items {
        padding: 0 10px;
        height: 45px;
    }

    .category-item {
        padding: 6px 10px;
        font-size: 12px;
        min-height: 45px;
    }

    .category-text {
        max-width: 140px;
    }

    .category-divider {
        height: 20px;
    }

    .expand-btn {
        width: 36px;
        height: 36px;
        padding: 10px !important;
    }

    .expand-icon {
        font-size: 20px !important;
    }

    .product-detail-container {
        padding: 15px;
    }

    .product-specs-section,
    .product-additional-info {
        padding-right: 0;
        padding-left: 0;
    }

    .product-specs-section .row {
        flex-direction: column;
    }

    .product-image-container {
        padding-right: 0;
        margin-bottom: 15px;
        justify-content: flex-start;
    }

    .product-info-container {
        padding-left: 0;
    }

    .product-image-large img {
        max-width: 100px;
        max-height: 100px;
    }

    .product-detail-left,
    .product-detail-right {
        border-right: none;
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 20px;
    }

    .variant-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .variant-info {
        width: 100%;
        gap: 10px;
    }

    .variant-info-wrapper {
        margin-right: 0;
    }

    .variant-main-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .variant-actions {
        width: 100%;
        justify-content: space-between;
    }

    .variant-specs .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        min-height: 42px;
        padding: 8px;
    }

    .spec-label {
        margin-bottom: 2px;
        margin-right: 0;
    }

    .spec-value {
        text-align: left;
        font-size: 13px;
    }

    .variant-price {
        text-align: left;
        min-width: auto;
    }

    .variant-cart-form .d-flex {
        gap: 10px;
    }

    .variant-cart-form .form-control {
        max-width: 50px !important;
    }

    .cart-toast {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: calc(100vw - 20px);
    }
}

/* Smooth collapse animation */
.product-details.collapsing {
    transition: height 0.35s ease;
}
