/* ==========================================================================
   Vetmivo — B2B Veterinary Commerce & Medical Marketplace Stylesheet
   Standalone, Robust, Pure CSS Layout System (No external grid dependencies)
   ========================================================================== */

:root {
  --b2b-primary: #0f766e;
  --b2b-primary-hover: #115e59;
  --b2b-primary-light: #f0fdfa;
  --b2b-accent: #0284c7;
  --b2b-dark: #0f172a;
  --b2b-slate: #334155;
  --b2b-muted: #64748b;
  --b2b-border: #e2e8f0;
  --b2b-border-subtle: #f1f5f9;
  --b2b-bg-soft: #f8fafc;
  --b2b-card-bg: #ffffff;
  --b2b-radius: 12px;
  --b2b-radius-sm: 8px;
  --b2b-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --b2b-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --b2b-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

/* Master Container - Wide 12-column Full Width Layout */
.b2b-shop-container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
  box-sizing: border-box;
}

/* Generic Flex & Grid Helpers for Shop */
.b2b-flex { display: flex; }
.b2b-flex-col { display: flex; flex-direction: column; }
.b2b-items-center { align-items: center; }
.b2b-justify-between { justify-content: space-between; }
.b2b-gap-1 { gap: 0.25rem; }
.b2b-gap-2 { gap: 0.5rem; }
.b2b-gap-3 { gap: 0.75rem; }
.b2b-gap-4 { gap: 1rem; }
.b2b-gap-5 { gap: 1.5rem; }
.b2b-mb-1 { margin-bottom: 0.25rem; }
.b2b-mb-2 { margin-bottom: 0.5rem; }
.b2b-mb-3 { margin-bottom: 0.75rem; }
.b2b-mb-4 { margin-bottom: 1rem; }
.b2b-mb-5 { margin-bottom: 1.5rem; }
.b2b-w-full { width: 100%; }

/* Auth Context Banner */
.b2b-auth-context-banner {
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: var(--b2b-radius-sm);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: #0f766e;
}

.b2b-auth-context-banner strong {
  color: #115e59;
}

/* Hero Section */
.b2b-shop-hero {
  background: linear-gradient(135deg, #0f766e 0%, #134e4a 60%, #0f172a 100%);
  color: #ffffff;
  padding: 2.75rem 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(15, 118, 110, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.b2b-shop-hero h2 {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem 0;
  color: #ffffff;
}

.b2b-shop-hero p {
  font-size: 0.95rem;
  opacity: 0.9;
  max-width: 640px;
  line-height: 1.5;
  margin: 0;
  color: #ccfbf1;
}

/* Reward Card */
.b2b-reward-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--b2b-shadow-sm);
  margin-bottom: 2rem;
}

.b2b-progress-bar {
  height: 10px;
  border-radius: 9999px;
  background: #e2e8f0;
  overflow: hidden;
}

.b2b-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
  transition: width 0.6s ease;
}

/* Categories Horizontal Chips Bar */
.b2b-category-nav-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 0.75rem 0.25rem;
  margin-bottom: 2rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.b2b-category-nav-bar::-webkit-scrollbar {
  height: 4px;
}
.b2b-category-nav-bar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.b2b-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.b2b-cat-chip:hover {
  background: #f0fdfa;
  border-color: #0f766e;
  color: #0f766e;
  transform: translateY(-1px);
}

.b2b-cat-chip.active {
  background: #0f766e;
  border-color: #0f766e;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(15, 118, 110, 0.25);
}

.b2b-cat-chip-count {
  font-size: 0.725rem;
  background: #f1f5f9;
  color: #64748b;
  padding: 1px 6px;
  border-radius: 9999px;
}

.b2b-cat-chip.active .b2b-cat-chip-count {
  background: rgba(255,255,255,0.25);
  color: #ffffff;
}

/* Hero Search Box */
.b2b-hero-search {
  max-width: 540px;
  width: 100%;
  margin-top: 1.25rem;
}

.b2b-hero-search-input-wrap {
  display: flex;
  background: #ffffff;
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.b2b-hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  color: #0f172a;
  background: transparent;
}

.b2b-hero-search-btn {
  background: #0f766e;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.b2b-hero-search-btn:hover {
  background: #115e59;
}

.b2b-quick-tags {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: #ccfbf1;
}

.b2b-quick-tag {
  color: #ffffff;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 500;
}

.b2b-quick-tag:hover {
  color: #5eead4;
}

/* 2-Column Catalog Layout */
.b2b-catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.75rem;
  align-items: start;
}

/* Filter Sidebar Card */
.b2b-filter-card {
  background: #ffffff;
  border: 1px solid var(--b2b-border);
  border-radius: var(--b2b-radius);
  padding: 1.25rem;
  box-shadow: var(--b2b-shadow-sm);
  position: sticky;
  top: 90px;
}

.b2b-filter-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--b2b-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--b2b-border-subtle);
}

/* Product Catalog Grid */
.b2b-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
}

/* Product Card */
.product-grid-card {
  background: #ffffff;
  border: 1px solid var(--b2b-border);
  border-radius: var(--b2b-radius);
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.product-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--b2b-shadow-lg);
  border-color: #cbd5e1;
}

.product-image-container {
  height: 190px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border-bottom: 1px solid var(--b2b-border-subtle);
}

.product-image-container img {
  max-height: 150px;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.product-grid-card:hover .product-image-container img {
  transform: scale(1.04);
}

.product-badge-approval {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #fde68a;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 3px;
}

.product-badge-reward {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #bbf7d0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 3px;
}

.product-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-brand-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--b2b-muted);
  margin-bottom: 0.25rem;
}

.product-card-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--b2b-dark);
  line-height: 1.35;
  margin: 0 0 0.35rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.product-sku-tag {
  font-size: 0.75rem;
  color: var(--b2b-muted);
  margin-bottom: 0.75rem;
}

.product-card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--b2b-border-subtle);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.product-list-price {
  font-size: 0.75rem;
  text-decoration: line-through;
  color: var(--b2b-muted);
}

.product-sale-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f766e;
}

.product-tax-note {
  font-size: 0.68rem;
  color: var(--b2b-muted);
}

/* 2-Column Product Detail Layout */
.b2b-product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.product-detail-media-box {
  background: #ffffff;
  border: 1px solid var(--b2b-border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.product-detail-media-box img {
  max-height: 340px;
  max-width: 100%;
  object-fit: contain;
}

.product-detail-info-card {
  background: #ffffff;
  border: 1px solid var(--b2b-border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--b2b-shadow-sm);
}

.product-detail-price-banner {
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 2-Column Cart Layout */
.b2b-cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.75rem;
  align-items: start;
}

.cart-table-card {
  background: #ffffff;
  border: 1px solid var(--b2b-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--b2b-shadow-sm);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--b2b-muted);
  border-bottom: 1px solid var(--b2b-border);
  padding: 0.75rem 0.75rem;
  text-align: left;
}

.cart-table td {
  padding: 1rem 0.75rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--b2b-border-subtle);
}

.cart-summary-card {
  background: #ffffff;
  border: 1px solid var(--b2b-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--b2b-shadow-sm);
  position: sticky;
  top: 90px;
}

/* Order Detail Layout */
.b2b-order-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.75rem;
  align-items: start;
}

.order-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  padding-left: 0.5rem;
}

.order-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 17px;
  width: 2px;
  background: #e2e8f0;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.timeline-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0f766e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px #f0fdfa;
}


/* ==========================================================================
   E-Commerce Toolbar, View Switcher & Filter Styling
   ========================================================================== */
.b2b-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid var(--b2b-border);
  border-radius: var(--b2b-radius);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--b2b-shadow-sm);
  flex-wrap: wrap;
}

.b2b-view-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 3px;
}

.b2b-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.b2b-view-btn:hover {
  color: #0f172a;
}

.b2b-view-btn.active {
  background: #ffffff;
  color: #0f766e;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.b2b-sort-select {
  padding: 0.45rem 2rem 0.45rem 0.85rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.b2b-sort-select:focus {
  border-color: #0f766e;
}

/* Stock status indicators */
.b2b-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
}

.b2b-stock-badge.in-stock {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.b2b-stock-badge.out-of-stock {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Variant & Size Pills */
.b2b-variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0.5rem 0;
}

.b2b-size-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  font-size: 0.725rem;
  font-weight: 700;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.b2b-size-pill:hover,
.b2b-size-pill.active {
  background: #0f766e;
  border-color: #0f766e;
  color: #ffffff;
}

/* Price Range Filter Form */
.b2b-price-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.b2b-price-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.b2b-price-input-prefix {
  position: absolute;
  left: 8px;
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
}

.b2b-price-input-wrap input {
  padding-left: 20px;
  font-size: 0.85rem;
}

/* ==========================================================================
   List View (Horizontal E-Commerce Catalog Layout)
   ========================================================================== */
.b2b-product-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-list-card {
  background: #ffffff;
  border: 1px solid var(--b2b-border);
  border-radius: var(--b2b-radius);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 140px 1fr 220px;
  gap: 1.5rem;
  align-items: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--b2b-shadow-sm);
}

.product-list-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--b2b-shadow-md);
  border-color: #cbd5e1;
}

.product-list-thumb {
  width: 140px;
  height: 140px;
  background: #f8fafc;
  border-radius: var(--b2b-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--b2b-border-subtle);
}

.product-list-thumb img {
  max-width: 90%;
  max-height: 120px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

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

.product-list-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-list-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--b2b-dark);
  text-decoration: none;
  line-height: 1.35;
  transition: color 0.15s ease;
}

.product-list-title:hover {
  color: #0f766e;
}

.product-list-desc {
  font-size: 0.825rem;
  color: var(--b2b-slate);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-list-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  border-left: 1px solid var(--b2b-border-subtle);
  padding-left: 1.5rem;
  height: 100%;
}

/* ==========================================================================
   Product Detail Rich HTML Container
   ========================================================================== */
.b2b-product-html-content {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #334155;
}

.b2b-product-html-content p {
  margin-top: 0;
  margin-bottom: 0.85rem;
}

.b2b-product-html-content strong,
.b2b-product-html-content b {
  font-weight: 700;
  color: #0f172a;
}

.b2b-product-html-content ul,
.b2b-product-html-content ol {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.b2b-product-html-content li {
  margin-bottom: 0.35rem;
}

.b2b-product-html-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.85rem;
}

.b2b-product-html-content th,
.b2b-product-html-content td {
  border: 1px solid #e2e8f0;
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.b2b-product-html-content th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}

/* ==========================================================================
   Product Detail Tabs & Extended Content Sections
   ========================================================================== */
.b2b-product-tabs-container {
  margin-top: 2rem;
  background: #ffffff;
  border: 1px solid var(--b2b-border);
  border-radius: 16px;
  box-shadow: var(--b2b-shadow-sm);
  overflow: hidden;
}

.b2b-tab-nav {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  background: #f8fafc;
  border-bottom: 1px solid var(--b2b-border);
  padding: 0;
  gap: 0;
}

.b2b-tab-btn {
  flex: 1 1 0;
  min-width: 170px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 1.15rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #64748b;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  border-right: 1px solid var(--b2b-border-subtle);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.b2b-tab-btn:last-child {
  border-right: none;
}

.b2b-tab-btn:hover {
  color: #0f766e;
  background: #f0fdfa;
}

.b2b-tab-btn.active {
  color: #0f766e;
  border-bottom-color: #0f766e;
  background: #ffffff;
  box-shadow: inset 0 2px 0 #0f766e;
}

.b2b-tab-pane {
  display: none;
  padding: 2rem;
  animation: b2bFadeIn 0.25s ease-in-out;
}

.b2b-tab-pane.active {
  display: block;
}

@keyframes b2bFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Technical Specs Table */
.b2b-specs-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.b2b-specs-table tr:nth-child(even) {
  background: #f8fafc;
}

.b2b-specs-table th,
.b2b-specs-table td {
  padding: 0.85rem 1.25rem;
  font-size: 0.875rem;
  border-bottom: 1px solid #e2e8f0;
}

.b2b-specs-table th {
  width: 30%;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
}

.b2b-specs-table td {
  color: #0f172a;
  font-weight: 500;
}

/* Installments Matrix Table */
.b2b-installment-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  font-size: 0.85rem;
}

.b2b-installment-table th {
  background: #0f766e;
  color: #ffffff;
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.b2b-installment-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #f1f5f9;
}

.b2b-installment-table tr:nth-child(even) {
  background: #f8fafc;
}

.b2b-bank-badge {
  font-weight: 700;
  color: #0f172a;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Reviews & Ratings */
.b2b-rating-hero {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  align-items: center;
}

.b2b-rating-score-box {
  text-align: center;
  border-right: 1px solid #e2e8f0;
  padding-right: 1.5rem;
}

.b2b-rating-big-num {
  font-size: 3.25rem;
  font-weight: 900;
  color: #0f766e;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.b2b-stars-row {
  color: #eab308;
  display: flex;
  justify-content: center;
  gap: 3px;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.b2b-rating-bars {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.b2b-rating-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #64748b;
}

.b2b-rating-progress {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.b2b-rating-progress-fill {
  height: 100%;
  background: #eab308;
  border-radius: 9999px;
}

.b2b-review-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: #ffffff;
}

.b2b-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.b2b-reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.b2b-reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ccfbf1;
  color: #0f766e;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Shipping & Support Feature Boxes */
.b2b-shipping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.b2b-shipping-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.b2b-shipping-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  color: #0f766e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .b2b-catalog-layout {
    grid-template-columns: 1fr;
  }

  .b2b-filter-card {
    position: static;
    margin-bottom: 1.5rem;
  }

  .b2b-product-detail-layout {
    grid-template-columns: 1fr;
  }

  .b2b-cart-layout {
    grid-template-columns: 1fr;
  }

  .b2b-order-detail-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary-card {
    position: static;
  }

  .product-list-card {
    grid-template-columns: 120px 1fr;
  }

  .product-list-actions {
    grid-column: span 2;
    border-left: none;
    border-top: 1px solid var(--b2b-border-subtle);
    padding-left: 0;
    padding-top: 1rem;
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .b2b-shop-container {
    padding: 1rem 0.75rem 2.5rem;
  }

  .b2b-shop-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.25rem;
  }

  .b2b-shop-hero h2 {
    font-size: 1.4rem;
  }

  .b2b-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .b2b-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .product-image-container {
    height: 150px;
    padding: 0.5rem;
  }

  .product-image-container img {
    max-height: 120px;
  }

  .product-card-body {
    padding: 0.75rem;
  }

  .product-card-title {
    font-size: 0.85rem;
  }

  .product-sale-price {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .b2b-product-grid {
    grid-template-columns: 1fr;
  }

  .product-image-container {
    height: 180px;
  }
}
