:root {
  --bg-light: #f0f4f8;
  --bg-white: #ffffff;
  --text-dark: #333333;
  --text-muted: #777777;
  --accent-blue: #2c3e50;
  --accent-orange: #e67e22;
  --accent-hover: #d35400;
  --accent-charcoal: #333333;

}



/* ===== PAGE WRAPPER ===== */
.product-page {
  margin: auto;
  padding: 2rem;
  font-family: 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

.hidden {
  display: none;
}


/* ===== BACK LINK ===== */
.breadcrumb {
  display: none; /* Hide by default */
}

@media (max-width: 768px) {
  .breadcrumb {
    display: block;
    padding: 16px 24px;
    background-color: var(--bg-light);
    border-radius: 8px;
    margin: 20px auto;
    max-width: 100%;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  .breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
  }

  .breadcrumb-list li {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--text-dark);
  }

  .breadcrumb-list li:not(:last-child)::after {
    content: "/";
    margin: 0 8px;
    color: var(--accent-blue);
  }

  .breadcrumb-list a {
    color: var(--accent-orange);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
  }

}



	
/* ===== PRODUCT GRID LAYOUT ===== */
.product-content-row {
  display: flex;
  gap: 2rem;
  align-items: flex-start; /* ✅ Align image and supplier top */
  flex-wrap: nowrap;
}

.product-column {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* ===== IMAGE COLUMN ===== */
.image-column {
  padding-top: 0; /* ✅ Remove offset */
  display: flex;
  align-items: center;
  flex: 1;
}

.product-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: auto;
}

/* =====SuPPLIER COLUMN ===== */
.supplier-column {
  flex: 1.85; /* 45% */

}

/* ===== SUPPLIER BOX ===== */
.supplier-box {
  background: var(--bg-white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);  border-radius: 8px;
  padding: 1rem;
  overflow: hidden;
  flex: 2.5;
  display: flex;
  flex-direction: column;
}	

.supplier-box h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--accent-blue);
  text-align: center;
  
}

.supplier-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.supplier-tabs button {
  padding: 0.5rem 1rem;
  background: var(--accent-orange);
  color: var(--bg-white);
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.supplier-tabs button:hover,
.supplier-tabs button.active {
  background: var(--accent-hover);
}

/* ===== TABLE STYLING ===== */
.table-vertical-scroll,
.table-scroll {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ddd;
  padding-right: 8px;
}

.supplier-table-font,
.spec-table {
  width: 100%;
  font-size: 0.75rem;
  font-family: 'Poppins', sans-serif;
  border-collapse: collapse;
  table-layout: fixed;
}

.supplier-table-font th,
.supplier-table-font td,
.spec-table th,
.spec-table td {
  padding: 0.6rem;
  border: 1px solid #ccc;
  text-align: left;
}

/* ✅ Sticky header */
.supplier-table-font thead th,
.spec-table thead th {
  position: sticky;
  top: 0;
  background: #f5f7fa;
  color: var(--text-dark);
  z-index: 2;
  padding: 0.5rem;
  border-bottom: 1px solid #ccc;
}

/* ✅ Zebra striping */
.supplier-table-font tbody tr:nth-child(even),
.spec-table tbody tr:nth-child(even) {
  background-color: #f9fbfc;
}

/* ✅ Row hover effect */
.supplier-table-font tbody tr:hover,
.spec-table tbody tr:hover {
  background-color: #eef2f6;
}

.supplier-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.supplier-header-row h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin: 0;
}

.supplier-header-row .show-form-button {
  padding: 8px 14px;
  font-size: 0.95rem;
}

/* ===== FORM COLUMN ===== */
.form-column {
  flex: 1;
}

/* ===== Product description  ===== */

/* Description box styling */
.product-description-box {
  background-color: var(--bg-light);
  border-radius: 6px;
  padding: 1.2rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  line-height: 1.5;
  font-size: 0.9rem;
}

/* Headings inside description */
.product-description-box h4 {
  font-size: 1rem;
  color: var(--accent-blue);
  margin-top: 1rem;
  margin-bottom: 0.4rem;
}

/* List styling */
.product-description-box ul {
  padding-left: 1rem;
  margin: 0 0 0.8rem 0;
}

.product-description-box li {
  margin-bottom: 0.3rem;
  list-style-type: disc;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .product-column.form-column {
    padding: 0.75rem;
  }

  .product-description-box {
    padding: 0.75rem;
    font-size: 0.85rem;
  }

  .product-description-box h4 {
    font-size: 0.95rem;
  }
}



/* ===== PRODUCT FORM BUTTON ===== */

/* 🔹 Always show the button */
.show-form-button {
  display: inline-block;
  padding: 10px 16px;
  background-color: var(--accent-charcoal);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 16px; /* ⬅️ Changed from margin-top to margin-bottom */
}

.show-form-button:hover {
  background-color: var(--accent-hover);
}

/* 🔹 Hide form initially */
.hidden-form {
  display: none;
  margin-bottom: 20px; /* ⬅️ Changed from margin-top to margin-bottom */
  padding: 16px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* ===== GET IN TOUCH FORM ===== */

.get-in-touch {
  background-color: var(--bg-white);
  padding: 60px 20px;
}

.get-in-touch-box {
  background: var(--bg-white);
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.get-in-touch-box h3 {
  margin-bottom: 1rem;
  color: var(--accent-blue);
}

.get-in-touch-box form input,
.get-in-touch-box form textarea {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  color: var(--text-dark);
}

.get-in-touch-box form button {
  background: var(--accent-orange);
  color: var(--bg-white);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
}

.get-in-touch-box form button:hover {
  background: var(--accent-hover);
}

/* 🔹 Submit button inside form */
.request-btn {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: var(--accent-blue);
  color: var(--bg-white);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

/* 🔹 Utility class to hide elements */
.hidden {
  display: none;
}

/* 🔹 Popup form container */
.form-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background-color: #fff;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  width: 90%;
  display: none;
}

/* 🔹 Show popup */
.form-popup.show {
  display: block;
}

/* 🔹 Overlay backdrop */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  display: none;
}

.popup-overlay.show {
  display: block;
}

.close-popup-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}

/* ===== TERMS & CONDITIONS ===== */
.terms-section {
  margin-top: 0;
  padding: 1.5rem;
  background: var(--bg-white);
  border-radius: 8px;
}

.terms-section h2 {
  font-size: 1.5rem;
  color: var(--accent-blue);
  text-align: center;
  margin-bottom: 4rem; /* ⬅️ Increase this value as needed */
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ✅ 3 per row on desktop */
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .terms-grid {
    grid-template-columns: repeat(2, 1fr); /* ✅ 2 per row on mobile */
  }
}


.terms-item {
  background: var(--bg-light);
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  border-radius: 6px;
}

.terms-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.terms-icon {
  width: 40px;
  height: auto;
  flex-shrink: 0;
  margin-top: 4px;
}

.terms-item {
  position: relative;
  background: var(--bg-light);
  padding: 2rem 1rem 1rem; /* ✅ Extra top padding for image */
  border: 1px solid #e67e22;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  overflow: visible; /* ✅ Allow image to overflow above */
}


.terms-item img {
  position: absolute;
  top: -24px; /* ✅ Pull image above the box */
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid #ccc;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  object-fit: contain;
  z-index: 2;
}


/* ===== SPEC SECTION ===== */
.spec-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-white);
  border: 1px solid #ccc;
  border-radius: 8px;
}

.spec-section h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--accent-blue);
  text-align: center;
}

.spec-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  color: var(--text-muted);
}

.spec-note a {
  color: var(--accent-orange);
  text-decoration: underline;
}

.spec-note a:hover {
  color: var(--accent-hover);
}

/* === FAQ SECTION === */
.faq-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: var(--bg-white);
  
  border-radius: 8px;
  margin-left: auto;        /* ✅ Centers horizontally */
  margin-right: auto;
}

.faq-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;              /* ✅ Adds space between FAQ items */
}

.faq-item {
  width: 100%;
}

.faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;                    /* ✅ No space between question and answer */
  width: 100%;
}

.faq-question,
.faq-answer {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  margin: 0;
  border-radius: 0;
}

/* FAQ Question */
.faq-question {
  font-weight: 600;
  background-color: var(--accent-orange);
  color: var(--bg-white);
  border: 1px solid #ddd;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}

/* FAQ Answer */
.faq-answer {
  background-color: var(--bg-light);
  color: var(--text-muted);
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
}


/* -------------------------------------------------
   RELATED PRODUCTS SECTION (Enhanced)
------------------------------------------------- */
.related-products {
  margin-top: 60px;
  padding: 50px 20px;
  background: #fafafa;
  border-top: 1px solid #eee;
}

/* ✅ Limit total width and center the section */
.related-products .container {
  max-width: 1300px;
  margin: 0 auto;
}

/* Section title */
.related-products h3 {
  font-size: 1.9rem;
  text-align: left;
  margin-bottom: 30px;
  color: var(--accent-blue);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ✅ Grid layout */
.related-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* ✅ evenly fills row */
  gap: 1rem;
}

/* ✅ Card styling */
.related-card {
  display: block;
  width: 240px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 1px solid #e5e5e5;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* ✅ Image styling */
.related-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* ✅ Product name */
.related-card h4 {
  margin: 14px 0 18px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

/* ✅ Hover interaction */
.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
  border-color: var(--accent-orange);
}

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

/* ✅ Responsive adjustments */
@media (max-width: 1024px) {
  .related-card {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .related-products {
    padding: 40px 16px;
  }

  .related-products h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .related-grid {
    justify-content: space-between; /* ✅ evenly distribute cards */
    gap: 0.75rem;
  }

  .related-card {
    width: calc(50% - 0.5rem); /* ✅ 2 per row */
  }
}

@media (max-width: 480px) {
  .related-products {
    padding: 30px 10px;
  }

  .related-grid {
    justify-content: space-between;
    gap: 0.5rem;
  }

  .related-card {
    width: calc(50% - 0.4rem); /* ✅ 2 per row on small phones */
  }

  .related-card img {
    height: 150px;
  }
}


/* ===== UTILITY ===== */
.hidden {
  display: none;
}

/* ========== CONTACT FORM ========== */
.get-in-touch {
  background-color: var(--bg-white);
  padding: 60px 20px;
}


.touch-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1300px; /* Increased from 1000px */
  margin: 0 auto;
  background-color: var(--bg-white);
  padding: 40px; /* Increased from 40px */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.touch-info {
  flex: 1;
  min-width: 280px;
}

.touch-info h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--accent-blue);
}

.touch-info .highlight {
  color: var(--accent-orange);
}

.touch-info p {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.touch-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
  color: var(--text-muted);
}

.touch-info li {
  margin-bottom: 10px;
}

.touch-form {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.touch-form input,
.touch-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.touch-form button {
  background-color: var(--accent-orange);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.touch-form button:hover {
  background-color: var(--accent-hover);
}

/* ===== FOOTER ===== */

footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 20px;
}


/* ===== Mobile Responsive ===== */

@media (max-width: 768px) {
  .product-content-row {
    flex-direction: column;
  }

  .image-column,
  .supplier-column,
  .form-column {
    width: 100%;
    flex: unset;
    order: unset;
  }

  .image-column {
    order: 1;
    display: block;
    margin-bottom: 1.5rem;
  }

  .supplier-column {
    order: 2;
    margin-bottom: 1.5rem;
  }

  .form-column {
    order: 3;
  }

  .product-img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  body {
    background-color: var(--bg-white);
  }

  .product-page {
    background-color: var(--bg-white);
    padding-left: 0;
    padding-right: 0;
  }

  .supplier-box,
  .get-in-touch-box {
    background-color: var(--bg-white);
  }
}

@media (max-width: 768px) {
  .product-img {
    max-height: 440px;
    object-fit: contain;
    margin-bottom: 1rem;
  }

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



