/* ===============================
   SUPPLIER DETAILS PAGE
   =============================== */

:root {
  --primary: #e67e22;
  --secondary: #2c3e50;
  --light-bg: #fafafa;
  --border-color: #e5e5e5;
  --text-dark: #333;
  --text-muted: #777;
}

/* ---------- Breadcrumb ---------- */
.supplier-breadcrumb {
  margin-bottom: 1.5rem;
}

.supplier-breadcrumb .breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.supplier-breadcrumb .breadcrumb-item a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 500;
}

.supplier-breadcrumb .breadcrumb-item.active {
  color: var(--primary);
  font-weight: 600;
}

/* ---------- Card Wrapper ---------- */
.supplier-details-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.8rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* ---------- Header ---------- */
.supplier-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.supplier-name {
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.2rem;
}

.supplier-location {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.supplier-location i {
  color: var(--primary);
  margin-right: 5px;
}

/* ---------- Category Badge ---------- */
.supplier-category-badge {
  display: inline-block;
  background: rgba(230, 126, 34, 0.1);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Info Lists ---------- */
.supplier-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.supplier-info-list li {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
}

.supplier-info-list i {
  width: 22px;
  color: var(--primary);
  margin-right: 8px;
  font-size: 1rem;
}

/* ---------- Sections ---------- */
.supplier-section {
  border-top: 1px solid var(--border-color);
  padding-top: 1.3rem;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.8rem;
}

/* ---------- Tags ---------- */
.supplier-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.supplier-tags .tag {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 500;
}

/* ---------- Description ---------- */
.supplier-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
}

/* ---------- Action Buttons ---------- */
.supplier-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}

.supplier-actions .btn {
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .supplier-details-card {
    padding: 1.3rem;
  }

  .supplier-name {
    font-size: 1.1rem;
  }

  .supplier-icon {
    width: 70px;
    height: 70px;
  }

  .supplier-actions {
    flex-direction: column;
  }

  .supplier-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===============================
   Sticky Mobile Action Bar
================================ */

.mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 9999;
  background: #ffffff;
  border-top: 1px solid #e5e5e5;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
}

/* Buttons */
.mobile-action-bar .action-btn {
  flex: 1;
  text-align: center;
  padding: 14px 0;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Call Button */
.mobile-action-bar .call-btn {
  background: #2ecc71;
  color: #ffffff;
}

/* Enquiry Button */
.mobile-action-bar .enquiry-btn {
  background: #e67e22;
  color: #ffffff;
}

/* Icons */
.mobile-action-bar i {
  font-size: 1.05rem;
}

/* Prevent overlap with page content */
@media (max-width: 767px) {
  body {
    padding-bottom: 64px;
  }
}
li a {
  color: #c46a00;
  text-decoration: none;
  font-weight: 600;
}

li a:hover {
  text-decoration: underline;
  color: #a05500;
}

/* ================= SUPPLIER BANNER ================= */

/* Supplier Banner */
.supplier-banner {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #f8f9fa;
}

/* Banner Image */
.supplier-banner-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Tablet */
@media (max-width: 991px) {
  .supplier-banner-img {
    height: 220px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .supplier-banner-img {
    height: 180px;
    border-radius: 8px;
  }
}

