:root {
    --fm-main: #502D81;
    --fm-light-main: color-mix(in srgb, var(--fm-main), transparent 90%);
    --fm-white: #ffffff;
    --fm-black: #000000;
    --fm-green: #198357;
    --fm-red: #dc3545;
    --fm-light-red: rgba(220, 53, 69, 0.1);
    --gradient-background: #f7f7f7;
    --fm-section-bg: #fbfbfb;
    --color-foreground: 102, 102, 102;
    --obj-pos: start;
    --icon-rotation: 0deg;
    --back-to-top-rotation: 0deg;
    --dir-factor: 1;
}

[dir="rtl"] {
    --obj-pos: end;
    --icon-rotation: 180deg;
    --back-to-top-rotation: 360deg;
    --dir-factor: -1;
}

/* === Universal RTL Icon Rotation === */
.bi-arrow-right, 
.bi-arrow-left, 
.bi-chevron-right, 
.bi-chevron-left {
    display: inline-block;
    transform: rotate(var(--icon-rotation));
    transition: transform 0.3s ease;
}

body { 
    font-family: 'Segoe UI', Roboto, sans-serif; 
    margin: 0; 
    padding: 0; 
}

.bg-gray {
    background-color: var(--gradient-background);
}

.bg-main {
    background-color: var(--fm-main);
}

.text-main {
    color: var(--fm-main);
}

.text-justify {
  text-align: justify !important;
}

.fs-12 {
    font-size: 12px;
}

.fs-xs {
    font-size: 0.7rem !important;
}

.border-main {
    --bs-border-opacity: 1;
    border-color: var(--fm-main) !important;
}

.btn-main {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--fm-main);
    --bs-btn-border-color: var(--fm-main);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #633b9e; 
    --bs-btn-hover-border-color: #5c3693;
    --bs-btn-focus-shadow-rgb: 80, 45, 129;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #3f2366;
    --bs-btn-active-border-color: #371f59;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: rgba(255, 255, 255, 0.65);
    --bs-btn-disabled-bg: #502D81;
    --bs-btn-disabled-border-color: #502D81;
}

.btn-outline-main {
    border: 1px solid var(--fm-main);
    color: var(--fm-main);
}

.btn-outline-main:hover {
    background-color: var(--fm-main);
    color: #fff;
}

.small-title {
    font-size: 13px;
    line-height: 1.3;
}

.z-5 {
    z-index: 5 !important;
}

.z-10 {
    z-index: 10 !important;
}

.obj-cover {
    object-fit: cover !important;
}

.obj-contain {
    object-fit: contain !important;
}

.obj-center {
    object-position: center !important;
}

/* === OWNER === */
.owner-designation {
    font-size: 0.7rem;
    line-height: 1.2;
}

.owner-name{
    color: #198754 !important;
}

/* === CREDIT === */
.text-credit {
  color: var(--fm-main);
}

.text-credit a {
  color: var(--fm-main);
}

.text-credit a:hover {
  color: var(--fm-red);
  opacity: 1;
}

/* === TOP BAR === */
.top-bar {
    color: white;
    font-size: 13px;
    position: relative;
    z-index: 1025; 
}

.top-bar .container {
    background-color: var(--fm-main);
    border-end-start-radius: 10px;
    border-end-end-radius: 10px;
    border-start-start-radius: 0;
    border-start-end-radius: 0;
    padding: 10px;
}

.top-bar .container .row {
    padding: 0 32px;
}

.top-bar .dropdown-toggle {
    cursor: pointer;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
}

.top-bar .dropdown-toggle::after { 
    display: none; 
} 

.top-bar .dropdown-menu {
    margin-top: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.top-bar .dropdown-menu .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    color: #444;
    transition: all 0.3s ease;
    border-radius: 4px; 
    border-inline-start: 3px solid transparent;
}

.top-bar .dropdown-menu .dropdown-item:hover {
    background-color: var(--fm-light-main);
    color: var(--fm-main);
    padding-inline-start: 25px;
    border-inline-start-color: var(--fm-main);
}

.top-bar .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 8px;
}

.top-bar a.dropdown-item.active {
    background-color: var(--fm-main);
    color: var(--fm-white);
}
/* === HEADER === */

/* LOGO */
.header-logo-img {
    height: 60px; 
    width: auto;
    transition: height 0.3s ease; 
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}

@media (max-width: 991px) {
    .header-logo-img {
        height: 50px;
    }
}

@media (max-width: 575px) {
    .header-logo-img {
        height: 50px;
    }
}

/* SEARCH BAR */
.search-container {
    background-color: var(--fm-light-gray);
    border: 1px solid var(--fm-main);
    border-radius: 50px;
    padding: 4px 18px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}
.search-container:focus-within {
    background-color: #fff;
    border-color: var(--fm-main);
    box-shadow: 0 0 0 4px var(--fm-light-main);
}
.search-input {
    border: none;
    background: transparent;
    box-shadow: none !important;
    font-size: 14px;
}
.search-btn {
    background: none;
    border: none;
    padding: 0;
    color: #666;
    transition: color 0.2s, transform 0.2s;
}
.search-btn:hover {
    color: var(--fm-main);
    transform: scale(1.1);
}

.btn-clear-search {
    border: none;
    background: transparent;
    color: #999;
    padding: 0 10px;
    font-size: 18px;
    transition: color 0.2s;
    cursor: pointer;
}

.btn-clear-search:hover {
    color: #666;
}

.search-suggestions {
    position: absolute;
    top: 105%;
    inset-inline-start: 0;
    inset-inline-end: auto;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #eee;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #444;
    font-size: 14px;
    transition: background 0.2s;
}

.search-suggestion-item:hover {
    background-color: #f8f9fa;
    color: var(--fm-main) !important;
}

.search-suggestion-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.search-suggestion-item span {
    font-weight: 500;
}

.mobile-search-row .btn-clear-search {
    right: 45px;
}

/* CART & ICONS */
.header-action-icon {
    color: var(--fm-main);
    font-size: 22px;
    transition: color 0.2s, transform 0.2s;
    text-decoration: none;
}

.header-action-icon:hover { 
    color: var(--fm-main); 
    transform: translateY(-2px); 
}

.header-cart-btn {
    background: white;
    border: 1px solid var(--fm-main);
    border-radius: 10px;
    padding: 8px 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.header-cart-btn:hover { 
    background-color: var(--fm-main); 
    border-color: var(--fm-main); 
}

.header-cart-btn:hover span, .header-cart-btn:hover i { 
    color: white !important; 
}

.header-cart-badge-pill {
    font-size: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-action-icon,
.btn-clear-search,
.search-btn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* CART OFFCANVAS */
.cart-offcanvas-sidebar { 
    width: 400px !important; 
}

.cart-offcanvas-body {
    height: 100%;
    overflow: hidden; 
}

#cart-offcanvas-items-view {
    scrollbar-width: thin; 
}

.cart-offcanvas-footer {
    flex-shrink: 0;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.05); 
}

.cart-offcanvas-img-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-offcanvas-img-wrapper img {
    width: 70px; 
    height: 70px; 
    object-fit: cover;
}

.cart-offcanvas-qty-selector { 
    height: 32px; 
}

.cart-offcanvas-btn-checkout {
    background-color: var(--fm-light-main);
    color: var(--fm-black);
    border: var(--fm-main) 1px solid;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.2s;
}

.cart-offcanvas-btn-checkout:hover {
    background-color: var(--fm-main);
    color: var(--fm-white);
}

.cart-offcanvas-btn-viewcart {
    background-color: var(--fm-main);
    color: var(--fm-white);
    border: var(--fm-main) 1px solid;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.2s;
}
.cart-offcanvas-btn-viewcart:hover {
    background-color: var(--fm-main); 
    color: var(--fm-white);
    border: 1px solid var(--fm-main);
    box-shadow: none; 
    outline: none;
}

#cart-offcanvas-empty-view {
    min-height: 300px;
}

.cart-offcanvas-empty-icon svg {
    color: #888;
}

.cart-offcanvas-btn-continue-shopping {
    background-color: #fff;
    border: 1px solid var(--fm-main);
    color: #333;
    border-radius: 4px;
    transition: 0.3s;
}

.cart-offcanvas-btn-continue-shopping:hover {
    background-color: var(--fm-main);
    color: white;
    border-color: var(--fm-main);
}

.cart-offcanvas-body.d-flex.flex-column {
    justify-content: center;
}

/* RESPONSIVE :: TOP BAR, HEADER */
@media (max-width: 991.98px) {
    .top-bar-start { 
        text-align: center; 
        margin-bottom: 5px; 
    }

    .top-bar-end { 
        justify-content: center !important; 
    }

    .header-contact-info { 
        display: none; 
    }

    .mobile-search-row { 
        margin-top: 15px; 
    }
}

/* === Z-INDEX ISSUE RESOLVED BETWEEN TOPBAR-HEADER-MAINNAVBAR === */
@media (max-width: 991px) {
    header.sticky-top {
        overflow: visible !important; 
        z-index: 1030 !important;
    }

    .mobile-search-row .search-container {
        overflow: visible !important;
    }

    .top-bar {
        z-index: 1040 !important;
    }
}

#mobileSearchSuggestions {
    z-index: 9999 !important;
}

/* === SERVICE POINT SECTION === */
.service-point-icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: var(--fm-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-point-item {
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    cursor: default;
}

.service-point-item:hover .service-point-icon-wrapper {
    transform: scale(1.1);
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.service-point-content h6 {
    font-size: 1.05rem;
    color: #212529;
}

.service-point-content small {
    font-size: 0.85rem;
    line-height: 1.2;
    display: block;
}

@media (max-width: 575px) {
    .service-point-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }
    .service-point-icon-wrapper {
        margin-inline-end: 0 !important;
        margin-bottom: 10px;
    }
}

/* === HERO SLIDER === */
.hero-slider-section {
    position: relative;
}

.hero-slider-section .container {
    position: relative;
}

#heroCarousel {
    overflow: hidden;
    border-radius: 1.5rem;
}

.hero-slide-wrapper {
    position: relative;
    height: 500px; 
    background-color: #f4fbf7;
}

.hero-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: var(--obj-pos) center;
}

.hero-text-overlay {
    position: absolute;
    top: 50%;
    inset-inline-start: 8%;
    inset-inline-end: auto;
    transform: translateY(-50%);
    width: 45%;
}

.hero-badge {
    background-color: #e3000f;
    color: #fff;
    padding: 6px 14px;
    font-weight: 600;
    font-size: 13px;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
}

.hero-title {
    color: var(--fm-main, #198357);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 15px;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #666;
}

.btn-hero-shop {
    background: #fff;
    border: 2px solid var(--fm-main, #198357);
    color: #000;
    margin-top: 200px;
    padding: 12px 28px;
    font-weight: bold;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-hero-shop:hover {
    background: var(--fm-main, #198357);
    color: #fff !important;
}

.btn-hero-shop svg {
    transition: transform 0.3s ease-in-out;
}

[dir="rtl"] .btn-hero-shop svg {
    transform: scaleX(-1);
}

.btn-hero-shop:hover svg {
    transform: translate(calc(5px * var(--dir-factor)), -5px);
}

[dir="rtl"] .btn-hero-shop:hover svg {
    transform: scaleX(-1) translate(calc(-5px * var(--dir-factor)), -5px);
}

.hero-slider-prev,
.hero-slider-next {
    width: 60px;
    height: 100%;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.hero-slider-section:hover .hero-slider-prev,
.hero-slider-section:hover .hero-slider-next {
    opacity: 1;
}

.hero-slider-prev { 
    inset-inline-start: 15px;
    inset-inline-end: auto;
}

.hero-slider-next { 
    inset-inline-start: auto;
    inset-inline-end: 15px; 
}

.hero-slider-prev-icon,
.hero-slider-next-icon {
    background-color: rgba(0, 0, 0, 0.4) !important;
    background-size: 45%;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease !important;
    border: none !important;
}

.hero-slider-prev:hover .hero-slider-prev-icon,
.hero-slider-next:hover .hero-slider-next-icon {
    background-color: var(--fm-main) !important;
    transform: scale(1.1);
}

.hero-slider-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--fm-main);
    margin: 0 6px;
    border: none;
}

.hero-slider-indicators button {
    min-width: 30px;
    min-height: 12px;
    margin-left: 4px !important;
    margin-right: 4px !important;
    padding: 10px 0;
    background-clip: padding-box;
}

@media (max-width: 991px) {
    .hero-slide-wrapper { 
        height: 400px; 
    }

    .hero-title { 
        font-size: 2.2rem; 
    }

    .hero-text-overlay { 
        width: 65%; 
        inset-inline-start: 5%;
    }

    .hero-slider-prev, .hero-slider-next { 
        opacity: 1; 
    }
}

@media (max-width: 767px) {
    .hero-slide-wrapper { 
        height: 350px; 
    }

    .hero-title { 
        font-size: 1.8rem; 
    }

    .hero-text-overlay { 
        width: 85%; 
    }

    .hero-img { 
        object-position: 70% center; 
    }

    .hero-slider-prev, .hero-slider-next { 
        display: none; 
    }
}

/* === FOOTER === */
/* .footer-section {
    background-color: var(--fm-light-main);
} */

.footer-top .container {
    background-color: #111111;
    color: #ffffff;
    border-radius: 25px;
}

.footer-logo {
    height: 100px;
    width: auto;
    filter: brightness(1.1);
    transition: height 0.3s ease;
}

@media (max-width: 991px) {
    .footer-logo {
        height: 80px;
    }
}

@media (max-width: 575px) {
    .footer-logo {
        height: 80px;
    }
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-heading {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.footer-sub-heading {
    display: block;
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

.footer-list li {
    margin-bottom: 12px;
}

.footer-list li a {
    display: inline-block;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-list li a:hover {
    color: var(--fm-white);
    padding-inline-start: 5px;
}

.footer-text {
    color: #e2e8f0 !important;
}

.footer-bottom {
    color: #2d1d49;
}

.footer-bottom .text-main {
    color: var(--fm-main);
}

.footer-bottom p {
    font-weight: 500;
}

/* SOCIAL ICONS :: FOOTER */
.social-box-footer {
    min-width: 44px;
    min-height: 44px;
    border-radius: 8px;
    background-color: #222222;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.social-box-footer:hover {
    background-color: var(--fm-main);
    color: var(--fm-white);
    transform: translateY(-3px);
}

/* PAYMENT BOX :: FOOTER */
.payment-methods-footer {
    max-width: 100%; /* আইকনগুলো যাতে খুব বেশি ছড়িয়ে না যায় */
}

.payment-box {
    width: 50px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    transition: all 0.3s ease;
}

.payment-box:hover {
    transform: translateY(-3px);
    background-color: var(--fm-white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.payment-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* === App Download Links Footer === */
.app-links-footer {
    max-width: 100%;
    display: flex;
    align-items: center;
}

.app-box {
    width: 130px;
    height: auto;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.app-box:hover {
    transform: translateY(-3px);
    background-color: var(--fm-white);
    filter: brightness(1.1);
}

.app-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.app-links-footer .app-box,
.payment-methods-footer .payment-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 6px;
}

@media (max-width: 767px) {
    .footer-section { text-align: center; }
    .footer-section .d-flex.gap-2 {
        justify-content: center;
        align-items: center;
        margin-top: 10px;
    }
    .social-box-footer {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 !important;
    }
    .payment-methods-footer {
        margin: 0 auto;
    }
    .app-links-footer {
        justify-content: center !important;
        margin: 0 auto 20px auto;
    }
}

/* === BACK TO TOP BUTTON === */
.back-to-top {
    position: fixed;
    inset-inline-end: 30px;
    bottom: 30px;
    height: 40px;
    width: 40px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    z-index: 999;
    opacity: 1;
    visibility: visible;
    background-color: #ffffff; 
    border: 1px solid var(--fm-light-gray); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    font-weight: 900 !important; 
    -webkit-text-stroke: 0.5px var(--fm-main);     
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.back-to-top i {
    position: absolute;
    text-align: center;
    line-height: 38px;
    font-size: 18px;
    color: var(--fm-main);
    inset-inline-start: 0;
    top: 0;
    height: 38px;
    width: 38px;
}

.back-to-top svg path {
    fill: none;
    stroke: var(--fm-main);
    stroke-width: 5; 
    box-sizing: border-box;
    transition: stroke-dashoffset 10ms linear;
}

.back-to-top svg {
    transform: scaleX(var(--dir-factor)) rotate(var(--back-to-top-rotation));
    transition: transform 0.3s ease;
}

@media (max-width: 767px) {
    .back-to-top {
        inset-inline-end: 15px;
        bottom: 15px;
    }
}

/* === MARQUEE ANNOUNCEMENT BAR === */
.announcement-bar {
    color: #ffffff;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    direction: inherit;
}

.announcement-marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
}

.announcement-marquee-content {
    display: flex;
    flex-shrink: 0;
    min-width: 100%;
    gap: 50px;
    animation: scroll-marquee 25s linear infinite;
    will-change: transform;
    justify-content: flex-start;
}

[dir="rtl"] .announcement-marquee-content {
    animation: scroll-marquee-rtl 25s linear infinite;
}

.announcement-marquee-wrapper:hover .announcement-marquee-content {
    animation-play-state: paused;
}

.announcement-marquee-item {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.announcement-marquee-item i {
    font-size: 12px;
    opacity: 0.9;
}

@keyframes scroll-marquee {
    from { transform: translateX(50%); }
    to { transform: translateX(-50%); }
}

@keyframes scroll-marquee-rtl {
    from { transform: translateX(-50%); }
    to { transform: translateX(50%); }
}

@media (max-width: 575px) {
    .announcement-marquee-item {
        font-size: 12px;
    }
    .announcement-bar {
        padding: 8px 0;
    }
}

/* === CATEGORY SLIDER === */
.category-slider {
    /* display: flex; */
    overflow: hidden;
}

.category-slider-item {
    padding: 10px;
    outline: none;
}

.category-slider-card {
    background: #fff;
    border: 1px solid var(--fm-main);
    border-radius: 20px;
    /* padding: 45px 30px; */
    text-align: center;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-slider-img-circle {
    width: 140px;
    height: 140px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
}

.category-slider-img-circle img {
    max-width: 70%;
    height: auto;
}

.category-slider-card span {
    color: #333;
    font-weight: 700;
    font-size: 15px;
    margin-top: 15px;
}

.category-slider-card:hover {
    background-color: var(--fm-main) !important;
    border-color: var(--fm-main);
}

.category-slider-card.active-card h6, 
.category-slider-card:hover h6 {
    color: #fff !important;
}

.category-slider-card.active-card {
    background-color: var(--fm-main) !important;
    border-color: var(--fm-main) !important;
}

.category-slider-card.active-card h6 {
    color: #fff !important;
}

.category-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    font-size: 18px;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-slider-prev {
    inset-inline-start: -22px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.category-slider-next {
    inset-inline-end: -28px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.category-slider-arrow:hover {
    background-color: var(--fm-main); 
    color: #ffffff !important; 
    border-color: var(--fm-main);
    transform: translateY(-50%) scale(1.1); 
}

.category-slider-arrow i {
    line-height: 0;
}

@media (max-width: 767px) {
    .category-slider-prev {
        inset-inline-start: 5px !important;
    }

    .category-slider-next {
        inset-inline-end: 5px !important;
    }

    .category-slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
        background-color: rgba(255, 255, 255, 0.9);
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }    
}

@media (max-width: 575px) {
    .category-slider-img-circle {
        width: 85px;
        height: 85px;
    }
}

/* === MAIN NAV-BAR ==== */
.main-navbar {
    background-color: #fff;
    position: sticky;
    top: 0;
}

.main-navbar .dropdown-menu {
    margin: 0;
    padding: 10px 0;
    display: none; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.main-navbar .dropdown-menu.show {
    display: block !important;
}

/* CATEGORY DROPDOWN :: MAIN NAV-BAR */
.department-menu-dropdown {
    position: relative !important;
}

.department-menu-dropdown i {
    cursor: pointer;
}

.department-menu-dropdown .dropdown-menu {
    border: 1px solid #eeeeee !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px !important;
    margin-top: -5px !important;
    padding: 10px 0 !important;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    display: block !important;
}

.department-menu-dropdown:hover > .dropdown-menu,
.department-menu-dropdown .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.department-menu-dropdown .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -15px;
    inset-inline-start: 0;
    inset-inline-end: auto;
    width: 100%;
    height: 15px;
    background: transparent;
}

.department-menu-dropdown .dropdown-item {
    padding: 10px 25px !important;
    font-weight: 500;
    color: #333333;
    transition: all 0.3s ease;
    position: relative;
    border-inline-start: 3px solid transparent;
}

.department-menu-dropdown .dropdown-item:hover {
    background-color: color-mix(in srgb, var(--fm-main), transparent 92%) !important;
    color: var(--fm-main) !important;
    padding-inline-start: 35px !important;
    border-inline-start-color: var(--fm-main);
}

.department-menu-dropdown .dropdown-menu.show {
    display: block !important;
}

/* MAIN MENU DROPDOWN :: MAIN NAV-BAR */
.main-menu .nav-link {
    color: #111;
    font-weight: 600;
    padding: 10px 18px !important;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    border-radius: 15px;
}

.main-menu .dropdown-toggle::after {
    margin-inline-start: 0.5em;
    vertical-align: middle;
}

.main-menu .nav-link:hover {
    color: var(--fm-main) !important;
    background: var(--fm-light-main);
    padding: 10px !important;
}

.main-menu .nav-link.active {
    color: var(--fm-main) !important;
    background: var(--fm-light-main);
}

.main-menu .dropdown-menu {
    border: 1px solid #eeeeee !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px !important;
    margin-top: -5px !important; 
    padding: 10px 0 !important;
    transform: translateY(10px); 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    display: block !important; 
}

.main-menu .nav-item.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px); 
}

.main-menu .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -15px;
    inset-inline-start: 0;
    inset-inline-end: auto;
    width: 100%;
    height: 15px;
    background: transparent;
}

.main-menu .dropdown-item {
    padding: 10px 25px !important;
    font-weight: 500;
    color: #333333;
    transition: all 0.3s ease;
    position: relative;
    border-inline-start: 3px solid transparent; 
}

.main-menu .dropdown-item:hover {
    background-color: var(--fm-light-main) !important;
    color: var(--fm-main) !important;
    padding-inline-start: 35px !important;
    border-inline-start-color: var(--fm-main); 
}

/* SPECIAL OFFER :: MAIN NAV-BAR */
.special-offer-wrapper {
    display: inline-block;
}

.special-offer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--fm-main);
    color: var(--fm-white);
    border: 1px dashed var(--fm-main);
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.special-offer-link i {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.special-offer-link i::before {
    display: inline-block;
}

.special-offer-link i::after {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: 50%;
    inset-inline-end: auto;
    transform: translateX(-50%);
    font-size: 10px;
    opacity: 0;
}

.special-offer-wrapper:not(:hover) i {
    animation: gift-open 2s infinite ease-in-out;
}

.special-offer-wrapper:not(:hover) i::after {
    animation: firework-burst 2s infinite ease-in-out;
}

@keyframes gift-open {
    0%, 20%, 100% { transform: translateY(0) scale(1); }
    10% { transform: translateY(2px) scaleX(1.1); }
    30% { transform: translateY(-8px) scale(1.2); }
    50% { transform: translateY(0) scale(1); }
}

@keyframes firework-burst {
    0%, 20% { opacity: 0; transform: translate(-50%, 0) scale(0); }
    30% { opacity: 1; transform: translate(-50%, -20px) scale(1.5); }
    45% { opacity: 0; transform: translate(-50%, -30px) scale(2); }
    100% { opacity: 0; }
}

.special-offer-link:hover {
    background-color: var(--fm-main); 
    color: white;
    border-style: solid;
    border-color: var(--fm-main);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(80, 45, 129, 0.2);
}

.special-offer-link:hover i {
    transform: scale(1.3) rotate(-10deg);
}

@keyframes offer-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.special-offer-wrapper:not(:hover) {
    animation: offer-pulse 2s infinite ease-in-out;
}

/* RESPONSIVE :: MAIN NAV-BAR, CATEGORY DROPDOWN, MAIN MENU DROPDOWN, SPECIAL OFFER */
@media (min-width: 992px) {
    .nav-item.dropdown:hover > .dropdown-menu,
    .department-menu-dropdown:hover > .dropdown-menu {
        display: block !important;
        margin-top: 0;
    }
}

@media (max-width: 991px) {
    .main-navbar {
        position: sticky !important;
        top: 0;
    }

    .main-navbar .dropdown-menu {
        position: static !important;
        float: none;
        width: 100% !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        background-color: #f9f9f9 !important;
        padding: 5px 0 15px 20px !important;
    }

    .main-navbar .dropdown-menu.show {
        display: block !important;
    }

    .main-menu .nav-link {
        padding: 12px 15px !important;
        border-radius: 8px;
        margin-bottom: 5px;
        justify-content: space-between;
    }

    .main-menu .nav-link:hover {
        background: var(--fm-light-main);
    }

    .department-menu-dropdown {
        width: 100%;
    }

    .department-menu-dropdown .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .special-offer-wrapper {
        display: block;
        width: 100%;
        text-align: center;
    }

    .special-offer-link {
        justify-content: center;
        width: 100%;
        padding: 12px;
    }

    .special-offer-wrapper:not(:hover) {
        animation: offer-pulse 2.5s infinite ease-in-out;
    }

    .dropdown-item {
        padding: 10px 15px !important;
        font-size: 14px;
        border-inline-start: 2px solid transparent;
    }

    .dropdown-item:hover {
        padding-inline-start: 20px !important;
    }
}

@media (max-width: 991px) {
    .border-end-lg { 
        border-inline-end: none !important; 
    }
    .department-menu-dropdown .dropdown-menu:not(.show) {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    .department-menu-dropdown:hover > .dropdown-menu:not(.show) {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .no-caret-mobile::after {
        display: none !important;
    }
    
    .no-caret-mobile {
        padding-inline-end: 0 !important;
    }
}

@media (min-width: 992px) {
    .border-end-lg { 
        border-inline-end: 1px solid #dee2e6 !important; 
    }
    .no-caret-mobile::after {
        display: inline-block;
        margin-inline-start: 0.255em;
        vertical-align: 0.255em;
        content: "";
        border-top: 0.3em solid;
        border-inline-end: 0.3em solid transparent;
        border-bottom: 0;
        border-inline-start: 0.3em solid transparent;
    }
}

@media (max-width: 991px) {
    .main-navbar .row {
        flex-wrap: nowrap !important;
        align-items: center !important;
    }

    .bi-list {
        line-height: 1;
        display: block;
    }

    .text-danger-mobile {
        color: #e31e24 !important;
    }
    
    .col-auto {
        padding-inline-start: 5px !important;
        padding-inline-end: 5px !important;
    }
}

@media (max-width: 991px) {
    .main-navbar .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        overflow: visible !important;
    }

    .main-navbar .col-auto {
        flex: 0 0 auto !important;
        padding-inline-start: 4px !important;
        padding-inline-end: 4px !important;
        width: auto !important;
    }

    .ms-auto {
        margin-inline-start: auto !important;
    }

    .bi-grid, .bi-list, .bi-gift, .bi-patch-check {
        display: inline-flex !important;
        align-items: center !important;
        vertical-align: middle !important;
        line-height: 1 !important;
    }

    .special-offer-link {
        padding: 6px 10px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
    }

    .g-0 {
        --bs-gutter-x: 0 !important;
    }
}

@media (min-width: 992px) {
    .main-navbar {
        position: static !important;
    }
}

@media (max-width: 991px) {
    .main-navbar {
        position: sticky !important;
        top: 140px;
        background: white;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    }
}

@media (max-width: 991px) {
    .offcanvas {
        width: 300px !important;
    }

    .offcanvas-body .nav-link {
        padding: 12px 20px;
        color: var(--fm-black);
        font-weight: 500;
        display: block;
    }

    .offcanvas-body .nav-link:hover {
        background-color: var(--fm-light-main);
        color: var(--fm-main);
        border-inline-start: 3px solid transparent;
        border-inline-start-color: var(--fm-main);
    }
}
@media (max-width: 991px) {
    #mainSubmenu .nav-link {
        font-size: 14px;
        padding-inline-start: 30px !important;
        color: #555;
    }

    [aria-expanded="true"] .bi-chevron-down {
        transform: rotate(180deg);
        transition: 0.3s;
    }
}

@media (min-width: 992px) {
    #offcanvasDepartment {
        display: none !important;
        visibility: hidden !important;
    }
}

@media (max-width: 991px) {
    .department-menu-dropdown .dropdown-menu {
        display: none !important;
    }
}

/* === TESTIMONIAL === */
.testimonial-section {
    background-color: var(--fm-white);
}

.testimonial-section-heading {
    color: var(--fm-main);
}

.testimonial-slider {
    overflow: hidden;
    
}

.testimonial-slider-item {
    padding: 15px;
    outline: none;
}

.testimonial-slider .slick-list {
    overflow: visible;
    padding: 20px 0;
}

.testimonial-slider-card {
    background-color: #f8f9fa;
    border-start-start-radius: 50px;
    border-end-end-radius: 50px;
    border-start-end-radius: 0;
    border-end-start-radius: 0;
    transition: all 0.3s ease;
    height: 100%;
    cursor: default;
    border: 1px solid #eee;
    position: relative;
    transform-style: preserve-3d;
    overflow: visible; 
}

.testimonial-slider-card .col-sm-4 img {
    border: 5px solid #ffffff;
    width: 100px;
    height: 100px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.testimonial-slider-card .testimonial-title {
    color: var(--fm-green);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.testimonial-slider-card:hover {
    transform: translate(-6px, -6px);
}

.testimonial-slider-card::after {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    inset-inline-end: auto;
    width: 100%;
    height: 100%;
    background-color: var(--fm-main);
    border-start-start-radius: 50px;
    border-end-end-radius: 50px;
    border-start-end-radius: 0;
    border-end-start-radius: 0;
    transform: translateZ(-1px);
    z-index: -1; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    pointer-events: none;
}

.testimonial-slider-card:hover::after {
    opacity: 1;
    top: 12px;
    inset-inline-start: 12px;
}

.testimonial-slider-comment {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #444;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.5em;
}

.testimonial-slider-nav .testimonial-slider-arrow {
    width: 36px;
    height: 36px;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-slider-next, .testimonial-slider-prev {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.testimonial-slider-nav .testimonial-slider-arrow:hover {
    background-color: var(--fm-main, #502D81);
    color: #ffffff !important;
    border-color: var(--fm-main, #502D81);
    transform: scale(1.1);
}

.testimonial-slider .slick-arrow {
    display: none !important;
}

@media (max-width: 575px) {
    .testimonial-slider-card .row.g-0 {
        text-align: center;
    }

    .testimonial-slider-card .col-sm-4 {
        padding-bottom: 0 !important;
    }
}

.testimonial-slider-read-more-btn {
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.3s ease;
}

.testimonial-slider-read-more-btn:hover {
    transform: translateX(5px);
    color: var(--fm-green) !important;
}

.testimonial-slider-card .col-sm-8 {
    display: flex;
    flex-direction: column;
}

#testimonialModal .modal-content {
    background-color: #f8f9fa;
}

#testimonialModal #modalText {
    line-height: 1.8;
    font-size: 0.95rem;
}

#testimonialModalAvatar {
    width: 180px;
    height: 180px; 
    object-fit: cover;
}
/* === SHOPPING STEP WIDGET === */
.shopping-step-heading h2 {
    color: var(--fm-main);
}

.shopping-step-title, .shopping-step-icon {
    color: var(--fm-black);
}

.shopping-step-wrapper {
    margin-top: 20px;
}

.shopping-step-item {
    position: relative;
    cursor: pointer;
}

.shopping-step-progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 30px;
}

.shopping-step-line-start, .shopping-step-line-end {
    flex: 1;
    height: 4px;
    background-color: #e9ecef;
    transition: background-color 0.3s ease;
}

.shopping-step-item:first-child .shopping-step-line-start,
.shopping-step-item:last-child .shopping-step-line-end {
    visibility: hidden;
}

.shopping-step-dot {
    width: 22px;
    height: 22px;
    background-color: #fff;
    border: 4px solid #e9ecef;
    border-radius: 50%;
    margin: 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.shopping-step-dot-inner {
    width: 8px;
    height: 8px;
    background-color: transparent;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.shopping-step-item:hover .shopping-step-line-start,
.shopping-step-item:hover .shopping-step-line-end {
    background-color: var(--fm-main);
}

.shopping-step-item:hover .shopping-step-dot {
    border-color: var(--fm-main);
}

.shopping-step-item:hover .shopping-step-dot-inner {
    background-color: var(--fm-main);
}

.shopping-step-item:hover .shopping-step-card i,
.shopping-step-item:hover .shopping-step-card h6 {
    color: var(--fm-main);
    transition: color 0.3s ease;
}

@media (max-width: 991.98px) {
    .shopping-step-wrapper .row {
        flex-direction: column;
        align-items: center;
    }

    .shopping-step-item {
        width: 100%;
        max-width: 300px;
        margin-bottom: 0;
    }

    .shopping-step-progress-container {
        flex-direction: column;
        height: 60px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .shopping-step-line-start, .shopping-step-line-end {
        width: 4px;
        height: 100%;
        flex: 1;
    }

    .shopping-step-item:first-child .shopping-step-line-start,
    .shopping-step-item:last-child .shopping-step-line-end {
        visibility: hidden;
        display: none;
    }

    .shopping-step-card {
        padding-top: 20px !important;
        padding-bottom: 10px !important;
    }

    .shopping-step-dot {
        margin: 5px 0;
    }
}

/* === BANNER SLIDER === */
.banner-slider-dots-external {
    position: relative !important;
    margin: 0 !important;
    display: flex;
    justify-content: center;
    gap: 8px;
    bottom: 0 !important;
}

.banner-slider-dots-external button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: #dee2e6 !important;
    border: none !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.banner-slider-dots-external button.active {
    background-color: var(--fm-main) !important;
    width: 25px !important;
    border-radius: 10px !important;
}

.banner-slider-img-fluid {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    display: block;
}

.banner-slider-carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* === ABOUT VIDEO SECTION === */
.about-video-section {
    overflow: hidden;
}

.about-video-card {
    max-width: 550px;
}

.about-video-card h1 {
    color: #0b0b0b;
    line-height: 1.2;
}

.about-video-box {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-video-box img {
    height: 500px;
}

@media (max-width: 991.98px) {
    .about-video-box img {
        height: 350px;
    }
}

@media (min-width: 992px) {
    .about-video-section .row {
        min-height: 550px;
    }
}

.play-btn-about-video-effect {
    position: absolute;
    top: 50%;
    inset-inline-start: 50%;
    inset-inline-end: auto;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn-about-video-effect::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    animation: pulse-border 2s infinite;
    z-index: -1;
}

.play-btn-about-video-effect i {
    font-size: 35px;
    color: #111;
}

.play-btn-about-video-effect:hover {
    background-color: var(--fm-main);
    transform: translate(-50%, -50%) scale(1) !important;
}

.play-btn-about-video-effect:hover i {
    color: #fff;
}


@keyframes pulse-border {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}
@media (min-width: 992px) {
    .about-video-card {
        border-start-start-radius: 1.5rem;
        border-end-start-radius: 1.5rem;
        border-start-end-radius: 0;
        border-end-end-radius: 0;
    }
}

/* === FEATURED PRODUCT === */
.featured-products-section-heading {
    color: var(--fm-main) !important;
}

.featured-products .section-title h2 {
    font-size: 24px;
    letter-spacing: -0.5px;
}

/* === FEATURED PRODUCT === */
.related-products .section-title h2 {
    font-size: 24px;
    letter-spacing: -0.5px;
}

/* === PRODUCTS LIST ==== */
.product-card {
    border: 1px solid var(--fm-light-main) !important;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
    overflow: hidden;
}

.product-img-wrap {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.product-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 5px 5px 0px 0px var(--fm-main) !important;
    border-color: #ddd !important;
}

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

.product-name {
    line-height: 1.3;
    height: 2.6em;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-badge {
    font-size: 10px;
    padding: 3px 8px;
}

.product-category a {
    text-decoration: none;
    color: var(--color-foreground);
    text-transform: capitalize;
    display: block;
    transition: color 0.3s ease;
}

.product-category a:hover {
    color: var(--fm-green);
}

.product-name a {
    text-decoration: none;
    color: var(--color-foreground);
    text-transform: capitalize;
    display: block;
    transition: color 0.3s ease;
}
.product-name a:hover {
    color: var(--fm-green);
}

.product-btn-cart {
    border-width: 1.5px;
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 50px !important;
    font-size: 12px;
}

.product-btn-cart:hover {
    background-color:var(--fm-green);
    color: white;
    border-color: var(--fm-green);
}

.product-btn-cart i {
    font-size: 14px;
}

/* === OFFER SLIDER === */
.offer-slider-container {
    position: relative;
}

.offer-slider-inner {
    width: 100%;
    overflow: hidden;
    min-height: 450px;
}

.offer-slider-bg-img-render {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.offer-slider-bg-overlay-layer {
    position: absolute; 
    top: 0; 
    inset-inline-start: 0;
    inset-inline-end: auto; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.15);
}

.offer-slider-nav-controls {
    position: absolute;
    top: 20px;
    inset-inline-end: 35px;
    z-index: 20;
    display: flex;
    gap: 12px;
}

#offerSliderCarousel .offer-slider-carousel-prev,
#offerSliderCarousel .offer-slider-carousel-next {
    width: 40px !important;
    height: 40px !important;
    background: white !important;
    border-radius: 12px !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    color: #333 !important;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
}

#offerSliderCarousel .offer-slider-carousel-prev:hover,
#offerSliderCarousel .offer-slider-carousel-next:hover {
    background: var(--fm-main, #198754) !important;
    color: white !important;
    transform: translateY(-2px);
}

.offer-slider-product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-slider-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12) !important;
}

.offer-slider-product-img-wrapper-box {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.offer-slider-product-img-wrapper-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.offer-slider-product-name {
    line-height: 1.3;
    /* height: 2.6em; */
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.offer-slider-product-name a {
    text-decoration: none;
    color: var(--color-foreground);
    text-transform: capitalize;
    display: block;
    transition: color 0.3s ease;
}

.offer-slider-product-name a:hover {
    color: var(--fm-main);
}

/* === SINGLE PRODUCT ===  */
.product-single-section {
    background-color: #f8f9fa;
}

.product-single-media-zoom-display {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}

.product-single-media-zoom-display img {
    transform-origin: center; 
    transition: transform 0.3s ease-out; 
    cursor: zoom-in;
}

#productSingleMediaZoomContainer {
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
    background: var(--fm-white);
}

#productSingleMediaZoomImage {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-out;
    pointer-events: none;
    width: 100%;
    height: 100%;
    height: auto;
    display: block;
}

.product-single-media-thumb-box {
    height: 80px !important;
    width: 100% !important;
    align-items: center;
    justify-content: center;
    background: var(--fm-white);
    cursor: pointer;
    border: 1px solid #eee !important;
    border-radius: 10px !important;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex !important;
    box-sizing: border-box;
}

.product-single-media-thumb-box:hover, 
.product-single-media-thumb-box.active-thumb, 
.product-single-media-thumb-box.active {
    border-color: var(--fm-main) !important;
    border: 2px solid var(--fm-main) !important;
    box-shadow: 0 0 8px rgba(25, 135, 84, 0.2);
}

.product-single-media-thumb-wrapper {
    transition: all 0.5s ease;
}

.product-single-media-thumb-prev, 
.product-single-media-thumb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.product-single-media-thumb-prev { 
    inset-inline-start: -8px;
 }

.product-single-media-thumb-next { 
    inset-inline-end: -12px;
 }

@media (max-width: 576px) {
    .product-single-media-thumb-prev { 
        inset-inline-start: -10px;
    }
    .product-single-media-thumb-next { 
        inset-inline-end: -10px; 
    }
}

.product-single-media-thumb-prev:hover, 
.product-single-media-thumb-next:hover {
    background: var(--fm-main);
    color: white;
    border-color: var(--fm-main);
}

.product-single-media-thumb-item {
    padding: 5px;
}

#productSingleMediaThumbTrack {
    margin: 0 -5px; 
}

.product-single-tabs-wrapper {
    border: 1px solid #eee;
}

.product-single-tabs-wrapper .nav-tabs {
    border-bottom: none;
    background-color: var(--fm-light-main) !important;
}

.product-single-tabs-wrapper .nav-link {
    color: #666;
    background-color: transparent;
    transition: all 0.3s ease;
    font-size: 15px;
}

.product-single-tabs-wrapper .nav-link:hover {
    color: var(--fm-main);
    background-color: rgba(80, 45, 129, 0.05);
}

.product-single-tabs-wrapper .nav-link.active {
    background-color: var(--fm-main) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(80, 45, 129, 0.2);
}

.product-single-tabs-wrapper .tab-pane h5 {
    color: var(--fm-black);
    position: relative;
    padding-bottom: 10px;
}

.product-single-tabs-wrapper .tab-pane h5::after {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    inset-inline-end: auto;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--fm-main);
    border-radius: 10px;
}

.product-single-tabs-wrapper .tab-pane table th {
    font-weight: 600;
    color: #444;
}

.product-single-info-badges .badge {
    font-size: 13px;
    font-weight: 500;
}

.product-single-info-badge-label {
    min-width: 120px;
    display: inline-block;
}

.product-single-info-short-description {
    border-inline-start: 4px solid var(--fm-main) !important;
}

.product-single-info-short-description ul li i {
    font-size: 16px;
    flex-shrink: 0;
}

.product-single-info-short-description h6 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-single-info-short-description .text-secondary.small {
    line-height: 1.5;
}

.product-single-info-badges {
    background-color: var(--fm-white, #ffffff) !important;
    transition: all 0.3s ease;
}

.product-single-info-badges:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.05) !important;
}

.product-single-info-badges span {
    font-size: 14px;
}

.product-single-info-badges .badge {
    font-size: 12px;
    letter-spacing: 0.3px;
    border-radius: 6px;
}

.product-single-info-badges .border-top {
    border-color: #f1f1f1 !important;
}

/*  === QUANTITY BUTTON === */
.product-single-info-quantity-selector input {
    width: 60px;
}

.product-single-info-quantity-selector button:first-child:hover {
    color: var(--fm-red, #dc3545) !important;
    background-color: rgba(220, 53, 69, 0.08) !important;
    border-start-start-radius: 50px;
    border-end-start-radius: 50px;
    border-start-end-radius: 0;
    border-end-end-radius: 0;
}

.product-single-info-quantity-selector button:last-child:hover {
    color: var(--fm-green, #198357) !important;
    background-color: rgba(25, 131, 87, 0.08) !important;
    border-start-end-radius: 50px;
    border-end-end-radius: 50px;
    border-start-start-radius: 0;
    border-end-start-radius: 0;
}

.product-single-info-quantity-selector button {
    transition: all 0.2s ease-in-out !important;
}

.product-single-info-quantity-selector input {
    pointer-events: none;
}

.cart-offcanvas-qty-selector input {
    width: 60px; 
    pointer-events: none;
}

.cart-offcanvas-qty-selector button:first-child:hover {
    color: var(--fm-red) !important;
    background-color: rgba(220, 53, 69, 0.08) !important;
}

.cart-offcanvas-qty-selector button:last-child:hover {
    color: var(--fm-green) !important;
    background-color: rgba(25, 131, 87, 0.08) !important;
}

.cart-offcanvas-qty-selector button {
    transition: all 0.2s ease-in-out !important;
}

.qty-input-no-spin::-webkit-inner-spin-button, 
.qty-input-no-spin::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

.qty-input-no-spin {
    -moz-appearance: textfield;
}

.btn-trash-remove {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.btn-trash-remove:hover {
    background-color: var(--fm-light-red) !important;
}

.btn-trash-remove:hover i {
    color: var(--fm-red) !important;
    transition: color 0.3s ease;
}

.btn-trash-remove:hover i {
    color: var(--fm-red) !important;
    transition: color 0.3s ease;
}

/* === BREADCRUMB === */
.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "»";
    font-size: 1.1rem;
    line-height: 0;
    display: inline-block;
    padding-top: 0px;
    vertical-align: middle;
}

.breadcrumb-item a, 
.breadcrumb-item.active {
    line-height: 1;
}

.breadcrumb-item a {
    text-decoration: none;
    color: var(--color-foreground);
    text-transform: capitalize;
    display: block;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--fm-green);
}

/* === Floating Contact Buttons === */
.floating-contact-wrap {
    bottom: 100px; 
    inset-inline-end: 20px; 
    z-index: 999;
}
.floating-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
    transition: all 0.3s ease;
}

.floating-icon.whatsapp { 
    background-color: #25D366; 
}
.floating-icon.messenger { 
    background-color: #0084FF; 
}

.floating-icon:hover {
    transform: scale(1.1) translateX(calc(-5px * var(--dir-factor)));
    box-shadow: 0 8px 16px rgba(0,0,0,0.2) !important;
    color: #fff !important;
}

@media (max-width: 768px) {
    .floating-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    .floating-contact-wrap {
        bottom: 80px !important;
        inset-inline-end: 15px !important;
    }
}

/* === Floating Language Selector === */
.lang-float-container {
    bottom: 220px;
    inset-inline-end: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease-in-out;
}

.lang-float-btn {
    width: 50px;
    height: 50px;
    font-size: 14px;
    background-color: var(--fm-main);
    color: var(--fm-white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lang-float-btn i {
    font-size: 20px;
}

.lang-float-container:hover .lang-float-btn {
    background-color: var(--fm-white);
    color: var(--fm-main);
    border: 1px solid var(--fm-main) !important;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.lang-float-container .dropdown-menu {
    margin-bottom: 10px !important;
    border-radius: 12px;
}

#floatingLangWrap a.dropdown-item.active {
    background-color: var(--fm-main);
    color: var(--fm-white);
}

#floatingLangWrap .dropdown-menu .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    color: #444;
    transition: all 0.3s ease;
    border-radius: 4px;
    border-inline-start: 3px solid transparent;
}

#floatingLangWrap .dropdown-menu .dropdown-item:hover {
    background-color: var(--fm-light-main);
    color: var(--fm-main);
    padding-inline-start: 25px;
    border-inline-start-color: var(--fm-main);
}

@media (max-width: 768px) {
    .lang-float-container {
        bottom: 185px !important;
        inset-inline-end: 15px !important;
        width: 45px;
        height: 45px;
    }
    .lang-float-btn {
        width: 45px;
        height: 45px;
        font-size: 13px;
    }
}

/* === Floating Currency Selector === */
.currency-float-container {
    bottom: 280px;
    inset-inline-end: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease-in-out;
}

.currency-float-btn {
    width: 50px;
    height: 50px;
    font-size: 12px;
    background-color: var(--fm-main);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.currency-float-btn i {
    font-size: 20px;
} 

.currency-float-container:hover .currency-float-btn {
    background-color: var(--fm-white);
    color: var(--fm-main);
    border: 1px solid var(--fm-main) !important;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.currency-float-container .dropdown-menu {
    margin-bottom: 10px !important;
    border-radius: 12px;
}

#floatingCurrencyWrap a.dropdown-item.active {
    background-color: var(--fm-main);
    color: #fff;
}

#floatingCurrencyWrap .dropdown-menu .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    color: #444;
    transition: all 0.3s ease;
    border-radius: 4px;
    border-inline-start: 3px solid transparent;
}

#floatingCurrencyWrap .dropdown-menu .dropdown-item:hover {
    background-color: var(--fm-light-main);
    color: var(--fm-main);
    padding-inline-start: 25px;
    border-inline-start-color: var(--fm-main);
}

@media (max-width: 768px) {
    .currency-float-container {
        bottom: 240px !important;
        inset-inline-end: 15px !important;
        width: 45px;
        height: 45px;
    }
    .currency-float-btn {
        width: 45px;
        height: 45px;
        font-size: 11px;
    }
}

/* === Floating Delivery Country Selector === */
.delivery-country-float-container {
    bottom: 340px;
    inset-inline-end: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease-in-out;
}

.delivery-country-float-btn {
    width: 50px;
    height: 50px;
    font-size: 12px;
    background-color: var(--fm-main);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.delivery-country-float-btn i {
    font-size: 20px;
} 

.delivery-country-float-container:hover .delivery-country-float-btn {
    background-color: var(--fm-white);
    color: var(--fm-main);
    border: 1px solid var(--fm-main) !important;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.delivery-country-float-container .dropdown-menu {
    margin-bottom: 10px !important;
    border-radius: 12px;
}

#floatingDeliveryCountryWrap a.dropdown-item.active {
    background-color: var(--fm-main);
    color: #fff;
}

#floatingDeliveryCountryWrap .dropdown-menu .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    color: #444;
    transition: all 0.3s ease;
    border-radius: 4px;
    border-inline-start: 3px solid transparent;
}

#floatingDeliveryCountryWrap .dropdown-menu .dropdown-item:hover {
    background-color: var(--fm-light-main);
    color: var(--fm-main);
    padding-inline-start: 25px;
    border-inline-start-color: var(--fm-main);
}

@media (max-width: 768px) {
    .delivery-country-float-container {
        bottom: 295px !important;
        inset-inline-end: 15px !important;
        width: 45px;
        height: 45px;
    }
    .delivery-country-float-btn {
        width: 45px;
        height: 45px;
        font-size: 11px;
    }
}