/********** Template CSS **********/
:root {
    --primary: #D81324;
    --secondary: #0B2154;
    --light: #F2F2F2;
    --dark: #111111;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}
/* Brand Logo */
.brand-logo {
    max-height: 60px;
}

/* Brand Text */
.brand-text {
    font-size: 20px;
    font-weight: 700;
    color: #0d6efd;
    white-space: nowrap;
}
.brand-text{
        font-family: "Lucida Calligraphy", "Lucida Handwriting", cursive;
        font-weight: bolder;   /* ye font bold support nahi karta */
        letter-spacing: 1px;
        white-space: nowrap;
        font-size:25px;
    
    }

/* ================= NAVBAR FINAL FIX ================= */

/* Brand alignment */
.navbar-brand {
    display: flex;
    align-items: center;
    max-width: 80%;
}

/* Logo */
.brand-logo {
    max-height: 60px;
    width: auto;
}

/* Brand text */
.brand-text {
    font-family: "Lucida Calligraphy", "Lucida Handwriting", cursive;
    font-size: 22px;
    letter-spacing: 1px;
    white-space: nowrap;
    line-height: 1.2;
    color: #0d6efd;
}

/* Toggle button */
.navbar-toggler {
    border: none;
    padding: 6px 10px;
}

/* ---------- MOBILE VIEW ---------- */
@media (max-width: 768px) {

    .navbar {
        padding: 6px 0;
    }

    .navbar-brand {
        max-width: 75%;
    }

    .brand-logo {
        max-height: 42px;
    }

    .brand-text {
        font-size: 15px;
        white-space: normal;   /* wrap allowed */
        line-height: 1.1;
    }

    .navbar-nav .nav-link {
        padding: 8px 0;
    }
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}
.carousel-caption h2 {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.carousel-caption h6 {
    font-size: 1rem;
    letter-spacing: 2px;
}
/* Car Delivery Image Fix */
.delivery-item img {
    width: 100%;
    height: 250px; /* Adjust height as needed */
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.4s ease;
}

@media (max-width: 768px) {
    .delivery-item img {
        height: 200px;
    }
}
.card {
  border-radius: 8px;
  overflow: hidden;
}

/* IMAGE PERFECT - No cutting */
.card-img-top,
.product-item img {
  width: 100%;
  height: 320px;         /* bigger image */
  object-fit: contain;   /* image full show, no crop */
  background: #fff;      /* clean background */
  border-bottom: 1px solid #eee;
}

.card-body {
  padding: 12px;
}

.card-body h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.card-body p {
  font-size: 13px;
  color: #6c757d;
  margin: 0;
}
@media (max-width: 767px) {
  #productContainer .product-item {
    width: 50%;
    height: 260px; 

  }

}
/* mobile containner  */
.mobile-filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 100vh;
  background: rgba(0,0,0,0.45);
  overflow: hidden;
  transition: 0.3s ease-in-out;
  z-index: 9999;
}

.mobile-filter-overlay.show {
  width: 100%;
}

.mobile-filter-content {
  width: 75%;
  max-width: 300px;
  height: 100%;
  background: #fff;
  padding: 16px;
  box-shadow: 2px 0 10px rgba(0,0,0,0.2);
}

/* Mobile Sidebar Overlay */
.mobile-filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 9999;
  display: flex;
  justify-content: flex-end;
}

/* Show overlay */
.mobile-filter-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Sidebar Content */
.mobile-filter-content {
  background: #fff;
  width: 80%;
  max-width: 320px;
  height: 100%;
  padding: 1rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

/* Slide in animation */
.mobile-filter-overlay.show .mobile-filter-content {
  transform: translateX(0);
}

/* Header inside sidebar */
.mobile-sidebar-header h5 {
  font-size: 1.2rem;
}

/* Hide sidebar on desktop */
@media(min-width: 992px){
  #mobileFilterOverlay {
    display: none;
  }
}

/* Make links clickable nicely */
.mobile-sidebar-body a {
  cursor: pointer;
  transition: color 0.2s;
}

.mobile-sidebar-body a:hover {
  color: #0d6efd;
}


/* mobile containner  */
/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
   background: rgba(0, 0, 0, .7);
    z-index: 1;
    display: flex;
    align-items: flex-start; /* upar le gaya */
    padding-top: 100px; /* thoda neeche se gap */
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(0, 0, 0, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}
    .delivery-item img {
        transition: all 0.4s ease;
        border-radius: 12px;
    }
    .delivery-item:hover img {
        transform: scale(1.05);
    }
    .delivery-item {
        transition: 0.3s ease;
    }
    .delivery-item:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }
