body {
  background-color: #0B0E15;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

/* ===== HEADER ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem;
  background-color: #0B0E15;
  position: relative;
  z-index: 10;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  /* color: lab(52.0183% 66.11 -78.2316); */
}

.right-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.visit-btn {
  background-color: #0B0E15;
  color: #fff;
  border: 2px solid #fff;

  padding: 8px 16px;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.visit-btn i {
  font-size: 1rem;
}

.visit-btn:hover {
  background-color: #fff;
  color: #0B0E15;
}

.menu-btn {
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
}

.menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 20px;
  background: #222;
  border-radius: 10px;
  overflow: hidden;
}

.menu a {
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  display: block;
  border-bottom: 1px solid #333;
}

.menu a:hover {
  background: #333;
}

.menu.show {
  display: flex;
}

/* ===== GRID SECTION ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 2rem 2rem 2rem;
}


@media (max-width: 992px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CARD STYLING ===== */
.card {
  background: #1c1c1c;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
}

.card:hover {
  transform: scale(1.02);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: #66696e;;
}

.social-icons {
  pointer-events: none;
}

.social-icons i {
  font-size: 1.3rem;
  margin-right: 10px;
}

.fa-facebook {
  color: #1877F2;
}

.fa-instagram {
  color: #E1306C;
}

.fa-twitter {
  color: #1DA1F2;
}

.expand-btn {
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.2rem;
  cursor: pointer;
}

.expand-btn:hover {
  color: #fff;
}

.image-wrapper {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 500px;
  /* max-height: 400px; */
  object-fit: cover;
  display: block;
}

.caption-overlay a {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
  margin-left: 5px;
}

.caption-overlay.expanded {
  max-height: none;
  background-color: rgba(0, 0, 0, 0.85);
}

.caption-overlay {
  background-color: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 14px;
  padding: 8px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* ===== CARD FOOTER FIXED ===== */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  font-size: 1rem;
  background: #66696e;;
  margin-top: 0;
}

.icons {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1;
}

.icons i {
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.icons i:hover {
  transform: scale(1.2);
  color: #50BAEB;
}

/* ===== POPUP ===== */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(58 58 58 / 85%);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.popup-content {
  background: #66696e;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  overflow: hidden;
  position: relative;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: #66696e;
}

.popup-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.popup-social i {
  font-size: 1.3rem;
}

.close-btn {
  background: #03b9ff;
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}

.close-btn:hover {
  background: #333;
}

.popup-content img {
  /* width: 400px !important; */
  /* height: 400px !important; */
  /* width: 100%; */
	    height: 400px !important;
  display: block;
	aspect-ratio: 5 / 4;
}

.popup-body {
  padding: 20px;
  text-align: center;

}

.popup-body .date {
  font-size: 16px;
  color: #F1D5A5;
  margin-bottom: 8px;
}

.popup-body .caption {
  font-size: 16px;
  color: #fff;
  margin-bottom: 20px;
}

.popup-body a {
  display: inline-block;

  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s;
}



.popup-body a i {
  margin-left: 5px;
  font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  header {
    top: 0;
  }

  .visit-btn {
    font-size: 12px;
    padding: 5px 10px;
    display: none !important;
  }
  section.grid{
   padding: 10px 10px 0px 10px !important;
  }
}



.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

.right-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.visit-btn {
  background: #66696e;
  color: #fff;
  padding: 8px 16px;
  border: none;
  /* border-radius: 20px; */
  cursor: pointer;
}

.menu-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.menu {
  display: none;
}

/* .menu a {
  display: block;
  padding: 8px 0;
  color: #000;
  text-decoration: none;
} */

/* ---------- Image Grid ---------- */
section.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  padding: 15px;
  justify-content: center;
}

.card {
  overflow: hidden;
  border-radius: 0px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  /* rectangular like Sun Builders feed */
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

/* ---------- Popup ---------- */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* .popup-content {
  background: #fff;
  border-radius: 10px;
  width: 90%;
  max-width: 700px;
  overflow: hidden;
} */
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
}

.popup-header .close-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.popup-content img {
  display: block;
}

.popup-body {
  padding: 20px;
}

.popup-body .date {
font-size: 16px;
  color: #F1D5A5;
  margin-bottom: 10px;
}

.popup-body .caption {
  font-size: 16px;
  margin-bottom: 10px;
}

/* .popup-body a {
  color: #000;
  font-weight: 600;
  text-decoration: none;
} */
.popup-body a i {
  margin-left: 5px;
}

.logo img.logo-img {
  height: 55px;
  /* adjust size as needed */
  width: auto;
  display: block;
  object-fit: contain;
}

.now-showing {
  text-align: center;
  /* margin-top: 40px; */
      margin-bottom: 20px;
          margin-top: 10px;

}

.now-showing h2 {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  margin-right: 15px;
  letter-spacing: 0.5px;
}

.now-showing i {
  font-size: 22px;
  margin: 0 7px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.now-showing i:hover {
  transform: scale(1.2);
}


/* ----------------------- */
/* 🌞 LIGHT MODE DEFAULT */
/* ----------------------- */

body {
  background: #ffffff;
  color: #000;
  transition: background 0.3s, color 0.3s;
}

/* Header default for LIGHT MODE */
header {
  background: #ffffff;
  color: #000;
  transition: background 0.3s, color 0.3s;
}
body:not(.dark) header .logo {
  background: #000;
  color: #fff;
  padding: 8px;
}
header a,
header i {
  color: #000;
}


/* Card default */
.card {
  background: #ffffff;
  color: #000;
}



/* ----------------------- */
/* 🌙 DARK MODE */
/* ----------------------- */
body.dark header .logo {
  background: transparent;
  padding: 0;
}
body.dark {
  background: #121212;
  color: #ffffff;
}

/* Header in dark */
body.dark header {
  background: #1a1a1a !important;
  color: #ffffff !important;
}

body.dark header a,
body.dark header i {
  color: #ffffff !important;
}

/* Cards in dark */
body.dark .card {
  background: #1a1a1a !important;
  color: #fff !important;
  border-color: #333 !important;
}

/* Icons inside cards dark */
body.dark .card i,
body.dark .icons i {
  color: #fff !important;
}

body.dark .social-icons i {
  color: #ffffff !important;
}

body.dark .now-showing i {
  /* color: #000000!important; */
}

/* Menu dark */
body.dark .menu a {
  color: #fff !important;
}


/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: inherit;
}

/* body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
} */

.product-image { 
    height: 100%;
    object-fit: cover;
}

.scroll-button {

    position: absolute;
    top: 57%;
    transform: translateY(-50%);
    background:#66696e; 
    color: #fff;
    margin: 0;
    transition: all 0.3s ease-in-out;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    z-index: 100;
}
.scroll-button.left {
    left: 0;
}
.scroll-button.right {
    right: 0;
}
.scroll-button:focus {
    outline: none;
}

.product-listing {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    gap: 35px;
        row-gap: 25px;
            column-gap: 15px;
            column-width: auto;
    scroll-behavior: smooth;
    cursor: grab;
    flex-wrap: nowrap;
    transition: transform 0.3s 
ease;
    transition-behavior: normal;
    transition-duration: 0.3s;
    transition-timing-function: ease;
    transition-delay: 0s;
    transition-property: transform
}
.product-listing::-webkit-scrollbar {
    display: none;
}
.product-listing {
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

.product-card {
    min-height: 0px; 
    display: flex;
    flex-direction: column;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    background-color: rgb(228, 239, 240);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 12px;
    padding-right: 3px;
    padding-left: 7px;
        padding-top: 0px;
            padding-bottom: 5px;
    position: relative;
    flex-grow: 0;
    flex-shrink: 0;
        border: 1px solid;

}

.scroll-wrapper {
    padding: 0 10px;
    margin: 10px 0;
}
.scroll-button {
    width: 40px; 
    height: 40px;
    font-size: 14px;
}
.product-card {
    flex-basis: calc(100% - 10px); 
}


@media (min-width: 600px) {

    .scroll-wrapper {
        padding: 0; 
    }
    .scroll-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .product-card {
        flex-basis: calc(10% - 7px); 
    }
}
/* ======================== */
.discount-label {
  position: absolute;
  top: 0;
  left: 10px;
  background-color: #38761d;
  color: white;
  padding: 2px 5px;
  font-size: 10px;
  font-weight: bold;
  border-radius: 0 0 5px 5px;
  z-index: 10;
}

.product-image-container {
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
}

.product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.delivery-time {
  color: #888;
  font-size: 11px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.clock-icon {
  font-size: 10px;
  margin-right: 3px;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  /* margin-bottom: 4px; */
  flex-grow: 1;


}

.product-quantity {
  font-size: 10px;
  color: #666;
  margin-bottom: 3px;
}

.price-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.price-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
      padding-bottom: 10px;
}

.current-price {
  font-size: 16px;
  /* font-weight: bold; */
  color: #333;
}

.original-price {
  font-size: 11px;
  color: #999;
  text-decoration: line-through;
  margin-top: 2px;
}

.add-button {
  /* background-color: white;
  color: #38761d;
  border: 1px solid #38761d; */
  /* padding: 5px 15px; */
  /* border-radius: 5px; */
  /* font-weight: bold; */
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 12px;
  width: -webkit-fill-available;
}

.add-button:hover {
  background-color: #e6f7e3;
}




@media screen and (min-device-width: 1366px) and (max-device-width: 1460px) {
			.scroll-button{
        top: 66% !important;
      }
		} 

    @media screen and (min-device-width: 1100px) and (max-device-width: 1449px) {
    .scroll-button{
        top: 65% !important;
      }
}