

/*--------------------------------------------------------------
This is main CSS file that contains custom style rules used in this template
--------------------------------------------------------------*/
/*--------------------------------------------------------------
/** VARIABLES
--------------------------------------------------------------*/
body {
  --heading-font        : "Inter", sans-serif;
  --brand-font          : "Josefin Sans", sans-serif;
  --bs-link-color: #333;
  --bs-link-hover-color:#333;

  --bs-link-color-rgb: 40,40,40;
  --bs-link-hover-color-rgb: 0,0,0;

  --bs-light-rgb: 248, 248, 248;

  --bs-font-sans-serif: "Inter", sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 2;
  --bs-body-color: #747474;

  --bs-primary: #6BB252;
  --bs-primary-rgb: 107, 178, 82;
  
  --bs-secondary: #364127;
  --bs-secondary-rgb: 54, 65, 39;
  
  --bs-danger: #F95F09;
  --bs-danger-rgb: 249, 95, 9;

  --bs-success: #a3be4c;
  --bs-gold: #f7a422;
  --bs-cyan: #17a2b8;
  --bs-success-rgb: 163, 190, 76;
  
  --bs-primary-bg-subtle: #FFF9EB;
  --bs-success-bg-subtle: #eef5e5;
  
  --bs-border-color: #F7F7F7;

  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge Legacy */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}
/* .btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #f7a422;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bs-primary);
  --bs-btn-active-border-color: transparent;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #d3d7dd;
  --bs-btn-disabled-border-color: transparent;
}
.btn-outline-primary {
  --bs-btn-color: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ffc107;
  --bs-btn-hover-border-color: #ffc107;
  --bs-btn-focus-shadow-rgb: 13,110,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ffc107;
  --bs-btn-active-border-color: #ffc107;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff3cd;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #fff3cd;
  --bs-gradient: none;
}
.btn-outline-light {
  --bs-btn-color: #747474;
  --bs-btn-border-color: #EFEFEF;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #EFEFEF;
  --bs-btn-hover-border-color: #EFEFEF;
  --bs-btn-focus-shadow-rgb: 248,249,250;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #EFEFEF;
  --bs-btn-active-border-color: #EFEFEF;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #EFEFEF;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #EFEFEF;
  --bs-gradient: none;
}
.btn-warning {
  --bs-btn-color: #747474;
  --bs-btn-bg: #FCF7EB;
  --bs-btn-border-color: #FCF7EB;
  --bs-btn-hover-color: #747474;
  --bs-btn-hover-bg: #FFECBE;
  --bs-btn-hover-border-color: #FFECBE;
  --bs-btn-focus-shadow-rgb: 217,164,6;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #FFECBE;
  --bs-btn-active-border-color: #FFECBE;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #FCF7EB;
  --bs-btn-disabled-border-color: #FCF7EB;
}
.btn-success {
  --bs-btn-color: #222;
  --bs-btn-bg: #EEF5E4;
  --bs-btn-border-color: #EEF5E4;
  --bs-btn-hover-color: #222;
  --bs-btn-hover-bg: #9de3c2;
  --bs-btn-hover-border-color: #9de3c2;
  --bs-btn-focus-shadow-rgb: 60,153,110;
  --bs-btn-active-color: #222;
  --bs-btn-active-bg: #9de3c2;
  --bs-btn-active-border-color: #9de3c2;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #222;
  --bs-btn-disabled-bg: #EEF5E4;
  --bs-btn-disabled-border-color: #EEF5E4;
}
.btn-danger {
  --bs-btn-color: #222;
  --bs-btn-bg: #FFEADA;
  --bs-btn-border-color: #FFEADA;
  --bs-btn-hover-color: #222;
  --bs-btn-hover-bg: #ecc9af;
  --bs-btn-hover-border-color: #ecc9af;
  --bs-btn-focus-shadow-rgb: 60,153,110;
  --bs-btn-active-color: #222;
  --bs-btn-active-bg: #ecc9af;
  --bs-btn-active-border-color: #ecc9af;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #222;
  --bs-btn-disabled-bg: #FFEADA;
  --bs-btn-disabled-border-color: #FFEADA;
} */
body {
  letter-spacing: 0.03em;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--heading-font);
  color: var(--bs-dark);
  font-weight: 700;
}
.breadcrumb.text-white {
  --bs-breadcrumb-divider-color: #fff;
  --bs-breadcrumb-item-active-color: var(--bs-primary);
}
.dropdown-menu {
  --bs-dropdown-link-active-bg: var(--bs-primary);
}
.nav-pills .nav-link {
  --bs-nav-pills-link-active-color: #111;
  --bs-nav-pills-link-active-bg: #f1f1f1;
}
.pagination {
  --bs-pagination-active-bg: var(--bs-primary);
  --bs-pagination-active-border-color: var(--bs-primary);
}
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
  --bs-gutter-x: 3rem;
}
/*----------------------------------------------*/
/* 6. SITE STRUCTURE */
/*----------------------------------------------*/
/* 6.1 Header
--------------------------------------------------------------*/
/* Preloader */
.preloader-wrapper {
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 111;
  background: #fff;
}

.preloader-wrapper .preloader {
  margin: 20% auto 0;
  transform: translateZ(0);
}

.preloader:before,
.preloader:after {
  content: '';
  position: absolute;
  top: 0;
}

.preloader:before,
.preloader:after,
.preloader {
  border-radius: 50%;
  width: 2em;
  height: 2em;
  animation: animation 1.2s infinite ease-in-out;
}

.preloader {
  animation-delay: -0.16s;
}

.preloader:before {
  left: -3.5em;
  animation-delay: -0.32s;
}

.preloader:after {
  left: 3.5em;
}

@keyframes animation {
  0%,
  80%,
  100% {
    box-shadow: 0 2em 0 -1em var(--bs-primary);
  }
  40% {
    box-shadow: 0 2em 0 0 var(--bs-primary);
  }
}

/* *** Start editing below this line *** */
/* .container-fluid {
  max-width: 1600px;
}
*/
@media (min-width: 1400px) {
  .container-lg {
      max-width: 1600px;
  }
} 



/* Swiper carousel */
.swiper-prev,
.swiper-next {
  width: 38px;
  height: 38px;
  line-height: 38px;
  background: #F1F1F1;
  color: #222222;
  padding: 0;
  text-align: center;
  border-radius: 10px;
  --bs-btn-border-color: transparent;
  --bs-btn-active-bg: #ec9b22;
  --bs-btn-active-border-color: transparent;
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-disabled-color: #ccc;
  --bs-btn-disabled-bg: #eaeaea;
  --bs-btn-disabled-border-color: #eaeaea
}
.swiper-prev:hover,
.swiper-next:hover {
  background: var(--bs-primary);
}

/* category carousel */
.category-carousel .category-item {
  background: #FFFFFF;
  border: 1px solid #FBFBFB;
  box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  text-align: center;
  padding: 60px 20px;
  margin: 20px 0;
  transition: box-shadow 0.3s ease-out, transform 0.3s ease-out;
}
.category-carousel .category-item:hover {
  transform: translate3d(0,-10px,0);
  box-shadow: 0px 21px 44px rgba(0, 0, 0, 0.08);
}
.category-carousel .category-item .category-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 27px;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  color: #222222;
  margin-top: 20px;
}

/* brand carousel */
.brand-carousel .brand-item {
  background: #FFFFFF;
  border: 1px solid #FBFBFB;
  box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding: 16px;
}
.brand-carousel .brand-item img {
  width: 100%;
  border-radius: 12px;
}
.brand-carousel .brand-item .brand-details {
  margin-left: 15px;
}
.brand-carousel .brand-item .brand-title {
  margin: 0;
}

/* product tabs */
.product-tabs .nav-tabs {
  justify-content: flex-end;
  border: none;
  
  --bs-nav-link-hover-color: #111;
  --bs-nav-link-color: #555;
  --bs-nav-tabs-link-border-color: #fff;
  --bs-nav-tabs-link-hover-border-color: transparent;
  --bs-nav-tabs-link-active-border-color: #fff;
}
.product-tabs .nav-tabs .nav-link.active, 
.product-tabs .nav-tabs .nav-item.show .nav-link {
  /* border: none; */
  border-bottom: 3px solid var(--bs-primary);
}

/* products-carousel */
.products-carousel .swiper, .products-carousel .swiper-container {
  overflow: visible;
}

/* product-grid */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {  
   opacity: 1;
}
.product-item .button-area .quantity {
  padding: 0.5rem;
}
.product-item .button-area {
  display: none;
  position: absolute;
  text-align: center;
  background: #fff;
  width: 100%;
  left: 0;
  bottom: -55px;
  z-index: 1;
  box-shadow: 0px 20px 44px rgba(0, 0, 0, 0.08);
  /* transition: box-shadow 0.3s ease-out; */
}
.product-item {
  position: relative;
  padding: 16px;
  background: #FFFFFF;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0px 0px 22px rgba(0, 0, 0, 0);
  /* transition: box-shadow 0.3s ease-out, margin 0.3s ease-out; */
}
.product-item:hover .button-area {
  display: block;
}
.product-item:hover {
  /* z-index: 1; */
  /* margin-bottom: -50px; */
  /* max-height: 500px; */
  box-shadow: 0px 0px 44px rgba(0, 0, 0, 0.08);
}
.product-item figure {
  text-align: center;
  overflow: hidden;
}
.product-item figure img {
  max-height: 210px;
  height: 160px;
}
.product-item .product-qty {
  width: 85px;
}
.product-item .btn-link {
  text-decoration: none;
}
.product-item #quantity {
  height: auto;
  width: 28px;
  text-align: center;
  border: none;
  margin: 0;
  padding: 0;
}
.product-item .btn-number {
  width: 26px;
  height: 26px;
  line-height: 1;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid #E2E2E2;
  border-radius: 6px;
  color: #222;
  padding: 0;
}

/* Mobile / touch devices (no hover support) */
@media (hover: none) {
  .product-item .button-area {
    display: block;
    position: static; /* important to avoid overlap issues */
    box-shadow: none; /* optional: cleaner look for mobile */
    margin-top: 10px;
  }

  .product-item:hover .button-area {
    display: block; /* override hover dependency */
  }
}

/* cart */
.cart .product-qty {
  min-width: 130px;
}

/* floating image */
.image-float {
  margin-top: -140px;
  margin-bottom: -140px;
}
@media screen and (max-width:991px) {
  .image-float {
    margin: 0;
  }
}
 /* post item */
.post-item .post-meta {
  font-size: 0.8rem;
  line-height: 1;
}
.post-item .post-meta svg {
  margin-right: 5px;
}

@media screen and (max-width: 991px) {
  /* offcanvas menu */
  .offcanvas-body .nav-item {
    font-weight: 700;
    border-bottom: 1px solid #d1d1d1;
  }
  .offcanvas-body .filter-categories {
    width: 100%;
    margin-bottom: 20px !important;
    border: 1px solid #d1d1d1 !important;
    padding: 14px;
    border-radius: 8px;
  }
  /* dropdown-menu */
  .dropdown-menu {
    padding: 0;
    border: none;
    line-height: 1.4;
    font-size: 0.9em;
  }
  .dropdown-menu a {
    padding-left: 0;
  }
  .dropdown-toggle::after {
    position: absolute;
    right: 0;
    top: 21px;
  }
}

/* single product */
/* product-thumbnail-slider */
.product-thumbnail-slider {
  height: 740px;
}
@media screen and (max-width:992px) {
  .product-thumbnail-slider {
    margin-top: 20px;
    height: auto;
  }
}
@media screen and (min-width:992px) {
  .product-thumbnail-slider {
    height: 420px;
  }
}
@media screen and (min-width:1200px) {
  .product-thumbnail-slider {
    height: 540px;
  }
}
@media screen and (min-width:1400px) {
  .product-thumbnail-slider {
    height: 740px;
  }
}

/* bootstrap extended */
.border-dashed {
  border-bottom: 1px dashed #d1d1d1;
}
.ls-1 {
  letter-spacing: -0.04em;
}
.button-area {
  position: absolute;
  text-align: center;
  background: #fff;
  width: 100%;
  left: 0;
  bottom: -55px;
  z-index: 1;
  box-shadow: 0px 20px 44px rgba(0, 0, 0, 0.08);
  /* transition: box-shadow 0.3s ease-out; */
}

.button-area .btn-cart {
  text-wrap: nowrap;
  height: 3em;
  line-height: 1.5em;
  width: 70%;
}
.fs-7 {
  font-size: 0.8rem!important;
}

/* button */
.btn-link {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: bold;
  font-family: var(--bs-body-font-family);
  letter-spacing: 0.0875rem;
  text-transform: uppercase;
  text-decoration: none;
}

a.btn-link,
a.btn-link:after {
  transition: all .5s;
}

a.btn-link {
  position: relative;
}

a.btn-link:before,
a.btn-link:after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  background-color: var(--bs-dark);
  height: 2px;
}

[data-bs-theme=dark] a.btn-link:after {
  background-color: var(--bs-light);
}

a.btn-link:before {
  background-color: rgba( var(--bs-light-rgb), 0.2 );
  width: 100%;
}

a.btn-link.is-checked:after,
a.btn-link:hover:after {
  width: 100%;
}

a.btn-link.text-white:after {
  background-color: var(--bs-light);
}

a.btn-link.text-light:after {
  background-color: var(--bs-light);
}

.navbar .megamenu{ padding: 1rem; }
/* ============ desktop view ============ */
@media all and (min-width: 992px) {
	
	.navbar .has-megamenu{position:static!important;}
	.navbar .megamenu{left:0; right:0; width:100%; margin-top:0;  }
	
}	
/* ============ desktop view .end// ============ */


/* ============ mobile view ============ */
@media(max-width: 991px){
	.navbar.fixed-top .navbar-collapse, .navbar.sticky-top .navbar-collapse{
		overflow-y: auto;
	    max-height: 90vh;
	    margin-top:10px;
	}
}
/* ============ mobile view .end// ============ */

/* ================= HEADER ================= */

/* ================= FINAL COMPACT HEADER (REPLACEMENT) ================= */

.main-header{
  border-bottom:1px solid #eee;
  background:#fff;
}

/* ROW */
.main-header .row{
  padding:10px 0;
  margin:0;
  align-items:center;
}

/* REMOVE EXTRA COLUMN SPACE */
.main-header .col,
.main-header [class*="col-"]{
  padding-top:0;
  padding-bottom:0;
}

/* LOGO */
.brand-logo{
  font-family: var(--brand-font);
  font-size:16px;
  font-weight:700;
  letter-spacing:0.03em;
  display:flex;
  align-items:center;
  gap:5px;
  line-height:1;
  text-decoration: none;
  text-transform: uppercase;
  
}

.brand-logo img{
  width:24px;
}

/* SEARCH BAR */
.search-bar{
  display:flex;
  align-items:center;
  height:32px;
  padding:2px 6px;
  border-radius:18px;
  background:#f5f5f5;
}


.search-bar input{
  border:none;
  background:transparent;
  flex:1;
  font-size:12.5px;
  padding:0;
  outline:none;
}

.search-select{
  border:none;
  background:transparent;
  font-size:11.5px;
  margin-right:5px;
  padding-right:5px;
  border-right:1px solid #ddd;
}

/* SEARCH BUTTON */
.search-btn{
  border:none;
  background:none;
  padding:0;
  display:flex;
  align-items:center;
  color:#777;
}

.search-btn svg{
  width:16px;
  height:16px;
}

/* NAV */
.navbar-nav .nav-link{
  font-size:12.5px;
  font-weight:600;
  padding:3px 0;
  line-height:1.1;
}

/* ICONS */
.icon-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:2px;
  color:#333;
}

.icon-btn svg{
  width:18px;
  height:18px;
}

/* ICON WRAPPER */
.header-icons{
  display:flex;
  align-items:center;
  gap:8px;
}

/* TOGGLER */
.navbar-toggler{
  padding:2px;
}

.navbar-toggler svg{
  width:18px;
  height:18px;
}

/* ================= MOBILE ================= */

@media (max-width:991px){

  .main-header .row{
    padding:5px 0;
  }

  .brand-logo{
    font-size:15px;
  }

  .brand-logo img{
    width:22px;
  }

  .search-bar{
    height:30px;
    margin-top:4px;
  }

  .search-bar input{
    font-size:12px;
  }

  .search-select{
    display:none;
  }

}

/* EXTRA SMALL */
@media (max-width:576px){

  .search-bar{
    height:28px;
  }

  .icon-btn svg{
    width:16px;
    height:16px;
  }

}

/* Location search */
.location-search {
  position: relative;
}

.location-icon {
  width: 16px;
  height: 16px;
  color: #888;
  margin-right: 6px;
}

.suggestions-box {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  max-height: 280px;
  overflow-y: auto;
  z-index: 999;
  display: none;
}

.suggestion-item {
  padding: 10px 12px;
  font-size: 13px;
  border-bottom: 1px solid #f1f1f1;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  gap: 8px;
  align-items: center;
}



.suggestion-item:hover {
  background: #f8f9fa;
}

.suggestion-item:last-child {
  border-bottom: none;
}
/* =========================================================
   LOCATION MODAL (FINAL - CLEAN + STABLE + STICKY FOOTER)
   ========================================================= */

/* BACKDROP */
.modal-backdrop.show {
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(3px);
}

/* MODAL BASE */
.location-modal .modal-content {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.location-modal .modal-header {
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}

.location-modal .modal-title {
  font-size: 14px;
  font-weight: 600;
}

/* ICON BUTTONS */
.location-modal .icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f5f5f5;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}

.location-modal .icon-btn:hover {
  background: #e9ecef;
}

/* BODY */
.location-modal .modal-body {
  padding: 0;
  flex: 1;
  overflow: hidden;
}

/* MAP */
#map {
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: #f8f9fa;
}

/* =========================================================
   FOOTER (STICKY + PERFECT ALIGNMENT)
   ========================================================= */

.location-modal .modal-footer {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 12px;

  display: flex;
  gap: 10px;
  z-index: 2;
}

/* BUTTONS */
.location-modal .modal-footer .btn {
  flex: 1;
  border-radius: 10px;
  font-size: 13px;
  padding: 10px;
  white-space: nowrap;
}

/* =========================================================
   MOBILE → BOTTOM SHEET
   ========================================================= */
@media (max-width: 768px) {

  .location-modal .modal-dialog {
    position: fixed;
    bottom: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    align-items: flex-end;
  }

  .location-modal .modal-content {
    border-radius: 20px 20px 0 0;
    height: 78vh;

    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  .location-modal.show .modal-content {
    transform: translateY(0);
  }

  /* DRAG HANDLE */
  .location-modal .modal-drag {
    width: 42px;
    height: 4px;
    background: #ccc;
    border-radius: 10px;
    margin: 10px auto 6px;
  }

  /* MAP TAKES FULL SPACE */
  #map {
    height: 100%;
    min-height: unset;
  }
}

/* =========================================================
   DESKTOP → CENTER MODAL
   ========================================================= */
@media (min-width: 769px) {

  .location-modal .modal-dialog {
    max-width: 680px;
  }

  .location-modal .modal-content {
    transform: scale(0.95);
    transition: transform 0.25s ease;
    border-radius: 16px;
  }

  .location-modal.show .modal-content {
    transform: scale(1);
  }

  #map {
    height: 500px;
  }
}

/* =========================================================
   SMALL FIXES
   ========================================================= */

/* Remove Bootstrap shift */
body.modal-open {
  padding-right: 0 !important;
}

/* Icon sizing consistency */
.icon-btn i,
.icon-btn svg,
.search-btn i {
  width: 16px;
  height: 16px;
}

/* Smooth modal animation */
.modal.fade .modal-dialog {
  transition: transform 0.25s ease-out;
}



/* =========================
   Banner Layout (UNCHANGED)
========================= */
.banner-blocks {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
}

.block-1 { grid-area: 1 / 1 / 3 / 8; }
.block-2 { grid-area: 1 / 8 / 2 / 13; }
.block-3 { grid-area: 2 / 8 / 3 / 13; }

/* =========================
   Banner Base (PREMIUM)
========================= */
.banner-ad {
    position: relative;
    min-height: 260px;
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;

    /* Premium depth */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    /* Smooth animation */
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* 🔥 FIXED HOVER (NO OVERLAP ISSUE) */
.banner-ad:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    z-index: 2;
}

/* =========================
   Overlay (RICH GRADIENT)
========================= */
.banner-ad .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(0, 0, 0, 0.712) 0%,
        rgba(0, 0, 0, 0.027) 45%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
    transition: opacity 0.3s ease;
}

/* Subtle hover enhancement */
.banner-ad:hover .overlay {
    opacity: 0.9;
}

/* =========================
   Content
========================= */
.banner-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    color: #fff;
    max-width: 75%;
}

/* =========================
   Typography (REFINED)
========================= */
.banner-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

.banner-content p {
    font-size: 15px;
    margin-bottom: 10px;
    opacity: 0.95;
}

.banner-ad .btn-link {
    color: #fff;
    text-decoration: none;
    position: relative;
}

/* Smooth underline animation */
.banner-ad .btn-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.banner-ad:hover .btn-link::after {
    width: 100%;
}

/* =========================
   Sizes
========================= */
.block-1 { min-height: 320px; }
.block-2,
.block-3 { min-height: 150px; }

/* =========================
   Tablet (STABLE)
========================= */
@media (max-width: 992px) {

  .banner-blocks {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 15px;
  }

  /* Reset grid system */
  .block-1,
  .block-2,
  .block-3 {
    grid-area: auto;
  }

  .block-1 {
    grid-column: 1 / -1;
    min-height: 240px;
  }

  .block-2,
  .block-3 {
    min-height: 160px;
  }

  .banner-content {
    padding: 20px;
    max-width: 90%;
  }

  .banner-title {
    font-size: 20px;
  }

  .banner-content p {
    font-size: 13px;
  }
}

/* =========================
   Mobile (PREMIUM COMPACT)
========================= */
@media (max-width: 576px) {

  .banner-blocks {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .block-1,
  .block-2,
  .block-3 {
    grid-area: auto;
    min-height: 160px;
  }

  .banner-ad {
    border-radius: 12px;
  }

  .banner-content {
    padding: 15px;
    max-width: 100%;
    align-self: flex-end;
  }

  /* Better mobile overlay */
  .banner-ad .overlay {
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.75) 20%,
      rgba(0,0,0,0.35) 60%,
      rgba(0,0,0,0.05) 100%
    );
  }

  .banner-title {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .banner-content p {
    font-size: 12px;
    margin-bottom: 6px;
  }

  /* Improve readability */
  .banner-title,
  .banner-content p {
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  }
}

/* ===== CATEGORY TABS ===== */
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 3px;
  margin-bottom: 12px;
  border: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tabs .nav-link {
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12.5px;
  background: #f3f3f2a8;
  color: #333;
  white-space: nowrap;
  border: none;
}

.category-tabs .nav-link.active {
  background-color: #ffc13b;
}

/* ===== SWIPER (HARD FIX) ===== */
.category-swiper {
  width: 100%;
  overflow: hidden;
}

.category-swiper .swiper-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
}

/* 🔥 CRITICAL: FIX WIDTH */
.category-swiper .swiper-slide {
  width: 140px !important;   /* desktop fixed */
  flex-shrink: 0 !important;
}

/* ===== CATEGORY CARD ===== */
.category-card {
  background: #fff;
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  transition: 0.25s ease;
  height: 100%;
  cursor: pointer;
}

/* ACTIVE SERVICE CARD */
.category-card.active {
  border-bottom: #830501 2px dotted;
}

.category-card.active h6 {
  color: #5c0502
}

.category-card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 6px;
}

.category-card h6 {
  font-size: 12.5px;
  margin: 0;
  color: #222;
  line-height: 1.2;
}

/* HOVER */
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* ===== NAV BUTTONS ===== */
.category-swiper-prev,
.category-swiper-next {
  width: 30px;
  height: 30px;
  font-size: 14px;
  padding: 0;
  border-radius: 6px;
}

/* ===== TABLET ===== */
@media (max-width: 992px) {
  .category-swiper .swiper-slide {
    width: 120px !important;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 576px) {
  .category-swiper .swiper-slide {
    width: 100px !important; /* ensures ~3 items visible */
  }

  .category-card img {
    width: 50px;
    height: 50px;
  }

  .category-card h6 {
    font-size: 11.5px;
  }
}


/* BACKDROP */
.filter-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.filter-modal.active {
  display: block;
}

.filter-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

/* SHEET */
.filter-sheet {
  position: absolute;
  bottom: 0;
  width: 100%;
  max-height: 85%;
  background: #fff;
  border-radius: 18px 18px 0 0;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: 0.3s ease;
}

.filter-modal.active .filter-sheet {
  transform: translateY(0);
}

/* HEADER */
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #eee;
}

.filter-header h5 {
  margin: 0;
}

.close-filter {
  border: none;
  background: none;
  font-size: 22px;
}

/* BODY */
.filter-body {
  padding: 15px;
  overflow-y: auto;
  flex: 1;
}

/* FILTER SECTIONS */
.filter-section {
  margin-bottom: 18px;
}

.filter-title {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}

.filter-options label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  cursor: pointer;
}

/* FOOTER */
.filter-footer {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border-top: 1px solid #eee;
}

.filter-footer button {
  width: 48%;
  border-radius: 8px;
}

/* DESKTOP VIEW */
@media (min-width: 768px) {

  .filter-sheet {
    width: 420px;

    /* ✅ CENTER PERFECTLY */
    top: 50%;
    left: 50%;
    bottom: auto;

    transform: translate(-50%, -50%) scale(0.95);
    border-radius: 16px;

    max-height: 80vh;
  }

  .filter-modal.active .filter-sheet {
    transform: translate(-50%, -50%) scale(1);
  }

}


/* SORT STYLE (clean list) */
.sort-body {
  padding: 10px 0;
}

.sort-option {
  display: flex;
  align-items: center;   /* vertical alignment */
  gap: 8px;              /* 🔥 controls spacing between radio & text */
  padding: 14px 16px;
  font-size: 14px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

/* REMOVE THIS (causes gap issue) */
/* justify-content: space-between; */

.sort-option:last-child {
  border-bottom: none;
}

/* RADIO */
.sort-option input {
  margin: 0;             /* remove default spacing */
  flex-shrink: 0;        /* prevent shrinking */
}

/* TEXT */
.sort-option span {
  flex: 1;               /* take remaining space */
}

.close-sort,
.close-button {
  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
}



/* ===== SHOP CARD ===== */
.shop-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);

  display: flex;
  flex-direction: column;
  height: 100%;
}

.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.1);
}

/* IMAGE */
.shop-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.shop-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BADGE */
.shop-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #28a745;
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 12px;
}

/* CONTENT */
.shop-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.shop-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
/* TITLE */
.shop-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;

  flex: 1;
  min-width: 0; /* 🔥 CRITICAL FIX */

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-title a {
  text-decoration: none;
}

/* META */
.shop-meta {
  font-size: 12px;
  color: #777;
  margin-bottom: 6px;
}
/* PRICE */
.shop-price {
  font-weight: 700;
  color: #000;
  font-size: 15px;
  margin-bottom: 6px;
  white-space: nowrap;
}

/* FOOTER */
.shop-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

/* BUTTON */
.book-now-btn {
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* 🔥 Transparent glass look */
  background: rgba(0, 0, 0, 0.25);   /* subtle dark overlay */
  backdrop-filter: blur(6px);
  color: #fff;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
}
.wishlist-btn:hover {
  background: rgba(0, 0, 0, 0.4);
  color: #e63946;
  transform: scale(1.05);
}

.wishlist-btn.active {
  background: #e63946;
  color: #fff;
}

/* BACK BUTTON - clean minimal */
.back-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f8f9fa;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #eee;
}

.back-btn:hover {
  background: #e9ecef;
}

/* Better alignment for title row */
.section-title {
  font-weight: 600;
  font-size: 20px;
}

/* ============================================================
   BOTTOM NAVIGATION BAR (Mobile & Tablet Only - Flipkart Style)
   ============================================================ */

.bottom-navbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  border-top: 2px solid #e5e7eb;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08), 
              0 -8px 40px rgba(0, 0, 0, 0.04);
  z-index: 1000;
  height: 68px;
  padding: 0;
  margin: 0;
  justify-content: space-around;
  align-items: stretch;

  /* Smooth slide-up animation */
  animation: slideUp 0.4s ease-out;
  backdrop-filter: blur(2px);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* HIDE FOOTER ON MOBILE & TABLET */
footer {
  display: block;
}

/* NAVIGATION ITEMS */
.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  padding: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

/* BACKGROUND GRADIENT OVERLAY (Hidden by default) */
.bottom-nav-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(107, 178, 82, 0) 0%, 
    rgba(107, 178, 82, 0) 100%);
  transition: all 0.3s ease;
  z-index: -1;
}

/* ICON STYLING */
.bottom-nav-item i {
  font-size: 24px;
  color: #000;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
  line-height: 1;
}

/* LABEL */
.bottom-nav-item span {
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.4px;
  transition: all 0.3s ease;
}

/* ============================================================
   HOVER STATE - Beautiful enhancement
   ============================================================ */

.bottom-nav-item:hover {
  color: #1a0033;
  transition: all 0.3s ease;
}

.bottom-nav-item:hover::before {
  background: linear-gradient(135deg, 
    rgba(107, 178, 82, 0.08) 0%, 
    rgba(163, 190, 76, 0.04) 100%);
}

.bottom-nav-item:hover i {
  transform: scale(1.2) translateY(-3px);
  filter: drop-shadow(0 4px 8px rgba(107, 178, 82, 0.25));
}

.bottom-nav-item:hover span {
  transform: translateY(-1px);
}

/* ============================================================
   ACTIVE STATE - STUNNING DESIGN
   ============================================================ */

.bottom-nav-item.active {
  color: #330035f3;
}

.bottom-nav-item.active i {
  color: #330035bb;
}

/* ============================================================
   RESPONSIVE: TABLET (Show bottom navbar)
   ============================================================ */
@media (max-width: 991px) {
  .bottom-navbar {
    display: flex;
  }

  /* Add padding to body to account for fixed bottom navbar */
  body {
    padding-bottom: 68px;
  }

  /* Hide footer on tablet & mobile */
  footer {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE: MOBILE (Enhanced spacing & sizing)
   ============================================================ */
@media (max-width: 576px) {
  .bottom-navbar {
    height: 64px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1),
                0 -8px 48px rgba(0, 0, 0, 0.05);
    border-top: 2px solid #e5e7eb;
  }

  .bottom-nav-item {
    gap: 3px;
    padding: 6px 4px;
  }

  .bottom-nav-item i {
    font-size: 22px;
  }

  .bottom-nav-item span {
    font-size: 10px;
    letter-spacing: 0.3px;
  }

  /* Adjust body padding for mobile */
  body {
    padding-bottom: 64px;
  }

  /* Touch target optimization */
  .bottom-nav-item {
    min-height: 64px;
  }

  /* Active state enhancements for mobile */
  .bottom-nav-item.active::after {
    height: 3px;
  }
}

/* ============================================================
   EXTRA SMALL SCREENS
   ============================================================ */
@media (max-width: 360px) {
  .bottom-navbar {
    height: 60px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  }

  .bottom-nav-item i {
    font-size: 20px;
  }

  .bottom-nav-item span {
    font-size: 9px;
  }

  body {
    padding-bottom: 60px;
  }

  .bottom-nav-item {
    min-height: 60px;
  }

  .bottom-nav-item.active::after {
    height: 3px;
  }
}

/* ============================================================
   DESKTOP - Hide bottom navbar completely
   ============================================================ */
@media (min-width: 992px) {
  .bottom-navbar {
    display: none !important;
  }

  body {
    padding-bottom: 0;
  }

  footer {
    display: block;
  }
}



