/* CSS Variables */
:root {
    --wooden-dark: #3E2723;
    --wooden-main: #5D4037;
    --wooden-light: #D7CCC8;
    --gold-accent: #C5A059;
    --bg-cream: #FAF9F6;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-cream);
    color: var(--wooden-dark);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    cursor: none;
    padding-top: 0 !important;
}

/* --- Sticky Navigation Logic --- */
/* পুরো হেডার সেকশনকে কন্ট্রোল করা */
header {
    width: 100%;
    z-index: 1050;
    position: relative;
}

/* --- Sticky Navigation --- */
header {
    width: 100%;
    z-index: 1050;
    position: relative;
}

.navbar {
    position: relative;
    z-index: 1050;
    background-color: var(--white) !important;
    padding: 15px 0;
    width: 100%;
    transition: all 0.3s ease;
}

/* জাভাস্ক্রিপ্ট যখন এই ক্লাসটি অ্যাড করবে */
.is-sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1070;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: white !important;
    animation: slideNav 0.3s ease-out;
}

@keyframes slideNav {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* --- UI Elements: Cursor & Scrollbar --- */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 99999;
    transform: translate(-50%, -50%);
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--gold-accent);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold-accent);
    transition: all 0.2s ease-out;
}

.cursor-hover {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(197, 160, 89, 0.2);
    border: none;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--wooden-main);
    border-radius: 10px;
    border: 2px solid var(--bg-cream);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-accent);
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loader-wood {
    width: 50px;
    height: 50px;
    border: 5px solid var(--wooden-light);
    border-top: 5px solid var(--wooden-dark);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- Search Overlay Styles --- */
.search-overlay {
    height: 100%;
    width: 100%;
    display: none;
    /* ডিফল্ট ভাবে লুকানো থাকবে */
    position: fixed;
    z-index: 10000;
    /* সবকিছুর ওপরে থাকবে */
    top: 0;
    left: 0;
    background-color: rgba(38, 20, 15, 0.95);
    /* উডেন ডার্ক ট্রান্সপারেন্ট ব্যাকগ্রাউন্ড */
    backdrop-filter: blur(8px);
    /* ঝাপসা এফেক্ট */
    animation: fadeIn 0.4s ease;
}

.search-overlay-content {
    position: relative;
    top: 30%;
    width: 80%;
    margin: auto;
    text-align: center;
}

.search-input-group {
    display: flex;
    border-bottom: 3px solid var(--gold-accent);
    padding: 10px 0;
}

.search-input-group input {
    background: transparent;
    border: none;
    width: 100%;
    color: white;
    font-size: 32px;
    font-weight: 300;
    outline: none;
}

.search-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-submit-btn {
    background: transparent;
    border: none;
    color: var(--gold-accent);
    font-size: 28px;
    cursor: pointer;
    transition: 0.3s;
}

.search-submit-btn:hover {
    transform: scale(1.2);
}

.close-search {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 60px;
    cursor: pointer;
    transition: 0.3s;
}

.close-search:hover {
    color: var(--gold-accent);
}

.search-result-item {
    transition: transform 0.3s ease;
}

.search-result-item:hover {
    transform: translateY(-3px);
    background-color: #f8f9fa !important;
}

.text-gold {
    color: #ffc107;
}

.bg-outline-gold {
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
    background: transparent;
    text-decoration: none;
    margin: 0 5px;
    padding: 8px 15px;
    transition: 0.3s;
}

.bg-outline-gold:hover {
    background: var(--gold-accent);
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .search-input-group input {
        font-size: 20px;
    }

    .close-search {
        right: 20px;
        top: 20px;
        font-size: 45px;
    }
}

/* --- Search Overlay Styles --- */

/* --- Right Side Cart Drawer Styles --- */
#cartDrawer {
    top: 0;
    width: 380px;
    height: 100vh;
    z-index: 1045;
    transition: transform 0.3s ease-in-out;
    border-left: 5px solid var(--gold-accent);
}

body:not(.is-sticky) #cartDrawer {
    padding-top: 10px;
}

body.is-sticky #cartDrawer {
    padding-top: 70px;
}

.offcanvas-body {
    overflow-y: auto;
}

.offcanvas-header {
    background: #fdfaf7;
}

.cart-img img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.btn-gold {
    background-color: var(--gold-accent);
    color: white;
    border: none;
    transition: 0.3s;
}

.btn-gold:hover {
    background-color: var(--wooden-dark);
    color: white;
}

/* মোবাইলে ড্রয়ারের সাইজ ফুল স্ক্রিন বা একটু ছোট করা */
@media (max-width: 576px) {
    #cartDrawer {
        width: 300px;
    }
}

/*End Cart Drawer Styles*/
/* কমন ট্রানজিশন */
a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Start Announcement Bar Styles */
.announcement-wrapper {
    position: relative;
    z-index: 1100;
    width: 100%;
    padding: 10px 0;
    color: var(--white);
    background-color: var(--wooden-dark);
}


.announcement-bar {
    display: flex;
    align-items: center;
    width: 100%;
}

.scrolling-content {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 30s linear infinite;
}

.scrolling-content span {
    font-size: 14px;
    font-weight: 500;
    padding: 0 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.announcement-wrapper:hover .scrolling-content {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* অর্ধেক টেক্সট পার হলে আবার শুরু হবে */
    }
}

/* End Announcement Bar Styles */

/* Start Mega Menu Styles */
.nav-link {
    font-weight: 500;
    font-size: 15px;
    padding: 0 15px !important;
    color: var(--wooden-dark) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--gold-accent) !important;
}

.mega-menu-box {
    top: 100%;
    left: 0;
    right: 0;
    padding: 10px 0;
    visibility: hidden;
    opacity: 0;
    display: block;
    transition: all 0.3s ease;
    margin-top: 0;
    border-radius: 0 0 15px 15px;
}

.nav-item.dropdown:hover .mega-menu-box {
    visibility: visible;
    opacity: 1;
    margin-top: 0;
}

.mega-menu-box h6 {
    color: var(--gold-accent);
    font-size: 14px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.mega-menu-box ul li a {
    color: #666;
    padding: 6px 0;
    display: block;
    font-size: 14px;
    transition: 0.3s;
}

.mega-menu-box ul li a:hover {
    color: var(--wooden-dark);
    padding-left: 5px;
}

/* Icon Styles */
.nav-icons a i {
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.nav-icons a:hover i {
    color: var(--gold-accent);
    transform: scale(1.1);
}

.no-arrow::after {
    display: none !important;
}

.badge {
    font-size: 10px;
    padding: 3px 6px;
}

@media all and (min-width: 992px) {

    /* ১. নেভিবার কন্টেইনারকে রিলেটিভ রাখা জরুরি */
    .navbar>.container-fluid {
        position: relative;
    }

    /* ২. ব্রিজিং প্যাডিং: হোভার স্টেট ধরে রাখার জন্য */
    .nav-item.dropdown.has-megamenu {
        position: static !important;
        /* ড্রপডাউনকে পুরো কন্টেইনারের উইডথ নিতে সাহায্য করবে */
        padding-bottom: 15px;
        margin-bottom: -15px;
    }

    /* ৩. মেগামেনু মেইন বক্স */
    .navbar .megamenu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        /* vw এর বদলে ১০০% ব্যবহার করা সেইফ */
        z-index: 1000;

        /* ডিসপ্লে এবং অ্যানিমেশন */
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        /* নিচে থেকে উপরে ওঠার ইফেক্ট */
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

        background-color: #fff;
        border: none;
        border-top: 3px solid var(--wooden-dark, #8B4513);
        border-radius: 0 0 10px 10px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
        padding: 40px 0;
    }

    /* ৪. হোভার স্টেট */
    .nav-item.dropdown.has-megamenu:hover .megamenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* ৫. মোবাইল ভিউ অপ্টিমাইজেশন */
@media (max-width: 991px) {
    .navbar .megamenu {
        width: 100% !important;
        margin: 0 !important;
        border: none;
        box-shadow: none;
        padding: 15px;
        display: none;
        /* বুটস্ট্র্যাপের .show ক্লাস এটি হ্যান্ডেল করবে */
    }

    .nav-item.has-megamenu.show .megamenu {
        display: block;
    }
}

/* End Mega Menu Styles */

/* Category Icons Styles */
.category-icons-section {
    background-color: var(--white);
}

.cat-item-link {
    text-decoration: none !important;
    display: block;
}

.cat-box {
    background: var(--bg-cream);
    padding: 20px 10px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cat-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--wooden-main);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border-radius: 50%;
    font-size: 24px;
    transition: 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.cat-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--wooden-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cat-item-link:hover .cat-box {
    transform: translateY(-8px);
    background-image: linear-gradient(var(--wooden-dark), var(--wooden-dark)) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.cat-item-link:hover .cat-icon {
    background: var(--gold-accent);
    color: var(--white);
}

.cat-item-link:hover .cat-name {
    color: var(--white);
}

@media (max-width: 768px) {
    .cat-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .cat-name {
        font-size: 10px;
    }
}

/* --- Circular Category Styles --- */

.cat-circle-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.cat-icon-center {
    font-size: 30px;
    color: var(--white);
    z-index: 2;
    transition: 0.3s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cat-name-bottom {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--wooden-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.cat-item-link:hover .cat-circle-wrapper {
    transform: scale(1.1);
    border-color: var(--gold-accent);
    box-shadow: 0 10px 25px rgba(62, 39, 35, 0.3) !important;
}

.cat-item-link:hover .cat-icon-center {
    color: var(--gold-accent);
    transform: scale(1.2);
}

.cat-item-link:hover .cat-name-bottom {
    color: var(--gold-accent);
}

@media (max-width: 576px) {
    .cat-circle-wrapper {
        width: 90px;
        height: 90px;
    }

    .cat-icon-center {
        font-size: 22px;
    }

    .cat-name-bottom {
        font-size: 11px;
    }
}

/* End Category Icons Styles */

/* Start Hero Slider Styles */

.hero-slider-link {
    position: relative;
    text-decoration: none;
    overflow: hidden;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
    /* নিচ থেকে হালকা কালো */
    z-index: 1;
    pointer-events: none;
    /* যাতে লিঙ্কে ক্লিক করতে সমস্যা না হয় */
}

.hero-slider-section {
    width: 100%;
    overflow: hidden;
    background-color: var(--bg-cream);
}

.hero-img {
    height: 650px;
    object-fit: cover;
    object-position: center;

    filter: brightness(0.85);
    transition: transform 5s ease;
}

.carousel-item:hover .hero-img {
    transform: scale(1.05);
}

.carousel-indicators [button] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--wooden-light);
    border: none;
    opacity: 0.7;
}

.carousel-indicators .active {
    background-color: var(--gold-accent) !important;
    width: 30px;
    border-radius: 5px;
    opacity: 1;
}

.carousel-caption {
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

/* স্লাইড হওয়ার সময় টেক্সট এনিমেশন (Optional) */
.carousel-item.active .animate_animated {
    animation-duration: 1s;
}

@media (max-width: 768px) {
    .hero-img {
        height: 350px;
    }

    .display-3 {
        font-size: 2.5rem;
    }
}

/* End Hero Slider Styles */

/* Optimized Video Reel Card Styles */
.vid-thumb {
    opacity: 1;
    z-index: 2;
    transition: opacity 0.3s ease;
    pointer-events: none;
    /* যাতে মাউস ভিডিওতে পৌঁছাতে পারে */
}

/* হোভার করলে থাম্বনেল ভ্যানিশ হবে */
.vid-card:hover .vid-thumb {
    opacity: 0;
    z-index: 1;
}

/* ভিডিওর পজিশন নিশ্চিত করা */
.vid-hover-player {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.vid-card:hover .vid-hover-player {
    z-index: 2;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 69, 19, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.full-card-link {
    display: block;
    text-decoration: none !important;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #1a1a1a;
    overflow: hidden;
}

.product-card .img-box video {
    pointer-events: none;
    object-fit: cover;
}

/* থাম্বনেল এবং ভিডিও উভয়ের জন্যই কমন স্টাইল */
.thumb-img,
.hover-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease-in-out;
}

/* ডিফল্ট অবস্থায় ভিডিও হাইড থাকবে এবং থাম্বনেল উপরে থাকবে */
.hover-video {
    opacity: 1;
    z-index: 1;
}

.thumb-img {
    position: absolute;
    z-index: 2;
}

.product-card:hover .hover-video {
    opacity: 1;
    z-index: 2;
}

.product-card:hover .thumb-img {
    opacity: 0;
    z-index: 1;
}

.video-container::after {
    content: '\f04b';
    /* FontAwesome Play Icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
    z-index: 3;
    pointer-events: none;
    transition: opacity 0.3s;
}

.product-card:hover .video-container::after {
    opacity: 0;
    /* হোভার করলে প্লে আইকন চলে যাবে */
}

.product-title {
    color: var(--wooden-dark);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
    margin-right: 8px;
}

.offer-price {
    color: var(--wooden-main);
    font-weight: 700;
    font-size: 16px;
}

.card-actions {
    border-top: 1px solid #eee;
}

.action-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 5px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

.cart-btn {
    border-right: 1px solid #eee;
    color: var(--wooden-dark);
}

.inquire-btn {
    border-right: 1px solid #eee;
    color: var(--wooden-main);
}

.order-btn {
    background: var(--wooden-dark);
    color: var(--white);
}

.action-btn:hover {
    background: var(--gold-accent);
    color: var(--white);
}

.videoSwiper {
    padding-bottom: 40px !important;
}

.custom-nav {
    background-color: rgba(255, 255, 255, 0.9);
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    color: var(--wooden-dark) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    border: 1px solid var(--wooden-light);
}

.custom-nav::after {
    font-size: 18px !important;
    /* অ্যারো-র সাইজ */
    font-weight: bold;
}

.custom-nav:hover {
    background-color: var(--wooden-dark);
    color: var(--gold-accent) !important;
    transform: scale(1.1);
}

.swiper-button-next {
    right: 10px !important;
}

.swiper-button-prev {
    left: 10px !important;
}

@media (max-width: 768px) {
    .custom-nav {
        display: none;
    }
}

/* end video carousel styles */

/* Start 3D Story Section Styles */
.story-section {
    background-color: var(--white);
}

.storySwiper {
    width: 100%;
    padding-top: 40px;
    padding-bottom: 50px;
}

.storySwiper .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 250px;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 4px solid var(--white);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.storySwiper .swiper-slide:hover {
    border-color: var(--gold-accent);
}

.story-card {
    width: 100%;
    height: 100%;
    position: relative;
}

.story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.storySwiper .swiper-slide:hover img {
    transform: scale(1.1);
}

.story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    text-align: center;
}

.story-overlay h5 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 1px;
}

.storySwiper .swiper-pagination-bullet-active {
    background-color: var(--wooden-dark) !important;
}

.story-split-section {
    background-color: var(--bg-cream);
    overflow: hidden;
    border-top: 1px solid var(--wooden-light);
    border-bottom: 1px solid var(--wooden-light);
}

.continuousStorySwiper {
    width: 100%;
    padding: 60px 0;
}

.continuousStorySwiper .swiper-slide {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid var(--white);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.continuousStorySwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.continuousStorySwiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.story-content {
    padding-right: 20px;
}

.story-content h2 {
    color: var(--wooden-dark);
    line-height: 1.2;
}

.btn-wood {
    background-color: var(--wooden-dark);
    color: var(--white);
    border-radius: 0;
    padding: 12px 30px;
    transition: 0.3s;
}

.btn-wood:hover {
    background-color: var(--gold-accent);
    color: var(--white);
}

@media (max-width: 991px) {
    .continuousStorySwiper .swiper-slide {
        width: 180px;
        height: 180px;
    }

    .story-content {
        text-align: center;
        padding-bottom: 40px;
    }
}

/* End 3D Story Section Styles */

/* --- Start Tab Pane Carousel Styles --- */
.custom-tab {
    color: var(--wooden-main) !important;
    font-weight: 600;
    text-transform: uppercase;
    border: none !important;
    padding: 10px 30px !important;
    transition: 0.3s;
    border-bottom: 3px solid transparent !important;
}

.custom-tab.active {
    background: transparent !important;
    color: var(--gold-accent) !important;
    border-bottom: 3px solid var(--gold-accent) !important;
}

/* ইমেজ বক্সকে ফিক্সড রেশিওতে আনা */
.img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* ইমেজ সবসময় চারকোণা বা সমান থাকবে */
    overflow: hidden;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ইমেজ স্ট্রেচ হবে না, সুন্দর করে বক্সের মধ্যে ফিট হবে */
}

/* টাইটেলের জন্য কন্টেইনার ফিক্স করা */
.product-title-container {
    height: 40px;
    /* ফিক্সড হাইট যাতে টাইটেল ১ বা ২ লাইন হলেও কার্ড না নড়ে */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 8px;
}

.product-title {
    font-size: 14px;
    /* বেস ফন্ট সাইজ */
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* সর্বোচ্চ ২ লাইন দেখাবে */
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.quick-view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 100%);
    background: var(--gold-accent);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transition: 0.4s ease;
    z-index: 2;
}

.product-card:hover .quick-view-btn {
    transform: translate(-50%, -50%);
    opacity: 1;
}

.product-card:hover .img-box img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.tab-nav {
    color: var(--wooden-dark) !important;
    background: white;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tab-nav:after {
    font-size: 16px !important;
    font-weight: bold;
}

.hover-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 20%);
    display: flex;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 5;
}

.product-card:hover .hover-actions {
    transform: translate(-50%, -50%);
    opacity: 1;
    visibility: visible;
}

.action-circle-btn {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    color: var(--wooden-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.action-circle-btn:hover {
    background: var(--gold-accent);
    color: var(--white);
    transform: scale(1.1);
}

.star-rating i {
    font-size: 12px;
}

.product-card:hover .img-box img {
    filter: brightness(0.85);
    transform: scale(1.05);
}

/* --- Start Tab Pane Carousel Styles --- */

/* --- Start Video Parallax Styles --- */
/* --- Section 8: Fixed Video Parallax (Contained) --- */
.video-parallax-container {
    position: relative;
    height: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* এটি ভিডিওকে এই বক্সের বাইরে যেতে দেবে না */
    clip-path: inset(0 0 0 0);
}

.parallax-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.parallax-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
}

.video-parallax-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.parallax-content {
    position: relative;
    z-index: 2;
}

.btn-gold {
    background-color: var(--gold-accent);
    color: white;
    border-radius: 0;
    border: none;
    transition: 0.3s;
}

.btn-gold:hover {
    background-color: var(--wooden-dark);
    color: white;
}

@media (max-width: 768px) {
    .video-parallax-container {
        height: 450px;
    }

    .parallax-video {
        position: absolute;
    }
}

/* --- End Video Parallax Styles --- */

/* Start Product Section Styles */
/* Sidebar Filter Customization */
.filter-sidebar {
    position: sticky;
    top: 100px;
    /* যেহেতু নেভবারটি স্টিকি, তাই তার নিচ থেকে এটি শুরু হবে */
    height: fit-content;
}

.custom-range::-webkit-slider-thumb {
    background: var(--gold-accent);
}

.custom-range::-moz-range-thumb {
    background: var(--gold-accent);
}

.form-check-input:checked {
    background-color: var(--wooden-dark);
    border-color: var(--wooden-dark);
}

@media (max-width: 991px) {
    .filter-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
}

.adv-product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #f1f1f1;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.adv-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.adv-product-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--gold-accent);
}

.adv-img-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* ইমেজ বক্স সবসময় বর্গাকার থাকবে */
    overflow: hidden;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-prod-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.adv-product-title-wrapper {
    height: 44px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
}

.adv-product-card:hover .main-prod-img {
    transform: scale(1.08);
}

.badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: white;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    z-index: 2;
}

/* Side Hover Actions */
.side-hover-actions {
    position: absolute;
    right: -50px;
    top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: 0.4s ease;
    z-index: 3;
}

.adv-product-card:hover .side-hover-actions {
    right: 15px;
}

.side-btn {
    width: 35px;
    height: 35px;
    background: white;
    border: none;
    border-radius: 50%;
    color: var(--wooden-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.side-btn:hover {
    background: var(--gold-accent);
    color: white;
}

.prod-cat-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
}

.prod-rating {
    font-size: 10px;
    color: #f1c40f;
}

.review-count {
    color: #bbb;
    margin-left: 3px;
}

.adv-product-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--wooden-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.adv-old-price {
    text-decoration: line-through;
    color: #a1a1a1;
    font-size: 14px;
    margin-right: 8px;
}

.adv-offer-price {
    color: var(--wooden-main);
    font-weight: 700;
    font-size: 18px;
}

/* Footer Buttons */
.adv-card-footer {
    margin-top: auto;
}

.adv-action-btn {
    flex: 1;
    border: none;
    background: none;
    padding: 12px 5px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

.adv-action-btn.cart {
    border-right: 1px solid #eee;
    color: var(--wooden-dark);
}

.adv-action-btn.inquire {
    border-right: 1px solid #eee;
    color: var(--wooden-main);
}

.adv-action-btn.order {
    background: var(--wooden-dark);
    color: white;
}

.adv-action-btn.order:hover {
    background: var(--gold-accent) !important;
}

.adv-action-btn:hover {
    background: var(--gold-accent);
    color: white;
}

/* Color Swatch Style */
.color-swatch {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
}

.color-swatch:hover {
    transform: scale(1.2);
    border-color: var(--gold-accent);
}

/* Material list hover */
.filter-group ul li a:hover {
    color: var(--gold-accent) !important;
    padding-left: 5px;
}

/* সুন্দর স্ক্রলবার যদি ফিল্টার অনেক বড় হয়ে যায় */
.filter-sidebar {
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
}

/* --- End Product Section Styles --- */
/*Product Details Page*/
/* --- Product Detail Styles --- */
.finish-swatch {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
    transition: 0.3s;
}

.finish-swatch.active {
    border-color: #fff;
    box-shadow: 0 0 0 2px var(--gold-accent);
}

.thumb-row img {
    cursor: pointer;
    transition: 0.3s;
}

.thumb-row img:hover {
    border-color: var(--gold-accent) !important;
}

.product-gallery .sticky-top {
    transition: top 0.3s ease;
}

/* --- Updated Product Gallery Styles --- */
#zoomContainer {
    cursor: zoom-in;
    background-color: #f8f9fa;
    height: 500px;
    /* আপনার প্রয়োজনমতো হাইট দিন */
    display: flex;
    align-items: center;
    justify-content: center;
}

#mainProductImg {
    transform-origin: center center;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.table th {
    font-weight: 600;
    color: var(--wooden-dark);
}

/*Product Details Page*/
/*Start Image Parallax Styles*/
.image-parallax-container {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: inset(0 0 0 0);
}

.img-parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    will-change: transform;
}

.parallax-overlay {
    width: 100%;
    height: 100%;
    background: rgba(38, 20, 15, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.text-gold {
    color: var(--gold-accent);
}

.parallax-stats .stat-item h3 {
    color: var(--gold-accent);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .image-parallax-container {
        height: auto;
        padding: 80px 0;
    }

    .img-parallax-bg {
        position: absolute;
    }

    .parallax-stats {
        flex-direction: column;
        gap: 20px !important;
    }
}

/*End Image Parallax Styles*/

/* --- Start Section: Services (Why Choose Us) --- */
.services-section {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.services-section i {
    transition: transform 0.3s ease;
}

.services-section div:hover i {
    transform: translateY(-10px) scale(1.1);
    color: var(--gold-accent) !important;
}

.services-section h6 {
    color: var(--wooden-dark);
    margin-top: 10px;
}

/* --- End Section: Services (Why Choose Us) --- */
/* --- Start Section: Testimonial Slider --- */
.testimonial-section {
    background-color: #fdfaf7;
}

.testimonialSwiper {
    padding: 40px 20px;
}

.testimonialSwiper .swiper-slide {
    background: #fff;
    border: 1px solid #eee !important;
    transition: 0.3s;
}

.testimonialSwiper .swiper-slide:hover {
    border-color: var(--gold-accent) !important;
    transform: translateY(-5px);
}

.testimonialSwiper img {
    border: 3px solid var(--gold-accent);
    padding: 3px;
    object-fit: cover;
}

/* --- End Section: Testimonial Slider --- */
/* ---Start Section: Instagram Gallery --- */
.insta-gallery img {
    height: 100%;
    width: 300px;
    object-fit: cover;
    cursor: pointer;
    transition: 0.4s;
    filter: grayscale(30%);
}

.insta-gallery img:hover {
    filter: grayscale(0%);
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.insta-gallery h2 {
    color: var(--wooden-dark);
}

/* ---End Section: Instagram Gallery --- */
@media (max-width: 768px) {
    .insta-gallery img {
        height: 120px;
    }
}

/*Start Whatsapp Button*/
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 90px;
    /* Back to Top বাটনের উপরে */
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}

/*End Whatsapp Button*/

/* --- Section: FAQ (Common Inquiries) --- */
.faq-section {
    background-color: #f9f6f2 !important;
    /* হালকা ব্রাউন-হোয়াইট ব্যাকগ্রাউন্ড */
}

#faqAccordion .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

#faqAccordion .accordion-button {
    background-color: #ffffff;
    color: var(--wooden-dark);
    font-size: 16px;
    padding: 20px;
    border: none;
    transition: all 0.3s ease;
}

#faqAccordion .accordion-button:not(.collapsed) {
    background-color: var(--wooden-dark);
    color: var(--gold-accent);
    box-shadow: none;
}

/* অ্যাকর্ডিয়ন আইকন (তীর চিহ্ন) কালার পরিবর্তন */
#faqAccordion .accordion-button::after {
    filter: brightness(0.5);
}

#faqAccordion .accordion-button:not(.collapsed)::after {
    filter: brightness(1) sepia(1) saturate(5) hue-rotate(10deg);
    /* গোল্ডেন কালার এফেক্ট */
}

#faqAccordion .accordion-body {
    background-color: #ffffff;
    line-height: 1.8;
    font-size: 15px;
    border-top: 1px solid #f1f1f1;
}

#faqAccordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.1);
}

/* --- Section: FAQ (Common Inquiries) --- */
/* --- Start Footer Styles --- */
.footer-section {
    background-color: var(--wooden-dark);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
}

.footer-heading {
    color: var(--gold-accent);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-text {
    color: #bcaaa4;
    /* হালকা ব্রাউন টেক্সট */
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #bcaaa4;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links li a:hover {
    color: var(--gold-accent);
    padding-left: 5px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    font-size: 14px;
}

.social-icon:hover {
    background: var(--gold-accent);
    color: var(--white);
    transform: translateY(-3px);
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 14px;
}

.newsletter-form .form-control::placeholder {
    color: #8d6e63;
}

.text-gold {
    color: var(--gold-accent);
}

.copyright-text {
    font-size: 13px;
    color: #8d6e63;
}

.payment-icons {
    font-size: 24px;
    color: #8d6e63;
    opacity: 0.7;
}

/* --- End Footer Styles --- */

.offcanvas.offcanvas-end {
    z-index: 9999 !important;
}

.offcanvas-backdrop {
    z-index: 9998 !important;
}

header,
.navbar {
    z-index: 1030;
}

#cartDrawer .offcanvas-header {
    padding: 1rem 1.25rem !important;
}

#cartDrawer .offcanvas-body {
    padding-top: 0.5rem !important;
}

.cart-items-wrapper {
    margin-top: 0;
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    border: 1px solid #f1f1f1;
}

.avatar-placeholder i {
    color: var(--gold-accent);
}

.dashboard-nav .nav-link {
    padding: 12px 15px;
    color: var(--wooden-dark) !important;
    transition: 0.3s;
}

.dashboard-nav .nav-link:hover {
    background-color: var(--bg-cream);
    color: var(--gold-accent) !important;
}

.dashboard-nav .nav-link.active {
    background-color: var(--wooden-dark);
    color: var(--gold-accent) !important;
}

/* Stat Cards */
.stat-card {
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.border-blue {
    border-color: #0d6efd !important;
}

.border-yellow {
    border-color: #ffc107 !important;
}

.border-green {
    border-color: #198754 !important;
}

.border-indigo {
    border-color: #6610f2 !important;
}

/* Table Adjustments */
.table thead th {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    color: #888;
}

#preloader {
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.wishlist-icon-btn {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.wishlist-icon-btn:hover {
    transform: scale(1.2);
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
    border-radius: 12px;
    padding: 15px 25px;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}