.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.success-overlay.open {
  display: flex;
}

/* --- IMPROVED CART ITEM UI --- */
.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  transition: background 0.2s;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eee;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
}

.cart-item-meta {
  font-size: 12px;
  color: #777;
}

.cart-item-price {
  color: #27ae60;
  font-weight: 700;
  font-size: 13px;
}

/* Trash Icon Button */
.btn-remove {
  background: #fff0f0;
  color: #d33;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-remove:hover {
  background: #d33;
  color: #fff;
  transform: scale(1.1);
}

/* --- DELETE CONFIRMATION MODAL --- */
.delete-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10005; /* High z-index */
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.delete-overlay.open {
  opacity: 1;
  visibility: visible;
}

.delete-modal {
  background: white;
  width: 90%;
  max-width: 320px;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.delete-overlay.open .delete-modal {
  transform: scale(1);
}

.delete-icon {
  font-size: 40px;
  color: #d33;
  margin-bottom: 15px;
  display: block;
}

.delete-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}

.btn-cancel,
.btn-confirm {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  flex: 1;
}

.btn-cancel {
  background: #f0f0f0;
  color: #333;
}

.btn-confirm {
  background: #d33;
  color: white;
}

/* --- IMPROVED CART ITEM UI --- */
.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  transition: background 0.2s;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eee;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
}

.cart-item-meta {
  font-size: 12px;
  color: #777;
}

.cart-item-price {
  color: #27ae60;
  font-weight: 700;
  font-size: 13px;
}

/* Trash Icon Button */
.btn-remove {
  background: #fff0f0;
  color: #d33;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-remove:hover {
  background: #d33;
  color: #fff;
  transform: scale(1.1);
}

/* --- DELETE CONFIRMATION MODAL --- */
.delete-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10005; /* High z-index */
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.delete-overlay.open {
  opacity: 1;
  visibility: visible;
}

.delete-modal {
  background: white;
  width: 90%;
  max-width: 320px;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.delete-overlay.open .delete-modal {
  transform: scale(1);
}

.delete-icon {
  font-size: 40px;
  color: #d33;
  margin-bottom: 15px;
  display: block;
}

.delete-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}

.btn-cancel,
.btn-confirm {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  flex: 1;
}

.btn-cancel {
  background: #f0f0f0;
  color: #333;
}

.btn-confirm {
  background: #d33;
  color: white;
}
.success-modal {
  background: white;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.success-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.success-btn {
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

.success-btn:hover {
  opacity: 0.9;
}

/* Share Modal Overlay */
.share-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* This class will be added by JavaScript to show the overlay */
.share-overlay.open {
  display: flex !important;
}

/* Share Modal Box */
.share-modal {
  background: white;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 350px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

/* Social List Grid */
.social-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9;
  cursor: pointer;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s;
}

.social-btn.whatsapp {
  color: #25d366;
  border-color: #25d366;
  height: 56px;
  margin-top: auto;
}

.social-btn:hover {
  background: #eee;
}

.social-btn.whatsapp {
  color: #25d366;
  border-color: #25d366;
}

.social-btn.facebook {
  color: #1877f2;
  border-color: #1877f2;
}

.social-btn.copy {
  color: #555;
}

#header {
  position: fixed; 
  top: 0;
  width: 100%;
  background: aliceblue;
  z-index: 999;

}

.page-frame {
  margin-top: 20px;
}

@media (max-width: 480px) {
    .page-frame {
        padding: 18px !important;
        margin-top: 40px;
    }
}

.product-gallery {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.product-gallery .main-image-box {
  flex: 1 1 350px;
}

.product-gallery .main-image-box img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* Slider (Right Side) */
.slider-box {
  flex: 1 1 250px;
  max-width: 350px;
}

.thumb-slider {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.thumb-slider img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.3s;
}

.thumb-slider img:hover {
  border-color: #333;
}

/* Hide scrollbar (nice clean UI) */
.thumb-slider::-webkit-scrollbar {
  display: none;
}

.price {
  color: #ff5722;
  font-weight: 800;
  display: contents;
  font-size: 20px !important;
}

:root {
  --accent: #007bff;
  --accent-2: #ff6b00;
  --teal: #009688;
  --purple: #6a1b9a;
  --bg: #f4f7fb;
  --card-bg: #ffffff;
  --glass: rgba(255, 255, 255, 0.6);
  --max-width: 2229px;
  /* 23.21 in at 96dpi */
}

* {
  box-sizing: border-box;
}

 @media (max-width: 480px) {
            .category-grid {
                grid-template-columns: 1fr;
                gap: 14px;
            }
            #page-title {
    clear: both;
    padding: 54px 0;
    background-color: #f8f9fa;
    position: relative;
    margin-top: 0px;
}


        }
body {
  font-family:
    Inter,
    system-ui,
    Segoe UI,
    Roboto,
    "Helvetica Neue",
    Arial;
  background: linear-gradient(120deg, #f7fbff 0%, #f4f7fb 40%, #eef7f6 100%);
  margin: 0;
  color: #213;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  flex-direction: column;
  align-items: center;
}

/* Animated gradient frame behind main content */
.page-frame {
  width: 100%;
  max-width: var(--max-width);
  border-radius: 22px;
  padding: 8px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.95)
  );
  box-shadow: 0 8px 40px rgba(20, 30, 60, 0.08);
  position: relative;
  overflow: visible;
}

/* subtle animated gradient ribbon */
.page-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 22px;
  background: linear-gradient(
    60deg,
    rgba(0, 123, 255, 0.04),
    rgba(255, 107, 0, 0.03),
    rgba(106, 27, 154, 0.03)
  );
  animation: slow-rotate 12s linear infinite;
  transform-origin: center;
  filter: blur(18px);
}

@keyframes slow-rotate {
  0% {
    transform: rotate(0);
  }

  50% {
    transform: rotate(3deg) translateY(-3px);
  }

  100% {
    transform: rotate(0);
  }
}

/* Layout */
.product-row {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.image-section {
  min-width: 45%;
  flex: 1;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 22px rgba(50, 60, 80, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-image {
  width: 100%;
  max-width: 820px;
  height: 540px;
  object-fit: contain;
  border-radius: 12px;
  border: 6px solid rgba(0, 123, 255, 0.06);
  transition: transform 0.35s ease;
  background: linear-gradient(180deg, #fff, #fafcff);
  padding: 12px;
}

.main-image:hover {
  transform: scale(1.01);
}

.thumbnail-gallery {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.thumbnail-gallery img {
  width: 110px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.22s;
}

.thumbnail-gallery img:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

/* Details area */
.details-section {
  min-width: 40%;
  flex: 1;
  max-width: 740px;
  background: linear-gradient(
    180deg,
    rgba(232, 241, 253, 0.9),
    rgba(255, 255, 255, 0.9)
  );
  border-radius: 16px;
  padding: 2px 10px;
  box-shadow: 0 8px 30px rgba(0, 123, 255, 0.04);
}

.product-category {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 7px 12px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 6px 18px rgba(0, 123, 255, 0.06);
}

.title-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

h1 {
  font-size: 20px;
  margin: 0;
  color: #073067;
}

.rating {
  color: #f0b429;
  font-weight: 600;
  font-size: 14px;
}

.price {
  margin-top: 14px;
  font-size: 26px;
  color: var(--accent-2);
  font-weight: 800;
}

.short-desc {
  margin-top: 14px;
  color: #334155;
  line-height: 1.6;
}

/* Box size + quality selectors */
.option-card {
  margin-top: 18px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.size-select,
.quality-select {
  background: #fff;
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(30, 40, 60, 0.04);
  min-width: 300px;
  flex: 1;
}

.size-select label,
.quality-select label {
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  color: #1b3658;
}

select.custom,
input[type="text"].custom {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d6ddea;
  background: linear-gradient(180deg, #fff, #fbfdff);
  font-size: 15px;
  outline: none;
}

.size-help {
  font-size: 13px;
  color: #577;
  margin-top: 6px;
}

/* quality radios */
.quality-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.quality-item {
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e6eef8;
  cursor: pointer;
  transition: all 0.18s;
  font-weight: 600;
  font-size: 14px;
  color: #213;
}

.quality-item.active {
  background: linear-gradient(
    90deg,
    rgba(0, 150, 136, 0.12),
    rgba(0, 123, 255, 0.08)
  );
  border-color: rgba(0, 123, 255, 0.18);
  box-shadow: 0 8px 18px rgba(0, 123, 255, 0.06);
}

/* controls */
.controls {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.qty-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #e8f0fb;
}

.qty-wrap button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.qty-wrap input {
  width: 66px;
  text-align: center;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #d8e6ff;
  font-weight: 700;
}

.primary-btn {
  background: linear-gradient(90deg, var(--accent), #0062d8);
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 123, 255, 0.12);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 123, 255, 0.15);
}

.outline-btn {
  background: transparent;
  color: var(--accent);
  padding: 10px 18px;
  border-radius: 12px;
  border: 2px solid var(--accent);
  cursor: pointer;
  font-weight: 700;
}

/* small action buttons row */
.action-row {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.share-whatsapp {
  background: linear-gradient(90deg, #25d366, #1da851);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.view-cart {
  background: linear-gradient(90deg, #6a1b9a, #7b2fb5);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 800;
}

/* Tabs + description area - full width */
.tabs {
  margin-top: 30px;
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(20, 30, 60, 0.04);
}

.tab-buttons {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid #eef3fb;
  padding-bottom: 8px;
}

.tab-buttons button {
  background: transparent;
  border: none;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 700;
  color: #42526e;
  border-bottom: 3px solid transparent;
}

.tab-buttons button.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-content {
  margin-top: 18px;
  color: #384;
  line-height: 1.65;
}

/* related + reviews area */
.meta-row {
  display: flex;
  gap: 20px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.chip {
  background: rgba(0, 0, 0, 0.04);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  color: #123;
}

/* Cart modal */
.cart-modal {
  position: fixed;
  right: 28px;
  top: 28px;
  width: 420px;
  max-width: 92%;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 60px rgba(20, 30, 60, 0.18);
  padding: 18px;
  z-index: 1200;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.cart-modal.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cart-item {
  display: flow;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed #e9f0ff;
}

.cart-item img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eef6ff;
}

.cart-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  justify-content: flex-end;
}

/* AI badge */
.ai-badge {
  position: absolute;
  right: 18px;
  top: -18px;
  background: linear-gradient(90deg, #6a1b9a, #9c27b0);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 8px 30px rgba(156, 39, 176, 0.2);
  display: flex;
  gap: 10px;
  align-items: center;
  transform: translateY(-6px);
  animation: pulse 2.8s infinite;
}

@keyframes pulse {
  0% {
    transform: translateY(-6px) scale(1);
  }

  50% {
    transform: translateY(-10px) scale(1.03);
  }

  100% {
    transform: translateY(-6px) scale(1);
  }
}

.ai-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 0.95;
}

/* small responsive */
@media (max-width: 1100px) {
  .image-section,
  .details-section {
    min-width: 100%;
    max-width: 100%;
  }

  .main-image {
    height: 420px;
  }
}

@media (max-width: 640px) {
  .main-image {
    height: 300px;
  }

  .ai-badge {
    display: none;
  }

  .size-select,
  .quality-select {
    min-width: 100%;
  }
}

.cart-modal {
  position: fixed;
  top: 0;
  right: -420px;
  width: 380px;
  height: 100vh;
  background: white;
  box-shadow: -3px 0 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: 0.3s;
  z-index: 9999;
}

.cart-modal.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 12px;
}

.close-cart {
  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
}

.cart-item {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.remove-btn {
  padding: 4px 5px;
  background: red;
  color: white;
  font-size: 8px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

.total-row {
  margin: 15px 0;
  display: flex;
  justify-content: space-between;
  font-size: 18px;
}

.moq-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 5px 10px;
  border-radius: 28px;
  background: #ffffff;
  border: 1.4px solid #d7d7d7;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease;
}

/* Multi-color animated gradient overlay */
.moq-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    120deg,
    #ff0077,
    #ff9800,
    #ffe600,
    #25d366,
    #0099ff,
    #8a2be2
  );
  background-size: 400%;
  opacity: 0;
  transition: 0.5s ease-in-out;
  z-index: 1;
}

/* Hover: show animated gradient */
.moq-wrapper:hover::before {
  left: 0;
  opacity: 0.25;
  animation: animateGradient 3s linear infinite;
}

@keyframes animateGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Content stays above gradient */
.moq-wrapper p,
.moq-wrapper b {
  position: relative;
  z-index: 2;
}

/* Text styling */
.moq-wrapper p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.moq-wrapper b {
  color: #0064ff;
}

/* Responsive for mobile */
@media (max-width: 480px) {
  .moq-wrapper {
    width: 100%;
    border-radius: 22px;
    padding: 10px 14px;
    gap: 12px;
  }
}

/* Wrapper Layout */
.location-wrapper {
  display: block;
  flex-wrap: inherit;
  gap: 15px;
  padding: 10px 0;
  width: 100%;
}

/* Labels */
.location-wrapper h6,
.location-wrapper label {
  width: 100%;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

/* Select Fields */
.location-wrapper select {
  width: 100%;
  max-width: 320px;
  padding: 10px 14px;
  border: 1.6px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
  outline: none;
  transition: 0.25s ease;
}

.location-wrapper select:focus {
  border-color: #0066ff;
  box-shadow: 0 0 6px rgba(0, 102, 255, 0.35);
}

/* Quantity / MOQ Section */
.moq-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.moq-wrapper p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

@media (min-width: 768px) {
  /* Details area */
  .details-section {
    min-width: 40%;
    flex: 1;
    max-width: 740px;
    background: linear-gradient(
      180deg,
      rgba(232, 241, 253, 0.9),
      rgba(255, 255, 255, 0.9)
    );
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.04);
  }
}
/* Responsive Fix: Mobile */
@media (max-width: 768px) {
  .location-wrapper {
    gap: 10px;
    display: block;
  }

  .location-wrapper select {
    max-width: 50%;
  }

  .moq-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}

.product-gallery {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.main-image-box {
  flex: 1 1 350px;
}

.main-image-box img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.slider-box {
  flex: 1 1 250px;
  max-width: 350px;
  position: relative;
}

.thumb-slider {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.thumb-slider::-webkit-scrollbar {
  display: none;
}

.thumb-slider img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.3s;
}

.thumb-slider img:hover {
  border-color: #333;
}

/* BUTTONS */
.move-btn {
  display: none !important;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: #00000040;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  font-size: 20px;
  z-index: 10;
}

.move-left {
  left: -15px;
}

.move-right {
  right: -15px;
}

.price-area {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.wrapper {
  max-width: auto;
  margin: 20px auto;
  display: flex;
  gap: 10px;
}

select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.moq-alert {
  background-color: #e3f2fd;
  border-left: 5px solid #2196f3;
  padding: 10px;
  margin: 15px 0;
  display: none;
  /* Hidden by default */
}

/* Quantity Control Styles */
.qty-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
  width: fit-content;
  border: 1px solid #ddd;
}

.qty-box button {
  width: 40px;
  height: 40px;
  font-size: 20px;
  font-weight: bold;
  border: none;
  background: #ddd;
  cursor: pointer;
  border-radius: 5px;
}

.qty-box input {
  width: 60px;
  height: 40px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* 1. The Green Popup Box */
#custom-toast {
  position: fixed;
  top: 20px;
  /* Distance from top */
  right: 20px;
  /* Distance from right (Side Popup) */
  z-index: 10000;

  /* Design based on your image */
  background-color: #27ae60;
  /* The specific Green */
  color: #ffffff;
  /* White Text */

  padding: 12px 24px;
  border-radius: 8px;
  /* Rounded corners */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  /* Soft shadow */

  display: flex;
  align-items: center;
  gap: 12px;

  font-family: "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 500;
  min-width: 300px;

  /* Animation properties */
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

/* 2. The Warning Icon */
.toast-icon {
  font-size: 18px;
  /* Ensure the emoji/icon stands out */
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

/* 3. Visible State (Active) */
#custom-toast.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* 1. The Green Popup Box */
#custom-toast {
  position: fixed;
  top: 20px;
  /* Distance from top */
  right: 20px;
  /* Distance from right (Side Popup) */
  z-index: 10000;

  /* Design based on your image */
  background-color: #27ae60;
  /* The specific Green */
  color: #ffffff;
  /* White Text */

  padding: 12px 24px;
  border-radius: 8px;
  /* Rounded corners */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  /* Soft shadow */

  display: flex;
  align-items: center;
  gap: 12px;

  font-family: "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 500;
  min-width: 300px;

  /* Animation properties */
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

/* 2. The Warning Icon */
.toast-icon {
  font-size: 18px;
  /* Ensure the emoji/icon stands out */
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

/* 3. Visible State (Active) */
#custom-toast.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* TAB UI/UX */
.tabs-container {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.tab-buttons {
  display: flex;
  background: #eee;
  border-bottom: 1px solid #ddd;
  overflow-x: auto;
}

.tab-buttons button {
  padding: 15px 25px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: none;
  color: #666;
  transition: 0.3s;
  white-space: nowrap;
}

.tab-buttons button.active {
  background: var(--card);
  color: var(--primary);
  border-top: 3px solid var(--primary);
}

.tab-content {
  display: none;
  padding: 30px;
  animation: slideUp 0.4s ease;
}

.tab-content.active {
  display: block;
}

/* GRID FOR REVIEWS/RELATED */
.bottom-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.info-card {
  background: var(--card);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.chip {
  display: inline-block;
  background: #e0f2f1;
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  margin: 4px;
  font-weight: 500;
}

.review-item {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.review-item:last-child {
  border: none;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .tab-buttons button {
    padding: 12px 15px;
    font-size: 14px;
  }
}
