/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --primary:     #c8860a;
  --primary-dk:  #a06a06;
  --dark:        #1a1a2e;
  --dark2:       #16213e;
  --mid:         #0f3460;
  --white:       #ffffff;
  --light-bg:    #f4f6f8;
  --text:        #333333;
  --text-light:  #666666;
  --border:      #dddddd;
  --success:     #27ae60;
  --radius:      8px;
  --shadow:      0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg:   0 6px 24px rgba(0,0,0,0.12);
  --transition:  all 0.2s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* { box-sizing: border-box; font-family: Arial, sans-serif; }

body {
  padding-top: 97px;
  overflow-x: hidden;
}

.container { max-width: 1100px; margin: 0 auto; padding: 10px; }

/* ============================================================
   HEADER & TOP BAR
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eee;
  transition: transform 0.3s ease-in-out;
}

.site-header.hide {
  transform: translateY(-100%);
}

.site-header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}

.main-nav a { margin: 0 8px; text-decoration: none; color: #333; }

.top-bar {
  background: var(--dark);
  color: #ccc;
  font-size: 0.82rem;
  padding: 7px 0;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.top-bar-inner span { display: flex; align-items: center; gap: 6px; }
.top-bar-right { margin-left: auto; display: flex; gap: 16px; }
.track-link {
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.track-link:hover { color: var(--white); }

.header-cart { display: flex; align-items: center; }
.cart-button {
  background: #333;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
}
.cart-button:hover { background: #218838; }

.nav-rfq {
  background: var(--primary) !important;
  color: var(--white) !important;
  font-weight: 700;
  border-radius: 20px !important;
  padding: 8px 18px !important;
}
.nav-rfq:hover { background: var(--primary-dk) !important; }

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.page-hero h1 { font-size: 2.4rem; margin-bottom: 12px; }
.page-hero p  { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto 20px; }
.page-hero-sm { padding: 50px 0; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { color: var(--white); }

/* ============================================================
   HOME HERO
   ============================================================ */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%);
  color: var(--white);
}
.hero-text { flex: 1 1 400px; margin-right: 20px; }
.hero-text h1 { font-size: 2.5rem; margin-bottom: 20px; color: var(--white); }
.hero-text p  { font-size: 1.2rem; margin-bottom: 20px; color: rgba(255,255,255,0.85); }
.hero-image { flex: 1 1 400px; text-align: center; }
.hero-image img { max-width: 100%; border-radius: 10px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
  font-weight: bold;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
}
.btn-primary:hover { background-color: var(--primary-dk); }

.btn-secondary {
  display: inline-block;
  padding: 10px 15px;
  background-color: #e0e0e0;
  color: #333;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
}
.btn-secondary:hover { background: #ddd; }

.btn-outline {
  display: inline-block;
  padding: 9px 20px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-full { width: 100%; text-align: center; justify-content: center; }

.btn-rfq-footer {
  display: inline-block;
  margin-top: 12px;
  background: var(--primary);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-rfq-footer:hover { background: var(--primary-dk); }

/* ============================================================
   SHOP PAGE — CATEGORY SCROLL
   ============================================================ */
.home-container { padding: 20px; }

.category-title {
  font-size: 28px;
  font-weight: bold;
  margin: 30px 0 20px;
  color: #222;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
}
.category-title a { color: inherit; text-decoration: none; }
.category-title a:hover { color: var(--primary); text-decoration: underline; }

.category-wrapper {
  position: relative;
  margin-bottom: 30px;
}

/* Rail — scrollbar hidden visually but scroll works for touch & JS */
.products-wrapper {
  overflow-x: scroll;
  overflow-y: hidden;
  padding-bottom: 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* smooth momentum on iOS */
  /* Hide scrollbar across all browsers */
  scrollbar-width: none;             /* Firefox */
  -ms-overflow-style: none;          /* IE/Edge */
}
.products-wrapper::-webkit-scrollbar {
  display: none;                     /* Chrome/Safari */
}

/* Scroll row — never wraps */
.products-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}

/* Scroll arrow buttons — hidden by default, JS shows as flex */
.scroll-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.scroll-btn:hover { background: rgba(0,0,0,0.7); }
.left-btn  { left:  6px; }
.right-btn { right: 6px; }

/* ============================================================
   PRODUCT CARDS (desktop)
   ============================================================ */
.product-card {
  flex: 0 0 240px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); }

.product-card img,
.product-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}
.product-card h3    { margin: 10px 0 5px; font-size: 1.1em; }
.product-card .price { color: #28a745; font-weight: bold; margin-bottom: 5px; }
.product-card .desc  { font-size: 0.9em; margin-bottom: 10px; height: 40px; overflow: hidden; }

.product-card .buttons {
  display: flex;
  justify-content: center;
  gap: 5px;
}
.cart-btn {
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9em;
  color: #fff;
}
.add-cart    { background: #28a745; }
.remove-cart { background: #dc3545; }
.add-cart:hover, .remove-cart:hover { opacity: 0.9; }

/* Category page static grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { text-align: center; padding: 60px 20px; background: #ffffff; }
.about h2 { font-size: 2rem; margin-bottom: 20px; }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries { padding: 60px 20px; background: #f9f9f9; text-align: center; }
.industries h2 { font-size: 2rem; margin-bottom: 40px; }
.industry-cards { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.industry-card {
  flex: 0 0 250px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}
.industry-card img {
  width: 100%; height: 150px;
  object-fit: cover; border-radius: 10px; margin-bottom: 10px;
}
.industry-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.industry-card .btn-primary { margin-top: 10px; }

/* ============================================================
   FEATURED PRODUCTS (home page)
   ============================================================ */
.products { padding: 60px 20px; text-align: center; background: #ffffff; }
.product-grid { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: 60px 20px; background: #f8f8f8; text-align: center; }
.testimonials h2 { font-size: 2rem; margin-bottom: 30px; color: #333; }
.testimonial-cards { display: flex; justify-content: center; flex-wrap: wrap; gap: 25px; }
.testimonial-card {
  background: #fff; border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 20px; max-width: 300px; text-align: center;
  transition: transform 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-5px); }
.testimonial-card img {
  width: 80px; height: 80px; object-fit: cover;
  border-radius: 50%; margin-bottom: 15px; border: 3px solid #ddd;
}
.testimonial-card p  { font-style: italic; color: #555; margin-bottom: 10px; }
.testimonial-card h4 { margin-bottom: 5px; font-weight: bold; color: #222; }
.rating { color: #FFD700; font-size: 1.2rem; }

/* ============================================================
   TEAM & BRANDS
   ============================================================ */
.team { padding: 60px 20px; background: #f9f9f9; text-align: center; }
.team-members { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 30px; }
.team-member {
  flex: 0 0 250px; background: #fff; padding: 20px;
  border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); text-align: center;
}
.team-member img { max-width: 100%; border-radius: 50%; margin-bottom: 15px; }
.team-member h3  { font-size: 1.2rem; margin-bottom: 5px; }
.team-member p   { font-size: 1rem; color: #555; }

.brands { padding: 60px 20px; background: #ffffff; text-align: center; }
.brand-logos { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 20px; }
.brand-logos img { max-width: 150px; height: auto; transition: transform 0.3s; }
.brand-logos img:hover { transform: scale(1.1); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 60px 0; background: var(--light-bg); }
.contact-container {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 40px; max-width: 900px; margin: 0 auto;
}
.contact-info h3 { font-size: 1rem; color: var(--dark); margin: 16px 0 4px; }
.contact-info p  { color: var(--text-light); font-size: 0.92rem; }

/* ============================================================
   RFQ / QUOTATION
   ============================================================ */
.rfq-section { padding: 80px 0; background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%); }
.rfq-row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.rfq-text h2 { font-size: 2rem; color: var(--white); margin: 10px 0 14px; }
.rfq-text p  { color: rgba(255,255,255,0.75); margin-bottom: 20px; }
.rfq-benefits li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.8); padding: 5px 0; font-size: 0.95rem; }
.rfq-benefits li i { color: var(--success); }

.rfq-form {
  background: var(--white); padding: 32px;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.rfq-form h3 {
  font-size: 1.3rem; color: var(--dark); margin-bottom: 22px;
  padding-bottom: 12px; border-bottom: 2px solid var(--primary);
}
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 0.93rem; outline: none;
  transition: var(--transition); background: var(--white); color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(200,134,10,0.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.qty-unit-row { display: flex; gap: 8px; }
.qty-unit-row input  { flex: 1; }
.qty-unit-row select { flex: 1.2; }

.quotation-page   { padding: 60px 0; background: var(--light-bg); }
.quotation-layout { display: grid; grid-template-columns: 1.8fr 1fr; gap: 36px; align-items: start; }
.rfq-sidebar      { display: flex; flex-direction: column; gap: 20px; }
.rfq-info-box {
  background: var(--white); padding: 22px;
  border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}
.rfq-info-box h4    { font-size: 1rem; color: var(--dark); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.rfq-info-box h4 i  { color: var(--primary); }
.rfq-info-box ol    { padding-left: 18px; color: var(--text-light); font-size: 0.9rem; }
.rfq-info-box ol li { padding: 3px 0; }
.rfq-info-box p     { color: var(--text-light); font-size: 0.9rem; margin-bottom: 6px; }
.rfq-info-box a     { color: var(--primary); font-weight: 600; }

.rfq-success-box {
  background: #d4edda; border: 1px solid #c3e6cb;
  border-radius: var(--radius); padding: 24px; text-align: center; margin-bottom: 20px;
}
.rfq-success-box i  { font-size: 2rem; color: var(--success); margin-bottom: 10px; }
.rfq-success-box h3 { color: var(--success); margin-bottom: 8px; }
.rfq-success-box p  { color: #155724; margin-bottom: 6px; }
.success-box { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; padding: 14px; border-radius: var(--radius); margin-bottom: 16px; }
.error-box   { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; padding: 14px; border-radius: var(--radius); margin-bottom: 16px; }

/* ============================================================
   TRACK QUOTATION
   ============================================================ */
.track-rfq-page { padding: 60px 0; background: var(--light-bg); }
.track-layout   { display: grid; grid-template-columns: 1fr 2fr; gap: 36px; align-items: start; }
.track-form-box { background: var(--white); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.track-form-box h3 { font-size: 1.2rem; color: var(--dark); margin-bottom: 20px; }
.track-form label  { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.input-btn-row { display: flex; gap: 8px; }
.input-btn-row input { flex: 1; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 0.92rem; outline: none; }
.input-btn-row input:focus { border-color: var(--primary); }
.or-divider { text-align: center; margin: 16px 0; position: relative; color: var(--text-light); font-size: 0.85rem; }
.or-divider::before, .or-divider::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--border); }
.or-divider::before { left: 0; }
.or-divider::after  { right: 0; }
.or-divider span { background: var(--white); padding: 0 10px; position: relative; z-index: 1; }

.rfq-detail-box    { background: var(--white); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.rfq-detail-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.rfq-detail-header h3 { font-size: 1.3rem; color: var(--dark); }
.rfq-status-badge  { padding: 5px 14px; border-radius: 20px; color: var(--white); font-size: 0.82rem; font-weight: 700; }
.rfq-detail-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.rfq-detail-item   { font-size: 0.9rem; color: var(--text); }
.rfq-detail-item strong { color: var(--dark); }
.rfq-message-box, .rfq-response-box { background: var(--light-bg); padding: 16px; border-radius: 6px; margin-bottom: 16px; }
.rfq-message-box strong, .rfq-response-box strong { display: block; margin-bottom: 8px; color: var(--dark); }
.quoted-price { font-size: 1.1rem; color: var(--primary); font-weight: 700; margin-top: 10px; }

.rfq-progress { display: flex; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.rfq-step     { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.step-dot     { width: 18px; height: 18px; border-radius: 50%; background: var(--border); transition: var(--transition); }
.rfq-step span { font-size: 0.78rem; color: var(--text-light); text-align: center; }
.step-done .step-dot   { background: var(--success); }
.step-active .step-dot { background: var(--primary); box-shadow: 0 0 0 4px rgba(200,134,10,0.2); }
.step-done  span { color: var(--success); font-weight: 600; }
.step-active span { color: var(--primary); font-weight: 700; }
.step-line { flex: 1; height: 3px; background: var(--border); }
.line-done { background: var(--success); }

.rfq-list-box { background: var(--white); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.rfq-list-box h3 { margin-bottom: 20px; color: var(--dark); }
.rfq-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.rfq-table th, .rfq-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.rfq-table th { background: var(--light-bg); color: var(--dark); font-weight: 700; }
.rfq-table tr:hover td { background: rgba(200,134,10,0.04); }

/* ============================================================
   TRACK ORDER
   ============================================================ */
.track-order-container {
  max-width: 480px; margin: 60px auto; padding: 30px;
  background: #ffffff; border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08); text-align: center;
}
.track-order-container h2 { font-size: 1.8rem; color: #003366; margin-bottom: 20px; }
.track-order-container form { display: flex; flex-direction: column; gap: 15px; }
.track-order-container input[type="text"] {
  padding: 12px 14px; font-size: 1rem;
  border: 1px solid #ccc; border-radius: 6px; outline: none; transition: border 0.2s ease;
}
.track-order-container input[type="text"]:focus {
  border-color: #0077cc; box-shadow: 0 0 0 3px rgba(0,119,204,0.15);
}
.track-order-container button {
  background: #0077cc; color: white; font-size: 1rem; font-weight: 600;
  padding: 12px; border: none; border-radius: 6px; cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
.track-order-container button:hover { background: #005fa3; transform: translateY(-2px); }
.track-order-container p { margin-top: 10px; font-size: 0.95rem; }
.track-order-container .error-msg {
  color: #d93025; background: #ffecec;
  border: 1px solid #f5b5b5; border-radius: 5px; padding: 10px; margin-bottom: 15px;
}
.track-order-section { text-align: center; margin: 20px auto; }
.track-order-section .track-btn {
  display: inline-block; background-color: #0077cc; color: #fff;
  font-size: 1rem; padding: 12px 26px; border-radius: 6px; font-weight: 600;
  text-decoration: none; transition: background 0.3s ease, transform 0.2s ease;
}
.track-order-section .track-btn:hover { background-color: #005fa3; transform: translateY(-2px); }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-page  { max-width: 1200px; margin: 30px auto; padding: 20px; display: flex; flex-direction: column; gap: 40px; }
.product-wrap  { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: flex-start; }
.left-col      { display: flex; flex-direction: column; gap: 15px; }
.main-image img {
  width: 100%; max-height: 500px; object-fit: contain;
  border: 1px solid #ddd; border-radius: 8px;
  background: #fff; padding: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.thumbs { display: flex; gap: 10px; overflow-x: auto; }
.thumbs img {
  width: 80px; height: 80px; object-fit: cover;
  border: 2px solid transparent; border-radius: 6px;
  cursor: pointer; transition: transform 0.2s, border-color 0.2s; background: #fff;
}
.thumbs img.active { border-color: #007bff; transform: scale(1.05); }
.right-col h1       { font-size: 2rem; margin-bottom: 10px; color: #333; }
.right-col .headline { font-size: 1.2rem; font-weight: 500; margin-bottom: 15px; color: #555; }
.right-col h4       { margin-top: 15px; color: #222; font-weight: bold; }
.right-col p, .right-col li { color: #555; line-height: 1.6; }
.right-col ul       { list-style: disc; margin-left: 20px; }
.pricing-box { background: #f9f9f9; padding: 1rem; border-radius: 8px; margin-bottom: 1rem; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }
.documents-section  { margin-top: 40px; }
.documents-section h3 { font-size: 1.4rem; margin-bottom: 10px; color: #333; }
.documents-section ul { list-style: none; padding: 0; }
.documents-section li { margin: 5px 0; }
.documents-section a  { color: #007bff; text-decoration: none; }
.documents-section a:hover { text-decoration: underline; }

/* ============================================================
   CART & ORDERS
   ============================================================ */
.order-box { max-width: 800px; margin: 30px auto; padding: 20px; background: #fff; border-radius: 8px; box-shadow: 0 3px 8px rgba(0,0,0,0.1); }
.order-details-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.order-details-table th, .order-details-table td { border: 1px solid #ddd; padding: 10px; text-align: left; }
.order-details-table th { background-color: #f8f8f8; }
.order-summary { width: 100%; border-collapse: collapse; margin: 15px 0; }
.order-summary th, .order-summary td { border: 1px solid #ddd; padding: 8px 12px; }
.order-summary th { background: #f7f7f7; text-align: left; width: 200px; }
.customer-info { display: flex; flex-direction: column; gap: 10px; margin-top: 15px; max-width: 400px; }
.customer-info label { font-weight: bold; margin-bottom: 5px; }
.customer-info input, .customer-info textarea { padding: 8px 10px; border: 1px solid #ccc; border-radius: 5px; width: 100%; }

/* ============================================================
   BADGES & STATUS
   ============================================================ */
.badge { padding: 3px 6px; border-radius: 4px; color: #fff; font-weight: bold; font-size: 0.9em; }
.badge.active   { background: #28a745; }
.badge.inactive { background: #dc3545; }
.badge.featured { background: #0073e6; }
.status-badge   { display: inline-block; padding: 6px 12px; border-radius: 4px; font-size: 14px; font-weight: bold; }
.status-NotPaid { background-color: #ffc107; color: #212529; }
.status-Paid    { background-color: #28a745; color: #fff; }
.status-Failed  { background-color: #dc3545; color: #fff; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-container { max-width: 1100px; margin: auto; padding: 40px 20px; line-height: 1.7; }
.about-container h1 { text-align: center; margin-bottom: 20px; font-size: 2.5rem; color: #333; }
.intro-text { text-align: center; margin-bottom: 40px; font-size: 1.2rem; color: #555; }
.about-container section { margin-bottom: 50px; }
.about-container h2 { margin-bottom: 15px; color: #222; font-size: 1.8rem; }
.culture-list, .values-list { list-style: none; padding: 0; margin-top: 10px; text-align: left; display: inline-block; }
.culture-list li, .values-list li { font-size: 1.1rem; margin: 8px 0; }
.culture  { background: #f9f9f9; padding: 60px 20px; text-align: center; }
.culture ul { list-style: none; padding: 0; margin-top: 20px; }
.culture li { font-size: 1.1rem; margin: 5px 0; }
.location { padding: 60px 20px; text-align: center; }
.map iframe { border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

/* ============================================================
   POLICY PAGES
   ============================================================ */
.policy-section { max-width: 900px; margin: 60px auto; padding: 20px; background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.policy-section h1 { text-align: center; color: #004c91; margin-bottom: 20px; }
.policy-section h2 { margin-top: 30px; color: #0073b1; border-left: 4px solid #0073b1; padding-left: 8px; }
.policy-section p  { line-height: 1.6; color: #333; }
.policy-section ul, .policy-section ol { margin-left: 25px; color: #444; }
.policy-section li { margin-bottom: 10px; }

/* ============================================================
   PAYMENT
   ============================================================ */
.pay-button {
  display: inline-block; padding: 12px 24px; background-color: #28a745;
  color: white; font-size: 16px; border: none; border-radius: 6px;
  cursor: pointer; text-decoration: none;
}
.pay-button:hover { background-color: #218838; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #002b49; color: #fff; padding: 40px 0; text-align: center; margin-top: 60px; }
.footer-container { max-width: 1100px; margin: auto; padding: 0 20px; }
.footer-links { margin-bottom: 15px; font-size: 14px; }
.footer-links a { color: #fff; text-decoration: none; margin: 0 8px; }
.footer-links a:hover { text-decoration: underline; }
.footer-contact { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.footer-social a { color: #fff; text-decoration: none; margin: 0 8px; font-size: 15px; transition: color 0.3s ease; }
.footer-social a:hover { color: #00b3ff; }
.footer-copy { margin-top: 20px; font-size: 13px; opacity: 0.8; }

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 900px) {
  .products-grid    { grid-template-columns: repeat(2, 1fr); }
  .quotation-layout { grid-template-columns: 1fr; }
  .track-layout     { grid-template-columns: 1fr; }
  .rfq-row          { grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  body { padding-top: 80px; }

  /* Header */
  .top-bar-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
  .top-bar-right { margin-left: 0; }

  /* Hero */
  .hero         { flex-direction: column; text-align: center; }
  .hero-text    { margin-right: 0; margin-bottom: 20px; }

  /* Sections */
  .industry-cards, .team-members, .brand-logos { flex-direction: column; align-items: center; }
  .industry-card, .team-member { flex: 0 0 90%; }
  .contact-container { grid-template-columns: 1fr; }
  .form-row          { grid-template-columns: 1fr; }
  .rfq-detail-grid   { grid-template-columns: 1fr; }
  .product-wrap      { grid-template-columns: 1fr; }
  .main-image img    { max-height: 350px; }
  .product-page      { padding: 10px; }

  /* Mobile product cards — 78vw so second card peeks ~22% into view */
  /* !important overrides the desktop 240px fixed width */
  .product-card {
    flex: 0 0 78vw !important;
    max-width: 78vw !important;
  }

  /* Scroll arrows stay visible on mobile — DO NOT set display:none here */
  /* JS controls visibility based on scroll position and product count    */
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE
   ============================================================ */
@media (max-width: 600px) {
  .policy-section    { margin: 20px; padding: 15px; }
  .policy-section h1 { font-size: 1.5em; }
  .footer-links      { display: block; margin-bottom: 25px; }
  .footer-links a    { display: block; margin: 6px 0; }
  .track-order-container { margin: 40px 15px; padding: 20px; }
  .track-order-container h2 { font-size: 1.5rem; }
}

@media (max-width: 500px) {
  .products-grid { grid-template-columns: 1fr; }
}