/* ==========================================================================
   COMPONENTS.CSS - ARTISANAL ORGANIC TORN-PAPER FOOD COMPONENTS
   ========================================================================== */

/* Mobile Drawer (Hidden by default on all screens, slides in only on mobile toggle) */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: #ffffff;
  z-index: 1600;
  box-shadow: -10px 0 35px rgba(36, 24, 13, 0.2);
  display: flex;
  flex-direction: column;
  padding: 28px;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0 !important;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 24, 13, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Realistic Jagged Torn Paper Divider */
.torn-paper-edge-bottom {
  position: relative;
  width: 100%;
  height: 48px;
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: 1200px 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath fill='%23fcf8ef' d='M0,48 L0,22 C35,26 65,14 105,18 C145,22 170,32 210,26 C250,20 280,12 320,16 C360,20 390,30 430,24 C470,18 505,11 545,15 C585,19 615,29 655,23 C695,17 725,10 765,14 C805,18 840,28 880,22 C920,16 950,9 990,13 C1030,17 1060,27 1100,21 C1140,15 1170,25 1200,20 L1200,48 Z'/%3E%3C/svg%3E");
  margin-top: -46px;
  z-index: 15;
  pointer-events: none;
}

.torn-paper-edge-top {
  position: relative;
  width: 100%;
  height: 48px;
  background-repeat: repeat-x;
  background-position: center top;
  background-size: 1200px 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath fill='%23f5ecd7' d='M0,0 L0,26 C35,22 65,34 105,30 C145,26 170,16 210,22 C250,28 280,36 320,32 C360,28 390,18 430,24 C470,30 505,37 545,33 C585,29 615,19 655,25 C695,31 725,38 765,34 C805,30 840,20 880,26 C920,32 950,39 990,35 C1030,31 1060,21 1100,27 C1140,33 1170,23 1200,28 L1200,0 Z'/%3E%3C/svg%3E");
  z-index: 15;
  pointer-events: none;
}

/* Header & Navigation */
.artisanal-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: #facc15;
  border-bottom: 1.5px solid rgba(180, 83, 9, 0.15);
  z-index: 990;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.artisanal-header.scrolled {
  background: rgba(250, 204, 21, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(180, 83, 9, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-espresso);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.brand-title:hover .brand-logo-img {
  transform: scale(1.02);
}

.brand-title .brand-dot {
  color: var(--caramel-btn);
}

.brand-country-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--caramel-btn);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.2);
}

.nav-links-cluster {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-item-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-espresso);
  position: relative;
}

.nav-item-link:hover {
  color: var(--caramel-btn);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-icon-round {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(180, 83, 9, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-espresso);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon-round:hover {
  background: #ffffff;
  transform: scale(1.05);
}

.mobile-menu-btn {
  display: none;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex !important;
  }
}

/* Button System */
.btn-caramel-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--caramel-btn);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(180, 83, 9, 0.35);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-caramel-pill:hover {
  background: var(--caramel-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(180, 83, 9, 0.45);
  color: #ffffff;
}

.btn-sun-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--sun-gold-dark);
  color: var(--text-espresso);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-sun-pill:hover {
  background: var(--honey-primary);
  transform: translateY(-1px);
}

/* ==========================================================================
   WARM SUNSHINE HERO SECTION
   ========================================================================== */
.artisanal-hero-section {
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 50%, #eab308 100%);
  padding: 40px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid-artisanal {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 5;
}

.hero-tag-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(36, 24, 13, 0.75);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.hero-big-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4.4vw, 4.2rem);
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(180, 83, 9, 0.15);
}

.hero-description-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(36, 24, 13, 0.85);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 500px;
  font-weight: 500;
}

/* Bowl in Hero */
.hero-bowl-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-bowl-img {
  width: 100%;
  max-width: 480px;
  height: 440px;
  border-radius: 40px;
  object-fit: cover;
  box-shadow: 0 25px 50px -10px rgba(180, 83, 9, 0.35);
  transition: transform 0.4s ease;
}

.hero-bowl-wrapper:hover .hero-bowl-img {
  transform: scale(1.02);
}

/* Rounded Pill Search Bar for Hero */
.hero-search-pill-box {
  background: #ffffff;
  padding: 8px 10px 8px 22px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(146, 64, 14, 0.2);
  margin: 28px 0 20px 0;
  max-width: 540px;
}

.hero-search-pill-box input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text-espresso);
}

.hero-search-pill-box input::placeholder {
  color: var(--text-light);
}

/* ==========================================================================
   HARVEST LOTS / QUICK ARRIVALS STRIP
   ========================================================================== */
.harvest-strip {
  padding: 30px 0 50px 0;
  position: relative;
  z-index: 16;
}

.harvest-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.harvest-left-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-espresso);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-lots-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mini-lot-card {
  background: #ffffff;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-organic-sm);
  transition: transform 0.2s ease;
}

.mini-lot-card:hover {
  transform: translateY(-3px);
}

.mini-lot-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.mini-lot-info strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-espresso);
}

.mini-lot-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.harvest-right-story {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 440px;
}

.harvest-walnut-img {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-organic-sm);
  flex-shrink: 0;
}

.story-text-snippet h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-espresso);
  margin-bottom: 2px;
}

.story-text-snippet p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   FEATURED PRODUCT & SUPPLIER CARDS (SOFT ROUNDED CREAM BOXES)
   ========================================================================== */
.artisanal-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 36px;
}

.artisanal-food-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-organic-sm);
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.artisanal-food-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-organic-lg);
  border-color: var(--border-strong);
}

.card-product-display {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fbf7ee;
}

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

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

.card-product-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-espresso);
  margin-bottom: 6px;
  line-height: 1.25;
}

.card-supplier-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--border-cream);
}

.card-price-chip {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-espresso);
}

.card-price-chip span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   ORGANIC STORY STRIP (BALANCED 2-COLUMN LAYOUT)
   ========================================================================== */
.organic-story-strip {
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  margin: 50px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-organic-sm);
}

.story-block {
  display: flex;
  align-items: center;
  gap: 20px;
}

.bowl-snack-img {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow-organic-sm);
  flex-shrink: 0;
}

.story-col h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-espresso);
  margin-bottom: 4px;
}

.story-col p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.story-divider-line {
  width: 1px;
  height: 64px;
  background: var(--border-cream);
}

.story-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--sun-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--caramel-btn);
  flex-shrink: 0;
}

/* ==========================================================================
   BENTO PROMO ROW: SPECS & VIBRANT GLASS BOTTLES
   ========================================================================== */
.bento-showcase-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  margin-bottom: 60px;
}

.bento-spec-card {
  background: var(--bg-card-subtle);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
}

.bento-bottles-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-organic-sm);
  position: relative;
}

.bottles-group-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-organic-sm);
}

.bottles-text h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--text-espresso);
  line-height: 1.2;
  margin-bottom: 12px;
}

.bottles-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ==========================================================================
/* ==========================================================================
   LAYOUT GRIDS (SUPPLIERS & HOW IT WORKS)
   ========================================================================== */
.suppliers-layout-grid {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 36px;
  align-items: start;
}

.supplier-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

/* Mobile Bottom Bar (STRICTLY HIDDEN ON DESKTOP) */
.mobile-bottom-bar {
  display: none !important;
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 253, 249, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-cream);
    padding: 8px 16px;
    z-index: 999;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(36, 24, 13, 0.08);
  }

  .mob-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
  }

  .mob-tab-btn.active,
  .mob-tab-btn:hover {
    color: var(--caramel-btn);
  }

  .mob-tab-btn i {
    font-size: 1.25rem;
  }

  .mob-rfq-center {
    position: relative;
    top: -14px;
  }

  .mob-rfq-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--caramel-btn);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 8px 16px rgba(180, 83, 9, 0.4);
    border: 3px solid #ffffff;
  }
}

/* ==========================================================================
   ENTERPRISE B2B FOOD DIRECTORY STYLES
   ========================================================================== */

/* Button Outline Caramel */
.btn-outline-caramel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--caramel-btn);
  border: 1.5px solid var(--caramel-btn);
  border-radius: var(--radius-full);
  padding: 10px 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline-caramel:hover {
  background: var(--caramel-btn);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(180, 83, 9, 0.25);
}

/* Hero Stats Cluster */
.hero-stats-cluster {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(180, 83, 9, 0.18);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-espresso);
  backdrop-filter: blur(4px);
}

.hero-stat-pill i {
  color: var(--caramel-btn);
}

/* Section Header B2B */
.b2b-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px auto;
}

.b2b-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--caramel-btn);
  margin-bottom: 8px;
  background: rgba(180, 83, 9, 0.08);
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.b2b-section-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--text-espresso);
  line-height: 1.25;
  margin-bottom: 10px;
}

.b2b-section-subtitle {
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* B2B Business Sectors Grid */
.b2b-sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.b2b-sector-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.b2b-sector-card:hover {
  transform: translateY(-5px);
  border-color: var(--sun-gold);
  box-shadow: 0 14px 28px rgba(180, 83, 9, 0.12);
}

.sector-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #fef3c7;
  color: var(--caramel-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 14px;
  transition: transform 0.3s ease;
}

.b2b-sector-card:hover .sector-icon-box {
  transform: scale(1.1);
  background: var(--sun-gold);
}

.sector-card-title {
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-weight: 800;
  color: var(--text-espresso);
  margin-bottom: 6px;
}

.sector-card-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.sector-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--caramel-btn);
  border-top: 1px dashed var(--border-cream);
  padding-top: 12px;
}

/* ==========================================================================
   ENTERPRISE HORIZONTAL SUPPLIER CARD (OPTION 1 - RECOMMENDED)
   ========================================================================== */
.b2b-pro-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.b2b-pro-card {
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(36, 24, 13, 0.05);
  display: grid;
  grid-template-columns: 290px 1fr;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.b2b-pro-card:hover {
  transform: translateY(-3px);
  border-color: var(--sun-gold);
  box-shadow: 0 16px 36px rgba(180, 83, 9, 0.12);
}

/* Left Visual Column */
.pro-card-visual {
  position: relative;
  overflow: hidden;
  background: #f5ecd7;
  min-height: 250px;
}

.pro-card-img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

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

.pro-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 24, 13, 0.4) 0%, rgba(36, 24, 13, 0.1) 40%, rgba(36, 24, 13, 0.65) 100%);
}

.pro-badge-floating-top {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--leaf-green);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: var(--text-xs);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pro-badge-floating-mandi {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(36, 24, 13, 0.88);
  backdrop-filter: blur(8px);
  color: #fef3c7;
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-size: var(--text-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==============================================================
   USDA FSIS Facility Blueprint Placeholder & Real Image System
   ============================================================== */
.pro-card-blueprint {
  width: 100%;
  height: 100%;
  min-height: 250px;
  background: radial-gradient(circle at 50% 25%, #1e293b 0%, #0f172a 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.pro-card-blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.pro-card-blueprint::after {
  content: "ESTABLISHMENT BLUEPRINT";
  position: absolute;
  bottom: 42px;
  right: -25px;
  transform: rotate(-30deg);
  font-size: 0.65rem;
  letter-spacing: 2px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  white-space: nowrap;
}

.blueprint-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  gap: 8px;
}

.blueprint-fsis-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.blueprint-state-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.blueprint-center-emblem {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: auto 0;
  padding: 10px 0;
}

.blueprint-shield-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  border: 2px dashed rgba(245, 158, 11, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: #fbbf24;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
  transition: transform 0.3s ease;
}

.b2b-pro-card:hover .blueprint-shield-icon {
  transform: scale(1.08) rotate(5deg);
  border-color: rgba(245, 158, 11, 0.8);
}

.blueprint-est-num {
  font-family: var(--font-heading, monospace);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #f8fafc;
  margin-bottom: 4px;
}

.blueprint-plant-type {
  font-size: 0.72rem;
  color: #94a3b8;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  max-width: 220px;
  margin: 0 auto;
  line-height: 1.3;
}

.blueprint-footer-note {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  color: #94a3b8;
  font-size: 0.72rem;
  gap: 8px;
}

.blueprint-loc-text {
  color: #cbd5e1;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blueprint-photo-status {
  font-size: 0.65rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* Detail Page Facility Blueprint Hero Banner */
.facility-blueprint-hero {
  position: relative;
  background: radial-gradient(circle at 60% 30%, #1e293b 0%, #0f172a 100%);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.facility-blueprint-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.facility-blueprint-content {
  position: relative;
  z-index: 2;
}

.facility-blueprint-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.facility-blueprint-est {
  font-family: var(--font-heading, monospace);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.facility-blueprint-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 12px;
}

.facility-blueprint-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
  font-size: 0.82rem;
}

.facility-blueprint-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==============================================================
   Directory Listing Toolbar & View Toggle (List vs Grid)
   ============================================================== */
.directory-toolbar-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 14px 20px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-cream);
  box-shadow: 0 4px 14px rgba(36, 24, 13, 0.04);
}

.toolbar-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toolbar-stat-main {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--espresso);
}

.toolbar-stat-main strong {
  color: var(--caramel-btn);
}

.toolbar-stat-sub {
  font-size: 0.76rem;
  color: #6b7280;
  font-weight: 500;
}

.view-toggle-pill {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-full);
  gap: 3px;
  border: 1px solid #e2e8f0;
}

.btn-view-toggle {
  background: transparent;
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-view-toggle:hover {
  color: var(--espresso);
}

.btn-view-toggle.active {
  background: #ffffff;
  color: var(--caramel-btn);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ==============================================================
   B2B Suppliers Grid View Mode (Multi-Column Layout)
   ============================================================== */
.b2b-pro-stack.is-grid-view {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)) !important;
  gap: 24px !important;
}

.b2b-pro-stack.is-grid-view .b2b-pro-card {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  height: 100% !important;
  border-radius: var(--radius-xl) !important;
}

.b2b-pro-stack.is-grid-view .pro-card-visual {
  width: 100% !important;
  height: 195px !important;
  min-height: 195px !important;
  max-height: 195px !important;
  border-right: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.b2b-pro-stack.is-grid-view .pro-card-blueprint {
  min-height: 195px !important;
  height: 195px !important;
  padding: 14px 16px !important;
}

.b2b-pro-stack.is-grid-view .blueprint-shield-icon {
  width: 46px !important;
  height: 46px !important;
  font-size: 1.25rem !important;
  margin: 0 auto 6px !important;
}

.b2b-pro-stack.is-grid-view .blueprint-est-num {
  font-size: 0.98rem !important;
}

.b2b-pro-stack.is-grid-view .blueprint-plant-type {
  font-size: 0.68rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 260px !important;
}

.b2b-pro-stack.is-grid-view .pro-card-content {
  padding: 18px 18px 16px !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.b2b-pro-stack.is-grid-view .pro-content-top {
  margin-bottom: 8px !important;
}

.b2b-pro-stack.is-grid-view .pro-company-name {
  font-size: 1.18rem !important;
  line-height: 1.3 !important;
  min-height: 2.6em !important;
  height: 2.6em !important;
}

.b2b-pro-stack.is-grid-view .pro-location-meta {
  font-size: 0.76rem !important;
  margin-bottom: 10px !important;
  min-height: 18px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
}

.b2b-pro-stack.is-grid-view .pro-meta-scale,
.b2b-pro-stack.is-grid-view .pro-meta-bullet-extra {
  display: none !important;
}

.b2b-pro-stack.is-grid-view .pro-summary-desc {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
  height: 2.9em !important;
  margin-bottom: 12px !important;
}

.b2b-pro-stack.is-grid-view .pro-specs-bar {
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  padding: 8px 12px !important;
  margin-bottom: 12px !important;
}

.b2b-pro-stack.is-grid-view .pro-specs-bar .pro-spec-cell:nth-child(2) {
  border-right: none !important;
  padding-right: 0 !important;
}

.b2b-pro-stack.is-grid-view .pro-specs-bar .pro-spec-cell:nth-child(3),
.b2b-pro-stack.is-grid-view .pro-specs-bar .pro-spec-cell-extra {
  display: none !important;
  border: none !important;
}

.b2b-pro-stack.is-grid-view .pro-bottom-bar {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  align-items: stretch !important;
  margin-top: auto !important;
  padding-top: 12px !important;
  border-top: 1px dashed var(--border-cream) !important;
}

.b2b-pro-stack.is-grid-view .pro-commodities-tags {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  height: 26px !important;
  overflow: hidden !important;
  margin-bottom: 2px !important;
}

.b2b-pro-stack.is-grid-view .pro-actions-cluster {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  width: 100% !important;
  align-items: center !important;
}

.b2b-pro-stack.is-grid-view .btn-outline-pro,
.b2b-pro-stack.is-grid-view .btn-caramel-pill {
  padding: 8px 8px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: 100% !important;
  text-align: center !important;
  white-space: nowrap !important;
  border-radius: var(--radius-full) !important;
  box-sizing: border-box !important;
  height: 38px !important;
}

.b2b-pro-stack.is-grid-view .btn-outline-pro span,
.b2b-pro-stack.is-grid-view .btn-caramel-pill span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==============================================================
   Sidebar Live Search Suggestions Dropdown & USDA Registry Card
   ============================================================== */
.sidebar-registry-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: var(--radius-md);
  color: #ffffff;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-registry-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.sidebar-registry-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.2;
}

.sidebar-registry-status {
  font-size: 0.7rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.pulse-dot-sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 6px #10b981;
}

/* ==============================================================
   Top Directory Global Search Bar with Live Autocomplete Tray
   ============================================================== */
.directory-top-search-banner {
  margin-bottom: 28px;
  position: relative;
  z-index: 30;
}

.top-search-form {
  position: relative;
}

.top-search-bar-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 6px 8px 6px 18px;
  box-shadow: 0 8px 30px rgba(36, 24, 13, 0.06);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 12px;
}

.top-search-bar-wrap:focus-within {
  border-color: var(--caramel-btn);
  box-shadow: 0 10px 35px rgba(217, 119, 6, 0.12), 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.top-search-input-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  min-width: 0;
}

.top-search-icon {
  font-size: 1.15rem;
  color: #94a3b8;
  flex-shrink: 0;
}

.top-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--espresso);
  padding: 12px 0;
  outline: none;
  min-width: 0;
}

.top-search-input::placeholder {
  color: #94a3b8;
  font-size: 0.92rem;
  font-weight: 400;
}

.top-search-clear-btn {
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
  padding: 0;
}

.top-search-clear-btn:hover {
  background: #e2e8f0;
  color: var(--espresso);
}

.top-search-btn {
  background: linear-gradient(135deg, var(--caramel-btn) 0%, #b45309 100%);
  color: #ffffff;
  border: none;
  padding: 12px 26px;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.top-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}

/* Wide Suggestions Tray */
.top-search-suggestions-tray {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-soft);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
  z-index: 1050;
  max-height: 480px;
  overflow-y: auto;
  overflow-x: hidden;
  animation: suggFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes suggFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

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

.sugg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sugg-empty {
  padding: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
}

.top-sugg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 20px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.top-sugg-row:hover {
  background: #fef8ed;
}

.top-sugg-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.top-sugg-est-tag {
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #1e293b;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-sugg-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--espresso);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-sugg-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #64748b;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-sugg-divider {
  color: #cbd5e1;
}

.top-sugg-loc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #475569;
}

.top-sugg-loc i {
  color: var(--caramel-btn);
  font-size: 0.78rem;
}

.top-sugg-act {
  color: #047857;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
}

.top-sugg-size {
  color: #64748b;
}

.top-sugg-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--caramel-btn);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.top-sugg-row:hover .top-sugg-action {
  transform: translateX(4px);
}

.top-sugg-footer {
  padding: 12px 20px;
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  font-size: 0.88rem;
  font-weight: 700;
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.15s ease;
}

.top-sugg-footer:hover {
  background: #fef3c7;
}

@media (max-width: 900px) {
  .top-sugg-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .top-sugg-meta {
    flex-wrap: wrap;
  }

  .top-sugg-action {
    display: none;
  }
}

@media (max-width: 640px) {
  .top-search-bar-wrap {
    flex-direction: column;
    padding: 10px 12px;
    align-items: stretch;
    border-radius: var(--radius-lg);
  }

  .top-search-btn {
    width: 100%;
    justify-content: center;
  }
}

.sugg-footer:hover {
  background: #fcebd0;
}

/* Right Content Column */
.pro-card-content {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pro-content-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
}

.pro-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--caramel-btn);
  background: #fdf5e6;
  border: 1px solid rgba(180, 83, 9, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  max-width: 65%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pro-audit-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  white-space: nowrap;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.pro-audit-pill i {
  color: #10b981;
  font-size: 0.72rem;
}

.pro-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-espresso);
}

.pro-rating-pill i {
  color: var(--sun-gold-dark);
}

.pro-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.pro-company-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-espresso);
  line-height: 1.25;
  text-decoration: none;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  flex: 1;
}

.pro-company-name:hover {
  color: var(--caramel-btn);
}

.pro-verified-icon {
  color: var(--leaf-green);
  font-size: 1.05rem;
}

.pro-location-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  min-height: 20px;
  white-space: nowrap;
}

.pro-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.pro-meta-loc {
  color: #4b5563;
  font-weight: 600;
}

.pro-meta-loc i {
  color: var(--caramel-btn);
  font-size: 0.78rem;
}

.pro-meta-est {
  font-family: var(--font-heading, monospace);
  font-weight: 700;
  color: #1e293b;
}

.pro-meta-scale {
  color: #64748b;
  font-weight: 600;
}

.pro-meta-bullet {
  color: #cbd5e1;
  font-size: 0.68rem;
  user-select: none;
}

.pro-summary-desc {
  font-size: 0.86rem;
  color: var(--text-cocoa);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3em;
}

/* Procurement Specifications Bar */
.pro-specs-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--bg-cream-soft);
  border-radius: var(--radius-lg);
  padding: 10px 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(180, 83, 9, 0.08);
  box-sizing: border-box;
}

.pro-spec-cell {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pro-spec-cell:not(:last-child) {
  border-right: 1px dashed var(--border-cream);
  padding-right: 8px;
}

.pro-spec-k {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pro-spec-v {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-espresso);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bottom Actions & Commodities Strip */
.pro-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border-cream);
  flex-wrap: wrap;
}

.pro-commodities-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pro-tag-chip {
  background: rgba(180, 83, 9, 0.06);
  border: 1px solid rgba(180, 83, 9, 0.14);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--caramel-btn);
  line-height: 1.35;
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pro-actions-cluster {
  display: flex;
  align-items: center;
  gap: 24px;
}

.btn-outline-pro {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--caramel-btn);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline-pro:hover {
  background: rgba(180, 83, 9, 0.08);
}

.btn-pro-quote {
  padding: 10px 22px;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-pro:hover {
  background: rgba(180, 83, 9, 0.08);
  color: #451a03;
}


/* Mandi Hubs Grid */
.mandi-hubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.mandi-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.mandi-card:hover {
  transform: translateY(-4px);
  border-color: var(--caramel-btn);
  box-shadow: 0 12px 24px rgba(180, 83, 9, 0.12);
}

.mandi-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #fef3c7;
  color: var(--caramel-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.mandi-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-espresso);
  margin-bottom: 4px;
}

.mandi-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
}

.mandi-specialty {
  font-size: 0.84rem;
  color: var(--text-cocoa);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.mandi-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--caramel-btn);
  border-top: 1px dashed var(--border-cream);
  padding-top: 10px;
}

/* Live RFQ Board */
.rfq-board-section {
  background: var(--bg-cream-dark);
  border-top: 1.5px solid var(--border-cream);
  border-bottom: 1.5px solid var(--border-cream);
  padding: 60px 0;
}

.rfq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.rfq-card {
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 26px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(36, 24, 13, 0.04);
  transition: all 0.25s ease;
}

.rfq-card:hover {
  border-color: var(--sun-gold);
  box-shadow: 0 10px 24px rgba(180, 83, 9, 0.09);
}

.rfq-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.rfq-id-pill {
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--text-muted);
  background: var(--bg-cream-soft);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.rfq-badge-tag {
  font-size: var(--text-xs);
  font-weight: 800;
  color: #c2410c;
  background: #ffedd5;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.rfq-title {
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-weight: 800;
  color: var(--text-espresso);
  line-height: 1.3;
  margin-bottom: 8px;
}

.rfq-buyer-info {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 14px;
}

.rfq-specs-row {
  display: flex;
  gap: 16px;
  background: var(--bg-cream-soft);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: var(--text-xs);
}

.rfq-spec-item strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-espresso);
}

.rfq-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-cream);
}

/* Enterprise Advantage Grid */
.b2b-advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.advantage-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
}

.advantage-icon-round {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  background: #fef3c7;
  color: var(--caramel-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.advantage-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-espresso);
  font-weight: 800;
  margin-bottom: 8px;
}

.advantage-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Compliance Strip */
.compliance-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-2xl);
  padding: 24px 30px;
  box-shadow: var(--shadow-organic-sm);
  margin-bottom: 40px;
}

.compliance-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-espresso);
}

.compliance-badge-item i {
  color: var(--leaf-green);
  font-size: 1.2rem;
}

/* Supplier Onboarding CTA Banner */
.supplier-onboarding-cta {
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  border-radius: var(--radius-2xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 32px;
  margin-bottom: 50px;
  box-shadow: 0 14px 32px rgba(180, 83, 9, 0.15);
  position: relative;
  overflow: hidden;
}

.supplier-cta-content h3 {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--text-espresso);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 12px;
}

.supplier-cta-content p {
  font-size: 1rem;
  color: #451a03;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* FAQ Accordion */
.b2b-faq-accordion {
  max-width: 800px;
  margin: 0 auto 50px auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item-b2b {
  background: var(--bg-card);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}

.faq-item-b2b.active {
  border-color: rgba(180, 83, 9, 0.35);
  box-shadow: 0 8px 24px rgba(180, 83, 9, 0.08);
}

.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-weight: 800;
  color: var(--text-espresso);
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease;
}

.faq-answer-pane {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-answer-content {
  overflow: hidden;
  min-height: 0;
  padding: 0 24px 0 24px;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item-b2b.active .faq-answer-pane {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-item-b2b.active .faq-answer-content {
  padding: 0 24px 22px 24px;
}

.faq-item-b2b.active .faq-question-btn {
  color: var(--caramel-btn);
}

.faq-item-b2b.active .faq-icon-indicator {
  transform: rotate(180deg);
}

.faq-icon-indicator {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  font-size: 0.9rem;
  color: var(--caramel-btn);
}

/* ==========================================================================
   PURE CLASS-BASED COMPONENT & SECTION UTILITIES (NO INLINE CSS)
   ========================================================================== */

/* Spacing & Section Backgrounds */
.sec-pad-sm {
  padding: 40px 0;
}

.sec-pad-md {
  padding: 50px 0 60px 0;
}

.sec-pad-lg {
  padding: 60px 0 70px 0;
}

.sec-pad-xl {
  padding: 70px 0 80px 0;
}

.sec-cream-contrast {
  background: var(--bg-cream-dark);
  border-top: 1.5px solid var(--border-cream);
  border-bottom: 1.5px solid var(--border-cream);
}

.page-container-pad {
  padding-top: 40px;
  padding-bottom: 90px;
}

.text-center-wrapper {
  text-align: center;
}

/* Hero Enhancements */
.hero-cta-btns {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
  margin-bottom: 28px;
}

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-espresso);
  background: rgba(255, 255, 255, 0.4);
  border: 1.5px solid rgba(36, 24, 13, 0.35);
  border-radius: var(--radius-full);
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: all 0.25s ease;
}

.btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--text-espresso);
  transform: translateY(-2px);
}

.btn-hero-rfq {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: var(--text-base);
  font-weight: 700;
  background: #ffffff;
  color: var(--caramel-btn);
  border: 2px solid var(--caramel-btn);
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.15);
  transition: all 0.25s ease;
}

.btn-hero-rfq:hover {
  background: var(--caramel-btn);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(180, 83, 9, 0.25);
}

.btn-hero-search {
  padding: 10px 24px;
  font-size: var(--text-sm);
}

.hero-bowl-shadow {
  box-shadow: 0 20px 40px rgba(180, 83, 9, 0.18);
}

.icon-brand {
  color: var(--caramel-btn);
}

.icon-brand-mr {
  color: var(--caramel-btn);
  margin-right: 6px;
}

.icon-light {
  color: var(--text-light);
  font-size: 1.1rem;
}

.icon-gold {
  color: var(--sun-gold-dark);
}

.btn-all-processors {
  padding: 14px 36px;
  font-size: var(--text-md);
}

/* Live RFQ Board */
.rfq-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 20px;
}

.rfq-section-heading {
  margin-bottom: 6px;
  text-align: left;
}

.rfq-section-subhead {
  text-align: left;
  margin-bottom: 0;
}

.rfq-spec-label {
  color: var(--text-muted);
  font-size: var(--text-xs);
}

.rfq-spec-divider-cell {
  border-left: 1px solid var(--border-cream);
  padding-left: 16px;
}

.rfq-price-highlight {
  color: var(--caramel-btn);
}

.rfq-footer-stats {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 700;
}

.btn-rfq-submit {
  min-height: 46px;
  padding: 12px 24px;
  font-size: var(--text-sm);
  font-weight: 700;
  background: var(--caramel-btn);
  color: #ffffff;
  border-radius: var(--radius-full);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-rfq-submit:hover {
  background: var(--caramel-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(180, 83, 9, 0.28);
}

/* How It Works Step Cards */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card-box {
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 26px 20px;
  text-align: center;
}

.step-badge-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--caramel-btn);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
  font-size: 1.1rem;
}

h3.step-heading,
.step-heading {
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--text-espresso);
  margin-bottom: 8px;
}

.step-description {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.55;
}

/* Supplier Onboarding CTA Banner */
.supplier-cta-pill {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #ffffff;
  color: #451a03;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.supplier-cta-btn-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-cta-dark {
  padding: 14px 28px;
  font-size: 1rem;
  background: #451a03;
  color: #ffffff;
}

.btn-cta-white {
  padding: 14px 24px;
  font-size: 0.95rem;
  background: #ffffff;
  color: #451a03;
  border: none;
}

.cta-side-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-align: left;
}

.cta-side-heading {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text-espresso);
  margin-bottom: 14px;
}

.cta-perks-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-espresso);
}

.cta-check-icon {
  color: #451a03;
  margin-right: 8px;
}

/* Directory Page Banner (suppliers.php / supplier-detail.php) */
.directory-hero-banner {
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 60%);
  padding: 50px 0 70px 0;
  border-bottom: 1.5px solid rgba(180, 83, 9, 0.15);
}

.directory-breadcrumb {
  font-size: 0.88rem;
  color: var(--text-espresso);
  opacity: 0.85;
  margin-bottom: 8px;
  font-weight: 700;
}

.directory-breadcrumb a {
  color: var(--text-espresso);
  text-decoration: none;
}

.directory-banner-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--text-espresso);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.directory-banner-desc {
  color: #451a03;
  font-size: 1.1rem;
  max-width: 680px;
  font-weight: 500;
  line-height: 1.6;
}

/* Filter Sidebar (suppliers.php) */
.filter-sidebar-box {
  background: var(--bg-card);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 24px 22px;
  box-shadow: var(--shadow-organic-sm);
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE / Edge */
}

.filter-sidebar-box::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
  width: 0;
  height: 0;
}

.filter-sidebar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-cream);
}

.filter-sidebar-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-espresso);
  margin: 0;
}

.filter-reset-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--caramel-btn);
  text-decoration: none;
}

.filter-group {
  margin-bottom: 18px;
}

.filter-group-lg {
  margin-bottom: 24px;
}

.filter-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.filter-input-wrap {
  position: relative;
}

.filter-field {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-md);
  outline: none;
  font-size: 0.9rem;
  background: #ffffff;
}

/* ==========================================================================
   CUSTOM ARTISANAL SELECT DROPDOWN COMPONENT
   ========================================================================== */
.custom-select-native-hidden {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
}

.custom-select-wrapper {
  position: relative;
  width: 100%;
  user-select: none;
  z-index: 10;
}

.custom-select-wrapper.open {
  z-index: 1000;
}

.custom-select-trigger {
  width: 100%;
  padding: 10px 14px;
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-espresso);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  outline: none;
  box-shadow: 0 1px 3px rgba(36, 24, 13, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.custom-select-trigger:hover {
  border-color: var(--border-strong);
  background: #fffdf9;
}

.custom-select-wrapper.open .custom-select-trigger {
  border-color: var(--caramel-btn);
  box-shadow: 0 0 0 3.5px rgba(180, 83, 9, 0.12);
  background: #ffffff;
}

.custom-select-current-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-arrow {
  color: var(--caramel-btn);
  font-size: 0.78rem;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-select-wrapper.open .custom-select-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu Box */
.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 35px -6px rgba(180, 83, 9, 0.16), 0 4px 12px rgba(36, 24, 13, 0.05);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s;
  pointer-events: none;
}

.custom-select-wrapper.open .custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Scroll Container */
.custom-select-options-scroll {
  max-height: 250px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px;
}

.custom-select-options-scroll::-webkit-scrollbar {
  width: 5px;
}

.custom-select-options-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.custom-select-options-scroll::-webkit-scrollbar-thumb {
  background: #ebdcc4;
  border-radius: 999px;
}

.custom-select-options-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--caramel-btn);
}

/* Option Items */
.custom-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-cocoa);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.custom-select-option .option-text {
  flex: 1;
  line-height: 1.35;
}

.custom-select-option:hover {
  background: #fdf6eb;
  color: var(--caramel-btn);
  font-weight: 600;
  padding-left: 17px;
}

.custom-select-option.selected {
  background: #fbf1de;
  color: var(--caramel-btn);
  font-weight: 700;
}

.option-check-icon {
  font-size: 0.8rem;
  color: var(--caramel-btn);
  opacity: 0;
  transform: scale(0.6);
  flex-shrink: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.custom-select-option.selected .option-check-icon {
  opacity: 1;
  transform: scale(1);
}

.filter-submit-btn {
  width: 100%;
  justify-content: center;
}

.filter-rfq-sidebar-prompt {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-cream);
  text-align: center;
}

.filter-rfq-prompt-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
}

.filter-rfq-prompt-desc {
  font-size: 0.84rem;
  color: var(--text-cocoa);
  margin: 6px 0 14px 0;
}

.filter-rfq-btn {
  width: 100%;
  padding: 8px 16px;
  font-size: 0.84rem;
  justify-content: center;
}

.empty-results-box {
  background: var(--bg-card);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
}

.empty-results-icon {
  font-size: 2.5rem;
  color: var(--caramel-btn);
  margin-bottom: 12px;
}

.empty-results-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-espresso);
  margin-bottom: 8px;
}

.empty-results-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* Supplier Detail Profile Page */
.detail-banner-flex {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.detail-banner-avatar {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-organic-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--caramel-btn);
  flex-shrink: 0;
}

.detail-banner-info {
  flex: 1;
}

.detail-sector-badge {
  display: inline-block;
  background: rgba(36, 24, 13, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-espresso);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.detail-company-heading {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--text-espresso);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.detail-meta-flex {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: rgba(36, 24, 13, 0.9);
  font-weight: 700;
}

/* ==========================================================================
   SUPPLIER DETAIL PAGE - ENTERPRISE B2B FACILITY PROFILE
   ========================================================================== */
.detail-hero-enhanced {
  padding-bottom: 45px;
}

.breadcrumb-home-icon {
  font-size: 0.82rem;
  margin-right: 2px;
}

.breadcrumb-sep {
  color: rgba(36, 24, 13, 0.4);
  margin: 0 4px;
}

.breadcrumb-current {
  color: var(--text-espresso);
  font-weight: 700;
}

.detail-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.detail-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--text-espresso);
  box-shadow: 0 2px 6px rgba(36, 24, 13, 0.05);
}

.detail-review-count {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.detail-fda-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
}

.detail-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.meta-dot-sep {
  color: rgba(36, 24, 13, 0.4);
}

.detail-hero-actions-cluster {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.btn-detail-quote {
  padding: 12px 24px;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.28);
}

.btn-detail-call {
  padding: 9px 20px;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.8);
}

.btn-detail-call:hover {
  background: #ffffff;
}

.detail-status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-cocoa);
}

/* Detail Main Flow */
.detail-content-section {
  padding-top: 40px;
  padding-bottom: 70px;
}

.detail-main-flow {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* 1. Facility Background & Industrial Capabilities */
.detail-facility-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-organic-sm);
}

.facility-photo-hero {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

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

.facility-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 24, 13, 0.05) 0%, rgba(36, 24, 13, 0.65) 100%);
}

.facility-photo-badge {
  position: absolute;
  bottom: 16px;
  left: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-espresso);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 12px rgba(36, 24, 13, 0.15);
}

.facility-photo-badge i {
  color: #10b981;
}

.facility-body-content {
  padding: 30px;
}

.detail-facility-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--text-espresso);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-facility-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* 2-Column Operating Metrics (2x2 Grid) */
.detail-specs-grid-4col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.detail-spec-card {
  background: var(--bg-cream);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.detail-spec-card:hover {
  transform: translateY(-2px);
  border-color: var(--caramel-btn);
  box-shadow: 0 6px 18px rgba(180, 83, 9, 0.08);
}

.detail-spec-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fef08a 0%, #facc15 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--caramel-dark);
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(234, 179, 8, 0.28);
}

.detail-spec-title {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.4px;
  margin-bottom: 3px;
}

.detail-spec-strong {
  font-size: 1rem;
  color: var(--text-espresso);
  line-height: 1.3;
  font-weight: 700;
}

/* Certifications & Badges */
.detail-cert-section,
.detail-tags-section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-cream);
}

.detail-section-mini-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 10px;
}

.detail-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-espresso);
  box-shadow: 0 1px 4px rgba(36, 24, 13, 0.04);
}

.badge-gold-icon {
  color: #eab308;
}

.detail-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fdf6ea;
  border: 1px solid rgba(180, 83, 9, 0.16);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--caramel-btn);
}

/* 2. Commercial Catalog & Wholesale Lots */
.detail-catalog-box {
  background: var(--bg-card);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-organic-sm);
}

.catalog-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fef3c7;
  color: var(--caramel-btn);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.detail-catalog-heading {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-espresso);
  margin-bottom: 6px;
}

.detail-catalog-subhead {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
  line-height: 1.5;
}

.detail-lots-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-lot-card {
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 8px rgba(36, 24, 13, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.detail-lot-card:hover {
  transform: translateY(-2px);
  border-color: var(--caramel-btn);
  box-shadow: 0 10px 24px -4px rgba(180, 83, 9, 0.1);
}

.detail-lot-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.detail-lot-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--bg-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--caramel-btn);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.detail-lot-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-espresso);
  margin-bottom: 4px;
}

.detail-lot-specs-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.lot-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lot-spec-item i {
  color: var(--caramel-btn);
  font-size: 0.72rem;
}

.lot-spec-sep {
  color: var(--border-strong);
}

.lot-moq-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fdf6ea;
  border: 1px solid rgba(180, 83, 9, 0.15);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  font-weight: 700;
  color: var(--caramel-dark);
  font-size: 0.76rem;
}

.detail-lot-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.detail-lot-pricing-box {
  text-align: right;
}

.detail-lot-price {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--caramel-btn);
  line-height: 1.1;
}

.detail-lot-unit {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.detail-lot-discount-hint {
  display: block;
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 3px;
}

.btn-detail-lot-inquire {
  padding: 9px 18px;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* 3. Pre-Shipment Quality Standards & Lab Traceability */
.detail-lab-standards-card {
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-organic-sm);
}

.detail-lab-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.lab-badge-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #047857;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.detail-lab-heading {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text-espresso);
  margin-bottom: 6px;
}

.detail-lab-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.detail-lab-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.lab-spec-card {
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.lab-card-icon {
  font-size: 1.15rem;
  color: var(--caramel-btn);
  margin-top: 2px;
  flex-shrink: 0;
}

.lab-spec-card strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-espresso);
  margin-bottom: 2px;
}

.lab-spec-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.lab-actions-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-coa-req,
.btn-audit-req {
  padding: 10px 18px;
  font-size: 0.86rem;
}

/* 4. Loading Dock & Logistics Parameters */
.detail-dock-card {
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 28px 30px;
  box-shadow: var(--shadow-organic-sm);
}

.dock-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-espresso);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dock-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.dock-spec-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.dock-spec-icon {
  font-size: 1.25rem;
  color: var(--paprika-orange);
  flex-shrink: 0;
}

.dock-spec-item strong {
  display: block;
  font-size: 0.86rem;
  color: var(--text-espresso);
  margin-bottom: 2px;
}

.dock-spec-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* 5. Verified Commercial Buyer Testimonial */
.detail-testimonial-card {
  background: linear-gradient(135deg, #fffcf6 0%, #fcf5e7 100%);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 26px 30px;
  box-shadow: var(--shadow-organic-sm);
}

.testimonial-stars-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.testimonial-stars {
  color: #eab308;
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.testimonial-verified-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: #047857;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.testimonial-quote {
  font-style: italic;
  font-size: 0.94rem;
  color: var(--text-cocoa);
  line-height: 1.65;
  margin-bottom: 16px;
}

.testimonial-author-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--caramel-btn);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.testimonial-author-meta strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-espresso);
}

.testimonial-author-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Right Sticky Sidebar */
.supplier-detail-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sidebar-quote-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-organic-sm);
}

.sidebar-form-badge {
  display: inline-block;
  background: #fef3c7;
  color: var(--caramel-btn);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.sidebar-quote-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-espresso);
  margin-bottom: 6px;
}

.sidebar-quote-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.45;
}

.sidebar-quote-field {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-md);
  outline: none;
  font-size: 0.88rem;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-quote-field:focus {
  border-color: var(--caramel-btn);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.12);
}

.btn-sidebar-quote-submit {
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: 0.92rem;
}

.sidebar-privacy-badge {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-cream);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Card 2: Plant Key Contacts */
.sidebar-contacts-card {
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-organic-sm);
}

.sidebar-desk-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #047857;
  margin-bottom: 12px;
}

.sidebar-contacts-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-espresso);
  margin-bottom: 6px;
}

.sidebar-contacts-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.sidebar-phone-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  text-decoration: none;
  margin-bottom: 14px;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.sidebar-phone-box:hover {
  background: #fef9ee;
  border-color: var(--caramel-btn);
  transform: translateY(-1px);
}

.sidebar-phone-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--caramel-btn) 0%, var(--caramel-dark) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.sidebar-phone-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-light);
}

.sidebar-phone-num {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--caramel-btn);
  line-height: 1.1;
  margin-top: 1px;
}

.sidebar-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.sidebar-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-meta-item i {
  color: var(--caramel-btn);
  font-size: 0.82rem;
  flex-shrink: 0;
}

.btn-sidebar-rfq {
  width: 100%;
  justify-content: center;
  padding: 10px;
  font-size: 0.86rem;
}

/* Card 3: USDA Regulatory Credentials */
.sidebar-cert-card {
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  box-shadow: var(--shadow-organic-sm);
}

.sidebar-cert-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-cream);
}

.sidebar-cert-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.sidebar-cert-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-espresso);
  line-height: 1.2;
}

.sidebar-cert-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

.sidebar-cert-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cert-table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border-cream);
}

.cert-table-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cert-row-label {
  color: var(--text-muted);
}

.cert-row-value {
  font-weight: 700;
  color: var(--text-espresso);
}

.cert-status-good {
  color: #047857;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Card 4: Trust & Buyer Assurance */
.sidebar-trust-card {
  background: linear-gradient(180deg, #fffdf8 0%, #fff9ee 100%);
  border: 1.5px solid rgba(180, 83, 9, 0.2);
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  box-shadow: var(--shadow-organic-sm);
}

.trust-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fef3c7;
  color: var(--caramel-btn);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.trust-card-title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-espresso);
  margin-bottom: 12px;
}

.trust-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.trust-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.trust-checklist li i {
  color: #10b981;
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.trust-checklist li strong {
  color: var(--text-espresso);
}

/* Card 5: Section Quick Navigation */
.sidebar-nav-jump-card {
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 20px 22px;
  box-shadow: var(--shadow-organic-sm);
}

.jump-card-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.jump-links-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jump-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-cream);
  color: var(--text-espresso);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.jump-link i {
  color: var(--caramel-btn);
  font-size: 0.88rem;
  width: 16px;
  text-align: center;
}

.jump-link:hover {
  background: #fef3c7;
  color: var(--caramel-dark);
  transform: translateX(3px);
}

/* Header & Drawer (header.php) */
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.drawer-brand {
  font-size: 1.5rem;
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-espresso);
}

.drawer-links-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-nav-item {
  font-weight: 700;
  font-size: 1.1rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-cream);
  color: var(--text-espresso);
  display: flex;
  align-items: center;
}

.drawer-icon-box {
  width: 24px;
  margin-right: 6px;
}

.drawer-footer-cta {
  margin-top: auto;
  padding-top: 24px;
}

.btn-drawer-quote {
  width: 100%;
  margin-bottom: 10px;
  justify-content: center;
}

/* ==========================================================================
   ARTISANAL FOOTER (UPGRADED LUXURY B2B DESIGN)
   ========================================================================== */
.artisanal-footer {
  background: linear-gradient(180deg, #fbf5e6 0%, #f4e8cc 100%);
  border-top: 1.5px solid var(--border-strong);
  padding: 60px 0 36px 0;
  position: relative;
  color: var(--text-cocoa);
}

/* Pre-Footer Newsletter Strip */
.footer-newsletter-wrap {
  margin-bottom: 50px;
}

.footer-newsletter-card {
  background: #ffffff;
  border: 1px solid rgba(180, 83, 9, 0.16);
  border-radius: var(--radius-xl);
  padding: 30px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  box-shadow: 0 16px 36px -8px rgba(180, 83, 9, 0.08), 0 4px 12px rgba(36, 24, 13, 0.03);
}

.footer-newsletter-left {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 580px;
}

.newsletter-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fef08a 0%, #facc15 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--caramel-dark);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.32);
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-espresso);
  margin-bottom: 5px;
  line-height: 1.3;
}

.newsletter-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.footer-newsletter-form {
  flex: 1;
  max-width: 480px;
}

.newsletter-input-group {
  display: flex;
  align-items: center;
  background: #fffcf8;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-pill);
  padding: 5px 6px 5px 16px;
  box-shadow: 0 2px 8px rgba(36, 24, 13, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-input-group:focus-within {
  border-color: var(--caramel-btn);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.12);
}

.newsletter-mail-icon {
  color: var(--caramel-btn);
  font-size: 1.05rem;
  margin-right: 10px;
  flex-shrink: 0;
}

.newsletter-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-espresso);
  outline: none;
  min-width: 0;
}

.newsletter-submit-btn {
  background: linear-gradient(135deg, var(--caramel-btn) 0%, var(--caramel-dark) 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.newsletter-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.35);
}

.newsletter-trust-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-light);
  margin-top: 8px;
  padding-left: 12px;
}

/* Footer Grid */
.footer-grid-artisanal {
  display: grid;
  grid-template-columns: 330px 1fr 1fr 315px;
  gap: 36px;
  margin-bottom: 48px;
  align-items: start;
}

/* Column 1: Brand & Compliance */
.footer-brand-col {
  padding-right: 6px;
}

.footer-brand-title {
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 360px;
}

.footer-compliance-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-compliance-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-md);
  padding: 9px 14px;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-compliance-item:hover {
  background: #ffffff;
  border-color: var(--border-strong);
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.05);
}

.compliance-icon {
  font-size: 1.15rem;
  color: var(--caramel-btn);
  flex-shrink: 0;
}

.compliance-label {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-espresso);
  line-height: 1.25;
}

.compliance-sub {
  font-size: 0.73rem;
  color: var(--text-light);
  line-height: 1.2;
}

.footer-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fffdf9;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  box-shadow: 0 2px 6px rgba(36, 24, 13, 0.04);
  white-space: nowrap;
}

.rating-stars {
  color: #eab308;
  font-size: 0.82rem;
  letter-spacing: 1px;
}

.rating-val {
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--text-espresso);
  white-space: nowrap;
}

.rating-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Columns 2 & 3: Navigation Titles & Lists */
.footer-col-artisanal .footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-espresso);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
  white-space: nowrap;
}

.footer-title-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--caramel-btn);
  display: inline-block;
  flex-shrink: 0;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links-list li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-cocoa);
  font-weight: 500;
  text-decoration: none;
  line-height: 1.35;
  white-space: nowrap;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-links-list li a:hover {
  color: var(--caramel-btn);
  transform: translateX(4px);
}

.link-bullet {
  font-size: 0.65rem;
  color: var(--text-light);
  transition: color 0.18s ease, transform 0.18s ease;
  flex-shrink: 0;
}

.footer-links-list li a:hover .link-bullet {
  color: var(--caramel-btn);
  transform: translateX(1px);
}

.link-bullet-loc {
  font-size: 0.76rem;
  color: var(--paprika-orange);
  opacity: 0.85;
  flex-shrink: 0;
}

/* Column 4: Elevated Procurement Desk Card */
.procurement-desk-card {
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 24px 22px;
  box-shadow: 0 10px 25px -4px rgba(180, 83, 9, 0.07), 0 4px 10px -2px rgba(36, 24, 13, 0.03);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.procurement-desk-card:hover {
  box-shadow: 0 16px 36px -4px rgba(180, 83, 9, 0.12);
  transform: translateY(-2px);
}

.desk-card-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-pill);
  padding: 4px 11px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #047857;
  margin-bottom: 12px;
}

.desk-status-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35);
  animation: pulseLiveDesk 2s infinite;
}

@keyframes pulseLiveDesk {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.desk-card-title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-espresso);
  margin-bottom: 6px;
  line-height: 1.25;
}

.desk-card-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.desk-phone-box {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg);
  padding: 11px 14px;
  text-decoration: none;
  margin-bottom: 14px;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.desk-phone-box:hover {
  background: #fef9ee;
  border-color: var(--caramel-btn);
  transform: translateY(-1px);
}

.desk-phone-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--caramel-btn) 0%, var(--caramel-dark) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(180, 83, 9, 0.25);
}

.desk-phone-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: var(--text-light);
}

.desk-phone-val {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--caramel-btn);
  line-height: 1.1;
  margin-top: 2px;
}

.desk-meta-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.desk-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desk-meta-icon {
  color: var(--caramel-btn);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.desk-rfq-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.22);
}

/* Trust & Settlement Strip */
.footer-trust-strip {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-espresso);
}

.trust-strip-icon {
  font-size: 1.1rem;
  color: var(--caramel-btn);
  flex-shrink: 0;
}

.trust-strip-sep {
  width: 1px;
  height: 20px;
  background: var(--border-strong);
}

/* Bottom Legal Bar */
.footer-bottom-bar {
  border-top: 1px solid var(--border-strong);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-copyright {
  line-height: 1.5;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-legal-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s ease;
}

.footer-legal-link:hover {
  color: var(--caramel-btn);
}

.legal-dot {
  color: var(--border-strong);
  font-size: 0.75rem;
}

/* Modal Window */
.modal-overlay {
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.modal-overlay.active {
  display: flex !important;
}

.modal-inner-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 480px;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-organic-lg);
  border: 1.5px solid var(--border-cream);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-round {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-cream);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-espresso);
  margin-bottom: 4px;
}

.modal-city-badge {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 20px;
}

.modal-form-group {
  margin-bottom: 14px;
}

.modal-form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.modal-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-sm);
  outline: none;
}

.modal-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.modal-submit-btn {
  width: 100%;
}

.toast-box {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--text-espresso);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-organic-lg);
  font-weight: 700;
  z-index: 1005;
  display: none;
  align-items: center;
  gap: 10px;
}

.toast-box.show {
  display: inline-flex !important;
  animation: fadeInUp 0.3s ease;
}

body.modal-open,
body.drawer-open {
  overflow: hidden !important;
}

.icon-paprika {
  color: var(--paprika-orange, #ea580c);
}

/* Form Pages (post-rfq.php & list-business.php) */
.form-hero-banner {
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 60%);
  padding: 50px 0 70px 0;
  border-bottom: 1.5px solid rgba(180, 83, 9, 0.15);
  text-align: center;
}

.form-hero-container {
  max-width: 820px;
}

.form-hero-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: rgba(36, 24, 13, 0.75);
  margin-bottom: 6px;
}

.form-hero-title {
  font-size: 2.8rem;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.form-hero-desc {
  color: rgba(36, 24, 13, 0.85);
  font-size: 1.1rem;
}

.form-highlight-card {
  background: var(--bg-card);
  border: 2px solid var(--sun-gold-dark);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  margin-bottom: 40px;
  box-shadow: var(--shadow-organic-md);
}

.form-highlight-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-espresso);
  margin-bottom: 8px;
}

.form-highlight-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.form-main-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-organic-sm);
}

.form-main-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-espresso);
  margin-bottom: 8px;
}

.form-main-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.form-grid-2col-lg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.form-input-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-sm);
  outline: none;
}

.form-submit-full {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  justify-content: center;
}

/* ==========================================================================
   ENTERPRISE FACILITY PROFILE: LOCATION MAP & REGIONAL TRANSIT CORRIDORS
   ========================================================================== */
.detail-map-box,
.detail-reviews-box {
  background: var(--bg-card);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-organic-sm);
}

.detail-map-header-wrap,
.detail-reviews-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}

.detail-map-heading,
.detail-reviews-heading {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--text-espresso);
  margin-bottom: 6px;
}

.detail-map-subhead {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

.btn-map-ext {
  padding: 8px 18px;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Map Frame & Interactive Container */
.detail-map-visual-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border-cream);
  margin-bottom: 20px;
  background: var(--bg-cream);
  box-shadow: 0 4px 16px rgba(36, 24, 13, 0.05);
}

.detail-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-floating-pin-card {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--border-cream);
  box-shadow: 0 10px 25px rgba(36, 24, 13, 0.16);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  max-width: 320px;
  z-index: 4;
}

.map-pin-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-espresso);
  margin-bottom: 8px;
}

.map-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf-green);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.25);
  display: inline-block;
}

.map-pin-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.map-pin-address i {
  color: var(--caramel-btn);
  font-size: 1.1rem;
  margin-top: 2px;
}

.map-pin-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-espresso);
  line-height: 1.3;
}

.map-pin-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.map-pin-dock-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #166534;
  background: #f0fdf4;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid #bbf7d0;
}

.map-pin-dock-info span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* 3-Column Freight Corridors Grid */
.detail-corridors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.corridor-card {
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.corridor-card:hover {
  transform: translateY(-2px);
  border-color: var(--caramel-btn);
  box-shadow: 0 8px 20px rgba(180, 83, 9, 0.08);
}

.corridor-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.corridor-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fef08a 0%, #facc15 100%);
  color: var(--caramel-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(234, 179, 8, 0.25);
}

.corridor-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  margin-bottom: 4px;
}

.corridor-badge.badge-warning {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}

.corridor-badge.badge-neutral {
  background: #f1f5f9;
  color: #475569;
  border-color: #cbd5e1;
}

.corridor-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-espresso);
  margin: 0;
}

.corridor-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.corridor-foot {
  font-size: 0.76rem;
  color: var(--text-espresso);
  border-top: 1px dashed var(--border-cream);
  padding-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.corridor-foot .icon-green {
  color: var(--leaf-green);
  font-size: 0.85rem;
}

/* Dock Amenities Info Strip */
.detail-map-amenities-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 14px;
  padding: 14px 20px;
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg);
}

.map-amenity-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-espresso);
}

.map-amenity-item i {
  color: var(--leaf-green);
  font-size: 0.9rem;
}

/* ==========================================================================
   ENTERPRISE FACILITY PROFILE: COMMERCIAL REVIEWS & AUDITS MODULE
   ========================================================================== */
.detail-reviews-head-left {
  flex: 1;
}

.detail-reviews-score-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.reviews-large-score {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-espresso);
  line-height: 1;
}

.reviews-stars-display {
  color: var(--sun-gold-dark);
  font-size: 1.15rem;
  letter-spacing: 2px;
  line-height: 1.2;
}

.reviews-count-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.btn-write-review-toggle {
  flex-shrink: 0;
  padding: 11px 22px;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Reviews Summary Bar */
.reviews-summary-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.reviews-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reviews-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-espresso);
}

.reviews-bar-label strong {
  font-weight: 800;
  color: var(--caramel-btn);
}

.reviews-progress-track {
  width: 100%;
  height: 8px;
  background: #ffffff;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.reviews-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b 0%, var(--caramel-btn) 100%);
  border-radius: var(--radius-pill);
}

.reviews-fill-coa {
  width: 99.8%;
}

.reviews-fill-dispatch {
  width: 99.4%;
}

.reviews-fill-pallet {
  width: 100%;
}

/* Expandable Review Submission Form */
.review-form-expandable {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-bottom: 0;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin 0.3s ease;
}

.review-form-expandable.open {
  max-height: 1200px;
  opacity: 1;
  margin-bottom: 28px;
}

.review-form-inner {
  background: #ffffff;
  border: 2px solid var(--sun-gold-dark);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(180, 83, 9, 0.12);
}

.review-form-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-cream);
  padding-bottom: 14px;
}

.review-form-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-espresso);
  margin: 0 0 4px 0;
}

.review-form-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.review-form-close-btn {
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-espresso);
  cursor: pointer;
  transition: all 0.2s ease;
}

.review-form-close-btn:hover {
  background: var(--caramel-btn);
  color: #ffffff;
}

.review-rating-picker-wrap {
  margin-bottom: 18px;
}

.star-rating-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.star-pick-btn {
  background: transparent;
  border: none;
  padding: 4px;
  font-size: 1.5rem;
  color: #d1d5db;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
}

.star-pick-btn:hover,
.star-pick-btn.active {
  color: var(--sun-gold-dark);
}

.star-pick-btn:hover {
  transform: scale(1.15);
}

.star-picker-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-espresso);
  margin-left: 10px;
}

.review-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.review-textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  line-height: 1.5;
}

.review-form-checkbox-row {
  margin-bottom: 20px;
}

.review-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.45;
}

.review-checkbox-label input {
  margin-top: 3px;
  cursor: pointer;
}

.review-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Reviews Feed Cards */
.reviews-feed-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-feed-card {
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: 0 2px 8px rgba(36, 24, 13, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.detail-feed-card:hover {
  transform: translateY(-2px);
  border-color: var(--caramel-btn);
  box-shadow: 0 8px 20px rgba(180, 83, 9, 0.08);
}

.feed-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.feed-stars-col {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feed-stars {
  color: var(--sun-gold-dark);
  font-size: 1rem;
  letter-spacing: 2px;
}

.feed-rating-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-espresso);
}

.review-commodity-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 12px 0;
}

.review-purchased-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  background: #fef3c7;
  color: var(--caramel-btn);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(180, 83, 9, 0.2);
}

.review-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.feed-quote {
  font-size: 0.94rem;
  color: var(--text-cocoa);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
}

/* ==========================================================================
   ENTERPRISE SPOTLIGHT QUICK SEARCH MODAL & DRAWER SEARCH
   ========================================================================== */
.site-search-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 24, 13, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px 20px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.site-search-modal-overlay.active {
  display: flex !important;
  opacity: 1;
}

.site-search-modal-card {
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  box-shadow: 0 25px 60px -10px rgba(36, 24, 13, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(-12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-search-modal-overlay.active .site-search-modal-card {
  transform: translateY(0);
}

.site-search-input-wrap {
  display: flex;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1.5px solid var(--border-cream);
  background: var(--bg-cream);
  gap: 12px;
}

.search-input-icon {
  font-size: 1.25rem;
  color: var(--caramel-btn);
  flex-shrink: 0;
}

.site-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.05rem;
  font-family: inherit;
  font-weight: 600;
  color: var(--text-espresso);
  outline: none;
  padding: 2px 0;
}

.site-search-input::placeholder {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
}

.search-clear-btn {
  background: transparent;
  border: none;
  font-size: 1.15rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.search-clear-btn:hover {
  color: var(--caramel-btn);
}

.search-close-btn {
  background: #ffffff;
  border: 1px solid var(--border-cream);
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.search-close-btn:hover {
  background: var(--caramel-btn);
  border-color: var(--caramel-btn);
}

.search-close-btn:hover kbd {
  color: #ffffff;
}

.search-close-btn kbd {
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* Quick Tags */
.search-quick-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px;
  background: #fffdfa;
  border-bottom: 1px solid var(--border-cream);
  font-size: 0.78rem;
}

.search-tag-label {
  font-weight: 700;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 4px;
}

.search-tag-label i {
  color: var(--sun-gold-dark);
}

.search-quick-tag {
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-espresso);
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.search-quick-tag:hover {
  background: #fef3c7;
  color: var(--caramel-btn);
  border-color: rgba(180, 83, 9, 0.25);
  transform: translateY(-1px);
}

.search-quick-tag i {
  color: var(--caramel-btn);
  font-size: 0.8rem;
}

/* Live Results Feed */
.search-live-results {
  max-height: 420px;
  overflow-y: auto;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #ffffff;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-espresso);
  border: 1px solid transparent;
  transition: all 0.18s ease;
  gap: 14px;
}

.search-result-item:hover,
.search-result-item.highlighted {
  background: #fef9ee;
  border-color: rgba(180, 83, 9, 0.22);
  transform: translateX(3px);
}

.search-result-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.search-res-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: #fef3c7;
  color: var(--caramel-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.search-res-info {
  min-width: 0;
}

.search-res-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-espresso);
  line-height: 1.3;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-highlight {
  background: #fef08a;
  color: var(--caramel-dark);
  font-weight: 800;
  padding: 0 2px;
  border-radius: 2px;
}

.search-res-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.search-res-badge {
  color: var(--caramel-btn);
  font-weight: 700;
}

.search-res-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.search-res-rating {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--caramel-btn);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.search-res-moq {
  font-size: 0.72rem;
  color: var(--text-light);
}

/* Empty State / Prompt */
.search-empty-state {
  text-align: center;
  padding: 36px 20px;
  color: var(--text-muted);
}

.search-empty-icon {
  font-size: 2.2rem;
  color: var(--sun-gold-dark);
  margin-bottom: 12px;
}

.search-empty-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-espresso);
  margin-bottom: 6px;
}

.search-empty-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 360px;
  margin: 0 auto;
  line-height: 1.45;
}

/* View All Row in Search */
.search-view-all-row {
  padding: 10px 14px 4px;
  border-top: 1px dashed var(--border-cream);
  margin-top: 4px;
}

.search-view-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--caramel-btn);
  text-decoration: none;
  transition: all 0.18s ease;
  border: 1px solid var(--border-cream);
}

.search-view-all-btn:hover {
  background: var(--caramel-btn);
  color: #ffffff;
  border-color: var(--caramel-btn);
}

/* Modal Footer */
.search-modal-footer {
  padding: 10px 20px;
  background: var(--bg-cream);
  border-top: 1px solid var(--border-cream);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: var(--text-light);
}

.search-modal-footer strong {
  color: var(--text-espresso);
}

/* Mobile Drawer Search Form */
.drawer-search-form {
  margin: 14px 0 20px 0;
}

.drawer-search-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-cream);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  gap: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.drawer-search-input-wrap:focus-within {
  border-color: var(--caramel-btn);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.15);
}

.drawer-search-icon {
  color: var(--caramel-btn);
  font-size: 0.9rem;
}

.drawer-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.88rem;
  outline: none;
  font-family: inherit;
  color: var(--text-espresso);
}

.drawer-search-btn {
  background: var(--caramel-btn);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.drawer-search-btn:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   WHOLESALE COMMODITY SPOT RATES & MARKET INDICES (market-prices.php)
   ========================================================================== */
.market-hero-banner {
  padding: 40px 0 45px;
}

.market-hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.market-hero-left {
  flex: 1;
  max-width: 720px;
}

.market-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid var(--border-cream);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  color: var(--caramel-dark);
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(36, 24, 13, 0.04);
}

.market-hero-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-espresso);
  line-height: 1.18;
  margin-bottom: 12px;
}

.market-hero-sub {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.market-hero-meta-box {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  box-shadow: 0 10px 30px rgba(36, 24, 13, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 280px;
  flex-shrink: 0;
}

.market-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.market-meta-item:not(:last-child) {
  border-bottom: 1px dashed var(--border-cream);
  padding-bottom: 10px;
}

.market-meta-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
}

.market-meta-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-espresso);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Macro Indices Grid (4-Cards) */
.market-macro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.macro-index-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-organic-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.macro-index-card:hover {
  transform: translateY(-3px);
  border-color: var(--caramel-btn);
  box-shadow: 0 10px 25px rgba(180, 83, 9, 0.1);
}

.macro-index-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.macro-index-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.35;
}

.macro-index-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  white-space: nowrap;
}

.badge-up {
  background: #ecfdf5;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.badge-down {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.badge-neutral {
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid #e5e7eb;
}

.macro-index-val {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-espresso);
  line-height: 1.2;
  margin-bottom: 10px;
}

.macro-index-val small {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.macro-index-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: var(--text-light);
  border-top: 1px dashed var(--border-cream);
  padding-top: 8px;
  flex-wrap: wrap;
  gap: 4px;
}

/* Filter Bar & Mini Search */
.market-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.market-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.market-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-espresso);
  background: var(--bg-card);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  outline: none;
  user-select: none;
}

.market-tab:hover {
  background: #fef3c7;
  color: var(--caramel-btn);
  border-color: rgba(180, 83, 9, 0.3);
  transform: translateY(-1px);
}

.market-tab.active {
  background: var(--caramel-btn);
  color: #ffffff;
  border-color: var(--caramel-btn);
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.25);
}

.market-tab.active i {
  color: #ffffff;
}

.market-tab i {
  color: var(--caramel-btn);
  font-size: 0.85rem;
}

.market-table-empty {
  padding: 48px 20px !important;
  text-align: center;
}

.market-empty-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.market-empty-box i {
  font-size: 2rem;
  color: var(--sun-gold-dark);
  margin-bottom: 4px;
}

.market-empty-box h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-espresso);
  margin: 0;
}

.market-empty-box p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
}

.market-search-mini {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  gap: 10px;
  min-width: 260px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(36, 24, 13, 0.03);
}

.market-search-mini:focus-within {
  border-color: var(--caramel-btn);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.15);
}

.market-search-mini i {
  color: var(--caramel-btn);
  font-size: 0.88rem;
}

.market-search-mini input {
  border: none;
  background: transparent;
  font-size: 0.86rem;
  font-family: inherit;
  color: var(--text-espresso);
  outline: none;
  width: 100%;
}

.market-search-mini input::placeholder {
  color: var(--text-light);
  font-weight: 500;
}

/* Commodity Rates Data Table Card */
.market-table-card {
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-organic-sm);
  margin-bottom: 30px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border-cream) transparent;
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
  background: #faf6ee;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: var(--border-cream);
  border-radius: 4px;
}

.market-data-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  text-align: left;
}

.market-data-table thead {
  background: #fbf7ee;
  border-bottom: 1.5px solid var(--border-cream);
}

.market-data-table th {
  padding: 13px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  white-space: nowrap;
}

.market-data-table th:first-child,
.market-data-table td:first-child {
  padding-left: 20px;
}

.market-data-table th:last-child,
.market-data-table td:last-child {
  padding-right: 20px;
}

.market-data-table tbody tr {
  border-bottom: 1px solid var(--border-cream);
  transition: background 0.15s ease;
}

.market-data-table tbody tr:hover {
  background: #fffcf4;
}

.market-data-table td {
  padding: 12px 12px;
  vertical-align: middle;
  font-size: 0.86rem;
  color: var(--text-espresso);
}

.commodity-name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.commodity-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: #fef3c7;
  color: var(--caramel-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(180, 83, 9, 0.1);
}

.commodity-title {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-espresso);
  display: block;
  line-height: 1.25;
}

.commodity-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  display: block;
  margin-top: 1px;
}

.terminal-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-espresso);
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.terminal-badge i {
  color: var(--caramel-btn);
  font-size: 0.76rem;
}

.price-val-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 130px;
}

.price-num-row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.price-main {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-espresso);
  line-height: 1;
}

.price-unit {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
}

.price-delta-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  line-height: 1.2;
}

.sparkline-wrap {
  width: 76px;
  height: 24px;
  display: flex;
  align-items: center;
}

.sparkline-svg {
  width: 76px;
  height: 22px;
  overflow: visible;
}

.range-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 82px;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.2px;
}

.range-sep {
  color: var(--text-light);
}

.range-track {
  width: 100%;
  height: 4px;
  background: #e5e7eb;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.range-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, var(--caramel-btn));
  border-radius: var(--radius-pill);
}

.outlook-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-cocoa);
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.outlook-badge i {
  color: var(--caramel-btn);
  font-size: 0.76rem;
}

.th-action,
.td-action,
.text-right {
  text-align: right;
}

.btn-source-lots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--caramel-btn);
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.2);
}

.btn-source-lots:hover {
  background: var(--caramel-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(180, 83, 9, 0.3);
  color: #ffffff;
}

.btn-source-lots i {
  font-size: 0.72rem;
  transition: transform 0.15s ease;
}

.btn-source-lots:hover i {
  transform: translateX(3px);
}

.btn-source-quote {
  background: #1e3a8a !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(30, 58, 138, 0.25) !important;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-source-quote:hover {
  background: #172554 !important;
  box-shadow: 0 5px 14px rgba(30, 58, 138, 0.4) !important;
  color: #ffffff !important;
}

/* Market Inquire Button */
.btn-sm-inquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--caramel-btn, #b45309);
  color: #ffffff !important;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill, 9999px);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.2);
  font-family: inherit;
  line-height: 1.2;
}

.btn-sm-inquire:hover {
  background: var(--caramel-dark, #92400e);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(180, 83, 9, 0.3);
}

.btn-sm-inquire:active {
  transform: translateY(0);
}

.btn-sm-inquire i {
  font-size: 0.74rem;
}

/* 7-Day Trend Badge */
.trend-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill, 9999px);
  white-space: nowrap;
  line-height: 1.2;
}

.trend-badge.badge-up {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.trend-badge.badge-down {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.trend-badge.badge-neutral {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.trend-badge i {
  font-size: 0.72rem;
}

/* 7d Range Sparkline Container & Labels */
.sparkline-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 96px;
}

.sparkline-svg {
  width: 96px;
  height: 22px;
  overflow: visible;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.04));
}

.sparkline-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
  letter-spacing: -0.2px;
}

.price-meta-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* Editorial Macro Supply Briefing Card */
.market-briefing-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 28px 30px;
  box-shadow: var(--shadow-organic-sm);
  margin-bottom: 30px;
}

.market-briefing-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-cream);
  padding-bottom: 20px;
}

.market-briefing-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-espresso);
  margin: 4px 0 6px 0;
}

.market-briefing-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.market-intel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.intel-col {
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.intel-col-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.intel-col-head h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-espresso);
  margin: 0;
}

.intel-col p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.intel-meta-foot {
  font-size: 0.78rem;
  color: var(--text-espresso);
  border-top: 1px dashed var(--border-cream);
  padding-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Sourcing Action CTA Banner */
.market-cta-banner {
  background: linear-gradient(135deg, #fef9ee 0%, #fef3c7 100%);
  border: 2px solid var(--sun-gold-dark);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(180, 83, 9, 0.08);
}

.market-cta-left {
  max-width: 650px;
}

.market-cta-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-espresso);
  margin-bottom: 8px;
}

.market-cta-desc {
  font-size: 0.9rem;
  color: var(--text-cocoa);
  line-height: 1.55;
  margin: 0;
}

.market-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ============================================================================
   1. CERTIFICATE OF ANALYSIS (COA) OFFICIAL LAB AUDIT MODAL
   ============================================================================ */
.coa-modal-overlay {
  z-index: 10000;
  background: rgba(28, 20, 13, 0.78);
  backdrop-filter: blur(6px);
  padding: 20px;
  display: none;
  align-items: center;
  justify-content: center;
}

.coa-modal-overlay.active {
  display: flex;
}

.coa-modal-sheet {
  background: #ffffff;
  border: 2px solid var(--border-cream);
  border-radius: var(--radius-xl);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(36, 24, 13, 0.35);
  padding: 36px 40px;
}

.coa-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f5f0e6;
  color: var(--text-espresso);
  border: 1px solid var(--border-cream);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.coa-close-btn:hover {
  background: var(--caramel-btn);
  color: #ffffff;
  transform: rotate(90deg);
}

.coa-doc-header {
  border-bottom: 2px solid var(--text-espresso);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.coa-header-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.coa-header-logo-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.coa-official-seal {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 2px solid var(--sun-gold-dark);
  color: var(--caramel-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.15);
}

.coa-official-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--caramel-btn);
  display: block;
  margin-bottom: 4px;
}

.coa-doc-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-espresso);
  margin: 0 0 4px;
  line-height: 1.2;
}

.coa-doc-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.coa-header-stamp-box {
  border: 2px dashed #16a34a;
  border-radius: 8px;
  padding: 8px 14px;
  text-align: center;
  background: #f0fdf4;
  transform: rotate(-2deg);
}

.coa-stamp-inner {
  display: flex;
  flex-direction: column;
}

.coa-stamp-status {
  font-size: 0.95rem;
  font-weight: 900;
  color: #16a34a;
  letter-spacing: 1px;
}

.coa-stamp-spec,
.coa-stamp-date {
  font-size: 0.65rem;
  font-weight: 700;
  color: #15803d;
  letter-spacing: 0.5px;
}

.coa-origin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  background: #faf6ee;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.coa-meta-card {
  display: flex;
  flex-direction: column;
}

.coa-meta-k {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.coa-meta-v {
  font-size: 0.92rem;
  color: var(--text-espresso);
  font-weight: 700;
  line-height: 1.3;
}

.coa-meta-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.coa-table-wrap {
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}

.coa-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.coa-specs-table thead th {
  background: #24180d;
  color: #fef3c7;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

.coa-specs-table thead th.text-right {
  text-align: right;
}

.coa-cat-header-row td {
  background: #f5ede0;
  font-weight: 800;
  color: var(--text-espresso);
  padding: 8px 14px;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  border-top: 1px solid var(--border-cream);
  border-bottom: 1px solid var(--border-cream);
}

.coa-specs-table tbody tr td {
  padding: 10px 14px;
  border-bottom: 1px solid #f0e6d6;
  color: var(--text-cocoa);
}

.coa-specs-table tbody tr:hover td {
  background: #fffdf9;
}

.coa-pass-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.coa-validation-footer {
  border-top: 2px solid var(--border-cream);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.coa-cursive-sig {
  font-family: 'Brush Script MT', cursive, sans-serif;
  font-size: 1.8rem;
  color: #1e3a8a;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.coa-sign-title {
  font-size: 0.85rem;
  color: var(--text-espresso);
}

.coa-sign-sub,
.coa-sign-date {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.coa-barcode-block {
  text-align: center;
}

.coa-barcode-mock {
  font-family: monospace;
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: var(--text-espresso);
  font-weight: 900;
  line-height: 1;
}

.coa-barcode-num {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: monospace;
  display: block;
  margin-top: 4px;
}

.coa-actions-cluster {
  display: flex;
  gap: 10px;
}

.coa-disclaimer-note {
  font-size: 0.72rem;
  color: var(--text-light);
  line-height: 1.4;
  border-top: 1px dashed var(--border-cream);
  padding-top: 12px;
  text-align: center;
}

.lot-coa-link {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--caramel-btn);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lot-coa-link:hover {
  text-decoration: underline;
  color: var(--caramel-hover);
}

/* ============================================================================
   2. SUPPLIER PLANS & MEMBERSHIP PRICING TIERS (list-business.php)
   ============================================================================ */
.plans-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.plans-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.plans-section-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-espresso);
  margin: 0 0 12px;
  line-height: 1.2;
}

.plans-section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 24px;
}

/* Interactive Billing Toggle Switch */
.pricing-billing-toggle-wrap {
  display: inline-flex;
  align-items: center;
  background: #f3ece0;
  padding: 5px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-cream);
  box-shadow: inset 0 2px 4px rgba(36, 24, 13, 0.05);
}

.billing-toggle-btn {
  background: transparent;
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-cocoa);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.billing-toggle-btn.active {
  background: #ffffff;
  color: var(--text-espresso);
  box-shadow: 0 2px 8px rgba(36, 24, 13, 0.1);
}

.annual-discount-pill {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.4px;
}

/* 3-Column Luxury Pricing Grid */
.pricing-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
  align-items: stretch;
}

.pricing-tier-card {
  border-radius: 20px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Plan 1: Standard Verified (Porcelain Minimalist) */
.tier-standard {
  background: #ffffff;
  border: 2px solid var(--border-cream);
  box-shadow: 0 4px 18px rgba(36, 24, 13, 0.04);
}

.tier-standard:hover {
  border-color: #d1b89d;
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(36, 24, 13, 0.08);
}

.tier-standard.active {
  border-color: var(--caramel-btn);
  box-shadow: 0 0 0 3px rgba(194, 93, 20, 0.2), 0 14px 30px rgba(36, 24, 13, 0.08);
}

/* Plan 2: FLAGSHIP LUXURY OBSIDIAN / GOLD CARD */
.tier-flagship {
  background: linear-gradient(155deg, #1c140d 0%, #2b1d12 60%, #1a120b 100%);
  border: 2px solid #f59e0b;
  box-shadow: 0 16px 40px rgba(28, 20, 13, 0.35), 0 0 0 1px rgba(245, 158, 11, 0.3);
  transform: scale(1.03);
  z-index: 2;
}

.tier-flagship:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 24px 50px rgba(28, 20, 13, 0.45), 0 0 25px rgba(245, 158, 11, 0.25);
}

.tier-flagship.active {
  border-color: #fbbf24;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.35), 0 20px 45px rgba(28, 20, 13, 0.4);
}

.tier-crown-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
  white-space: nowrap;
}

/* Plan 3: Enterprise Slate Card */
.tier-enterprise {
  background: linear-gradient(160deg, #fbfbfa 0%, #f4f3ef 100%);
  border: 2px solid #d6cfc7;
  box-shadow: 0 4px 18px rgba(36, 24, 13, 0.04);
}

.tier-enterprise:hover {
  border-color: #94a3b8;
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(36, 24, 13, 0.08);
}

.tier-enterprise.active {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2), 0 14px 30px rgba(36, 24, 13, 0.08);
}

/* Pricing Typography */
.tier-badge-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: #f5ede0;
  color: var(--text-espresso);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.tier-badge-gold {
  background: rgba(254, 243, 199, 0.15);
  color: #fde68a;
  border: 1px solid rgba(253, 230, 138, 0.25);
}

.tier-badge-enterprise {
  background: #e2e8f0;
  color: #1e293b;
}

.tier-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-espresso);
  margin: 0 0 8px;
}

.tier-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0 0 20px;
  min-height: 48px;
}

.tier-desc-dark {
  color: #d1b89d;
}

.tier-price-box {
  background: rgba(245, 237, 224, 0.4);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}

.tier-flagship .tier-price-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(253, 230, 138, 0.15);
}

.tier-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.tier-currency {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-espresso);
}

.tier-amount {
  font-size: 3.1rem;
  font-weight: 900;
  color: var(--text-espresso);
  line-height: 1;
}

.tier-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.tier-billed-note {
  font-size: 0.74rem;
  color: var(--text-light);
  display: block;
  margin-top: 4px;
}

.text-white {
  color: #ffffff !important;
}

.text-gold {
  color: #fbbf24 !important;
}

.text-gold-muted {
  color: #d1b89d !important;
}

.icon-gold {
  color: #fbbf24 !important;
}

.tier-features-wrap {
  margin-bottom: 28px;
}

.tier-features-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-light);
  display: block;
  margin-bottom: 12px;
}

.tier-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--text-espresso);
}

.tier-features-dark {
  color: #f3f0ea;
}

.tier-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.35;
}

.tier-features-list li i {
  margin-top: 3px;
  flex-shrink: 0;
}

.btn-tier-action {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.btn-tier-light {
  background: #ffffff;
  color: var(--text-espresso);
  border: 1px solid var(--border-strong);
}

.btn-tier-light:hover {
  background: var(--sun-gold-light);
  border-color: var(--caramel-btn);
}

.btn-tier-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.4);
}

.btn-tier-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.55);
}

.btn-tier-enterprise {
  background: #1e293b;
  color: #ffffff;
  border: none;
}

.btn-tier-enterprise:hover {
  background: #0f172a;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.3);
}

.tier-standard.active .btn-tier-action {
  background: var(--caramel-btn);
  color: #ffffff;
  border-color: var(--caramel-btn);
}

.form-selected-plan-banner {
  background: #fef9ee;
  border: 1px solid var(--sun-gold-dark);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.selected-plan-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.selected-plan-left i {
  font-size: 1.4rem;
}

.selected-plan-label {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.selected-plan-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-espresso);
}

.btn-change-tier {
  background: transparent;
  border: 1px solid var(--caramel-btn);
  color: var(--caramel-btn);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-change-tier:hover {
  background: var(--caramel-btn);
  color: #ffffff;
}

/* ============================================================================
   3. FREIGHT CALCULATOR & EXPORT / PRINT BAR (market-prices.php)
   ============================================================================ */
.freight-calculator-card {
  background: #ffffff;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  margin-bottom: 28px;
  box-shadow: 0 6px 20px rgba(36, 24, 13, 0.05);
}

.freight-calc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  border-bottom: 1px solid var(--border-cream);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.freight-calc-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.freight-calc-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fef3c7;
  color: var(--caramel-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.freight-calc-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-espresso);
  margin: 4px 0 2px;
}

.freight-calc-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
}

.freight-benchmark-badge {
  background: #faf6ee;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg);
  padding: 8px 16px;
  text-align: right;
  flex-shrink: 0;
}

.benchmark-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--caramel-btn);
  display: block;
}

.benchmark-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.freight-calc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 16px;
  margin-bottom: 22px;
}

.calc-field-group {
  display: flex;
  flex-direction: column;
}

.calc-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-espresso);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.calc-custom-select-wrap {
  position: relative;
  width: 100%;
}

.calc-custom-select-wrap .select-left-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--caramel-btn);
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 10;
}

.calc-custom-select-wrap .select-caret-icon {
  display: none !important;
}

.calc-custom-select-wrap .custom-select-wrapper {
  width: 100%;
}

.calc-custom-select-wrap .custom-select-trigger {
  padding: 12px 16px 12px 42px;
  border-radius: var(--radius-lg);
  font-size: 0.88rem;
  font-weight: 600;
  border-width: 1.5px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(36, 24, 13, 0.03);
}

.calc-custom-select-wrap .custom-select-trigger:hover {
  border-color: #d1b89d;
  background: #fffdfa;
}

.calc-custom-select-wrap .custom-select-wrapper.open .custom-select-trigger {
  border-color: var(--caramel-btn);
  box-shadow: 0 0 0 3.5px rgba(194, 93, 20, 0.15);
}

.calc-select {
  width: 100%;
  padding: 12px 38px 12px 38px;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-lg);
  background: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-espresso);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: 0 2px 6px rgba(36, 24, 13, 0.03);
  transition: all 0.2s ease;
}

.calc-select:hover {
  border-color: #d1b89d;
  background: #fffdfa;
}

.calc-select:focus {
  border-color: var(--caramel-btn);
  box-shadow: 0 0 0 3px rgba(194, 93, 20, 0.15);
  background: #ffffff;
}

.freight-calc-footnote {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: #fbf9f4;
  border: 1px solid var(--border-cream);
  font-size: 0.76rem;
  color: var(--text-cocoa);
  line-height: 1.45;
}

.freight-results-bar {
  background: linear-gradient(135deg, #fef9ee, #fef3c7);
  border: 1px solid var(--sun-gold-dark);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.freight-res-item {
  display: flex;
  flex-direction: column;
}

.freight-res-k {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.freight-res-v {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-espresso);
  line-height: 1.2;
}

.freight-res-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.market-filter-right-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
}

.market-export-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-market-action {
  background: #ffffff;
  border: 1px solid var(--border-cream);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-espresso);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-market-action:hover {
  background: var(--caramel-btn);
  color: #ffffff;
  border-color: var(--caramel-btn);
  transform: translateY(-1px);
}

/* ============================================================================
   4. BUYER SHORTLIST SYSTEM (DRAWER, COUNTER, AND CARD BUTTONS)
   ============================================================================ */
.header-shortlist-trigger {
  position: relative;
}

.shortlist-counter {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--caramel-btn);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.btn-card-bookmark {
  background: transparent;
  border: 1px solid var(--border-cream);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-card-bookmark:hover {
  background: #fef3c7;
  color: var(--caramel-btn);
  border-color: var(--sun-gold-dark);
}

.btn-card-bookmark.active {
  background: #fef3c7;
  color: var(--caramel-btn);
  border-color: var(--sun-gold-dark);
}

.btn-detail-save.active {
  background: #fef3c7;
  color: var(--caramel-btn);
  border-color: var(--sun-gold-dark);
}

.pro-title-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shortlist-drawer-card {
  background: #ffffff;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(36, 24, 13, 0.35);
}

.shortlist-drawer-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-cream);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #faf6ee;
}

.shortlist-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shortlist-head-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fef3c7;
  color: var(--caramel-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.shortlist-drawer-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-espresso);
  margin: 0;
}

.shortlist-drawer-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.shortlist-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-clear-shortlist {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-clear-shortlist:hover {
  color: #dc2626;
}

.shortlist-feed {
  padding: 16px 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shortlist-empty-box {
  text-align: center;
  padding: 40px 20px;
}

.shortlist-empty-icon {
  font-size: 2.2rem;
  color: #d6d3d1;
  margin-bottom: 12px;
}

.shortlist-empty-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-espresso);
  margin: 0 0 6px;
}

.shortlist-empty-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto;
}

.shortlist-item-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg);
  background: #fffdf9;
  transition: all 0.2s ease;
}

.shortlist-item-card:hover {
  border-color: var(--border-strong);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(36, 24, 13, 0.05);
}

.shortlist-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shortlist-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #f5ede0;
  color: var(--caramel-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.shortlist-item-title {
  margin: 0 0 3px;
  font-size: 0.94rem;
  font-weight: 700;
}

.shortlist-item-title a {
  color: var(--text-espresso);
  text-decoration: none;
}

.shortlist-item-title a:hover {
  color: var(--caramel-btn);
}

.shortlist-item-meta {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.shortlist-cat-badge {
  background: #f3eee6;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-espresso);
  font-weight: 600;
}

.shortlist-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-shortlist-quote {
  background: var(--caramel-btn);
  color: #ffffff;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-shortlist-quote:hover {
  background: var(--caramel-hover);
}

.btn-shortlist-del {
  background: transparent;
  border: 1px solid var(--border-cream);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-shortlist-del:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

.shortlist-drawer-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-cream);
  background: #faf6ee;
}

.btn-batch-quote {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ============================================================================
   5. PRINT STYLESHEET (CLEAN PRINT FOR COA & MARKET PRICES)
   ============================================================================ */
.market-print-header {
  display: none;
}

@media print {
  @page {
    size: letter portrait;
    margin: 12mm 12mm 12mm 12mm;
  }

  /* Universal hide for non-printable website chrome */
  header,
  footer,
  nav,
  .artisanal-header,
  .artisanal-footer,
  .directory-hero-banner,
  .market-hero-banner,
  .form-hero-banner,
  .torn-paper-edge-bottom,
  .torn-paper-edge-top,
  .freight-calculator-card,
  .market-macro-grid,
  .market-filter-bar,
  .market-briefing-card,
  .market-cta-banner,
  .mobile-bottom-bar,
  .site-search-modal-overlay,
  .modal-overlay,
  .shortlist-overlay,
  .btn-caramel-pill,
  .btn-outline-caramel,
  .btn-source-lots,
  .btn-market-action,
  .th-action,
  .td-action,
  .toast-box,
  #marketEmptyRow,
  .search-modal-footer,
  .plans-section-header,
  .pricing-tiers-grid,
  .form-main-card,
  .supplier-detail-sidebar,
  .detail-reviews-box,
  .detail-dock-card,
  .detail-map-box,
  .lab-actions-row,
  .coa-close-btn,
  .coa-actions-cluster {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 8.5pt !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .container,
  .detail-content-section,
  .market-content-section {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* -------------------------------------------------------------
     A. MARKET COMMODITY SHEET PRINT LAYOUT
     ------------------------------------------------------------- */
  .market-print-header {
    display: block !important;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #111827;
  }

  .print-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  .print-brand-title {
    font-family: serif;
    font-size: 14pt;
    font-weight: 800;
    color: #111827;
    margin: 0 0 2px;
  }

  .print-brand-sub {
    font-size: 8.5pt;
    color: #4b5563;
  }

  .print-header-meta {
    font-size: 8pt;
    color: #374151;
    text-align: right;
    line-height: 1.35;
  }

  .market-table-card {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .table-responsive {
    overflow: visible !important;
  }

  .market-data-table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 8pt !important;
  }

  /* Repeat table headers on every printed page */
  .market-data-table thead {
    display: table-header-group !important;
  }

  .market-data-table thead th {
    background: #f3f4f6 !important;
    color: #111827 !important;
    border: 1px solid #d1d5db !important;
    padding: 6px 8px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 7.5pt !important;
  }

  /* Prevent row breaking across page cuts */
  .market-data-table tbody tr {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .market-data-table tbody tr td {
    border: 1px solid #e5e7eb !important;
    padding: 5px 8px !important;
    color: #1f2937 !important;
    background: #ffffff !important;
  }

  .sparkline-wrap,
  .sparkline-svg {
    display: none !important;
  }

  /* -------------------------------------------------------------
     B. CERTIFICATE OF ANALYSIS (COA) PRINT LAYOUT
     ------------------------------------------------------------- */
  .coa-modal-overlay {
    display: block !important;
    position: static !important;
    padding: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
  }

  .coa-modal-sheet {
    box-shadow: none !important;
    border: none !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .coa-origin-grid {
    background: #f9fafb !important;
    border: 1px solid #d1d5db !important;
    page-break-inside: avoid !important;
  }

  .coa-specs-table thead {
    display: table-header-group !important;
  }

  .coa-specs-table tr {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .coa-validation-footer {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    border-top: 1.5px solid #111827 !important;
    margin-top: 14px !important;
    padding-top: 12px !important;
  }
}

/* Responsive adjustments for 3 tiers and freight grid */
@media (max-width: 992px) {
  .pricing-tiers-grid {
    grid-template-columns: 1fr;
  }

  .freight-calc-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   USDA FEDERAL ESTABLISHMENT REGISTRY LOOKUP (7,240 LIVE PLANTS)
   ========================================================================== */
.usda-registry-banner {
  background: linear-gradient(135deg, #0e1e17 0%, #152c22 50%, #0d1a14 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  margin-bottom: 30px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(10, 24, 18, 0.25);
  position: relative;
  overflow: hidden;
}

.usda-registry-banner::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.usda-registry-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.usda-registry-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.usda-seal-emblem {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1.5px solid #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #34d399;
  flex-shrink: 0;
}

.usda-registry-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #f9fafb;
  margin: 0;
}

.usda-registry-subtitle {
  font-size: 0.82rem;
  color: #9ca3af;
  margin: 2px 0 0 0;
}

.usda-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.3px;
}

.usda-live-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.usda-search-controls {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 12px;
  align-items: center;
}

.usda-search-box {
  position: relative;
}

.usda-search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 0.9rem;
}

.usda-search-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.usda-search-input:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: #34d399;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.usda-state-select {
  padding: 12px 14px;
  background: #152c22;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.usda-search-btn {
  padding: 12px 22px;
  background: #10b981;
  color: #064e3b;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.usda-search-btn:hover {
  background: #34d399;
  transform: translateY(-1px);
}

/* Results Drawer/Card Feed */
.usda-results-drawer {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}

.usda-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: #9ca3af;
}

.usda-results-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
}

.usda-results-cards-grid::-webkit-scrollbar {
  width: 6px;
}

.usda-results-cards-grid::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.4);
  border-radius: 999px;
}

.usda-plant-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.usda-plant-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

.usda-plant-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.usda-est-pill {
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.usda-size-pill {
  font-size: 0.7rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.usda-plant-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.usda-plant-address {
  font-size: 0.8rem;
  color: #d1d5db;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.usda-plant-address i {
  color: #34d399;
  margin-top: 2px;
  font-size: 0.85rem;
}

.usda-plant-phone {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.usda-plant-activities {
  font-size: 0.74rem;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.08);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.usda-plant-action-btn {
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid #10b981;
  color: #34d399;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.usda-plant-action-btn:hover {
  background: #10b981;
  color: #064e3b;
}

@media (max-width: 768px) {
  .usda-search-controls {
    grid-template-columns: 1fr;
  }
}

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

  .coa-origin-grid {
    grid-template-columns: 1fr;
  }

  .market-filter-right-cluster {
    flex-direction: column;
    width: 100%;
  }

  .market-export-btns {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   INFINITE SCROLL LOADER & STATUS STYLES
   ========================================================================== */
.infinite-scroll-sentinel {
  height: 50px;
  width: 100%;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.infinite-scroll-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(36, 24, 13, 0.05);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--caramel-btn);
}

.infinite-scroll-loader i {
  font-size: 1.1rem;
}

.infinite-scroll-end {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Public Clean Surfaces & Fallbacks */
.adm-card {
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-organic-sm);
  margin-bottom: 24px;
}

.adm-input {
  width: 100%;
  padding: 10px 14px;
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-espresso);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.adm-input:focus {
  border-color: var(--caramel-btn);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.15);
}

.btn-adm-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid var(--border-cream);
  color: var(--text-espresso);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-adm-outline:hover {
  border-color: var(--caramel-btn);
  color: var(--caramel-btn);
  background: #fef3c7;
}