/* ==========================================================
   PRODUCT ARCHIVE PAGE - COMPLETE STYLES WITH IMPROVEMENTS
   ========================================================== */

/* Container */
.products .container {
    padding: 0 20px !important;
    max-width: 1366px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* ===== MAIN LAYOUT ===== */
section.products {
    padding: 80px 0px;
}

section.products .main {
    display: flex;
    justify-content: center;
    gap: 24px;
}

/* ===== FILTERS SECTION ===== */
.products .filters {
    max-width: 280px;
    width: 100%;
    border-right: 1px solid rgb(194, 194, 194);
    padding-right: 30px;
}

.filters > h3 {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 24px;
    font-family: 'Montserrat';
    font-weight: 600;
    padding-bottom: 16px;
    border-bottom: 1px solid rgb(194, 194, 194);
    color: #1C3F60;
}

.filters > h3 svg path {
    fill: #FBC333;
    transition: fill 0.3s ease;
}

.filters > h3:hover svg path {
    fill: #1C3F60;
}

/* Applied Filters */
.applied-filters {
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    border-left: 4px solid #FBC333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.applied-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.applied-filters-header h3 {
    margin: 0;
    font-size: 16px;
    color: #1C3F60;
    font-weight: 700;
}

.clear-all-btn {
    color: #FBC333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border: 2px solid #FBC333;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.clear-all-btn:hover {
    background: #FBC333;
    color: #1C3F60;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 195, 51, 0.3);
}

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

.filter-tag {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 5px 12px;
    margin: 0 8px 8px 0;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    font-weight: 500;
}

.filter-tag:hover {
    border-color: #FBC333;
    box-shadow: 0 4px 10px rgba(251, 195, 51, 0.15);
    transform: translateY(-1px);
}

.filter-tag .remove,
.remove-filter {
    background: none;
    border: none;
    margin-left: 8px;
    color: #999;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
    transition: all 0.2s ease;
}

.filter-tag .remove:hover,
.remove-filter:hover {
    color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 50%;
}

.filter-tag .remove:active,
.remove-filter:active {
    color: #ff0000;
    transform: scale(0.9);
}

/* Choose Filters */
.choose-filters {
    padding: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.choose-filters h4 {
    margin: 15px 0 10px 0;
    font-size: 14px;
    color: #1C3F60;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.choose-filters h4:first-child {
    margin-top: 0;
}

.choose-filters h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #FBC333;
    transition: width 0.3s ease;
}

.choose-filters .category:hover h4::after,
.choose-filters .brands:hover h4::after,
.choose-filters .price:hover h4::after {
    width: 50px;
}

.choose-filters .category,
.choose-filters .brands {
    padding: 16px 0px;
    border-bottom: 1px solid #ccc;
}

.choose-filters .price h4 {
    padding-top: 16px;
}

.choose-filters label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    padding: 4px 8px;
}

.choose-filters label:hover {
    background: rgba(251, 195, 51, 0.05);
    transform: translateX(5px);
}

.choose-filters label input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #000;
    border-radius: 3px;
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.choose-filters label input[type="checkbox"]:checked {
    background-color: #FBC333 !important;
    border-color: #FBC333 !important;
    animation: checkboxPop 0.2s ease;
}

.choose-filters label input[type="checkbox"]:checked::after {
    content: "\2713";
    color: #1C3F60 !important;
    font-size: 13px;
    font-weight: bold;
    position: absolute;
    left: 2px;
    top: -1px;
}

.choose-filters label input[type="checkbox"]:hover {
    border-color: #FBC333;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(251, 195, 51, 0.2);
}

.choose-filters label input[type="checkbox"]:focus-visible {
    outline: 2px solid #FBC333;
    outline-offset: 2px;
}

.choose-filters label:has(input:checked) {
    color: #1C3F60;
    font-weight: 600;
    background: rgba(251, 195, 51, 0.1);
}

.choose-filters .category br {
    display: none;
}

/* Price Range */
.choose-filters .price .inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.choose-filters .price .inputs input {
    width: 80px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.choose-filters .price .inputs input:focus {
    border-color: #FBC333;
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 195, 51, 0.1);
    transform: translateY(-1px);
}

.choose-filters .price .inputs input:hover {
    border-color: #1C3F60;
}

.apply-price-btn {
    padding: 5px 10px;
    background: #1C3F60;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(28, 63, 96, 0.1);
}

.apply-price-btn:hover {
    background: #FBC333;
    color: #1C3F60;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 195, 51, 0.3);
}

.apply-price-btn:active {
    transform: scale(0.95);
    background: #0f2a40;
}

.apply-price-btn:focus-visible {
    outline: 2px solid #FBC333;
    outline-offset: 2px;
}

/* ===== PRODUCTS CONTENT ===== */
.products-content {
    max-width: 860px;
    width: 100%;
}

/* Header */
.product-content__header {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.breadcrumbs {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.breadcrumbs a {
    color: #1C3F60;
    text-decoration: none;
    transition: all 0.2s ease;
}

.breadcrumbs a:hover {
    color: #FBC333;
}

.breadcrumbs a:active {
    color: #FBC333;
    transform: translateY(1px);
}

.products-content .details {
    width: 50%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.products-content .details h1 {
    font-size: 24px;
    font-family: 'Montserrat';
    font-weight: 600;
    color: #1C3F60;
    margin: 0;
}

.products-content .details span {
    display: block;
    font-size: 16px;
    text-transform: capitalize;
    font-family: 'Montserrat';
    font-weight: 400;
    color: #666;
}

.sort-by {
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

#sort-products {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23333' d='M0 0l5 6 5-6H0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 6px;
    height: fit-content;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

#sort-products:hover {
    border-color: #FBC333;
    box-shadow: 0 8px 20px rgba(251, 195, 51, 0.15);
    transform: translateY(-1px);
}

#sort-products:focus {
    border-color: #FBC333;
    box-shadow: 0 0 0 3px rgba(251, 195, 51, 0.2);
}

#sort-products:focus-visible {
    outline: 2px solid #FBC333;
    outline-offset: 2px;
}

/* Login Prompt */
.login-prompt {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
}

.login-prompt h3 {
    color: #1C3F60;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.login-prompt p {
    color: #666;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.login-prompt .btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.login-prompt .btn-primary {
    background: #1C3F60;
    color: white;
    margin-right: 10px;
}

.login-prompt .btn-primary:hover {
    background: #0f2a40;
    transform: translateY(-2px);
}

.login-prompt .btn-primary:active {
    transform: scale(0.97);
}

.login-prompt .btn-secondary {
    background: #6c757d;
    color: white;
}

.login-prompt .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.login-prompt .btn-secondary:active {
    transform: scale(0.97);
}

/* ===== PRODUCT CARDS ===== */
.products .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 40px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-card .header {
    height: 200px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.product-card .header img {
    max-width: 90% !important;
    max-height: 90% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.product-card .body {
    padding: 15px;
    text-align: center;
}

.product-card .body h3 {
    font-size: 16px;
    font-family: 'Montserrat';
    font-weight: 600;
    color: #1C3F60;
    margin-bottom: 5px;
    line-height: 1.4;
}

.product-card .body p {
    font-size: 14px;
    font-family: 'Montserrat';
    color: #666;
    margin-bottom: 5px;
}

.availability {
    color: #28a745;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Montserrat';
    margin: 5px 0;
}

.price {
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 700;
    color: #1C3F60;
    margin: 5px 0;
}

.btn-get-quote {
    margin-top: 10px;
}

.btn-get-quote a {
    text-decoration: none;
}

.btn-get-quote button {
    font-size: 14px;
    border: 2px solid #1C3F60;
    background: #1C3F60;
    color: #fff;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.btn-get-quote button:hover {
    background: #fff;
    color: #1C3F60;
}

.btn-get-quote button:active {
    transform: scale(0.97);
}

.btn-register-prompt a {
    display: inline-block;
    background: #0073aa;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: background 0.3s ease;
}

.btn-register-prompt a:hover {
    background: #005a87;
}

.price-blurred {
    background: #ddd;
    height: 18px;
    width: 50%;
    margin: 10px auto;
    border-radius: 3px;
}

/* ===== PAGINATION ===== */
.products .products-content .pagination {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-family: 'Montserrat';
    font-weight: 500;
}

.products .products-content .pagination a,
.products .products-content .pagination span {
    display: inline-block;
    padding: 8px 15px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #1C3F60;
    text-decoration: none;
    transition: all 0.3s ease;
}

.products .products-content .pagination a:hover {
    background: #FBC333;
    border-color: #FBC333;
    color: #1C3F60;
}

.products .products-content .pagination a:active {
    transform: scale(0.95);
    background: #FBC333;
    border-color: #FBC333;
    color: #1C3F60;
}

.products .products-content .pagination span.current {
    background: #1C3F60;
    border-color: #1C3F60;
    color: #fff;
}

/* ===== MOBILE FILTERS ===== */
.mobile-filters {
    display: none;
    margin: 20px 0;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

.mobile-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: linear-gradient(135deg, #1C3F60 0%, #2c5282 100%);
    border-radius: 10px 10px 0 0;
    color: #fff;
    box-shadow: 0 4px 12px rgba(28, 63, 96, 0.2);
}

.mobile-filter-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.close-mobile-filters {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-mobile-filters:hover {
    background: #FBC333;
    color: #1C3F60;
    transform: rotate(90deg);
}

.close-mobile-filters:active {
    transform: rotate(90deg) scale(0.9);
    background: rgba(255,255,255,0.3);
}

.mobile-filter-dropdowns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border-radius: 0 0 10px 10px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.filter-dropdown-toggle {
    width: 100%;
    padding: 12px 15px;
    background: #f0f0f0;
    border: none;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-dropdown-toggle:hover {
    border-color: #FBC333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 195, 51, 0.15);
}

.filter-dropdown-toggle:active {
    transform: scale(0.98);
    background: #e0e0e0;
}

.filter-dropdown-content {
    display: none;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    margin-top: 5px;
    animation: slideDown 0.3s ease;
}

.filter-dropdown-content.active {
    display: block;
}

.filter-option {
    display: flex;
    align-items: center;
    padding: 8px 0;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.filter-option:hover {
    background: rgba(251, 195, 51, 0.1);
    transform: translateX(5px);
}

.filter-option:active {
    background: rgba(251, 195, 51, 0.2);
    transform: scale(0.99);
}

.filter-option.selected {
    background: rgba(251, 195, 51, 0.15);
    border-left: 3px solid #FBC333;
}

.filter-option input[type="checkbox"] {
    margin-right: 10px;
}

.price-range-wrapper {
    padding: 10px 0;
}

.price-inputs {
    display: flex;
    gap: 10px;
}

.price-field {
    flex: 1;
}

.price-field input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.mobile-filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.mobile-apply-filters-btn,
.mobile-clear-filters-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-apply-filters-btn {
    background: #FBC333;
    color: #1C3F60;
}

.mobile-apply-filters-btn:hover {
    background: #e6a500;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 195, 51, 0.3);
}

.mobile-apply-filters-btn:active {
    transform: scale(0.97);
    background: #e6a500;
}

.mobile-clear-filters-btn {
    background: #f0f0f0;
    color: #666;
}

.mobile-clear-filters-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.mobile-clear-filters-btn:active {
    transform: scale(0.97);
    background: #d0d0d0;
}

/* Mobile filter summary */
.mobile-filter-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    padding: 12px;
    margin: 15px 0;
    border-left: 4px solid #FBC333;
    animation: slideIn 0.3s ease;
}

.filter-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.filter-summary-item:last-child {
    border-bottom: none;
}

.filter-summary-item span strong {
    color: #1C3F60;
    margin-right: 5px;
}

.remove-summary {
    background: none;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    padding: 0 8px;
    transition: all 0.2s ease;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-summary:hover {
    color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
    transform: scale(1.1);
}

.remove-summary:active {
    color: #ff0000;
    transform: scale(0.9);
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 1024px) {
    .products .cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-content .details h1 {
        font-size: 22px;
    }
}

@media screen and (max-width: 768px) {
    section.products .main {
        flex-direction: column;
    }
    
    .products .filters {
        display: none;
    }
    
    .mobile-filters {
        display: block;
    }
    
    .products-content {
        max-width: 100%;
    }
    
    .product-content__header {
        flex-direction: column;
    }
    
    .products-content .details,
    .sort-by {
        width: 100%;
    }
    
    .sort-by {
        justify-content: flex-start;
        margin-top: 10px;
    }
    
    .products .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-card .header {
        height: 180px;
    }
    
    .product-card .header img {
        max-width: 85% !important;
        max-height: 85% !important;
    }
}

@media screen and (max-width: 480px) {
    .products .cards {
        grid-template-columns: 1fr;
    }
    
    .products-content .details h1 {
        font-size: 20px;
    }
    
    .breadcrumbs {
        font-size: 13px;
    }
    
    .product-card .header {
        height: 200px;
    }
    
    .login-prompt h3 {
        font-size: 18px;
    }
    
    .login-prompt p {
        font-size: 14px;
    }
    
    .mobile-filter-actions {
        flex-direction: column;
    }
}

/* ===== LOGIN PROMPT STYLES ===== */
.login-prompt {
    background: #f8f9fa;
    border: 2px solid #FBC333;
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.login-prompt-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.login-prompt h4 {
    color: #1C3F60;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.login-prompt p {
    color: #666;
    font-size: 16px;
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.login-prompt-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.login-prompt-buttons .btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-prompt-buttons .btn-primary {
    background: #FBC333;
    color: #1C3F60;
}

.login-prompt-buttons .btn-primary:hover {
    background: #1C3F60;
    color: white;
    transform: translateY(-2px);
}

.login-prompt-buttons .btn-primary:active {
    transform: scale(0.97);
    background: #1C3F60;
    color: white;
}

.login-prompt-buttons .btn-secondary {
    background: #1C3F60;
    color: white;
}

.login-prompt-buttons .btn-secondary:hover {
    background: #0f2a40;
    transform: translateY(-2px);
}

.login-prompt-buttons .btn-secondary:active {
    transform: scale(0.97);
    background: #0f2a40;
}

.login-prompt-note {
    font-size: 14px;
    color: #999;
}

.login-prompt-note a {
    color: #FBC333;
    font-weight: 600;
    text-decoration: none;
}

.login-prompt-note a:hover {
    text-decoration: underline;
}

/* Price placeholder for non-logged in users */
.price-placeholder a {
    color: #FBC333;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px dashed #FBC333;
}

.price-placeholder a:hover {
    color: #1C3F60;
    border-bottom-color: #1C3F60;
}

/* Product meta information */
.product-meta {
    font-size: 13px;
    color: #666;
    margin: 5px 0;
    line-height: 1.4;
    text-align: center;
}

.product-meta strong {
    color: #1C3F60;
    font-weight: 600;
    margin-right: 5px;
}

/* ===== ANIMATIONS ===== */
@keyframes checkboxPop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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


/**************************************************************/



/* ===== DISCOUNT BADGE - FIXED POSITION ===== */
.product-card {
    position: relative !important;
    overflow: visible !important;
}

.discount-badge {
    /*position: absolute !important;*/
    top: 10px !important;
    left: 10px !important;
    z-index: 99 !important;
    cursor: default !important;
    animation: bounceIn 0.5s ease-out !important;
    width: 80px;
}

.discount-badge div {
    background: #FBC333 !important;
    color: #1C3F60 !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    text-align: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 2px !important;
    font-weight: bold !important;
    transition: transform 0.3s ease !important;
}

.discount-percent {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #1C3F60 !important;
}

.discount-text {
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    color: #1C3F60 !important;
}

.product-card:hover .discount-badge div {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-5deg);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05) rotate(1deg);
    }
    70% {
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .discount-badge {
        top: 8px !important;
        left: 8px !important;
    }
    
    .discount-badge div {
        padding: 4px 10px !important;
    }
    
    .discount-percent {
        font-size: 13px !important;
    }
    
    .discount-text {
        font-size: 9px !important;
    }
}

/***********************************************************************/

/* ===== DISCOUNT FILTER STYLES ===== */
.discount {
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.discount h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #1C3F60;
    font-weight: 700;
}

.discount label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    color: #555;
    transition: all 0.2s ease;
}

.discount label:hover {
    color: #FBC333;
}

.discount input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #FBC333;
    transition: all 0.2s ease;
}

.discount input[type="checkbox"]:hover {
    transform: scale(1.05);
}

/* Mobile discount filter */
.filter-dropdown .filter-option input[type="checkbox"][data-type="discount"] {
    accent-color: #FBC333;
}

.filter-dropdown .filter-option.selected {
    background: rgba(251, 195, 51, 0.1);
    border-left: 3px solid #FBC333;
}