:root {
    --primary-red: #F2690D;
    --primary: #F2690D;
    --primary-text: #111827;
    --muted: #6b7280;
    --border: #e5e7eb;
    --bg: #ffffff;
    --soft: #f6f2ef;
    --bsh-bg: #f6f3ef;
    --bsh-border: #f0b59a;
    --bsh-accent: #ff6a00;
    --bsh-text: #111827;
    --cat-border: #d9d9d9;
    --cat-text: #111827;
    --cat-orange: #ff6a00;

    --dash-accent: #ff6a00;
    --dash-accent-soft: #fff2e9;
    --dash-border: #eef1f6;
    --dash-text-muted: #6b7280;
}

body {
    background: #f5f5f5;
    font-family: Arial, sans-serif;
    padding-bottom: 60px;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 100px;
        padding-top: 60px;
    }

}

.text-primary {
    color: var(--primary-red) !important;
}

.border-danger {
    color: var(--primary-red) !important;
}

a {
    transition: background-color 0.2s;
    padding: 2px 0px;
    text-decoration: none;
}


.btn-base {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    transition: background-color 0.2s;
}

.btn-base:hover {
    background-color: var(--primary-red);
    color: #fff;
}

.collect-header {
    font-family: inherit;
}

.collect-header a {
    padding: 0;
}

.collect-header * {
    box-sizing: border-box;
}

.collect-header {
    font-family: inherit;
}

.ch-topbar {
    background: var(--primary);
    color: #fff;
    font-size: 13px;
}

.ch-topbar .container {
    padding-top: 8px;
    padding-bottom: 8px;
}

.ch-topbar-left .ch-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.ch-topbar-item i {
    font-size: 13px;
}

.ch-topbar-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.ch-topbar-link:hover {
    text-decoration: underline;
}

.ch-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background: #fff;
    padding: 5px 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition:
        padding 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

@media (min-width: 768px) {
    .ch-main {
        position: fixed;
        top: 35px;
        left: 0;
        width: 100%;
        z-index: 1050;
        background: #fff;
        padding: 5px 0;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        transition:
            padding 0.3s ease,
            box-shadow 0.3s ease,
            background-color 0.3s ease;
    }

    .ch-main.no-padding {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1050;
        background: #fff;
        padding: 5px 0;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        transition:
            padding 0.3s ease,
            box-shadow 0.3s ease,
            background-color 0.3s ease;
    }

    .main-wrapper {
        margin-top: 100px;
    }
}

.ch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
}

.ch-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
}

.ch-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.navbar {
    padding: 0;
}

.ch-navlist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 280px;
}

.ch-navlink {
    display: inline-flex;
    align-items: center;
    height: 40px;
    font-size: 16px !important;
    font-weight: 400;
    color: var(--text);
    text-decoration: none;
    position: relative;
    white-space: nowrap;
    padding: 0 12px;
    margin: 0px 10px;
}

.ch-navlink:hover {
    color: var(--ch-orange);
}

.ch-navlink.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -14px;
    height: 3px;
    background: var(--ch-orange);
    border-radius: 3px 3px 0 0;
}


.ch-dd-icon {
    display: inline-flex;
    align-items: center;
    transition: transform .25s ease;
}

.ch-dd-icon.rotate {
    transform: rotate(180deg);
}

.ch-search {
    flex: 0 0 auto;
    width: 420px;
    max-width: 36vw;
    position: relative;
    align-items: center;
}

.ch-search-ico {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ch-muted);
    font-size: 16px;
}

.ch-search-input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--ch-border);
    border-radius: 12px;
    padding: 0 14px 0 40px;
    outline: 0;
    font-size: 14px;
    background: #fff;
}

.ch-search-input:focus {
    border-color: #f1c2a1;
    box-shadow: 0 0 0 3px rgba(242, 105, 13, .12);
}

.ch-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.ch-icon {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--ch-text);
}


.ch-icon i {
    font-size: 18px;
    align-items: center;
}

.ch-icon i.user-icon {
    font-size: 22px;
    margin-top: 2px !important;
    padding-left: 10px;
}

.ch-icon i.cart-icon {
    margin-bottom: 4px !important;
}

.ch-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 5px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.ch-user {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 800;
    color: var(--ch-text);
    text-decoration: none;
}



.ch-dd {
    position: relative;
}

.ch-mega {
    position: absolute;
    width: 1120px;
    max-width: calc(100vw - 40px);
    padding: 14px;
    border-radius: 12px;
    left: -400px !important;
}

.ch-mega-col {
    padding: 10px 14px;
    border-right: 1px solid #f1f1f1;
}

.ch-mega-col:last-child {
    border-right: none;
}

.ch-mega-item {
    padding: 8px 10px;
    font-size: 13px;
    color: #374151;
    border-radius: 10px;
    text-decoration: none;
    margin: 8px 0;
}

.ch-mega-item:hover {
    background: #fff2ea;
    color: var(--ch-orange);
}

.ch-more {
    font-weight: 900;
    color: var(--ch-orange) !important;
}

.ch-search-mobile {
    position: relative;
    margin: 0 0 14px;
}

.ch-search-mobile .ch-search-ico {
    left: 12px;
}

.ch-search-mobile .ch-search-input {
    height: 44px;
    border-radius: 12px;
}

.ch-offcanvas {
    width: 290px !important;
}

.ch-off-head {
    background: #f9fafb;
    border-bottom: 1px solid var(--ch-border);
}

.ch-offcanvas a {
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    color: var(--ch-text);
    text-decoration: none;
    font-weight: 700;
}

.ch-offcanvas a:hover {
    background: #f9fafb;
}

.ch-mitem {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    color: var(--ch-text);
    text-decoration: none;
    font-weight: 700;
}

.ch-mitem:hover {
    background: #f9fafb;
}

.ch-acc-btn {
    padding: 12px 16px;
    font-weight: 800;
}

.ch-acc-btn:focus {
    box-shadow: none;
}

.ch-acc-body {
    padding: 8px 0 10px;
}

.ch-msub {
    display: block;
    padding: 8px 22px;
    font-size: 13px;
    color: #374151;
    text-decoration: none;
}

.ch-msub:hover {
    background: #f9fafb;
    color: var(--ch-orange);
}


@media (max-width: 1199.98px) {
    .ch-search {
        width: 360px;
        max-width: 34vw;
    }

    .ch-navlist {
        gap: 16px;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        display: none;
    }

}

.book-search-hero {
    background: var(--bsh-bg);
    padding: 48px 0 52px;
}

.bsh-title {
    text-align: center;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    color: var(--bsh-text);
    margin: 0 0 22px;
    letter-spacing: .2px;
}

.bsh-form {
    display: flex;
    justify-content: center;
}

.bsh-search {
    width: min(680px, 92vw);
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--bsh-border);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(17, 24, 39, .08);
    overflow: hidden;
}

.bsh-input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 16px 64px 16px 22px;
    font-size: 16px;
    color: var(--bsh-text);
    background: transparent;
}

.bsh-input::placeholder {
    color: #9ca3af;
}

.bsh-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: var(--bsh-accent);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(255, 106, 0, .25);
    transition: transform .15s ease, filter .15s ease;
}

.bsh-btn:hover {
    filter: brightness(.98);
    transform: translateY(-50%) scale(1.03);
}

.bsh-btn:active {
    transform: translateY(-50%) scale(.98);
}

@media (max-width: 576px) {
    .book-search-hero {
        padding: 38px 0 44px;
    }

    .bsh-input {
        padding: 14px 60px 14px 18px;
        font-size: 15px;
    }

    .bsh-btn {
        width: 40px;
        height: 40px;
    }
}


.author-strip {
    background: #fff;
    padding: 18px 0;
}

.author-slider .author-card {
    text-decoration: none;
    color: #111827;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 4px;
    outline: none;
}


.author-card:hover .author-name {
    color: var(--primary);
}

.author-avatar {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 3px solid #fff;
    box-shadow: 0 10px 22px rgba(17, 24, 39, .12);
}


.author-card:hover .author-avatar {
    border: 3px solid var(--primary);
}

.author-avatar--letter {
    background: #a9a39d;
}

.author-avatar--letter span {
    font-size: 34px;
    font-weight: 800;
    color: #ff6a00;
    line-height: 1;
}

.author-avatar--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-meta {
    text-align: center;
    line-height: 1.15;
}

.author-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
}

.author-slider .slick-slide {
    padding: 0 12px;
}

.author-slider .slick-list {
    margin: 0 -12px;
}


@media (max-width: 576px) {
    .author-avatar {
        width: 76px;
        height: 76px;
    }
}


.cat-strip {
    background: var(--bsh-bg);
    padding: 18px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.cat-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cat-list {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 6px 2px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cat-list::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--cat-border);
    background: #fff;
    color: var(--cat-text);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;

    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.cat-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(17, 24, 39, .08);
    border-color: #cfcfcf;
}

.cat-pill.is-active {
    border-color: #cfcfcf;
    box-shadow: 0 10px 18px rgba(17, 24, 39, .08);
}

.cat-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.cat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-viewall {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--cat-orange);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 18px rgba(255, 106, 0, .22);
    transition: transform .15s ease, filter .15s ease;
}

.cat-viewall:hover {
    filter: brightness(.98);
    transform: translateY(-1px);
}

@media (max-width: 576px) {

    .cat-pill,
    .cat-viewall {
        height: 42px;
    }

    .cat-pill {
        padding: 0 16px;
    }
}






.slider-item {
    display: flex !important;
    align-items: center;
}

.four-slide-carousel-section {
    padding: 40px 0;
    background-color: #fff;
}

.four-slide-carousel-section h2 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.four-slide-carousel-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 2px;
}

.four-slide-item {
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: #fcfcfc;
    margin: 10px;
}

.four-slide-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    transition: transform 0.3s ease;
}

.four-slide-item:hover img {
    transform: scale(1.03);
}

.four-slide-item .slide-text {
    background-color: #fff;
    padding: 15px 10px;
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    line-height: 1.4;
}

.four-slide-carousel-section .slick-prev,
.four-slide-carousel-section .slick-next {
    width: 35px;
    height: 35px;
    background-color: var(--primary-red);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.four-slide-carousel-section .slick-prev:hover,
.four-slide-carousel-section .slick-next:hover {
    background-color: #c02828;
}

.four-slide-carousel-section .slick-prev:before,
.four-slide-carousel-section .slick-next:before {
    font-size: 1.1rem;
    color: #fff;
}

.four-slide-carousel-section .slick-prev {
    left: -15px;
}

.four-slide-carousel-section .slick-next {
    right: -15px;
}

@media (max-width: 576px) {

    .four-slide-carousel-section .slick-prev,
    .four-slide-carousel-section .slick-next {
        display: none !important;
    }
}

/* Premium Hover Effects for New Books Section */

.new-books-section {
    background-color: #fff;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.new-books-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.new-books-section .section-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-color, #2c3e50);
    position: relative;
    padding-bottom: 10px;
}

.new-books-section .view-all-link {
    color: var(--primary-red, #e63946);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: 30px;
    border: 2px solid transparent;
    background: linear-gradient(to right, #fff, #fff);
}

.new-books-section .view-all-link:hover {
    background: linear-gradient(to right, var(--primary-red, #e63946), #ff6b6b);
    color: white;
    border-color: var(--primary-red, #e63946);
    transform: translateX(5px);
}

.category-section {
    margin-bottom: 60px;
}

.new-books-carousel {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 1400px) {
    .new-books-carousel {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {
    .new-books-carousel {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .new-books-carousel {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .new-books-carousel {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .new-books-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

.product-card {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(44, 44, 44, 0.05);
    height: 420px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #ffd6d9;
}

.product-card .product-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.product-card:hover .discount-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.discount-badge.bg-red {
    background: linear-gradient(135deg, var(--primary-red, #e63946), #ff6b6b);
}

.discount-badge.bg-yellow {
    background: linear-gradient(135deg, #ffd166, #ffb347);
    color: #333;
}


.product-card img {
    height: 200px;
    width: 100%;
}

.card-img-container {
    height: 200px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}


.card-img-container img {
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.product-card:hover .card-img-container img {
    transform: scale(1.08);
}

.card-body-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
    position: relative;
    line-height: 24px;
    z-index: 2;
}

.card-body-content .book-title {
    font-size: 15px;
    color: var(--text-color, #2c3e50);
    font-weight: 400;
    transition: color 0.3s ease;
    flex-grow: 1;
}

.card-body-content .card-body-inner {
    line-height: 16px;
}

.card-body-content .card-body-inner .book-title {
    line-height: 24px;
}

.product-card:hover .book-title {
    color: var(--primary-red, #e63946) !important;
}

.book-publisher {
    font-size: 0.85rem;
    color: #666;
}

.price-box {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 4px 0;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-red, #e63946);
    letter-spacing: 0.5px;
    line-height: 16px;

}

.old-price {
    font-size: 0.95rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.product-card:hover .hover-efect-cart {
    opacity: 1;
    visibility: visible;
    transform: scale(1) rotateX(0deg);
}

.addtocart {
    background: #272626;
    color: #fff;
    border: none;
    padding: 6px;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    max-width: 300px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    overflow: hidden;
}

.addtocart:hover {
    background: var(--primary-red, #e63946);
}

.add-to-cart.loading {
    pointer-events: none;
    opacity: .8;
}

.add-to-cart.success {
    background-color: #272626 !important;
    border-color: var(--bsh-accent) !important;
    color: #fff;
}

.add-to-cart.success .btn-text {
    animation: pop .4s ease;
}

.add-to-cart:hover {
    background-color: #272626 !important;
    border-color: var(--bsh-accent) !important;
    color: #fff;
}

@keyframes pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Empty states */
.col-12.text-center.py-4 {
    grid-column: 1 / -1;
}

.col-12.text-center.py-4 p {
    color: #666;
    font-size: 1.1rem;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.text-center.py-5 p {
    color: #666;
    font-size: 1.2rem;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
    max-width: 500px;
    margin: 0 auto;
}

/* Animation for book appearance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(2) {
    animation-delay: 0.1s;
}

.product-card:nth-child(3) {
    animation-delay: 0.2s;
}

.product-card:nth-child(4) {
    animation-delay: 0.3s;
}

.product-card:nth-child(5) {
    animation-delay: 0.4s;
}

.product-card:nth-child(6) {
    animation-delay: 0.5s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .new-books-section .section-title {
        font-size: 1rem;
    }

    .card-img-container {
        height: 200px;
        padding: 20px;
    }

    .hover-efect-cart {
        padding: 20px;
    }

    .hover-efect-cart button,
    .hover-efect-cart a {
        width: 90%;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .new-books-carousel {
        gap: 12px;
    }

    .card-body-content {
        padding: 8px;
    }

    .book-title {
        font-size: 0.95rem;
    }

    .current-price {
        font-size: 1.1rem;
    }
}

.category-tabs-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
}

.category-tabs-carousel::-webkit-scrollbar {
    display: none;
}

.category-tab {
    flex-shrink: 0;
    padding: 8px 15px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s, border-color 0.3s;
}

.category-tab:hover,
.category-tab.active {
    background-color: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.category-tab i {
    font-size: 0.7rem;
    vertical-align: middle;
}

.new-books-carousel {
    position: relative;
    padding: 0px;
}

.new-books-section .slick-prev,
.new-books-section .slick-next {
    width: 35px;
    height: 35px;
    background-color: #fff;
    border: 1px solid #ccc;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    border-radius: 50%;
}

.new-books-section .slick-prev:before,
.new-books-section .slick-next:before {
    font-size: 1.1rem;
    color: var(--text-color);
}

.new-books-section .slick-prev {
    left: 0;
}

.new-books-section .slick-next {
    right: 0;
}

.best-writer-section {
    background-color: #f8f8f8;
}

.best-writer-section .section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.best-writer-section .view-all-link {
    color: var(--primary-red);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
}

.writer-card {
    margin: 5px 10px;
    text-align: center;
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

.writer-card:hover {
    background-color: #eee;
    border-radius: 8px;
}

.writer-card .writer-link {
    text-decoration: none;
    display: block;
}

.writer-img-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px auto;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid #ccc;
    transition: border-color 0.3s ease;
}

.writer-card:hover .writer-img-container {
    border-color: var(--primary-red);
}

.writer-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.writer-info-content {
    padding: 0 5px;
}

.writer-name {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 2px;
}

.book-count {
    font-size: 0.8rem;
    color: #999;
}

.best-writer-carousel {
    position: relative;
    padding: 0 20px;
}

.best-writer-section .slick-prev,
.best-writer-section .slick-next {
    width: 35px;
    height: 35px;
    background-color: #fff;
    border: 1px solid #ccc;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    border-radius: 50%;
}

.best-writer-section .slick-prev:before,
.best-writer-section .slick-next:before {
    font-size: 1.1rem;
    color: var(--text-color);
}

.best-writer-section .slick-prev {
    left: 0;
}

.best-writer-section .slick-next {
    right: 0;
}

@media (max-width: 768px) {
    .writer-img-container {
        width: 80px;
        height: 80px;
    }
}

.publication-section {
    background-color: #fff;
}

.publication-section .section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    padding-bottom: 15px;
    position: relative;
    width: auto;
}

.publication-section .section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 2px;
}

.publication-section .view-all-link {
    color: var(--primary-red);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    position: absolute;
    right: 15px;
    top: 55px;
}

.publication-card {
    margin: 5px 5px;
    text-align: center;
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

.publication-card:hover {
    background-color: #f9f9f9;
    border-radius: 8px;
}

.publication-card .publication-link {
    text-decoration: none;
    display: block;
}

.pub-icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px auto;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
}

.pub-icon-container.bg-yellow {
    background-color: #e6e37b;
}

.pub-icon-container.bg-blue {
    background-color: #61b3e8;
}

.pub-icon-container.bg-purple {
    background-color: #6a1b9a;
}

.pub-icon-container.bg-green {
    background-color: #4CAF50;
}

.pub-icon-container.bg-light-green {
    background-color: #81c784;
}

.pub-icon-container.bg-maroon {
    background-color: #792257;
}

.pub-icon-container .pub-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pub-name {
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.publication-carousel {
    padding-bottom: 30px;
}

.publication-section .slick-prev,
.publication-section .slick-next {
    display: none !important;
}

.publication-section .slick-dots {
    bottom: 0px;
    height: 6px;
    width: 80%;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
}

.publication-section .slick-dots li {
    width: 80px;
    height: 6px;
    margin: 0 2px;
}

.publication-section .slick-dots li button {
    width: 100%;
    height: 6px;
    padding: 0;
    background: #ccc;
    border-radius: 3px;
    opacity: 1;
}

.publication-section .slick-dots li.slick-active button {
    background: var(--primary-red);
}

.publication-section .slick-dots li button:before {
    content: '';
}

.book-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}

.custom-slider-container {
    margin: 0 auto;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.8rem;
    color: var(--primary-red);
}

.placeholder-logo {
    width: 120px;
    height: 35px;
    background-color: var(--primary-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 4px;
}

/* Footer Styles */
.custom-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-heading {
    color: var(--primary-red);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-contact {
    margin-bottom: 10px;
}

.footer-contact strong {
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.payment-method {
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.footer-divider {
    border-top: 1px solid #444;
    margin: 30px 0 20px;
}

.copyright {
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: #ddd;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-red);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-column {
        margin-bottom: 30px;
    }
}


/* dashboard  */

.dash-wrap {
    background: #f6f7fb;
    min-height: calc(100vh - 120px);
}

.dash-card {
    background: #fff;
    border: 1px solid var(--dash-border);
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(16, 24, 40, .06);
}

/* Left Loyalty card (big orange) */
.loyalty-card {
    background: linear-gradient(135deg, var(--dash-accent) 0%, #ff8a3d 100%);
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(255, 106, 0, .25);
    overflow: hidden;
    position: relative;
}

.loyalty-card::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, .16);
    border-radius: 999px;
}

.loyalty-card .icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loyalty-card .value {
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    margin: 8px 0 2px;
}

/* Side nav styling (keep your markup, just beautify) */
.dashboard-sidnav .nav-link {
    border-radius: 14px;
    padding: 10px 12px;
    color: #0f172a;
    font-weight: 600;
}

.dashboard-sidnav .nav-link:hover {
    background: #f3f4f6;
}

.dashboard-sidnav .nav-link.active,
.dashboard-sidnav .nav-link.menu-active {
    background: var(--dash-accent-soft);
    color: var(--dash-accent);
}

/* Top right "Continue Shopping" like screenshot */
.dash-top-actions .btn {
    border-radius: 14px;
    padding: 10px 14px;
    font-weight: 700;
}

/* Stat cards */
.stat-card {
    border-radius: 16px;
    border: 1px solid var(--dash-border);
    background: #fff;
    box-shadow: 0 6px 18px rgba(16, 24, 40, .06);
    padding: 18px;
    height: 100%;
}

.stat-card .label {
    color: #111827;
    font-weight: 700;
    font-size: 14px;
}

.stat-card .big {
    font-size: 30px;
    font-weight: 800;
    margin-top: 10px;
    line-height: 1.1;
}

.stat-card .sub {
    color: var(--dash-text-muted);
    font-size: 12px;
    margin-top: 4px;
}

.stat-card .mini-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dash-accent-soft);
    color: var(--dash-accent);
}

/* Promo cards */
.promo-card {
    border-radius: 18px;
    border: 1px solid var(--dash-border);
    background: #fff;
    box-shadow: 0 6px 18px rgba(16, 24, 40, .06);
    padding: 22px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.promo-card.soft {
    background: #fff6f0;
    border-color: #ffd9c0;
}

.promo-card .promo-icon {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 46px;
    height: 46px;
    border-radius: 18px;
    background: rgba(255, 106, 0, .10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dash-accent);
}

.promo-card .btn-accent {
    background: var(--dash-accent);
    border-color: var(--dash-accent);
    color: #fff;
    font-weight: 800;
    border-radius: 14px;
    padding: 10px 16px;
}

.promo-card .btn-outline-soft {
    border-radius: 14px;
    padding: 10px 16px;
    font-weight: 800;
}

/* Recent orders list */
.recent-order {
    border-radius: 16px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.status-pill {
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 800;
    font-size: 12px;
    text-transform: lowercase;
}

.status-processing {
    background: #fff1bf;
    color: #7a5b00;
}

.status-pending {
    background: #ffe0cc;
    color: #9a3d00;
}

.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.status-declined {
    background: #fee2e2;
    color: #991b1b;
}

@media (max-width: 991px) {
    .dash-top-actions {
        justify-content: flex-start !important;
    }
}

.filter-item {
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

.filter-item:hover {
    color: var(--primary);
}

.filter-item.active {
    font-weight: bold;
    color: var(--primary);
}

.opacity-50 {
    opacity: 0.5;
}

.pagination .page-link {
    border-radius: 50%;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid #eee;
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pagination .page-link:hover {
    background: #f8d7da;
}

.product-details {
    font-family: "Bricolage Grotesque", sans-serif;
}

.product-image-card {
    position: relative;
    border-radius: 16px;
    text-align: center;
    overflow: hidden;
}


.main-product-img {
    width: 100%;
}

@media (max-width: 768px) {
    .main-product-img {
        width: 100%;
    }
}

.product-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars i {
    color: #ddd;
}

.stars i.active {
    color: #f6b01e;
}

.rating-count {
    font-size: 14px;
}

.product-meta {
    font-size: 15px;
    color: #444;
}

.tags .tag {
    display: inline-block;
    background: #444;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    margin-right: 6px;
    color: #fff;
}

.tags .tag:hover {
    background: var(--primary);
}

.price-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sale-price {
    font-size: 28px;
    font-weight: 700;
    color: #ff6f00;
}

.old-price {
    text-decoration: line-through;
    color: #999;
}

.stock {
    color: #2e7d32;
    font-weight: 500;
}

.quantity-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Qty box */
.qty-box {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.qty-box button {
    background: #f8f9fa;
    border: none;
    width: 36px;
    font-size: 18px;
}

.qty-box input {
    width: 45px;
    text-align: center;
    border: none;
}

@media only screen and (max-width: 768px) {
    .quantity-row {
        display: block;
        width: 100%;
    }

    .qty-box {
        width: 100%;
    }

    .qty-box button {
        width: 20%;
        font-size: 20px;
    }

    .qty-box input {
        width: 60%;
        font-size: 18px;
    }
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

/* Mobile view */
@media only screen and (max-width: 768px) {
    .action-buttons {
        display: block;
        width: 100%;
    }

    .action-buttons>* {
        width: 100%;
        margin-bottom: 10px;
    }
}

.btn-cart {
    background: #ff6f00;
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
}

.btn-cart:hover {
    color: #fff;
}

.btn-buy {
    background: #424242;
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
}

.btn-buy:hover {
    background: #727171;
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
}


.delivery-box {
    background: var(--bsh-bg);
    padding: 16px;
    border-radius: 12px;
    font-size: 14px;
}

.pd-floatbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 20px;
    width: 800px;
    z-index: 1050;
    padding: 10px 0;
    background: rgba(255, 255, 255, .92);
    margin: 0 auto;
    box-sizing: border-box;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: all .25s ease;
}

.pd-floatbar.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.pd-floatbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 200px;
    flex-shrink: 0
}

.pd-floatbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pd-floatbar-title {
    font-weight: 700;
    font-size: 15px;
    overflow: hidden;
    width: 400px !important;
}

.pd-floatbar-price {
    font-size: 16px;
    color: #444;
}

.pd-floatbar-old {
    margin-left: 8px;
    color: #999;
    text-decoration: line-through;
}

.pd-floatbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 600px;
    gap: 5px;
}

.pd-mini-cart {
    background: #444;
    color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-weight: 600;
    padding: 7px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 200px;
}

.pd-mini-buy {
    background: #ff6f00;
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    padding: 7px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 200px;

}

.pd-mini-buy:hover {
    background: #ff6f00;
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    padding: 7px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 200px;
}


/* =========================
   MOBILE SEARCH OVERLAY CSS
   ========================= */

.mobile-search-box {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    /* hidden by default */
    padding: 14px;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Show */
.mobile-search-box.show {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    pointer-events: auto;
}

/* Wrapper */
.search-wrapper {
    width: 100%;
    max-width: 520px;
    margin-top: 70px;
    position: relative;
    pointer-events: auto;
    transition: transform .25s ease, opacity .25s ease;
    transform: translateY(-8px);
    opacity: 0;
}

/* Animate in only when show */
.mobile-search-box.show .search-wrapper {
    opacity: 1;
    transform: translateY(0);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
    overflow: hidden;
}

/* Header (input area) */
.search-header {
    padding: 14px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

/* Input */
#mobileSearchInput {
    width: 100%;
    border: 1px solid var(--primary, #ff4d5a) !important;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 15px;
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

/* Focus OFF */
#mobileSearchInput:focus,
#mobileSearchInput:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: var(--primary, #ff4d5a) !important;
}

/* Close button */
.close-search-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: .2s ease;
}

.close-search-btn:hover {
    background: #f8f9fa;
    transform: scale(1.03);
}

/* Results */
#mobileSearchResult {
    max-height: min(70vh, 520px);
    overflow-y: auto;
    background: #fff;
}

/* Nice scrollbar */
#mobileSearchResult::-webkit-scrollbar {
    width: 8px;
}

#mobileSearchResult::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .18);
    border-radius: 10px;
}

#mobileSearchResult::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .05);
}

/* Result item */
.search-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    text-decoration: none;
    color: #111;
    transition: .15s ease;
}

.search-item:hover {
    background: rgba(0, 0, 0, .03);
}

.search-thumb {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 8px;
    flex: 0 0 auto;
}

.search-meta {
    flex: 1;
    min-width: 0;
}

.search-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-subtitle {
    font-size: 12px;
    margin: 2px 0 0;
    color: rgba(0, 0, 0, .6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-empty {
    padding: 18px 14px;
    text-align: center;
    color: rgba(0, 0, 0, .6);
}

/* Desktop polish */
@media (min-width: 992px) {
    .mobile-search-box {
        padding: 24px;
    }

    .search-wrapper {
        max-width: 650px;
        margin-top: 90px;
    }

    #mobileSearchInput {
        font-size: 16px;
        padding: 12px 14px;
    }

    #mobileSearchResult {
        max-height: min(65vh, 620px);
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .search-wrapper {
        margin-top: 55px;
    }

    .close-search-btn {
        width: 34px;
        height: 34px;
    }
}


.top-floating-bar {
    position: fixed;
    bottom: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9998;
}

.floating-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.floating-left i {
    font-size: 20px;
    color: var(--primary);
}

.floating-btn {
    background: var(--primary);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.floating-btn:hover {
    background: var(--primary);
}

.mobile-appbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    border-top: 2px solid #eee;
    padding-bottom: env(safe-area-inset-bottom);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
}

.appbar-item {
    text-align: center;
    color: #555;
    text-decoration: none;
    font-size: 12px;
}

.appbar-item i {
    font-size: 22px;
    display: block;
}

.appbar-item.active,
.appbar-item.active i {
    color: var(--primary);
}

.floating-cart {
    position: fixed;
    right: 26px;
    bottom: 90px !important;
    width: 62px;
    height: 62px;
    background: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #111;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    z-index: 9999;
}

.floating-cart i {
    font-size: 22px;
    color: #fff;
}

.cart-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 16px;
    height: 16px;
    padding: 2px;
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

#toast-container>.toast-success {
    background-color: var(--primary) !important;
    color: #fff;
}

#toast-container>.toast-error {
    background-color: #dc2626 !important;
    color: #fff;
}

#toast-container>.toast-warning {
    background-color: #f59e0b !important;
    color: #000;
}

#toast-container>.toast-info {
    background-color: #2563eb !important;
    color: #fff;
}

.coupon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}


.floating-contact {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
}

.contact-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    border: none;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-btn.chat {
    background: #333;
}

.contact-btn.whatsapp {
    background: #25D366;
}

.contact-btn.messenger {
    background: #0084FF;
}

.chat-options {
    display: none;
    flex-direction: column;
    align-items: center;
}