:root {
    --burgundy: #4A0E1A;
    --charcoal-dark: #fff;
    --dark-gray: #1a1a1a;
    --darker-gray: #0a0a0a;
    --ivory: #F7F4EF;
    --gold: #f7bf46;
    --gold-hover: #B8923D;
    --burgundy-light: #2a0a10;
    --border-color: 1px solid rgba(201, 162, 77, 0.15);
    --border-card-radius: 16px;
    --banner-bg-color: #111111;
    --btn-bg-top: #3a0d1c;
    --btn-bg-mid: #2a0812;
    --btn-bg-bottom: #1a0610;
    --btn-border-color: #7a2030;
    --btn-border-width: 1.5px;
    --btn-border-radius: 5px;
    --btn-padding-y: 10px;
    --btn-padding-x: 18px;
    --btn-shadow-color: rgb(113 20 13 / 94%);
    --btn-shadow: inset 0 -6px 7px var(--btn-shadow-color);
    --btn-icon-color: #cc8090;
    --btn-font-size: 11.5px;
    --btn-letter-spacing: 1.4px;
    --card-img-bg: #ebebeb;
    --line: #e9e9e9;
    --colo-white: #fff;
    --red: #ff67674f;
    --text-red: #ff0000;
}

.manu-bar .main-manu li .active {
    color: #000;
    font-weight: bold;
    background-color: #f4ecbe;
    padding: 22px 10px;
}

.is-invalid {
    color: var(--text-red) !important;
    display: inline-block !important;
    font-size: 13px !important;
}


/* .form-control {
border-radius: 0;
font-size: 14px;
min-width: auto;
letter-spacing: 1.4px;
box-sizing: border-box;
line-height: 1.6;
height: 40px;
padding: 10px 14px;
vertical-align: middle;
border: 1px solid #EEEEEE !important;
transition: all 0.4s ease;
} */

.sidebar-widget .active {
    color: var(--gold);
}

.brand-logo .logo a {
    /* padding: 15px !important;
margin: 15px; */
    /* border: 1px solid #eeeeee; */
    border-radius: var(--btn-border-radius);
    /* box-shadow: -1px -1px 3px #ff84003b; */
}


/* .brand-logo .logo a img {
height: 80px;
} */

.mid-bar .logo a img {
    width: 100%;
}

.b-1 {
    border: 0;
}

.br-5 {
    border-radius: 5%;
}

.ad-poster {
    height: 250px;
    overflow: hidden;
    cursor: pointer;
}

.refunded {
    border-bottom: 1px solid #D5D5D5;
}

.back-to-top {
    display: block;
}

.profile-file {
    display: none;
}

.msg-error {
    color: red;
}

.dis-card,
.cat-items .item {
    cursor: pointer;
}

#product-area {
    position: relative;
    overflow: hidden;
}

#product-loader {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.8);
}

.overlay-content {
    position: absolute;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    top: 15%;
    left: 0;
    right: 0;
    text-align: center;
    color: #555;
}

.nice-select .list {
    height: 160px;
    overflow: auto;
    width: 100%;
}

.nice-select {
    border-radius: 5px !important;
    height: 50px;
}


/* section .table tbody td a.link-anime {
    min-width: 150px;
} */

.top-social-links a {
    width: 25px;
    height: 25px;
    line-height: 22px;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
    color: #6d6d73;
    border: 2px solid rgba(12, 25, 40, 0.03);
    transition: .4s ease;
}

.top-social-links a:hover {
    color: #ff8400;
    /* border: 2px solid rgba(0, 0, 0, 0.6); */
}

.contact-infos {
    width: 100%;
    height: auto;
    padding: 10px;
    border: 2px dotted var(--gold);
    border-radius: var(--btn-border-radius);
}

.contact-infos .single-item small {
    padding: 0 3px;
    border: 2px dotted var(--gold);
    line-height: 16px;
}


/* unibox */

.suggestion-wrap {
    width: 84%;
    left: 5%;
    overflow: hidden;
    padding: 0 15px;
    display: none;
}

.unibox-selectable a {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.unibox-selectable {
    margin: 15px 1px;
    display: block;
}

.unibox-selectable img {
    padding: 0 !important;
}

.mobile-and-desktop-search:hover .suggestion-wrap {
    display: block !important;
}

.brand-widget ul {
    max-height: 290px;
    overflow: auto;
}

.brand-widget {
    overflow: auto;
}

.bordered-price input {
    padding: 0;
    height: 30px;
    text-align: left !important;
}

.bordered-price {
    border: 1px solid #a8a8a8;
    color: #404040;
    background: #fff;
    text-align: left !important;
    padding: 0 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-input-wrapper1 {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.price-range-btnn {
    background-color: var(--btn-border-color);
    border-color: var(--btn-border-color);
    color: var(--colo-white);
    height: 32px;
    width: 32px;
    border: 0;
    box-shadow: none;
    border-radius: 5px;
}

.price-range-btnn span {
    font-size: 20px;
    height: 100%;
    line-height: 24px;
    display: block;
}

.product-size-wrap .product-size {
    overflow: hidden;
}

.product-card {
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    position: relative;
    border-radius: var(--btn-border-radius);
    transition: all .3s cubic-bezier(.25, .8, .25, 1);
    /* margin-bottom: 15px; */
    overflow: hidden;
    border: 1px solid var(--line);
    transition: all 0.3s ease;
    border: 1px solid var(--line);
    padding: 15px;
    border-radius: var(--btn-border-radius);
    box-shadow: 0 0 2px 1px #e9e9e9;
}


/* #ShopList .seller_product_grid_list_wrapper.product-card {
    height: auto;
    margin-top: 20px;
}

#ShopList .seller_product_grid_list_wrapper.product-card:not(:first-child) {
    margin-top: 20px;
} */

.product-card .product-img {
    background: var(--card-img-bg);
}

.product-card:hover {
    border-color: var(--btn-border-color);
}

.unibox-selectable.active,
.unibox-selectable:hover {
    background: rgba(55, 73, 187, .04) !important;
}

.unibox-selectable a {
    display: flex;
    padding: 5px 10px;
    gap: 15px;
}

.unibox-selectable a b {
    font-size: 16px;
    font-weight: 600;
    color: var(--gold) !important;
    line-height: 1;
}

.unibox-selectable a p {
    font-size: 16px;
    font-weight: 400;
    color: #000 !important;
    line-height: 1;
}

.unibox-selectable a .sess-discount {
    display: flex;
    align-items: center;
    gap: 10px;
}

.unibox-selectable a .sess-discount del {
    font-weight: 400;
    color: #191919 !important;
    line-height: 1;
    opacity: 0.8;
}

.unibox-selectable a .sess-discount b {
    color: #000 !important;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
}

.product-card-details small {
    color: var(--darker-gray) !important;
    font-weight: 500;
    line-height: 16px;
}

.product-serarch-btn {
    text-align: center;
    line-height: 20px;
    background: rgba(240, 75, 35, .02);
    border-radius: 5px;
    color: var(--gold);
    padding: 10px;
    display: block;
    border: none;
    box-shadow: none;
    width: 100% !important;
    font-size: 16px;
}

.unibox-selectable .input-group {
    display: block !important;
}

.product-serarch-btn:hover {
    background: var(--gold) !important;
    color: #fff;
}

small.sold-out {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    width: 90%;
    font-size: 18px;
    font-weight: bolder;
    color: #FFFFFF;
    z-index: 1;
    position: absolute;
    top: calc(45%);
    background-color: rgba(225, 49, 51, 0.8);
    padding: 5px;
    text-align: center;
    text-transform: uppercase;
}

.bordered-price .last,
.bordered-price .first {
    position: relative;
    top: 0px;
    left: -3px;
}

.support_view_wrapper.shop-list span.last,
.support_view_wrapper.shop-list span.first {
    font-size: 13px !important;
}

.image-thumbnail-with-video {
    position: relative;
}

.image-thumbnail-with-video .popup-youtube {
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 30px;
    z-index: 5;
}


/* 13-04 */


/* Chatbot Styles */

.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chatbot-fab {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(255, 132, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--colo-white);
    font-size: 24px;
    position: fixed !important;
    bottom: 100px !important;
    right: 30px !important;
    z-index: 0 !important;
}

.chatbot-fab:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(255, 132, 0, 0.6);
    background: var(--gold-hover) !important;
}

.chatbot-window {
    position: absolute;
    bottom: 0;
    top: auto;
    right: 0;
    width: 350px;
    height: 500px;
    background: var(--colo-white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    transition: all 0.3s ease;
    border: 1px solid var(--line);
}

.filter-toggle-btn.chatbot-fab {
    right: auto !important;
    left: 30px !important;
    border: 0;
}

.chatbot-window.active {
    display: flex;
    animation: slideInChat 0.4s ease-out;
}

@keyframes slideInChat {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* Sidebar hidden by default */

.shop-categories.sidebar.accordion {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.5s ease, opacity 0.4s ease, transform 0.4s ease;
}


/* Open state */

.shop-categories.sidebar.accordion.show-filter {
    max-height: 1200px;
    opacity: 1;
    transform: translateY(0);
}


/* Button smooth animation */

.chatbot-fab.filter-toggle-btn {
    transition: transform 0.3s ease;
}

.chatbot-fab.filter-toggle-btn.active {
    transform: rotate(180deg);
}

.mybazar-product-with-sidebar .sidebar {
    display: block;
}

.chatbot-header {
    padding: 15px 20px;
    background: var(--btn-border-color);
    color: var(--colo-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--colo-white);
}

.chatbot-header .close-chat {
    cursor: pointer;
    /* opacity: 0.8; */
    /* transition: opacity 0.2s; */
    background: var(--gold);
    padding: 10px;
    border-radius: 50px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
}

.chatbot-header .close-chat:hover {
    /* opacity: 1; */
    background: var(--gold-hover);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #fdfdfd;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    animation: fadeInMsg 0.4s ease-in;
}

@keyframes fadeInMsg {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.bot {
    align-self: flex-start;
    background: var(--line);
    color: var(--bg-dark);
    border-bottom-left-radius: 2px;
}

.message.user {
    align-self: flex-end;
    background: var(--gold);
    color: var(--bg-dark);
    border-bottom-right-radius: 2px;
}

.chatbot-input {
    padding: 15px;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 25px;
    padding: 8px 15px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.chatbot-input input:focus {
    border-color: var(--gol);
}

.chatbot-input button {
    background: var(--gold);
    color: var(--bg-dark);
    border: none;
    width: 40px;
    height: 100%;
    max-height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    margin-top: 2px;
}

.chatbot-input button:hover {
    background: var(--gold-hover);
}

.typing-indicator {
    padding: 10px 15px;
    background: var(--line);
    border-radius: 15px;
    width: fit-content;
    display: none;
}

.dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #999;
    border-radius: 50%;
    margin-right: 3px;
    animation: dotPulse 1.5s infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

@media (max-width: 767px) {
    .chatbot-window {
        width: 350px;
        height: 100%;
        min-height: 350px;
    }
}

@media (max-width: 480px) {
    .chatbot-window {
        width: 250px;
    }
}


/* Hide RateIt Reset Button */

.rateit .rateit-reset {
    display: none !important;
}


/* Ensure RateIt stars are yellow/gold */

.rateit .rateit-hover,
.rateit .rateit-selected,
.rateit .rateit-preset {
    color: #f7bf46 !important;
}


/* Ensure validation notifications are always on top of the header */

.lobibox-notify-wrapper {
    z-index: 9999999 !important;
}

.lobibox-notify {
    z-index: 9999999 !important;
}


/* Wishlist Button Overlay on Product Card Image */

.product-card .product-img .wishlist-btn {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: var(--colo-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--btn-border-color);
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card .product-img .wishlist-btn:hover {
    background: var(--btn-border-color, #7a2030);
    color: #ffffff !important;
    transform: scale(1.12);
    box-shadow: 0 6px 15px rgba(122, 32, 48, 0.3);
}


/* Adjust tag position to top-left so it doesn't collide with the wishlist button on top-right */

.product-card .product-img .tag.card_tag {
    right: auto !important;
    left: 10px !important;
    top: 10px !important;
}


/* Active Wishlist Button State */

.product-card .product-img .wishlist-btn.active {
    background: var(--colo-white) !important;
    color: var(--btn-border-color) !important;
    border-color: var(--btn-border-color, #7a2030) !important;
}