/** General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f9fbfd;
  color: #333;
}

/** Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #0078d7, #00b050);
  padding: 1rem 2rem;
  color: #fff;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

/** Refined Logo Styling */
.logo {
  height: 55px;                /** slightly taller */
  width: auto;                 /** keeps the original proportions */
  max-height: 60px;            /** limits stretching on big screens */
  object-fit: contain;
  border-radius: 6px;          /** optional: soft rounded corners */
}

.main-nav a {
  color: #fff;
  margin-left: 1rem;
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover {
  text-decoration: underline;
}

/** Hero section */
.hero-section {
  text-align: center;
  margin: 5rem auto;
  padding: 2rem;
}

.hero-section h2 {
  font-size: 2rem;
  color: #0078d7;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

button {
  background: #00b050;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

button:hover {
  background: #009240;
}

/** Footer */
.site-footer {
  background: #0078d7;
  color: #fff;
  text-align: center;
  padding: 1rem;
  position: fixed;
  width: 100%;
  bottom: 0;
}
/** Modules Section */
.modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1100px;
  padding: 0 1rem;
}

.module-card {
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 1.5rem;
 width: 100%;
max-width: none;
  text-align: center;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s;
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ===== HOME MODULE ICONS STRONGER ===== */
.module-card img,
.modules img {
  width: 100%;
  height: 120px;          /* 🔥 was probably 70–90px */
  object-fit: contain;
  margin-bottom: 14px;

  transform: scale(1.15); /* 🔥 slightly enlarge */
}
.module-card img {
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.08));
}

.module-card {
  padding: 22px 18px 26px;  /* slightly taller */
}

.module-card h3 {
  color: #0078d7;
  margin-bottom: 0.5rem;
}

.module-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
}

.module-card button {
  background: #00b050;
  color: #fff;
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
}

.module-card button:hover {
  background: #009240;
}
/** Active navigation link */
.active-link {
  border-bottom: 2px solid #00b050;
  font-weight: bold;
  color: #00b050 !important;
}
/** Header layout */
.title-area {
  display: flex;
  flex-direction: column;
}

.title-area h1 {
  font-size: 1.6rem;
  margin: 0;
}

.title-area .tagline {
  font-size: 0.9rem;
  color: #f0f0f0;
  font-style: italic;
}
/** Footer styling */
.site-footer {
  background: linear-gradient(90deg, #0078d7, #00b050);
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 3rem;
  width: 100%;
  bottom: 0;
}

.footer-content p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
}

.footer-tagline {
  font-style: italic;
  opacity: 0.9;
}
/* Account Page Styling (FIXED: remove huge empty space) */
.account-page {
  display: flex;
  justify-content: center;     /* keep centered horizontally */
  align-items: flex-start;     /* ✅ start from top, not middle */
  min-height: auto;            /* ✅ stop forcing big height */
  padding: 24px 16px;          /* ✅ nice spacing */
  background: #f9fbfd;
}

.account-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 350px;
  text-align: center;
}

.account-card h2 {
  color: #0078d7;
  margin-bottom: 1.5rem;
}

.account-card form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.account-card input {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.account-card button {
  background: #00b050;
  color: #fff;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.account-card button:hover {
  background: #009240;
}

.account-links {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.account-links a {
  color: #0078d7;
  text-decoration: none;
}

.account-links a:hover {
  text-decoration: underline;
}
/** Login toggle buttons */
.login-toggle {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.login-toggle button {
  background: #f1f1f1;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  font-weight: 500;
}

.login-toggle button.active {
  background: #00b050;
  color: white;
  border: none;
}
/** Hardware page */
.hardware-hero {
  text-align: center;
  padding: 2rem;
  background: #f9fbfd;
}

.hardware-hero input {
  padding: 0.7rem;
  width: 80%;
  max-width: 400px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 1rem;
}

.hardware-categories {
  text-align: center;
  margin: 2rem auto;
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.category-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 180px;
  padding: 1rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.category-card:hover {
  transform: scale(1.05);
}

.category-card img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.product-section {
  text-align: center;
  margin: 3rem auto;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.product-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 220px;
  padding: 1rem;
}

.product-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.product-card .price {
  color: #0078d7;
  font-weight: bold;
}

.product-buttons button {
  margin: 0.2rem;
  padding: 0.5rem 0.8rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: #00b050;
  color: white;
  font-size: 0.9rem;
}

.product-buttons button:hover {
  background: #009240;
}

/** Custom request section */
.custom-request {
  text-align: center;
  background: #f2f7f4;
  padding: 2rem;
}

.request-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.request-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 1.5rem;
  width: 300px;
}

.request-card input,
.request-card textarea {
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.request-card button {
  background: #0078d7;
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
}

.request-card button:hover {
  background: #005fa3;
}
/** Home Services page */
.services-hero {
  text-align: center;
  background: #f9fbfd;
  padding: 2rem;
}
.services-hero input {
  padding: 0.7rem;
  width: 80%;
  max-width: 400px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 1rem;
}

.service-categories {
  text-align: center;
  margin: 2rem auto;
}
.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.service-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 220px;
  padding: 1rem;
  text-align: center;
}
.service-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}
.book-btn {
  background: #00b050;
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  cursor: pointer;
}
.book-btn:hover { background: #009240; }

/** Custom service form */
.custom-service {
  background: #f2f7f4;
  text-align: center;
  padding: 2rem;
}
.custom-service-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
}
.custom-service-form input,
.custom-service-form textarea {
  width: 90%;
  max-width: 400px;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.custom-service-form button {
  background: #0078d7;
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  width: 200px;
  cursor: pointer;
}
.custom-service-form button:hover { background: #005fa3; }
/** ==== HOME SERVICES PAGE ==== */
.services-hero {
  text-align: center;
  background: #f9fbfd;
  padding: 2rem;
  border-bottom: 2px solid #e0e0e0;
}

.services-hero h2 {
  color: #0078d7;
  margin-bottom: 0.5rem;
}

.services-hero p {
  color: #444;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.services-hero input {
  padding: 0.8rem;
  width: 80%;
  max-width: 400px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 1rem;
}

/** Category header */
.service-category {
  background: #fff;
  margin: 2rem auto;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  width: 95%;
  max-width: 900px;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid #00b050;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.category-header img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.category-header h3 {
  color: #0078d7;
  font-size: 1.3rem;
  margin: 0;
}

/** Service item cards */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.service-item {
  background: #fefefe;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.service-item h4 {
  color: #222;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.service-item p {
  margin: 0.3rem 0;
  color: #555;
}

.service-item .price {
  color: #00b050;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.actions button {
  background: #0078d7;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
}

.actions button:hover {
  background: #005fa3;
}

.actions .schedule-btn {
  background: #00b050;
}

.actions .schedule-btn:hover {
  background: #009240;
}

/** Booking Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.4rem;
  cursor: pointer;
  color: #666;
}

.modal-content h3 {
  text-align: center;
  color: #0078d7;
  margin-bottom: 1rem;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.modal-content input,
.modal-content select {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
}

.modal-content button {
  background: #00b050;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
}

.modal-content button:hover {
  background: #009240;
}

/** Responsive Design */
@media (max-width: 768px) {
  .service-category {
    width: 95%;
    padding: 1rem;
  }

  .category-header img {
    width: 35px;
    height: 35px;
  }

  .service-item h4 {
    font-size: 1rem;
  }

  .actions button {
    flex: 1;
  }
}
/** ==== HOME SERVICES LANDING ==== */
.services-landing {
  background: #f9fbfd;
  padding-bottom: 2rem;
}

.landing-hero {
  text-align: center;
  padding: 2rem;
  border-bottom: 2px solid #e0e0e0;
}

.landing-hero h2 {
  color: #0078d7;
}

.landing-hero p {
  color: #444;
  font-size: 1rem;
  max-width: 650px;
  margin: 0.5rem auto 1rem;
}

.landing-hero input {
  padding: 0.8rem;
  width: 80%;
  max-width: 400px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

/** Categories grid */
.category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem auto;
  width: 95%;
  max-width: 1100px;
}

.service-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  width: 220px;
  text-align: center;
  padding: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 0.8rem;
}

.service-card h3 {
  color: #0078d7;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.service-card p {
  font-size: 0.9rem;
  color: #555;
}

/** Responsive layout */
@media (max-width: 768px) {
  .service-card {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .service-card {
    width: 90%;
  }
}
/** ==== CATEGORY PAGE TEMPLATE ==== */
.category-hero {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #f9fbfd;
  padding: 1.5rem;
  border-bottom: 2px solid #00b050;
}

.category-hero img {
  width: 70px;
  height: 70px;
}

.category-hero h2 {
  color: #0078d7;
  margin: 0;
}

.category-hero p {
  color: #444;
  margin-top: 0.3rem;
  font-size: 1rem;
}

.service-list-section {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.service-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.service-item h3 {
  color: #0078d7;
  margin-bottom: 0.3rem;
}

.service-item p {
  margin: 0.3rem 0;
  color: #555;
}

.service-item .materials {
  font-style: italic;
  color: #666;
}

.service-item .price {
  color: #00b050;
  font-weight: bold;
  margin-top: 0.5rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.actions button {
  background: #0078d7;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.actions button:hover {
  background: #005fa3;
}

.actions .schedule-btn {
  background: #00b050;
}

.actions .schedule-btn:hover {
  background: #009240;
}
/** ==== PROJECT DASHBOARD ==== */
.dashboard-section {
  max-width: 850px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.lead-summary p {
  margin: 0.3rem 0;
  color: #444;
}

.status {
  font-weight: bold;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.status.under-review {
  background: #fff3cd;
  color: #856404;
}
.status.in-progress {
  background: #cce5ff;
  color: #004085;
}
.status.completed {
  background: #d4edda;
  color: #155724;
}

.update-card {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #f9fbfd;
  border-left: 4px solid #0078d7;
  border-radius: 8px;
}

.update-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.action-buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.action-buttons button {
  background: #0078d7;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  transition: 0.2s;
}

.action-buttons button:hover {
  background: #005fa3;
}

.message-box {
  margin-top: 1.2rem;
  padding: 1rem;
  background: #e6f4ea;
  border: 1px solid #b2dfbb;
  border-radius: 8px;
  text-align: center;
  color: #256029;
  font-weight: 500;
}
/** ==== PORTFOLIO PAGE ==== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 1100px;
  padding: 0 1rem;
}

.project-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-card h3 {
  margin: 0.8rem 1rem 0.3rem;
  color: #0078d7;
}

.project-card p {
  margin: 0 1rem 1rem;
  color: #444;
}

.project-card:hover {
  transform: translateY(-5px);
}

.testimonials, .credentials {
  max-width: 900px;
  margin: 2rem auto;
  background: #f9fbfd;
  padding: 1.5rem;
  border-radius: 12px;
}

.testimonial-card {
  background: white;
  border-left: 4px solid #0078d7;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 8px;
}

.credentials ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.credentials li {
  margin-bottom: 0.5rem;
}
/** ==== DROPDOWN MENU ==== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 220px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
  border-radius: 8px;
  z-index: 100;
}

.dropdown-content a {
  color: #333;
  padding: 0.8rem 1rem;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #f1f1f1;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: #0078d7;
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  color: #0078d7;
}
/** ==== RESPONSIVE HEADER & NAVBAR ==== */

/** Desktop layout */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #0078d7, #00b894);
  color: #fff;
  padding: 0.5rem 1rem;
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo {
  height: 45px;
}

.brand-text h1 {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 700;
}

.brand-text p {
  margin: 0;
  font-size: 0.8rem;
  color: #e0f7ef;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.main-nav a:hover {
  text-decoration: underline;
}

/** Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  top: 100%;
  left: 0;
  z-index: 999;
}

.dropdown-content a {
  color: #333;
  padding: 0.7rem 1rem;
  display: block;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #0078d7;
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/** Hamburger toggle button (hidden on desktop) */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/** ==== Mobile layout ==== */
@media (max-width: 768px) {
 /** ==== Modern Animated Mobile Menu ==== */
.main-nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 65px; /** just below the header bar */
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(0, 120, 215, 0.95); /** blue with slight transparency */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 12px 12px;
  z-index: 1000;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease-in-out;
}

/** When opened */
.main-nav.active {
  max-height: 500px;
  opacity: 1;
}

/** Style for the links inside */
.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
}

/** Adjust dropdown links (inside the mobile menu) */
.dropdown .dropdown-content {
  background: rgba(0, 120, 215, 0.95);
  box-shadow: none;
  border-radius: 0;
  margin-left: 1rem;
}

.dropdown .dropdown-content a {
  color: #fff;
  padding: 0.8rem 1rem;
}

.dropdown .dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.15);
}

/** Ensure dropdowns expand on tap in mobile view */
@media (max-width: 768px) {
  .dropdown:hover .dropdown-content {
    display: none; /** disable hover */
  }

  .dropdown .dropbtn::after {
    content: " ▸";
  }

  .dropdown.open .dropdown-content {
    display: block;
  }
}



  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown .dropdown-content {
    position: static;
    box-shadow: none;
    background: #0078d7;
  }

  .dropdown .dropdown-content a {
    color: white;
    padding-left: 1.5rem;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }
}
/** ==== Fix header position on mobile ==== */
.site-header {
  position: relative;
  z-index: 2000; /** keeps it above dropdowns */
}
/** === Auto-shrinking header effect === */
.site-header {
  transition: all 0.3s ease;
}
.site-header {
  transition: transform 0.4s ease, background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(0, 120, 215, 0.9); /** Slight transparency */
  backdrop-filter: blur(10px);
  padding: 0.4rem 1rem; /** smaller height */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
  }

  body {
    padding-top: 70px; /** prevent content hiding behind header */
  }
}/** === Consistent Hero Headings (Blue Titles for All Sections) === */
.hardware-hero h2,
.services-hero h2,
.projects-hero h2 {
  color: #0078d7;        /** Muncaster blue */
  font-weight: 700;      /** bold like the brand style */
  text-align: center;    /** keeps alignment consistent */
  margin-bottom: 0.8rem; /** tidy spacing below the title */
}

/** ==== PROJECTS LANDING ==== */
.projects-landing {
  background: #f9fbfd;
  padding-bottom: 3rem;
  text-align: center;
}
/** Make Contracting & Projects title visible on gradient */
.projects-hero h2 {
  color: #ffffff;            /** pure white for best contrast */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); /** subtle depth */
}

.projects-hero {
  background: linear-gradient(90deg, #0078d7, #00b894);
  color: white;
  padding: 3rem 1.5rem;
  border-radius: 0 0 20px 20px;
  margin-bottom: 2rem;
}

.projects-hero h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.projects-hero p {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.start-btn {
  display: inline-block;
  background: #00b050;
  color: white;
  padding: 1rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s ease;
}

.start-btn:hover {
  background: #009240;
}

.project-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 0 1rem;
}

.project-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  width: 250px;
  padding: 1rem;
  text-align: center;
}

.project-card h3 {
  color: #0078d7;
  margin-bottom: 0.5rem;
}

.project-card p {
  color: #444;
  font-size: 0.95rem;
}
/** === Scroll button & success modal === */
#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #0078d7;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 1.3rem;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#scrollTopBtn:hover {
  background: #005fa3;
}

#successModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

#successModal .modal-content {
  background: #fff;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

#successModal button {
  background: #00b050;
  border: none;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
}
/** === Fade Modal Animation (Muncaster Blue & Green Style) === */
#fadeModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
  z-index: 3000;
}

#fadeModal.show {
  opacity: 1;
  visibility: visible;
}

.fade-modal-content {
  background: linear-gradient(135deg, #0078d7 0%, #00b050 100%);
  color: #fff;
  padding: 1.5rem 2rem;
  border-radius: 14px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  max-width: 340px;
}

#fadeModal.show .fade-modal-content {
  opacity: 1;
  transform: translateY(0);
}

.fade-modal-content.success {
  border: none;
}

.fade-modal-content.error {
  background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
  color: #fff;
}

/** === Scroll-to-top button === */
#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #0078d7, #00b050);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 1.3rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

#scrollTopBtn:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #00b050, #0078d7);
}
/** === Muncaster Button Animations (Blue-Green Gradient Style) === */
button,
.primary-btn,
.action-buttons button {
  background: linear-gradient(135deg, #0078d7, #00b050);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/** Glowing hover effect */
button::after,
.primary-btn::after,
.action-buttons button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  transform: skewX(-25deg);
  transition: left 0.5s ease;
  z-index: 0;
}

button:hover::after,
.primary-btn:hover::after,
.action-buttons button:hover::after {
  left: 200%;
}

button:hover,
.primary-btn:hover,
.action-buttons button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 120, 215, 0.3);
}

/** Add smooth click feedback */
button:active,
.primary-btn:active,
.action-buttons button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 120, 215, 0.3);
}
/** === Make link-style buttons (like "Start Your Project") glow too === */
a.start-btn {
  display: inline-block;
  background: linear-gradient(135deg, #0078d7, #00b050);
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 120, 215, 0.25);
}

/** Light sweep animation */
a.start-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}

a.start-btn:hover::after {
  left: 200%;
}

/** Hover lift + shadow */
a.start-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 120, 215, 0.4);
}

a.start-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 120, 215, 0.2);
}
/** === Hero Section Fade & Slide Animation === */
.hero-section,
.category-hero,
.landing-hero,
.projects-hero {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeSlideIn 1.2s ease forwards;
}

/** Slightly delay sub-elements for a layered effect */
.hero-section h2,
.hero-section p,
.category-hero h2,
.category-hero p,
.landing-hero h2,
.landing-hero p,
.projects-hero h2,
.projects-hero p {
  opacity: 0;
  animation: fadeInText 1.2s ease forwards;
  animation-delay: 0.3s;
}

/** Keyframes for movement */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/** Optional – hero images fade slightly slower for a graceful load */
.category-hero img,
.landing-hero img,
.projects-hero img {
  opacity: 0;
  animation: fadeInImage 1.5s ease forwards;
  animation-delay: 0.4s;
}

@keyframes fadeInImage {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/** === MOBILE LAYOUT POLISH (MUNCASTER RESPONSIVE TUNE-UP) === */
/** === FINAL MOBILE HEADER OVERLAP FIX (TUNED FOR MUNCASTER HEADER HEIGHT) === */
@media (max-width: 768px) {
  /** Give enough top spacing so titles like "Request Proposal" are never hidden */
  body {
    padding-top: 115px !important; /** header height compensation */
  }

  /** Push hero sections a bit lower on phones */
  .projects-hero,
  .landing-hero,
  .hardware-hero {
    margin-top: 2rem !important;
  }

  .projects-hero h2,
  .landing-hero h2,
  .hardware-hero h2 {
    padding-top: 1.2rem;
  }

  /** Optional: make header slightly smaller on small screens */
  .site-header {
    padding: 0.6rem 1rem;
  }

  .logo {
    height: 45px;
  }
}

  /** General padding fix for small screens */
  body {
    padding: 70px 10px 80px 10px;
  }

  /** Headers */
  .hero-section h2,
  .landing-hero h2,
  .category-hero h2,
  .projects-hero h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
/** Fix hidden page titles under header on mobile */
.hardware-hero h2,
.landing-hero h2,
.projects-hero h2 {
  margin-top: 1.8rem; /** pushes the title below the header */
}

  .hero-section p,
  .landing-hero p,
  .category-hero p,
  .projects-hero p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  /** Buttons – full width for better tap targets */
  button,
  .primary-btn,
  .action-buttons button,
  a.start-btn {
    display: block;
    width: 100%;
    margin: 0.6rem 0;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    text-align: center;
  }

  /** Forms */
  form {
    width: 100%;
  }

  input,
  select,
  textarea {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border-radius: 8px;
  }

  /** Center hero images */
  .category-hero img,
  .landing-hero img,
  .projects-hero img {
    width: 70px;
    height: 70px;
    margin: 0 auto 0.8rem;
    display: block;
  }

  /** Service & portfolio grids – switch to one column */
  .category-grid,
  .portfolio-grid,
  .service-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .service-card,
  .project-card,
  .module-card {
    width: 90%;
    max-width: 360px;
  }

  /** Dashboard & Upload sections */
  .dashboard-section,
  .upload-section {
    padding: 1.2rem;
    margin: 0 auto;
  }

  /** Footer – smaller text, center alignment */
  .site-footer {
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.4;
    padding: 1rem 0.5rem;
  }

  /** Hide scroll button on tiny screens (optional) */
  #scrollTopBtn {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
/** === Glow + Lift Hover Effect for "Start Your Project" Button === */
.start-btn {
  display: inline-block;
  background: linear-gradient(135deg, #00b050, #0078d7);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 120, 215, 0.25);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/** Light sweep effect */
.start-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}

/** Hover effect — glow + lift */
.start-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 120, 215, 0.4);
}

.start-btn:hover::after {
  left: 200%;
}
/** === Global Muncaster Button Glow + Lift Effect === */
button,
.primary-btn,
.action-buttons button,
.module-card button,
.book-btn {
  background: linear-gradient(135deg, #0078d7, #00b050);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 120, 215, 0.25);
}

/** Moving light sweep (shine animation) */
button::after,
.primary-btn::after,
.action-buttons button::after,
.module-card button::after,
.book-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}

button:hover::after,
.primary-btn:hover::after,
.action-buttons button:hover::after,
.module-card button:hover::after,
.book-btn:hover::after {
  left: 200%;
}

/** Glow and lift effect */
button:hover,
.primary-btn:hover,
.action-buttons button:hover,
.module-card button:hover,
.book-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 120, 215, 0.4);
}

button:active,
.primary-btn:active,
.action-buttons button:active,
.module-card button:active,
.book-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 120, 215, 0.3);
}
/** === MUNCASTER NAVBAR LINK GLOW + HOVER EFFECT === */
.main-nav a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.8rem;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
}

/** Light shimmer sweep */
.main-nav a::after {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}

/** Hover glow + lift */
.main-nav a:hover {
  color: #aef1d5; /** soft minty tint */
  text-shadow: 0 0 8px rgba(0, 176, 80, 0.6);
  transform: translateY(-2px);
}

.main-nav a:hover::after {
  left: 200%;
}

/** Keep active link distinct (non-animated underline) */
.main-nav a.active-link {
  border-bottom: 2px solid #00b050;
  font-weight: 700;
  color: #aef1d5;
  text-shadow: none;
}
/** === MUNCASTER FOOTER LINK GLOW + HOVER EFFECT === */
.site-footer {
  background: linear-gradient(90deg, #0078d7, #00b050);
  color: #ffffff;
  text-align: center;
  padding: 1.2rem 0;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.site-footer a {
  color: #e8f3ff;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  display: inline-block;
  margin: 0 0.4rem;
  transition: all 0.3s ease;
}

/** Light sweep shimmer */
.site-footer a::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}

/** Hover glow and lift */
.site-footer a:hover {
  color: #aef1d5; /** mint-tinted highlight */
  text-shadow: 0 0 8px rgba(0, 176, 80, 0.6);
  transform: translateY(-2px);
}

.site-footer a:hover::after {
  left: 200%;
}

/** Footer tagline subtle glow */
.footer-tagline {
  font-style: italic;
  opacity: 0.9;
  color: #d9f7ec;
  transition: all 0.4s ease;
}

.footer-tagline:hover {
  opacity: 1;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}
/** === SCROLL-TO-TOP FLOATING BUTTON (MUNCASTER STYLE) === */
#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #0078d7, #00b050);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2500;
  transition: all 0.3s ease;
}

/** Hover animation */
#scrollTopBtn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 120, 215, 0.45);
}

/** Optional glow pulse animation */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 rgba(0, 120, 215, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 120, 215, 0.6);
  }
  100% {
    box-shadow: 0 0 0 rgba(0, 120, 215, 0.4);
  }
}

/** === SCROLL-TO-TOP FLOATING BUTTON (MUNCASTER STYLE) === */
#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #0078d7, #00b050);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease;
}

/** Show state with fade-in */
#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

/** Hover glow */
#scrollTopBtn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 120, 215, 0.45);
}

/** Pulse glow animation */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 rgba(0, 120, 215, 0.4); }
  50% { box-shadow: 0 0 20px rgba(0, 120, 215, 0.6); }
  100% { box-shadow: 0 0 0 rgba(0, 120, 215, 0.4); }
}

#scrollTopBtn.glow {
  animation: pulseGlow 2s infinite;
}
/** === GLOBAL MOBILE TEXT & SPACING POLISH === */
@media (max-width: 768px) {
  h1, h2, h3 {
    line-height: 1.3;
    margin-bottom: 0.6rem;
  }

  p, label, input, select, textarea, button {
    font-size: 1rem;
  }

  .hero-section, .landing-hero, .category-hero, .projects-hero {
    padding: 1.8rem 1rem;
  }

  .service-card, .project-card {
    width: 92%;
    max-width: 360px;
    margin: 0 auto;
  }
}
/** === FIX: Restore normal button width & spacing after mobile header fix === */
.start-btn,
button,
.primary-btn {
  max-width: 300px;         /** limit size */
  margin: 1rem auto;        /** center nicely */
  display: inline-block;    /** keeps shape neat */
}

/** On smaller screens — still full width but not oversized */
@media (max-width: 768px) {
  .start-btn,
  button,
  .primary-btn {
    max-width: 90%;
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }
}
/** === Fix oversized input boxes in inquiry form === */
#inquiryForm {
  max-width: 700px;
  margin: 0 auto;
}

#inquiryForm input,
#inquiryForm select,
#inquiryForm textarea {
  width: 100%;
  max-width: 100%;
  font-size: 1rem;
  padding: 0.6rem;
  border-radius: 8px;
}
/** === Center the Start Your Project button again === */
.start-btn {
  display: inline-block;
  margin: 1.2rem auto;
  text-align: center;
}

.projects-hero {
  text-align: center;
}
/** === FINAL FIX: Proper centering for Start Your Project button === */
.projects-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.start-btn {
  margin: 1.2rem auto 0 auto;
  display: inline-block;
  text-align: center;
}
.inquiry-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 4px solid #0078d7;
}
/** === GLOBAL HEADER AND FORM SPACING FIX (DESKTOP + MOBILE) === */

/** Prevent content hiding under fixed header */
body {
  padding-top: 80px; /** creates breathing room below header */
}

/** Dashboard header fix (for Log Out alignment) */
.dashboard-section {
  margin-top: 1.5rem;
}

/** Adjust top spacing for forms and modals on mobile */
@media (max-width: 768px) {
  body {
    padding-top: 95px !important;
  }

  form, .modal-content, .dashboard-section {
    margin-top: 1.2rem !important;
  }

  /** Ensure logout button sits neatly */
  .logout-btn {
    display: block;
    margin: 0 auto 1rem;
  }
}
/** === FINAL DASHBOARD LOGOUT ALIGNMENT FIX === */

/** Wrap the dashboard content properly */
.dashboard-overview {
  position: relative;
  max-width: 900px;
  margin: 3rem auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
}

/** Fix logout button inside the overview box */
.dashboard-overview .logout-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: linear-gradient(90deg, #ff4b4b, #cc0000);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 5;
}

.dashboard-overview .logout-btn:hover {
  background: linear-gradient(90deg, #cc0000, #ff4b4b);
  transform: translateY(-2px);
}

/** On mobile, center the logout button above title */
@media (max-width: 768px) {
  .dashboard-overview .logout-btn {
    position: static;
    margin: 0 auto 1rem;
    display: block;
  }
}

.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: white;
}

.status-pending { background: #f4c542; }
.status-replied { background: #4BA3FF; }
.status-under_review { background: #ff8c00; }
.status-approved { background: #3CB371; }
.status-declined { background: #d9534f; }
/** ===== WHOLESALE HIGHLIGHT BOX (GREEN OPTION A) ===== */
.wholesale-box {
  background: #e6ffed;                    /** very light green */
  border: 1px solid #34a853;              /** green border */
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 8px;
}

.wholesale-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a7f37;                         /** darker green */
}

.wholesale-min {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a7f37;
  opacity: 0.85;
}
.product-img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  border-radius: 8px;
  background: #f3f3f3;
  margin-bottom: 8px;
}
/** === GLOBAL CONTENT WIDTH CONTAINER (CBS + HOME SAFE) === */
.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/** Prevent ugly wide stretching on large screens */
@media (min-width: 1400px) {
  .page-wrap {
    max-width: 1280px;
  }
}
/** ===============================
   FIX 1: CLEAN MOBILE HEADER ALIGNMENT
================================= */
@media (max-width: 768px) {

  .site-header {
    height: 64px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: calc(100% - 48px);
  }

  .logo {
    height: 32px;
    flex-shrink: 0;
  }

  .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
  }

  .brand-text h1 {
    font-size: 0.95rem;
    margin: 0;
    white-space: nowrap;
  }

  .brand-text p {
    font-size: 0.7rem;
    margin: 0;
    opacity: 0.85;
    white-space: nowrap;
  }

  .menu-toggle {
    font-size: 1.6rem;
    margin-left: auto;
  }
}
/** ===============================
   FIX 4: FLOATING ACTION BUTTONS
================================= */
@media (max-width: 768px) {

  #floatCompareBtn,
  .float-rfq,
  .float-cart {
    position: fixed !important;
    right: 14px !important;
    left: auto !important;
    width: auto !important;
    max-width: none !important;
    border-radius: 999px;
    z-index: 9999;
  }

  #floatCompareBtn {
    bottom: 150px !important;
  }

  .float-rfq {
    bottom: 90px !important;
  }

  .float-cart {
    bottom: 30px !important;
  }
}
/** ===============================
   FIX 2: HEADER OVERLAP (ONE SOURCE)
================================ */

@media (max-width: 768px) {
  body {
    padding-top: 64px !important;
  }
}
/** ===============================
   FIX 3: STOP HORIZONTAL SCROLL
================================ */

/** ===============================
   FIX A: ALLOW PINCH ZOOM, STOP LAYOUT BREAK
================================ */

html {
  overflow-x: hidden;
}

body {
  max-width: 100%;
  overflow-x: clip;
}


* {
  box-sizing: border-box;
}
/** Hide empty header before include.js loads content */
/** header:empty { display: none; } */
/** ===============================
   FIX A: ALLOW PINCH ZOOM, STOP LAYOUT BREAK
================================ */

html {
  overflow-x: hidden;
}

body {
  max-width: 100%;
  overflow-x: clip;
}

/** =========================
  Kepler App SHELL (NEW)
   ========================= */

:root{
  --mc-blue:#0078d7;
  --mc-green:#00b050;
  --mc-bg:#f5f7fb;
  --mc-card:#ffffff;
  --mc-text:#0f172a;
  --mc-sub:#475569;
  --mc-line:rgba(2,6,23,.08);
}

body{
  background: var(--mc-bg);
}

/** Shell layout */
.mc-shell{
  min-height:100vh;
  background:var(--mc-bg);
}

/** Top bar */
.mc-appbar{
  position:sticky;
  top:0;
  z-index:999;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 16px;
  color:#fff;
  background:linear-gradient(90deg, var(--mc-blue), var(--mc-green));
  box-shadow:0 10px 24px rgba(15,23,42,.08);
}

.mc-brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:220px;
}

.mc-brand-logo{
  width:34px;
  height:34px;
  object-fit:contain;
  border-radius:8px;
  background:rgba(255,255,255,.15);
  padding:5px;
}

.mc-brand-text{ display:flex; flex-direction:column; line-height:1.05; }
.mc-brand-name{ font-weight:900; font-size:16px; letter-spacing:.2px; }
.mc-brand-tagline{ font-size:11px; opacity:.92; font-style:italic; }

.mc-appbar-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.mc-icon-btn{
  position:relative;
  border:none;
  background:rgba(255,255,255,.14);
  color:#fff;
  height:36px;
  width:36px;
  border-radius:12px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
}
.mc-icon-btn:hover{ filter:brightness(.98); background:rgba(255,255,255,.18); }

.mc-badge{
  position:absolute;
  top:6px;
  right:6px;
  min-width:16px;
  height:16px;
  padding:0 4px;
  border-radius:999px;
  background:#ff2d55;
  color:#fff;
  font-size:10px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/** Body grid */
.mc-body{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:0;
  min-height:calc(100vh - 56px);
}

/** Sidebar */
.mc-sidebar{
  background:#fff;
  border-right:1px solid var(--mc-line);
  padding:14px 10px;
  position:sticky;
  top:56px;
  height:calc(100vh - 56px);
  overflow:auto;
}

.mc-nav-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  margin:4px 6px;
  border-radius:14px;
  color:var(--mc-text);
  text-decoration:none;
  font-weight:700;
}

.mc-nav-ic{ width:20px; text-align:center; opacity:.9; }

.mc-nav-item:hover{
  background:#eaf3ff;
}

.mc-nav-item.active{
  background:#eaf3ff;
  color:var(--mc-blue);
  box-shadow:inset 4px 0 0 var(--mc-green);
}

.mc-nav-divider{
  height:1px;
  background:var(--mc-line);
  margin:10px 12px;
}

/** Page slot */
.mc-page{
  padding:24px;
}

/** Make your existing hero spacing app-friendly */
.mc-page .hero-section{
  margin:0 auto;
  padding:24px 0;
}

/** Mobile bottom tabs */
.mc-tabs{
  display:none;
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  height:64px;
  background:#fff;
  border-top:1px solid var(--mc-line);
  z-index:999;
  padding:8px 8px 10px;
}

.mc-tab{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  text-decoration:none;
  color:#64748b;
  font-weight:800;
  border-radius:14px;
  padding:6px 4px;
}

.mc-tab-ic{ font-size:18px; line-height:1; }
.mc-tab-tx{ font-size:11px; }

.mc-tab.active{
  color:var(--mc-blue);
  position:relative;
}
.mc-tab.active::before{
  content:"";
  position:absolute;
  top:-6px;
  width:28px;
  height:3px;
  border-radius:999px;
  background:var(--mc-green);
}

/** Responsive switch: Desktop sidebar vs Mobile tabs */
@media (max-width: 900px){
  .mc-body{ grid-template-columns:1fr; }
  .mc-sidebar{ display:none; }
  .mc-page{ padding:16px; padding-bottom:88px; } /** space for tabs */
  .mc-tabs{ display:flex; gap:6px; }
}
/** =========================
   MUNCASTER UI UPGRADE (V2)
   paste at bottom of style.css
   ========================= */

:root{
  --mc-blue:#0078d7;
  --mc-green:#00b050;
  --mc-bg:#f5f7fb;
  --mc-card:#ffffff;
  --mc-text:#0f172a;
  --mc-sub:#475569;
  --mc-line:rgba(2,6,23,.10);
}

/** Global */
body{ background:var(--mc-bg); color:var(--mc-text); }

/** App bar */
.mc-appbar{
  position:sticky; top:0; z-index:999;
  height:64px;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 18px;
  background:linear-gradient(90deg, var(--mc-blue), var(--mc-green));
  box-shadow:0 12px 30px rgba(15,23,42,.10);
}

.mc-brand{ display:flex; align-items:center; gap:12px; text-decoration:none; color:#fff; }
.mc-brand-logo{
  width:40px; height:40px; object-fit:contain;
  border-radius:12px;
  background:rgba(255,255,255,.16);
  padding:6px;
}
.mc-brand-name{ font-weight:900; font-size:18px; letter-spacing:.2px; }
.mc-brand-tagline{ font-size:12px; opacity:.95; margin-top:2px; }

/** Right actions */
.mc-appbar-actions{ display:flex; align-items:center; gap:10px; }
.mc-action-btn{
  position:relative;
  width:44px; height:44px;
  display:flex; align-items:center; justify-content:center;
  border:none; cursor:pointer;
  border-radius:14px;
  background:rgba(255,255,255,.14);
  color:#fff;
  transition:transform .12s ease, background .12s ease;
}
.mc-action-btn:hover{ background:rgba(255,255,255,.18); transform:translateY(-1px); }
.mc-action-ic svg{ width:22px; height:22px; color:#fff; }

.mc-badge{
  position:absolute; top:8px; right:8px;
  min-width:16px; height:16px; padding:0 5px;
  border-radius:999px; background:#ff2d55; color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:10px; font-weight:800;
}

/** Layout */
.mc-body{
  display:grid;
  grid-template-columns:300px 1fr;
  min-height:calc(100vh - 64px);
}

/** Sidebar */
.mc-sidebar{
  background:#fff;
  border-right:1px solid var(--mc-line);
  padding:14px 12px;
  position:sticky;
  top:64px;
  height:calc(100vh - 64px);
  overflow:auto;
}

.mc-nav-section{
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#64748b;
  font-weight:900;
  padding:10px 12px 6px;
}

.mc-nav-item{
  display:flex; align-items:center; gap:12px;
  padding:12px 12px;
  margin:4px 6px;
  border-radius:16px;
  text-decoration:none;
  color:var(--mc-text);
  font-weight:800;
  transition:background .12s ease, color .12s ease, transform .12s ease;
}
.mc-nav-item:hover{ background:#eef6ff; transform:translateY(-1px); }

.mc-nav-ic{
  width:22px; height:22px;
  display:flex; align-items:center; justify-content:center;
  color:#334155;
}
.mc-nav-ic svg{ width:20px; height:20px; }

.mc-nav-item.active{
  background:#eef6ff;
  color:var(--mc-blue);
  box-shadow:inset 4px 0 0 var(--mc-green);
}
.mc-nav-item.active .mc-nav-ic{ color:var(--mc-blue); }

.mc-nav-divider{
  height:1px; background:var(--mc-line);
  margin:10px 12px;
}

/** Page area */
.mc-page{
  padding:26px;
}
.mc-page > main{
  max-width:1200px;
  margin:0 auto;
}

/** Make your hero not look lost */
.hero-section{
  margin:0 auto;
  padding:18px 0 6px;
}
.hero-section h2{
  color:var(--mc-blue);
  font-size:26px;
  font-weight:950;
}
.hero-section p{
  color:var(--mc-sub);
  font-size:14px;
  max-width:860px;
  margin:10px auto 0;
  line-height:1.6;
}

/** Popovers (notif/account) */
.mc-popover{
  position:absolute;
  right:18px;
  top:70px;
  width:320px;
  background:#fff;
  border:1px solid var(--mc-line);
  border-radius:18px;
  box-shadow:0 24px 60px rgba(2,6,23,.18);
  overflow:hidden;
  display:none;
  z-index:1000;
}
.mc-popover.open{ display:block; }
.mc-popover-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px;
  background:#f8fafc;
  border-bottom:1px solid var(--mc-line);
}
.mc-popover-title{ font-weight:900; color:var(--mc-text); }
.mc-popover-x{
  width:34px; height:34px; border-radius:12px;
  border:none; cursor:pointer;
  background:#eef2f7; color:#111827;
  font-size:18px; font-weight:900;
}
.mc-popover-body{ padding:10px 14px; }
.mc-menu-item{
  display:block;
  padding:10px 10px;
  border-radius:12px;
  text-decoration:none;
  color:var(--mc-text);
  font-weight:800;
}
.mc-menu-item:hover{ background:#eef6ff; }
.mc-empty{ color:#64748b; font-weight:700; padding:10px 0; }

/** Search modal */
.mc-modal{ display:none; position:fixed; inset:0; z-index:1200; }
.mc-modal.open{ display:block; }
.mc-modal-backdrop{ position:absolute; inset:0; background:rgba(2,6,23,.55); }
.mc-modal-card{
  position:relative;
  width:min(720px, 92vw);
  margin:12vh auto 0;
  background:#fff;
  border-radius:22px;
  box-shadow:0 30px 90px rgba(2,6,23,.35);
  overflow:hidden;
}
.mc-modal-head{
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 16px;
  background:linear-gradient(90deg, rgba(0,120,215,.10), rgba(0,176,80,.10));
  border-bottom:1px solid var(--mc-line);
}
.mc-modal-title{ font-weight:950; color:var(--mc-text); }
.mc-modal-body{ padding:16px; }
.mc-input{
  width:100%;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid var(--mc-line);
  outline:none;
  font-size:14px;
  font-weight:700;
}
.mc-input:focus{ border-color:rgba(0,120,215,.45); box-shadow:0 0 0 4px rgba(0,120,215,.12); }
.mc-hint{ color:#64748b; font-weight:700; margin-top:10px; font-size:12px; }

/** Mobile tabs */
.mc-tabs{ display:none; }
@media (max-width: 980px){
  .mc-body{ grid-template-columns:1fr; }
  .mc-sidebar{ display:none; }
  .mc-page{ padding:16px; padding-bottom:92px; }
  .mc-tabs{
    display:flex; gap:6px;
    position:fixed; left:0; right:0; bottom:0;
    height:72px;
    background:#fff;
    border-top:1px solid var(--mc-line);
    z-index:999;
    padding:10px 10px 12px;
  }
}
/** =========================
   FIX: HOME HUGE TOP GAP + SHELL SPACING
   (paste at very bottom of style.css)
   ========================= */

/** Kill old hero spacing (your file has margin: 5rem auto) */
.hero-section{
  margin: 0 !important;
  padding: 18px 0 8px !important;
}

/** Shell page padding: reduce top padding so content starts immediately */
.mc-page{
  padding: 16px !important;
}

/** Ensure main content starts at top, not “floating” */
.mc-page > main{
  margin: 0 auto !important;
  padding-top: 0 !important;
}

/** Sidebar should remain visible longer (DevTools makes window narrow) */
@media (max-width: 980px){
  /** revert the earlier rule that hides sidebar too early */
  .mc-sidebar{ display:block !important; }
  .mc-body{ grid-template-columns: 280px 1fr !important; }
  .mc-page{ padding-bottom: 16px !important; }
}

/** Only hide sidebar on REAL mobile widths */
@media (max-width: 720px){
  .mc-body{ grid-template-columns: 1fr !important; }
  .mc-sidebar{ display:none !important; }
  .mc-page{ padding-bottom: 92px !important; } /** for bottom tabs */
  .mc-tabs{ display:flex !important; }
}
/** =========================================================
   MUNCASTER FIX PACK (DO NOT DELETE OTHER CSS)
   Paste at VERY BOTTOM of style.css
   Purpose:
   - Remove huge top gap before modules
   - Stop sidebar disappearing when DevTools opens
   - Keep shell spacing consistent
   ========================================================= */

/** 1) STOP the old hero-section gap (your file has margin: 5rem auto) */
.hero-section{
  margin: 0 auto !important;
  padding: 18px 0 8px !important;
  text-align: center;
}

/** 2) Make sure hero content sits nicely inside shell page area */
#mcPageSlot > .hero-section{
  padding-top: 14px !important;
}

/** 3) REMOVE crazy global body padding wars
      - Only apply header spacing on REAL mobile
      - Desktop should NOT have huge top padding */
body{
  padding-top: 0 !important;
}

/** If you ever use a fixed header somewhere else, only compensate on small screens */
@media (max-width: 760px){
  body{
    padding-top: 0 !important; /** shell appbar is sticky, not fixed */
  }
}

/** 4) Fix mc-page spacing so content starts immediately (no massive empty space) */
.mc-page{
  padding: 18px 18px 22px !important;
}
.mc-page > main{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/** 5) IMPORTANT: Sidebar should NOT hide when DevTools is open.
      Your file hides it at 900/980px. That’s too early.
      Keep sidebar until REAL mobile widths. */
@media (max-width: 980px){
  .mc-body{
    grid-template-columns: 300px 1fr !important;
  }
  .mc-sidebar{
    display: block !important;
  }
  .mc-tabs{
    display: none !important;
  }
  .mc-page{
    padding-bottom: 22px !important;
  }
}

/** Only hide sidebar on real phones */
@media (max-width: 760px){
  .mc-body{ grid-template-columns: 1fr !important; }
  .mc-sidebar{ display:none !important; }
  .mc-tabs{ display:flex !important; }
  .mc-page{ padding-bottom: 92px !important; }
}

/** 6) Ensure modules are visible immediately (no “floating down”) */
.modules{
  margin-top: 18px !important;
}

/** 7) Remove any accidental fixed footer pushing layout (your file had fixed footer earlier) */
.site-footer{
  position: relative !important;
  bottom: auto !important;
}
/** =========================================================
   FINAL SHELL OVERRIDE (NO DELETES)
   Fixes: huge top gap, ugly spacing, sidebar/tabs behavior
   Applies ONLY when the new .mc-shell is present
   ========================================================= */

/** 0) When the new shell exists, stop old "fixed header" padding rules */
body:has(.mc-shell){
  padding: 0 !important;
  padding-top: 0 !important;
}

/** Fallback for browsers without :has (Chrome supports it, but just in case) */
.mc-shell ~ * { /** no-op */ }

/** 1) Kill old hero spacing ONLY inside the shell page slot */
.mc-shell #mcPageSlot .hero-section{
  margin: 0 !important;
  padding: 14px 0 10px !important;
}

/** 2) Remove extra wrapper padding that makes content start too low */
.mc-shell .mc-page{
  padding: 16px 18px 20px !important;
}

/** 3) Make the homepage wrapper not add hidden spacing */
.mc-shell #mcPageSlot .hero-section > div[style*="max-width"]{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/** 4) Modules should start immediately under hero text */
.mc-shell #mcPageSlot .modules{
  margin: 18px auto 0 !important;
}

/** 5) Sidebar: keep it on desktop/tablet, hide ONLY on phones */
@media (max-width: 980px){
  .mc-shell .mc-body{ grid-template-columns: 280px 1fr !important; }
  .mc-shell .mc-sidebar{ display:block !important; }
  .mc-shell .mc-tabs{ display:none !important; }
}
@media (max-width: 760px){
  .mc-shell .mc-body{ grid-template-columns: 1fr !important; }
  .mc-shell .mc-sidebar{ display:none !important; }
  .mc-shell .mc-tabs{ display:flex !important; }
  .mc-shell .mc-page{ padding-bottom: 92px !important; }
}

/** 6) If any old footer was fixed, neutralize it inside shell pages */
.mc-shell .site-footer{
  position: relative !important;
  bottom: auto !important;
}
/** Header right icons (links) */
.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.icon-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:12px;
  background:rgba(255,255,255,0.14);
  color:#fff;
  text-decoration:none;
  font-size:16px;
}

.icon-link:hover{
  background:rgba(255,255,255,0.20);
}

/* Home only: remove huge hero gap */
body.home-page .hero-section{
  margin: 1.5rem auto !important;
  padding: 1.5rem 1rem !important;
}
/* =========================================================
   MUNCASTER SHELL — SIDEBAR VISIBILITY FIX (FINAL OVERRIDE)
   Keeps sidebar visible on desktop + tablet (even with DevTools)
   Hides sidebar ONLY on real phone widths
   ========================================================= */

/* Ensure shell elements are allowed to render */
.mc-shell { display: block !important; }
.mc-appbar { display: flex !important; }
.mc-body { display: grid !important; }
.mc-sidebar { display: block !important; }
.mc-page { display: block !important; }

/* Desktop + Tablet: always show sidebar */
.mc-body{
  grid-template-columns: 300px 1fr !important;
}

/* Bottom tabs OFF by default (only on phones) */
.mc-tabs{
  display: none !important;
}

/* Only switch to mobile mode on REAL small screens */
@media (max-width: 760px){
  .mc-body{
    grid-template-columns: 1fr !important;
  }
  .mc-sidebar{
    display: none !important;
  }
  .mc-tabs{
    display: flex !important;
  }
  .mc-page{
    padding-bottom: 92px !important; /* space for bottom tabs */
  }
}
/* =========================================================
   MUNCASTER SHELL — SINGLE FINAL PATCH (DO NOT DUPLICATE)
   ========================================================= */

/* When the shell exists, remove old hero huge margin */
.mc-shell #mcPageSlot .hero-section{
  margin: 0 !important;
  padding: 16px 0 10px !important;
}

/* Proper shell layout */
.mc-shell .mc-body{
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: calc(100vh - 64px);
}
.mc-shell .mc-sidebar{ display:block; }
.mc-shell .mc-tabs{ display:none; }

/* Page slot should not push content down */
.mc-shell .mc-page{
  padding: 18px 18px 24px !important;
}
.mc-shell #mcPageSlot > main{
  margin: 0 auto !important;
  padding-top: 0 !important;
  max-width: 1200px;
}

/* Bottom tabs only on real phones */
@media (max-width: 760px){
  .mc-shell .mc-body{ grid-template-columns: 1fr; }
  .mc-shell .mc-sidebar{ display:none; }
  .mc-shell .mc-tabs{ display:flex; }
  .mc-shell .mc-page{ padding-bottom: 92px !important; }
}
/* HARD LOCK: module cards must fill grid columns */
.modules .module-card{
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
/* =========================================================
   MUNCASTER — HARD CLEANUP PATCH (PASTE LAST)
   Goal: stop CSS wars without deleting older blocks
   ========================================================= */

/* 0) Always prevent horizontal scroll */
html { overflow-x: hidden; }
body { max-width: 100%; overflow-x: clip; }

/* 1) GLOBAL BODY: remove padding wars (only shell/header rules should control spacing) */
body{
  padding-top: 0 !important;
}

/* 2) Kill fixed footer behavior globally (your early file had fixed footer) */
.site-footer{
  position: relative !important;
  bottom: auto !important;
}

/* 3) SCROLL TOP BUTTON: define it ONCE (overrides all earlier duplicates) */
#scrollTopBtn{
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: none;
  cursor: pointer;

  display: flex;                 /* consistent */
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #0078d7, #00b050);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;

  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}

#scrollTopBtn.show{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollTopBtn:hover{
  transform: translateY(-3px) scale(1.06);
}

/* 4) MODULE GRID: always fill columns */
.modules .module-card{
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* =========================================================
   SHELL MODE (mc-shell) — ONLY affects pages using mc-shell
   ========================================================= */

/* 5) When shell exists, ignore old hero huge margins */
.mc-shell #mcPageSlot .hero-section{
  margin: 0 !important;
  padding: 16px 0 10px !important;
}

/* 6) Shell layout stability (sidebar should NOT disappear due to DevTools) */
.mc-shell .mc-body{
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: calc(100vh - 64px);
}

.mc-shell .mc-sidebar{ display: block !important; }
.mc-shell .mc-tabs{ display: none !important; }

.mc-shell .mc-page{
  padding: 18px 18px 24px !important;
}

.mc-shell #mcPageSlot > main{
  max-width: 1200px;
  margin: 0 auto !important;
  padding-top: 0 !important;
}

/* 7) Only switch to mobile tabs on real phone widths */
@media (max-width: 760px){
  .mc-shell .mc-body{ grid-template-columns: 1fr !important; }
  .mc-shell .mc-sidebar{ display: none !important; }
  .mc-shell .mc-tabs{ display: flex !important; }
  .mc-shell .mc-page{ padding-bottom: 92px !important; }
}

/* =========================================================
   CLASSIC MODE (site-header) — for pages NOT using mc-shell
   ========================================================= */
@media (max-width: 768px){
  /* only classic pages should add spacing for any fixed header */
  body:not(.home-page) .site-header{
    position: sticky; /* safer than fixed unless you really need fixed */
    top: 0;
    z-index: 2000;
  }
}
/* =========================================================
   MY RFQS — VISIBILITY + ROUNDED CORNERS PATCH (SCOPED)
   Applies ONLY on my-rfqs.html
   ========================================================= */
.my-rfqs-page .mc-page > main{
  overflow: visible;
}

/* 1) Round the big top header/container box */
.my-rfqs-page .mc-page main > *:first-child,
.my-rfqs-page .page-card,
.my-rfqs-page .top-card,
.my-rfqs-page .mr-top,
.my-rfqs-page .mr-hero,
.my-rfqs-page .rfq-hero{
  border-radius: 22px !important;
  overflow: hidden;
}

/* 2) Fix the “pale pill buttons” (make text visible + stronger contrast) */
.my-rfqs-page button,
.my-rfqs-page .pill,
.my-rfqs-page .pill-btn,
.my-rfqs-page .seg-btn,
.my-rfqs-page .tab-btn,
.my-rfqs-page .status-pill,
.my-rfqs-page .rfq-pill{
  opacity: 1 !important;
  color: #0f172a !important;                 /* dark readable text */
  font-weight: 800 !important;
}

/* If the pill uses inner spans/divs for labels, force those too */
.my-rfqs-page .pill *,
.my-rfqs-page .pill-btn *,
.my-rfqs-page .seg-btn *,
.my-rfqs-page .tab-btn *,
.my-rfqs-page .status-pill *,
.my-rfqs-page .rfq-pill *{
  opacity: 1 !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

/* Make pill containers look like proper “tabs” */
.my-rfqs-page .pill,
.my-rfqs-page .pill-btn,
.my-rfqs-page .seg-btn,
.my-rfqs-page .tab-btn,
.my-rfqs-page .status-pill,
.my-rfqs-page .rfq-pill{
  background: #ffffff !important;
  border: 1px solid rgba(2,6,23,.14) !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 26px rgba(15,23,42,.08) !important;
}

/* Optional: active pill stronger */
.my-rfqs-page .active,
.my-rfqs-page .is-active,
.my-rfqs-page .pill.active,
.my-rfqs-page .tab-btn.active,
.my-rfqs-page .seg-btn.active{
  border-color: rgba(0,120,215,.45) !important;
  box-shadow: 0 12px 30px rgba(0,120,215,.12) !important;
}
