/* ============================================
   bestTech Tehno Shop - Modern Design
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #95C11F;
  --primary-dark: #7DA319;
  --primary-light: #f0f7e0;
  --accent: #a8d42a;
  --dark: #1a1a2e;
  --dark-mid: #16213e;
  --text: #2d3436;
  --text-light: #636e72;
  --text-muted: #b2bec3;
  --bg: #f8f9fa;
  --bg-alt: #f1f3f5;
  --white: #fff;
  --border: #e9ecef;
  --border-light: #f1f3f5;
  --success: #00b894;
  --success-bg: #d5f5e3;
  --warning: #fdcb6e;
  --warning-bg: #fef9e7;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 10px;
  --radius-lg: 14px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
a:hover { color: var(--primary); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }

/* ============================================
   HEADER
   ============================================ */

/* Header Top Bar */
.header-top {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  padding: 7px 0;
  letter-spacing: 0.2px;
}
.header-top .container { display: flex; justify-content: space-between; align-items: center; }
.header-top .welcome-msg { font-weight: 400; }

/* Header Middle */
.header-middle {
  background: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.header-middle .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img { height: 45px; width: auto; }
.logo { flex-shrink: 0; }

.main-nav { flex: 1; }
.main-nav .menu {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.main-nav .menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 0;
  position: relative;
}
.main-nav .menu a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.main-nav .menu a:hover::after { width: 100%; }
.main-nav .menu a:hover { color: var(--primary); }

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

.header-call {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-call .call-icon {
  font-size: 20px;
  color: var(--primary);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 50%;
}
.header-call .call-info { font-size: 12px; line-height: 1.3; }
.header-call .call-info small { color: var(--text-muted); display: block; font-size: 11px; }
.header-call .call-info a { font-weight: 700; color: var(--text); font-size: 14px; }

.cart-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  color: var(--text);
  position: relative;
}
.cart-toggle i { font-size: 24px; margin-bottom: 2px; }
.cart-count {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
}

/* Header Bottom (Sticky) */
.header-bottom {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.header-bottom .container {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 52px;
}

/* Category Dropdown */
.category-dropdown { position: relative; }
.category-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 0 22px;
  height: 52px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  font-family: inherit;
  letter-spacing: 0.3px;
  transition: background var(--transition);
}
.category-toggle i { font-size: 16px; }
.category-toggle:hover { background: var(--primary-dark); color: #fff; }

.category-dropdown-box {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 300px;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 200;
  max-height: 70vh;
  overflow-y: auto;
}
.category-dropdown:hover .category-dropdown-box,
.category-dropdown.show .category-dropdown-box { display: block; }

.category-menu { padding: 8px 0; }
.category-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--text);
  transition: all var(--transition);
}
.category-menu a:hover {
  background: var(--bg-alt);
  color: var(--primary);
  padding-left: 24px;
}
.category-menu a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.category-menu .cat-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  background: var(--bg-alt);
  padding: 2px 8px;
  border-radius: 10px;
}

/* Search Bar */
.header-search {
  flex: 1;
  display: flex;
  height: 42px;
  max-width: 620px;
}
.header-search input {
  flex: 1;
  border: none;
  padding: 0 16px;
  font-size: 13px;
  font-family: inherit;
  border-radius: 8px 0 0 8px;
  outline: none;
  background: rgba(255,255,255,0.95);
}
.header-search input::placeholder { color: #adb5bd; }
.header-search button {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 0 20px;
  cursor: pointer;
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  transition: background var(--transition);
}
.header-search button:hover { background: var(--primary-dark); }

.header-bottom .header-action {
  margin-left: auto;
  white-space: nowrap;
}
.header-bottom .header-action a {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.header-bottom .header-action a:hover { color: #fff; }
.header-bottom .header-action i { color: var(--accent); font-size: 16px; }

/* ============================================
   CATEGORY SHOWCASE
   ============================================ */
.category-showcase { padding: 32px 0; }
.category-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  padding: 24px;
  gap: 20px;
  transition: all var(--transition);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.cat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--border);
}
.cat-card-content { flex: 1; }
.cat-card-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.cat-card-content h4 a:hover { color: var(--primary); }
.cat-card-list { font-size: 13px; }
.cat-card-list li { margin-bottom: 5px; }
.cat-card-list a { color: var(--text-light); }
.cat-card-list a:hover { color: var(--primary); }
.cat-card-img {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ============================================
   PRODUCT SECTIONS
   ============================================ */
.product-section {
  padding: 36px 0;
}
.product-section.grey-bg { background: var(--bg-alt); }
.section-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.section-title span { color: var(--text-muted); font-weight: 400; font-size: 14px; }
.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.section-link:hover { text-decoration: none; color: var(--primary); gap: 8px; }

/* ============================================
   PRODUCT CARD
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-light);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--border);
}

.product-card-media {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  background: var(--white);
  cursor: pointer;
}
.product-card-media img {
  max-height: 190px;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition);
}
.product-card:hover .product-card-media img {
  transform: scale(1.06);
}

/* Product Badges */
.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.product-badges .badge-stock {
  background: var(--success);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}
.product-badges .badge-inquiry {
  background: var(--warning);
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

/* Quick View Button */
.product-card-media .quick-view-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-light);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.product-card:hover .quick-view-btn {
  opacity: 1;
  transform: translateY(0);
}
.product-card-media .quick-view-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Product Details */
.product-card-details {
  padding: 14px 16px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
  min-height: 54px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}
.product-card-name a:hover { color: var(--primary); }

.product-card-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
}

/* Add to Cart Icon Button */
.btn-cart-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.btn-cart-icon:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

/* Price Block */
.product-price {
  text-align: right;
  flex: 1;
  padding-left: 10px;
}
.product-price .new-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.product-price .old-price {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
}
.product-price .saving {
  font-size: 11px;
  color: var(--success);
  font-weight: 500;
}

/* ============================================
   DEALS CAROUSEL
   ============================================ */
.deals-section {
  padding: 40px 0;
  background: var(--bg-alt);
}
.deals-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.deals-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}
.deals-header h2 i {
  color: #e74c3c;
  margin-right: 8px;
}
.deals-nav {
  display: flex;
  gap: 8px;
}
.deals-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
}
.deals-arrow:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.deals-track-wrap {
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.deals-track-wrap::-webkit-scrollbar { display: none; }
.deals-track {
  display: flex;
  gap: 18px;
  transition: transform 0.4s ease;
}
.deal-card {
  flex: 0 0 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}
.deal-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary);
}
.deal-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e74c3c;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
  letter-spacing: 0.3px;
}
.deal-img {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--white);
}
.deal-img img {
  max-height: 140px;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition);
}
.deal-card:hover .deal-img img { transform: scale(1.06); }
.deal-info {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.deal-info h4 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}
.deal-prices {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.deal-old {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.deal-new {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
}

/* NEWSLETTER (kept for other pages) */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 48px 0;
}
.newsletter-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.newsletter-content { flex: 1; }
.newsletter-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.newsletter-content p {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}
.newsletter-content .nl-icon {
  font-size: 36px;
  color: #fff;
  margin-right: 16px;
}
.newsletter-form {
  display: flex;
  max-width: 460px;
  flex: 1;
}
.newsletter-form input {
  flex: 1;
  border: none;
  padding: 14px 20px;
  font-size: 14px;
  border-radius: 30px 0 0 30px;
  outline: none;
  font-family: inherit;
}
.newsletter-form input::placeholder { color: #adb5bd; }
.newsletter-form button {
  background: var(--dark);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0 30px 30px 0;
  font-family: inherit;
  transition: background var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover { background: #333; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-area .logo-text {
  margin-bottom: 16px;
}
.footer-logo-area .logo-text img { height: 35px; width: auto; }
.footer-support-label { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-phone {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.footer-phone a { color: #fff; }
.footer-phone a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: all var(--transition);
}
.footer-col ul a:hover { color: #fff; padding-left: 4px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.payment-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 6px 12px;
  border-radius: 4px;
}
.payment-icons img { height: 26px; }

/* ============================================
   CATEGORY PAGE
   ============================================ */
.breadcrumb-bar {
  background: var(--bg-alt);
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.breadcrumb-bar a { color: var(--text-light); }
.breadcrumb-bar a:hover { color: var(--text); }
.breadcrumb-bar span { color: var(--text); font-weight: 600; }

.category-page-content { padding: 28px 0; }
.cat-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  background: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.results-count { font-size: 13px; color: var(--text-light); font-weight: 500; }
.cat-controls { display: flex; align-items: center; gap: 10px; }

.view-btn {
  background: none;
  border: 1px solid var(--border);
  padding: 7px 12px;
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  transition: all var(--transition);
}
.view-btn.active, .view-btn:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}
.sort-select select {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
  color: var(--text);
  background: var(--white);
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition);
}
.sort-select select:focus { border-color: var(--primary); }

/* List view */
.product-list-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all var(--transition);
  border: 1px solid var(--border-light);
}
.product-list-item:hover {
  box-shadow: var(--shadow);
  transform: translateX(4px);
  border-color: var(--border);
}
.product-list-img {
  width: 80px; height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-list-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-list-info { flex: 1; min-width: 0; }
.product-list-info h3 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.product-list-info h3 a:hover { color: var(--primary); }
.product-list-cat { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.product-list-stock { font-size: 12px; }
.product-list-actions { flex-shrink: 0; text-align: right; }
.product-list-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--dark);
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-detail:hover { background: var(--primary); color: #fff; }

/* Stock badges */
.stock-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.2px;
}
.stock-in { background: var(--success-bg); color: #00a87d; }
.stock-out { background: var(--warning-bg); color: #e67e22; }

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  border: 1px solid var(--border-light);
}
.pd-image { text-align: center; }
.pd-main-img {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.pd-main-img img { max-height: 360px; max-width: 100%; object-fit: contain; }
.pd-info h1 { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 14px; line-height: 1.35; }
.pd-sku { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.pd-availability {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
  padding: 10px 16px;
  border-radius: 8px;
  width: fit-content;
}
.pd-availability.in-stock { color: #00a87d; background: var(--success-bg); }
.pd-availability.out-of-stock { color: #e67e22; background: var(--warning-bg); }

.pd-price-box {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  border-left: 4px solid var(--primary);
}
.pd-price-box .price-label { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.pd-price-box .price-value { font-size: 30px; font-weight: 800; color: var(--primary); }

.pd-price-inquiry {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  border-left: 4px solid var(--primary);
}
.pd-price-inquiry .price-inquiry-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pd-price-inquiry .price-inquiry-label i { font-size: 16px; }

.pd-contact-box {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  border-left: 4px solid var(--success);
}
.pd-contact-box p { font-size: 14px; color: var(--text-light); margin-bottom: 14px; }
.pd-contact-box .btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition);
}
.pd-contact-box .btn-contact:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }

.related-section { margin-top: 10px; }

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  backdrop-filter: blur(2px);
}
.mobile-menu-overlay.active { display: block; }

.mobile-menu-panel {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100%;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 8px 0 30px rgba(0,0,0,0.2);
}
.mobile-menu-panel.open { left: 0; }
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-header h3 { font-size: 16px; font-weight: 700; }
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-light);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}
.mobile-menu-close:hover { background: var(--bg-alt); }
.mobile-menu-nav { padding: 8px 0; }
.mobile-menu-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition);
}
.mobile-menu-nav a:hover { background: var(--bg-alt); color: var(--primary); padding-left: 24px; }
.mobile-menu-nav a i { width: 20px; text-align: center; color: var(--text-muted); }
.mobile-menu-nav .cat-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(149,193,31,0.35);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
  transition: all var(--transition);
}
.scroll-top-btn:hover { background: var(--primary-dark); transform: translateY(-3px); }
.scroll-top-btn.visible { display: flex; }

/* ============================================
   ANIMATIONS & KEYFRAMES
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.1); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toastProgress {
  from { width: 100%; }
  to { width: 0%; }
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

/* Scroll reveal */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.products-grid .reveal-item:nth-child(1) { transition-delay: 0s; }
.products-grid .reveal-item:nth-child(2) { transition-delay: 0.08s; }
.products-grid .reveal-item:nth-child(3) { transition-delay: 0.16s; }
.products-grid .reveal-item:nth-child(4) { transition-delay: 0.24s; }
.products-grid .reveal-item:nth-child(5) { transition-delay: 0.32s; }

/* Badge pulse */
.badge-stock { animation: pulse 2.5s ease-in-out infinite; }

/* ============================================
   PRODUCT CARD OVERLAY (Inquiry button)
   ============================================ */
.product-card { position: relative; }
.product-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.03));
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 3;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.product-card:hover .product-card-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.btn-add-inquiry {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(149,193,31,0.3);
}
.btn-add-inquiry:hover {
  background: var(--primary-dark);
  transform: scale(1.04);
}
.btn-add-inquiry:active { transform: scale(0.96); }

/* Product card bottom - inquiry style */
.btn-detail-sm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition);
}
.btn-detail-sm:hover { color: var(--primary); }
.btn-cart-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-cart-sm:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
}
.product-list-btns { display: flex; align-items: center; gap: 6px; }
.btn-inquiry-sm {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-inquiry-sm:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

/* ============================================
   INQUIRY BADGE (Header)
   ============================================ */
.inquiry-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}
.inquiry-toggle i { font-size: 22px; }
.inquiry-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.inquiry-count.bounce { animation: bounceIn 0.5s ease-out; }

/* ============================================
   INQUIRY TOAST
   ============================================ */
.inquiry-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  z-index: 1000;
  min-width: 300px;
  max-width: 420px;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid var(--primary);
  overflow: hidden;
}
.inquiry-toast.show { transform: translateY(0); opacity: 1; }
.inquiry-toast-content {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
}
.inquiry-toast-content i { color: var(--success); margin-right: 4px; }
.inquiry-toast-content strong { font-weight: 600; }
.inquiry-toast-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.inquiry-toast-link:hover { gap: 8px; color: var(--primary); }
.inquiry-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  animation: toastProgress 3.5s linear forwards;
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges {
  padding: 28px 0;
  border-bottom: 1px solid var(--border-light);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}
.trust-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--border);
}
.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.trust-icon.ti-red { background: var(--primary-light); color: var(--primary); }
.trust-icon.ti-green { background: var(--success-bg); color: var(--success); }
.trust-icon.ti-blue { background: #dbeafe; color: #2563eb; }
.trust-icon.ti-orange { background: var(--warning-bg); color: #e67e22; }
.trust-text h4 { font-size: 13px; font-weight: 700; color: var(--text); }
.trust-text p { font-size: 12px; color: var(--text-light); }

/* ============================================
   INQUIRY PAGE
   ============================================ */
.inquiry-page { padding: 28px 0; }
.inquiry-table {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  margin-bottom: 28px;
}
.inquiry-table table { width: 100%; border-collapse: collapse; }
.inquiry-table th, .inquiry-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
}
.inquiry-table th {
  font-weight: 600;
  color: var(--text-light);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--bg-alt);
}
.inquiry-table img { width: 60px; height: 60px; object-fit: contain; border-radius: 6px; }
.inquiry-item-name { font-weight: 600; color: var(--text); }
.inquiry-item-name a:hover { color: var(--primary); }
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.qty-control button {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-alt);
  cursor: pointer;
  font-size: 14px;
  transition: background var(--transition);
  font-family: inherit;
  color: var(--text);
}
.qty-control button:hover { background: var(--border); }
.qty-control span {
  width: 40px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  background: var(--white);
}
.btn-remove-item {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  transition: color var(--transition);
  padding: 4px;
}
.btn-remove-item:hover { color: var(--primary); }

.inquiry-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.btn-clear-inquiry {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.btn-clear-inquiry:hover { border-color: var(--primary); color: var(--primary); }

/* Inquiry contact form */
.inquiry-form-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  padding: 32px;
}
.inquiry-form-section h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}
.inquiry-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.inquiry-form-group { display: flex; flex-direction: column; gap: 6px; }
.inquiry-form-group.full { grid-column: 1 / -1; }
.inquiry-form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.inquiry-form-group input,
.inquiry-form-group textarea {
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  transition: border-color var(--transition);
}
.inquiry-form-group input:focus,
.inquiry-form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(149,193,31,0.08);
}
.inquiry-form-group textarea { min-height: 100px; resize: vertical; }
.btn-send-inquiry {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}
.btn-send-inquiry:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-send-inquiry:active { transform: scale(0.98); }

/* Empty state */
.empty-state-page {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.empty-state-page i { font-size: 64px; margin-bottom: 20px; color: var(--border); }
.empty-state-page h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.empty-state-page p { font-size: 14px; margin-bottom: 24px; }
.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition);
}
.btn-back-home:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page { padding: 32px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
}
.contact-info-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition);
}
.contact-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.contact-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.contact-card a { color: var(--primary); font-weight: 600; }

.contact-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.contact-form-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

/* Product detail inquiry button */
.pd-inquiry-box {
  margin-bottom: 20px;
}
.btn-inquiry-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 16px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(149,193,31,0.25);
}
.btn-inquiry-lg:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(149,193,31,0.35);
}
.btn-inquiry-lg:active { transform: scale(0.98); }
.btn-inquiry-lg.added {
  background: var(--success);
  box-shadow: 0 4px 16px rgba(0,184,148,0.3);
}

/* ============================================
   INQUIRY PAGE - EXTENDED
   ============================================ */
.inquiry-header { margin-bottom: 28px; }
.inquiry-header h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}
.inquiry-header h1 i { color: var(--primary); }
.inquiry-subtitle { font-size: 14px; color: var(--text-light); margin-top: 6px; }

.inquiry-table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  margin-bottom: 20px;
}
.inquiry-table-wrap table.inquiry-table { width: 100%; border-collapse: collapse; }
.inquiry-table-wrap .inquiry-table th,
.inquiry-table-wrap .inquiry-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
}
.inquiry-table-wrap .inquiry-table th {
  font-weight: 600;
  color: var(--text-light);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--bg-alt);
}
.inquiry-table-wrap .td-img img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 6px;
}
.inquiry-table-wrap .td-name a {
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}
.inquiry-table-wrap .td-name a:hover { color: var(--primary); }

.inquiry-total-items { font-size: 14px; font-weight: 600; color: var(--text-light); }

.btn-clear-all {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-clear-all:hover { border-color: var(--primary); color: var(--primary); }

.inquiry-form-section h2,
.contact-form-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.inquiry-form-section h2 i,
.contact-form-section h2 i { color: var(--primary); }
.inquiry-form-section > p,
.contact-form-section > p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
}

/* Shared form styles for inquiry + contact */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; margin-bottom: 16px; }
.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-group label i { font-size: 11px; color: var(--text-muted); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(149,193,31,0.08);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-group select { cursor: pointer; }

.btn-send-inquiry,
.btn-send-contact {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}
.btn-send-inquiry:hover,
.btn-send-contact:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-send-inquiry:active,
.btn-send-contact:active { transform: scale(0.98); }
.btn-send-inquiry.sent,
.btn-send-contact.sent { background: var(--success); }

/* ============================================
   CONTACT PAGE - EXTENDED
   ============================================ */
.contact-header { margin-bottom: 28px; }
.contact-header h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-header h1 i { color: var(--primary); }
.contact-header p { font-size: 14px; color: var(--text-light); margin-top: 6px; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all var(--transition);
}
.contact-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
}
.contact-card-icon.cc-red { background: var(--primary-light); color: var(--primary); }
.contact-card-icon.cc-blue { background: #dbeafe; color: #2563eb; }
.contact-card-icon.cc-green { background: var(--success-bg); color: var(--success); }
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.contact-card p { font-size: 14px; color: var(--text-light); margin-bottom: 4px; }
.contact-card p a { color: var(--primary); font-weight: 600; }
.contact-card p a:hover { text-decoration: underline; }
.contact-card small { font-size: 12px; color: var(--text-muted); }

.contact-form-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  padding: 32px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .category-showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .header-bottom .header-action { display: none; }
  .category-dropdown { display: none; }
  .header-search { max-width: 100%; flex: 1; }
  .header-call .call-info { display: none; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .intro-wrapper { grid-template-columns: 1fr; }
  .intro-sidebar-img { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .newsletter-section .container { flex-direction: column; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card-media { height: 180px; padding: 12px; }
  .product-card-media img { max-height: 150px; }
  .product-card-name { font-size: 12px; min-height: 44px; }
  .product-card-details { padding: 10px 12px; }
  .category-showcase-grid { grid-template-columns: 1fr; }
  .cat-card { padding: 16px; }
  .cat-card-img { width: 100px; height: 100px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .product-detail { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .pd-main-img { min-height: 250px; }
  .pd-main-img img { max-height: 250px; }
  .product-list-item { flex-wrap: wrap; }
  .product-list-actions { width: 100%; text-align: left; margin-top: 10px; }
  .section-title-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cat-filter-bar { flex-direction: column; gap: 12px; align-items: flex-start; }
  .header-middle .container { flex-wrap: wrap; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .inquiry-form-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .inquiry-toast { left: 16px; right: 16px; min-width: auto; }
  .product-card-overlay { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .inquiry-table-wrap .th-img { display: none; }
  .inquiry-table-wrap .td-img { display: none; }
  .inquiry-form-section, .contact-form-section { padding: 20px; }
  .deal-card { flex: 0 0 180px; }
  .deal-img { height: 140px; padding: 12px; }
  .deal-img img { max-height: 110px; }
  .deal-info { padding: 10px 12px; }
  .deal-info h4 { font-size: 12px; }
  .deal-new { font-size: 15px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-card-media { height: 150px; }
  .product-card-media img { max-height: 130px; }
  .product-card-name { font-size: 12px; min-height: 38px; }
  .product-card-bottom { flex-direction: column; gap: 8px; }
  .product-price-inquiry { text-align: center; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 12px 16px; }
  .deal-card { flex: 0 0 150px; }
  .deal-img { height: 120px; padding: 10px; }
  .deal-img img { max-height: 100px; }
  .deal-info { padding: 10px 12px; }
  .deal-info h4 { font-size: 11px; min-height: 30px; }
  .deal-badge { font-size: 10px; padding: 3px 7px; }
  .deal-new { font-size: 14px; }
  .deal-old { font-size: 11px; }
  .deals-header h2 { font-size: 16px; }
  .btn-cart-sm, .btn-inquiry-sm { width: 44px; height: 44px; font-size: 16px; }
  .qty-control button { width: 40px; height: 40px; }
}
