.text-primary {
  color: var(--accent-color) !important;
}

.product-card-triexpot {
  border: 1px solid #e9ecef;
  transition: all 0.2s ease-in-out;
}

.product-card-triexpot:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  border-color: #dee2e6;
}

.product-card-img-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.product-card-img-container .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.image-overlay-icons {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card-triexpot:hover .image-overlay-icons {
  opacity: 1;
}

.product-title-link:hover {
  color: #e8600c !important;
}

/* .product-card-footer {
  opacity: 0;
  transition: opacity 0.3s ease;
} */

/* .product-card-triexpot:hover .product-card-footer {
  opacity: 1;
} */

.product-card-footer .btn {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}

.search-container {
  max-width: 650px;
  padding: 5px;
}

.search-container .form-control {
  border: none;
}

.search-container .form-control:focus {
  box-shadow: none;
  /* border-color: #e8600c; */
}

.search-container .btn {
  /* height: 44px; */
}

.search-container .btn-outline-secondary {
  /* border-left: none; */
  border: none;
  background: white;
  color: #6c757d;
}

.search-button,
.create-account-btn {
  /* background-color: #e8600c !important; */
  background-color: #e8600c !important;
  border-color: #e8600c !important;
  font-weight: 600;
  border: none;
}

.search-button:hover,
.create-account-btn:hover {
  background-color: #e65c00 !important;
  border-color: #e65c00 !important;
}

.user-actions .nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.market_logo_navbar {
  height: 40px;
  width: 40px;
}

.market_navbar_logo_text {
  font-size: 28px;
  font-weight: 700;
}

.location-popover {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  z-index: 1050;
  margin-top: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #dee2e6;
}

@media (max-width: 768px) {
  .location-popover {
    left: auto;
    right: 0;
    transform: translateX(0);
  }
}

.seller_details {
  background-color: #f2f2f2;
}

/* ======================================================================= */
/* Market place header */
/* --- Header General --- */
#mobileMenuOffcanvas {
  z-index: 1041;
}

.home-login-btns .profile-dropdown i {
  color: var(--nav-hover-color);
}

.profile-dropdown-main .dropdown-item:hover {
  background-color: #ffede2 !important;
  color: var(--accent-color) !important;
}

.marketplace-header {
  font-family: Arial, sans-serif;
  z-index: 1039; /* Ensure it stays on top of other content */
}
.marketplace-header .navbar {
  min-height: auto;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.marketplace-header .navbar .nav-link.active {
  border-bottom: 3px solid #e8600c;
  color: #e8600c !important;
}

.dropdown-item:active {
  background-color: var(--accent-color);
}

.marketplace-header .search-container .form-control {
  border: none;
  box-shadow: none;
}

.marketplace-header .search-container .search-button {
  /* Adjust padding as needed */
  padding: 0.5rem 1.25rem;
}

.marketplace-header .location-btn {
  text-align: left;
}

/* --- Location Popover (Desktop) --- */
.location-popover {
  position: absolute;
  top: 100%;
  right: 0;
  width: 350px;
  z-index: 1050; /* Needs to be above other content */
  margin-top: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* --- Sub Navigation --- */
.secondary-nav {
  background-color: #f8f9fa; /* A light grey background */
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}
.secondary-nav .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
}
.secondary-nav .nav-link:hover {
  color: var(--accent-color); /* Your primary color */
}

/* --- Mobile Specific Adjustments --- */
@media (max-width: 767.98px) {
  .search-container {
    min-width: 0; /* Allow search bar to be 100% width */
  }

  /* Make logo text slightly smaller on mobile */
  .market_navbar_logo_text {
    font-size: 1.25rem;
  }
}

/* --- Offcanvas Menu Links --- */
.offcanvas-body .navbar-nav .nav-link {
  font-size: 1.1rem;
  padding: 10px 0;
  font-weight: 500;
}

/* ==================================================================================== */
/* product carosuel  ==========================================================*/
/* ================================================================================================ */

.product_detail_left_pane {
  top: 113px;
}

.image-carousel-container {
  display: flex;
  gap: 1rem;
  height: 60vh;
}

.thumbnail-list-container {
  flex: 0 0 80px;
  position: relative;
  height: 60vh;
}

.thumbnail-list {
  max-height: 60vh;
  overflow-y: auto;
  /* Hide scrollbar */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.thumbnail-list::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.thumbnail-item {
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 0.375rem;
  padding: 2px;
  transition: border-color 0.2s ease;
}

.thumbnail-item.active {
  border-color: #e8600c; /* triexpot orange */
}

.thumbnail-item img,
.thumbnail-item .video-thumb {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 0.25rem;
}

.main-preview {
  flex: 1;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 0.5rem;
  border: 1px solid #eee;
}

.main-preview img,
.main-preview video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.main-preview .zoom-image {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: var(--zoom-x) var(--zoom-y);
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.2s;
}

.nav-arrow:hover {
  background-color: white;
}

.nav-arrow.left {
  left: 10px;
}
.nav-arrow.right {
  right: 10px;
}

/* Mobile Layout */
@media (max-width: 767.98px) {
  .image-carousel-container {
    flex-direction: column;
  }
  .thumbnail-list-container {
    order: 2; /* Move thumbnails below main image */
  }
  .thumbnail-list {
    max-height: none;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  .thumbnail-item {
    flex: 0 0 60px; /* Fixed width for horizontal thumbnails */
  }
  .thumbnail-item img,
  .thumbnail-item .video-thumb {
    height: 60px;
  }
}

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

/* Product Right Pane Css ==================================== */
/* --- Basic Setup & Fonts --- */

.product-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 16px;
  /* max-width: 450px; */
  width: 100%;
  border: 1px solid #e0e0e0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

/* --- Helper for Flexbox alignment --- */
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex-start {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- Top Banner (Free Shipping) --- */
.shipping-banner {
  background-color: #fff1f0;
  color: #d93025;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}
.shipping-banner .arrow {
  font-weight: bold;
}

/* --- Pricing Tiers --- */
.pricing-tiers {
  display: flex;
  text-align: center;
  margin-top: 16px;
  /* border: 1px solid #e0e0e0; */
  border-radius: 4px;
}
.tier {
  /* flex: 1; */
  padding: 8px;
  position: relative;
}
/* .tier:not(:last-child) {
  border-right: 1px solid #e0e0e0;
} */
.tier .quantity {
  font-size: 14px;
  color: #666;
}
.tier .price {
  font-size: 23px;
  font-weight: bold;
  color: #333;
}
.tier .old-price {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
}
.tier .discount-badge {
  /* position: absolute; */
  /* top: -10px; */
  /* left: 50%; */
  /* transform: translateX(-50%); */
  background-color: #ffeceb;
  color: #d93025;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 8px;
  white-space: nowrap;
  border: 1px solid #fff;
}

/* --- Tariff & Sample Sections --- */
.info-bar {
  background-color: #f7f7f7;
  border-radius: 4px;
  padding: 8px 12px;
  margin-top: 16px;
  font-size: 13px;
  color: #555;
}
.sample-price-bar {
  padding: 12px;
  margin-top: 8px;
  /* border-top: 1px solid #f0f0f0; */
  /* border-bottom: 1px solid #f0f0f0; */
  background-color: var(--light-greybg);
}
.sample-price-bar .get-sample-btn {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 16px;
  padding: 6px 16px;
  font-size: 13px;
  cursor: pointer;
}

/* --- Variations (Color/Size) --- */
.variations {
  margin-top: 20px;
}
.variations-header {
  margin-bottom: 12px;
}
.variations-header h3 {
  margin: 0;
  font-size: 16px;
}
.variations-header a {
  font-size: 13px;
  color: #1a73e8;
  text-decoration: none;
}
.option-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.option-group .label {
  font-size: 14px;
  color: #666;
  width: 50px;
}
.color-swatches,
.size-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #ccc;
  overflow: hidden;
  padding: 2px; /* Add padding for the active border */
  box-sizing: border-box;
}
.color-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}
.color-swatch.active {
  border: 2px solid #d93025;
}
.size-option {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
}
.size-option.active {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

/* --- Shipping --- */
.shipping {
  margin-top: 16px;
}
.shipping-header {
  margin-bottom: 8px;
}
.shipping-header h3 {
  margin: 0;
  font-size: 16px;
}
.shipping-header a {
  font-size: 13px;
  color: #1a73e8;
  text-decoration: none;
}

.shipping-details {
  background-color: #f3f3f3;
}
.shipping-details p {
  font-size: 14px;
  color: #333;
  margin: 4px 0;
}
.shipping-details .provider-logo {
  width: 16px; /* Placeholder for logo */
}

/* --- Action Buttons (CTA) --- */
.actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.actions button {
  flex: 1;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 24px;
  cursor: pointer;
  border: 1px solid #ccc;
}
.btn-outline-primary {
  background-color: white;
  color: var(--accent-color);
  border-color: var(--accent-color);
}
.btn-outline-primary:hover {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
}
.btn-outline-primary:disabled {
  color: var(--accent-color);
  border-color: var(--accent-color);
}
.btn-secondary {
  background-color: #fff;
  color: #333;
}

/* --- Installments & Protections --- */
.installments,
.protections {
  margin-top: 16px;
  font-size: 13px;
  color: #555;
}
.protection-item {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  align-items: flex-start;
}
.protection-item .icon {
  flex-shrink: 0;
  color: #34a853; /* Green checkmark */
  margin-top: 2px;
}
.protection-item p {
  margin: 0;
}
.protection-item .title {
  font-weight: 500;
  color: #333;
}
.trade-assurance {
  margin-top: 16px;
  font-size: 13px;
  color: #555;
}

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

.related-products-container {
  width: 100%;
  padding: 2rem 0;
  /* background-color: #f9f9f9; */
  border-top: 1px solid #eee;
}

.related-products-header {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.related-products-grid {
  display: grid;
  /* This single line creates a responsive grid that works on all screen sizes */
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 0 1rem; /* Add some padding on the sides */
}

/* --- Product Tab Styles --- */
.product-tabs {
  display: flex;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 16px;
}

.tab-btn {
  flex: 1;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  background-color: transparent;
  border: none;
  color: #666;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  margin-bottom: -2px; /* Sits on top of the container's border */
}

.tab-btn:hover {
  background-color: #f5f5f5;
}

.tab-btn.active {
  color: var(--accent-color); /* Use your brand's primary color */
  border-bottom-color: var(--accent-color);
}

/* --- Customization Section Styles (Add to ProductOptionsSection.css) --- */
.customization-options {
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
  margin-top: 16px;
}

.customization-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.customization-item {
  background-color: #f7f7f7;
  padding: 12px;
  border-radius: 8px;
}

.customization-item .item-title {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 4px 0;
  color: #333;
}

.customization-item .item-desc {
  font-size: 13px;
  color: #555;
  margin: 0;
}

.customization-item .item-price {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
}
/* ============================================================================ */
/* --- Auth Page Wrapper --- */

.auth-main-container {
  background: #e8600c;
  background: linear-gradient(
    135deg,
    rgba(232, 96, 12, 0.59) 0%,
    rgba(255, 255, 255, 0) 31%,
    rgba(255, 255, 255, 0) 69%,
    rgba(232, 96, 12, 0.59) 100%
  );
}

.auth-page-wrapper {
}

/* This is the main white card with the shadow */
.auth-container {
  /* max-width: 1100px; */
  /* margin: 0 auto; */
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

/* --- Left Pane (Features) --- */
.auth-left-pane {
  padding: 3rem;
  /* A very light background to distinguish it */
  background-color: #fdfdfd;
  border-right: 1px solid #eee;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.auth-left-pane .brand-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1.5rem;
}

.auth-left-pane h2 {
  font-size: 44px;
  margin-bottom: 1rem;
  font-weight: 700;
}

.features-list {
  list-style: none;
  padding-left: 0;
}

.features-list li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.features-list li i {
  /* Placeholder for icons */
  font-size: 1.25rem;
  color: var(--accent-color); /* Your theme color */
  margin-right: 1rem;
  width: 20px; /* Aligns text */
  text-align: center;
}

/* --- Right Pane (Form) --- */
.auth-right-pane {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 70vh;
}

.auth-form {
  width: 100%;
  max-width: 400px; /* Constrains form width */
  margin: 0 auto;
}

/* --- Form Styles (from your screenshots) --- */
.auth-heading {
  font-size: 2rem;
  font-weight: 600;
  color: #212529;
}

.auth-subheading {
  font-size: 1.1rem;
  color: #6c757d;
  margin-top: 0.5rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #495057;
}

.form-control,
.input-group-text {
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.25);
}

/* Email + OTP Button (from image_3fbc68.png) */
.email-otp-group {
  position: relative;
}

.login-tab {
  border: 2px solid var(--accent-color);
}

.btn-otp {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  background-color: transparent;
  color: var(--accent-color);
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
}
.btn-otp:disabled {
  color: #adb5bd;
}
.email-otp-group .form-control {
  padding-right: 120px;
}

/* Buttons */
.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}
.btn-primary:hover {
  background-color: #e65c00;
  border-color: #e65c00;
}

.btn-primary:active,
.btn-primary:focus-visible {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
}

.btn-primary:disabled {
  background-color: #e9ecef;
  border-color: #e9ecef;
  color: #adb5bd;
}

/* Footer Links */
.auth-footer-text {
  font-size: 0.9rem;
  color: #6c757d;
  text-align: center;
}
.auth-footer-text a {
  color: var(--accent-color);
  font-weight: 500;
  text-decoration: none;
}
.auth-footer-text a:hover {
  text-decoration: underline;
}

/* product card marketplace */

/* --- New Product Card Styles --- */
.product-card-new {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.product-card-new:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* --- Image Container --- */
.product-card-img-container {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: #f5f5f5;
  overflow: hidden;
}
.product-card-img-container .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card-new:hover .card-img-top {
  transform: scale(1.05);
}

.customizable-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--accent-color); /* Blue badge */
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

/* --- Card Body --- */
.product-title-link {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  margin-bottom: 4px;
  /* Truncate text */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-title-link:hover {
  color: var(--accent-color); /* Your theme's orange */
}

.company-name-link {
  font-size: 12px;
  color: #555;
  text-decoration: none;
}

a.company-name-link {
  font-size: 10px;
  color: #555;
  text-decoration: none;
}
.company-name-link:hover {
  text-decoration: underline;
  color: #000;
}

/* --- Color Variants --- */
.color-variants {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}
.variant-thumbnail {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #ddd;
  object-fit: cover;
  cursor: pointer;
  transition: all 0.2s ease;
}
.variant-thumbnail:hover {
  border-color: var(--accent-color);
  transform: scale(1.1);
}
.more-colors {
  font-size: 0.8rem;
  font-weight: 500;
  color: #555;
  padding-left: 2px;
}

/* --- Sizes, Price, MOQ --- */
.size-options {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0;
  /* Truncate */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price-range {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
}
.price-unit {
  font-size: 0.9rem;
  font-weight: 400;
  color: #555;
}

.sample-badge {
  background-color: #e6f7ff;
  color: #096dd9;
  border: 1px solid #91d5ff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.moq-text {
  font-size: 10px;
  color: #555;
  margin: 4px 0 0 0;
}

.badge-success {
  background-color: #bbffe2b5;
  color: #039b03;
}

/* --- Card Footer --- */
.card-footer {
  background-color: #fff;
  border-top: none;
}
.btn-wishlist {
  background-color: #ffffff;
  border: none;
  color: #495057;
  font-weight: 500;
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px;
  border-radius: 10px;
  font-size: 16px;
  z-index: 2;
  /* display: none; */
  opacity: 0;
  transition: 0.3s ease-in-out;
  text-align: center;
}

.product-card-new:hover .btn-wishlist {
  opacity: 1;
}

.btn-wishlist:hover {
  color: var(--accent-color);
}

/* ========================================================== */
/* address page */
/* --- Page Wrapper --- */
.address-page-wrapper {
  background-color: #f8f9fa; /* Light grey background */
  min-height: 80vh;
}

/* --- Header --- */
.address-header .btn-primary {
  /* This will use your theme's orange color */
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  font-weight: 600;
}
.address-header .btn-primary:hover {
  background-color: #e65c00;
  border-color: #e65c00;
}

/* --- Address Card --- */
/* --- Page Wrapper --- */
.address-page-wrapper {
  background-color: #f8f9fa; /* Light grey background */
  min-height: 80vh;
}

/* --- Header --- */
.address-header .btn-primary {
  /* This will use your theme's orange color */
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  font-weight: 600;
}
.address-header .btn-primary:hover {
  background-color: #e65c00;
  border-color: #e65c00;
}

/* --- Address Card --- */
.address-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.default-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: #e6f7ff;
  color: #096dd9;
  border: 1px solid #91d5ff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.address-card .card-title {
  color: #222;
}
.address-card .card-title .text-muted {
  font-size: 0.9rem;
}

.card-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.card-actions .btn-link {
  font-weight: 600;
  text-decoration: none;
  padding: 0;
  margin-right: 1.5rem;
}
.card-actions .btn-edit {
  color: var(--accent-color); /* Your theme's orange */
}
.card-actions .btn-delete {
  color: #d93025; /* A standard delete red */
}

/* --- Modal Styling --- */
/* Style for your blue buttons in the modal */

/* Ensure form labels have some weight */
.modal .form-label {
  font-weight: 500;
  color: #333;
}
/* ===================================================== */
/* --- Page Wrapper --- */
.cart-page-wrapper {
  background-color: #f4f5f7; /* Alibaba's light grey background */
  min-height: 100vh;
}

/* --- Left Column --- */
.cart-header-actions {
  border-bottom: 1px solid #e0e0e0;
}

.supplier-cart-group {
  background-color: #fff;
  border-radius: 8px;
  margin-top: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.supplier-header {
  border-bottom: 1px solid #f4f5f7;
}

.cart-item-card {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f4f5f7;
}
.supplier-cart-group .cart-item-card:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  margin-right: 1rem;
}
.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.cart-item-details {
  flex-grow: 1;
}

.item-title {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 4px !important;
  /* Truncate to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.item-meta,
.item-variation {
  font-size: 0.85rem;
  color: #666;
}
.item-price {
  color: #333;
  font-size: 0.9rem;
}

.quantity-selector {
  width: 120px;
  flex-shrink: 0;
}
.quantity-selector .form-control {
  max-width: 40px;
  padding: 0.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-left: none;
  border-right: none;
}
.quantity-selector .btn {
  border-color: #e0e0e0;
  background-color: #fff;
  /* padding: 0.25rem 0.75rem; */
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  margin-left: 1rem;
}
.cart-item-actions .btn-link {
  color: #666;
  padding: 0.25rem;
}
.cart-item-actions .btn-link:hover {
  color: var(--accent-color);
}

/* --- Right Column --- */
.order-summary-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

/* For sticky-top to work with a gap */
.top-2 {
  top: 1.5rem;
}

.summary-thumbnail {
  width: 50px;
  height: 50px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin-right: 8px;
  object-fit: cover;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 0.75rem;
}
.price-row.total-row {
  font-size: 1.1rem;
}
.total-price {
  color: var(--accent-color); /* Your theme's orange */
}

.checkout-btn {
  /* This uses your theme's orange */
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  font-weight: 600;
}
.checkout-btn:hover {
  background-color: #e65c00;
  border-color: #e65c00;
}

/* ===================================================================== */
/* --- Off-Canvas General --- */
.offcanvas-body {
  padding: 0 1.25rem 1.25rem 1.25rem;
}
.offcanvas-header {
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.offcanvas-footer {
  border-top: 1px solid #e0e0e0;
  background-color: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  padding: 0;
}

/* --- NEW CSS for Selectable Customization --- */
.customization-select-item {
  padding: 0.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  background-color: #f8f9fa;
}

.customization-select-item .form-check-input {
  margin-top: 0.3rem;
  width: 1.25em;
  height: 1.25em;
}

.customization-select-item .form-check-label {
  padding-left: 0.5rem;
  cursor: pointer;
}

/* --- 1. Tiered Pricing Bar (Screenshot 1) --- */
.tiered-pricing-bar-new {
  display: flex;
  flex-wrap: wrap; /* Allows tiers to wrap on small screens */
  background-color: #fff;
  margin-bottom: 1rem;
}
.price-tier-new {
  flex-grow: 1;
  text-align: left;
  padding: 8px 10px 8px 0; /* Padding only on the right */
}
.tier-range-new {
  display: block;
  font-size: 0.8rem;
  color: #666;
}
.tier-price-new {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #d93025; /* Red price */
}

/* --- 2. Color Selection (Screenshot 1) --- */
.variation-group .form-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}
.variation-group .form-label .fw-bold {
  color: #222;
}

.color-swatches-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.color-swatch-item-wrapper {
  position: relative;
}
.color-swatch-item {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  border: 2px solid #e0e0e0;
  object-fit: cover;
  cursor: pointer;
  transition: all 0.2s ease;
}
.color-swatch-item.active {
  border-color: var(--accent-color); /* Your theme's orange */
  box-shadow: 0 0 0 2px var(--accent-color);
}
.color-swatch-item:hover:not(.active) {
  border-color: #aaa;
}
.quantity-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--accent-color);
  color: white;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 10px;
  z-index: 2;
}

/* --- 3. Size List (Screenshot 1) --- */
.size-list-vertical {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* max-height: 250px; */
  /* overflow-y: auto; */
  padding-right: 5px; /* For scrollbar */
}
.size-list-item {
  display: grid;
  grid-template-columns: 1fr auto 120px;
  align-items: center;
  gap: 1rem;
}
.size-name {
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid #ccc;
  padding: 5px 10px;
  border-radius: 4px;
  text-align: center;
  background-color: #f8f9fa;
}
.size-price {
  font-size: 0.95rem;
  font-weight: 500;
  color: #222;
}
.quantity-selector {
  width: 120px;
  display: flex;
}
.quantity-selector .form-control {
  max-width: 45px;
  padding: 0.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  border-left: none;
  border-right: none;
  border-radius: 0;
  box-shadow: none;
}
.quantity-selector .btn {
  padding: 0.25rem 0.75rem;
  z-index: 1;
}

/* --- 4. Customization (Screenshot 2) --- */
.variation-group .btn-link {
  font-size: 0.9rem;
}
.variation-group .fa-wand-magic-sparkles {
  color: var(--accent-color);
}

/* --- 5. Shipping --- */
.shipping-info-card {
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
}
.shipping-fee {
  font-size: 0.9rem;
  color: #555;
}

/* --- Footer (Screenshot 1 & 2) --- */
.footer-promo-banner {
  background-color: #fef8f8; /* Light red/orange */
  color: #d93025;
  padding: 12px 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.footer-actions {
  padding: 1rem 1.25rem;
}
.subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.footer-actions .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  font-weight: 600;
}

.footer-actions .btn-outline-secondary {
  font-weight: 600;
}

/* =============================================================== */
/* --- Page Wrapper --- */
.orders-page-wrapper {
  background-color: #f8f9fa; /* Light grey background */
  min-height: 100vh;
}

/* --- Triexpot Tab Styling --- */
.order-tabs {
  border-bottom: 2px solid #dee2e6;
  flex-wrap: nowrap;
  overflow-x: auto; /* Allows tabs to scroll on mobile */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.order-tabs::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.order-tabs .nav-item {
  flex-shrink: 0; /* Prevents tabs from shrinking */
}

.order-tabs .nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6c757d; /* Muted text color */
  background-color: transparent;
  border: none;
  padding: 0.75rem 1rem;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.order-tabs .nav-link.active {
  color: var(--accent-color); /* Your theme's orange */
  border-bottom: 3px solid var(--accent-color);
  background-color: transparent;
}

/* --- Order List Layout (Triexpot Design) --- */
.order-list-header {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* --- Order Row Card (for each order) --- */
.order-row-card {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr 1fr 1fr 1fr;
  gap: 1rem;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  align-items: center;
}

.order-col {
  font-size: 0.9rem;
}
.col-order .order-id {
  color: var(--accent-color); /* Blue order ID */
}
.col-action {
  text-align: end;
}
.view-details-btn {
  /* This uses your theme's orange outline */
  color: var(--accent-color);
  border-color: var(--accent-color);
  font-weight: 500;
  padding: 0.25rem 0.75rem;
}
.view-details-btn:hover {
  background-color: var(--accent-color);
  color: #fff;
}

/* --- Status Badges (Triexpot Design) --- */
.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}
.status-shipped {
  background-color: #f3e8ff;
  color: #7928ca;
}
.status-packing-complete {
  background-color: #f4f5f7;
  color: #6c757d;
}
.status-ready-for-pickup {
  background-color: #e6f7ff;
  color: #096dd9;
}

/* --- Responsive (Mobile) --- */
@media (max-width: 991.98px) {
  .order-list-header {
    display: none; /* Hide header on mobile */
  }

  /* Stack columns on mobile */
  .order-row-card {
    grid-template-columns: 1fr; /* Full width for all columns */
    gap: 0.5rem;
  }

  .order-col {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #eee;
    padding: 0.5rem 0;
  }
  .order-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .col-order {
    flex-direction: column;
    align-items: flex-start;
  }
  .order-row-img {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    object-fit: cover;
  }

  .col-action {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==================================================================================== */
/* --- Page Wrapper --- */
/* --- Page Wrapper --- */
.order-detail-page-wrapper {
  background-color: #f4f5f7; /* Alibaba's light grey background */
  min-height: 100vh;
}

/* --- Header --- */
.copy-btn {
  font-size: 0.8rem;
}

/* --- Card Styling --- */
.order-detail-page-wrapper .card {
  border: none;
}
.order-detail-page-wrapper .card-header {
  border-bottom: 1px solid #f0f0f0;
}
.order-detail-page-wrapper .card-body h6 {
  font-size: 0.95rem;
}
.order-detail-page-wrapper .card-body p {
  font-size: 0.9rem;
}

/* --- NEW: Product List Styles --- */
.product-list-header {
  font-weight: 500;
  color: #666;
  font-size: 0.9rem;
  padding: 0 0.75rem 0.75rem 0.75rem;
  border-bottom: 1px solid #eee;
  margin-bottom: 1rem;
}

.product-list-item {
  border-bottom: 1px solid #eee;
  padding: 1rem 0.75rem;
}
.product-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.product-list-img {
  /* This is the fix! */
  width: 60px;
  height: 60px;
  object-fit: contain; /* Use 'contain' to avoid cropping product */
  border: 1px solid #eee;
  border-radius: 4px;
  flex-shrink: 0; /* Prevents image from shrinking */
}

.product-list-title {
  font-weight: 500;
  color: #333;
  font-size: 0.9rem;
}

/* --- Mobile View --- */
@media (max-width: 767.98px) {
  .product-list-item {
    /* Stack price/qty/total under the product info on mobile */
    flex-direction: column;
    align-items: flex-start !important;
  }

  .product-list-item .col-md-5 {
    width: 100%; /* Make product info take full width */
    margin-bottom: 0.75rem;
  }

  .product-list-item .col-md-2,
  .product-list-item .col-md-1 {
    width: 100%;
    display: flex;
    justify-content: space-between; /* Creates "Price: $190.00" layout */
    font-size: 0.9rem;
    padding: 0.25rem 0;
  }
}

/* --- Text Colors --- */

/* =============================================================================== */
/* --- Section Styling --- */
.direct-source-section {
  background-color: #fff; /* Or your page background */
}

.section-title {
  color: #333;
}

/* --- Feature Card Styling --- */
.feature-card-link {
  text-decoration: none;
  display: block; /* Important for card height */
  height: 100%;
}

.feature-card {
  position: relative;
  border-radius: 12px; /* Rounded corners like the image */
  overflow: hidden;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 300px; /* Ensure cards have a minimum height */
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.feature-card:hover .card-img {
  transform: scale(1.05); /* Slight zoom on hover */
}

/* --- Card Overlay --- */
.feature-card .card-img-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    /* Darker at the top */ rgba(0, 0, 0, 0) 40%,
    /* Fades in the middle */ rgba(0, 0, 0, 0.6) 100% /* Darker at the bottom */
  );
  padding: 1.5rem;
  color: #fff;
  border-radius: 12px; /* Match card radius */
}

.feature-card .card-title {
  font-size: 1.4rem;
  /* Add a subtle text shadow for readability */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.feature-card .view-more-link {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0; /* Hidden by default */
  transform: translateY(10px); /* Start slightly lower */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.feature-card:hover .view-more-link {
  opacity: 1; /* Show on hover */
  transform: translateY(0); /* Move into place */
}
/* ===================================================================== */
/* frontend/pages/auth/ProfilePage.css */

/* --- Main Dashboard Layout --- */
/* --- Main Dashboard Layout --- */
/* --- Main Dashboard Layout --- */
.profile-page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f8f9fa; /* Light grey background */
}

.profile-main-container {
  flex-grow: 1;
  display: flex;
  width: 100%;
  /* REMOVED align-items: stretch; */
}

.profile-sidebar {
  width: 280px;
  background-color: #ffffff;
  border-right: 1px solid #e0e0e0;
  transition: width 0.3s ease;
  padding: 0; /* Remove padding for header/nav separation */
  flex-shrink: 0;

  /* --- Sticky Positioning --- */
  position: sticky;
  top: 70px; /* Adjust based on your ACTUAL sticky header height */
  height: calc(100vh - 70px); /* Fill viewport below header */
  overflow-y: auto; /* Allow internal scrolling */
  align-self: flex-start; /* Important for sticky in flex */
}

.profile-sidebar.collapsed {
  width: 80px;
  overflow-x: hidden; /* Hide horizontal overflow when collapsed */
}

.profile-content {
  flex-grow: 1;
  padding: 2rem;
  width: 100%;
  /* overflow-x: auto; - Keep if needed, but primary scroll is window */
}

/* --- Sidebar Header & Toggle --- */
.sidebar-header {
  padding: 1.5rem 1.5rem 1rem 1.5rem; /* Re-add padding here */
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  /* Make header sticky *within* the sidebar if needed */
  /* position: sticky; */
  /* top: 0; */
  /* background-color: #ffffff; */
  /* z-index: 1; */
}

/* ... (rest of .sidebar-header styles remain the same) ... */
.sidebar-header h5 {
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.sidebar-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #6c757d;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.profile-sidebar.collapsed .sidebar-header h5 {
  opacity: 0;
  width: 0;
  overflow: hidden;
}

.profile-sidebar.collapsed .sidebar-toggle {
  transform: rotate(0deg);
  width: 100%;
  text-align: center;
}

/* --- Sidebar Navigation --- */
.sidebar-nav {
  list-style: none;
  padding: 1rem 0; /* Re-add padding here */
  margin: 0;
  /* Allow nav to scroll independently of header */
  /* overflow-y: auto; <-- Moved to .profile-sidebar */
  /* flex-grow: 1; <-- Not needed if overflow is on parent */
}

/* ... (rest of .sidebar-nav styles remain the same) ... */
.sidebar-nav-item {
  margin: 0.25rem 0;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  color: #343a40;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-nav-link i {
  font-size: 1.1rem;
  width: 20px; /* Fixed width for icon */
  text-align: center;
  flex-shrink: 0;
  color: #6c757d;
}

.sidebar-nav-link .nav-text {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.sidebar-nav-link:hover {
  background-color: #f1f3f5;
  color: var(--accent-color);
}

.sidebar-nav-link:hover i {
  color: var(--accent-color);
}

.sidebar-nav-link.active {
  background-color: #ffede2;
  color: var(--accent-color);
  font-weight: 600;
  border-left: 3px solid var(--accent-color);
}

.sidebar-nav-link.active i {
  color: var(--accent-color);
}

/* Collapsed State for Links */
.profile-sidebar.collapsed .sidebar-nav-link {
  justify-content: center;
  padding: 0.75rem 1.75rem; /* Adjust padding for centered icons */
}

.profile-sidebar.collapsed .sidebar-nav-link .nav-text {
  opacity: 0;
  width: 0;
}

/* --- Profile Content Tabs --- */
.profile-tab-content {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  padding: 2rem;
  min-height: 400px; /* Optional: Give content a min-height */
}

.profile-tab-header {
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.profile-tab-header h3 {
  margin: 0;
  font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .profile-main-container {
    flex-direction: column;
    /* align-items: stretch; - Not needed here */
  }
  .profile-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    /* --- Reset sticky for mobile --- */
    position: static;
    height: auto;
    overflow-y: visible;
  }
  .profile-sidebar.collapsed {
    width: 100%;
  }
  /* ... (rest of responsive styles remain the same) ... */
  .sidebar-header {
    padding: 1rem 1.5rem;
  }
  .profile-sidebar.collapsed .sidebar-header h5 {
    opacity: 1;
    width: auto;
  }
  .profile-sidebar.collapsed .sidebar-toggle {
    transform: none;
    width: auto;
  }
  .sidebar-nav {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    padding: 0.5rem 1rem;
  }
  .sidebar-nav-item {
    flex-shrink: 0;
  }
  .sidebar-nav-link {
    padding: 0.75rem 1rem;
  }
  .sidebar-nav-link.active {
    border-left: none;
    border-bottom: 3px solid var(--accent-color);
    background-color: transparent;
  }
  .profile-sidebar.collapsed .sidebar-nav-link {
    justify-content: flex-start;
    padding: 0.75rem 1rem;
  }
  .profile-sidebar.collapsed .sidebar-nav-link .nav-text {
    opacity: 1;
    width: auto;
  }
  .profile-content {
    padding: 1rem;
  }
  .profile-tab-content {
    padding: 1.5rem;
  }
}

/* ======================================================== */
.bg-primary {
  background-color: var(--accent-color) !important;
}

/* pagination */
.pagination {
  /* This creates the space between each pill */
  gap: 0.5rem;
}

.pagination .page-item {
  margin: 0; /* Reset any default margin */
}

.pagination .page-link {
  /* This is the key "pill" style */
  border-radius: 50rem !important; /* Force pill shape */

  margin-left: 0; /* Override Bootstrap's default "connected" style */
  color: var(--accent-color); /* Orange text */
  box-shadow: none;

  /* This makes the pills more uniform and circular/oval */
  min-width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  font-size: 0.9rem;
  border: 1px solid #dee2e6;
}

/* --- THEME STYLES (same as before) --- */

.pagination .page-item.active .page-link {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
  z-index: 3;
}

.pagination .page-item:not(.active) .page-link:hover {
  background-color: color-mix(in srgb, var(--accent-color) 8%, white);
  color: var(--accent-color);
  z-index: 2;
}

.pagination .page-item .page-link:focus {
  box-shadow: none;
}

.pagination .page-item.disabled .page-link {
  color: #aaa;
  background-color: #fff;
  border-color: #dee2e6;
}

/* Style for the "..." dots */
.pagination .page-item.disabled .page-link:has(span) {
  border-color: transparent;
  background-color: transparent;
}

/* =============================================== */
/* categories cards in home page
 */
/* CategoriesSlider.css */

.categories-carousel .category-badge-link {
  display: block; /* Make the link fill the container */
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  border-radius: 0.375rem; /* Match card's border-radius if needed */
}

.categories-carousel .category-badge-link:hover {
  transform: translateY(-5px); /* Lift effect on hover */
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.categories-carousel .category-badge {
  background-color: #fff; /* White background */
  border-radius: 0.375rem; /* Standard Bootstrap border-radius */
  transition: box-shadow 0.2s ease-in-out;
}

.categories-carousel .category-badge-image-wrapper {
  width: 100%;
  padding-top: 75%; /* Aspect ratio 4:3 - Adjust as needed */
  position: relative;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  /* Light background for image area */
}

.categories-carousel .category-badge-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* 'contain' fits the whole image, 'cover' fills the space */
  padding: 10px; /* Optional padding around the image */
}

.categories-carousel .category-badge-name {
  font-size: 18px;
  font-weight: 600;
  color: #343a40;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Optional: Style the carousel controls */
.categories-carousel .category-carousel-control {
  width: 5%; /* Make controls slimmer */
  opacity: 0.7;
  transition: opacity 0.15s ease;
}
.categories-carousel .category-carousel-control:hover {
  opacity: 1;
}
.categories-carousel .category-carousel-control i {
  color: var(--accent-color, #fd7e14); /* Use accent color for arrows */
  background-color: rgba(
    255,
    255,
    255,
    0.7
  ); /* Semi-transparent white background */
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Adjust control position if needed */
.categories-carousel .carousel-control-prev {
  left: -2%; /* Move controls slightly outside */
}
.categories-carousel .carousel-control-next {
  right: -2%; /* Move controls slightly outside */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .categories-carousel .category-carousel-control {
    width: 8%;
  }
  .categories-carousel .carousel-control-prev {
    left: -1%;
  }
  .categories-carousel .carousel-control-next {
    right: -1%;
  }
}
/* ============================================= */
/* src/components/sections/SourceFactorySection.css */

.source-factory-section .section-title {
  color: #333; /* Dark color for the title */
}

.factory-card {
  position: relative; /* Needed for the overlay positioning */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 350px; /* Ensure cards have a minimum height */
}

.factory-card:hover {
  transform: translateY(-5px); /* Lift effect on hover */
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15) !important; /* Enhanced shadow */
}

.factory-card-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.factory-card-overlay {
  position: relative;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.75) 11%,
    rgba(0, 0, 0, 0.1) 40%
  );
  border-radius: var(--bs-card-inner-border-radius);
}

.factory-card .card-title {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.factory-card-button {
  /* Style the button */
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  align-self: flex-start;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  color: #333;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.factory-card-button:hover {
  background-color: rgba(255, 255, 255, 1);
  color: #000;
}

/* ============================================================= */
/* src/components/sections/HoverTabSection.css */

/* src/components/sections/HoverTabSection.css */

.step-item {
  display: flex;
  align-items: flex-start;
  position: relative;
  padding-bottom: 1.5rem;
  opacity: 0.8; /* Fade inactive items */
  transition: all 0.3s ease-in-out;
  cursor: pointer; /* Indicate interactivity */
}

.step-item:last-child {
  padding-bottom: 0;
}

.step-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #dee2e6;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  color: #6c757d;
  font-size: 1.25rem;
  transition: all 0.2s ease-in-out;
  position: relative;
  z-index: 2;
}

.step-line {
  width: 1px;
  background-color: #dee2e6;
  flex-grow: 1;
  min-height: 40px; /* Slightly longer line */
  margin-top: 5px;
  transition: all 0.2s ease-in-out;
}

.step-content {
  padding-top: 0.5rem;
}

.step-title {
  font-weight: 500;
  font-size: 22px;
  color: #495057;
  margin-bottom: 0.25rem;
  transition: all 0.2s ease-in-out;
}

.step-description {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0;
  line-height: 1.5;
  /* Add subtle fade-in for description */
  animation: fadeIn 0.4s ease-in-out;
}

/* --- Active State (Triggered by Hover) --- */
.step-item.active {
  opacity: 1;
}

.step-item.active .step-icon {
  /* Use your accent color */
  background-color: color-mix(
    in srgb,
    var(--accent-color, #fd7e14) 15%,
    transparent
  );
  border-color: var(--accent-color, #fd7e14);
  color: var(--accent-color, #fd7e14);
}

.step-item.active .step-title {
  font-weight: 600; /* Bolder title */
  font-size: 32px;
  color: #212529; /* Black/Dark title */
}

/* Make lines appear connected to active */
.step-item.active .step-line {
  background-color: #ced4da;
}
.step-item.active + .step-item .step-line {
  background-color: #ced4da;
}

/* --- Right Side Image --- */
.hover-tab-content {
  position: sticky; /* Make image sticky within its column */
  top: 100px; /* Adjust top offset as needed (e.g., below header) */
}

.hover-tab-image {
  /* Renamed class */
  width: 100%;
  height: auto;
  max-height: 500px; /* Optional: Constrain image height */
  object-fit: cover; /* Cover the area */
}

/* Animation for description fade-in */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Adjust layout for medium screens */
@media (max-width: 991.98px) {
  .step-list-wrapper {
    margin-bottom: 2rem;
  }
  .hover-tab-content {
    position: static; /* Remove sticky positioning on smaller screens */
    top: auto;
  }
  .hover-tab-image {
    max-height: 400px;
  }
}

/* ===================================================================================== */
.page-title {
  background: linear-gradient(180deg, #ffdec9, transparent);
}

/* src/components/sections/BusinessOpportunitiesSection.css */

.business-opp-section {
  background-color: #f8f9fa; /* Light background for the section */
}

.section-header-bo .section-title {
  font-size: 1.75rem; /* Adjust title size */
}

.view-more-bo {
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  background-color: #e9ecef;
  border-color: #dee2e6;
  color: #495057;
}
.view-more-bo:hover {
  background-color: #dee2e6;
}

.bo-card {
  border-radius: 12px !important; /* Rounded corners for cards */
  background-color: #fff;
  display: flex; /* Ensure flex properties work */
  flex-direction: column; /* Stack items vertically */
}

.bo-card-title {
  color: #333;
}

.bo-image-link img {
  display: block; /* Remove extra space below images */
  transition: transform 0.2s ease-in-out;
}
.bo-image-link:hover img {
  transform: scale(1.03); /* Slight zoom on hover */
}

.bo-tag {
  background-color: rgba(217, 48, 37, 0.9); /* Reddish tag background */
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
}

.view-more-link-bo {
  font-size: 0.8rem;
  color: #6c757d;
  text-decoration: none;
  display: block; /* Make it take full width for text-align */
}
.view-more-link-bo:hover {
  color: var(--accent-color, #fd7e14); /* Use accent color on hover */
  text-decoration: underline;
}

/* --- Clearance Card Specific --- */
.bo-card-clearance .clearance-image .price-overlay {
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  color: white;
  font-size: 0.8rem;
  border-bottom-left-radius: 0.375rem; /* Match image rounding */
  border-bottom-right-radius: 0.375rem;
}
.bo-card-clearance .clearance-image .old-price {
  font-size: 0.7rem;
  opacity: 0.8;
}
.bo-card-clearance .clearance-text .fs-5 {
  color: #d93025; /* Reddish color for discount */
}
.bo-card-clearance .accessory-image img {
  max-width: 60px; /* Smaller size for accessories */
  border: 1px solid #eee;
}

/* --- New Arrivals Card Specific --- */
.bo-card-new-arrivals .new-arrival-item .price-tag {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
}
.bo-card-new-arrivals .new-arrival-text p {
  line-height: 1.4;
}

/* Ensure flex column children take available height */
.bo-card > *:not(.mt-auto):not(.mb-auto) {
  flex-shrink: 0;
}
/* ======================================================================= */
.clickable-customization {
  cursor: pointer;
  transition: background-color 0.2s;
}
.clickable-customization:hover {
  background-color: #f8f9fa;
}

i.survey-accordion-icon.text-primary {
  color: #0d6dfc !important;
}

.buyer-survey-form {
  box-shadow: 0 0.5rem 1rem #e8600c63;
}
/* ============================================================================ */
@media (min-width: 796px) {
  #productOffCanvas {
    width: 50vw;
  }
}

@media (min-width: 992px) {
  #productOffCanvas {
    width: 40vw;
  }
}
/* ============================================================================ */

/* --- Header Layout --- */

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