.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 2px solid transparent;
    padding: .6rem 1.2rem;
    font-size: 1rem;
    border-radius: 0;
    transition: all .2s ease-in-out;
    text-decoration: none;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-on-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.shadow-small { box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); }
.shadow-medium { box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3); }
.shadow-large { box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.3); }
.shadow-inset { box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3); }
.shadow-none { box-shadow: none; }

.btn-success { background-color: #28a745; color: white; }
.btn-danger { background-color: #dc3545; color: white; }
.btn-warning { background-color: #ffc107; color: black; }
.btn-info { background-color: #17a2b8; color: white; }
.btn-light { background-color: #f8f9fa; color: black; }
.btn-dark { background-color: #343a40; color: white; }
.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: black;
}

.btn:hover { opacity: 0.9; }
.btn-outline:hover {
  background-color: transparent;
  color: black;
}

.btn-bgcolor {
  background-color: var(--bgcolor);
  color: #fff;
}

.btn-bgcolorafter {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-bgcolorafter2 {
  background-color: var(--bgcolorafter2);
  color: #fff;
}

.btn-bgcolorafter3 {
  background-color: var(--bgcolorafter3);
  color: #fff;
}

.btn-bgcolorafter4 {
  background-color: var(--bgcolorafter4);
  color: #fff;
}

.btn-bgcolorafter5 {
  background-color: var(--bgcolorafter5);
  color: #fff;
}



.breadcrumb-container {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    padding: 10px 0;
}
.breadcrumb-container::-webkit-scrollbar {
    display: none; 
}


.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}


.breadcrumb li a,
.breadcrumb li span.breadcrumb-text {
    color: var(--gray-500);       
    font-size: 13px;              
    font-weight: 500;             
    line-height: 1.5;
    text-decoration: none !important;
    transition: color 0.2s var(--ease-out); 
    display: flex;
    align-items: center;
    gap: 4px;
}


.breadcrumb li a:hover {
    color: var(--primary-color);  
    
}


.breadcrumb li:last-child span.breadcrumb-text {
    color: var(--gray-900);       
    font-weight: 600;             
    pointer-events: none;         
}


.breadcrumb li a svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;         
    opacity: 0.8;
}


.separator {
    display: flex;
    align-items: center;
    color: var(--gray-300);       
    margin: 0 2px;
}

.separator svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
}




.native-slider-wrapper {
    position: relative; 
    width: 100%;
    margin: 20px 0;
    
}


.native-slider-track {
    display: flex;            
    gap: 15px;                
    overflow-x: auto;         
    scroll-behavior: smooth;  
    
    
    scroll-snap-type: x mandatory; 
    padding: 10px 5px; 

    
    scrollbar-width: none;  
    -ms-overflow-style: none; 
}


.native-slider-track::-webkit-scrollbar {
    display: none;
}


.native-slide-item {
    flex: 0 0 auto;           
    scroll-snap-align: start; 
    
    
    width: 160px;             
}


@media (min-width: 768px) {
    .native-slide-item {
        width: 230px; 
    }
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0; 
    pointer-events: none; 
}

.native-slider-wrapper:hover .slider-nav-btn {
    opacity: 1;
    pointer-events: auto;
}

.slider-nav-btn:hover {
    background: #f8f9fa;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}


.slider-nav-btn.floating-prev { left: -20px; }
.slider-nav-btn.floating-next { right: -20px; }


@media (max-width: 768px) {
    .slider-nav-btn { display: none !important; }
    .native-slider-wrapper { padding-right: 20px; } 
}


.native-slider-track.snap-scroll {
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}
.native-slider-track.snap-scroll > * {
    scroll-snap-align: start;
}




        .section-title {
        font-size: 1.6rem;
        font-weight: 800;
        color: var(--text-dark, #111827);
        margin: 0;
        letter-spacing: -0.025em;
        line-height: 1.2;
    }
    
   

.section-header-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; 
    margin-bottom: 20px;
    padding: 0 5px;
}


.section-title-modern {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}


.section-title-modern::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 2px;
}



.section-header-modern p {
    width: 100%;       
    flex-basis: 100%;  
    margin-top: 10px;  
    font-size: 0.95rem;
    color: var(--text-muted, #666);
    line-height: 1.5;
}

    
    .flyer-card-clean {
        display: flex; flex-direction: column;
        background: #fff;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
        overflow: hidden;
        transition: all 0.2s ease-in-out;
        height: 100%; position: relative;
    }

    .flyer-card-clean:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        border-color: var(--primary-color, #0056b3);
    }

        .flyer-img {
        width: 100%; height: 100%;
        object-fit: cover; object-position: top;
        transition: transform 0.4s ease;
        background-color: transparent;
        border-radius: 4px;
        max-height: 260px;
        box-shadow: var(--shadow-sm);
    

    }


    .flyer-card-clean:hover .flyer-img { transform: scale(1.03); }
     .flyer-figure {
        position: relative; width: 100%;
        aspect-ratio: 210 / 297;
        background: linear-gradient(90deg, #f0f0f0 0%, #e5e5e5 50%, #f0f0f0 100%);
        background-size: 200% 100%;
        animation: skeleton-loading 1.5s infinite;
        overflow: hidden;
        height: 200px;
        border-bottom: 1px solid #f0f0f0;
    }

    @keyframes skeleton-loading {
        0% { background-position: 200% 0; }
        100% { background-position: -200% 0; }
    }

    
    .flyer-link-wrapper {
        text-decoration: none !important; color: inherit;
        display: flex; flex-direction: column; height: 100%;
    }

   

    .flyer-badge-top {
        position: absolute; top: 0; left: 0;
        background: #d92c2c; color: #fff;
        font-size: 11px; font-weight: 700;
        padding: 4px 8px; border-bottom-right-radius: 8px;
        z-index: 2; text-transform: uppercase;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .flyer-badge-right {
        position: absolute; top: 0; right: 0;
        background: #2563eb; color: #fff;
        font-size: 10px; font-weight: 700;
        padding: 4px 8px; border-bottom-left-radius: 8px;
        z-index: 2; text-transform: uppercase;
    }

    .flyer-badge-pages {
        position: absolute; bottom: 6px; right: 6px;
        background: rgba(0, 0, 0, 0.6); color: #fff;
        font-size: 10px; font-weight: 600;
        padding: 2px 6px; border-radius: 4px;
        display: flex; align-items: center; gap: 3px; z-index: 2;
    }
    .flyer-body {
        padding: 10px 12px; display: flex;
        flex-direction: column; flex-grow: 1; gap: 4px;
    }

    .flyer-store-title {
        font-size: 0.95rem; font-weight: 700; color: #333;
        margin: 0; line-height: 1.3;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }

    .flyer-desc-text {
        font-size: 0.8rem; color: #666; margin: 0;
        display: -webkit-box; -webkit-line-clamp: 2;
        -webkit-box-orient: vertical; overflow: hidden;
    }

    .flyer-footer {
        margin-top: auto; padding-top: 8px;
        display: flex; align-items: center; gap: 5px;
        font-size: 0.75rem; font-weight: 600;
        color: #027a48;
    }
    .flyer-footer.future { color: #b54708; }
    .flyer-footer.expired { color: #666; text-decoration: line-through; }

    .flyer-hit-badge {
        margin-left: auto; display: flex; align-items: center; gap: 4px;
        background: #f3f4f6; color: #4b5563;
        padding: 2px 6px; border-radius: 4px;
        font-size: 0.7rem; font-weight: 600;
        border: 1px solid #e5e7eb;
    }




    
        .content-box {
        background: #fff;
        border-radius: 12px;
        border: 1px solid var(--border-color);
        padding: 25px;
        margin-bottom: 30px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }


    
         
    .store-grid-wrapper { margin-bottom: 24px; }
 
    .modern-store-card {
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        height: 100%; min-height: 140px; background-color: #fff;
        border: 1px solid var(--gray-200, #eaecf0); border-radius: 16px; padding: 16px;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); text-decoration: none !important;
        position: relative; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }
    .modern-store-card:hover {
        transform: translateY(-4px); border-color: var(--primary-color, #007bff);
        box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.15);
    }

    
    .store-logo-wrapper { width: 100%; height: 60px; display: flex;
        align-items: center; justify-content: center; margin-bottom: 12px; overflow: hidden; }
    
    .store-logo-img { max-width: 100%; max-height: 100%; width: auto;
        height: auto; object-fit: contain; filter: grayscale(10%); transition: filter 0.3s ease; }
    
    .modern-store-card:hover .store-logo-img { filter: grayscale(0%); }
    
    .store-initial-avatar { width: 64px; height: 64px; border-radius: 50%; background-color: var(--primary-light, #eef2ff); color: var(--primary-color, #007bff); display: flex;
        align-items: center; justify-content: center; font-size: 1.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: -1px; }
    
    .store-name-text { 
        font-size: 0.95rem; font-weight: 600; color: var(--gray-700, #344054); 
        text-align: center; line-height: 1.3; transition: color 0.2s ease; 
        width: 100%; 
    }
    
    .store-city-text {
        display: block; font-size: 0.75rem; font-weight: 400;
        color: var(--gray-500, #667085); margin-top: 2px;
    }

    
    .seo-hidden-text {
        position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
        overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
    }

    .modern-store-card:hover .store-name-text { color: var(--primary-color, #007bff); }

        
    @media (max-width: 768px) {
        .modern-store-card { padding: 12px; min-height: 120px; border-radius: 12px; }
        .store-logo-wrapper { height: 45px; margin-bottom: 8px; }
        .store-name-text { font-size: 0.85rem; }
        .store-initial-avatar { width: 48px; height: 48px; font-size: 1.25rem; }
    }

       
    .hidden-store-item { display: none; }
    
    .show-more-container {
        width: 100%; text-align: center; margin-top: 10px; margin-bottom: 20px;
        position: relative;
    }
    .show-more-container::before {
        content: ''; position: absolute; top: 50%; left: 0; right: 0;
        height: 1px; background: var(--gray-200, #e0e0e0); z-index: 0;
    }
    .btn-show-more {
        position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
        padding: 8px 24px; background-color: #fff; border: 1px solid var(--gray-300, #d0d5dd);
        border-radius: 50px; color: var(--gray-600, #475467);
        font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    }
    .btn-show-more:hover { border-color: var(--primary-color); color: var(--primary-color); }
    .btn-show-more svg { width: 16px; height: 16px; transition: transform 0.3s; }
    .btn-show-more.expanded svg { transform: rotate(180deg); }



 .store-content-section {
    width: 100%;
    margin-bottom: 30px;
}

.content-tabs {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color, #e2e8f0);
    overflow: hidden;
}

.expandable-content {
    position: relative;
}

.content-text-area {
    --collapsed-height: 280px; 
    
    position: relative;
    max-height: var(--collapsed-height); 
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    color: var(--text-gray, #4a5568);
    font-size: 0.95rem;
    line-height: 1.7;
}


.content-text-area.expanded {
    max-height: none !important; 
}

.content-text-area h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark, #2d3748);
    margin: 1.5rem 0 1rem;
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 8px;
}

.content-text-area h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark, #2d3748);
    margin-top: 1.5rem;
}

.content-text-area p {
    margin-bottom: 1rem;
}

.content-text-area ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.content-text-area ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
}

.content-text-area ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color, #007bff);
    font-weight: bold;
}


    .modern-cat-wrapper {
        background: #fff;
        border-radius: 16px;
        border: 1px solid var(--gray-200, #e5e7eb);
        padding: 25px;
        margin-top: 40px;
        margin-bottom: 40px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }
    .modern-cat-wrapper-footer {
margin-top: 20px; padding-top: 15px; border-top: 1px dashed var(--gray-200); font-size: 0.85rem; color: var(--gray-500); line-height: 1.5;
    }

    
    .modern-cat-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid var(--gray-100, #f3f4f6);
    }

    .modern-cat-title {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--gray-900, #111827);
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    
    .modern-tag-list {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    
    .modern-tag {
        display: inline-flex;
        align-items: center;
        padding: 10px 20px;
        background-color: #fff;
        border: 1px solid #f3f4f6;
        border-radius: 12px;
        color: #4b5563;
        font-size: 0.9rem;
        font-weight: 600;
        text-decoration: none !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    }

    .modern-tag:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
        border-color: var(--primary-brand, #3b82f6);
        color: var(--primary-brand, #3b82f6);
        background-color: #fff;
    }

    .modern-tag:active { transform: translateY(-1px); }
    .cat-hidden-item { display: none !important; }
.branch-count-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 24px;
height: 20px;
padding: 0 6px;
margin-left: 6px;
font-size: 12px;
font-weight: 600;
color: #fff;
background: var(--primary-color);
border-radius: 10px;
line-height: 1;
white-space: nowrap;
vertical-align: middle;
}


.faq-modern-list .faq-item {
        border-bottom: 1px solid var(--gray-100, #f3f4f6);
    }
    .faq-modern-list .faq-item:last-child {
        border-bottom: none;
    }

    .faq-modern-btn {
        width: 100%;
        text-align: left;
        background: none;
        border: none;
        padding: 16px 0;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--gray-700, #374151); 
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: color 0.2s ease;
    }

    .faq-modern-btn:hover {
        color: var(--primary-color); 
    }

    .faq-item.active .faq-modern-btn {
        color: var(--primary-color);
    }
    
    .faq-item.active .icon-chevron {
        transform: rotate(180deg);
        color: var(--primary-color);
    }

    .icon-chevron {
        transition: transform 0.3s ease, color 0.3s ease;
        color: var(--gray-400, #9ca3af); 
    }

    .faq-modern-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s var(--ease-out, ease-out);
        color: var(--gray-600, #4b5563); 
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .faq-content-inner {
        padding-bottom: 16px;
    }

    
          .branch-component-wrapper { margin: 20px auto; max-width: 800px; }
        .branch-compact-card { background: #fff; border: 1px solid #eaecf0; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.03); }
        .branch-compact-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; border-bottom: 1px solid #f2f4f7; transition: background 0.2s; gap: 10px; }
        .branch-compact-item:last-child { border-bottom: none; }
        .branch-compact-item:hover { background-color: #f8f9fa; }
        .branch-compact-info { flex: 1; min-width: 0; }
        .branch-compact-name { font-size: 0.95rem; font-weight: 700; color: #101828; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
        .branch-compact-address { font-size: 0.8rem; color: #667085; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
        .branch-compact-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
        .branch-compact-dist { font-size: 0.75rem; font-weight: 600; color: #027a48; background-color: #ecfdf3; padding: 4px 8px; border-radius: 6px; border: 1px solid #d1fadf; white-space: nowrap; display: flex; align-items: center; gap: 4px; }
        .branch-compact-btn { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background-color: #f2f4f7; color: #344054; border: 1px solid #d0d5dd; transition: all 0.2s; text-decoration: none; }
        .branch-compact-btn:hover { background-color: var(--primary-color, #007bff); color: #fff; border-color: var(--primary-color, #007bff); }
        .branch-state-msg { padding: 25px; text-align: center; font-size: 0.9rem; color: #667085; }
        .branch-info-notice { font-size: 0.75rem; color: #667085; text-align: center; padding: 10px; margin-top: 8px; background-color: #f8f9fa; border-radius: 6px; border: 1px solid #e9ecef; }
        .branch-load-btn { font-size: 0.85rem; padding: 10px 24px; font-weight: 600; }
        .status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
        .branch-compact-logo {
            flex-shrink: 0; width: 40px; height: 40px; margin-right: 12px; border: 1px solid #eee; border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden
        }
        .branch-compact-logo img { 
            max-width: 100%; max-height: 100%; object-fit: contain;}



   .empty-state-card {
        text-align: center;
        padding: 60px 20px;
        background: #f8f9fa;
        border-radius: 12px;
        border: 2px dashed #dee2e6;
        width: 100%;
        margin: 20px 0;
    }
        .empty-state-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: #343a40;
        margin-bottom: 10px;
    }
    .empty-state-text {
        color: #6c757d;
        margin-bottom: 25px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
     .btn-clear-filter {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 24px;
        background-color: #fff;
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.2s;
        text-decoration: none !important;
    }
    .btn-clear-filter:hover {
        background-color: var(--primary-color);
        color: #fff;
    }
    
        
   



.product-card-modern {
    background-color: #fff;
    border: 1px solid #e5e7eb; 
    border-radius: 8px;        
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
    border-color: var(--gray-300);
}


.product-card-modern.is-special {
    border-color: var(--warning-color) !important;
}


.card-header-slot {
    height: 28px;
    line-height: 28px;
    width: 100%;
    overflow: hidden;
}

.condition-badge {
    background-color: var(--warning-color);
    color: #111827; 
    font-size: 0.85rem; 
    font-weight: 700;  
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 8px;
    width: 100%;
    height: 100%;
    display: block;
}


.card-image-wrapper {
    padding: 1rem; /* p-3 */
    position: relative;
    text-align: center;
    flex-shrink: 0;
}

.product-img {
    height: 160px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    max-width: 100%;
}


.discount-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--danger-color);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 50px; 
    z-index: 2;
}


.card-body-wrapper {
    padding: 0 1rem 1rem 1rem; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


.product-title-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.4;
    margin-bottom: 1rem; 
}

.price-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.old-price {
    font-size: 0.8rem;
    color: var(--gray-500); 
    text-decoration: line-through;
    height: 18px; 
}

.current-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--danger-color);
    line-height: 1;
}

.currency-symbol {
    font-size: 0.8rem;
    color: var(--danger-color);
}


.action-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-50);
    color: var(--gray-600);
    border: 1px solid #e5e7eb; 
    border-radius: 50%; 
}


.card-footer-info {
    background-color: var(--gray-50); 
    padding: 8px 12px 8px 16px;
    border-top: 1px solid #e5e7eb; 
    color: var(--gray-500); 
    font-size: 0.85rem; 
    display: flex;
    align-items: center;
    margin-top: auto;
}

.custom-scrollbar::-webkit-scrollbar { height: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: var(--gray-100); border-radius: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: var(--warning-color); border-radius: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #f59e0b; }

.empty-state-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem; 
    width: 100%;
}

.empty-state-content {
    text-align: center;
    max-width: 450px;
    margin: 0 auto;

    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);

}

.empty-icon {
    width: 90px;
    height: 90px;
    background-color: var(--bg-body, #f8f9fa); 
    color: var(--text-muted, #94a3b8); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto; 
    transition: transform 0.3s ease;
}


.empty-state-content:hover .empty-icon {
    transform: scale(1.05);
    background-color: #e2e8f0;
    color: var(--primary-color); 
}

.empty-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.5px;
}

.empty-state-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main, #1e293b);
    margin-bottom: 0.5rem;
}

.empty-message {
    color: var(--text-muted, #64748b);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}


.badge {
    display: inline-flex;       
    align-items: center;
    justify-content: center;
    padding: 0.4em 0.8em;       
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;    
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
    border: 1px solid transparent; 
}


.badge-pill {
    padding-right: 0.8em;
    padding-left: 0.8em;
    border-radius: 50rem;
}




.badge-primary {
    background-color: var(--primary-color, #0d6efd);
    color: #fff;
}

.badge-secondary {
    background-color: var(--gray-600, #6c757d);
    color: #fff;
}

.badge-success {
    background-color: var(--success-color, #198754);
    color: #fff;
}

.badge-danger {
    background-color: var(--danger-color, #dc3545);
    color: #fff;
}

.badge-warning {
    background-color: var(--warning-color, #ffc107);
    color: #000; 
}

.badge-info {
    background-color: var(--info-color, #0dcaf0);
    color: #000;
}

.badge-light {
    background-color: #f8f9fa;
    color: #000;
    border-color: #dee2e6; 
}

.badge-dark {
    background-color: #212529;
    color: #fff;
}




.badge-soft-primary {
    background-color: rgba(13, 110, 253, 0.1); 
    color: var(--primary-color, #0d6efd);
}

.badge-soft-success {
    background-color: rgba(25, 135, 84, 0.1); 
    color: var(--success-color, #198754);
}

.badge-soft-danger {
    background-color: rgba(220, 53, 69, 0.1); 
    color: var(--danger-color, #dc3545);
}

.badge-soft-warning {
    background-color: rgba(255, 193, 7, 0.15); 
    color: #856404; 
}

.badge-soft-info {
    background-color: rgba(13, 202, 240, 0.1);
    color: #055160;
}



.badge-bgcolor {
    background-color: var(--bgcolor, #333);
    color: #fff;
}


.badge svg, .badge i {
    margin-right: 4px;
}



.cat-filter-wrapper {
    width: 100%;
    margin-bottom: 1.5rem; 
    position: relative;
}


.cat-filter-track {
    display: flex;
    align-items: center;
    gap: 10px; 
    overflow-x: auto;
    white-space: nowrap; 
    padding: 4px 2px; 
    
    
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    -webkit-overflow-scrolling: touch; 
}

.cat-filter-track::-webkit-scrollbar {
    display: none; 
}


.cat-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background-color: #fff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 50px; 
    color: var(--text-muted, #64748b);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
    user-select: none;
}


.cat-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: var(--bg-white, #fff);
    transform: translateY(-1px);
}


.cat-filter-btn.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.25); 
}


.cat-filter-btn.dashed-style {
    border-style: dashed;
    background-color: var(--bg-body, #f8fafc);
    color: var(--text-main);
}

.cat-filter-btn.dashed-style:hover {
    border-style: solid; 
}