/*========================================
            INDEX PAGE STYLE
=========================================*/
.banner-part {
    padding: 10px 0px 20px;
}

.banner-category {
    border-radius: 5px;
    background: var(--white);
}

.banner-category-head {
    padding: 10px 0px;
    letter-spacing: 0.3px;
    border-radius: 5px 5px 0px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    color: var(--white);
    background: var(--primary);
}
.banner-category-head i {
    font-size: 16px;
    margin-right: 10px;
}

.banner-category-list {
    padding: 0px;
}

.banner-category-item {
    position: relative;
    border-bottom: 1px solid var(--border);
}
.banner-category-item:hover .banner-category-dropdown {
    opacity: 1;
    visibility: visible;
}
.banner-category-item:last-child {
    border-bottom: none;
}
.banner-category-item a {
    width: 100%;
    font-size: 14px;
    color: var(--text);
    padding: 5px 10px;
    text-transform: capitalize;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: all linear 0.3s;
    -webkit-transition: all linear 0.3s;
    -moz-transition: all linear 0.3s;
    -ms-transition: all linear 0.3s;
    -o-transition: all linear 0.3s;
}
.banner-category-item a:hover {
    border-radius: 5px;
    color: var(--primary);
    background: var(--chalk);
}
.banner-category-item a::before {
    position: absolute;
    top: 50%;
    right: 10px;
    content: "\f054";
    font-size: 10px;
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    transform: translateY(-50%);
}
.banner-category-item a i {
    font-size: 20px;
    margin-right: 15px;
    display: inline-block;
}

.banner-category-dropdown {
    position: absolute;
    max-width: -moz-fit-content;
    max-width: fit-content;
    top: 0px;
    left: 235px;
    z-index: 1;
    padding: 20px;
    border-radius: 5px;
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: all linear 0.3s;
    -webkit-transition: all linear 0.3s;
    -moz-transition: all linear 0.3s;
    -ms-transition: all linear 0.3s;
    -o-transition: all linear 0.3s;
    box-shadow: 15px 15px 25px 0px rgba(0, 0, 0, 0.08);
}
.banner-category-dropdown h5 {
    padding-bottom: 15px;
    text-transform: capitalize;
    border-bottom: 1px solid var(--border);
}

.banner-sub-category {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.banner-sub-category ul {
    margin-right: 20px;
}
.banner-sub-category ul:last-child {
    margin-right: 0px;
}
.banner-sub-category ul li {
    border-bottom: 1px solid var(--border);
}
.banner-sub-category ul li:last-child {
    border-bottom: none;
}
.banner-sub-category ul li a {
    width: 180px;
    white-space: nowrap;
}
.banner-sub-category ul li a::before {
    display: none;
}

.home-grid-slider img {
    width: 100%;
    border-radius: 8px;
}

@media (max-width: 991px) {
    .banner-category {
        display: none;
    }
}
@media (max-width: 767px) {
    .banner-promo {
        margin-bottom: 25px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .banner-category-list {
        overflow-y: scroll;
        overflow-x: hidden;
        height: 430px;
    }
    .banner-category-dropdown {
        left: 195px;
    }
}
.suggest-slider li {
    margin: 0px 10px;
}

@media (max-width: 575px) {
    .suggest-slider li {
        margin: 0px 5px;
    }
}
.new-slider li {
    margin: 0px 12px;
}

@media (max-width: 575px) {
    .new-slider .product-card {
        width: 220px;
    }
}
.testimonial-slider .slick-slide {
    opacity: 0.3;
    transform: scale(0.75);
    transition: all linear 0.3s;
    -webkit-transition: all linear 0.3s;
    -moz-transition: all linear 0.3s;
    -ms-transition: all linear 0.3s;
    -o-transition: all linear 0.3s;
}
.testimonial-slider .slick-center {
    opacity: 1;
    transform: scale(1);
    transition: all linear 0.3s;
    -webkit-transition: all linear 0.3s;
    -moz-transition: all linear 0.3s;
    -ms-transition: all linear 0.3s;
    -o-transition: all linear 0.3s;
}
.testimonial-slider .dandik,
.testimonial-slider .bamdik {
    opacity: 1;
    visibility: visible;
}
.testimonial-slider .dandik {
    right: 50px;
}
.testimonial-slider .bamdik {
    left: 50px;
}

.brand-slider .dandik,
.brand-slider .bamdik {
    top: 35%;
}

.blog-slider .blog-card {
    margin: 0px 15px 25px;
}
.blog-slider .dandik,
.blog-slider .bamdik {
    top: 43%;
}

@media (max-width: 767px) {
    .blog-slider .blog-card {
        margin: 0px 10px 25px;
    }
}

/*========================================
           HOME PAGE STYLE
=========================================*/

:root {
    --primary: #90502D;
    --secondary: #f12c53;
    --text: #000000;
    --shadow: 0 3px 3px gray;
}

/* Navbar Styles */
.navbar-content {
    border-radius: 10px;
    padding-left: 10px;
    background: var(--primary);
}

.navbar-link,
.dropdown-arrow::before,
.navbar-link:hover,
.dropdown-arrow:hover::before {
    color: white;
}

.dropdown-position-list li a:hover {
    color: var(--text);
}

/* Button Styles */
.btn-danger {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-danger {
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background-color: #f45e13;
    border-color: var(--primary);
}

.btn-check:active + .btn-outline-danger,
.btn-check:checked + .btn-outline-danger,
.btn-outline-danger.active,
.btn-outline-danger.dropdown-toggle.show,
.btn-outline-danger:active {
    background-color: black;
    border-color: black;
}

.btn-inline:hover {
    background: #e56f35;
}

/* Card Styles */
.product-card,
.category-product-card {
    box-shadow: var(--shadow);
    border-radius: 10px;
    border: 0;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.product-card:hover {
    border: 3px solid black;
}
.product-card {
    padding:0px;
}

.category-product-card {
    width: 95%;
}

.product-card .product-add {
    color: white;
    background: var(--primary);
    border-radius:0px;
    transition: background 0.3s ease;
}

.product-card .product-add:hover {
    background: var(--secondary);
}

/* Form Styles */
.form-check .form-check-label {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #fff !important;
    border: 4px solid red !important;
}

/* Pagination */
.pagination {
    align-items: center;
    overflow: scroll;
    text-overflow: ellipsis;
}

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

/* Header & Footer */

.header-top {
    color: white;
    max-height: 24px;
    background: var(--primary);
}

.footer-copywrite {
    background: var(--primary);
}

.backtop {
    background: #25D366;
}

.bg-success {
    background-color: var(--primary) !important;
}

.order-now {
    background-color: var(--primary) !important;
}

/* Media Queries */
@media (max-width: 365px) {
    .navbar-link,
    .dropdown-arrow::before,
    .navbar-link:hover,
    .dropdown-arrow:hover::before {
        color: var(--text);
        width: 100%;
    }

    .inner-section {
        margin-bottom: 5px;
    }

    .header-media-group a img {
        width: auto;
        height: 20px;
    }

    .category-media {
        max-width: 100%;
    }

    .category-media h6 {
        width: 180px;
        max-width: 85%;
        background: #aa046b;
        color: white;
        border: 1px solid black;
    }
}
.details-name {
    font-size: 20px;
    font-weight: 600;

}
.backtop{
    display:none;
}
@media (min-width: 370px) and (max-width: 3000px) {
    .header-media-group a img {
        width: auto;
        height: 20px;
    }

    .category-media {
        max-width: 100%;
    }

    .category-media h6 {
        width: 200px;
        max-width: 90%;
        background: #aa046b;
        color: white;
        border: 1px solid black;
    }
}
.label-text.sale{
    background:#aa046b;
}
.product-name{
    padding:0px 5px;
    text-align:left;
    justify-content:left;
    font-weight: 500;
}
.product-content{
    text-align:left;
}
.product-price {
    padding:0px 5px;
    justify-content: left;
}
.product-price span {
    font-size: x-large;
    font-weight: 600;
    color: #016938;
}
.product-price del {
    color: red !important;
    font-weight: 300;
}
.tab-descrip{
    width: 100% !important;
    height: auto;
    display: block;
    object-fit: cover;
}
.details-label.off {
    background: #24d366!important;
}
.tj-copy{
    display:none
}

.btn-check:checked + .btn-outline-danger, .btn-outline-danger.active, .btn-outline-danger.dropdown-toggle.show, .btn-outline-danger:active {
    background-color: #30cb71;
    border-color: #2fcc71;
    color:black;
}
.btn-outline-danger {
    color:black;
    border-color:black;
}
.melting-text-container {
    position: relative;
    overflow: hidden;
}
.jump{
    animation: pulse 2000ms infinite;
}
@keyframes pulse
{
    0%
    {
        transform: scale(.9);
    }
    50%
    {
        transform: scale(1.05);
    }
    100%
    {
        transform: scale(.8);
    }
}
.title{
    color:black;
    font-weight:600!important;
}
.inside {
    font-weight: 500;
    font-size: 1.3rem;
    padding: 10px;
}
.counter-box {
    margin: 5px auto;
    text-align: center;
    padding: 5px;
    font-size: 15px;
    background-color: #83032817;
    border: 5px solid #83037c;
    border-radius: 15px;
    max-width: 95%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.counter-title {
    font-weight: bold;
    color: #333;
}
.remaining-count {
    font-weight: bold;
    color: #f02020;
    margin: 10px 0;
}
.error {
    color: red;
    font-size: 18px;
    display: none;
}
.details-price {
    margin-bottom: 0px!important;
}
.jump
{
    animation: pulse 4000ms infinite;
    font-size: 1.5em;
}
@keyframes pulse
{
    0%
    {
        transform: scale(.9);
    }
    50%
    {
        transform: scale(1.05);
    }
    100%
    {
        transform: scale(.9);
    }
}

@media (max-width: 767px){

    .product-gallery-preview-item>img {
        max-width: 94%;
        margin: 0px auto;
    }
    .inner-section {
        margin-bottom: 1px;
    }
    .nav {
        margin-bottom: 5px;
    }
    .nav-tabs {
        flex-wrap: wrap;
        flex-direction: row;

    }
    .tab-link.active {
        border-bottom: 3px solid var(--primary);
        padding-bottom: 2px;
        color: var(--primary);
    }


}
.fa-trash-alt{
    display:none;
}

.drop-box {
    width: 100%;
    height: 50px;
    border: 2px dashed #83037c;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #83037c;
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}


.header-offer-top {
    background: linear-gradient(135deg, #fbf7f4 0%, #f3e9e2 100%);
    padding: 7px 0;
    border-bottom: 1px solid #e6d5cb;
    box-shadow: inset 0 -1px 0 rgba(139, 68, 43, 0.05);
}
.contact-info {
    display: flex;
    align-items: center;
    gap: 14px;
}
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #7a3e1e;
    text-decoration: none;
    white-space: nowrap;
}
.contact-link.whatsapp {
    color: #128c3e;
}
.contact-link i {
    font-size: 12px;
}
.contact-divider {
    width: 1px;
    height: 14px;
    background: #d4b8a8;
}

.offer-buttons-wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
}

.offer-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 50px;
    box-shadow: 0 3px 6px rgba(139, 68, 43, 0.15);
    white-space: nowrap;
    flex-shrink: 0;
    transition: order 0s, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.btn-flash {
    background: linear-gradient(45deg, #ff4e50, #f9d423);
    text-transform: uppercase;
}

.btn-hot {
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
}

.btn-gift {
    background: linear-gradient(45deg, #11998e, #38ef7d);
}

.offer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(139, 68, 43, 0.25);
    filter: brightness(1.05);
}

@media (max-width: 575px) {
    .header-offer-top {
        padding: 6px 0;
    }
    /* মোবাইলে দুই সেকশন আলাদা লাইনে */
    .header-offer-top .row {
        flex-direction: column;
        gap: 5px;
    }
    .header-offer-top .col-5,
    .header-offer-top .col-7 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    .contact-info {
        justify-content: center;
        gap: 6px;
    }
    .contact-link {
        font-size: 11px;
    }
    .contact-link i {
        font-size: 11px;
    }

    .offer-buttons-wrapper {
        justify-content: center;
        gap: 6px;
    }

    .offer-btn {
        padding: 4px 10px;
        font-size: 10.5px;
        border-radius: 4px;
    }

    .offer-btn i {
        font-size: 10px;
    }

}

.product-image {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1; /* অথবা আপনার নির্দিষ্ট height */
}
.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s ease;
}
.product-image img.img-primary   {
    opacity: 1;
    z-index: 1;
}
.product-image img.img-secondary {
    opacity: 0;
    z-index: 0;
}

.product-image.show-secondary img.img-primary   {
    opacity: 0;
}
.product-image.show-secondary img.img-secondary {
    opacity: 1;
    z-index: 1;
}
/* Hot Deal সেকশন */
.hot-deal-part {
    padding: 30px 0;
}

.hot-deal-slider .slick-track {
    display: flex !important;
}
.hot-deal-slider .slick-slide {
    height: inherit !important;
    padding: 0 6px;
}
.hot-deal-slider .slick-slide > div {
    height: 100%;
}
.hot-deal-item {
    height: 100%;
}
.hot-deal-item .product-card {
    height: 100%;
    margin: 4px 0 8px; /* card shadow কাটা না যায় */
}

/* স্লাইডার নেভিগেশন বাটন — দরকার না হলে বাদ */
.hot-deal-slider .slick-prev,
.hot-deal-slider .slick-next {
    z-index: 2;
    width: 32px;
    height: 32px;
    background: #7a3e1e;
    border-radius: 50%;
}
.hot-deal-slider .slick-prev {
    left: -10px;
}
.hot-deal-slider .slick-next {
    right: -10px;
}
.hot-deal-slider .slick-prev:before,
.hot-deal-slider .slick-next:before {
    font-size: 16px;
    line-height: 32px;
}

.savecolor{
    padding: 5px;
    color: #81017f;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.6em;
    background: #ede8ed;
}
