/* ==========================================================================
   B2B SİSTEMİ - COMPONENTS STYLESHEET
   Ürün Kartları, Dinamik Sekmeler, Toptancı Tablosu, Fiyat Gör Modalı, Çoklu Sepet, Toast & WhatsApp
   ========================================================================== */

/* 0. DYNAMIC SHOWCASE TABS (KAMPANYA, STOK SONU & ÖZEL VİTRİN SEKME BAR) */
.showcase-tabs-container {
  margin-bottom: 20px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 8px 12px;
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.showcase-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  color: var(--b2b-navy);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.showcase-tab-btn:hover {
  background: #f1f5f9;
  color: var(--b2b-blue);
}

.showcase-tab-btn.active {
  background: linear-gradient(135deg, var(--b2b-navy), var(--b2b-sapphire));
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.showcase-tab-btn.active i {
  color: #38bdf8;
}

.tab-badge-pill {
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 10px;
  background: rgba(255,255,255,0.2);
  color: inherit;
  font-weight: 800;
}

.showcase-tab-btn:not(.active) .tab-badge-pill {
  background: #e2e8f0;
  color: #475569;
}

/* 0.5 HERO BANNER SLIDER & DİNAMİK KAMPANYA ALANI */
.main-hero-banner-slider {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: var(--shadow-md);
}

.banner-slides-track {
  display: flex;
  width: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-banner-slide {
  min-width: 100%;
  width: 100%;
  padding: 28px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  color: #ffffff;
  position: relative;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}

.banner-slide-content {
  max-width: 65%;
  z-index: 2;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.3);
}

.banner-title {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 8px 0;
  color: #ffffff;
  line-height: 1.25;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.banner-subtitle {
  font-size: 13.5px;
  color: #e2e8f0;
  margin: 0 0 16px 0;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.banner-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: #ffffff;
  color: #0f172a;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.15s, background 0.15s;
}

.banner-action-btn:hover {
  transform: translateY(-2px);
  background: #f8fafc;
}

.banner-slide-graphic {
  z-index: 2;
  font-size: 64px;
  opacity: 0.85;
  color: rgba(255,255,255,0.9);
  padding-right: 14px;
}

.banner-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
}

.banner-nav-btn:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-50%) scale(1.08);
}

.banner-nav-prev { left: 12px; }
.banner-nav-next { right: 12px; }

.banner-indicators {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.banner-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.2s;
}

.banner-dot.active {
  background: #ffffff;
  width: 24px;
  border-radius: 10px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1720px) {
  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(25, 108, 179, 0.35);
}

/* Image & Badges Wrap */
.product-img-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

/* Floating Image Badges */
.card-floating-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.fav-toggle-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  box-shadow: var(--shadow-xs);
  z-index: 2;
  transition: all var(--transition-fast);
}

.fav-toggle-btn:hover, .fav-toggle-btn.active {
  color: var(--b2b-blue);
  background: #ffffff;
  transform: scale(1.1);
}

/* Card Body */
.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 11px;
}

.product-brand {
  font-weight: 700;
  color: var(--b2b-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-stock-code {
  color: var(--text-muted);
  font-family: monospace;
}

.product-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--b2b-navy);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 36px;
  cursor: pointer;
}

.product-title:hover {
  color: var(--b2b-blue);
}

.product-barcode-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #64748b;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.product-barcode-row .barcode-val {
  font-family: monospace;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-weight: 600;
  font-size: 11px;
}

.multi-barcode-pill {
  display: inline-flex;
  align-items: center;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  border: 1px solid #bae6fd;
  cursor: help;
  transition: all 0.15s ease;
}

.multi-barcode-pill:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

/* Price Section (b2b.domain.com Detaylı Fiyatlandırma Formatı) */
.product-pricing-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: all var(--transition-fast);
}

.product-card:hover .product-pricing-box {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* 1. Satır: Liste Fiyatı ve İskonto Rozeti */
.pricing-row-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
}

.pricing-list-label {
  color: #64748b;
  font-weight: 500;
}

.pricing-list-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pricing-list-val {
  text-decoration: line-through;
  color: #94a3b8;
  font-weight: 700;
  font-family: var(--font-family-heading);
}

.discount-badge-tag {
  background: var(--b2b-gold-light);
  color: var(--b2b-gold-hover);
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  letter-spacing: 0.2px;
}

/* 2. Satır: Net Bayi Alış Fiyatı (+KDV) */
.pricing-row-net {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 4px;
}

.pricing-net-label {
  font-size: 10.5px;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.pricing-net-val {
  font-size: 18px;
  font-weight: 900;
  color: var(--b2b-navy);
  font-family: var(--font-family-heading);
}

.pricing-net-val span {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-left: 2px;
}

/* 3. Satır: KDV Dahil Nihai Tutar Rozeti */
.pricing-row-vat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}

.vat-inclusive-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font-family-heading);
}

.vat-inclusive-badge i {
  font-size: 10px;
}

.vat-rate-hint {
  font-size: 10.5px;
  color: #64748b;
  font-weight: 600;
}

/* Müşteri Modunda Liste & KDV Dahil Öne Çıkar, İskonto & Net Alış Gizlenir */
body.customer-mode .dealer-only {
  display: none !important;
}

body.customer-mode .pricing-row-list {
  display: none;
}

body.customer-mode .pricing-row-net .pricing-net-label {
  display: none;
}

body.customer-mode .vat-inclusive-badge {
  background: var(--b2b-navy);
  color: #ffffff;
  border-color: var(--b2b-navy);
  font-size: 13px;
  padding: 4px 10px;
}

/* Package Multiplier Badges */
.package-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding: 0 2px;
}

.quick-multipliers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  margin-bottom: 10px;
}

.mult-btn {
  padding: 4px 0;
  background: #ffffff;
  border: 1px dashed var(--border-brand);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: center;
  transition: all var(--transition-fast);
}

.mult-btn:hover {
  background: var(--b2b-blue-light);
  border-color: var(--b2b-blue);
  color: var(--b2b-blue);
}

/* Add to Cart Controls */
.card-cart-controls {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.quantity-picker {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #ffffff;
  overflow: hidden;
  width: 95px;
}

.qty-btn {
  width: 28px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 13px;
  transition: background var(--transition-fast);
}

.qty-btn:hover {
  background: #e2e8f0;
  color: var(--b2b-navy);
}

.qty-input {
  width: 39px;
  height: 34px;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--b2b-navy);
  outline: none;
  background: transparent;
}

.btn-add-cart {
  flex: 1;
  height: 36px;
  background: linear-gradient(135deg, var(--b2b-navy), var(--b2b-navy-surface));
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.btn-add-cart:hover {
  background: linear-gradient(135deg, var(--b2b-blue), var(--b2b-sapphire));
  box-shadow: var(--shadow-b2b);
}

/* 2. B2B WHOLESALE ORDER DATA TABLE (TABLO GÖRÜNÜMÜ) */
.table-responsive-wrap {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow-x: auto;
  box-shadow: var(--shadow-xs);
}

.b2b-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.b2b-table thead {
  background: #f8fafc;
  border-bottom: 2px solid var(--border-light);
}

.b2b-table th {
  padding: 12px 14px;
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.b2b-table tbody tr {
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}

.b2b-table tbody tr:hover {
  background: #f8fafc;
}

.b2b-table td {
  padding: 10px 14px;
  vertical-align: middle;
}

.table-product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.table-thumb-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  padding: 3px;
}

.table-product-details {
  display: flex;
  flex-direction: column;
}

.table-product-title {
  font-weight: 700;
  color: var(--b2b-navy);
  line-height: 1.2;
}

.table-product-code {
  font-size: 11px;
  color: var(--text-muted);
  font-family: monospace;
}

/* Tablo Detaylı Fiyat Sütun Stilleri */
.table-list-price {
  text-decoration: line-through;
  color: #94a3b8;
  font-weight: 700;
  font-size: 12px;
  font-family: var(--font-family-heading);
}

.table-discount-tag {
  background: var(--b2b-gold-light);
  color: var(--b2b-gold-hover);
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: inline-block;
  white-space: nowrap;
}

.table-net-price {
  font-weight: 900;
  color: var(--b2b-navy);
  font-size: 14.5px;
  font-family: var(--font-family-heading);
  white-space: nowrap;
}

.table-vat-price {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font-family-heading);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

/* Ürün Detay Popup Fiyatlandırma Döküm Kartı */
.modal-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.modal-price-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
}

.modal-price-card.highlight {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.modal-price-card-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.modal-price-card-val {
  font-size: 16px;
  font-weight: 900;
  color: var(--b2b-navy);
  font-family: var(--font-family-heading);
  margin-top: 2px;
}

.modal-price-card.highlight .modal-price-card-val {
  color: #047857;
  font-size: 18px;
}

/* 3. "FİYAT GÖR & HIZLI BARKOD SORGULA" FLOATING WIDGET */
.floating-fiyat-gor-btn {
  position: fixed;
  bottom: 85px;
  right: 24px;
  background: linear-gradient(135deg, var(--b2b-blue), var(--b2b-sapphire));
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(25, 108, 179, 0.4);
  z-index: 95;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all var(--transition-bounce);
}

.floating-fiyat-gor-btn:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 12px 28px rgba(25, 108, 179, 0.55);
}

@media (max-width: 992px) {
  .floating-fiyat-gor-btn {
    display: none !important;
  }
}

/* 4. MULTI-CART OFFCANVAS DRAWER (ÇOKLU SEPET ÇEKMECESİ) */
.cart-drawer-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 25, 44, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.active {
  display: block;
  opacity: 1;
}

.cart-drawer {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-drawer);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer-overlay.active .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 18px 20px;
  background: var(--b2b-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--b2b-blue);
}

.cart-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
}

.cart-drawer-close {
  font-size: 18px;
  cursor: pointer;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.cart-drawer-close:hover {
  color: #ffffff;
}

/* Multi-basket tab selector in cart */
.cart-basket-selector-bar {
  padding: 8px 16px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.basket-tab-btn {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  background: #ffffff;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  cursor: pointer;
  white-space: nowrap;
}

.basket-tab-btn.active {
  background: var(--b2b-blue);
  color: #ffffff;
  border-color: var(--b2b-blue);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item-card {
  display: flex;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px;
  position: relative;
}

.cart-item-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 6px;
  padding: 4px;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--b2b-navy);
  line-height: 1.2;
  margin-bottom: 4px;
  padding-right: 18px;
}

.cart-item-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 2px;
}

.cart-item-unit-price {
  font-size: 11.5px;
  color: var(--text-muted);
}

.cart-item-total-price {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--b2b-blue);
  font-family: var(--font-family-heading);
}

.cart-item-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #94a3b8;
  cursor: pointer;
  font-size: 13px;
}

.cart-item-remove:hover {
  color: var(--danger);
}

.cart-drawer-footer {
  padding: 18px 20px;
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.cart-summary-row.total-row {
  font-size: 16px;
  font-weight: 800;
  padding-top: 8px;
  border-top: 1px dashed var(--border-light);
  color: var(--b2b-navy);
}

.btn-checkout {
  width: 100%;
  height: 44px;
  background: linear-gradient(135deg, var(--b2b-blue), var(--b2b-sapphire));
  color: #ffffff;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-b2b);
  margin-top: 6px;
  cursor: pointer;
  transition: all var(--transition-bounce);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(25, 108, 179, 0.45);
}

/* 5. TOAST NOTIFICATIONS */
#toastContainer {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-message {
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: var(--b2b-navy-deep);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--b2b-blue);
  animation: fadeIn 0.25s ease forwards;
  pointer-events: auto;
}

.toast-message.success { border-left-color: var(--success); }
.toast-message.warning { border-left-color: var(--warning); }
.toast-message.info { border-left-color: var(--info); }

/* 6. FLOATING WHATSAPP BUTTON */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 90;
  cursor: pointer;
  transition: all var(--transition-bounce);
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
  .floating-whatsapp-btn {
    display: none !important;
  }
}

/* ==========================================================================
   7. PRODUCT IMAGE ZOOM BUTTON & LIGHTBOX MODAL (BÜYÜK HD GÖRSEL)
   ========================================================================== */
.img-zoom-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--b2b-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  z-index: 3;
}

.product-card:hover .img-zoom-btn {
  opacity: 1;
  transform: scale(1);
}

.img-zoom-btn:hover {
  background: var(--b2b-navy);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(13, 42, 76, 0.3);
}

@media (max-width: 768px) {
  .img-zoom-btn {
    opacity: 0.9;
    transform: scale(0.9);
  }
}

/* ==========================================================================
   7. BASİT VE ŞIK FOTOĞRAF BÜYÜTME (SIMPLE LIGHTBOX)
   ========================================================================== */
.b2b-simple-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s;
  cursor: pointer;
}

.b2b-simple-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.b2b-lightbox-wrapper {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
}

.b2b-simple-lightbox.active .b2b-lightbox-wrapper {
  transform: scale(1);
}

.b2b-lightbox-main-img {
  max-width: 85vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.b2b-lightbox-x-btn {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
  z-index: 10;
}

.b2b-lightbox-x-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: scale(1.1) rotate(90deg);
}

@media (max-width: 768px) {
  .b2b-simple-lightbox {
    padding: 12px;
  }
  .b2b-lightbox-wrapper {
    padding: 8px;
    max-width: 95vw;
    max-height: 85vh;
  }
  .b2b-lightbox-main-img {
    max-width: 90vw;
    max-height: 75vh;
  }
  .b2b-lightbox-x-btn {
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}


