@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
:root {
    --primary: #601d49; /* Deep Plum - logo house outline, "Sajer" text */
    --primary-dark: #4a1638; /* Darker shade for hover states */
    --secondary: #a8477a; /* Mauve/Orchid - "Dokan" text color */
    --accent: #d89bb0; /* Soft Rose - dress/bottle color */
    --accent-light: #edc6d6; /* Blush Pink - subtle backgrounds, badges */
    --pink: #ee96a2; /* Blush Pink - subtle backgrounds, badges */
    --bg: #fdf6f0; /* Cream - matches logo background exactly */
    --text: #2c2c2c; /* Body text a, kept neutral dark */
    --tagline: #2d4a3e; /* Dark Forest Green - "BEAUTY•FASHION•LIFESTYLE" */
    --gold-accent: #c9a15a; /* Optional: TM/premium touches, kept from your set
     */
    --header-h: 120px;
    --rubik-font: "Rubik", sans-serif;
    --monstar-font: "Montserrat", sans-serif;
    --inter-font: "Inter", sans-serif;
}
/* Scrollbar Width */
::-webkit-scrollbar {
    width: 5px;
}

/* Scrollbar Track */
::-webkit-scrollbar-track {
    background: #f5f5f5;
}

/* Scrollbar Thumb */
::-webkit-scrollbar-thumb {
    background: var(--secondary); /* আপনার branding color */
    border-radius: 10px;
}

/* Hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
/* product height problem */
.sd-category-product-slider .owl-stage {
    display: flex;
    align-items: stretch;
}

.sd-category-product-slider .owl-item {
    display: flex;
    height: auto;
}

.sd-category-product-slider .owl-item > div {
    display: flex;
    flex: 1;
}

.sd-category-product-slider .sd-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* product height problem */
.owl-theme .owl-dots .owl-dot span {
    background: var(--accent-light);
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--primary);
}
body {
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background: #fff;
}
.font-heading {
    font-family: var(--monstar-font);
}
/* ===== SCROLL TO TOP ===== */
.sd-scroll-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--primary, #601d49);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition:
        opacity 0.3s,
        transform 0.3s,
        background 0.2s;
}
.sd-scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.sd-scroll-top:hover {
    background: var(--primary-dark, #4a1638);
    color: #fff;
}

@media (max-width: 991.98px) {
    .sd-scroll-top {
        bottom: 70px; /* mobile bottom nav-এর উপরে বসবে */
        width: 40px;
        height: 40px;
        font-size: 1rem;
        right: 14px;
    }
}

/* ===== Placeholder page content (to demo scroll) ===== */
.demo-spacer {
    height: 1600px;
    background: linear-gradient(#fff, #fff9f7);
}

/* ===== TOP UTILITY BAR ===== */
.sd-topbar {
    background: var(--secondary);
    color: #eee;
    font-size: 0.8rem;
    padding: 6px 0;
}
.sd-topbar a {
    color: #eee;
    text-decoration: none;
}
.sd-topbar a:hover {
    color: var(--accent);
}
/* ===== Desktop live-search dropdown ===== */
.sd-search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
    max-height: 420px;
    overflow-y: auto;
    z-index: 500;
    padding: 6px;
}

.sd-search-dropdown.show {
    display: block;
}

.sd-search-dropdown .sd-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 8px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.sd-search-dropdown .sd-search-item:hover {
    background: var(--bg, #fdf6f0);
}

.sd-search-dropdown .sd-search-item img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.sd-search-dropdown .sd-item-name {
    color: #1a3b8b;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 2px;
}

.sd-search-dropdown .sd-item-price {
    color: #ff5d00;
    font-weight: 700;
    font-size: 0.88rem;
}

.sd-search-dropdown .sd-item-price-old {
    color: #aaa;
    font-size: 0.78rem;
    text-decoration: line-through;
    margin-left: 6px;
}

.sd-search-dropdown .sd-item-brand {
    color: #777;
    font-size: 0.78rem;
}

.sd-search-dropdown .sd-search-state {
    padding: 22px 12px;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
}

.sd-search-dropdown .sd-search-more {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary, #601d49);
    text-decoration: none;
    border-top: 1px solid #f0e5e6;
    margin-top: 4px;
}

/* Reuse the same "more" link style inside the mobile overlay list */
#sdMobileSearchResults .sd-search-more {
    display: block;
    text-align: center;
    padding: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary, #601d49);
    text-decoration: none;
}

#sdMobileSearchResults .sd-search-state {
    padding: 30px 14px;
    text-align: center;
    color: #999;
    font-size: 0.88rem;
}
/* ===== MAIN HEADER (desktop) ===== */
.sd-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.25s ease;
}
.sd-header .header-main {
    padding: 10px 0;
    transition: padding 0.25s ease;
}
.sd-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.sd-logo .logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--gold-accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
    transition:
        width 0.25s ease,
        height 0.25s ease;
}
.sd-logo .logo-text {
    font-family: var(--monstar-font);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary);
    line-height: 1;
    transition: font-size 0.25s ease;
}
.sd-logo .logo-text span {
    color: var(--primary-dark);
}

.sd-search {
    max-width: 520px;
    width: 100%;
}
.sd-search .input-group {
    border: 1.5px solid var(--accent);
    border-radius: 30px;
    overflow: hidden;
    background: var(--bg);
}
.sd-search input {
    border: none;
    background: transparent;
    padding: 10px 20px;
    font-size: 0.9rem;
}
.sd-search input:focus {
    box-shadow: none;
    background: transparent;
}
.sd-search button {
    border: none;
    background: var(--secondary);
    color: #fff;
    padding: 0 20px;
}
.sd-search button:hover {
    background: var(--primary-dark);
    color: #fff;
}

.sd-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}
.sd-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--secondary);
    font-size: 0.72rem;
    position: relative;
}
.sd-action-item i {
    font-size: 1.3rem;
    color: var(--secondary);
}
.sd-action-item:hover i,
.sd-action-item:hover {
    color: var(--primary-dark);
}
.sd-action-item .badge-count {
    position: absolute;
    top: -6px;
    right: -2px;
    background: var(--gold-accent);
    color: #fff;
    border-radius: 50%;
    font-size: 0.6rem;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ===== NAV / CATEGORY BAR ===== */
.header-slider-section .carousel-control-next-icon,
.header-slider-section .carousel-control-prev-icon {
    position: absolute;
    top: 18%;
    right: 10%;
}
.header-slider-section .carousel-control-next-icon,
.header-slider-section .carousel-control-prev-icon {
    top: 18%;
    left: 10%;
}
.sd-navbar {
    background: var(--primary);
}
.sd-navbar .nav-link {
    color: #eee !important;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 12px 16px !important;
    transition: color 0.2s;
}
.sd-navbar .nav-link:hover,
.sd-navbar .nav-item.dropdown:hover .nav-link {
    color: var(--accent) !important;
}
.sd-navbar .dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    margin-top: 0;
}
.sd-navbar .dropdown-item {
    font-size: 0.75rem;
    padding: 8px 16px;
}
.sd-navbar .dropdown-item {
    font-size: 0.85rem;
    padding: 8px 16px;
}
/* hover-to-open dropdown on desktop */
@media (min-width: 992px) {
    .sd-navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* ===== SCROLLED / COMPACT HEADER STATE ===== */
.sd-header.scrolled .header-main {
    padding: 8px 0;
}
.sd-header.scrolled .sd-logo .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 15px;
}
.sd-header.scrolled .sd-logo .logo-text {
    font-size: 1.15rem;
}
.sd-header.scrolled .sd-search input {
    padding: 7px 18px;
}

/* ===== MOBILE HEADER ===== */
.sd-mobile-header {
    display: none;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 12px 14px;
    position: sticky;
    top: 0;
    /* z-index: 1030; */
    z-index: 999;
    align-items: center;
    justify-content: space-between;
}
.sd-mobile-header .icon-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    position: relative;
}
.sd-mobile-header .logo-text {
    font-family: var(--monstar-font);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary);
}
.sd-mobile-header .badge-count {
    position: absolute;
    top: -4px;
    right: -8px;
    background: var(--tagline);
    color: #fff;
    border-radius: 50%;
    font-size: 0.6rem;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ===== MOBILE OFFCANVAS MENU ===== */
.sd-offcanvas .offcanvas-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
}
.sd-offcanvas .signin-box {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sd-offcanvas .signin-box i {
    font-size: 1.8rem;
}
.sd-offcanvas .list-group-item {
    border: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 13px 20px;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sd-offcanvas .list-group-item i {
    color: #aaa;
}
.sd-offcanvas .submenu {
    background: var(--bg);
    display: none;
}
.sd-offcanvas .submenu .list-group-item {
    padding-left: 34px;
    font-size: 0.85rem;
    border-bottom: 1px solid #eee;
}
.sd-offcanvas .list-group-item.active-parent {
    color: var(--primary-dark);
    font-weight: 600;
}

/* ===== MOBILE CART OFFCANVAS ===== */
.sd-cart-offcanvas .offcanvas-header {
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding-top: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.cart-line-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f2f2f2;
}
.cart-line-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--bg);
}
.cart-line-item .qty-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: fit-content;
}
.cart-line-item .qty-box button {
    border: none;
    background: none;
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
}
.cart-line-item .qty-box span {
    padding: 0 6px;
    font-size: 0.8rem;
}
.cart-total-bar {
    border-top: 1px solid #eee;
    padding-top: 12px;
}
.btn-checkout {
    background: var(--primary);
    border: none;
    color: #fff;
    border-radius: 30px;
    padding: 12px;
    font-weight: 600;
    width: 100%;
}
.btn-checkout:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* ===== MOBILE SEARCH OVERLAY ===== */
/* ===== MOBILE SEARCH OVERLAY ===== */
.sd-search-overlay {
    position: fixed;
    inset: 0;
    background: #fefefe;
    z-index: 2000;
    display: none;
    flex-direction: column;
    padding: 14px 16px;
    padding-top: 42px;
}
.sd-search-overlay.show {
    display: flex;
}

/* Title bar: "Search Products" + X */
.search-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}
.search-title-bar .search-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
}
.search-title-bar .icon-btn {
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--primary-dark);
    line-height: 1;
}

/* Input row: input + orange search button */
.search-input-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 6px;
}
.sd-search-overlay .form-control {
    border-radius: 8px;
    background: var(--bg);
    border: 1px solid #eee;
    padding: 10px 14px;
    font-size: 0.88rem;
}
.sd-search-overlay .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(96, 29, 73, 0.1);
}
.sd-search-overlay .btn-search {
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    padding: 0 18px;
    border: none;
    flex-shrink: 0;
}

/* ===== SEARCH RESULTS LIST ===== */
.search-results {
    flex: 1;
    overflow-y: auto;
    margin-top: 8px;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
    border-bottom: 1px solid #f2f2f2;
    text-decoration: none;
}
.search-result-item img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--bg);
    flex-shrink: 0;
}
.search-result-item .result-info {
    flex: 1;
    min-width: 0;
}
.search-result-item .result-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-result-item .result-brand {
    font-size: 0.72rem;
    color: #999;
    margin-top: 2px;
}
.search-result-item .result-price {
    text-align: right;
    flex-shrink: 0;
}
.search-result-item .price-now {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}
.search-result-item .price-old {
    display: block;
    font-size: 0.7rem;
    color: #bbb;
    text-decoration: line-through;
}
/* ===== MOBILE BOTTOM NAV ===== */
.sd-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    z-index: 1040;
    border-top: 1px solid #444;
}
.sd-bottom-nav .nav-btn {
    flex: 1;
    background: none;
    border: none;
    color: #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
    font-size: 0.65rem;
    gap: 3px;
    position: relative;
}
.sd-bottom-nav .nav-btn i {
    font-size: 1.3rem;
}
.sd-bottom-nav .nav-btn.active {
    color: var(--accent);
}
.sd-bottom-nav .badge-count {
    position: absolute;
    top: 2px;
    right: 22%;
    background: var(--tagline);
    color: #fff;
    border-radius: 50%;
    font-size: 0.55rem;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .sd-header {
        display: none;
    }
    .sd-mobile-header {
        display: flex;
    }
    .sd-bottom-nav {
        display: flex;
    }
    body {
        padding-bottom: 56px;
    }
}
/* ===== 3-LEVEL FLYOUT SUBMENU (desktop) ===== */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -10px;
    display: none;
}
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}
.dropdown-submenu > a::after {
    content: none; /* remove default caret if any */
}
.dropdown-submenu .dropdown-item i {
    font-size: 0.7rem;
}
/* prevent 2nd/3rd level menu going off-screen on right edge */
.sd-navbar .dropdown-menu .dropdown-menu {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
/* ===== 3-LEVEL MOBILE ACCORDION ===== */
.sd-offcanvas .submenu .list-group-item.lvl2 {
    padding-left: 34px;
    font-size: 0.85rem;
}
.sd-offcanvas .submenu .submenu.lvl2-wrap .list-group-item.lvl3 {
    padding-left: 52px;
    font-size: 0.8rem;
    color: #777;
}
.sd-offcanvas .toggle-submenu.lvl2 i {
    font-size: 0.7rem;
}

/* ============================
    Footer Section CSS Start
================================ */
/* ===== FOOTER (Ghorer Bazar style - light theme) ===== */
.sd-footer {
    background: var(--bg);
    padding: 60px 0 20px;
    position: relative;
    border-top: 1px solid var(--pink);
}
.footer-logo {
    max-width: 160px;
    height: auto;
}
.footer-about {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 16px;
}
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: #666;
    margin-bottom: 10px;
}
.footer-contact-list li i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}
.footer-contact-list li a {
    color: #666;
    text-decoration: none;
}
.footer-contact-list li a:hover {
    color: var(--primary);
}

.footer-social-icon {
    display: flex;
    gap: 10px;
}
.footer-social-icon a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--pink);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s;
}
.footer-social-icon a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.footer-title h3 {
    font-family: var(--monstar-font);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 18px;
}
.footer-title ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-title ul li {
    margin-bottom: 5px;
}
.footer-title ul li a {
    font-size: 0.83rem;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-title ul li a:hover {
    color: var(--primary);
}

.download-box {
    background: #fff;
    border: 1px solid var(--pink);
    border-radius: 12px;
    padding: 14px;
}
.download-box h6 {
    font-family: var(--monstar-font);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}
.download-box img {
    max-width: 100%;
    height: auto;
}

.footer-pay-logo {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--pink);
}
.footer-pay-logo img {
    max-width: 100%;
    height: auto;
}

/* Scroll To Top */
.scroll-top-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}
.scroll-top-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* ===== COPYRIGHT SECTION ===== */
.copyright-section {
    background: var(--secondary);
}
.copyright-text p {
    font-size: 0.82rem;
    color: #eee;
}
.copyright-text a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}
.copyright-text a:hover {
    color: #fff;
}

@media (max-width: 991.98px) {
    .scroll-top-btn {
        bottom: 70px;
    }
}
/* ============================
    Footer Section CSS End
================================ */
/* ============================
    Customer Review Section CSS Start
================================ */
/* ===== CUSTOMER REVIEW SECTION ===== */
.sd-review-section {
    padding: 50px 0;
    background: #fff;
}

.sd-review-slider .item {
    padding: 10px;
}

.sd-review-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s;
}
.sd-review-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.sd-review-top {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    margin-bottom: 14px;
    flex-wrap: nowrap;
}
.sd-review-slider .owl-item .sd-review-avatar {
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0;
    display: block;
}
.sd-review-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.sd-review-name h3 {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--text);
    line-height: 1.3;
    margin: 0;
}
.sd-review-verified {
    color: #1d9bf0;
    font-size: 1rem;
    position: absolute;
    top: 1px;
    left: 50px;
}

.sd-review-stars {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--gold-accent);
}
.sd-review-stars .fa-star-o {
    color: #ddd;
}

.sd-review-text p {
    font-size: 0.87rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 18px;
}

.sd-review-product {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #eee;
    padding-top: 14px;
}
.sd-review-product img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    background: var(--bg);
    flex-shrink: 0;
}
.sd-review-recommend {
    display: block;
    font-size: 0.75rem;
    color: #777;
    margin-bottom: 2px;
}
.sd-review-shop-now {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0.3px;
}
.sd-review-shop-now:hover {
    color: var(--primary-dark);
}
.sd-review-slider .owl-item .sd-review-avatar {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0;
}
.sd-review-slider .owl-stage {
    display: flex;
    align-items: stretch;
}
.sd-review-slider .owl-item {
    display: flex;
    height: auto;
}
.sd-review-slider .item {
    display: flex;
    width: 100%;
}
.sd-review-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.sd-review-text {
    flex-grow: 1;
}
.sd-review-product {
    margin-top: auto;
}
/* ============================
    Customer Review Section CSS End
================================ */
/* ============================
     Product Card Start
================================ */

/* ===== PRODUCT CARD ===== */
.sd-product-column {
    margin-bottom: 20px;
}

.sd-product-card {
    background: #fff;
    border: 1px solid var(--accent-light);
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.sd-product-card:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
}

/* Image + hover zoom/swap */
.sd-product-thumb {
    position: relative;
    aspect-ratio: 3 / 4; /* square (1/1) থেকে বদলে portrait */
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg);
}

.sd-product-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.sd-product-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.5s ease,
        opacity 0.4s ease;
}

.sd-product-img-main {
    transform: scale(1);
    opacity: 1;
    z-index: 1;
}
.sd-product-img-main {
    transition:
        transform 0.5s ease,
        opacity 0.4s ease;
}

/* Single image (hover image নাই) — hover করলে zoom হবে */
.sd-product-card:hover .sd-product-img-main {
    transform: scale(1.08);
}

.sd-product-img-hover {
    opacity: 0;
    z-index: 2;
}

.sd-product-card:hover .sd-product-img-hover {
    opacity: 1;
}

/* Dual image (hover image আছে) — main image fade out হবে zoom ছাড়া, hover image দেখাবে */
.sd-product-card:hover:has(.sd-product-img-hover) .sd-product-img-main {
    opacity: 0;
    transform: scale(1);
}

/* Discount badge */
.sd-badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 500;
    padding: 4px 9px;
    border-radius: 6px;
    z-index: 3;
    line-height: 1.2;
}

.sd-badge-discount small {
    font-weight: 500;
    font-size: 0.6rem;
}

/* Quick actions (eye / wishlist) */
.sd-product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
    opacity: 0;
    transform: translateX(8px);
    transition: all 0.25s ease;
}

.sd-product-card:hover .sd-product-actions {
    opacity: 1;
    transform: translateX(0);
}

.sd-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    font-size: 0.95rem;
    transition: all 0.2s;
}

.sd-icon-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* Body */
.sd-product-body {
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sd-product-title {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 8px;
    min-height: 2.4em;
}

.sd-product-title a {
    color: var(--text);
    text-decoration: none;
}

.sd-product-title a:hover {
    color: var(--primary);
}

.sd-product-price {
    margin-bottom: 10px;
}

.sd-price-now {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--rubik-font);
}

.sd-price-old {
    font-size: 0.78rem;
    color: #bbb;
    margin-left: 6px;
}

.sd-btn-buy-now {
    margin-top: auto;
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s;
}

.sd-btn-buy-now:hover {
    background: var(--primary-dark);
}
/* ===== MODAL: FIXED WIDTH + CONSISTENT HEIGHT ===== */
.sd-cart-modal.modal.show .modal-dialog {
    max-width: 400px !important;
    width: 100% !important;
}

.sd-cart-modal .modal-content {
    min-height: 480px !important;
    max-height: 90vh !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.sd-cart-modal .sd-modal-body {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
}

@media (max-width: 575.98px) {
    .sd-cart-modal.modal.show .modal-dialog {
        max-width: calc(100% - 24px) !important;
        margin: 12px auto !important;
    }

    .sd-cart-modal .modal-content {
        min-height: 420px !important;
        max-height: 85vh !important;
        border-radius: 16px;
    }

    .sd-cart-modal .sd-modal-body {
        padding: 16px;
    }

    .sd-cart-modal .sd-modal-product-info {
        gap: 10px;
    }

    .sd-cart-modal .sd-modal-thumb {
        width: 56px;
        height: 56px;
    }

    .sd-cart-modal .sd-modal-title {
        font-size: 0.85rem;
    }

    .sd-cart-modal .sd-modal-price {
        font-size: 1rem;
    }

    .sd-cart-modal .sd-option-title {
        font-size: 0.75rem;
    }

    .sd-cart-modal .sd-size-label {
        min-width: 38px;
        height: 34px;
        font-size: 0.78rem;
    }

    .sd-cart-modal .sd-color-label {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 380px) {
    .sd-cart-modal.modal.show .modal-dialog {
        max-width: calc(100% - 16px) !important;
        margin: 8px auto !important;
    }

    .sd-cart-modal .sd-modal-footer {
        padding: 12px 16px;
    }
}

.sd-cart-modal .sd-modal-dialog {
    max-width: 400px !important;
    width: 100% !important;
}

.modal-form {
    width: 100%;
}

/* Mobile: 2-column grid, smaller padding */
@media (max-width: 575.98px) {
    .sd-product-title {
        font-size: 0.78rem;
        min-height: 2.2em;
    }

    .sd-price-now {
        font-size: 0.85rem;
    }

    .sd-btn-buy-now {
        font-size: 0.75rem;
        padding: 8px;
    }

    .sd-product-body {
        padding: 10px;
    }
}

/* ===== BUY NOW / ADD TO CART MODAL ===== */
.sd-modal-content {
    border-radius: 16px;
    border: none;
    overflow: hidden;
}

/* Header with title + close button */
.sd-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--pink);
}

.sd-modal-header-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.3px;
}

.sd-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.sd-modal-close:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.sd-modal-body {
    padding: 20px;
}

.sd-modal-product-info {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.sd-modal-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--bg);
    flex-shrink: 0;
}

.sd-modal-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.sd-modal-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--rubik-font);
}

.sd-option-group {
    margin-bottom: 18px;
}

.sd-option-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Color swatch */
.sd-color-box input {
    display: none;
}

.sd-color-label {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: block;
    overflow: hidden;
    border: 2px solid #eee;
    cursor: pointer;
    transition: border-color 0.2s;
}

.sd-color-label img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-color-box input:checked + .sd-color-label {
    border-color: var(--primary);
}

/* Size box */
.sd-size-box input {
    display: none;
}

.sd-size-label {
    min-width: 44px;
    height: 38px;
    padding: 0 12px;
    border: 1.5px solid #eee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
}

.sd-size-box input:checked + .sd-size-label {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

/* Quantity control (old class kept for JS, style overridden) */
.sd-qty-inputgroup {
    display: flex;
    align-items: center;
    border: 1.5px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    width: 130px !important;
}

.sd-qty-btn {
    background: var(--bg) !important;
    border: none !important;
    color: var(--primary) !important;
    width: 38px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: none !important;
    padding: 0 !important;
}

.sd-qty-btn:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

.sd-qty-input {
    width: 46px;
    height: 40px;
    border: none !important;
    border-left: 1px solid #eee !important;
    border-right: 1px solid #eee !important;
    border-radius: 0 !important;
    text-align: center;
    font-size: 0.85rem;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Footer buttons */
.sd-modal-footer {
    border-top: 1px solid #f0f0f0;
    padding: 16px 20px;
    gap: 10px;
    background: #fff;
}

.sd-btn-addcart {
    flex: 1;
    background: #fff;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    border-radius: 8px;
    padding: 11px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sd-btn-addcart:hover {
    background: var(--bg);
}

.sd-btn-purchase {
    flex: 1;
    background: var(--primary);
    border: none;
    color: #fff;
    border-radius: 8px;
    padding: 11px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sd-btn-purchase:hover {
    background: var(--primary-dark);
}

@media (max-width: 575.98px) {
    .sd-modal-footer {
        flex-direction: column;
    }

    .sd-modal-footer button {
        width: 100%;
    }
}

.sd-qty-inputgroup {
    display: flex;
    align-items: center;
    border: 1.5px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    width: 130px !important;
}

.sd-qty-inputgroup .sd-qty-btn {
    background: var(--bg) !important;
    border: none !important;
    color: var(--primary) !important;
    width: 38px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: none !important;
    padding: 0 !important;
}

.sd-qty-inputgroup .sd-qty-btn:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

.sd-qty-inputgroup .sd-qty-input {
    width: 46px;
    height: 40px;
    border: none !important;
    border-left: 1px solid #eee !important;
    border-right: 1px solid #eee !important;
    border-radius: 0 !important;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: none !important;
    padding: 0 !important;
}

/* ============================
     Product Card End
================================ */
/* ===== Filter trigger button ===== */
.sd-filter-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid #e8b4b8;
    color: #333;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: #fff;
    transition: all 0.25s ease;
}

.sd-filter-trigger:hover {
    background: #e8b4b8;
    color: #fff;
}

/* ===== Offcanvas shell ===== */
.sd-filter-offcanvas {
    width: 340px;
    max-width: 85vw;
    border: none;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.12);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 999999 !important;
}

.sd-filter-offcanvas.showing,
.sd-filter-offcanvas.hiding {
    transform: none !important;
}

/* Bootstrap animates offcanvas with translateX; keep that working
   while everything else above stays pinned to the viewport */
.sd-filter-offcanvas:not(.show):not(.showing) {
    transform: translateX(-100%) !important;
}

/* Keep EVERY offcanvas (cart, search, filter, or any future one) above
   the shared dark backdrop. Without this, only the filter offcanvas was
   raised, so the backdrop's z-index ended up higher than the cart/search
   offcanvas panels — making the backdrop cover them like a full dark
   overlay instead of sitting behind them. */
.offcanvas {
    z-index: 999999 !important;
}

.offcanvas-backdrop {
    z-index: 999998 !important;
}

/* ===== Everything below is scoped to the filter offcanvas only ===== */

.sd-filter-offcanvas .offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between !important;
    padding: 20px 22px;
    border-bottom: 1px solid #f0e5e6;
}

.sd-filter-offcanvas .offcanvas-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #222;
    margin: 0;
    display: flex;
    align-items: center;
}

.sd-filter-offcanvas .offcanvasClose {
    cursor: pointer;
    font-size: 16px;
    color: #999;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.sd-filter-offcanvas .offcanvasClose:hover {
    background: #fbeeef;
    color: #e8b4b8;
}

.sd-filter-offcanvas .sd-filter-scroll {
    padding: 22px;
    overflow-y: auto;
}

/* ===== Section headings ===== */
.sd-filter-offcanvas .color-heading {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    margin-bottom: 14px;
}

/* ===== Price filter ===== */
.sd-filter-offcanvas .sd-price-wrapper {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 18px 16px;
}

.sd-filter-offcanvas .sd-price-wrapper .price-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.sd-filter-offcanvas .sd-price-wrapper .field {
    display: flex;
    align-items: center;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    padding: 6px 10px;
    flex: 1 1 0;
    min-width: 0;
}

.sd-filter-offcanvas .sd-price-wrapper .field span {
    font-size: 0.72rem;
    color: #999;
    margin-right: 6px;
    flex-shrink: 0;
    white-space: nowrap;
}

.sd-filter-offcanvas .sd-price-wrapper .field input {
    border: none;
    outline: none;
    width: 100% !important;
    min-width: 0;
    flex: 1 1 auto;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    background: transparent;
    -moz-appearance: textfield;
}

/* Remove native number spinner arrows (Chrome/Safari/Edge) so the
   full value shows instead of being squeezed/clipped */
.sd-filter-offcanvas .sd-price-wrapper .field input::-webkit-outer-spin-button,
.sd-filter-offcanvas .sd-price-wrapper .field input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sd-filter-offcanvas .sd-price-wrapper .separator {
    color: #ccc;
}

.sd-filter-offcanvas .sd-price-wrapper .slider {
    position: relative;
    height: 4px;
    border-radius: 4px;
    background: #e2e2e2;
    margin: 10px 2px 0;
}

.sd-filter-offcanvas .sd-price-wrapper .slider .progress {
    position: absolute;
    height: 100%;
    background: #e8b4b8;
    border-radius: 4px;
}

.sd-filter-offcanvas .sd-price-wrapper .range-input {
    position: relative;
}

.sd-filter-offcanvas .sd-price-wrapper .range-input input[type="range"] {
    position: absolute;
    width: 100%;
    top: -14px;
    height: 4px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
}

.sd-filter-offcanvas
    .sd-price-wrapper
    .range-input
    input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e8b4b8;
    border: 2px solid #fff;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

/* ===== Category list ===== */
.sd-filter-offcanvas .category-filter .category {
    border-bottom: 1px solid #f2f2f2;
}

.sd-filter-offcanvas .category-filter .category-header,
.sd-filter-offcanvas .category-filter .sub-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 2px;
}

.sd-filter-offcanvas .category-filter .category-header a {
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.sd-filter-offcanvas .category-filter .sub-category-header a {
    font-size: 0.82rem;
    font-weight: 500;
    color: #555;
    text-decoration: none;
}

.sd-filter-offcanvas .category-filter .category-header a:hover,
.sd-filter-offcanvas .category-filter .sub-category-header a:hover,
.sd-filter-offcanvas .category-filter .child-categories a:hover {
    color: #e8b4b8;
}

.sd-filter-offcanvas .category-filter .toggle-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background: #fafafa;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #999;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.sd-filter-offcanvas .category-filter .toggle-icon:hover {
    background: #e8b4b8;
    border-color: #e8b4b8;
    color: #fff;
}

.sd-filter-offcanvas .category-filter .sub-categories,
.sd-filter-offcanvas .category-filter .child-categories {
    padding-left: 14px;
}

.sd-filter-offcanvas .category-filter .child-categories a {
    display: inline-block;
    font-size: 0.78rem;
    color: #888;
    text-decoration: none;
    padding: 5px 0;
}

/* ===== Sticky footer / search button ===== */
.sd-filter-offcanvas .sd-filter-footer {
    padding: 16px 22px;
    border-top: 1px solid #f0e5e6;
    background: #fff;
}

.sd-filter-offcanvas .sd-filter-footer .common-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 12px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.sd-filter-offcanvas .sd-filter-footer .common-btn:hover {
    background: var(--secondary);
}
/* ===== Client Review Offcanvas Header ===== */
#clientReviewAdd .offcanvas-header {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--secondary) 100%
    );
    padding: 20px 24px;
}

#clientReviewAdd .offcanvas-title {
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}

#clientReviewAdd .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: 0.2s;
}

#clientReviewAdd .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

#clientReviewAdd .offcanvas-body {
    padding: 24px;
}

/* ===== Form Styling ===== */
#clientReviewAdd .form-group {
    margin-bottom: 18px;
}

#clientReviewAdd label {
    font-weight: 500;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    display: inline-block;
}

#clientReviewAdd .form-control {
    border: 1.5px solid #e5e5e5;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    transition: 0.25s;
    background-color: #fafafa;
    width: 100%;
}

#clientReviewAdd .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(96, 29, 73, 0.12);
    background-color: #fff;
    outline: none;
}

#clientReviewAdd textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* ===== Rating Widget ===== */
.rating {
    display: flex;
    width: 100%;
    justify-content: center;
    overflow: hidden;
    flex-direction: row-reverse;
    height: 150px;
    position: relative;
}

.rating-0 {
    filter: grayscale(100%);
}

.rating > input {
    display: none;
}

.rating > label {
    cursor: pointer;
    width: 40px;
    height: 40px;
    margin-top: auto;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23e3e3e3' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 76%;
    transition: 0.3s;
}

.rating > input:checked ~ label,
.rating > input:checked ~ label ~ label {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23fcd93a' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}

.rating > input:not(:checked) ~ label:hover,
.rating > input:not(:checked) ~ label:hover ~ label {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23d8b11e' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}

.emoji-wrapper {
    width: 100%;
    text-align: center;
    height: 100px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.emoji-wrapper:before,
.emoji-wrapper:after {
    content: "";
    height: 15px;
    width: 100%;
    position: absolute;
    left: 0;
    z-index: 1;
}

.emoji-wrapper:before {
    top: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 35%,
        rgba(255, 255, 255, 0) 100%
    );
}

.emoji-wrapper:after {
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 35%,
        rgba(255, 255, 255, 0) 100%
    );
}

.emoji {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
}

.emoji > svg {
    margin: 15px 0;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

#rating-1:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-100px);
}
#rating-2:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-200px);
}
#rating-3:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-300px);
}
#rating-4:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-400px);
}
#rating-5:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-500px);
}

.feedback {
    max-width: 100%;
    background-color: #fff;
    width: 100%;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #f0e5ec;
    box-shadow: 0 4px 20px rgba(96, 29, 73, 0.08);
}

/* ===== Submit Button ===== */
#clientReviewAdd .btn-primary {
    width: 100%;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--secondary) 100%
    );
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(96, 29, 73, 0.3);
    transition: 0.3s;
}

#clientReviewAdd .btn-primary:hover {
    background: linear-gradient(
        135deg,
        var(--primary-dark) 0%,
        var(--primary) 100%
    );
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(96, 29, 73, 0.45);
}

/* ===== Responsive ===== */
@media (max-width: 576px) {
    #clientReviewAdd {
        width: 100% !important;
    }
    #clientReviewAdd .offcanvas-body {
        padding: 16px;
    }
    .rating > label {
        width: 34px;
        height: 34px;
    }
    .emoji > svg {
        width: 55px;
        height: 55px;
    }
}
.btn-review-custom {
    background: linear-gradient(135deg, #601d49 0%, #a8477a 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(96, 29, 73, 0.35);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-review-custom:hover {
    background: linear-gradient(135deg, #4a1638 0%, #601d49 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(96, 29, 73, 0.5);
}

.btn-review-custom i {
    transition: transform 0.3s ease;
}

.btn-review-custom:hover i {
    transform: rotate(15deg) scale(1.15);
}
