/* --- CSS Variables --- */
:root {
    --wooden-dark: #3E2723;
    --wooden-main: #5D4037;
    --wooden-light: #D7CCC8;
    --gold-accent: #C5A059;
    --bg-cream: #FAF9F6;
    --white: #ffffff;
    --beigetone: #C6B2A2;
    --charcoal: #1A1A1A;
    --off-black: #2C2C2C;
    /* Font base */
    --font-main: 'Poppins', sans-serif;
}

/* --- Base Resets & Global Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Standard base font size */
}

body {
    background-color: var(--bg-cream);
    color: var(--wooden-dark);
    font-family: var(--font-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    /* Note: If you really want to hide the cursor, keep it. 
       Otherwise, consider removing it for better user accessibility. */
    cursor: default;
    overflow-x: hidden;
}

.bg-wooden-light {
    background-color: var(--wooden-light) !important;
}

.text-wooden-light {
    color: var(--wooden-light) !important;
}

/* --- Link & List Resets --- */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold-accent);
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- Utility Class --- */
.resize-none {
    resize: none;
}

/* Base Style for all Wooden Buttons */
.btn-wood-base {
    padding: 10px 20px;
    border: 1px solid transparent;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Dark Wooden Button */
.btn-wooden {
    background-color: #8b5a2b;
    color: #ffffff;
    border-color: #704822;
}

.btn-wooden:hover,
.btn-wooden:focus,
.btn-wooden:active {
    background-color: #6b4226;
    border-color: #52321d;
    box-shadow: 0 4px 8px rgba(107, 66, 38, 0.3);
}

.btn-wooden i {
    color: #f5deb3;
}

/* Light Wooden Button */
.btn-lite-wooden {
    background-color: #D2B48C;
    border-color: #C19A6B;
    color: #3E2723;
}

.btn-lite-wooden:hover,
.btn-lite-wooden:focus,
.btn-lite-wooden:active {
    background-color: #DEB887;
    border-color: #D2B48C;
    box-shadow: 0 5px 15px rgba(139, 90, 43, 0.4);
}

/* Pulse Animation optimized */
.btn-lite-wooden:hover {
    animation: woodenLitePulse 2s infinite;
}

@keyframes woodenLitePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(210, 180, 140, 0.7);
    }

    70% {
        /* শ্যাডো একটু বেশি ছড়িয়ে পড়বে এবং শেষে অদৃশ্য হয়ে যাবে */
        box-shadow: 0 0 0 15px rgba(210, 180, 140, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(210, 180, 140, 0);
    }
}

.btn-lite-wooden i {
    color: #3E2723;
}

/* End Dark Wooden Button */

/* Custom Wooden Pagination */
.pagination-wooden .pagination {
    margin-bottom: 0;
    gap: 5px;
    /* পেজ নম্বরগুলোর মাঝে গ্যাপ তৈরি করার জন্য */
}

.pagination-wooden .page-link {
    color: var(--wooden-dark);
    background-color: #FDF5E6;
    border: 1px solid #DEB887;
    font-weight: 600;
    padding: 8px 16px;
    transition: all 0.3s ease-in-out;
    border-radius: 4px;
    /* পেজ নম্বরগুলোকে একটু সুন্দর রাউন্ড শেপ দেওয়ার জন্য */
}

/* Hover State */
.pagination-wooden .page-link:hover {
    background-color: #DEB887;
    color: var(--wooden-dark);
    border-color: #C19A6B;
    box-shadow: 0 2px 5px rgba(139, 90, 43, 0.2);
}

/* Active Page State */
.pagination-wooden .page-item.active .page-link {
    background-color: var(--wooden-main);
    border-color: #704822;
    color: var(--white);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Disabled State */
.pagination-wooden .page-item.disabled .page-link {
    color: #a08a78;
    background-color: #f9f6f0;
    border-color: #eaddcf;
    cursor: not-allowed;
    opacity: 0.6;
}

/* --- 2. Custom Cursor --- */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease-out;
    /* Smooth movement */
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--gold-accent);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold-accent);
}

.cursor-hover {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(197, 160, 89, 0.2);
    border-color: transparent;
}

@media (max-width: 991px) {

    .cursor-dot,
    .cursor-outline {
        display: none !important;
        /* মোবাইলে কাস্টম কার্সার বন্ধ */
    }
}

/* --- Custom Scrollbar --- */
/* Completely hide scrollbar by default */
::-webkit-scrollbar {
    width: 10px;
    background: transparent;
}

/* Show scrollbar when hovering over the body */
body:hover::-webkit-scrollbar {
    width: 0px;
}

::-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);
}

/* --- 4. Preloader --- */
#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;
    pointer-events: none;
}

.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 {
    to {
        transform: rotate(360deg);
    }
}

/* --- 1. Sticky Navigation --- */
header {
    width: 100%;
    z-index: 1030;
    position: relative;
}

.navbar {
    position: relative;
    z-index: 1050;
    background-color: var(--white);
    padding: 15px 0;
    width: 100%;
    transition: all 0.3s ease;
}

/* Sticky Class */
.navbar.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1070;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideNav 0.3s ease-out;
}

@keyframes slideNav {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* --- 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;
}

/* --- Desktop View (992px and up) --- */
@media all and (min-width: 992px) {
    .navbar .has-megamenu {
        position: static !important;
    }

    .navbar .megamenu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100% !important;
        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: var(--white);
        border-top: 3px solid var(--wooden-dark);
        border-radius: 0 0 15px 15px;
        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);
    }
}

/* --- Mobile View (991px and below) --- */
@media (max-width: 991px) {

    /* ড্রপডাউন মেনুটিকে মোবাইলে ব্লক হিসেবে দেখানোর জন্য */
    .dropdown-menu.megamenu {
        display: none !important;
        /* ডিফল্ট লুকানো */
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        background: var(--white);
        padding: 15px !important;
    }

    /* বুটস্ট্র্যাপ যখন ক্লিক করলে 'show' ক্লাস যোগ করবে, তখন দেখাবে */
    .dropdown-menu.megamenu.show {
        display: block !important;
    }
}

/* Mega Menu Content Styles */
.megamenu h6 {
    color: var(--gold-accent);
    font-size: 14px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.megamenu ul li a {
    color: #666;
    padding: 6px 0;
    display: block;
    font-size: 14px;
    transition: 0.3s;
}

.megamenu ul li a:hover {
    color: var(--wooden-dark);
    padding-left: 5px;
}

.navbar .dropdown-toggle {
    touch-action: manipulation;
}

/* Mobile View Optimized */
@media (max-width: 991px) {
    .navbar .megamenu {
        display: none;
        padding: 15px;
        max-height: 50vh;
        overflow-y: auto;
    }

    .nav-item.dropdown.show .megamenu {
        display: block !important;
    }
}

/* --- End of Mega Menu Styles --- */

/* --- Search Overlay Styles --- */
.search-overlay {
    height: 100%;
    width: 100%;
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    background-color: rgba(62, 39, 35, 0.95);
    /* Using var(--wooden-dark) value */
    backdrop-filter: blur(8px);
    animation: fadeIn 0.4s ease;
}

.search-overlay-content {
    position: relative;
    top: 30%;
    width: 80%;
    max-width: 800px;
    /* মোবাইল এবং বড় স্ক্রিনের জন্য লিমিট সেট করে দিলাম */
    margin: auto;
    text-align: center;
}

.search-input-group {
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--gold-accent);
    padding: 10px 0;
}

.search-input-group input {
    background: transparent;
    border: none;
    width: 100%;
    color: var(--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: transform 0.3s ease;
}

.search-submit-btn:hover {
    transform: scale(1.2);
}

.close-search {
    position: absolute;
    top: 30px;
    right: 50px;
    color: var(--white);
    font-size: 50px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-search:hover {
    color: var(--gold-accent);
}

/* Search Results Styling */
.search-result-item {
    transition: transform 0.3s ease;
    padding: 10px;
    border-radius: 5px;
}

.search-result-item:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.05);
    /* হালকা ট্রান্সপারেন্ট হোয়াইট */
}

.bg-outline-gold {
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
    background: transparent;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.bg-outline-gold:hover {
    background: var(--gold-accent);
    color: var(--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: 35px;
    }
}

/* --- End of Search Overlay Styles --- */
.cat-item-card {
    background-color: #faf8f5;
    border: 1px solid #f0eae1;
    transition: all 0.3s ease;
}

.cat-item-card:hover {
    transform: translateY(-6px);
    background-color: #ffffff;
    border-color: var(--gold-accent, #c5a059);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.07) !important;
}

.cat-icon-wrapper {
    width: 72px;
    height: 72px;
    background-color: #f2ece1;
    transition: all 0.3s ease;
}

.cat-item-card:hover .cat-icon-wrapper {
    background-color: var(--gold-accent, #c5a059);
}

/* Change SVG/Icon color to white when card is hovered */
.cat-item-card:hover .cat-icon-wrapper .icon-custom,
.cat-item-card:hover .cat-icon-wrapper svg {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

.cat-name-bottom {
    transition: color 0.2s ease;
}

.cat-item-card:hover .cat-name-bottom {
    color: var(--gold-accent, #c5a059) !important;
}

.cat-item-link {
    display: block;
    text-decoration: none !important;
}

.cat-box {
    padding: 20px 10px;
    background-color: var(--bg-cream);
    border: 1px solid transparent;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    background: var(--white);
    color: var(--wooden-main);
    font-size: 24px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.cat-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--wooden-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* Hover Effects */
.cat-item-link:hover .cat-box {
    transform: translateY(-8px);
    background: var(--wooden-dark);
    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);
}

/* Responsive */
@media (max-width: 768px) {
    .cat-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .cat-name {
        font-size: 10px;
    }
}



.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 */
/* Hero Section Layout */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 550px;
    background: #1a1a1a;
}

.hero-slider-section .carousel,
.hero-slider-section .carousel-inner,
.hero-slider-section .carousel-item {
    height: 100%;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dark Gradient Overlay */
.hero-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 15, 15, 0.85) 0%, rgba(15, 15, 15, 0.5) 60%, rgba(15, 15, 15, 0.3) 100%);
    z-index: 1;
}

.hero-slider-section .carousel-caption {
    z-index: 2;
    right: 15%;
    left: 5%;
    padding-bottom: 3rem;
    top: 0;
    bottom: 0;
}

.hero-content-wrapper {
    max-width: 450px;
    text-align: center;
}

/* Slide Number Box Styling */
.hero-slide-number {
    border: 1px solid var(--gold-accent, #c5a059);
    color: #fff;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.4);
}

.hero-tag-line {
    color: var(--gold-accent, #c5a059);
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Typography Styling */
.hero-main-title {
    font-family: serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-sub-text {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Explore Button Styling */
.hero-explore-btn {
    border: 1px solid var(--gold-accent, #c5a059);
    color: #ffffff;
    background: rgba(197, 160, 89, 0.2);
    padding: 12px 25px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    border-radius: 0;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.hero-explore-btn:hover {
    background: var(--gold-accent, #c5a059);
    color: #1a1a1a;
    border-color: var(--gold-accent, #c5a059);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.2rem;
    }

    .hero-slider-section {
        height: 70vh;
    }
}

/* 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;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
}

.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;
    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;
}

/* --- End Product Section Styles --- */

/* --- 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 {
    position: relative;
    background: linear-gradient(rgba(36, 21, 15, 0.90),
            rgba(36, 21, 15, 0.90)),
        url('/frontend/images/dark-walnut-texture.webp') center center / cover no-repeat;

    color: #F4EFE5;
    overflow: hidden;
}

/* Subtle luxury overlay */
.footer-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.15),
            transparent 45%,
            rgba(184, 138, 42, 0.06));
    pointer-events: none;
}

.footer-section .container {
    position: relative;
    z-index: 2;
}

/* Footer Brand */
.footer-section .navbar-brand {
    color: #F4EFE5 !important;
}

.footer-section .navbar-brand span {
    color: #C89B3C !important;
}

/* Footer headings */
.footer-heading {
    color: #D4A84F;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

/* Footer paragraph */
.footer-text {
    color: rgba(244, 239, 229, 0.78);
    line-height: 1.8;
}

/* Footer links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: rgba(244, 239, 229, 0.78);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #D4A84F;
    padding-left: 5px;
}

/* Social icons */
.social-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #F4EFE5;
    border: 1px solid rgba(212, 168, 79, 0.45);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #24150F;
    background: #D4A84F;
    border-color: #D4A84F;
    transform: translateY(-3px);
}

/* Newsletter */
.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.95);
    color: #24150F;
}

.newsletter-form .form-control::placeholder {
    color: #777;
}

.btn-gold {
    background: #B88A2A;
    color: #fff;
    border: 1px solid #B88A2A;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: #D4A84F;
    border-color: #D4A84F;
    color: #24150F;
}

/* Contact information */
.contact-info p {
    color: rgba(244, 239, 229, 0.78);
}

.contact-info i {
    color: #D4A84F !important;
}

/* Divider */
.footer-section hr {
    border-color: rgba(212, 168, 79, 0.35) !important;
}

/* Copyright */
.copyright-text {
    color: rgba(244, 239, 229, 0.65);
}

/* Payment icons */
.payment-icons i {
    color: #D4A84F;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.payment-icons i:hover {
    color: #F4EFE5;
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 767.98px) {
    .footer-section {
        background-position: center;
    }

    .footer-heading {
        margin-top: 0.5rem;
    }

    .payment-icons {
        margin-top: 1rem;
    }
}

/* --- End Footer Styles --- */

.offcanvas.offcanvas-end {
    z-index: 9999 !important;
}

.offcanvas-backdrop {
    z-index: 1010 !important;
}

header,
.navbar {
    z-index: 1030;
}

/* --- Right Side Cart Drawer Styles --- */
#cartDrawer {
    width: 380px;
    height: 100vh;/ z-index: 1020;
    transition: transform 0.3s ease-in-out;
    border-left: 5px solid var(--gold-accent);
    background-color: var(--white);
}

body.is-sticky #cartDrawer {
    padding-top: 70px;
}

.offcanvas.show {
    visibility: visible;
}

/* Offcanvas Header & Body Adjustments */
#cartDrawer .offcanvas-header {
    background-color: #fdfaf7;
    border-bottom: 1px solid var(--wooden-light);
    padding: 1rem 1.25rem;
}

#cartDrawer .offcanvas-body {
    padding: 0.5rem 1.5rem 1.5rem 1.5rem;
    overflow-y: auto;
}

/* Cart Item Styles */
.cart-img img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--wooden-light);
}

.cart-items-wrapper {
    margin-top: 0;
}

/* Cart Footer */
.cart-footer {
    padding: 1rem;
    border-top: 1px solid var(--wooden-light);
    background: var(--bg-cream);
}

/* Responsive adjustment */
@media (max-width: 576px) {
    #cartDrawer {
        width: 85vw;
    }
}

/* 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;
}

.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);
    }
}

.product-description ul {
    list-style-type: disc !important;
    padding-left: 20px !important;
    margin-bottom: 1rem !important;
}

.product-description ol {
    list-style-type: decimal !important;
    padding-left: 20px !important;
    margin-bottom: 1rem !important;
}

.product-description li {
    display: list-item !important;
    margin-bottom: 5px;
}

.vid-box {
    position: relative;
    overflow: hidden;
    background: transparent;
    /* ভিডিও লোড না হওয়া পর্যন্ত কালো ব্যাকগ্রাউন্ড */
}

/* ইমেজটি যদি আলাদা ট্যাগ হিসেবে থাকে */
.vid-thumb {
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
    /* ভিডিওর ইভেন্ট যাতে ব্লক না হয় */
}

/* ভিডিওর ওপরে ইমেজ থাকলে, হোভার করলে ইমেজ হাইড হবে */
.vid-card:hover .vid-thumb {
    opacity: 0;
}

video[poster] {
    background-color: transparent;
}

.icon-custom {
    display: inline-block;
    width: 60px !important;
    height: 100% !important;
    color: var(--gold-accent, #c5a059) !important;
    /* This automatically colors all SVG parts */
}

.icon-custom svg {
    width: 100% !important;
    height: 100% !important;
    color: inherit !important;
}

.container-xxxl {
    min-width: 1400px !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
}

/* Breadcrumb Wrapper Styles */
.breadcrumb-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    /* উচ্চতা প্রয়োজনমতো একটু বাড়িয়ে নিতে পারেন */
    display: flex;
    align-items: flex-end;
    /* লেখাগুলোকে একদম নিচে নামানোর জন্য এটি দিতে হবে */
    padding-bottom: 30px;
    /* নিচ থেকে হালকা ফাঁকা জায়গা রাখার জন্য */
    overflow: hidden;
}

.breadcrumb-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.breadcrumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* নিচ থেকে ওপরের দিকে একটি গ্রেডিয়েন্ট ওভারলে দিলে দেখতে আরও সুন্দর লাগবে */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
    z-index: 2;
}

.breadcrumb-container {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Left Side Title Style */
.breadcrumb-page-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
}

/* Right Side Breadcrumb Menu Style */
.breadcrumb-right .breadcrumb-item a {
    text-decoration: none;
    color: #e0e0e0;
    transition: color 0.3s ease;
}

.breadcrumb-right .breadcrumb-item a:hover {
    color: #ffffff;
}

.breadcrumb-right .breadcrumb-item.active {
    color: var(--gold-accent, #ffc107);
}

/* Enable hover effect for About Us dropdown with gap fix */
@media all and (min-width: 992px) {
    .navbar .nav-item.dropdown.has-about-dropdown:hover .about-dropdown-menu {
        display: block;
    }

    .about-dropdown-menu {
        margin-top: 38px;
        border-radius: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    /* Invisible bridge to prevent dropdown from disappearing across the gap */
    .about-dropdown-menu::before {
        content: "";
        position: absolute;
        top: -38px;
        /* Covers the exact margin gap */
        left: 0;
        width: 100%;
        height: 38px;
    }
}

/* Updated smooth blend overlay for seamless transition */
.image-blend-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    /* Increased width for a wider, more gradual fade */
    height: 100%;
    /* Multi-step gradient for a natural and seamless melt into the dark box */
    background: linear-gradient(to right,
            rgba(15, 15, 15, 0) 0%,
            rgba(15, 15, 15, 0.4) 50%,
            rgba(15, 15, 15, 0.9) 100%);
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .image-blend-overlay {
        display: none;
    }
}

.hero-left-blend {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

.hero-right-blend {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

@media (max-width: 991.98px) {

    .hero-left-blend,
    .hero-right-blend {
        display: none;
    }
}

.bespoke-image-blend {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 100%;
    background: linear-gradient(to right, rgba(59, 44, 36, 1) 0%, rgba(59, 44, 36, 0) 100%);
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .bespoke-image-blend {
        display: none;
    }
}

.base-banner-section-icons {
    font-size: 40px !important;
    color: var(--wooden-dark);
}

/* Initially hide info and overlay */
.category-overlay {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-info {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

/* Show on hover */
.category-card:hover .category-overlay {
    opacity: 1;
}

.category-card:hover .category-info {
    opacity: 1;
    transform: translateY(0);
}

/* Running Border Animation Lines */
.card-line-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-accent, #c5a059);
    transition: width 0.25s linear;
    z-index: 3;
}

.card-line-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 0;
    background-color: var(--gold-accent, #c5a059);
    transition: height 0.25s linear 0.25s;
    z-index: 3;
}

.card-line-bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-accent, #c5a059);
    transition: width 0.25s linear 0.5s;
    z-index: 3;
}

.card-line-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2px;
    height: 0;
    background-color: var(--gold-accent, #c5a059);
    transition: height 0.25s linear 0.75s;
    z-index: 3;
}

/* Trigger animations on hover */
.category-card:hover .card-line-top {
    width: 100%;
}

.category-card:hover .card-line-right {
    height: 100%;
}

.category-card:hover .card-line-bottom {
    width: 100%;
}

.category-card:hover .card-line-left {
    height: 100%;
}

/* Product Card Main Wrapper */
.hfm-product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #f1f1f1;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Rounded border line animation wrapper on hover */
.hfm-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: border-color 0.4s ease;
    pointer-events: none;
    z-index: 10;
}

.hfm-product-card:hover::before {
    border-color: var(--gold-accent);
}

.hfm-product-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Image Container */
.hfm-img-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f9f9f9;
    position: relative;
    border-radius: 10px;
}

.hfm-main-prod-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.hfm-product-card:hover .hfm-main-prod-img {
    transform: scale(1.08);
}

/* Black Opacity Overlay on Image Hover */
.hfm-overlay-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.hfm-product-card:hover .hfm-overlay-backdrop {
    background: rgba(0, 0, 0, 0.45);
}

/* Discount Badge */
.hfm-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 (Slide in from right) */
.hfm-side-hover-actions {
    position: absolute;
    right: -50px;
    top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 4;
}

.hfm-product-card:hover .hfm-side-hover-actions {
    right: 15px;
}

.hfm-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.15);
    transition: background 0.3s, color 0.3s;
}

.hfm-side-btn:hover {
    background: var(--gold-accent);
    color: white;
}

/* Card Body Slide-up Animation Overlay */
.hfm-card-body {
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: rgba(44, 30, 22, 0.88);
    backdrop-filter: blur(4px);
    z-index: 3;
}

.hfm-product-card:hover .hfm-card-body {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.hfm-cat-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
}

.hfm-prod-rating {
    font-size: 10px;
    color: #f1c40f;
}

.hfm-review-count {
    margin-left: 3px;
}

.hfm-product-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hfm-old-price {
    text-decoration: line-through;
    font-size: 14px;
    margin-right: 8px;
}

.hfm-offer-price {
    font-weight: 700;
    font-size: 18px;
}

/* --- Announcement Bar Styles --- */
.announcement-wrapper {
    position: relative;
    z-index: 1100;
    width: 100%;
    padding: 10px 0;
    color: var(--white);
    background-color: var(--wooden-dark);
}

/* Constrain overflow hidden only to the left column where text scrolls */
.announcement-col-left {
    overflow: hidden;
    position: relative;
}

.scrolling-content {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 30s linear infinite;
    width: 100%;
}

.scrolling-content span {
    font-size: 14px;
    font-weight: 500;
    padding: 0 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Pause animation on hover */
.announcement-wrapper:hover .scrolling-content {
    animation-play-state: paused;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Ensure currency dropdown is visible above everything */
.currency-switcher-dropdown .dropdown-menu {
    z-index: 9999 !important;
}

.scrolling-content a {
    display: inline-block;
    flex-shrink: 0;
}