/* Product Description Styling */
.product-description {
  box-shadow: 0 1px 4px rgba(44, 62, 80, 0.07);
  transition: background 0.2s;
}
.product-description {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #444;
  background: #f8fafc;
  padding: 8px;
  border-radius: 6px;
  min-height: 40px;
  max-height: 48px; /* ≈ 2 lines */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 2; /* for other browsers */
  -webkit-line-clamp: 2; /* number of lines before truncating */
  -webkit-box-orient: vertical;
  cursor: pointer; /* show user it’s clickable */
  box-shadow: 0 1px 4px rgba(44, 62, 80, 0.07);
  transition: background 0.2s;
}

html {
  scroll-behavior: smooth !important;
}
@import url("https://fonts.googleapis.com/css2?family=Fjalla+One&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
body {
  background: linear-gradient(135deg, #e0e7ff 0%, #f8fafc 100%);
}
html,
body {
  width: 100%;
}

body {
  overflow-x: hidden;
}
nav,
#banner,
.about-section,
footer,
.categories {
  width: 100%;
}
/* ======================== For Nav Bar ============================*/
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 100px;
  font-size: 14px;
  display: flex;
  justify-content: space-evenly;
  color: #222;
  background-color: #fff; /* Keep navbar white */
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.05);
  transition: box-shadow 0.2s;
}
/* For logo*/
#logo {
  height: 100px;
  width: auto;
  margin: 0 0 0 30px;
  padding: 4px 0 0;
  font-size: 14px;
}
.logo {
  background-image: url("./images/logo.jpeg");
  background-size: cover;
  aspect-ratio: 1/1;
  margin: 1px;
  padding: 1px 8px 0px 6px;
  width: 100px;
  height: 90px;
  position: static;
  float: none;
}
/* For Mobile Menu */

#menu {
  display: contents;
}
/* Home Icon */
a {
  text-decoration: none;
  color: black;
}
.home-box {
  width: 90px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.home {
  width: 90px;
  height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.Home-text {
  font-size: 1.1rem;
  text-decoration: none;
}
/* For Classes */
.selector {
  width: 150px;
  height: 90px;
  display: flex;
  padding: 0;
  background-color: transparent;
  align-items: center;
  justify-content: center;
}
.classes {
  border: none;
  font-size: 1.1rem;
  min-width: 100px;
  height: 100%;
  background-color: transparent;
}
select:focus {
  outline: none;
  border: none;
}
/* For About */
.about {
  width: 100px;
  height: 90px;
}
.about {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-text {
  font-size: 1.1rem;
}
/* For Empty Space*/
.empty {
  width: 25%;
  height: 100%;
}
/* Cart */
.cart {
  margin: 0 11px 0 2px;
  padding: 0 9px 11px 9px;
  width: 60px;
  height: 90px;
  display: flex;
}
.cart-symbol-container {
  width: 100px;
  height: 90px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.cart-symbol {
  width: 25px;
  height: 25px;
  background-image: url(./images/cart-icon.png);
  display: flex;
  justify-content: center;
  text-align: center;

  margin: 5px 0 0 0;
}
.cart-count {
  width: 16px;
  height: 16px;
  cursor: pointer;
  display: flex;
  float: none;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  position: relative;
  top: -6px;
  right: -16px;
  border-radius: 50%;
  background-color: #48c454;
}
.cart:hover {
  transform: translateY(-5px) scale(1.03);
}
/* fOR HOVER */
.Home-text:hover,
.classes:hover,
.about :hover {
  color: #dc3545;
  font-weight: 400;
  transform: scale(1.1);
  cursor: pointer;
}
/* ===================== SEARCH BAR =========================== */
.search-bar-container {
  display: flex;
  /* background-color: #f1f1f1; */
  justify-content: center;
  align-items: center;
  width: 100%;
}
#searchInput {
  margin: 20px 0px;
  width: 500px;
  height: 35px;
  padding: 5px;
  border-radius: 7px;
  border: 1px solid rgba(0, 0, 0, 0.5);
}
#searchInput {
  margin: 20px 0px;
  height: 35px;
  padding: 5px;
  border-radius: 7px;
  border: 1px solid rgba(0, 0, 0, 0.5);
}
.search-results {
  position: absolute;
  top: 155px;
  width: 500px;
  max-height: 300px;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 7px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}
.search-results a {
  display: flex;
  align-items: center;
  padding: 10px;
  color: #222;
  text-decoration: none;
  transition: background 0.2s;
}
.search-results a:hover {
  background: linear-gradient(90deg, #6366f1 0%, #f43f5e 100%);
  color: #fff;
}
.search-results img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 10px;
}
.search-results .result-text {
  display: flex;
  flex-direction: column;
}
.search-results .result-name {
  font-size: 1rem;
  font-weight: 600;
}
.search-results .result-details {
  font-size: 0.9rem;
  color: #555;
}
.search-results .no-results {
  padding: 10px;
  color: #555;
  font-size: 0.9rem;
  text-align: center;
}
.search-results.show {
  display: block;
}

/* --------- HERO SECTION ---------------------- */
.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding: 20px 40px;
  margin: 0px 20px;
  height: auto;
}

.hero-content {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  color: #6d28d9;
  margin-bottom: 10px;
  text-align: left;
  align-self: baseline;
  font-weight: 550;
  background-image: linear-gradient(
    45deg,
    #f43f5e 20%,
    #6366f1 60%,
    #f43f5e 75%,
    #9c1f2e 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-content h1 span {
  font-size: 4rem;
  color: #f43f5e;
  margin-bottom: 20px;
  white-space: nowrap;
  font-weight: 700;
  background-image: linear-gradient(
    -45deg,
    #f43f5e 0%,
    #6366f1 30%,
    #f43f5e 75%,
    #9c1f2e 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-content p {
  font-size: 1.2rem;
  color: #333;
  text-align: left;
  margin-bottom: 30px;
}

.hero-button {
  padding: 12px 24px;
  background: linear-gradient(90deg, #6366f1 0%, #f43f5e 100%);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}

.hero-button:hover {
  background: linear-gradient(90deg, #f43f5e 0%, #6366f1 100%);
  transform: scale(1.05);
}

.hero-image {
  width: 400px;
  height: 400px;
  background-color: #fff;
  background-size: cover;
  border-radius: 20px;
  transform: rotate(45deg);
  overflow: hidden; /* Hide parts of the inner div that go outside */
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.img {
  width: 100%;
  height: 100%;
  transform: rotate(-45deg);
  background: url("./images/logo.jpeg") no-repeat center;
  background-size: cover;
}
.banner-image {
  display: none; /* Hide the banner image by default */
}

/* ================== Categories ===================== */
#Categories {
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-color: #f1f1f1; */
  flex-direction: column;
}
#Categories > h1 {
  color: #9c1f2e;
  font-weight: 700;
  margin: 20px 0px;
  font-size: 3rem;
}
.category-grid-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.category-grid {
  display: grid;
  height: 90%;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  justify-items: center;
  max-width: 1200px;
  place-items: center;
}
.category-box {
  width: 220px;
  height: 220px;
  text-decoration: none;
  border-radius: 30px;
  background: linear-gradient(135deg, #a5b4fc 0%, #f9a8d4 100%);
  border: 3px solid #6366f1;
  color: #fff;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.15);
  transition: all 0.3s ease;
}

.category-box:hover {
  background: linear-gradient(135deg, #f43f5e 0%, #6366f1 100%);
  color: #fff;
  border-color: #f43f5e;
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.18);
  transform: translateY(-5px) scale(1.05);
}

.category-icon {
  height: 110px;
  width: 110px;
  margin: 10px 0px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  background-color: #fff;
  background-size: contain;
  background-repeat: no-repeat;
}
.category-name {
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
  max-width: 140px;
  padding: 0 10px; /* prevents text from touching the edges */
  word-wrap: normal; /* breaks long words */
  overflow-wrap: normal; /* ensures proper wrapping */
  white-space: normal; /* allows multiline */
}

#BP-Monitor {
  background-image: url(./images/B.P\ Monitor.jpg);
}
#Stetho-scope {
  background-image: url(./images/Stethoscope.png);
}
#Aneroid {
  background-image: url(./images/Aneroid.jpg);
}
#Accessories {
  background-image: url(./images/Accessories.jpg);
}
#Glocose-Monitor {
  background-image: url(./images/Glucose-Monitor.jpg);
}
#Pulse-Oximeter {
  background-image: url(./images/Oximeter.png);
}
#Thermo-meter {
  background-image: url(./images/Thermometer.jpg);
}
#Test-Strips {
  background-image: url(./images/Strips.jpg);
}
#Nebulizer {
  background-image: url(./images/Nebulizer.png);
}
#Steamer {
  background-image: url(./images/Steamer.jpg);
}

/* ====================== MOST SELL ITEMS ======================== */
#most-sell {
  width: 100%;
  margin: 20px 0px;
  padding: 20px 0px;
}
#most-sell > h1 {
  color: #9c1f2e;
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
}

.Product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

/* ----------------------- Product */
.Product {
  background-color: transparent;
  border-radius: 18px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  max-width: 280px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.Product:hover {
  transform: translateY(-6px) scale(1.03);
}
.discount {
  background: linear-gradient(90deg, #f43f5e 0%, #6366f1 100%);
  font-size: 1.1rem;
  width: 48px;
  height: 28px;
  font-weight: 600;
  border: none;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  color: #fff;
  position: relative;
  top: 14px;
  right: -220px;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.12);
}

.Product > img {
  width: 265px;
  height: 265px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.Product-name {
  margin: 15px 0 10px 10px;
  font-size: 1.2rem;
  color: black;
  font-weight: 600;
  text-align: left;
}
.price {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  text-decoration: line-through;
  padding: 10px;
}

.dicounted-price {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin: 10px 0;
}

/* -------------------- Add to Cart Button */
.add-to-cart-button {
  display: block;
  font-size: 1.2rem;
  margin: 10px;
  padding: 8px 16px;
  background: linear-gradient(90deg, #6366f1 0%, #f43f5e 100%);
  color: white;
  border: none;
  width: 260px;
  height: 40px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}
.add-to-cart-button:hover {
  background: linear-gradient(90deg, #f43f5e 0%, #6366f1 100%);
  transform: scale(1.07);
}

/*-------------------- Quantity Controls */
.quantity-controls {
  display: none;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.3s ease;
}
.delete-svgIcon {
  width: 15px;
  transition-duration: 0.3s;
}

.delete-svgIcon path {
  fill: white;
}
.quantity-controls.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.quantity-controls button {
  margin: 10px 0;
  width: 70px;
  height: 30px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #c82333;
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.quantity-controls button:hover {
  background-color: #9c1f2e;
  transform: scale(1.05);
}

.quantity-controls .quantity {
  font-size: 1.2rem;
  font-weight: bold;
  min-width: 20px;
  text-align: center;
  transition: transform 0.2s ease;
}

/* ==================== ABOUT SECTION ================================ */
.about-section {
  padding: 60px 20px;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  background: linear-gradient(135deg, #f9a8d4 0%, #a5b4fc 100%);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(244, 63, 94, 0.08);
}

.about-container {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

.about-container h2 {
  font-size: 36px;
  color: #6366f1;
  margin-bottom: 20px;
}

.about-container h2 span {
  color: #f43f5e;
}

.about-container p {
  font-size: 18px;
  color: #444;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* BOXES */
.about-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.about-box {
  background-color: #fff;
  padding: 25px;
  border-radius: 16px;
  width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.1);
  transition: transform 0.3s;
  text-align: left;
  border: 2px solid #a5b4fc;
}

.about-box h3 {
  color: #6366f1;
  margin-bottom: 10px;
}

.about-box p {
  color: #555;
  font-size: 16px;
  line-height: 1.4;
}

.about-support {
  text-align: center;
  font-size: 17px;
}
.Download-Btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(90deg, #6366f1 0%, #f43f5e 100%);
  color: white;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.3s, transform 0.2s;
  margin-bottom: 20px;
}

.whatsapp-button,
.instagram-button {
  display: inline-block;
  padding: 10px 20px;
  margin-top: -10px;
  border-radius: 25px;
  color: white;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.3s;
}

/* WhatsApp button */
.whatsapp-button {
  background: linear-gradient(90deg, #22d3ee 0%, #6366f1 100%);
  color: #fff;
}
.whatsapp-button:hover {
  background: linear-gradient(90deg, #6366f1 0%, #22d3ee 100%);
}

/* Instagram button with gradient */
.instagram-button {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  color: #fff;
}

/* ============================== FOOTER ======================= */
.site-footer {
  background: linear-gradient(90deg, #6366f1 0%, #f43f5e 100%);
  color: #f1f1f1;
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
  box-shadow: 0 -2px 16px rgba(99, 102, 241, 0.1);
}

.site-footer p {
  margin: 8px 0;
  font-size: 15px;
}

#Product-grid-containerl {
  width: 100%;
  margin: 20px 0px;
  padding: 20px 0px;
}
#Product-grid-container > h1 {
  color: #9c1f2e;
  text-align: center;
  font-size: 2.7rem;
  font-weight: 700;
}
/* ==================== Cart Page */
.cart-page {
  max-width: 800px;
  margin: 50px auto;
  border-radius: 15px;
  padding: 60px 40px;
  text-align: center;
  font-family: "Fjalla One", sans-serif;
}
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
}

.cart-table th,
.cart-table td {
  padding: 10px;
  text-align: left;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  font-family: "Fjalla One", sans-serif;
}

.cart-table th {
  font-size: 20px;
  background-color: transparent;
  color: #9c1f2e;
  font-weight: bold;
  text-align: left;
}
.cart-heading {
  color: #9c1f2e;
  margin: 10px 0;
  line-height: 40px;
  text-transform: uppercase;
  font-family: "Fjalla One", sans-serif;
  font-weight: 600;
  font-style: normal;
  justify-self: flex-start;
}

#place-order {
  background: linear-gradient(90deg, #6366f1 0%, #f43f5e 100%);
  width: 250px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  align-self: center;
  padding: 10px 20px;
  border: none;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

#place-order:hover {
  background: linear-gradient(90deg, #f43f5e 0%, #6366f1 100%);
  transform: scale(1.05);
}
.qty-cell {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  background-color: transparent;
  color: black;
  border: 1px solid black;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.qty-btn:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.quantity {
  min-width: 20px;
  text-align: center;
  font-weight: bold;
}
.cart-summary {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 18px;
  font-weight: bold;
  align-self: center;
  padding: 0px 10px;
  text-align: left;
}
#summary-headings {
  text-align: right;
  padding-right: 15px;
  color: #9c1f2e;
}

.delete-svgIcon {
  width: 15px;
  transition-duration: 0.3s;
}

.delete-svgIcon path {
  fill: #9c1f2e;
}
.delete-btn {
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 5px;
  width: 30px;
  height: 20px;
  animation: transform 2s infinite;
}
.delete-btn:hover {
  transform: scale(1.2) translateY(-5px);
  cursor: pointer;
}
/* ============Loader ============= */
.shimmer-loader {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  justify-items: center;
  max-width: 1000px;
  padding: 40px 20px;
  margin: 0 auto;
  font-weight: bold;
  font-size: 1.1rem;
  color: #2e5077;
}

.shimmer-box {
  width: 200px;
  height: 120px;
  background: linear-gradient(110deg, #f0f0f0 8%, #e0e0e0 18%, #f0f0f0 33%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: 8px;
  margin: 10px 0;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* =========== FOR Checkout */

.checkout-container {
  max-width: 700px;
  background-color: transparent;
  padding: 30px;
  margin: 20px auto;
  border-radius: 10px;
}

.checkout-container h2 {
  text-align: center;
  color: #9c1f2e;
  font-size: 3rem;
  margin-bottom: 20px;
  font-family: "Fjalla One", sans-serif;
  text-transform: uppercase;
}
#checkout-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  font-family: "Fjalla One", sans-serif;
  font-size: 1.35rem;
  margin-bottom: 5px;
  font-weight: bold;
}

input,
select,
textarea {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
input:focus {
  border: 3px solid #f43f5e;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

#confirm-Order {
  background: linear-gradient(90deg, #6366f1 0%, #f43f5e 100%);
  width: 250px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  align-self: center;
  padding: 10px 20px;
  border: none;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}
button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#confirm-Order:hover {
  background: linear-gradient(90deg, #f43f5e 0%, #6366f1 100%);
  transform: scale(1.05);
}

.payment-options {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.payment-box {
  border: 2px solid #ccc;
  padding: 12px;
  width: 48%;
  margin: 0 auto;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  background: #f0f0f0;
  transition: 0.3s;
}
.payment-box:hover {
  background: linear-gradient(135deg, #a5b4fc 0%, #f9a8d4 100%);
  border: 3px solid #6366f1;
}
.payment-box.selected {
  background: linear-gradient(135deg, #a5b4fc 0%, #f9a8d4 100%);
  border: 3px solid #6366f1;
}
/* ----- Floating WA Icon */
.floating-whatsapp-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp-icon svg {
  width: 64px;
  height: 64px;
}

.floating-whatsapp-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.option-group {
  width: 45%;
  margin: 5px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.option-label {
  font-size: 13px;
  margin-bottom: 2px;
  font-weight: 500;
}

.size-options,
.color-options {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.size-btn {
  padding: 4px 10px;
  font-size: 12px;
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s ease;
}

.size-btn:hover,
.size-btn.active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.color-swatch {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: border 0.2s ease;
}

.color-swatch:hover,
.color-swatch.active {
  border-color: #007bff;
}
.size-color-row {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  margin: 10px 0;
}

.size-btn,
.color-swatch {
  transition: all 0.2s ease-in-out;
}

.selected-size {
  background-color: #2563eb; /* Tailwind blue-600 */
  color: white;
}

.selected-color {
  outline: 2px solid #2563eb; /* Tailwind blue-600 */
  outline-offset: 2px;
}
/* Cart Popup Bar */
#cart-popup {
  position: fixed;
  bottom: 10px;
  left: 10px;
  width: 40%;
  border: 2px solid transparent;
  border-radius: 15px;
  background: linear-gradient(90deg, #6366f1 0%, #f43f5e 100%);
  color: white;
  text-align: center;
  padding: 15px;
  transform: translateY(125%);
  transition: transform 0.3s ease;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-left: 30vw;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}

#cart-popup.show {
  transform: translateY(0);
}
#cart-popup.show-before {
  transform: translateY(-80%);
}

#cart-popup .view-cart-btn {
  background-color: transparent;
  color: #fff;
  padding: 8px 15px;
  padding-right: 100px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease;
}
.popupCartCount {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background-color: #fff;
  color: #2e5077;
  display: flex;
  justify-content: center;
  align-items: center;
}
.popupCartTotal {
  justify-self: flex-end;
}
/* Popup Modal Styles */
.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.popup-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  width: 95%;
  max-width: 400px; /* Mobile-optimized width */
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-btn:hover {
  color: #000;
}

/* Image Section */
.image-section {
  margin-bottom: 15px;
}

.image-carousel {
  position: relative;
  height: 250px; /* Adjusted for mobile */
}

.carousel-images {
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.carousel-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.carousel-images img.active {
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
}

.prev-btn {
  left: 5px;
}

.next-btn {
  right: 5px;
}

/* Details Section */
.details-section {
  text-align: center;
}

.product-title {
  font-size: 20px;
  font-weight: bold;
  color: #9c1f2e; /* Matches your theme */
  margin: 0 0 10px 0;
  font-family: "Fjalla One", sans-serif;
}

.price-section {
  margin: 10px 0;
}

.product-original-price {
  font-size: 16px;
  color: #666;
  text-decoration: line-through;
  margin-right: 5px;
}

.product-discounted-price {
  font-size: 18px;
  color: #2e5077; /* Blue for discounted price */
  font-weight: bold;
}

.product-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  margin: 0 0 15px 0;
}

.add-to-cart-btn {
  width: 100%;
  background-color: #dc3545; /* Red button */
  color: white;
  border: none;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.add-to-cart-btn:hover {
  background-color: #c82333;
}
/* Top Banner */
.top-banner {
  width: 100%;
  max-height: 120px;
  overflow: hidden;
  position: relative;
  background: #fff;
  z-index: 9999;
}

.top-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.top-banner.hidden {
  display: none;
}


/* Responsive */
@media (min-width: 768px) {
  .popup-content {
    max-width: 500px;
  }
  .image-carousel {
    height: 300px;
  }
}
