/* ==========================================================================
   RADONE CO. — B2B INDUSTRIAL CATALOG COMPONENT DESIGN SYSTEM
   Scoped exclusively for B2B Catalog Pages (wholesale.html, raw-materials.html,
   pvc-granules.html, building-construction.html, automotive.html, etc.)
   ========================================================================== */

/* Breadcrumb Navigation */
.b2b-breadcrumbs {
  background: #ffffff;
  border-bottom: 1px solid var(--gray-border);
  padding: 12px 24px;
  font-size: 0.82rem;
}

.b2b-breadcrumbs-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--text-muted);
}

.b2b-breadcrumbs-inner a {
  color: #0284c7;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.b2b-breadcrumbs-inner a:hover {
  color: #0369a1;
  text-decoration: underline;
}

.b2b-breadcrumbs-inner .separator {
  color: #cbd5e1;
}

.b2b-breadcrumbs-inner .current {
  color: var(--navy-primary);
  font-weight: 700;
}

/* B2B Catalog Hero */
.b2b-catalog-hero {
  background: radial-gradient(circle at 85% 15%, rgba(22, 132, 91, 0.28) 0%, transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(56, 189, 248, 0.2) 0%, transparent 40%),
              linear-gradient(135deg, #06131f 0%, #0d283c 60%, #10241e 100%);
  color: #ffffff;
  padding: 55px 24px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.b2b-catalog-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.b2b-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #4ade80;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.b2b-hero-title {
  font-size: 2.4rem;
  font-family: var(--font-heading), var(--font-rtl);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  color: #ffffff;
}

.b2b-hero-title-gradient {
  background: linear-gradient(90deg, #4ade80 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.b2b-hero-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.85;
  max-width: 860px;
  margin-bottom: 24px;
}

/* Category Grid — Top 5 Categories */
.b2b-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 45px;
}

@media (max-width: 1024px) {
  .b2b-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Category Card */
.b2b-cat-card {
  background: #ffffff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  color: inherit !important;
  position: relative;
}

.b2b-cat-card:hover {
  transform: translateY(-5px);
  border-color: #0284c7;
  box-shadow: 0 16px 36px rgba(16, 40, 60, 0.12);
}

.b2b-cat-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0f172a;
}

.b2b-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.b2b-cat-card:hover .b2b-cat-media img {
  transform: scale(1.04);
}

.b2b-cat-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(16, 40, 60, 0.88);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.b2b-cat-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.b2b-cat-title {
  color: var(--navy-primary);
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.b2b-cat-desc {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.b2b-cat-subitems {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.7;
}

.b2b-cat-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #0284c7;
  font-weight: 700;
  font-size: 0.85rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  transition: var(--transition);
}

.b2b-cat-card:hover .b2b-cat-cta {
  color: var(--green-primary);
}

.b2b-cat-cta span:last-child {
  transition: transform 0.25s ease;
}

.b2b-cat-card:hover .b2b-cat-cta span:last-child {
  transform: translateX(-4px);
}

/* Supply & RFQ 4-Step Process Section */
.b2b-process-section {
  background: #ffffff;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  padding: 45px 24px;
}

.b2b-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .b2b-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.b2b-process-step {
  background: #f8fafc;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  position: relative;
  text-align: right;
}

.b2b-step-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: #cbd5e1;
  line-height: 1;
  margin-bottom: 10px;
}

.b2b-step-title {
  color: var(--navy-primary);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.b2b-step-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Recycled PVC Granules — Priority Showcase Banner */
.b2b-recycled-hero {
  background: linear-gradient(135deg, #09131d 0%, #112233 60%, #0d2822 100%);
  border: 2px solid #38bdf8;
  border-radius: var(--radius-lg);
  padding: 36px;
  color: #ffffff;
  margin-bottom: 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.b2b-recycled-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 900px) {
  .b2b-recycled-hero-grid {
    grid-template-columns: 1fr;
  }
}

.b2b-recycled-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.b2b-recycled-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.b2b-grade-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 600px) {
  .b2b-grade-compare-grid {
    grid-template-columns: 1fr;
  }
}

.b2b-grade-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 16px;
  backdrop-filter: blur(8px);
}

.b2b-grade-card strong {
  display: block;
  font-size: 0.95rem;
  color: #38bdf8;
  margin-bottom: 6px;
}

.b2b-grade-card p {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
}

/* Technical Specification Table */
.b2b-tds-table-container {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.b2b-tds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  text-align: right;
}

.b2b-tds-table th {
  background: var(--navy-primary);
  color: #ffffff;
  padding: 14px 18px;
  font-weight: 700;
  border-bottom: 2px solid var(--green-primary);
}

.b2b-tds-table td {
  padding: 12px 18px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
}

.b2b-tds-table tr:hover {
  background-color: #f8fafc;
}

.b2b-tds-highlight {
  color: #0369a1;
  font-weight: 700;
}

/* Product Family Card in Subcategory Pages */
.b2b-family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.b2b-family-card {
  background: #ffffff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.b2b-family-card-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.b2b-family-card-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.b2b-family-card-title {
  color: var(--navy-primary);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.b2b-family-card-sku {
  font-size: 0.75rem;
  color: #0369a1;
  font-family: monospace;
  font-weight: 700;
}

.b2b-family-specs {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.8;
  background: #f8fafc;
  padding: 12px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
}

/* Strategic Product Spotlight Banner (Dynamic B2B Rotator) */
.b2b-spotlight-banner {
  background: linear-gradient(135deg, #0d283c 0%, #10241e 100%);
  border-radius: var(--radius-lg);
  padding: 30px 32px 28px;
  color: #ffffff;
  margin-bottom: 36px;
  box-shadow: 0 16px 36px rgba(13, 40, 60, 0.25);
  border: 1px solid rgba(74, 222, 128, 0.25);
  position: relative;
  overflow: hidden;
}

.b2b-spotlight-top-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.b2b-spotlight-counter {
  font-size: 0.76rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  user-select: none;
}

.b2b-spotlight-nav-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.b2b-spotlight-nav-btn:hover {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
  transform: scale(1.1);
}

.b2b-spotlight-shuffle-btn {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #4ade80;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.b2b-spotlight-shuffle-btn:hover {
  background: rgba(74, 222, 128, 0.25);
  border-color: #4ade80;
  transform: translateY(-1px);
}

.b2b-spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.b2b-spotlight-content-wrap {
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1), transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.b2b-spotlight-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.b2b-spotlight-chip {
  font-size: 0.76rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 4px 10px;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  backdrop-filter: blur(4px);
}

.b2b-spotlight-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  aspect-ratio: 4 / 3;
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1), transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  background: #0f172a;
}

.b2b-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.b2b-spotlight-banner:hover .b2b-spotlight-media img {
  transform: scale(1.03);
}

.b2b-spotlight-fading {
  opacity: 0.12;
  transform: translateY(4px);
}

.b2b-spotlight-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  position: relative;
  z-index: 3;
}

.b2b-spotlight-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.b2b-spotlight-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.25);
}

.b2b-spotlight-dot.active {
  width: 28px;
  border-radius: 10px;
  background: #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
}

.b2b-spotlight-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 4;
}

.b2b-spotlight-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #4ade80, #38bdf8);
  transition: width 0.1s linear;
}

@media (max-width: 860px) {
  .b2b-spotlight-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .b2b-spotlight-top-controls {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   SCOPED STYLES: B2B CATALOG CARD #1 — PVC GRANULES & RAW MATERIALS
   ========================================================================== */

/* Mandatory Raw Material Notice Box */
.b2b-raw-disclaimer-box {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-right: 5px solid #16a34a;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.06);
}

.b2b-raw-disclaimer-box .disclaimer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #166534;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.b2b-raw-disclaimer-box .disclaimer-text {
  font-size: 0.98rem;
  color: #14532d;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 6px;
}

.b2b-raw-disclaimer-box .disclaimer-en {
  font-size: 0.82rem;
  color: #3f6212;
  font-style: italic;
  line-height: 1.5;
  margin: 0;
  direction: ltr;
  text-align: left;
}

/* Dual-Image Presentation: Granule Pellets vs End-Product Application */
.b2b-pvc-dual-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

@media (max-width: 680px) {
  .b2b-pvc-dual-media {
    grid-template-columns: 1fr;
  }
}

.b2b-pvc-media-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0f172a;
  border: 1px solid #e2e8f0;
}

.b2b-pvc-media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.b2b-pvc-media-item:hover img {
  transform: scale(1.04);
}

.b2b-pvc-media-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.b2b-pvc-media-tag.tag-granule {
  background: rgba(16, 40, 60, 0.9);
  color: #4ade80;
}

.b2b-pvc-media-tag.tag-app {
  background: rgba(15, 23, 42, 0.88);
  color: #38bdf8;
}

.b2b-pvc-media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: #f1f5f9;
  font-size: 0.72rem;
  padding: 18px 10px 8px;
  line-height: 1.4;
}

/* PVC Family Feature Card */
.b2b-pvc-family-card {
  background: #ffffff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.b2b-pvc-family-card:hover {
  box-shadow: 0 10px 30px rgba(16, 40, 60, 0.08);
}

.b2b-pvc-family-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

/* Technical FAQ Section */
.b2b-pvc-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 860px) {
  .b2b-pvc-faq-grid {
    grid-template-columns: 1fr;
  }
}

.b2b-pvc-faq-item {
  background: #ffffff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.b2b-pvc-faq-item h4 {
  color: var(--navy-primary);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.4;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.b2b-pvc-faq-item h4 span.q-icon {
  background: #e0f2fe;
  color: #0284c7;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.b2b-pvc-faq-item p {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.75;
  margin: 0;
}

/* ==========================================================================
   SMART MULTI-STEP B2B RFQ FORM STYLES
   ========================================================================== */
.b2b-smart-rfq-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--gray-border);
  box-shadow: 0 16px 40px rgba(16, 40, 60, 0.08);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.b2b-rfq-nav-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.b2b-rfq-step-tab {
  background: transparent;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.b2b-rfq-step-tab .step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.b2b-rfq-step-tab.active {
  background: #e0f2fe;
  color: #0369a1;
}

.b2b-rfq-step-tab.active .step-num {
  background: #0284c7;
  color: #ffffff;
}

.b2b-rfq-step-tab.completed {
  color: #166534;
}

.b2b-rfq-step-tab.completed .step-num {
  background: #16a34a;
  color: #ffffff;
}

.b2b-rfq-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

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

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

.b2b-field-section-title {
  color: var(--navy-primary);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.b2b-dynamic-hint {
  font-size: 0.78rem;
  color: #0369a1;
  background: #f0f9ff;
  border-right: 3px solid #0284c7;
  padding: 8px 12px;
  border-radius: 4px;
  margin-top: 6px;
  line-height: 1.6;
}

.b2b-summary-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 24px;
}

.b2b-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.b2b-summary-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 14px;
}

.b2b-summary-label {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 3px;
}

.b2b-summary-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-primary);
}

.b2b-rfq-btn-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .b2b-smart-rfq-container {
    padding: 22px 16px;
  }
  .b2b-rfq-nav-steps {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  .b2b-rfq-step-tab {
    font-size: 0.82rem;
    padding: 8px 12px;
  }
  .b2b-rfq-btn-group {
    flex-direction: column;
    width: 100%;
  }
  .b2b-rfq-btn-group button {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   SELECTABLE OPTION CARDS & CHIPS (انتخاب گزینه‌ای در فرم هوشمند)
   ========================================================================== */
.b2b-field-label {
  display: block;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy-primary);
  margin-bottom: 10px;
}

/* 1. Family Cards Grid */
.b2b-family-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 12px;
}

@media (max-width: 860px) {
  .b2b-family-cards-grid {
    grid-template-columns: 1fr;
  }
}

.b2b-family-card-opt {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 6px rgba(16, 40, 60, 0.03);
  position: relative;
}

.b2b-family-card-opt:hover {
  border-color: #0284c7;
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.12);
}

.b2b-family-card-opt.active {
  border-color: #0284c7;
  background: #f0f9ff;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.18);
}

/* Radio circles handled comprehensively in Section 1 (Line 1504+) */

.b2b-family-card-opt .opt-title {
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--navy-primary);
  margin-bottom: 4px;
}

.b2b-family-card-opt.active .opt-title {
  color: #0369a1;
}

.b2b-family-card-opt .opt-desc {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.5;
}

/* 2. Subtype, Grade, Quality & Color Chips Grid */
.b2b-opt-chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 6px;
}

.b2b-opt-chip {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  user-select: none;
  box-shadow: 0 1px 3px rgba(16, 40, 60, 0.04);
}

.b2b-opt-chip:hover {
  border-color: #0284c7;
  background: #f8fafc;
  color: #0284c7;
  transform: translateY(-1px);
}

.b2b-opt-chip.active {
  border-color: #0284c7;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.15);
}

.b2b-grade-chip-detailed {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(16, 40, 60, 0.03);
  user-select: none;
}

.b2b-grade-chip-detailed:hover {
  border-color: #0284c7;
  background: #f8fafc;
  transform: translateY(-1px);
}

.b2b-grade-chip-detailed.active {
  border-color: #0284c7 !important;
  background: #f0f9ff !important;
  border-right: 4px solid #0284c7 !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15) !important;
}

.b2b-grade-chip-detailed .grade-chip-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.b2b-grade-chip-detailed .grade-chip-head strong {
  font-size: 0.92rem;
  color: var(--navy-primary);
}

.b2b-grade-chip-detailed.active .grade-chip-head strong {
  color: #0369a1;
}

.b2b-grade-chip-detailed .grade-chip-desc {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.45;
}

/* Color dot indicator */
.b2b-color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ==========================================================================
   DEDICATED GRANULE PAGES (SOFT PVC, RIGID PVC, TPE)
   ========================================================================== */
.b2b-dedicated-hero {
  background: linear-gradient(135deg, #0f273d 0%, #173854 100%);
  color: #ffffff;
  padding: 48px 0 42px;
  border-bottom: 3px solid #0284c7;
  position: relative;
  overflow: hidden;
}

.b2b-dedicated-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.b2b-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.b2b-breadcrumb a {
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.2s;
}

.b2b-breadcrumb a:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.b2b-breadcrumb .sep {
  color: #64748b;
}

/* Dedicated Hero Split Grid (Title & CTA on right, Key Specs Card on left in RTL) */
.b2b-dedicated-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 1024px) {
  .b2b-dedicated-hero-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 860px) {
  .b2b-dedicated-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Hero Spec Card 4-item Grid */
.b2b-hero-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 0.88rem;
}

@media (max-width: 480px) {
  .b2b-hero-spec-grid {
    gap: 8px;
    font-size: 0.82rem;
  }
  .b2b-hero-spec-grid > div {
    padding: 8px !important;
  }
}

/* Two-column Split Grid for Family Cards in Main Catalog */
.b2b-family-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 960px) {
  .b2b-family-split-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Subcategories 3-Card Grid */
.b2b-subcat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 20px;
}

@media (max-width: 1100px) {
  .b2b-subcat-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .b2b-subcat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Landing Page Direct Navigation Cards Grid in Hero */
.b2b-landing-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 14px;
  margin-top: 22px;
}

@media (max-width: 640px) {
  .b2b-landing-nav-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Target Industries Grid (4 Industries) */
.b2b-industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 1180px) {
  .b2b-industry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .b2b-industry-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.b2b-industry-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(16, 40, 60, 0.05);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.b2b-industry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(16, 40, 60, 0.1);
  border-color: #0284c7;
}

/* Industry Card Images — Laptop & Mobile Aspect Ratio */
.b2b-industry-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto !important;
  max-height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.b2b-industry-card:hover img {
  transform: scale(1.03);
}

@media (max-width: 640px) {
  .b2b-industry-card img {
    aspect-ratio: 16 / 9;
    max-height: 190px;
  }
}

.b2b-industry-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 640px) {
  .b2b-industry-card-body {
    padding: 16px;
  }
}

.b2b-industry-card h4 {
  color: var(--navy-primary);
  font-size: clamp(0.98rem, 1vw + 0.35rem, 1.15rem);
  font-weight: 800;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

/* Processing Temperature Zones Card */
.b2b-processing-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 22px;
  margin-top: 20px;
}

@media (max-width: 640px) {
  .b2b-processing-card {
    padding: 16px;
  }
}

.b2b-processing-zones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

@media (max-width: 640px) {
  .b2b-processing-zones {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.b2b-zone-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px 14px;
  text-align: center;
  border-top: 3px solid #0284c7;
}

@media (max-width: 640px) {
  .b2b-zone-box {
    padding: 10px 8px;
  }
}

.b2b-zone-name {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 4px;
}

.b2b-zone-temp {
  font-size: clamp(0.95rem, 1.2vw + 0.4rem, 1.12rem);
  font-weight: 800;
  color: var(--navy-primary);
}

/* ==========================================================================
   LAPTOP & MOBILE RESPONSIVE POLISH SUITE (FONTO & IMAGE SIZING)
   ========================================================================== */

/* 1. Fluid Typography Scaling Across Devices */
.b2b-hero-title,
.b2b-dedicated-hero h1 {
  font-size: clamp(1.42rem, 2.4vw + 0.5rem, 2.25rem) !important;
  line-height: 1.35 !important;
  word-break: normal;
  overflow-wrap: break-word;
}

.b2b-hero-desc,
.b2b-dedicated-hero p {
  font-size: clamp(0.88rem, 0.75vw + 0.5rem, 1.02rem) !important;
  line-height: 1.8 !important;
}

.b2b-dedicated-hero h2,
.b2b-pvc-family-header h2 {
  font-size: clamp(1.2rem, 1.6vw + 0.4rem, 1.65rem) !important;
  line-height: 1.4 !important;
}

/* 2. Dual Media Pellet vs Application Image Tuning */
.b2b-pvc-media-item {
  aspect-ratio: 16 / 11;
  max-height: 250px;
}

@media (max-width: 1024px) {
  .b2b-pvc-media-item {
    aspect-ratio: 16 / 11;
    max-height: 230px;
  }
}

@media (max-width: 768px) {
  .b2b-pvc-dual-media {
    gap: 10px;
  }
  .b2b-pvc-media-item {
    aspect-ratio: 16 / 10;
    max-height: 210px;
  }
  .b2b-pvc-media-tag {
    font-size: 0.68rem;
    padding: 3px 8px;
    top: 8px;
    right: 8px;
  }
  .b2b-pvc-media-caption {
    font-size: 0.7rem;
    padding: 12px 8px 6px;
  }
}

@media (max-width: 520px) {
  .b2b-pvc-dual-media {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .b2b-pvc-media-item {
    aspect-ratio: 16 / 9;
    max-height: 220px;
  }
}

/* 3. Table Mobile Swipe Hint & Scroll Optimization */
.b2b-tds-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.b2b-tds-table {
  min-width: 600px;
}

@media (max-width: 768px) {
  .b2b-tds-table {
    font-size: 0.8rem;
  }
  .b2b-tds-table th,
  .b2b-tds-table td {
    padding: 10px 12px;
    white-space: nowrap;
  }
}

/* 4. RFQ Form Chips & Option Cards Tuning */
@media (max-width: 640px) {
  .b2b-family-card-opt {
    padding: 14px 14px;
    gap: 10px;
  }
  .b2b-family-card-opt .opt-title {
    font-size: 0.95rem;
  }
  .b2b-family-card-opt .opt-desc {
    font-size: 0.76rem;
  }
  .b2b-opt-chips-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
  }
  .b2b-opt-chip {
    padding: 10px 10px;
    font-size: 0.8rem;
    min-height: 44px;
  }
  .b2b-raw-disclaimer-box {
    padding: 16px 16px;
  }
  .b2b-raw-disclaimer-box .disclaimer-text {
    font-size: 0.88rem;
  }
  .b2b-raw-disclaimer-box .disclaimer-en {
    font-size: 0.75rem;
  }
  .b2b-pvc-family-card {
    padding: 18px 16px;
  }
}

/* 5. General Container & Section Sizing for Laptop & Mobile */
@media (max-width: 1024px) {
  .section {
    padding: 50px 20px !important;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 36px 16px !important;
  }
  .section-header {
    margin-bottom: 24px !important;
  }
  .section-title {
    font-size: clamp(1.35rem, 2.5vw + 0.6rem, 1.8rem) !important;
    line-height: 1.35 !important;
  }
  .section-subtitle {
    font-size: 0.9rem !important;
  }
  .b2b-catalog-hero {
    padding: 36px 16px !important;
  }
  .b2b-dedicated-hero {
    padding: 34px 0 28px !important;
  }
  .btn-lg {
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Quick Jump Filter Pills & Touch Links on Mobile */
@media (max-width: 640px) {
  .btn.btn-sm {
    font-size: 0.78rem !important;
    padding: 7px 12px !important;
  }
  .b2b-breadcrumb {
    font-size: 0.75rem !important;
    gap: 6px !important;
    margin-bottom: 14px !important;
  }
}

/* ==========================================================================
   COMPACT & STREAMLINED B2B RFQ COMPONENT STYLES (v3.5)
   Thumbnail Hints, Solid Filled Radios, and High-Contrast Industrial Layout
   ========================================================================== */

/* --- 1. SOLID FILLED RADIO CIRCLE (دایره انتخاب توپر کاملاً واضح: توپر آبی در انتخاب، توخالی سفید در عدم انتخاب) --- */
.b2b-opt-radio-circle {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  border-radius: 50% !important;
  border: 2px solid #94a3b8 !important;
  background: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  position: relative !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Unselected state: completely empty / hollow white circle */
.b2b-opt-radio-circle::after {
  content: '' !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  display: block !important;
  opacity: 0 !important;
  transform: scale(0) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Hover state on unselected options */
.b2b-mat-card-opt:not(.active):hover .b2b-opt-radio-circle,
.b2b-product-opt-card:not(.active):hover .b2b-opt-radio-circle,
.b2b-proc-opt-card:not(.active):hover .b2b-opt-radio-circle,
.b2b-pkg-opt-card:not(.active):hover .b2b-opt-radio-circle,
.b2b-delivery-opt-card:not(.active):hover .b2b-opt-radio-circle,
.b2b-grade-chip-detailed:not(.active):hover .b2b-opt-radio-circle,
.b2b-opt-chip:not(.active):hover .b2b-opt-radio-circle,
.b2b-vol-pill:not(.active):hover .b2b-opt-radio-circle,
.b2b-channel-pill:not(.active):hover .b2b-opt-radio-circle,
.b2b-path-toggle-btn:not(.active):hover .b2b-opt-radio-circle,
.b2b-family-card-opt:not(.active):hover .b2b-opt-radio-circle {
  border-color: #0284c7 !important;
  background: #f0f9ff !important;
}

/* Universal solid filled blue circle with inner white dot ONLY when specific option is active */
.b2b-mat-card-opt.active .b2b-opt-radio-circle,
.b2b-product-opt-card.active .b2b-opt-radio-circle,
.b2b-proc-opt-card.active .b2b-opt-radio-circle,
.b2b-pkg-opt-card.active .b2b-opt-radio-circle,
.b2b-delivery-opt-card.active .b2b-opt-radio-circle,
.b2b-grade-chip-detailed.active .b2b-opt-radio-circle,
.b2b-opt-chip.active .b2b-opt-radio-circle,
.b2b-vol-pill.active .b2b-opt-radio-circle,
.b2b-channel-pill.active .b2b-opt-radio-circle,
.b2b-path-toggle-btn.active .b2b-opt-radio-circle,
.b2b-family-card-opt.active .b2b-opt-radio-circle {
  border-color: #0284c7 !important;
  background: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.28) !important;
}

.b2b-mat-card-opt.active .b2b-opt-radio-circle::after,
.b2b-product-opt-card.active .b2b-opt-radio-circle::after,
.b2b-proc-opt-card.active .b2b-opt-radio-circle::after,
.b2b-pkg-opt-card.active .b2b-opt-radio-circle::after,
.b2b-delivery-opt-card.active .b2b-opt-radio-circle::after,
.b2b-grade-chip-detailed.active .b2b-opt-radio-circle::after,
.b2b-opt-chip.active .b2b-opt-radio-circle::after,
.b2b-vol-pill.active .b2b-opt-radio-circle::after,
.b2b-channel-pill.active .b2b-opt-radio-circle::after,
.b2b-path-toggle-btn.active .b2b-opt-radio-circle::after,
.b2b-family-card-opt.active .b2b-opt-radio-circle::after {
  opacity: 1 !important;
  transform: scale(1) !important;
  background: #ffffff !important;
}

/* --- 2. STEP 1: COMPACT MATERIAL CARDS (کارت‌های متناسب و استاندارد متریال) --- */
.b2b-mat-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  .b2b-mat-cards-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.b2b-mat-card-opt {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 4px rgba(16, 40, 60, 0.03);
  position: relative;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.b2b-mat-card-opt:hover {
  border-color: #0284c7;
  background: #f8fafc;
  transform: translateY(-1px);
}

.b2b-mat-card-opt.active {
  border-color: #0284c7;
  background: #f0f9ff;
  border-right: 4px solid #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15);
}

.b2b-mat-card-media {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: #0f172a !important;
  position: relative !important;
}

.b2b-mat-card-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.b2b-mat-card-body {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.b2b-mat-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}

.b2b-mat-title {
  color: var(--navy-primary);
  font-size: 0.88rem !important;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
}

.b2b-mat-card-opt.active .b2b-mat-title {
  color: #0369a1;
}

.b2b-mat-badge {
  font-size: 0.65rem !important;
  font-weight: 700;
  background: #e2e8f0;
  color: #475569;
  padding: 1px 5px;
  border-radius: 4px;
  direction: ltr;
  white-space: nowrap;
}

.b2b-mat-hardness-tag {
  font-size: 0.68rem !important;
  color: #0284c7;
  font-weight: 700;
  white-space: nowrap;
}

.b2b-mat-short-desc {
  font-size: 0.72rem !important;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

/* --- 3. STEP 2: PROMINENT PATH A / PATH B SWITCHER (دو مسیر کاملاً متمایز و روشن) --- */
.b2b-path-toggle-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

@media (max-width: 680px) {
  .b2b-path-toggle-container {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.b2b-path-toggle-btn {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: right;
  transition: all 0.22s ease;
  font-family: inherit;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  box-shadow: 0 1px 4px rgba(16, 40, 60, 0.04);
}

.b2b-path-toggle-btn:hover {
  border-color: #0284c7;
  background: #f8fafc;
}

.b2b-path-toggle-btn.active {
  border-color: #0284c7;
  background: #f0f9ff;
  border-right: 4px solid #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.16);
}

.b2b-path-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #e2e8f0;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.b2b-path-toggle-btn.active .b2b-path-icon-box {
  background: #0284c7;
  color: #ffffff;
}

.b2b-path-text-head {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy-primary);
  margin-bottom: 2px;
}

.b2b-path-toggle-btn.active .b2b-path-text-head {
  color: #0369a1;
}

.b2b-path-badge-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  background: #dbeafe;
  color: #1d4ed8;
  padding: 1px 6px;
  border-radius: 4px;
  margin-bottom: 2px;
}

.b2b-path-text-sub {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.4;
}

/* --- 4. STEP 2 PATH A: COMPACT PRODUCT CARDS (کارت‌های محصول فشرده با اندازه متناسب) --- */
.b2b-product-opt-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
  gap: 10px !important;
  margin-bottom: 18px !important;
}

@media (max-width: 600px) {
  .b2b-product-opt-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}

.b2b-product-opt-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px !important;
  padding: 8px 10px !important;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px !important;
  box-shadow: 0 1px 3px rgba(16, 40, 60, 0.03);
}

.b2b-product-opt-card:hover {
  border-color: #0284c7;
  background: #f8fafc;
  transform: translateY(-1px);
}

.b2b-product-opt-card.active {
  border-color: #0284c7;
  background: #f0f9ff;
  border-right: 4px solid #0284c7;
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.15);
}

.b2b-product-opt-card.incompatible {
  opacity: 0.6;
  background: #fffbeb;
  border-color: #fde68a;
}

.b2b-product-opt-media {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: #0f172a !important;
}

.b2b-product-opt-media img {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: cover !important;
  display: block !important;
}

.b2b-product-opt-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.b2b-product-title {
  color: var(--navy-primary);
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  margin: 0;
  line-height: 1.35;
}

.b2b-product-opt-card.active .b2b-product-title {
  color: #0369a1;
}

.b2b-product-sugg-pill {
  font-size: 0.68rem !important;
  color: #166534;
  background: #dcfce7;
  display: inline-block;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 700;
  width: fit-content;
}

.b2b-product-desc {
  font-size: 0.72rem !important;
  color: #64748b;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- 5. MANUFACTURING PROCESS CARDS (فشرده و استاندارد) --- */
.b2b-proc-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

@media (max-width: 860px) {
  .b2b-proc-cards-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.b2b-proc-opt-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 10px !important;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px !important;
}

.b2b-proc-opt-card:hover {
  border-color: #0284c7;
  background: #f8fafc;
}

.b2b-proc-opt-card.active {
  border-color: #0284c7;
  background: #f0f9ff;
  border-right: 4px solid #0284c7;
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.14);
}

.b2b-proc-media {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: #0f172a !important;
}

.b2b-proc-media img {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  object-fit: cover !important;
  display: block !important;
}

.b2b-proc-body {
  flex: 1;
  min-width: 0;
}

.b2b-proc-title {
  font-size: 0.84rem !important;
  font-weight: 800;
  color: var(--navy-primary);
  margin: 0 0 2px;
}

.b2b-proc-opt-card.active .b2b-proc-title {
  color: #0369a1;
}

.b2b-proc-desc {
  font-size: 0.72rem !important;
  color: #64748b;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- 6. STEP 3: ORDER VOLUME SELECTION PILLS (چیپ‌های سریع تناژ صنعتی) --- */
.b2b-vol-pills-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
}

.b2b-vol-pill {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 20px !important;
  padding: 6px 14px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  user-select: none !important;
}

.b2b-vol-pill:hover {
  border-color: #0284c7 !important;
  background: #f8fafc !important;
}

.b2b-vol-pill.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25) !important;
}

.b2b-vol-pill.active .b2b-opt-radio-circle {
  border-color: #ffffff !important;
  background: #ffffff !important;
}

.b2b-vol-pill.active .b2b-opt-radio-circle::after {
  opacity: 1 !important;
  transform: scale(1) !important;
  background: #0284c7 !important;
}

.b2b-vol-explanation-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: #0369a1;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Custom Quantity & Unit Group */
.b2b-custom-qty-wrapper {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  transition: all 0.2s ease;
}

.b2b-custom-qty-wrapper:focus-within {
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.b2b-custom-qty-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.b2b-custom-qty-fields {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 360px;
}

.b2b-qty-numeric-input {
  flex: 1;
  min-width: 100px;
  border: 1.5px solid #94a3b8;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0369a1;
  text-align: center;
  direction: ltr;
  background: #ffffff;
  outline: none;
  transition: all 0.2s ease;
}

.b2b-qty-numeric-input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.b2b-qty-unit-select {
  border: 1.5px solid #94a3b8;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  background: #ffffff;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.b2b-qty-unit-select:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

/* Destination & Customs Section */
.b2b-destination-card {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.b2b-quick-port-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 8px 10px;
  transition: all 0.2s ease;
}

.b2b-quick-port-tag {
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.b2b-quick-port-tag:hover {
  background: #e0f2fe;
  color: #0284c7;
  border-color: #38bdf8;
  transform: translateY(-1px);
}

.b2b-quick-port-tag.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

/* Official Channel SVGs */
.b2b-channel-svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
}

/* Wide Rectangular Textarea */
.b2b-contact-box textarea.form-control,
#rfqNotesInput {
  width: 100% !important;
  min-height: 95px !important;
  box-sizing: border-box !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  font-size: 0.88rem !important;
  font-family: inherit !important;
  line-height: 1.6 !important;
  resize: vertical !important;
  background: #f8fafc !important;
  transition: all 0.2s ease !important;
}

.b2b-contact-box textarea.form-control:focus,
#rfqNotesInput:focus {
  background: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3.5px rgba(2, 132, 199, 0.18) !important;
  outline: none !important;
}

/* --- 7. STEP 3: PACKAGING & DELIVERY COMPACT CARDS (کارت‌های بسته‌بندی با تامبنیل) --- */
.b2b-pkg-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
  gap: 10px !important;
  margin-bottom: 18px !important;
}

.b2b-pkg-opt-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 10px !important;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px !important;
}

.b2b-pkg-opt-card:hover {
  border-color: #0284c7;
  background: #f8fafc;
}

.b2b-pkg-opt-card.active {
  border-color: #0284c7;
  background: #f0f9ff;
  border-right: 4px solid #0284c7;
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.14);
}

.b2b-pkg-media {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: #0f172a !important;
}

.b2b-pkg-media img {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: cover !important;
  display: block !important;
}

.b2b-pkg-body {
  flex: 1;
  min-width: 0;
}

.b2b-pkg-title {
  font-size: 0.84rem !important;
  font-weight: 800;
  color: var(--navy-primary);
  margin: 0 0 2px;
}

.b2b-pkg-opt-card.active .b2b-pkg-title {
  color: #0369a1;
}

.b2b-pkg-desc {
  font-size: 0.72rem !important;
  color: #64748b;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Delivery Cards */
.b2b-delivery-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 8px !important;
  margin-bottom: 18px !important;
}

.b2b-delivery-opt-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 10px !important;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px !important;
}

.b2b-delivery-opt-card:hover {
  border-color: #0284c7;
  background: #f8fafc;
}

.b2b-delivery-opt-card.active {
  border-color: #0284c7;
  background: #f0f9ff;
  border-right: 4px solid #0284c7;
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.14);
}

.b2b-delivery-body {
  flex: 1;
  min-width: 0;
}

.b2b-delivery-title {
  font-size: 0.84rem !important;
  font-weight: 800;
  color: var(--navy-primary);
  margin: 0 0 2px;
}

.b2b-delivery-opt-card.active .b2b-delivery-title {
  color: #0369a1;
}

.b2b-delivery-desc {
  font-size: 0.72rem !important;
  color: #64748b;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- 8. STEP 4: VIBRANT CONTACT FORM & CHANNEL SELECTOR (فرم شاداب و کادر جذاب مخاطب) --- */
.b2b-contact-box {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(16, 40, 60, 0.05);
}

.b2b-contact-box .b2b-field-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 6px;
}

.b2b-required-star {
  color: #ef4444;
  font-weight: 900;
  margin-right: 3px;
}

.b2b-contact-box .form-control {
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.b2b-contact-box .form-control:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3.5px rgba(2, 132, 199, 0.18);
  outline: none;
}

/* Interactive Channel Selector Pills */
.b2b-channel-pills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 6px;
}

@media (max-width: 860px) {
  .b2b-channel-pills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .b2b-channel-pills-grid {
    grid-template-columns: 1fr;
  }
}

.b2b-channel-pill {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.b2b-channel-pill:hover {
  border-color: #0284c7;
  background: #ffffff;
}

.b2b-channel-pill.active {
  border-color: #0284c7;
  background: #f0f9ff;
  border-right: 3px solid #0284c7;
}

.b2b-channel-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.b2b-channel-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
}

.b2b-channel-pill.active .b2b-channel-name {
  color: #0369a1;
}

/* Real-Time Contact Validation Badge */
.b2b-validation-status-box {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.b2b-validation-status-box.pending {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
}

.b2b-validation-status-box.ready {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
}

/* Success Modal Overlay */
.b2b-rfq-modal-overlay {
  display: none;
  background: #f0fdf4;
  border: 2px solid #22c55e;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  margin-top: 24px;
  box-shadow: 0 16px 36px rgba(34, 197, 94, 0.15);
  animation: fadeIn 0.4s ease;
}

.b2b-rfq-modal-body {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.rfq-tracking-badge {
  display: inline-block;
  background: #ffffff;
  border: 2px dashed #16a34a;
  color: #15803d;
  font-family: monospace;
  font-size: 1.35rem;
  font-weight: 800;
  padding: 8px 24px;
  border-radius: 8px;
  margin: 16px 0;
  letter-spacing: 2px;
}

/* ==============================================================
   GLOBAL LAYOUT FIX & CONTAINER NORMALIZATION
   ============================================================== */
.container,
.b2b-content-container {
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

/* ==============================================================
   COMPACT & ELEGANT WAYFINDING / CONTEXT STRIP
   ============================================================== */
.b2b-wayfinding-strip {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 0;
  font-size: 0.82rem;
}

.b2b-wayfinding-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  box-sizing: border-box;
}

.b2b-back-step-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.b2b-back-step-btn:hover {
  background: #f1f5f9;
  border-color: #0284c7;
  color: #0284c7;
}

.b2b-breadcrumb-path {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.b2b-breadcrumb-path a {
  color: #64748b;
  text-decoration: none;
}

.b2b-breadcrumb-path a:hover {
  color: #0284c7;
}

.b2b-breadcrumb-path .sep {
  color: #cbd5e1;
  font-size: 0.72rem;
}

.b2b-breadcrumb-path .current-stage {
  color: #0369a1;
  font-weight: 700;
}

.b2b-stage-badge-hint {
  font-size: 0.74rem;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: 4px;
}

/* ==============================================================
   LIGHT INDUSTRIAL POLYMER HUB HEADER
   ============================================================== */
.b2b-hub-header-area {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 24px 0 20px;
}

.b2b-hub-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.b2b-hub-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.b2b-hub-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0f2fe;
  color: #0369a1;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 700;
}

.b2b-hub-hs-code {
  font-family: monospace;
  font-size: 0.74rem;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.b2b-hub-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy-primary, #10283C);
  line-height: 1.35;
  margin: 6px 0 10px;
}

.b2b-hub-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.75;
  margin: 0 0 16px;
  max-width: 980px;
}

.b2b-hub-kpis-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.b2b-hub-kpi-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  color: #334155;
  font-weight: 600;
}

/* ==============================================================
   QUICK-JUMP IN-PAGE NAVIGATION DOCK
   ============================================================== */
.b2b-quickdock-container {
  max-width: 1200px;
  margin: 18px auto 20px;
  padding: 0 20px;
  box-sizing: border-box;
}

.b2b-quickdock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.b2b-quickdock-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8fafc;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.b2b-quickdock-btn:hover {
  background: #e0f2fe;
  border-color: #38bdf8;
  color: #0369a1;
}

.b2b-quickdock-btn.btn-rfq {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
  font-weight: 700;
  margin-right: auto;
}

.b2b-quickdock-btn.btn-rfq:hover {
  background: #15803d;
  color: #ffffff;
}

/* ==============================================================
   3 BALANCED MASTER PORTAL CARDS (اندازه استاندارد و متناسب)
   ============================================================== */
.b2b-portals-container {
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 0 20px;
  box-sizing: border-box;
}

.b2b-portals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 860px) {
  .b2b-portals-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.b2b-portal-card-v2 {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.b2b-portal-card-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.b2b-portal-card-v2.card-soft {
  border-top: 4px solid #16a34a;
}
.b2b-portal-card-v2.card-rigid {
  border-top: 4px solid #0284c7;
}
.b2b-portal-card-v2.card-tpe {
  border-top: 4px solid #ea580c;
}

.b2b-portal-media-v2 {
  height: 105px !important;
  max-height: 105px !important;
  position: relative !important;
  overflow: hidden !important;
  background: #f1f5f9 !important;
}

.b2b-portal-media-v2 img {
  width: 100% !important;
  height: 105px !important;
  max-height: 105px !important;
  object-fit: cover !important;
  display: block !important;
}

.b2b-portal-badge-v2 {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
}

.b2b-portal-badge-v2.soft { background: #16a34a; }
.b2b-portal-badge-v2.rigid { background: #0284c7; }
.b2b-portal-badge-v2.tpe { background: #ea580c; }

.b2b-portal-hardness-v2 {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  direction: ltr;
}

.b2b-portal-body-v2 {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.b2b-portal-title-v2 {
  font-size: 1.02rem;
  font-weight: 800;
  color: #10283C;
  margin: 0 0 2px;
  line-height: 1.35;
}

.b2b-portal-en-v2 {
  font-size: 0.72rem;
  color: #64748b;
  font-family: monospace;
  margin-bottom: 8px;
  display: block;
}

.b2b-portal-list-v2 {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.6;
  border-top: 1px dashed #e2e8f0;
  padding-top: 8px;
}

.b2b-portal-list-v2 li {
  margin-bottom: 4px;
}

.b2b-portal-list-v2 strong {
  color: #1e293b;
}

.b2b-portal-actions-v2 {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.b2b-btn-portal-primary-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #10283C;
  color: #ffffff;
  padding: 7px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.15s ease;
}

.b2b-btn-portal-primary-v2:hover {
  background: #0284c7;
  color: #ffffff;
}

.b2b-btn-portal-secondary-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 5px 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.74rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.b2b-btn-portal-secondary-v2:hover {
  background: #f1f5f9;
  color: #1e293b;
}

/* ==============================================================
   BALANCED RAW MATERIALS COMPLIANCE NOTICE (سایز متناسب و شکیل)
   ============================================================== */
.b2b-disclaimer-container {
  max-width: 1200px;
  margin: 0 auto 28px;
  padding: 0 20px;
  box-sizing: border-box;
}

.b2b-raw-disclaimer-box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-right: 4px solid #0284c7 !important;
  border-radius: 8px !important;
  padding: 12px 18px !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03) !important;
  color: #334155 !important;
}

.b2b-raw-disclaimer-box .disclaimer-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #e0f2fe !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
}

.b2b-raw-disclaimer-box .disclaimer-text {
  font-size: 0.86rem !important;
  color: #1e293b !important;
  font-weight: 600 !important;
  line-height: 1.65 !important;
  margin: 0 0 6px !important;
}

.b2b-raw-disclaimer-box .disclaimer-en {
  font-size: 0.74rem !important;
  color: #64748b !important;
  font-style: normal !important;
  font-family: monospace !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  direction: ltr !important;
  text-align: left !important;
  border-top: 1px dashed #e2e8f0 !important;
  padding-top: 6px !important;
}

/* ==============================================================
   SAFETY ALIASES FOR COMPLETE LAYOUT COMPATIBILITY
   ============================================================== */
.b2b-master-portals-section {
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 0 20px;
  box-sizing: border-box;
}

.b2b-master-portals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 860px) {
  .b2b-master-portals-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.b2b-master-portal-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.b2b-master-portal-card.card-soft { border-top: 4px solid #16a34a; }
.b2b-master-portal-card.card-rigid { border-top: 4px solid #0284c7; }
.b2b-master-portal-card.card-tpe { border-top: 4px solid #ea580c; }

.b2b-portal-media {
  height: 105px !important;
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}

.b2b-portal-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.b2b-polymer-hub-hero {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 24px 0 20px !important;
  color: #10283C !important;
}

.b2b-hero-inner-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   OFFICIAL B2B TECHNICAL DATA SHEET (TDS) GRADE CARDS & TABLES
   Integrated 6 Tested Soft PVC Formulations (B10, B02, B15, B06, B29, A06)
   ========================================================================== */
.b2b-grades-tds-wrapper {
  margin-bottom: 50px;
}

.b2b-grades-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  background: #f1f5f9;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.b2b-grade-filter-btn {
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: #334155;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.b2b-grade-filter-btn:hover {
  background: #10283c;
  color: #ffffff;
  border-color: #10283c;
}

.b2b-grade-filter-btn.active {
  background: #10283c;
  color: #ffffff;
  border-color: #10283c;
  box-shadow: 0 2px 6px rgba(16, 40, 60, 0.25);
}

.b2b-grade-tds-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.b2b-grade-tds-card:hover {
  border-color: #94a3b8;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.b2b-grade-tds-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #10283c, #0284c7, #16a34a);
}

.b2b-grade-tds-card.card-export::before {
  background: linear-gradient(90deg, #f59e0b, #10283c, #3b82f6);
}

.b2b-grade-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.b2b-grade-title-group {
  flex: 1;
  min-width: 260px;
}

.b2b-grade-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.b2b-grade-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-code { background: #10283c; color: #ffffff; }
.badge-std { background: #e0f2fe; color: #0369a1; }
.badge-export { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.badge-app { background: #dcfce7; color: #166534; }

.b2b-grade-title {
  color: #10283c;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.b2b-grade-subtitle {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.b2b-grade-thumb-box {
  width: 120px;
  height: 85px;
  border-radius: 8px;
  overflow: visible;
  position: relative;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  flex-shrink: 0;
  background: #f8fafc;
  cursor: crosshair;
}

.b2b-grade-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 7px;
}

.tds-magnifier-container {
  position: relative;
  user-select: none;
}

.tds-magnifier-lens {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2.5px solid #0284c7;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 0 12px rgba(255, 255, 255, 0.45);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 1000;
  background-repeat: no-repeat;
  background-color: #ffffff;
}

.tds-magnifier-lens::before,
.tds-magnifier-lens::after {
  content: '';
  position: absolute;
  pointer-events: none;
  opacity: 0.35;
}

.tds-magnifier-lens::before {
  top: 50%;
  left: 20%;
  right: 20%;
  height: 1px;
  background: #0284c7;
  transform: translateY(-50%);
}

.tds-magnifier-lens::after {
  left: 50%;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: #0284c7;
  transform: translateX(-50%);
}

.tds-magnifier-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(16, 40, 60, 0.88);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  gap: 3px;
}

.tds-magnifier-container:hover .tds-magnifier-badge {
  opacity: 0;
}

/* Quick Metrics Strip */
.b2b-grade-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.b2b-metric-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 10px;
  text-align: center;
}

.b2b-metric-label {
  font-size: 0.7rem;
  color: #64748b;
  margin-bottom: 2px;
  font-weight: 600;
}

.b2b-metric-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #10283c;
}

/* Dedicated TDS Table Box Under Each Card */
.b2b-grade-tds-box {
  background: #ffffff;
  border: 1.5px solid #0f172a;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.b2b-tds-box-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #cbd5e1;
}

.b2b-tds-box-heading {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.b2b-tds-table-responsive {
  overflow-x: auto;
  margin-bottom: 14px;
}

table.b2b-tds-sheet-table {
  width: 100%;
  border-collapse: collapse;
  border: 1.5px solid #000000;
  font-size: 0.8rem;
  background: #ffffff;
}

table.b2b-tds-sheet-table th,
table.b2b-tds-sheet-table td {
  border: 1px solid #000000;
  padding: 6px 10px;
  color: #000000;
  line-height: 1.35;
}

table.b2b-tds-sheet-table th {
  background: #f1f5f9;
  font-weight: 700;
  text-align: center;
}

/* Temperatures Split Grid */
.b2b-tds-temp-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.b2b-tds-temp-card {
  border: 1px solid #000000;
  padding: 10px;
  background: #ffffff;
  border-radius: 4px;
}

.b2b-tds-temp-card h5 {
  font-size: 0.82rem;
  font-weight: 800;
  color: #000000;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Card Action Buttons */
.b2b-grade-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.b2b-btn-tds-doc {
  background: #ffffff;
  color: #10283c;
  border: 1.5px solid #10283c;
  padding: 9px 18px;
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.b2b-btn-tds-doc:hover {
  background: #10283c;
  color: #ffffff;
}

.b2b-btn-tds-quote {
  background: #16a34a;
  color: #ffffff;
  border: 1.5px solid #16a34a;
  padding: 9px 18px;
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.b2b-btn-tds-quote:hover {
  background: #15803d;
  border-color: #15803d;
}

@media (max-width: 640px) {
  .b2b-grade-tds-card {
    padding: 16px;
  }
  .b2b-btn-tds-doc, .b2b-btn-tds-quote {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   INTERACTIVE TDS GRADE SELECTOR & DYNAMIC PANELS (TAB SWITCHER)
   Only active grade is displayed to prevent page clutter
   ========================================================================== */
.b2b-grade-tabs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.b2b-grade-tab-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 9px;
  padding: 12px 10px;
  text-align: right;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.b2b-grade-tab-btn:hover {
  border-color: #0284c7;
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.b2b-grade-tab-btn.active {
  border-color: #0284c7;
  background: #f0f9ff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.16);
}

.b2b-grade-tab-btn.tab-export {
  border-right: 4px solid #f59e0b;
}

.b2b-grade-tab-btn.tab-export.active {
  border-color: #f59e0b;
  background: #fffbeb;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.18);
}

.b2b-tab-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.b2b-tab-code {
  font-size: 0.95rem;
  font-weight: 800;
  color: #10283c;
}

.b2b-tab-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.b2b-grade-tab-btn.active .b2b-tab-radio {
  border-color: #0284c7;
  background: #0284c7;
}

.b2b-grade-tab-btn.tab-export.active .b2b-tab-radio {
  border-color: #d97706;
  background: #d97706;
}

.b2b-tab-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  display: none;
}

.b2b-grade-tab-btn.active .b2b-tab-radio::after {
  display: block;
}

.b2b-tab-ind-code {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0369a1;
  margin-bottom: 2px;
}

.b2b-tab-export-code {
  color: #b45309 !important;
}

.b2b-tab-hardness {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

/* Panel Switching */
.b2b-grade-panel {
  display: none;
}

.b2b-grade-panel.active {
  display: block;
  animation: fadeInTdsPanel 0.25s ease-out;
}

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

/* Specialized B2B Portal Gateway Cards (Soft PVC, Rigid PVC, TPE) */
.b2b-portal-gateway-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.b2b-portal-gateway-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.08);
}
@media (max-width: 768px) {
  .b2b-portal-gateway-card {
    flex-direction: column;
    align-items: stretch !important;
  }
  .b2b-portal-gateway-card > div:last-child {
    flex-direction: column;
    width: 100%;
  }
  .b2b-portal-gateway-card .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Plasticizer Oil Product Cards & Ordering Terms */
.b2b-oil-media-container {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 4 / 3;
  background: #0f172a;
  border: 1px solid #e2e8f0;
}
.b2b-oil-media-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.b2b-oil-media-container:hover img {
  transform: scale(1.04);
}
.b2b-oil-order-terms {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 0.8rem;
  line-height: 1.8;
  color: #334155;
}
.b2b-oil-order-terms strong {
  color: #10283c;
}


