/* ClubFR8 Section 5: Deals Display Styles */

/* Hero Section */
.hero-section-clubfr8 {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Carousel Content */
.carousel-content-clubfr8 {
    padding: 100px;
}

/* Header Hero Image */
.category-header-hero-img {
    max-height: 130px;
    width: auto;
    max-width: 100%;
}

/* Hero Logo */
.category-hero-logo {
    max-height: 130px;
    width: auto;
}

/* Hero Title */
.hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
}

/* Hero Description */
.hero-description {
    font-size: 24px;
    margin: 0 auto;
    color: #fff;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .clubfr8-deals-category {
        height: auto;
        min-height: 100%;
    }
    
    .hero-section-clubfr8 {
        padding: 10px 15px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: 103px;
    }
    
    .carousel-content-clubfr8 {
        padding: 0;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .category-header-hero-img {
        height: 50px;
        width: 50px;
        margin-bottom: 8px;
        margin-top: 0;
    }
    
    .hero-title {
        font-size: 14px;
        font-weight: bold;
        text-transform: uppercase;
        margin-bottom: 12px;
        margin-top: 0;
        text-align: center;
    }
    
    .hero-description-mobile {
        font-size: 14px;
        line-height: 1.43;
        color: #fff;
        padding: 0 30px 50px;
    }
    
    /* Hide desktop description on mobile */
    .hero-description {
        display: none !important;
    }
}

.clubfr8-deals-section {
    padding: 40px 0;
    background: #ffffff;
    scroll-behavior: smooth;
}

.deals-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
    z-index: 10;
}

/* Categories Navigation */
.categories-nav {
    margin-bottom: 40px;
}

.categories-title-sidebar-header {
    font-size: 24px;
    font-weight: 700;
    color: #016b89;
    margin-bottom: 20px;
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 13.8px 20px 10px 32px;
    text-decoration: none;
    color: #000000;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16);
    background-color: #f8f8f8;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.category-item:hover {
    background: var(--color-btn-orange-clubfr8);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-item:hover .category-icon {
    filter: brightness(0) invert(1);
}
.category-item.active .category-icon {
    filter: brightness(0) invert(1);
}

.category-item.active {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16);
    background-color: #e64b35;
    color: #ffffff;
}

.category-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

.category-name-desktop {
    font-size: 18px;
    font-weight: 600;
}

/* Main Content */
.deals-content {
    padding-left: 40px;
}

.deals-main-title {
    font-size: 36px;
    font-weight: 700;
    color: #016b89;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 1px solid #dddddd;
    padding-bottom: 20px;
}

/* Deals by Category */
.deals-by-category {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.deals-category-section {
    background: #ffffff;
    overflow: hidden;
    border-bottom: 1px solid #dddddd;
}

.deals-category-section:last-child {
    border-bottom: none;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 24px;
    padding-bottom: 16px;
}

.category-info {
    display: flex;
    align-items: center;
}

.category-section-icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
}

.category-section-logo {
    max-width: 48px;
    max-height: 48px;
    margin-right: 12px;
}

.category-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    margin: 0;
}

.see-all-link {
    color: var(--color-btn-orange-clubfr8);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.see-all-link:hover {
    text-decoration: none;
}

.see-all-arrow {
    width: 30px;
    height: 15px;
    margin-left: 8px;
}

/* Mobile Accordion Styles */
.deals-mobile-layout {
    padding: 10px 0;
}

.accordion-item {
    margin-bottom: 20px;
    overflow: visible;
    padding: 0px 0px 0px;
    border-radius: 6px;
    border: solid 1px var(--category-color, #6c757d);
    background-color: #fff;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.08);
}

.accordion-button {
    background: #f8f9fa;
    border-radius: 6px;
    color: var(--category-color);
    font-weight: 600;
    padding: 16px 10px;
    position: relative;
    margin-bottom: 0;
}

.deals-mobile-layout button.accordion-button {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 20px;
    color: var(--category-color) !important;
}

.accordion-button:not(.collapsed) {
    background: var(--category-color, #007bff);
    color: #ffffff;
    border-color: var(--category-color, #007bff);
    border-left-color: var(--category-color, #007bff);
}

.accordion-button:hover {
    background: var(--category-color, #007bff);
    color: #ffffff;
    border-color: var(--category-color, #007bff);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.accordion-button .category-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px !important;
}

.accordion-item:not(:first-of-type){
    border-top: 1px solid var(--category-color) !important;
}


/* Desktop Grid Layout */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1199.98px) {
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .deals-grid {
        grid-template-columns: 1fr;
    }
    .deals-main-title {
        font-size: 24px;
        font-weight: 700;
        color: #016b89;
        margin-bottom: 40px;
        text-align: center;
        border-bottom: 0px;
        padding-bottom: 0px;
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .deals-content {
        padding-left: 0;
        margin-top: 5px;
    }

    
    .deals-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 767.98px) {
    .clubfr8-deals-section {
        padding: 20px 0px 0px 0px;
    }
    
    .deals-main-title {
        font-size: 28px;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .deals-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .deal-card {
        padding: 20px;
    }
}

@media (max-width: 575.98px) {
    .deals-main-title {
        font-size: 24px;
    }
    
    .deal-card {
        padding: 16px;
    }
    
}

/* Simple Deal Cards (Desktop) */
.deal-card-simple {
    background-color: var(--card-bg-color, #ffe7e0);
    border-radius: 10px;
    padding: 28px 16px;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.deal-card-simple:hover {
    border: solid 1px var(--card-hover-border, #e64b35);
    background-image: linear-gradient(to bottom, 
        var(--card-gradient-start, #ffffff) 0%, 
        var(--card-gradient-middle, #fdc6ba48) 28%, 
        var(--card-gradient-end, #fdbbaed6) 84%);
}

.deal-logo-container {
    text-align: center;
    margin-bottom: 5px;
    flex-shrink: 0;
}

.deal-logo-simple {
    max-width: 70px;
    max-height: 80px;
    object-fit: contain;
    margin: 10px auto;
}

.deal-content-simple {
    flex-grow: 1;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.deal-title-simple {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
    text-align: center;
    line-height: 1.3;
}


.deal-description-simple {
    font-size: 16px;
    color: #000000;
    line-height: 1.5;
    text-align: center;
}

.deal-description-simple p {
    margin-bottom: 10px;
}

.deal-footer-simple {
    text-align: center;
    flex-shrink: 0;
    margin-top: auto;
    margin-bottom: 0px;
    padding-top: 20px;
}

@media (max-width: 767.98px) {
    .deal-title-simple {
        font-size: 16px;
    }
    .deal-description-simple {
        font-size: 14px;
    }
}

/* Deal Column Layout - 2 columns from 768px to 1220px (only for grid view) */
@media (min-width: 768px) and (max-width: 1219.98px) {
    .deal-column-item.col-lg-4,
    .deals-content.grid-view .deal-column-item.col-lg-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    /* Keep list-view (tile) at 1 column */
    .deals-content.list-view .deal-column-item.col-lg-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Keep 3 columns above 1220px (col-lg-4 behavior) - only for grid view */
@media (min-width: 1220px) {
    .deal-column-item.col-lg-4,
    .deals-content.grid-view .deal-column-item.col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    /* Keep list-view (tile) at 1 column */
    .deals-content.list-view .deal-column-item.col-lg-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Mobile Deal Cards */
.deal-card-simple-mobile {
    background-color: var(--card-bg-color, #ffe7e0);
    border-radius: 10px;
    padding: 43px 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.deal-card-simple-mobile:hover {
    border: solid 1px var(--card-hover-border, #e64b35);
    background-image: linear-gradient(to bottom, 
        var(--card-gradient-start, #ffffff) 0%, 
        var(--card-gradient-middle, #fdc6ba48) 28%, 
        var(--card-gradient-end, #fdbbaed6) 84%);
}

/* Mobile See All Link */
.mobile-see-all-container {
    text-align: right;
}

.mobile-see-all-link {
    color: var(--color-btn-orange-clubfr8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.mobile-see-all-link:hover {
    color: #d63e2a;
    text-decoration: none;
}

.mobile-see-all-arrow {
    width: 24px;
    height: 12px;
    transition: transform 0.3s ease;
}

.mobile-see-all-link:hover .mobile-see-all-arrow {
    transform: translateX(4px);
}

/* Tile View Styles (List View) */
.deals-content.list-view .row {
    display: block;
}

.deals-content.list-view .col-lg-4 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

.deals-content.list-view .deal-card-simple {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-height: auto;
    height: auto;
}

.deals-content.list-view .deal-logo-container {
    flex: 0 0 120px;
    margin-right: 1.5rem;
    margin-bottom: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.deals-content.list-view .deal-logo-simple {
    max-width: 80px;
    max-height: 70px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.deals-content.list-view .deal-title-simple {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
    color: #000000;
}

.deals-content.list-view .deal-content-simple {
    flex: 1;
    margin-bottom: 0;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.deals-content.list-view .deal-description-simple {
    font-size: 16px;
    margin-bottom: 0rem;
    text-align: left;
    line-height: 1.5;
}

.deals-content.list-view .deal-footer-simple {
    flex: 0 0 auto;
    margin-left: 0;
    margin-top: 1rem;
    padding-top: 0;
    text-align: left;
}

.deals-content.list-view .get-deals-btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Grid View Styles (Default) */
.deals-content.grid-view .row {
    display: flex;
    flex-wrap: wrap;
}

.deals-content.grid-view .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    display: flex;
}

.deals-content.grid-view .deal-item {
    display: flex;
    width: 100%;
}

.deals-grid.list-view .deal-content-simple {
    flex: 1;
    margin-bottom: 0;
}

.deals-grid.list-view .deal-footer-simple {
    flex-shrink: 0;
    margin-left: 1rem;
}

.deals-grid.list-view .deal-title-simple {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.deals-grid.list-view .deal-description-simple {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.no-deals-found {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.no-deals-found p {
    font-size: 1.1rem;
    margin: 0;
}

/* Back to Top Button Styles - Circular */
.back-to-top-circle {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    font-weight: 600 !important;
    transform: translateX(160px) translateY(-20px) !important;
}



/* No Results State Styling */
.no-results-state {
    padding: 3rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.no-results-state i {
    color: #adb5bd;
}

.no-results-state h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.no-results-state p {
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 768px) {
    .deals-grid.list-view .deal-card-simple {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .category-name-desktop{
        font-size: 16px;
    }

    .deal-logo-simple {
        max-height: 70px;
    }
    
    .deals-grid.list-view .deal-logo-container {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .deals-grid.list-view .deal-footer-simple {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* ClubFR8 Section 5: Newsletter Signup Styles */
.clubfr8-newsletter-section {
    padding: 60px 0;
}

@media (max-width: 768px) {
    .clubfr8-newsletter-section {
        padding: 10px 0;
        margin-top: 0;
    }
    
    .newsletter-mobile-layout {
        margin-top: 0;
        padding-top: 5px;
    }
}

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

.newsletter-desktop-layout .row {
    margin: 0;
}

.newsletter-desktop-layout .col-lg-6 {
    padding: 0;
}

.newsletter-desktop-layout .col-lg-6:first-child .w-100 {
    margin-left: -40px;
    margin-right: 0;
    margin-bottom: -65px;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.newsletter-desktop-layout .col-lg-6:first-child img {
    padding: 30px !important;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Mobile Layout: Vertical */
.newsletter-mobile-layout {
    padding: 15px 20px;
}

.newsletter-mobile-layout .w-100.d-flex.justify-content-center {
    justify-content: flex-start !important;
    margin-left: -20px;
    margin-top: -30px;
}

.newsletter-mobile-layout .w-100.d-flex.justify-content-center img {
    height: 300px !important;
    padding: 7px !important;
    object-fit: contain;
    width: auto;
}


.category-page-controls {
    margin-bottom: 2rem;
}

.breadcrumb-section {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .breadcrumb-section {
        margin-bottom: 0.5rem;
    }
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-size: 24px;
}

/* Newsletter error message styling for desktop category pages */
.contact-newsletter-subscribe + .newsletter-error-message {
    margin-top: 8px;
    display: block;
    width: 100%;
}

/* Red border for invalid email input on category pages */
.contact-newsletter-subscribe input.is-invalid,
.contact-newsletter-subscribe input.is-invalid:focus,
.contact-newsletter-subscribe-blog-sidebar input.is-invalid,
.contact-newsletter-subscribe-blog-sidebar input.is-invalid:focus {
    border-color: #dc3545 !important;
    border-width: 1px !important;
}

/* For desktop horizontal layout - ensure border is visible */
.contact-newsletter-subscribe input.is-invalid {
    border: 1px solid #dc3545 !important;
}

/* For mobile vertical layout */
.contact-newsletter-subscribe-blog-sidebar input.is-invalid {
    border: 1px solid #dc3545 !important;
}

/* Green border for valid email input on category pages */
.contact-newsletter-subscribe input.is-valid,
.contact-newsletter-subscribe input.is-valid:focus,
.contact-newsletter-subscribe-blog-sidebar input.is-valid,
.contact-newsletter-subscribe-blog-sidebar input.is-valid:focus {
    border: 1px solid #cbd5e0 !important;
    border-width: 1px !important;
}

/* For desktop horizontal layout - ensure border is visible for valid */
.contact-newsletter-subscribe input.is-valid {
    border: 1px solid #cbd5e0 !important;
}

/* For mobile vertical layout - ensure border is visible for valid */
.contact-newsletter-subscribe-blog-sidebar input.is-valid {
    border: 1px solid #cbd5e0 !important;
}

.breadcrumb-item a {
    color: #000 !important;
    text-decoration: none !important;
    font-size: 24px;
    font-weight: 600;
}

.breadcrumb-item a:hover,
.breadcrumb-item a:focus,
.breadcrumb-item a:active {
    color: #000 !important;
    text-decoration: none !important;
}

/* Custom breadcrumb separator - straight line instead of slanted */
.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    display: none !important;
}

.breadcrumb-separator {
    color: #000;
    font-weight: 400;
    padding: 0 0.5rem;
    font-size: 24px;
    display: inline-block;
    padding: 0px 30px;
}

/* Category color for active breadcrumb item */
.breadcrumb-item.active {
    color: var(--category-color, #212529) !important;
    font-weight: 600;
    margin-top: 2px;
}

.search-view-controls {
    background: #fff;
    border-radius: 8px;
}

.search-input-group {
    position: relative;
    max-width: 800px !important; /* Increased width */
    width: 100% !important;
}

.search-input {
    border: 1px solid #dee2e6;
    border-radius: 6px; /* Full border radius */
    padding: 0.5rem 3rem 0.5rem 0.75rem; /* Right padding for icon space */
    font-size: 14px;
    width: 100%;
    padding-right: 50px; /* Space for search icon */
}

@media (max-width: 768px) {
    .search-input {
        height: 30px !important;
        font-size: 14px !important;
        padding: 0.25rem 2.5rem 0.25rem 0.5rem;
    }
    
    .search-input-group .btn.btn-search {
        height: 30px !important;
        width: 35px !important;
    }
    
    .search-input-group .btn.btn-search i {
        font-size: 12px !important;
        line-height: 1 !important;
        margin: 0 !important;
    }
}

.btn-search {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: #e64b35 !important;
    color: white !important;
    width: 60px !important;
    height: 49px !important;
    border: none !important;
    border-radius: 4px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}


.view-controls {
    display: flex;
    justify-content: flex-end;
}

/* View Card Container */
.view-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 4px 8px;
}

/* View Card always stays white - no background change */
.view-card.has-selection {
    background: #fff;
    border-color: #dee2e6;
    border: solid 1px #dee2e6;
}

/* View label always stays black */
.view-card.has-selection .view-label {
    color: #000;
    font-size: 18px;
    font-weight: 600;
}

/* When search is hidden, center view controls */
.view-controls.centered {
    justify-content: center;
}

.view-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-label {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.view-buttons {
    display: flex;
    gap: 0.25rem;
}


/* All buttons always have white background and dark icons */
.view-card .btn-view {
    background: white;
    border-color: #dee2e6;
}

.view-card .btn-view img {
    filter: brightness(0); /* Black icons for unselected */
}

/* Only the selected button gets colored background with white icon */
.view-card .btn-view.active {
    background: #e64b35 !important;
    border-color: #e64b35 !important;
}

.view-card .btn-view.active img {
    filter: brightness(0) invert(1) !important; /* White icon for selected */
}

/* Ensure no hover effects on view buttons */
.view-card .btn-view:hover {
    background: white !important;
    border-color: #dee2e6 !important;
}

.view-card .btn-view:hover img {
    filter: brightness(0) !important; /* Black icon on hover for unselected */
}

.view-card .btn-view.active:hover {
    background: #e64b35 !important;
    border-color: #e64b35 !important;
}

.view-card .btn-view.active:hover img {
    filter: brightness(0) invert(1) !important; /* White icon on hover for selected */
}

.btn-primary-see-more{
    color: #e64b35 !important;
    width: 306px !important;
    height: 48px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    border: solid 1px #dee2e6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-primary-see-more:disabled{
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .search-view-controls .row {
        flex-direction: column;
        gap: 0;
    }
    
    .view-controls {
        justify-content: flex-start;
    }
    
    .category-page-controls {
        margin-bottom: 0.5rem;
    }
    
    .breadcrumb-section {
        margin-bottom: 0.25rem;
    }
    
    /* Reduce gap between deals and newsletter */
    .deals-content {
        margin-bottom: 0 !important;
    }
    
    .deals-mobile-layout {
        margin-bottom: 0;
    }
    .back-to-top-container-mobile {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
        padding: 0 15px;
        margin-bottom: 1rem;
    }
    
    #dealsButtonsContainerMobile:not(:has(.btn-primary-see-more:not([style*="display: none"]))) .back-to-top-container-mobile,
    #dealsButtonsContainerMobile.see-more-hidden .back-to-top-container-mobile {
        margin-bottom: 0.5rem !important;
    }
    
    .back-to-top-mobile {
        margin-left: 0 !important;
        transform: none !important;
    }
    
    /* Remove any top margin from newsletter */
    .clubfr8-newsletter-section {
        margin-top: 0 !important;
    }
    
    .newsletter-container {
        margin-top: 0 !important;
    }
    
    #dealsButtonsContainerMobile {
        margin-top: 0px !important;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    #dealsButtonsContainerMobile:not(:has(.btn-primary-see-more:not([style*="display: none"]))) {
        margin-bottom: 0 !important;
    }
    
    #dealsButtonsContainerMobile.see-more-hidden {
        margin-bottom: 0 !important;
    }
    
    #dealsButtonsContainerMobile .back-to-top-container-mobile {
        display: flex !important;
    }
    
    #dealsButtonsContainerMobile:not(:has(.btn-primary-see-more:not([style*="display: none"]))) + .mobile-categories-sidebar,
    #dealsButtonsContainerMobile.see-more-hidden + .mobile-categories-sidebar {
        margin-top: 0.5rem !important;
    }
    
    /* Desktop buttons container */
    #dealsButtonsContainer {
        margin-top: 1rem;
        margin-bottom: 0;
        display: flex;
    }
    
    /* Ensure back-to-top button is always visible on desktop */
    #dealsButtonsContainer .back-to-top-circle {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .breadcrumb-separator {
        color: #000;
        display: inline-block;
        padding: 2px 10px;
    }
    .breadcrumb-item a{
        font-size: 16px;
    }
    .breadcrumb-item.active{
        font-size: 16px !important;
    }
    .categories-title-sidebar-header{
        font-size: 18px !important;
    }
    .btn-primary-see-more{
        font-size: 14px !important;
}
}
