 @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

 /* ===========================
           CSS VARIABLES
        =========================== */
 :root {
     --primary-red: #970c0c;
     --top-bar-height: 42px;
     --main-header-bg: #ffffff;
     --menu-bg: #970c0c;
     --menu-text: #ffffff;
     --search-border: #ddd;
     --hover-red: #b50e0e;

     /* Extra tokens */
     --star-color: #f5a623;
     --card-border: #ecdcdc;
     --card-bg: #fff;
     --meta-color: #999;
     --text-dark: #1a1a1a;
     --text-muted: #666;
     --section-bg: #fdf6f6;
     --badge-bg: #fdeaea;
     --badge-text: #970c0c;

     /*  */
     --primary: #970c0c;
     --primary-dark: #6e0808;
     --primary-light: #dc3545;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: "Montserrat", sans-serif;
 }

 /* header css start */
 /* ===========================
   TOP HEADER (MARQUEE BAR)
=========================== */
 .top_header {
     background-color: var(--primary-red);
     height: var(--top-bar-height);
     display: flex;
     align-items: center;
 }

 .top_header .container {
     display: flex;
     align-items: center;
     height: 100%;
     gap: 0;
 }

 /* Hotline Button */
 .hotline-btn {
     background-color: #fff;
     color: var(--primary-blue);
     font-weight: 700;
     font-size: 1.2rem;
     min-width: 270px;
     text-align: center;
     padding: 4px 10px;
     text-decoration: none;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 6px;
     height: 100%;
     flex-shrink: 0;
     white-space: nowrap;
 }

 .hotline-btn:hover {
     color: var(--primary-blue);
     background-color: #f0f0f0;
 }

 /* Marquee Wrapper */
 .headline-scroll-wrapper {
     display: flex;
     overflow: hidden;
     flex: 1;
     position: relative;
     height: var(--top-bar-height);
     align-items: center;
 }

 .headline-scroll-text {
     display: inline-block;
     white-space: nowrap;
     animation: marquee-scroll 30s linear infinite;
     color: #fff;
     font-size: 0.9rem;
     padding-right: 80px;
 }

 .headline-scroll-duplicate {
     animation-delay: -15s;
 }

 @keyframes marquee-scroll {
     0% {
         transform: translateX(100%);
     }

     100% {
         transform: translateX(-100%);
     }
 }

 /* ===========================
   MAIN HEADER (DESKTOP)
=========================== */
 .main-header {
     background: #fff;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);

     /* এই তিনটা line add করো */
     position: sticky;
     top: 0;
     z-index: 1000;
 }


 .logo-area {
     padding: 3px 0;
 }

 /* --- KEY FIX: use flex layout, no absolute positioning --- */
 .logo-header {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 16px;
     flex-wrap: nowrap;
 }

 .main-logo {
     flex-shrink: 0;
 }

.main-logo a img {
    height: 90px;       /* আগে ছিল 60px, এখন 90px */
    max-width: 220px;   /* আগে ছিল 180px */
    object-fit: contain;
    display: block;
}
 /* Main Search — takes remaining space in center */
 .main-search {
     flex: 1;
     min-width: 0;
     max-width: 460px;
     margin: 0 auto;
 }

 .main-search form {
     display: flex;
     border: 2px solid var(--primary-red);
     border-radius: 4px;
     overflow: hidden;
 }

 .main-search input[type="text"] {
     flex: 1;
     min-width: 0;
     border: none;
     outline: none;
     padding: 10px 14px;
     font-size: 0.95rem;
     color: #333;
 }

 .main-search button {
     background: var(--primary-red);
     border: none;
     padding: 0 16px;
     cursor: pointer;
     color: #fff;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
 }

 .main-search button:hover {
     background: var(--hover-red);
 }

 .main-search button svg {
     stroke: #fff;
 }

 /* Header List Items */
 .header-list-items {
     flex-shrink: 0;
 }

 .header-list-items ul {
     list-style: none;
     display: flex;
     align-items: center;
     gap: 16px;
     margin: 0;
     padding: 0;
     flex-wrap: nowrap;
 }

 .header-list-items ul li a {
     text-decoration: none;
     color: #333;
     font-size: 0.88rem;
     display: flex;
     align-items: center;
     gap: 5px;
     white-space: nowrap;
 }

 .header-list-items ul li a:hover {
     color: var(--primary-red);
 }

 .header-list-items ul li a i {
     font-size: 1rem;
 }

 /* Cart icon with badge */
 .cart-dialog>a {
     position: relative;
     text-decoration: none;
     color: #333;
     font-size: 0.88rem;
     display: flex;
     align-items: center;
     gap: 5px;
 }

 .cart-badge {
     background: var(--primary-red);
     color: #fff;
     border-radius: 50%;
     font-size: 0.7rem;
     min-width: 18px;
     height: 18px;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     margin-left: -8px;
     margin-bottom: 24px;
 }

 /* ===========================
   CATEGORY / NAV MENU
=========================== */
 .menu-area {
     background-color: var(--primary-red);
 }

 .catagory_menu ul {
     list-style: none;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-wrap: wrap;
     margin: 0;
     padding: 0;
 }

 .catagory_menu ul li.cat_bar>a {
     display: block;
     color: #fff;
     text-decoration: none;
     padding: 10px 14px;
     font-size: 18px;
     white-space: nowrap;
     transition: background 0.2s;
 }

 .catagory_menu ul li.cat_bar>a:hover {
     background: rgba(255, 255, 255, 0.18);
 }

 /* ===========================
   MOBILE HEADER
=========================== */
 .mobile-header-bar {
     display: none;
     background: #fff;
     padding: 8px 12px;
     align-items: center;
     justify-content: space-between;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
     position: sticky;
     top: 0;
     z-index: 1030;
 }

 .mobile-logo-img img {
     height: 55px;
     object-fit: contain;
 }

 .mobile-right {
     display: flex;
     align-items: center;
     gap: 14px;
 }

 .mobile-cart-btn {
     position: relative;
     color: #333;
     font-size: 1.35rem;
     text-decoration: none;
 }

 .mobile-cart-qty {
     position: absolute;
     top: -6px;
     right: -8px;
     background: var(--primary-red);
     color: #fff;
     border-radius: 50%;
     font-size: 0.65rem;
     min-width: 16px;
     height: 16px;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .mobile-menu-toggle {
     background: none;
     border: none;
     font-size: 1.5rem;
     color: var(--primary-red);
     cursor: pointer;
     padding: 2px 6px;
 }

 /* Mobile Search Bar */
 .mobile-search-bar {
     display: none;
     background: #f5f5f5;
     padding: 8px 12px;
 }

 .mobile-search-bar form {
     display: flex;
     border: 1.5px solid var(--primary-red);
     border-radius: 4px;
     overflow: hidden;
 }

 .mobile-search-bar input[type="text"] {
     flex: 1;
     border: none;
     outline: none;
     padding: 8px 12px;
     font-size: 0.9rem;
     background: #fff;
 }

 .mobile-search-bar button {
     background: var(--primary-red);
     border: none;
     padding: 0 12px;
     color: #fff;
     cursor: pointer;
 }

 /* ===========================
   MOBILE OFFCANVAS MENU
=========================== */
 .offcanvas-header {
     background: var(--primary-red);
 }

 .offcanvas-title {
     color: #fff;
     font-size: 1.1rem;
 }

 .offcanvas-body {
     padding: 0;
 }

 .mobile-nav-list {
     list-style: none;
     margin: 0;
     padding: 0;
 }

 .mobile-nav-list li a {
     display: block;
     padding: 13px 20px;
     color: #333;
     text-decoration: none;
     border-bottom: 1px solid #eee;
     font-size: 1rem;
 }

 .mobile-nav-list li a:hover {
     background: #fff5f5;
     color: var(--primary-red);
 }

 /* ===========================
   RESPONSIVE BREAKPOINTS
=========================== */

 /* ---- MOBILE (max 767px) ---- */
 @media (max-width: 767.98px) {
     .main-header {
         display: none;
     }

     .mobile-header-bar {
         display: flex;
     }

     .mobile-search-bar {
         display: block;
     }

     .top_header {
         display: none;
     }
 }

 /* ---- TABLET (768px – 991px) ---- */
 @media (min-width: 768px) and (max-width: 991.98px) {
     .top_header {
         display: flex;
     }

     .hotline-btn {
         min-width: 180px;
         font-size: 0.9rem;
         padding: 4px 8px;
     }

     .headline-scroll-text {
         font-size: 0.8rem;
     }

     /* Logo shrinks */
     .main-logo a img {
         height: 46px;
         max-width: 140px;
     }

     /* Search bar takes available space */
     .main-search {
         max-width: 320px;
     }

     .main-search input[type="text"] {
         padding: 8px 10px;
         font-size: 0.85rem;
     }

     /* Action links shrink */
     .header-list-items ul {
         gap: 8px;
     }

     .header-list-items ul li a {
         font-size: 0.78rem;
         gap: 3px;
     }

     /* Hide text labels on very small tablet, keep icons */
     .header-list-items ul li.track_btn a span,
     .header-list-items ul li.for_order a span {
         display: none;
     }

     /* Category menu */
     .catagory_menu ul li.cat_bar>a {
         padding: 8px 9px;
         font-size: 0.82rem;
     }
 }

 /* ---- LAPTOP (992px – 1199px) ---- */
 @media (min-width: 992px) and (max-width: 1199.98px) {
     .main-logo a img {
         height: 55px;
         max-width: 160px;
     }

     .main-search {
         max-width: 380px;
     }

     .main-search input[type="text"] {
         padding: 9px 12px;
         font-size: 0.9rem;
     }

     .header-list-items ul {
         gap: 12px;
     }

     .header-list-items ul li a {
         font-size: 0.83rem;
     }

     .catagory_menu ul li.cat_bar>a {
         padding: 9px 12px;
         font-size: 15px;
     }

     .hotline-btn {
         min-width: 220px;
         font-size: 1rem;
     }
 }

 /* ---- DESKTOP (1200px – 1399px) ---- */
 @media (min-width: 1200px) and (max-width: 1399.98px) {
     .main-logo a img {
         height: 60px;
         max-width: 180px;
     }

     .main-search {
         max-width: 440px;
     }

     .catagory_menu ul li.cat_bar>a {
         padding: 10px 14px;
         font-size: 17px;
     }
 }

 /* ---- LARGE DESKTOP (1400px+) ---- */
 @media (min-width: 1400px) {
     .logo-header {
         gap: 28px;
     }

     .main-logo a img {
         height: 70px;
         max-width: 200px;
     }

     .main-search {
         max-width: 500px;
     }
 }

 /* ---- EXTRA LARGE (1920px+) ---- */
 @media (min-width: 1920px) {
     .top_header {
         height: 48px;
     }

     :root {
         --top-bar-height: 48px;
     }

     .hotline-btn {
         font-size: 1.3rem;
         min-width: 300px;
     }

     .headline-scroll-text {
         font-size: 1rem;
     }

     .main-logo a img {
         height: 75px;
         max-width: 220px;
     }

     .main-search {
         max-width: 580px;
     }

     .main-search input[type="text"] {
         padding: 12px 16px;
         font-size: 1.05rem;
     }

     .catagory_menu ul li.cat_bar>a {
         padding: 12px 18px;
         font-size: 22px;
     }

     .header-list-items ul li a {
         font-size: 0.95rem;
     }
 }

 /* header css end */

 /* BANNER css start */
 /* Remove all container padding on mobile */
 @media (max-width: 767.98px) {

     .slider-section .container,
     .slider-section .row,
     .slider-section .col-12 {
         padding-left: 0 !important;
         padding-right: 0 !important;
         margin-left: 0 !important;
         margin-right: 0 !important;
         max-width: 100% !important;
         width: 100% !important;
     }
 }

 .slider-section {
     background: #fff;
     padding: 10px 0;
 }

 @media (max-width: 767.98px) {
     .slider-section {
         padding: 0;
         background: #111;
     }
 }

 .home-slider-container {
     position: relative;
     overflow: hidden;
     border-radius: 6px;
     background: #111;
     line-height: 0;
 }

 @media (max-width: 767.98px) {
     .home-slider-container {
         border-radius: 0;
         width: 100vw;
         margin-left: calc(-50vw + 50%);
     }
 }

 /* Slide track */
 .slider-track {
     display: flex;
     transition: transform 0.55s cubic-bezier(0.45, 0, 0.2, 1);
     will-change: transform;
 }

 .slider-track .slider-item {
     min-width: 100%;
     line-height: 0;
     overflow: hidden;
 }

 /* Desktop/Tablet: full width natural height */
 .slider-track .slider-item img {
     width: 100%;
     height: auto;
     display: block;
     pointer-events: none;
     user-select: none;
     -webkit-user-drag: none;
 }

 /* Mobile: show full image using aspect ratio box */
 @media (max-width: 767.98px) {
     .slider-track .slider-item {
         position: relative;
     }

     .slider-track .slider-item img {
         width: 100%;
         height: auto;
         display: block;
         object-fit: contain;
         background: #fff;
     }
 }

 /* Prev / Next Buttons */
 .slider-btn {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     width: 40px;
     height: 40px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.90);
     border: none;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     z-index: 10;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
     transition: background 0.2s, transform 0.15s;
     outline: none;
     padding: 0;
 }

 .slider-btn:hover {
     background: #fff;
     transform: translateY(-50%) scale(1.08);
 }

 .slider-btn:active {
     transform: translateY(-50%) scale(0.94);
 }

 .slider-btn-prev {
     left: 12px;
 }

 .slider-btn-next {
     right: 12px;
 }

 .slider-btn i {
     color: var(--primary-red, #c0392b);
     font-size: 0.95rem;
     display: flex;
 }

 /* Mobile buttons */
 @media (max-width: 767.98px) {
     .slider-btn {
         width: 30px;
         height: 30px;
         background: rgba(255, 255, 255, 0.85);
     }

     .slider-btn i {
         font-size: 0.75rem;
     }

     .slider-btn-prev {
         left: 8px;
     }

     .slider-btn-next {
         right: 8px;
     }
 }

 /* Tablet */
 @media (min-width: 768px) and (max-width: 991.98px) {
     .slider-btn {
         width: 36px;
         height: 36px;
     }
 }

 /* 22 inch / 1920px+ */
 @media (min-width: 1920px) {
     .slider-section {
         padding: 14px 0;
     }

     .slider-btn {
         width: 52px;
         height: 52px;
     }

     .slider-btn i {
         font-size: 1.2rem;
     }
 }

 /* BANNER css end */

 /* categore css start  */
 /* ===== SECTION ===== */
 .homeproduct {
     background: #fff;
     padding: 18px 0 10px;
 }

 /* ===== SECTION TITLE ===== */
 .sec_title {
     margin-bottom: 14px;
 }

 .section-title-header {
     margin: 0;
     padding: 0;
 }

 .timer_inner {
     display: inline-flex;
     align-items: center;
 }

 .section-title-name {
     font-size: 1.15rem;
     font-weight: 700;
     color: #222;
     font-family: 'SolaimanLipi', 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
     letter-spacing: 0.01em;
     /* border-left: 4px solid #3c7d17; */
     padding-left: 10px;
     line-height: 1.3;
 }

 /* ===== CATEGORY SLIDER WRAPPER ===== */
 .category-slider-wrapper {
     position: relative;
     overflow: hidden;
 }

 /* ===== SLIDER TRACK ===== */
 .category-track {
     display: flex;
     gap: 8px;
     transition: transform 0.35s cubic-bezier(0.45, 0, 0.2, 1);
     will-change: transform;
     padding: 4px 2px 8px;
 }

 /* ===== SINGLE ITEM ===== */
 /* Desktop: show exactly 7 items */
 .cat-item {
     flex: 0 0 auto;
     width: calc((100%) / 7 - 8px);
     cursor: pointer;
 }

 /* Responsive square circle using padding-top trick */
 .cat-img-wrap {
     width: 88%;
     padding-top: 88%;
     position: relative;
     margin: 0 auto 8px;
     border-radius: 50%;
     overflow: hidden;
     border: 2px solid #3c7d17;
     background: #f5f5f5;
     transition: border-color 0.2s, box-shadow 0.2s;
 }

 .cat-item:hover .cat-img-wrap {
     border-color: #2a5c10;
     box-shadow: 0 3px 10px rgba(60, 125, 23, 0.25);
 }

 .cat-img-wrap img {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
     pointer-events: none;
     user-select: none;
 }

 .cat-label {
     text-align: center;
     font-size: 0.78rem;
     color: #333;
     font-family: 'SolaimanLipi', 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
     font-weight: 500;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
     display: block;
     padding: 0 4px;
 }

 .cat-item a {
     text-decoration: none;
     color: inherit;
 }

 .cat-item a:hover .cat-label {
     color: #3c7d17;
 }

 /* ===== NAV ARROWS (hidden by default, shown on wider screens) ===== */
 .cat-nav-btn {
     position: absolute;
     top: 50%;
     transform: translateY(-60%);
     width: 28px;
     height: 28px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.95);
     border: 1px solid #ddd;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     z-index: 10;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
     transition: background 0.2s, transform 0.15s;
     outline: none;
     padding: 0;
 }

 .cat-nav-btn:hover {
     background: #fff;
     box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
 }

 .cat-nav-btn i {
     color: #3c7d17;
     font-size: 0.75rem;
 }

 .cat-nav-prev {
     left: -4px;
 }

 .cat-nav-next {
     right: -4px;
 }

 /* hide arrows on mobile (touch scroll handles it) */
 @media (max-width: 575.98px) {
     .cat-nav-btn {
         display: none;
     }

     .homeproduct {
         padding: 12px 0 6px;
     }

     .cat-item {
         width: 23vw;
         scroll-snap-align: start;
     }

     .cat-img-wrap {
         width: 88%;
         padding-top: 88%;
     }

     .cat-label {
         font-size: 0.70rem;
     }

     .section-title-name {
         font-size: 1rem;
     }

     /* touch scroll on mobile */
     .category-track {
         overflow-x: auto;
         overflow-y: hidden;
         scroll-snap-type: x mandatory;
         -webkit-overflow-scrolling: touch;
         scrollbar-width: none;
         padding-bottom: 6px;
     }

     .category-track::-webkit-scrollbar {
         display: none;
     }
 }

 /* Tablet */
 @media (min-width: 576px) and (max-width: 991.98px) {
     .cat-item {
         width: calc((100%) / 5 - 8px);
     }

     /* cat-img-wrap stays 88% width relative to item — no override needed */
 }

 /* 22 inch / 1920px+ */
 @media (min-width: 1920px) {
     .cat-item {
         width: calc((100%) / 7 - 8px);
     }

     /* circle stays 88% of item width — scales up automatically */
     .cat-label {
         font-size: 0.92rem;
     }

     .section-title-name {
         font-size: 1.35rem;
     }

     .homeproduct {
         padding: 22px 0 14px;
     }
 }

 /* categore css end */

 /* Publishers css start  */
 .brand-section {
     padding: 40px 0 50px;
     background: #fff;
 }

 .sec_title {
     margin-bottom: 30px;
 }

 .section-title-header {
     font-size: 22px;
     font-weight: 700;
     color: #222;
     display: flex;
     align-items: center;
     gap: 10px;
     margin-bottom: 0;
 }

 .section-title-header::before {
     content: '';
     display: inline-block;
     width: 5px;
     height: 24px;
     background: #e8372a;
     border-radius: 3px;
     flex-shrink: 0;
 }

 .section-title-name {
     color: #222;
 }

 .brand-grid {
     margin-top: 5px;
 }

 .brand-item {
     display: flex;
     flex-direction: column;
     align-items: center;
     text-decoration: none;
     padding: 16px 10px;
     border: 1px solid #e8e8e8;
     border-radius: 10px;
     background: #fff;
     transition: all 0.22s ease;
     height: 100%;
 }

 .brand-item:hover {
     border-color: #e8372a;
     box-shadow: 0 4px 18px rgba(232, 55, 42, 0.10);
     transform: translateY(-3px);
 }

 .brand-img {
     width: 80px;
     height: 80px;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-bottom: 12px;
     overflow: hidden;
     border-radius: 8px;
 }

 .brand-img img {
     max-width: 100%;
     max-height: 100%;
     object-fit: contain;
 }

 .brand-name {
     font-size: 13px;
     color: #333;
     font-weight: 600;
     text-align: center;
     line-height: 1.4;
     margin-top: auto;
 }

 .brand-item:hover .brand-name {
     color: #e8372a;
 }

 @media (max-width: 576px) {
     .brand-img {
         width: 60px;
         height: 60px;
     }

     .brand-name {
         font-size: 12px;
     }

     .brand-item {
         padding: 12px 6px;
     }

     .section-title-header {
         font-size: 18px;
     }
 }

 @media (min-width: 1400px) {
     .brand-img {
         width: 90px;
         height: 90px;
     }
 }

 /* Publishers css end  */



 /* Flash Sales css start */
 /* ========== SECTION ========== */
 .homeproduct {
     background: #fff;
     padding: 20px 0 28px;
 }

 /* ========== TOP BAR ========== */
 .flash-topbar {
     display: flex;
     align-items: center;
     justify-content: space-between;
     margin-bottom: 16px;
     flex-wrap: wrap;
     gap: 8px;
 }

 .flash-title {
     font-size: 1.15rem;
     font-weight: 700;
     color: #111;
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .flash-title::before {
     content: '';
     display: inline-block;
     width: 14px;
     height: 1.2em;
     background:
         linear-gradient(#e8372a, #e8372a) 0 0 / 5px 100% no-repeat,
         linear-gradient(#2e9e4f, #2e9e4f) 9px 0 / 5px 100% no-repeat;
     flex-shrink: 0;
 }

 .flash-timer {
     display: flex;
     align-items: center;
     gap: 5px;
 }

 .timer-box {
     background: #9b1c1c;
     color: #fff;
     font-size: 1rem;
     font-weight: 700;
     border-radius: 5px;
     padding: 5px 11px;
     min-width: 44px;
     text-align: center;
     line-height: 1.3;
     letter-spacing: 0.5px;
 }

 /* ========== SLIDER WRAPPER ========== */
 .slider-outer {
     position: relative;
     padding: 0 22px;
 }

 .slider-viewport {
     overflow: hidden;
     width: 100%;
 }

 .flash-slider {
     display: flex;
     /* gap set by JS via CSS var */
     gap: var(--card-gap, 10px);
     transition: transform 0.32s cubic-bezier(.4, 0, .2, 1);
     will-change: transform;
     cursor: grab;
     user-select: none;
 }

 .flash-slider.is-dragging {
     cursor: grabbing;
     transition: none;
 }

 /* ========== PRODUCT CARD ========== */
 .product-card {
     /* width controlled by JS */
     flex-shrink: 0;
     background: #fff;
     border: 1px solid #e5e5e5;
     border-radius: 7px;
     overflow: hidden;
     display: flex;
     flex-direction: column;
     transition: box-shadow 0.2s, transform 0.2s;
 }

 .product-card:hover {
     box-shadow: 0 6px 22px rgba(0, 0, 0, 0.13);
     transform: translateY(-2px);
 }

 /* Sale Badge — circle top-right */
 .sale-badge {
     position: absolute;
     top: 8px;
     right: 8px;
     z-index: 5;
     background: #9b1c1c;
     color: #fff;
     border-radius: 50%;
     width: 50px;
     height: 50px;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     font-size: 0.6rem;
     font-weight: 700;
     line-height: 1.15;
     text-align: center;
     pointer-events: none;
 }

 .sale-badge .pct {
     font-size: 0.78rem;
     font-weight: 800;
     line-height: 1;
 }

 /* Product image area */
 .pro-img-wrap {
     width: 100%;
     /* height set by JS */
     height: var(--img-h, 200px);
     overflow: hidden;
     position: relative;
     background: #f8f8f8;
     flex-shrink: 0;
 }

 .pro-img-wrap a {
     display: block;
     width: 100%;
     height: 100%;
 }

 .pro-img-wrap img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
     transition: transform 0.3s;
 }

 .product-card:hover .pro-img-wrap img {
     transform: scale(1.05);
 }

 /* Product info */
 .pro-info {
     padding: 8px 10px 7px;
     flex: 1;
     display: flex;
     flex-direction: column;
     gap: 4px;
 }

 .pro-name {
     font-size: 0.78rem;
     font-weight: 600;
     color: #1a1a1a;
     line-height: 1.4;
     min-height: 38px;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
     text-decoration: none;
 }

 .pro-name:hover {
     color: #9b1c1c;
 }

 .sold-pill {
     display: inline-block;
     background: #FFBCA5;
     color: #333;
     font-size: 0.69rem;
     font-weight: 600;
     border-radius: 50px;
     padding: 2px 12px;
     width: fit-content;
 }

 .pro-price del {
     font-size: 0.74rem;
     color: #aaa;
     font-weight: 400;
     margin-right: 4px;
 }

 .pro-price .sale-price {
     font-size: 0.86rem;
     color: #9b1c1c;
     font-weight: 700;
 }

 /* Buttons */
 .pro-actions {
     display: flex;
     border-top: 1px solid #f0f0f0;
     flex-shrink: 0;
 }

 .btn-order {
     flex: 1;
     background: #9b1c1c;
     color: #fff;
     font-size: 0.74rem;
     font-weight: 600;
     font-family: 'Hind Siliguri', sans-serif;
     border: none;
     padding: 9px 6px;
     cursor: pointer;
     text-align: center;
     text-decoration: none;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: background 0.18s;
     margin-right: 4px;
 }

 .btn-order:hover {
     background: #7a1515;
     color: #fff;
 }

 .btn-cart {
     width: 42px;
     flex-shrink: 0;
     background: #9b1c1c;
     color: #fff;
     border: none;
     border-left: 1px solid #f0f0f0;
     font-size: 0.85rem;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     text-decoration: none;
     transition: background 0.18s, color 0.18s;
 }

 .btn-cart:hover {
     background: #9b1c1c;
     color: #fff;
 }

 /* ========== ARROWS ========== */
 .slider-arrow {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     width: 34px;
     height: 34px;
     background: #fff;
     border: 1px solid #ddd;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     z-index: 20;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.11);
     font-size: 1.3rem;
     color: #555;
     outline: none;
     transition: background 0.18s, color 0.18s, border-color 0.18s;
     line-height: 1;
     padding: 0;
 }

 .slider-arrow:hover {
     background: #9b1c1c;
     color: #fff;
     border-color: #9b1c1c;
 }

 .slider-arrow.arr-prev {
     left: 0;
 }

 .slider-arrow.arr-next {
     right: 0;
 }

 /* Flash Sales css end */







 /* product css start */
 /* ===== SECTION ===== */
 .homeproduct {
     padding: 40px 0 50px;
     background: #fff;
 }

 /* ===== SECTION TITLE ===== */
 .sec_title {
     margin-bottom: 24px;
 }

 .section-title-header {
     font-size: 22px;
     font-weight: 700;
     color: #222;
     display: flex;
     align-items: center;
     gap: 10px;
     margin-bottom: 0;
 }

 .section-title-header::before {
     content: '';
     display: inline-block;
     width: 5px;
     height: 24px;
     background: #e8372a;
     border-radius: 3px;
     flex-shrink: 0;
 }

 /* ===== PRODUCT GRID ===== */
 .category-product.main_product_inner {
     display: grid;
     grid-template-columns: repeat(6, 1fr);
     gap: 16px;
 }

 @media (max-width: 1399px) {
     .category-product.main_product_inner {
         grid-template-columns: repeat(5, 1fr);
     }
 }

 @media (max-width: 1199px) {
     .category-product.main_product_inner {
         grid-template-columns: repeat(4, 1fr);
     }
 }

 @media (max-width: 991px) {
     .category-product.main_product_inner {
         grid-template-columns: repeat(3, 1fr);
     }
 }

 @media (max-width: 767px) {
     .category-product.main_product_inner {
         grid-template-columns: repeat(2, 1fr);
         gap: 10px;
     }
 }

 @media (max-width: 400px) {
     .category-product.main_product_inner {
         grid-template-columns: repeat(2, 1fr);
         gap: 8px;
     }
 }

 /* ===== PRODUCT ITEM ===== */
 .product_item {
     background: #fff;
     border: 1px solid #e8e8e8;
     border-radius: 10px;
     overflow: hidden;
     display: flex;
     flex-direction: column;
     transition: box-shadow 0.22s ease, transform 0.22s ease;
     position: relative;
 }

 .product_item:hover {
     box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
     transform: translateY(-3px);
 }

 /* ===== SALE BADGE ===== */
 .sale-badge {
     position: absolute;
     top: 8px;
     left: 8px;
     z-index: 2;
 }

 .sale-badge-box {
     background: #e8372a;
     border-radius: 6px;
     padding: 3px 8px;
     min-width: 44px;
     text-align: center;
 }

 .sale-badge-text {
     color: #fff;
     font-size: 11px;
     font-weight: 700;
     line-height: 1.3;
     display: flex;
     flex-direction: column;
     align-items: center;
 }

 .sale-badge-text p {
     margin: 0;
     font-size: 12px;
     font-weight: 800;
     line-height: 1.2;
 }

 /* ===== PRODUCT IMAGE ===== */
 .pro_img {
     width: 100%;
     aspect-ratio: 3/4;
     overflow: hidden;
     background: #f9f9f9;
 }

 .pro_img a {
     display: block;
     width: 100%;
     height: 100%;
 }

 .pro_img img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.3s ease;
 }

 .product_item:hover .pro_img img {
     transform: scale(1.04);
 }

 /* ===== PRODUCT DESCRIPTION ===== */
 .product_item_inner {
     flex: 1;
     display: flex;
     flex-direction: column;
 }

 .pro_des {
     padding: 10px 10px 6px;
     flex: 1;
 }

 .pro_name a {
     font-size: 13px;
     font-weight: 600;
     color: #222;
     text-decoration: none;
     line-height: 1.45;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
 }

 .pro_name a:hover {
     color: #e8372a;
 }

 .pro_price {
     margin-top: 6px;
 }

 .pro_price p {
     margin: 0;
     font-size: 14px;
     font-weight: 700;
     color: #e8372a;
 }

 .pro_price del {
     font-size: 12px;
     color: #999;
     font-weight: 400;
     margin-right: 4px;
 }

 /* ===== BUTTONS ===== */
 .pro_btn {
     display: flex;
     align-items: center;
     gap: 0;
     border-top: 1px solid #f0f0f0;
     margin-top: auto;
 }

 .order-btn-link {
     flex: 1;
     display: block;
     text-align: center;
     padding: 9px 4px;
     font-size: 13px;
     font-weight: 600;
     color: #fff;
     background: #8B0000;
     text-decoration: none;
     border-radius: 0 0 0 9px;
     transition: background 0.18s ease;
     margin-right: 4px;
 }

 .order-btn-link:hover {
     background: #8B0000;
     color: #fff;
 }

 .cart-icon-link {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 42px;
     min-width: 42px;
     padding: 11px 0;
     background: #8B0000;
     color: #fff;
     font-size: 15px;
     text-decoration: none;
     border-radius: 0 0 9px 0;
     transition: background 0.18s ease;
 }

 .cart-icon-link:hover {
     background: #8B0000;
     color: #fff;
 }

 /* ===== MOBILE TWEAKS ===== */
 @media (max-width: 576px) {
     .pro_name a {
         font-size: 12px;
     }

     .pro_price p {
         font-size: 13px;
     }

     .order-btn-link {
         font-size: 12px;
         padding: 8px 2px;
     }

     .cart-icon-link {
         width: 36px;
         min-width: 36px;
         font-size: 13px;
     }

     .section-title-header {
         font-size: 18px;
     }

     .pro_des {
         padding: 8px 8px 4px;
     }
 }

 /* product css end */

 /* sort banner css start */
 /* =============================================
           BANNER SECTION — FIXED & FULLY RESPONSIVE
           ============================================= */

 .banner-section {
     width: 100%;
     overflow: hidden;
 }

 .banner-section .row {
     margin-left: 0 !important;
     margin-right: 0 !important;
 }

 .banner-section .col-md-12 {
     padding-left: 0 !important;
     padding-right: 0 !important;
 }

 /* Link block */
 /* Link block */
 .banner-section a {
     display: block;
     width: 96%;
     /* Mobile & Desktop default */
     margin: 0 auto;
     line-height: 0;
 }

 /* 22-inch monitor (1920px+) */
 @media (min-width: 1900px) {
     .banner-section a {
         width: 70%;
     }
 }

 /* Image - full width, responsive on all screens */
 .banner-section img {
     display: block;
     width: 100% !important;
     height: auto !important;
     max-width: 100% !important;
     object-fit: cover;
 }

 /* sort banner css end */


 /*  vendor-shops start css */
 /* ========== SECTION ========== */
 .vendor-shops-section {
     background: #fff;
     padding: 28px 0 36px;
 }

 /* ========== SECTION TITLE ========== */
 .sec_title {
     margin-bottom: 20px;
 }

 .section-title-header {
     font-size: 1.15rem;
     font-weight: 700;
     color: #111;
     display: flex;
     align-items: center;
     gap: 10px;
     margin: 0;
 }

 .section-title-header::before {
     content: '';
     display: inline-block;
     width: 14px;
     height: 1.2em;
     background:
         linear-gradient(#e8372a, #e8372a) 0 0 / 5px 100% no-repeat,
         linear-gradient(#2e9e4f, #2e9e4f) 9px 0 / 5px 100% no-repeat;
     flex-shrink: 0;
 }

 /* ========== VENDOR CARD ========== */
 .vendor-shop-item {
     display: flex;
     flex-direction: column;
     border-radius: 10px;
     overflow: hidden;
     border: 1px solid #e5e5e5;
     text-decoration: none;
     background: #fff;
     transition: box-shadow 0.22s, transform 0.22s;
     height: 100%;
     position: relative;
 }

 .vendor-shop-item:hover {
     box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
     transform: translateY(-3px);
     text-decoration: none;
 }

 /* Banner bg */
 .shop-banner-bg {
     width: 100%;
     height: 72px;
     background-size: cover;
     background-position: center;
     background-color: #f0f0f0;
     flex-shrink: 0;
 }

 /* Content wrapper */
 .shop-content-wrapper {
     display: flex;
     flex-direction: column;
     align-items: center;
     padding: 0 10px 14px;
     flex: 1;
     position: relative;
 }

 /* Logo circle */
 .shop-logo-container {
     margin-top: -26px;
     margin-bottom: 8px;
     z-index: 2;
 }

 .shop-logo-circle {
     width: 52px;
     height: 52px;
     border-radius: 50%;
     border: 3px solid #fff;
     overflow: hidden;
     background: #f8f8f8;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
 }

 .shop-logo-circle img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
 }

 /* Shop details */
 .shop-details {
     text-align: center;
     margin-bottom: 10px;
     width: 100%;
 }

 .shop-title {
     font-size: 0.82rem;
     font-weight: 700;
     color: #1a1a1a;
     margin: 0 0 5px;
     line-height: 1.3;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .shop-rating-stars {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 2px;
     flex-wrap: wrap;
 }

 .shop-rating-stars .fa-star {
     color: #f5a623;
     font-size: 0.65rem;
 }

 .shop-review-text {
     font-size: 0.65rem;
     color: #888;
     margin-left: 3px;
 }

 /* Visit Store button */
 .shop-visit-btn {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 6px;
     background: #9b1c1c;
     color: #fff;
     border-radius: 5px;
     padding: 6px 14px;
     font-size: 0.7rem;
     font-weight: 700;
     letter-spacing: 0.4px;
     width: 100%;
     transition: background 0.18s;
     margin-top: auto;
 }

 .vendor-shop-item:hover .shop-visit-btn {
     background: #7a1515;
 }

 .visit-btn-icon {
     font-size: 0.7rem;
     display: flex;
     align-items: center;
 }

 /* ========== RESPONSIVE ========== */

 /* Mobile: ≤480px — 2 per row */
 @media (max-width: 480px) {
     .vendor-shops-section {
         padding: 18px 0 24px;
     }

     .section-title-header {
         font-size: 1rem;
     }

     .shop-banner-bg {
         height: 56px;
     }

     .shop-logo-circle {
         width: 44px;
         height: 44px;
     }

     .shop-logo-container {
         margin-top: -22px;
     }

     .shop-title {
         font-size: 0.75rem;
     }

     .shop-visit-btn {
         font-size: 0.65rem;
         padding: 5px 10px;
     }

     .shop-content-wrapper {
         padding: 0 8px 10px;
     }
 }

 /* Tablet: 481px–768px — 3 per row (Bootstrap col-sm-4 handles this) */
 @media (min-width: 481px) and (max-width: 768px) {
     .shop-banner-bg {
         height: 64px;
     }

     .shop-logo-circle {
         width: 48px;
         height: 48px;
     }

     .shop-logo-container {
         margin-top: -24px;
     }
 }

 /* Large tablet / small desktop: 769px–1200px — 4 per row */
 @media (min-width: 769px) and (max-width: 1199px) {
     .shop-banner-bg {
         height: 68px;
     }
 }

 /* Desktop: 1200px–1440px — 6 per row (Bootstrap col-lg-2) */
 @media (min-width: 1200px) and (max-width: 1440px) {
     .shop-banner-bg {
         height: 72px;
     }
 }

 /* Large monitor: 1441px+ (22 inch+) — 6 per row, larger cards */
 @media (min-width: 1441px) {
     .vendor-shops-section {
         padding: 32px 0 44px;
     }

     .section-title-header {
         font-size: 1.3rem;
     }

     .shop-banner-bg {
         height: 90px;
     }

     .shop-logo-circle {
         width: 62px;
         height: 62px;
         border-width: 4px;
     }

     .shop-logo-container {
         margin-top: -31px;
     }

     .shop-title {
         font-size: 0.92rem;
     }

     .shop-rating-stars .fa-star {
         font-size: 0.72rem;
     }

     .shop-review-text {
         font-size: 0.72rem;
     }

     .shop-visit-btn {
         font-size: 0.78rem;
         padding: 8px 16px;
     }

     .shop-content-wrapper {
         padding: 0 12px 16px;
     }
 }

 /* Extra large: 1920px+ */
 @media (min-width: 1920px) {
     .shop-banner-bg {
         height: 100px;
     }

     .shop-logo-circle {
         width: 68px;
         height: 68px;
     }

     .shop-logo-container {
         margin-top: -34px;
     }

     .shop-title {
         font-size: 1rem;
     }
 }

 /*  vendor-shops end css */

 /* blog css start */
 /* ========== SECTION ========== */
 .blog-home-section {
     background: #fff;
     padding: 28px 0 36px;
 }

 /* ========== SECTION TITLE ========== */
 .sec_title {
     margin-bottom: 20px;
 }

 .section-title-header {
     font-size: 1.15rem;
     font-weight: 700;
     color: #111;
     display: flex;
     align-items: center;
     gap: 10px;
     margin: 0;
     flex-wrap: wrap;
 }

 .section-title-header::before {
     content: '';
     display: inline-block;
     width: 14px;
     height: 1.2em;
     background:
         linear-gradient(#e8372a, #e8372a) 0 0 / 5px 100% no-repeat,
         linear-gradient(#2e9e4f, #2e9e4f) 9px 0 / 5px 100% no-repeat;
     flex-shrink: 0;
 }

 .section-title-name {
     flex: 1;
 }

 .view_more_btn {
     font-size: 0.75rem;
     font-weight: 600;
     color: #fff;
     border: 1.5px solid #9b1c1c;
     border-radius: 5px;
     padding: 4px 14px;
     text-decoration: none;
     margin-left: auto;
     transition: background 0.18s, color 0.18s;
     white-space: nowrap;
     background: #9b1c1c;
 }

 .view_more_btn:hover {
     background: #9b1c1c;
     color: #fff;
 }

 /* ========== BLOG CARD ========== */
 .blog-home-card {
     border: 1px solid #e5e5e5;
     border-radius: 10px;
     overflow: hidden;
     background: #fff;
     height: 100%;
     display: flex;
     flex-direction: column;
     transition: box-shadow 0.22s, transform 0.22s;
 }

 .blog-home-card:hover {
     box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
     transform: translateY(-3px);
 }

 /* Image */
 .blog-home-img {
     width: 100%;
     overflow: hidden;
     flex-shrink: 0;
 }

 .blog-home-img a {
     display: block;
     width: 100%;
 }

 .blog-home-img img {
     width: 100%;
     height: 220px;
     object-fit: cover;
     display: block;
     transition: transform 0.3s;
 }

 .blog-home-card:hover .blog-home-img img {
     transform: scale(1.05);
 }

 /* Content */
 .blog-home-content {
     padding: 14px 16px 16px;
     display: flex;
     flex-direction: column;
     flex: 1;
     gap: 8px;
 }

 /* Meta */
 .blog-home-meta {
     font-size: 0.75rem;
     color: #999;
     font-weight: 500;
     display: flex;
     align-items: center;
     gap: 6px;
 }

 .blog-home-meta::before {
     content: '\f073';
     font-family: 'Font Awesome 6 Free';
     font-weight: 900;
     font-size: 0.7rem;
     color: #9b1c1c;
 }

 /* Title */
 .blog-home-title {
     font-size: 0.95rem;
     font-weight: 700;
     line-height: 1.45;
     margin: 0;
 }

 .blog-home-title a {
     color: #1a1a1a;
     text-decoration: none;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
     transition: color 0.18s;
 }

 .blog-home-title a:hover {
     color: #9b1c1c;
 }

 /* Excerpt */
 .blog-home-content p {
     font-size: 0.82rem;
     color: #555;
     line-height: 1.65;
     margin: 0;
     display: -webkit-box;
     -webkit-line-clamp: 3;
     -webkit-box-orient: vertical;
     overflow: hidden;
     flex: 1;
 }

 /* Read More */
 .read-more-link {
     font-size: 0.8rem;
     font-weight: 700;
     color: #9b1c1c;
     text-decoration: none;
     display: inline-flex;
     align-items: center;
     gap: 4px;
     margin-top: auto;
     transition: gap 0.18s;
 }

 .read-more-link:hover {
     color: #7a1515;
     gap: 8px;
 }

 /* ========== RESPONSIVE ========== */

 /* Mobile: ≤480px */
 @media (max-width: 480px) {
     .blog-home-section {
         padding: 18px 0 24px;
     }

     .section-title-header {
         font-size: 1rem;
     }

     .blog-home-img img {
         height: 170px;
     }

     .blog-home-content {
         padding: 11px 12px 13px;
         gap: 6px;
     }

     .blog-home-title {
         font-size: 0.86rem;
     }

     .blog-home-content p {
         font-size: 0.77rem;
     }
 }

 /* Tablet: 481px–768px */
 @media (min-width: 481px) and (max-width: 768px) {
     .blog-home-img img {
         height: 195px;
     }

     .blog-home-title {
         font-size: 0.9rem;
     }
 }

 /* Large monitor: 1441px+ (22 inch+) */
 @media (min-width: 1441px) {
     .blog-home-section {
         padding: 36px 0 48px;
     }

     .section-title-header {
         font-size: 1.3rem;
     }

     .blog-home-img img {
         height: 260px;
     }

     .blog-home-content {
         padding: 18px 20px 20px;
         gap: 10px;
     }

     .blog-home-title {
         font-size: 1.08rem;
     }

     .blog-home-content p {
         font-size: 0.9rem;
     }

     .read-more-link {
         font-size: 0.88rem;
     }

     .blog-home-meta {
         font-size: 0.82rem;
     }
 }

 /* Extra large: 1920px+ */
 @media (min-width: 1920px) {
     .blog-home-img img {
         height: 290px;
     }

     .blog-home-title {
         font-size: 1.15rem;
     }

     .blog-home-content p {
         font-size: 0.94rem;
     }
 }

 /* blog css end */


 /* review-start css */
 /* ========== SECTION ========== */
 .review-section {
     background: var(--section-bg);
     padding: 40px 0 52px;
 }

 /* ========== TITLE ========== */
 .sec_title {
     margin-bottom: 28px;
 }

 .section-title-header {
     font-size: 1.15rem;
     font-weight: 700;
     color: var(--text-dark);
     display: flex;
     align-items: center;
     gap: 10px;
     margin: 0;
     flex-wrap: wrap;
 }

 .section-title-header::before {
     content: '';
     display: inline-block;
     width: 14px;
     height: 1.2em;
     background:
         linear-gradient(var(--primary-red), var(--primary-red)) 0 0 / 5px 100% no-repeat,
         linear-gradient(#2e9e4f, #2e9e4f) 9px 0 / 5px 100% no-repeat;
     flex-shrink: 0;
 }

 .section-title-name {
     flex: 1;
 }

 /* ========== SUMMARY BOX ========== */
 .review-summary-box {
     background: #fff;
     border: 1.5px solid var(--card-border);
     border-radius: 14px;
     padding: 28px 24px;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     text-align: center;
     height: 100%;
     gap: 10px;
     box-shadow: 0 2px 12px rgba(151, 12, 12, 0.06);
 }

 .summary-big-score {
     font-size: 4.5rem;
     font-weight: 800;
     color: var(--primary-red);
     line-height: 1;
 }

 .summary-stars {
     display: flex;
     justify-content: center;
     gap: 4px;
 }

 .summary-stars i {
     font-size: 1.3rem;
     color: var(--star-color);
 }

 .summary-total {
     font-size: 0.82rem;
     color: var(--meta-color);
     font-weight: 500;
 }

 .summary-label {
     font-size: 0.78rem;
     font-weight: 600;
     color: var(--text-muted);
     text-transform: uppercase;
     letter-spacing: 0.5px;
     margin-top: 2px;
 }

 /* Rating bars */
 .rating-bars {
     background: #fff;
     border: 1.5px solid var(--card-border);
     border-radius: 14px;
     padding: 24px 22px;
     height: 100%;
     box-shadow: 0 2px 12px rgba(151, 12, 12, 0.06);
     display: flex;
     flex-direction: column;
     justify-content: center;
     gap: 10px;
 }

 .rating-bar-row {
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .rating-bar-label {
     font-size: 0.78rem;
     font-weight: 600;
     color: var(--text-dark);
     min-width: 40px;
     display: flex;
     align-items: center;
     gap: 3px;
     white-space: nowrap;
 }

 .rating-bar-label i {
     color: var(--star-color);
     font-size: 0.7rem;
 }

 .rating-bar-track {
     flex: 1;
     background: #f0e5e5;
     border-radius: 99px;
     height: 8px;
     overflow: hidden;
 }

 .rating-bar-fill {
     height: 100%;
     border-radius: 99px;
     background: var(--primary-red);
     transition: width 1s ease;
 }

 .rating-bar-count {
     font-size: 0.74rem;
     color: var(--meta-color);
     min-width: 22px;
     text-align: right;
 }

 /* ========== REVIEW CARD ========== */
 .review-card {
     background: var(--card-bg);
     border: 1.5px solid var(--card-border);
     border-radius: 12px;
     padding: 20px 20px 18px;
     height: 100%;
     display: flex;
     flex-direction: column;
     gap: 12px;
     box-shadow: 0 2px 10px rgba(151, 12, 12, 0.05);
     transition: box-shadow 0.22s, transform 0.22s;
     position: relative;
 }

 .review-card:hover {
     box-shadow: 0 8px 28px rgba(151, 12, 12, 0.13);
     transform: translateY(-3px);
 }

 /* Quote icon */
 .review-card::before {
     content: '\201C';
     font-size: 4rem;
     color: var(--primary-red);
     opacity: 0.1;
     position: absolute;
     top: 8px;
     right: 16px;
     font-family: Georgia, serif;
     line-height: 1;
     pointer-events: none;
 }

 /* Card top: avatar + name + stars */
 .review-card-top {
     display: flex;
     align-items: flex-start;
     gap: 12px;
 }

 .reviewer-avatar {
     width: 46px;
     height: 46px;
     border-radius: 50%;
     background: var(--primary-red);
     color: #fff;
     font-size: 1.1rem;
     font-weight: 700;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
     text-transform: uppercase;
     border: 2px solid var(--card-border);
 }

 .reviewer-info {
     flex: 1;
 }

 .reviewer-name {
     font-size: 0.88rem;
     font-weight: 700;
     color: var(--text-dark);
     line-height: 1.3;
 }

 .reviewer-meta {
     font-size: 0.72rem;
     color: var(--meta-color);
     margin-top: 1px;
 }

 .review-stars {
     display: flex;
     gap: 2px;
     margin-top: 4px;
 }

 .review-stars i {
     font-size: 0.72rem;
     color: var(--star-color);
 }

 .review-stars i.empty {
     color: #ddd;
 }

 /* Book badge */
 .review-book-badge {
     display: inline-flex;
     align-items: center;
     gap: 5px;
     background: var(--badge-bg);
     color: var(--badge-text);
     border-radius: 5px;
     padding: 4px 10px;
     font-size: 0.72rem;
     font-weight: 600;
     width: fit-content;
     border: 1px solid #f5c5c5;
 }

 .review-book-badge i {
     font-size: 0.68rem;
 }

 /* Review text */
 .review-text {
     font-size: 0.83rem;
     color: var(--text-muted);
     line-height: 1.7;
     flex: 1;
     display: -webkit-box;
     -webkit-line-clamp: 4;
     -webkit-box-orient: vertical;
     overflow: hidden;
 }

 /* Card footer */
 .review-card-footer {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding-top: 10px;
     border-top: 1px solid #f5eded;
     margin-top: auto;
 }

 .review-date {
     font-size: 0.72rem;
     color: var(--meta-color);
     display: flex;
     align-items: center;
     gap: 4px;
 }

 .review-helpful {
     display: flex;
     align-items: center;
     gap: 5px;
     font-size: 0.72rem;
     color: var(--meta-color);
 }

 .helpful-btn {
     background: none;
     border: 1px solid #e5e5e5;
     border-radius: 5px;
     padding: 2px 8px;
     font-size: 0.7rem;
     color: var(--text-muted);
     cursor: pointer;
     display: flex;
     align-items: center;
     gap: 3px;
     transition: all 0.18s;
 }

 .helpful-btn:hover {
     background: var(--primary-red);
     color: #fff;
     border-color: var(--primary-red);
 }

 /* Verified badge */
 .verified-badge {
     display: inline-flex;
     align-items: center;
     gap: 3px;
     font-size: 0.68rem;
     color: #2e9e4f;
     font-weight: 600;
 }

 /* ========== LOAD MORE ========== */
 .load-more-wrap {
     text-align: center;
     margin-top: 28px;
 }

 .btn-load-more {
     background: #fff;
     color: var(--primary-red);
     border: 2px solid var(--primary-red);
     border-radius: 8px;
     padding: 10px 32px;
     font-size: 0.85rem;
     font-weight: 700;
     cursor: pointer;
     transition: all 0.2s;
     font-family: inherit;
     letter-spacing: 0.3px;
 }

 .btn-load-more:hover {
     background: var(--primary-red);
     color: #fff;
 }

 /* ========== RESPONSIVE ========== */
 @media (max-width: 480px) {
     .review-section {
         padding: 24px 0 32px;
     }

     .section-title-header {
         font-size: 1rem;
     }

     .summary-big-score {
         font-size: 3.5rem;
     }

     .review-card {
         padding: 15px 14px 13px;
     }

     .reviewer-avatar {
         width: 40px;
         height: 40px;
         font-size: 0.95rem;
     }

     .review-text {
         font-size: 0.79rem;
     }

     .rating-bars {
         padding: 16px 14px;
     }
 }

 @media (min-width: 481px) and (max-width: 768px) {
     .summary-big-score {
         font-size: 4rem;
     }
 }

 @media (min-width: 1441px) {
     .review-section {
         padding: 52px 0 64px;
     }

     .section-title-header {
         font-size: 1.3rem;
     }

     .summary-big-score {
         font-size: 5.5rem;
     }

     .summary-stars i {
         font-size: 1.5rem;
     }

     .review-card {
         padding: 24px 24px 20px;
     }

     .reviewer-avatar {
         width: 54px;
         height: 54px;
         font-size: 1.2rem;
     }

     .reviewer-name {
         font-size: 0.96rem;
     }

     .review-text {
         font-size: 0.9rem;
     }

     .rating-bars {
         padding: 28px 26px;
         gap: 13px;
     }

     .rating-bar-track {
         height: 10px;
     }
 }

 @media (min-width: 1920px) {
     .review-card {
         padding: 28px 28px 22px;
     }

     .review-text {
         font-size: 0.95rem;
     }

     .summary-big-score {
         font-size: 6rem;
     }
 }

 /* review-end css */



 /* footer start css */
 /* ============================================
           FOOTER
        ============================================ */
 footer {
     background: #ffffff !important;
 }

 /* ---------- FOOTER TOP ---------- */
 .footer-top {
     background: #ffffff !important;
     padding: 40px 0 30px;
 }

 /* Logo */
 .footer-about a img {
     max-width: 160px;
     height: auto;
     margin-bottom: 14px;
     display: block;
 }

 .footer-about p {
     font-size: 14px;
     color: #555;
     margin-bottom: 10px;
     line-height: 1.6;
 }

 .footer-hotlint {
     display: inline-block;
     font-size: 15px;
     font-weight: 600;
     color: #970c0c;
     text-decoration: none;
     margin-bottom: 14px;
 }

 .footer-hotlint:hover {
     color: #dc3545;
 }

 /* App badges */
 .app-badges {
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
     align-items: center;
 }

 .app-badge-btn img {
     height: 35px !important;
     max-height: 35px !important;
     width: auto !important;
     max-width: 140px !important;
 }

 /* ---------- FOOTER MENU ---------- */
 .footer-menu ul {
     list-style: none;
     padding: 0;
     margin: 0;
 }

 .footer-menu ul li {
     margin-bottom: 8px;
 }

 .footer-menu ul li.title a {
     font-size: 16px;
     font-weight: 700;
     color: #222;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     cursor: default;
     pointer-events: none;
     display: block;
     margin-bottom: 10px;
     padding-bottom: 8px;
     border-bottom: 2px solid #970c0c;
 }

 .footer-menu ul li a {
     font-size: 14px;
     color: #555;
     text-decoration: none;
     transition: color 0.2s;
 }

 .footer-menu ul li a:hover {
     color: #970c0c;
     padding-left: 4px;
 }

 /* ---------- NEWSLETTER ---------- */
 .footer-newsletter {
     background: transparent !important;
     background-color: transparent !important;
     padding: 0 !important;
     margin-bottom: 18px;
 }

 .stay_conn a {
     color: #000000 !important;
 }

 .newsletter-input-group {
     background: transparent !important;
     background-color: transparent !important;
     border: none !important;
 }

 .newsletter-input {
     background: #970c0c !important;
     background-color: #970c0c !important;
     border: none;
     color: #fff;
     font-size: 13px;
     border-radius: 4px 0 0 4px;
 }

 .newsletter-input::placeholder {
     color: rgba(255, 255, 255, 0.75);
 }

 .newsletter-input:focus {
     background: #970c0c !important;
     color: #fff;
     box-shadow: none;
     border-color: transparent;
 }

 .newsletter-btn {
     background: #dc3545 !important;
     background-color: #dc3545 !important;
     border: none;
     border-radius: 0 4px 4px 0;
     padding: 0 14px;
 }

 .newsletter-btn:hover {
     background: #b02a37 !important;
 }

 /* ---------- SOCIAL LINKS ---------- */
 .social_link {
     list-style: none;
     padding: 0;
     margin: 10px 0 0;
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
 }

 .social_list {
     margin: 0;
 }

 .mobile-social-link {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 36px;
     height: 36px;
     border-radius: 50%;
     background: #970c0c;
     color: #fff !important;
     font-size: 15px;
     text-decoration: none;
     transition: background 0.2s, transform 0.2s;
 }

 .mobile-social-link:hover {
     background: #dc3545;
     transform: translateY(-2px);
     color: #fff;
 }

 /* ---------- FOOTER BOTTOM ---------- */
 .footer-bottom {
     background: #970c0c !important;
     padding: 14px 0;
 }

 .footer-bottom .copyright p {
     margin: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-wrap: wrap;
     gap: 5px;
     color: #fff;
     font-size: 13px;
 }

 .footer-bottom .copyright a {
     display: inline-flex;
     align-items: center;
     text-decoration: none;
     color: white;
     margin-left: 5px;
 }

 .footer-bottom .copyright a img {
     height: 24px;
     margin-right: 5px;
 }

 /* ============================================
           RESPONSIVE
        ============================================ */

 /* Mobile */
 @media (max-width: 575px) {
     .footer-top {
         padding: 28px 0 20px;
     }

     .footer-about {
         margin-bottom: 24px;
     }

     .footer-menu {
         margin-bottom: 20px;
     }

     .footer-menu ul li.title a {
         font-size: 14px;
     }

     .app-badges {
         flex-direction: row;
     }

     .footer-bottom .copyright p {
         font-size: 12px;
         text-align: center;
     }
 }

 /* Tablet */
 @media (min-width: 576px) and (max-width: 991px) {
     .footer-top {
         padding: 32px 0 24px;
     }
 }

 /* 22-inch monitor (1920px+) */
 @media (min-width: 1920px) {

     .footer-top .container,
     .footer-bottom .container {
         max-width: 1800px;
     }
 }

 /* footer end css */


 /*  FLOATING CART BUTTON start css  */
 /* ===== FLOATING CART BUTTON ===== */
 .cart-float-btn {
     position: fixed;
     right: 0;
     top: 50%;
     transform: translateY(-50%);
     z-index: 1050;
     cursor: pointer;
 }

 .cart-float-inner {
     background: var(--primary);
     width: 58px;
     height: 58px;
     border-radius: 12px 0 0 12px;
     display: flex;
     align-items: center;
     justify-content: center;
     box-shadow: -3px 3px 12px rgba(0, 0, 0, 0.25);
     transition: background 0.2s, transform 0.2s;
     position: relative;
 }

 .cart-float-inner:hover {
     background: var(--primary-light);
     transform: translateX(-4px);
 }

 .cart-float-inner i {
     color: #fff;
     font-size: 22px;
 }

 .cart-badgee {
     position: absolute;
     top: -6px;
     right: -4px;
     background: #fff;
     color: var(--primary);
     font-size: 11px;
     font-weight: 800;
     width: 20px;
     height: 20px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     border: 2px solid var(--primary);
     line-height: 1;
 }

 /* ===== OFFCANVAS SIDEBAR ===== */
 .offcanvas.offcanvas-end {
     width: 380px;
     border-left: none;
     box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
 }

 .offcanvas-header {
     background: var(--primary);
     color: #fff;
     padding: 16px 20px;
 }

 .offcanvas-header .offcanvas-title {
     font-size: 17px;
     font-weight: 700;
     letter-spacing: 0.5px;
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .offcanvas-header .btn-close {
     filter: invert(1);
     opacity: 0.9;
 }

 .offcanvas-body {
     padding: 0;
     display: flex;
     flex-direction: column;
     height: 100%;
     background: #fafafa;
 }

 /* Cart Items Area */
 .cart-items-wrap {
     flex: 1;
     overflow-y: auto;
     padding: 16px;
 }

 .cart-item {
     display: flex;
     align-items: center;
     gap: 12px;
     background: #fff;
     border-radius: 10px;
     padding: 12px;
     margin-bottom: 12px;
     box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
     transition: box-shadow 0.2s;
 }

 .cart-item:hover {
     box-shadow: 0 3px 12px rgba(151, 12, 12, 0.12);
 }

 .cart-item-img {
     width: 64px;
     height: 64px;
     object-fit: cover;
     border-radius: 8px;
     background: #f0f0f0;
     flex-shrink: 0;
 }

 .cart-item-img-placeholder {
     width: 64px;
     height: 64px;
     border-radius: 8px;
     background: linear-gradient(135deg, #f5d0d0, #fce4e4);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 22px;
     color: var(--primary);
     flex-shrink: 0;
 }

 .cart-item-info {
     flex: 1;
     min-width: 0;
 }

 .cart-item-name {
     font-size: 13.5px;
     font-weight: 600;
     color: #222;
     margin-bottom: 3px;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .cart-item-price {
     font-size: 13px;
     font-weight: 700;
     color: var(--primary);
 }

 .cart-item-qty {
     display: flex;
     align-items: center;
     gap: 6px;
     margin-top: 6px;
 }

 .qty-btn {
     width: 24px;
     height: 24px;
     border-radius: 50%;
     border: 1.5px solid var(--primary);
     background: transparent;
     color: var(--primary);
     font-size: 14px;
     line-height: 1;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: all 0.15s;
     padding: 0;
 }

 .qty-btn:hover {
     background: var(--primary);
     color: #fff;
 }

 .qty-num {
     font-size: 13px;
     font-weight: 600;
     color: #333;
     min-width: 18px;
     text-align: center;
 }

 .cart-item-remove {
     background: none;
     border: none;
     color: #bbb;
     font-size: 16px;
     cursor: pointer;
     padding: 4px;
     transition: color 0.2s;
     align-self: flex-start;
 }

 .cart-item-remove:hover {
     color: var(--primary);
 }

 /* Empty State */
 .cart-empty {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     height: 100%;
     padding: 40px 20px;
     text-align: center;
     color: #aaa;
 }

 .cart-empty i {
     font-size: 56px;
     margin-bottom: 14px;
     color: #ddd;
 }

 .cart-empty p {
     font-size: 15px;
     margin: 0;
 }

 /* Cart Footer */
 .cart-footer {
     background: #fff;
     border-top: 1px solid #eee;
     padding: 16px 20px;
 }

 .cart-subtotal {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 6px;
 }

 .cart-subtotal span:first-child {
     font-size: 13px;
     color: #777;
 }

 .cart-subtotal span:last-child {
     font-size: 15px;
     font-weight: 700;
     color: #222;
 }

 .cart-total {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 14px;
     padding-top: 8px;
     border-top: 1px dashed #eee;
 }

 .cart-total span:first-child {
     font-size: 14px;
     font-weight: 600;
     color: #333;
 }

 .cart-total span:last-child {
     font-size: 18px;
     font-weight: 800;
     color: var(--primary);
 }

 .btn-checkout {
     width: 100%;
     background: var(--primary);
     color: #fff;
     border: none;
     border-radius: 8px;
     padding: 12px;
     font-size: 14px;
     font-weight: 700;
     letter-spacing: 0.5px;
     cursor: pointer;
     transition: background 0.2s, transform 0.1s;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
 }

 .btn-checkout:hover {
     background: var(--primary-light);
     transform: translateY(-1px);
 }

 .btn-continue {
     width: 100%;
     background: transparent;
     color: var(--primary);
     border: 1.5px solid var(--primary);
     border-radius: 8px;
     padding: 10px;
     font-size: 13px;
     font-weight: 600;
     cursor: pointer;
     margin-top: 8px;
     transition: all 0.2s;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 6px;
 }

 .btn-continue:hover {
     background: var(--primary);
     color: #fff;
 }

 /*  FLOATING CART BUTTON end css */

 /*  */
 /* ===== CHAT WIDGET WRAPPER ===== */
 .chat-widget {
     position: fixed;
     bottom: 30px;
     right: 24px;
     z-index: 9999;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 10px;
 }

 /* ===== CHAT OPTIONS (hidden by default) ===== */
 .chat-options {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 10px;
     /* hidden state */
     opacity: 0;
     pointer-events: none;
     transform: translateY(20px);
     transition: opacity 0.3s ease, transform 0.3s ease;
 }

 .chat-options.open {
     opacity: 1;
     pointer-events: all;
     transform: translateY(0);
 }

 /* Each option button animates with stagger */
 .chat-options .chat-btn:nth-child(1) {
     transition-delay: 0.05s;
 }

 .chat-options .chat-btn:nth-child(2) {
     transition-delay: 0.10s;
 }

 .chat-options .chat-btn:nth-child(3) {
     transition-delay: 0.15s;
 }

 /* ===== SHARED BUTTON STYLE ===== */
 .chat-btn,
 .chat-toggle {
     width: 52px;
     height: 52px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 22px;
     color: #fff;
     text-decoration: none;
     border: none;
     cursor: pointer;
     box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
     transition: transform 0.2s, box-shadow 0.2s;
     position: relative;
 }

 .chat-btn:hover,
 .chat-toggle:hover {
     transform: scale(1.1);
     box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
     color: #fff;
 }

 /* ===== TOGGLE BUTTON (green chat bubble) ===== */
 .chat-toggle {
     background: #25d366;
     z-index: 2;
 }

 .chat-toggle i {
     transition: transform 0.3s ease;
 }

 .chat-toggle.active i {
     transform: rotate(90deg);
 }

 /* ===== MESSENGER (blue) ===== */
 .chat-btn.messenger {
     background: #0084ff;
 }

 /* ===== WHATSAPP (green) ===== */
 .chat-btn.whatsapp {
     background: #25d366;
 }

 /* ===== HOTLINE (red) ===== */
 .chat-btn.hotline {
     background: #e53935;
 }

 /* ===== TOOLTIP LABELS ===== */
 .chat-btn::before {
     content: attr(title);
     position: absolute;
     right: 62px;
     background: rgba(0, 0, 0, 0.72);
     color: #fff;
     font-size: 12px;
     font-weight: 500;
     padding: 4px 10px;
     border-radius: 6px;
     white-space: nowrap;
     opacity: 0;
     pointer-events: none;
     transition: opacity 0.2s;
     font-family: 'Segoe UI', sans-serif;
 }

 .chat-btn:hover::before {
     opacity: 1;
 }

 /* ===== PULSE ANIMATION on toggle ===== */
 @keyframes pulse-ring {
     0% {
         box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
     }

     70% {
         box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
     }

     100% {
         box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
     }
 }

 .chat-toggle:not(.active) {
     animation: pulse-ring 2s infinite;
 }

 /*  */