:root {
  --primary-color: #0d5550;
  --primary-color-hover: #08443e;
  /* darker */
  --secondary-color: #cffff0;
  --secondary-color-hover: #b3ffe5;
}

/* Primary Button */
.btn-primary {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-color-hover) !important;
  color: #fff !important;
}

/* Secondary Button */
.btn-secondary {
  background-color: var(--secondary-color) !important;
  color: #000 !important;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--secondary-color-hover) !important;
  color: #000 !important;
}

/* === Layout Columns === */
.left-column,
.middle-column,
.right-column {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}

/* === Product Image === */
.product-img-main {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

/* .product-img-main:hover {
  transform: scale(1.05);
} */

/* === Basic styling === */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
.text-muted,
.text-success,
.accordion-body,
.accordion-item,
.date-text,
.comment-box,
.shipping-info {
  font-family: "League Spartan", sans-serif;
}

.section-gap {
  margin-bottom: 2rem;
  /* or 3rem / 40px */
}

.accordion-button {
  font-weight: bold;
}

/* === Wishlist === */
.wishlist-btn.clicked {
  background: #dc3545;
  color: #fff;
  border-color: #dc3545;
}

.floating-heart {
  position: absolute;
  animation: float 1.5s ease-out;
  color: #ffdb5a;
  font-size: 1.2rem;
  pointer-events: none;
  opacity: 0;
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 1;
  }

  25% {
    transform: translateY(-10px) scale(1.2) rotate(10deg);
    opacity: 0.8;
  }

  50% {
    transform: translateY(-20px) scale(1) rotate(-10deg);
    opacity: 0.6;
  }

  75% {
    transform: translateY(-30px) scale(0.8) rotate(10deg);
    opacity: 0.4;
  }

  100% {
    transform: translateY(-40px) scale(0.6) rotate(-10deg);
    opacity: 0;
  }
}

@media (max-width: 576px) {

  .quantity-selector,
  .buy-now-btn,
  .add-to-cart-btn,
  .wishlist-btn {
    width: 100% !important;
    justify-content: center;
  }

  .d-flex.flex-wrap.align-items-center.gap-2.mb-3.flex-md-row.flex-column>* {
    margin-bottom: 8px !important;
  }

  .vendor-info {
    flex-direction: column;
    text-align: center;
  }
}

/* === Thumbnails === */
.thumbnail-imgs img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.thumbnail-imgs img:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* === Buttons === */
.buy-btn {
  margin-right: 10px;
  margin-bottom: 10px;
  font-family: "League Spartan", sans-serif;
}

/* === Text and Rating === */
.rating {
  color: rgb(255, 145, 0);
  font-size: 1.2rem;
}

/* === Policy Section === */
.policy-box {
  background: #f1f1f1;
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

/* === Accordion === */
.accordion-button:not(.collapsed) {
  background-color: #f8f9fa;
  color: #0d6efd;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.125);
}

/* === Responsive === */
@media (max-width: 768px) {

  .left-column,
  .middle-column,
  .right-column {
    margin-bottom: 1rem;
  }
}

/* === Hiding the Left Column === */
@media (max-width: 768px) {
  .container-pile-left {
    display: none;
  }
}

/* === Container you passed as paneContainer === */
#zoom-container {
  position: relative;
  display: inline-block;
}

.drift-zoom-pane {
  background: white !important;
  /* or transparent or any color */
  border: 1px solid #ccc;
  /* optional */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  /* soft look */
}

/* === Comment Section - Customer Reviews === */
.comment-section {
  background: #f8f9fa;
  border-radius: 8px;
  scrollbar-width: thin;
  scrollbar-color: #0d5560 #f0f0f0;
}

.comment-section::-webkit-scrollbar {
  width: 6px;
}

.comment-section::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.comment-section::-webkit-scrollbar-thumb {
  background-color: #0d5560;
  border-radius: 10px;
}

.comment-section::-webkit-scrollbar-thumb:hover {
  background-color: var(--secondary-color);
}

.star-rating {
  color: #ffc107;
  font-size: 1.5rem;
  cursor: pointer;
}

.shipping-info {
  background: #f8f9fa;
  border: none;
  border-radius: 12px;
}

.shipping-info ul {
  list-style-type: none;
  padding-left: 0;
}

.shipping-info li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.shipping-info li:before {
  content: "✓";
  color: #198754;
  font-weight: bold;
}

.lorry-img img {
  width: 30px;
  height: auto;
}

.comment-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-family: "League Spartan", sans-serif;
}

.comment-box input,
.comment-box textarea {
  border-radius: 0.375rem;
  border: 1px solid #ccc;
}

/* Modern Add to Cart and Buy Now Buttons */
.add-to-cart-btn,
.buy-now-btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.add-to-cart-btn {
  background: #198754;
  border: none;
  color: white;
}

.add-to-cart-btn:hover {
  background: #157347;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(25, 135, 84, 0.2);
}

.buy-now-btn {
  background: #0d6efd;
  border: none;
  color: white;
}

.buy-now-btn:hover {
  background: #0b5ed7;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2);
}

/* Simple Vendor Info Section */
.vendor-info {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.vendor-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.vendor-name {
  font-weight: 600;
  color: #0d5560;
}

.vendor-rating {
  color: #ffc107;
  font-size: 1.1rem;
  margin-left: 0.5rem;
}

.vendor-link {
  margin-left: auto;
  color: #0d5560;
  text-decoration: underline;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.vendor-link:hover {
  color: #00e6ac;
}

/* Quantity Selector Styles */
.quantity-selector {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: white;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.quantity-selector:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.quantity-selector .btn {
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  border: none;
  background: #f8f9fa;
  transition: all 0.3s ease;
  color: #0d5560;
  font-size: 1.1rem;
}

.quantity-selector .btn:hover {
  background: #e9ecef;
  color: #08443e;
}

.quantity-selector .btn:active {
  transform: scale(0.95);
  background: #dee2e6;
}

.quantity-selector span {
  background: white;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0.6rem 1rem;
  min-width: 60px;
  color: #0d5560;
  border-left: 1px solid #e9ecef;
  border-right: 1px solid #e9ecef;
}

/* Action Buttons Styles */
.wishlist-btn {
  position: relative;
  overflow: visible;
}

/* Customer Review Section */
.customer-review-section {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Comment Form Styles */
.comment-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Currency Selector Styles */
.currency-selector {
  position: relative;
  min-width: 180px;
}

.currency-selector select {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 0.4rem 2rem 0.4rem 1rem;
  font-size: 0.9rem;
  color: #0d5560;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%230d5560' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
}

.currency-selector select:hover {
  border-color: #0d5560;
  box-shadow: 0 2px 8px rgba(13, 85, 96, 0.1);
}

.currency-selector select:focus {
  border-color: #0d5560;
  box-shadow: 0 0 0 0.2rem rgba(13, 85, 96, 0.15);
  outline: none;
}

.currency-selector select option {
  padding: 0.5rem;
  font-size: 0.9rem;
}

/* Price Display with Animation */
.text-success {
  font-size: 1.5rem;
  font-weight: 600;
  color: #198754 !important;
  transition: opacity 0.2s ease;
}

.text-success small {
  font-size: 0.9rem;
  color: #6c757d;
  font-style: italic;
}

/* Currency Selector Loading State */
.currency-selector.loading select {
  opacity: 0.7;
  pointer-events: none;
}

.currency-selector.loading::after {
  content: "";
  position: absolute;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  border: 2px solid #0d5560;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .currency-selector {
    min-width: 150px;
  }

  .currency-selector select {
    font-size: 0.85rem;
    padding: 0.35rem 1.75rem 0.35rem 0.75rem;
  }

  .text-success {
    font-size: 1.3rem;
  }
}

/* Share Button and Dropdown Styles */
.share-dropdown {
  position: relative;
  margin-left: auto;
}

.share-btn {
  background: transparent;
  border: 1px solid #0d5560;
  color: #0d5560;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.share-btn:hover {
  background: #0d5560;
  color: white;
}

.share-menu {
  position: absolute;
  right: 0;
  top: 100%;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 0.5rem;
  min-width: 180px;
  display: none;
  z-index: 1000;
}

.share-menu.show {
  display: block;
  animation: slideDown 0.2s ease;
}

.share-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.share-option:hover {
  background: #f8f9fa;
  color: #0d5560;
}

.share-option i {
  font-size: 1.1rem;
}

/* Copy Feedback */
.copy-feedback {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-size: 0.9rem;
  animation: fadeInUp 0.3s ease;
  z-index: 1000;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Update vendor name styles */
.vendor-name {
  color: #0d5560;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.vendor-name:hover {
  color: #00e6ac;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .share-menu {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    border-radius: 12px 12px 0 0;
    padding: 1rem;
    transform: translateY(100%);
  }

  .share-menu.show {
    transform: translateY(0);
  }

  .share-option {
    padding: 1rem;
  }
}

/* Similar Products Section */
.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #0d5560;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: #00e6ac;
  border-radius: 2px;
}

/* Product Card Styles */
.product-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #00e6ac;
  color: #0d5560;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 1;
}

.product-badge.sale {
  background: #dc3545;
  color: white;
}

.product-badge.hot {
  background: #ffc107;
  color: #0d5560;
}

.product-thumb {
  position: relative;
  overflow: hidden;
  padding-top: 100%;
  /* 1:1 Aspect Ratio */
}

.product-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-actions {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transition: all 0.3s ease;
}

.product-card:hover .product-actions {
  opacity: 1;
}

.action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d5560;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
  background: #0d5560;
  color: white;
  transform: translateY(-2px);
}

.product-info {
  padding: 1rem;
}

.product-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.current-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #198754;
}

.old-price {
  font-size: 0.9rem;
  color: #6c757d;
  text-decoration: line-through;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #ffc107;
  font-size: 0.9rem;
}

.product-rating span {
  color: #6c757d;
  margin-left: 0.25rem;
}

/* Similar Products Navigation */
.similar-products-wrapper {
  position: relative;
  padding: 0 2rem;
  margin-bottom: 3rem;
}

.similar-products-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}

.nav-arrow {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  color: #0d5560;
  font-size: 1.2rem;
  opacity: 1;
}

.nav-arrow:hover {
  background: #0d5560;
  color: white;
  transform: scale(1.1);
}

.nav-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.prev-arrow {
  left: -1rem;
}

.next-arrow {
  right: -1rem;
}

.products-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  /* Hide scrollbar for IE and Edge */
  scrollbar-width: none;
  /* Hide scrollbar for Firefox */
  padding: 1rem 0;
  margin: 0 -0.75rem;
  /* Compensate for row's negative margin */
}

.products-container::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar for Chrome, Safari and Opera */
}

/* Make product cards flex items */
.products-container .col-lg-3 {
  flex: 0 0 auto;
  width: 25%;
  padding: 0 0.75rem;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .products-container .col-lg-3 {
    width: 33.333%;
  }
}

@media (max-width: 992px) {
  .products-container .col-lg-3 {
    width: 50%;
  }

  .product-actions {
    opacity: 1;
    top: auto;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .action-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .product-title {
    font-size: 0.95rem;
    height: 2.6em;
  }

  .current-price {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .products-container .col-lg-3 {
    width: 100%;
  }

  .similar-products-wrapper {
    padding: 0 1rem;
  }

  .nav-arrow {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .prev-arrow {
    left: -0.5rem;
  }

  .next-arrow {
    right: -0.5rem;
  }
}

/* Payment Security Styles */
.payment-security {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.security-info-trigger {
  cursor: pointer;
  color: #0d5560;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem;
}

.security-info-trigger:hover {
  color: #00e6ac;
}

.security-info-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 1.25rem;
  width: 320px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.security-info-tooltip.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.close-tooltip {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s ease;
  font-size: 1.1rem;
  z-index: 2;
}

.close-tooltip:hover {
  color: #dc3545;
}

.tooltip-content {
  padding-right: 1.5rem;
}

.tooltip-content h6 {
  color: #0d5560;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.tooltip-content p {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Tooltip arrow */
.security-info-tooltip::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid white;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .security-info-tooltip {
    width: 280px;
    left: -20px;
  }
}

/* Wishlist Notification */
.wishlist-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(255, 255, 255, 0.98);
  padding: 1.25rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  min-width: 280px;
  text-align: center;
}

.wishlist-notification.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.notification-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #198754;
}

.notification-content i {
  font-size: 1.5rem;
}

.notification-content span {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Add a backdrop when notification is shown */
.wishlist-notification::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.wishlist-notification.show::before {
  opacity: 1;
}

/* Promotional Banner */
.promo-banner {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 16px;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.promo-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
}

.promo-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ffffff, #ffdb5a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.promo-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.promo-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.feature i {
  color: #ffdb5a;
  font-size: 1.2rem;
}

.feature span {
  font-weight: 500;
}

@media (max-width: 768px) {
  .promo-banner {
    padding: 2rem 1rem;
  }

  .promo-content h2 {
    font-size: 2rem;
  }

  .promo-content p {
    font-size: 1rem;
  }

  .promo-features {
    gap: 1rem;
  }

  .feature {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

/* Vendor Popup Styles */
.vendor-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.vendor-popup.show {
  opacity: 1;
  visibility: visible;
}

.vendor-popup-content {
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.vendor-popup.show .vendor-popup-content {
  transform: translateY(0);
}

.close-popup {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #6c757d;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  z-index: 2;
  transition: color 0.2s ease;
}

.close-popup:hover {
  color: #dc3545;
}

.vendor-popup-header {
  padding: 2rem 2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid #eee;
}

.vendor-popup-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0d5560;
}

.vendor-popup-info h4 {
  color: #0d5560;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.vendor-shop-name {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.vendor-rating-popup {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vendor-rating-popup .stars {
  color: #ffc107;
  font-size: 1.1rem;
}

.vendor-rating-popup .rating-count {
  color: #6c757d;
  font-size: 0.9rem;
}

.vendor-popup-details {
  padding: 1.5rem 2rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #333;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-item i {
  color: #0d5560;
  font-size: 1.2rem;
  width: 24px;
}

.vendor-popup-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid #eee;
  display: flex;
  gap: 1rem;
}

.vendor-popup-footer .btn-primary {
  background-color: #0d5560;
  border-color: #0d5560;
}

.vendor-popup-footer .btn-primary:hover {
  background-color: #08443e;
  border-color: #08443e;
}

.vendor-popup-footer .btn-outline-primary {
  color: #00e6ac;
  border-color: #00e6ac;
  background-color: transparent;
}

.vendor-popup-footer .btn-outline-primary:hover {
  color: #fff;
  background-color: #00e6ac;
  border-color: #00e6ac;
}

.vendor-popup-footer .btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  transition: all 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .vendor-popup-content {
    width: 95%;
    margin: 1rem;
  }

  .vendor-popup-header {
    padding: 1.5rem 1.5rem 1rem;
    flex-direction: column;
    text-align: center;
  }

  .vendor-popup-image {
    width: 100px;
    height: 100px;
  }

  .vendor-popup-details {
    padding: 1rem 1.5rem;
  }

  .vendor-popup-footer {
    padding: 1rem 1.5rem;
    flex-direction: column;
  }

  .vendor-popup-footer .btn {
    width: 100%;
  }
}

/* ── PRODUCT IMAGE & THUMBNAILS ─────────────────────────────── */
/* — Drift inline zoom must track the base img 1-for-1 — */
#zoom-container {
  position: relative;
  overflow: hidden;
}

.drift-demo-trigger {
  width: 100%;
  height: auto;
  display: block;
}

/* base */
.drift-inline-pane {
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
}

.drift-inline-pane img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  max-width: none !important;
}

/* ── FINAL fix: kill any leftover black bg on the zoom clone ── */
.drift-inline-pane,
.drift-inline-pane img,
.drift-zoom-pane,
.drift-zoom-pane img {
  background-color: transparent !important;
}

.drift-bounding-box,
.drift-bounding-box::before {
  background: transparent !important;
  /* kill any dark fill   */
  border: 2px solid rgba(255, 255, 255, .45);
  /* thin white outline */
}

/* let the hi-res image expand to its natural size in the zoom pane */
.drift-inline-pane img {
  max-width: none !important;
}

#zoom-container {
  /* keeps big image nicely bounded */
  width: 100%;
  position: relative;
  border: 1px solid #eee;
}

.product-img-main {
  /* big image scales responsively  */
  width: 100%;
  max-height: 550px;
  /* tweak if you want it taller    */
  object-fit: contain;
}

.thumbnail-imgs img {
  /* uniform thumbs + click focus   */
  width: 100%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
}

.thumbnail-imgs img.active,
.thumbnail-imgs img:hover {
  border-color: #198754;
  /* Bootstrap “success” green      */
}