.main-content {
  flex: 1;
  padding: 20px;
  margin-top: 106px;;
}
/* Terrace Gardening Products Slider */
.product-slider-section {
  width: 100%;
  padding: 2rem 0 1rem 0;
  background: #f8f9fa;
}
.product-slider-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.2rem;
  color: #166534;
}
.product-slider-container {
  position: relative;
  width: 96%;
  margin: 0 auto;
}
.product-slider {
  display: flex;
  overflow-x: auto;
  gap: 1.2rem;
  padding: 1rem 0;
  scroll-behavior: smooth;
}
.spcard {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  min-width: 200px;
  max-width: 220px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.7rem 1rem 0.7rem;
  transition: box-shadow 0.2s;
  position: relative;
}
.spcard:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
}
.spdiscout {
  background: #e53935;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  padding: 2px 10px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.spcard img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.7rem;
}
.spindivtwo {
  margin: 0.3rem 0 0.2rem 0;
  color: #f7b731;
  font-size: 1.1rem;
  text-align: center;
}
.spindiv {
  font-size: 1rem;
  font-weight: 600;
  color: #166534;
  margin-bottom: 0.2rem;
  text-align: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.spindivone {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.spindivone p {
  color: #0a5c2c;
  font-weight: bold;
  margin: 0;
}
.spindivone em {
  color: #b0b0b0;
  text-decoration: line-through;
  font-size: 0.95rem;
}
.veg-btn {
  background: #166534;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 6px 18px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 0.3rem;
  transition: background 0.2s;
}
.veg-btn:hover {
  background: #0a5c2c;
}

.dic1{
display: none;
margin:auto;
width: auto;
color: black;
height:auto;
transition: 3s ease-in;
}
.dic1 a{
text-decoration: none;
}
.main_cat {
  padding: 6px 12px;
    border: none;
    margin: 23px;
    background: rgb(255 255 255 / 13%);
    font-size: 14px;
    font-weight: bold;
    border-radius: 3px;
}
.main_cat:hover {
  transform: scale(1.15); /* Zooms element to 110% */
  cursor: pointer; /* Optional: shows pointer on hover */
}
.sub_cat{
    font-size: 13px;
    margin: 0px 5px 2px 5px;
    padding: 2px;
    color: black;
    /* text-align: center; */
    text-decoration: none;
    padding: 4px 23px;
}
.sub_cat:hover{
background-color: rgb(119, 133, 119);
border-radius: 5px;
}
.sidebar {
    position: fixed;
    padding-top: 5rem;
    top:0;
    left: 0;
    width: 250px;
    height: 100vh;
    background: linear-gradient(45deg, black, #337541);
    transition: transform 0.3s ease;
    z-index: 999;
    margin-top: 6rem;
    overflow-y: auto;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}
.sidebar.hidden {
    transform: translateX(-100%);
}
.sidebar h6 {
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: white;
}
.main_cat {
    color: white;
    cursor: pointer;
}
.sub_cat {
    /* text-align: c  enter; */
    color:white;
    font-size: 14px;
}
/* Main layout wrapper for sidebar + content */
.layout {
    display: flex;
    min-height: 100vh;
    background-color:#f6fff7;
}

/* Main content area next to sidebar */
.home-content {
    flex: 1 1 auto;
    margin-left: 250px;
    padding:2px 7px;
    transition: margin-left 0.3s ease;
    min-width: 0;
    min-height: 100vh;
    background: #F6FFF7;
    box-sizing: border-box;
    padding: 18px 4px;
}

/* ======================================= */
.highlight-section {
  /* padding: 2rem 1rem; */
  background-color: #F6FFF7;
}

.highlight-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    /* gap: 2rem; */
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-card {
  /* background-color: #fff;
  border: 1px solid #ddd; */
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  /* box-shadow: 0 2px 6px rgba(0,0,0,0.05); */
  transition: transform 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
}

.highlight-image {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  margin: 1rem 0;
}

.highlight-text {
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.highlight-title {
  display: block;
  font-size: 1.1rem;
  color: #00509e;
  margin: 0.5rem 0;
}

.highlight-link {
  margin-top: 0.5rem;
  word-break: break-word;
    /* width: 250px; */       
  white-space: nowrap;   
  overflow: hidden;       
  /* text-overflow: ellipsis; */
}

.highlight-link a {
  font-size: 0.85rem;
  color: var(--twitter-color);
  text-decoration: underline;
}

/* ======================================================= */

/* Section container */
.info-section {
    padding: 2rem 1rem;
    background-color:#0c4220;
    border-radius: 8px;
}

/* .info-section:hover{
  background-color: rgb(27, 105, 86);
} */
/* Flex layout for main content */
.infomain {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Image container */
.infocontainerone {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

.imgone {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 10px;
}

/* Text container */
.infocontainertwo {
  flex: 1 1 50%;
  text-align: justify;
}

.hhedding {
  font-size:x-large;
  margin-bottom: 1rem;
  color: rgb(255, 255, 255);
}

.spinfo {
  font-size: 15px;
  line-height: 1.6;
  color:whitesmoke;
  margin-bottom: 1rem;
}
/* ======================================= */
.terrace-categories {
  padding: 2rem 1rem;
  background-color: #f8f8f8;
  position: relative;
}

.view-all {
  text-align: right;
  margin-bottom: 1rem;
}

.view-all-btn {
  padding: 0.5rem 1rem;
  background-color: #004d26;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.carousel-wrapper {
  position: relative;
}

.product-grid {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
}

/* .product-card {
  flex: 0 0 auto;
  width: 200px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
} */

/* .product-card:hover {
  transform: translateY(-5px);
} */

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* .product-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
} */

/* .card-body {
  padding: 0.8rem;
  text-align: center;
} */

.product-title {
  font-size: 1rem;
  margin: 0;
}

/* Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* background: rgba(0,0,0,0.5); */
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  z-index: 5;
}


/* ================================================= */
.terrace-section {
  /* padding: 2rem 1rem; */
  background-color: #F6FFF7;
}

.heading {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.product-container {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.product-slider {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  /* padding: 1rem 2rem; */
  scroll-behavior: smooth;
}

.product-slider::-webkit-scrollbar {
  display: none;
}

.product-card1 {
  flex: 0 0 auto;
  width: 200px;
  background: white;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
  transition: transform 0.3s ease;
}

.product-card1:hover {
  transform: translateY(-5px);
}

.product-card1 img {
  width: 100%;
  height: 160px;           
  object-fit: cover; 
  border-radius: 6px;
  display: block;
}


.discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: repeating-linear-gradient(45deg, #891010, #343dbd 100px);
  font-weight: bold;
  color: white;
  padding: 2px 8px;
  font-size: 0.75rem;
  border-radius: 4px;
}

.rating {
  margin-top: 0.5rem;
  color: var(--bs-warning);
  font-size: 0.9rem;
}

.product-name {
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price-box {
  display: flex;
  justify-content: space-between;
 
}

.sale-price {
  color: green;
  font-weight: bold;
}

.mrp {
  text-decoration: line-through;
  color: gray;
  font-style: normal;
}

.view-btn {
    background-color: #20a020;
    border: none;
    padding: 4px 1rem;
    border-radius: 18px;
    cursor: pointer;
    width: 50%;
    font-size: 15px;
    font-weight: 600;
    margin: auto;
}
.view-btn a{
    text-decoration: none;
    color: white;
    
}

.view-btn:hover {
  background-color: #0aaa7a;
  color: white;
}
.view-btn a:hover{
  color: white;
  background-color: #0aaa7a;
}

/* Navigation buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #333333a6;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
  font-size: 1rem;
  border-radius: 4px;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

/* ================================================= */
/* Container and Section */
.product-section-custom {
  background: #f0fff0;  
  padding: 2rem 1rem;
}

.product-container-custom {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  justify-content: center;  
}


/* Product Card */
.product-card-custom {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 128, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  max-width: 260px;
  width: 100%;
  margin: 0 auto;
}


.product-card-custom:hover {
  transform: translateY(-5px);
}

/* Image */
.product-card-custom img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Card content */
.product-content-custom {
  padding: 1rem;
  text-align: center;
}

.product-content-custom h6 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.price-custom {
  color: green;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

/* View Button */
.view-btn-custom {
    background-color: var(--secondary-color);
    color: var(--bs-light);
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 22px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    font-weight: 600;
}
.view-btn-custom a{
    text-decoration: none;
    color: white;
}
.view-btn-custom:hover {
  background-color: #218838;
}

/* ================================================= */
.product-detail-custom {
  width: 100%;
  padding: 40px 0;
  background: #fff;
}
.product-detail-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
}
.product-images {
  flex: 1 1 350px;
  min-width: 320px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product-images .main-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  margin-bottom: 18px;
  object-fit: cover;
}
.product-images .sub-images {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: center;
}
.product-images .sub-images > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90px;
}
.product-images .sub-images img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
  border: 1px solid #eee;
  background: #fafafa;
}
.product-images .sub-images p {
  font-size: 0.85em;
  color: #555;
  text-align: center;
  margin: 0;
}
.product-info {
  flex: 1 1 185px;
  min-width: 320px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 10px;
}
.product-info h3 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: #1a3a2b;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
}
.product-description p {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
    margin: 0;
    text-align: justify;

}
.img-thumbnail{
    max-width: 38%;
    height: auto;
    margin: auto;
    padding: .25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
}

/* ================================================= */
.custom-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
  border-radius:7px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.carousel-container {
  position: relative;
}

.carousel-slide {
  display: none;
}

.carousel-slide.active {
  display: block;
  animation: fade 1s ease-in-out;
}

.carousel-slide img {
  /* width: 100%; */
  margin: auto;
  height: auto;
  display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: rgb(24, 107, 24);
    border: none;
    padding: 4px 14px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

@keyframes fade {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}

/* ================================================== */
.toggle-btn {
    position: fixed;
    top: 8.8rem;
    left: auto;
    background-color: white;
    color: var(--bs-gray-dark);
    border: none;
    border-radius: 2px;
    z-index: 1000;
    padding: 1px 3px;
    cursor: pointer;
}
/* =========================== */
/* Heading styling */
.heading {
  text-align: center;
  font-size: x-large;
   /* margin: 1.5rem 0; */
  color: #000000;
}
h6 i{
  color: #5ec074;
}
/* Outer wrapper */
.wrappero {
  width: 100%;
  overflow: hidden;
  background-color: #fff;
  padding: 1rem 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

/* Marquee animation wrapper */
.marquee {
  display: flex;
  width: max-content;
  animation: scroll 25s linear infinite;
}

/* Each group duplicated for seamless loop */
.marquee__group {
  display: flex;
}

/* Logo images */
.marquee__group img {
  height: 70px;
  width: auto;
  margin: 0 2rem;
  object-fit: contain;
  filter: grayscale(0);
  transition: transform 0.3s ease;
}

.marquee__group img:hover {
  transform: scale(1.1);
}

/* Scroll keyframes */
@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* ======================================= */
/* JS CODE CSS  */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}
.notification.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.notification.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}
/* ////////////READ MORE///////////////////// */
.truncated-text {
    overflow-y: hidden;
    height: 230px;
}

.read-more-link {
    color: darkblue;
    text-decoration: underline;
    cursor: pointer;
}
/* ///////SCROLL BTN//////////////// */
#scrollTopBtn {
    display: none;
}
#scrollTopBtn.show {
    display: block;
}
/* ////////SIDEBAR////////////////// */
.sidebar.closed {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}
.sidebar.open {
    transform: translateX(0);
}
@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
.footer{
  margin-left: 249px;
}
/* ======================== */
/* Mobile (≤767px) */
/* ======================== */
@media (max-width: 767px) {
  .product-slider-section {
    padding: 1rem 0 0.5rem 0;
  }

  .product-slider-container {
    width: 100%;
    padding: 0 0.2rem;
  }

  .spcard {
    min-width: 120px;
    max-width: 140px;
    padding: 0.5rem 0.2rem;
  }

  .spcard img {
    height: 60px;
  }

  .spindiv,
  .spindivone {
    font-size: 0.85rem;
  }

  .veg-btn {
    font-size: 0.85rem;
    padding: 4px 10px;
  }

  .product-card {
    width: 140px;
  }
  .product-grid {
    overflow: hidden; /* hide scrollbar */
  }

  .product-card {
    flex: 0 0 100%; /* full width */
    max-width: 100%;
  }

  .heading {
    font-size: 1.2rem;
  }
  .marquee__group img {
    height: 40px;
    margin: 0 1rem;
  }
      .product-card1 {
    flex: 0 0 auto;
    width: 172px;
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}
.highlight-text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.5rem;
    display: none;
}

.highlight-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
    /* gap: 2rem; */
    max-width: 1200px;
    margin: 0 auto;
}
}

/* ======================== */
/* Tablets (768px - 991px) */
/* ======================== */
@media (min-width: 768px) and (max-width: 991px) {
  .sidebar {
    width: 200px;
  }

  .home-content {
    margin-left: 200px;
  }

  .product-slider {
    gap: 0.7rem;
  }

  .spcard {
    min-width: 160px;
    max-width: 180px;
    padding: 0.7rem 0.4rem;
  }

  .spcard img {
    height: 90px;
  } 
  .product-detail-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  } 
  .product-info,
  .product-images {
    max-width: 100%;
    min-width: 0;
  }

  .product-info {
    padding: 0;
  }
    .product-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .product-card {
    flex: 0 0 100%;
    max-width: 48%;
    scroll-snap-align: start;
    }
    .product-card1 {
    flex: 0 0 auto;
    width: 172px;
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}
    .marquee__group img {
    height: 50px;
    margin: 0 1rem;
  }
  
}

/* ======================== */
/* Desktops (≥992px) */
/* ======================== */
@media (min-width: 992px) {
  .footer-column {
    padding: 40px;
  }
}

/* ======================== */
/* All Devices ≤ 991.98px */
/* ======================== */
@media (max-width: 991.98px) {
  .sidebar {
    position: absolute;
    width: 180px;
    margin-top: 0;
    z-index: 1001;
    display: none;
  }

  .home-content {
    margin-left: 0;
    padding: 32px 8px;
  }

  .layout {
    flex-direction: column;
  }

  .infomain {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .infocontainerone,
  .infocontainertwo {
    flex: 1 1 100%;
  }

  .hhedding {
    font-size: 1.5rem;
    text-align: center;
  }

  .spinfo {
    font-size: 0.95rem;
  }

  .product-card {
    width: 160px;
    padding: 0.8rem;
  }

  .product-grid {
    overflow-x: hidden;
  }

  .heading {
    font-size: 18px;
  }

  .nav-btn {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .carousel-btn {
    font-size: 1.5rem;
    padding: 6px;
  }

  /* .carousel-slide img {
    height: 50vh;
  } */
}


/* ===================================== */
/* --- Carousel Wrapper --- */
.carousel-wrapper {
  overflow: hidden; 
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 20px;
  animation: scroll-left 20s linear infinite;
}

.product-card {
  flex: 0 0 auto; /* Prevent shrinking */
  width: 200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  
}
.product-card:hover {
  transform: translateY(-5px);
}
.product-image {
  width: 100%;
  border-radius: 12px 12px 0 0;
  object-fit: cover;
    width: 100%;
  height: 150px;
}

.card-body {
  padding: 10px;
  text-align: center;
  
}
.carousel-track {
  display: flex;
  gap: 20px;
  animation: scroll-left 5s linear infinite;
}
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Responsive --- */
@media (max-width: 1024px) { .product-card 
  { width: 180px; } 
  .footer{
    margin-left: 0px;
  }
}
@media (max-width: 768px) { 
  .product-card { width: 150px; }
 }

@media (max-width: 480px) {
   .product-card { width: 191px; 
  }
   .footer{
  margin-left: 0px;
}}
/* ================================================================ */
