﻿
       

        body {
            background-color: #F5F5F5;
            color: #2B2B2B;
            margin: 0;
        }

        
.slider {
    position: relative;
    width: 100vw;
    max-width: none;
    height: clamp(260px, 25vw, 420px);
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    background-position: center;
    background-size: contain;
    background-color: #f5f5f5;
    margin-bottom: 14px;
}

.slides,
.slides picture {
    display: block;
    width: 100%;
    height: 100%;
}
.slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    opacity: 0;
}

.slides {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translateX(-50%) scale(1);
    object-fit: contain;
    object-position: center center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Improve mobile rendering by deferring below-the-fold sections */
.deferred-section {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}



/* Navigation buttons */
.nav {
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 12px 18px;
    font-size: 22px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 5;
}

.nav:hover {
    background: rgba(0,0,0,0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* âœ… Responsive Adjustments */

/* Tablets (iPads, etc.) */
 @media (max-width: 992px) {
  .slider {
    height: 340px;
  }


  .nav {
    font-size: 20px;
    padding: 8px 12px;
  }
}

/* Mobile (Phones) */
@media (max-width: 768px) {
  .slider {
    height: 300px;
  }



  .nav {
    top: 30%;
    font-size: 18px;
    padding: 6px 10px;
  }

  .prev { left: 10px; }
  .next { right: 10px; }
}

/* Extra-small phones (under 480px) */
@media (max-width: 480px) {
  .slider {
    height: 620px;
  }
  




  .nav {
    font-size: 16px;
    padding: 4px 8px;
  }
}
   





       

        /* ===== PRODUCT SLIDER ===== */
.product-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Row ko horizontal slider banana */
.product-slider {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 40px;
    
}

/* Scrollbar hide */
.product-slider::-webkit-scrollbar {
    display: none;
}

/* Bootstrap columns ko fixed width do */
.product-slider > div {
    flex: 0 0 auto;
    width: 280px;   /* card width */
}




/* ===== SHOP BY ROOM SECTION ===== */
/*

.by-room-section {
   position: relative;
   overflow: hidden;
  margin-top: 0 !important;
  padding-top:0 !important;
}

.room-slider {
  scroll-behavior: smooth;
  overflow-x: auto;
  display: flex;

}
.room-slider::-webkit-scrollbar { display: none; }
.room-card-home {
    
  width: 250px;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  transition: 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  gap: 10px;
  margin-top: 10px;
}

.room-card-home:hover {
  transform: scale(1.05);
}
*/
.room-card-home {
  width: 250px;
  height: auto;
  aspect-ratio: 1/1; /* âœ… ensures perfect square */
  background-color: #ffffff; /* pure white card */

  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.room-card-home:hover{
    border: 1px solid #1C3F63;
}

.room-image {
  position: absolute;
  inset: 0;
  background-size: contain;
  
  opacity: 0.9;
  background-repeat: no-repeat;
  transition: 0.3s ease;
}

.room-card-home:hover .room-image {
  transform: scale(1.05);
}

.room-title {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9); /* white strip over image */
  color: #2B2B2B;
  font-weight: 600;
  text-align: center;
  padding: 10px 0;
  font-size: 1rem;
  backdrop-filter: blur(2px);
}
.room-title:hover{
    text-decoration: underline;
    color: #1C3F63;
}
/* Responsive adjustments */
@media (max-width: 992px) {
  .room-card-home { width: 250px; 
height: auto; }
}

@media (max-width: 768px) {
  .room-card-home { width: 200px;
 height: auto; }
}
@media (max-width: 576px) {
  .room-card-home { width: 160px;

 height: auto; }
  .room-title { font-size: 0.9rem; }
}
@media (max-width: 400px) {
  .room-card-home { width: 140px;
 height: auto; }
  .room-title { font-size: 0.85rem; }
}




.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 5;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.slider-btn i { font-size: 18px; color: #333; }

.slider-btn:hover {
  background-color: #1C3F63;
}

.slider-btn:hover i {
  color: #fff;
}

/* âœ… Responsive Adjustments */

/* Large Tablets 
@media (max-width: 992px) {
  .room-card-home {
    width: 220px;
    height: 180px;
    
  }
  .slider-btn {
    width: 40px;
    height: 40px;
  }
  .slider-btn i {
    font-size: 18px;
  }
}

/* Tablets and small devices 
@media (max-width: 768px) {
  .room-card-home {
    width: 200px;
    height: 160px;
    margin-top:0px;
  }
  .slider-btn {
    width: 38px;
    height: 38px;
    top: 45%;
  }
  .slider-btn i {
    font-size: 16px;
  }
}

/* Mobile screens 
@media (max-width: 576px) {
  .room-slider {
    gap: 10px;
    padding: 5px;
  }
  .room-card-home {
    width: 170px;
    height: 140px;
  }
  .slider-btn {
    width: 35px;
    height: 35px;
    top: 40%;
  }
  .slider-btn i {
    font-size: 15px;
  }
}

/* Extra small phones 
@media (max-width: 400px) {
  .room-card-home {
    width: 150px;
    height: 120px;
  }
}

*/

.banner-wrapper {
    margin-top: 20px !important;
  width: 100%;           /* Full width of viewport */
  max-width: 100vw;      /* Never exceed screen width */
  height: 450px;         /* Adjust height as needed */
  overflow: hidden;      /* Hide anything overflowing */
  position: relative;
  margin: 0 auto;        /* Center wrapper */
}

.banner-img {
    margin-top: 10px;
  width: 100%;
  height: 100%;
  object-fit: conrain;     /* Fill the wrapper nicely */
  
  display: block;        /* Remove inline gaps */
}

/* Mobile view */
@media (max-width: 768px) {
  .banner-wrapper {
    height: 240px;
    margin-top: 5px !important;
  }
  .banner-img {
    object-fit: contain;
  }
}

/* ==============================
     TRENDING PRODUCTS SECTION
     ============================== 
     */
    .trending-section img{
    width: 100% !important;
   
   background-size: contain !important;
    background-position: center;
    border-radius: 10px;
    transition: transform 0.3s ease;

     }
.trending-section img:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
}







        /* Product Cards */
        .product-card {
           
            border-radius: 10px;
            box-shadow: #B9B9B9;
            border: none;
            overflow: hidden;
            transition: all 0.3s ease;
            min-height: 400px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
           
        }

        .product-card:hover {
            box-shadow: 0 16px 48px rgba(28,63,99,0.18), 0 4px 16px rgba(243,108,33,0.10);
  transform: translateY(-8px) scale(1.03);
   background-color: #ffffff;
        }

        .product-card::after 
        { content: "";
             position: absolute;
             
              bottom: 0;
               left: 0;
                height: 3px; /* line ki thickness */
                width: 0%; /* initially hidden */ 
                background-color: #1C3F63; /* apna desired color */
                transition: width 0.3s ease; } 
                .product-card:hover::after { width: 100%; /* hover par full width line */
                padding: 5px
                }

        

        .product-image {
          
        
            object-fit: contain;
            width: 100%;
            height: 250px !important;
            transition: transform 0.3s ease;
          
            opacity: 1;
            
            
        }

        .product-card:hover .product-image {
            transform: scale(1.05);
        }

        .card-body {
            padding: 15px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;

        }
       

        .product-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: #1C3F63;
            margin-bottom: 8px;
           


            
        }

        .rating-stars{
            color: #fbbf24;
            margin-bottom: 10px;
           

        }

        .product-price {
            font-size: 1.3rem;
            font-weight: 700;
            color: #F36C21 !important;
            margin-bottom: 12px;
        }

        .stock-badge {
            display: inline-flex;
           
            gap: 6px;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .stock-badge.in-stock {
            background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
            color: #065f46;
        }

        .stock-badge.out-of-stock {
            background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
            color: #dc2626;
        }

        /* Form Elements */
        .quantity-input {
            margin-bottom: 15px;
        }

        .input-group-text {
            background: #f3f4f6;
            border: 1px solid #d1d5db;
            color: #6b7280;
            font-weight: 500;
        }

        .form-control {
            border: 1px solid #d1d5db;
            border-left: none;
            font-weight: 500;
        }

        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }

        /* Buttons */
        .btn-add-cart {
            background-color: white;
            border: none;
            border-radius: 10px;
            padding: 12px 20px;
            font-weight: 600;
            color: black;
            transition: all 0.3s ease;
            width: 100%;
        }

        .btn-add-cart:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
            color: white;
            background-color: #1C3F63;
        }

        .btn-add-cart:disabled {
            background: #9ca3af;
            cursor: not-allowed;
            transform: none;
        }
  

        
       

        /* No Products State */
        .no-products {
            text-align: center;
            padding: 60px 20px;
            background: white;
            border-radius: 16px;
            box-shadow: var(--card-shadow);
        }

        .no-products i {
            font-size: 3rem;
            color: #d1d5db;
            margin-bottom: 15px;
        }

        .no-products h5 {
            color: #6b7280;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .no-products p {
            color: #9ca3af;
            margin: 0;
        }

        /* Container */
        .container-fluid {
            padding: 0 20px;
        }



    


        /* Responsive Design */
        @media (max-width: 768px) {
         /*   .hero-title {
                font-size: 2rem;
            }
*/
           /* .hero-section {
                padding: 40px 0;
            }
/*
            .category-header {
                padding: 20px;
            }

            .category-header h3 {
                font-size: 1.5rem;
            }
*/
            .container-fluid {
                padding: 0 15px;
            }
        }


       


        @media (max-width: 576px) {
          /*  .hero-title {
                font-size: 1.8rem;
            }
*/
            .card-body {
                padding: 15px;
            }

            .btn-view-cart {
                padding: 14px 28px;
                font-size: 1rem;
            }
        }
           





/* âœ… Default (desktop): show all */
.trending-section .col-xl-4 { display: block; }

/* âœ… Mobile (only show 2 products max) */
@media (max-width: 768px) {
  .trending-section .col-xl-4:nth-child(n+3) {
    display: none; /* hide 3rd and beyond */
  }

  .view-more-btn {
    display: inline-block;
    background-color: #1C3F63;
    color: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .view-more-btn:hover {
    background-color: #16324b;
  }

}
.view-more-container { display: none; }
@media (max-width: 768px) {
  .view-more-container { display: block; }
}

















.customer-reviews .product-card {
  background: transparent;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: none;
  overflow: hidden;
}

.customer-reviews .product-card:hover {
  background: #fff;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.customer-reviews .product-card .product-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.customer-reviews .product-card img {
  width: 100%;
  border-radius: 10px;
}

.customer-reviews .btn-outline-primary {
  border: 2px solid #1C3F63;
  color: #1C3F63;
  transition: 0.3s ease;
}

.customer-reviews .btn-outline-primary:hover {
  background: #1C3F63;
  color: #fff;
}

/* Home Blog Section */
.home-blogs .home-blog-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.home-blogs .home-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.home-blogs .home-blog-image {
  width: 100%;
  margin-left: 0;
  height: 400px;
  object-fit: cover;
  object-position: center;
  background: #f2f2f2;
  padding: 0;
}

.home-blogs .home-blog-body {
  padding: 20px;
}

.home-blogs .home-blog-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1C3F63;
  margin-bottom: 10px;
  line-height: 1.3;
}

.home-blogs .home-blog-excerpt {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.home-blogs .home-blog-meta {
  color: #888;
  font-size: 0.8rem;
}

/* Facebook Feed */
.facebook-feed {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 24px 18px 18px;
}

.facebook-feed .fb-slide {
  max-width: 700px;
  margin: 0 auto;
}

.facebook-fallback-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 18px;
  height: 100%;
  overflow: hidden;
}

.facebook-fallback-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 12px;
}

.facebook-fallback-video,
.facebook-fallback-video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  max-height: 230px;
  border-radius: 10px;
  background: #000;
  margin-bottom: 12px;
  border: none;
  display: block;
}

.facebook-fallback-video {
  object-fit: contain;
}

.facebook-fallback-card h6 {
  color: #1C3F63;
  font-weight: 700;
}

.facebook-fallback-card p {
  color: #6c757d;
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.facebook-post-message {
  text-align: justify;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.facebook-video-audio-note {
  font-size: 0.82rem;
  color: #b45309;
  margin: 0 0 10px;
}

.facebook-post-toggle {
  border: none;
  background: transparent;
  color: #1C3F63;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0;
  margin-bottom: 10px;
  cursor: pointer;
}

.facebook-post-toggle:hover {
  text-decoration: underline;
}

.facebook-post-more summary {
  cursor: pointer;
  color: #1C3F63;
  font-size: 0.88rem;
  font-weight: 600;
}

.facebook-post-more[open] summary {
  margin-bottom: 6px;
}

.facebook-feed .facebook-post-frame {
  width: 100% !important;
  height: 620px;
  border: none;
  border-radius: 12px;
  background: #fff;
}

.facebook-feed .carousel-control-prev,
.facebook-feed .carousel-control-next {
  width: 10%;
}

.facebook-feed .carousel-control-prev-icon,
.facebook-feed .carousel-control-next-icon {
  background-color: #1C3F63;
  border-radius: 50%;
  background-size: 60% 60%;
  width: 40px;
  height: 40px;
}

@media (max-width: 768px) {
  .facebook-fallback-video,
  .facebook-fallback-video-embed {
    max-height: 170px;
  }

  .facebook-feed .facebook-post-frame {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .home-blogs .home-blog-image {
    height: 300px;
  }
}
        







    
