/* ============================================
   Pengcheng Steel
   Exact Porto Theme Colors:
   - Primary (Navy): #002855
   - Secondary (Gold): #feb800
   - Tertiary (Slate): #5f6c77
   - Quaternary (Charcoal): #272e32
   - Dark: #3e3e3e
   - Light: #ffffff
   - Body text: #000000
   - Heading: #222529
   Fonts: Roboto (body), Jost (headings)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --porto-primary: #002855;
  --porto-primary-dark-5: #001d3c;
  --porto-primary-dark-10: #001123;
  --porto-primary-light-5: #00356f;
  --porto-secondary: #feb800;
  --porto-secondary-dark-5: #e5a600;
  --porto-secondary-dark-10: #cc9400;
  --porto-secondary-light-5: #ffc019;
  --porto-tertiary: #5f6c77;
  --porto-quaternary: #272e32;
  --porto-dark: #3e3e3e;
  --porto-light: #ffffff;
  --porto-body: #000000;
  --porto-heading: #222529;
  --porto-gray-1: #f4f4f4;
  --porto-gray-2: #e7e7e7;
  --porto-gray-6: #999;
  --porto-gray-4: #ccc;
  --porto-bgc: #fff;
  --porto-input-bc: rgba(0,0,0,0.08);
  --porto-normal-bc: rgba(0,0,0,.06);
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 140px; }

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.1px;
  color: var(--porto-body);
  background: var(--porto-bgc);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 12px;
}

/* ========== LANGUAGE SUGGESTION BAR ========== */
.lang-suggest-bar {
  background: var(--porto-primary);
  color: #fff;
  padding: 10px 0;
  position: relative;
  z-index: 1002;
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.lang-suggest-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}

.lang-suggest-text {
  font-size: 0.88rem;
  font-weight: 500;
}

.lang-suggest-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-suggest-yes {
  padding: 6px 16px;
  background: var(--porto-secondary);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.lang-suggest-yes:hover { background: var(--porto-secondary-dark-5); }

.lang-suggest-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  transition: var(--transition);
}

.lang-suggest-close:hover { color: #fff; }

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--porto-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0;
  position: relative;
  z-index: 1001;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  flex-wrap: nowrap;
  gap: 12px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

/* ===== SIMPLE LANGUAGE SWITCHER ===== */
.lang-wrap { position: relative; flex-shrink: 0; width: 160px; }
.lang-btn {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  width: 160px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lang-btn:hover { background: rgba(255,255,255,0.2); }
.lang-list {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  min-width: 240px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  border-radius: 6px;
  z-index: 99999;
  padding: 4px 0;
}
.lang-list.show { display: block; }
.lang-list a {
  display: block;
  padding: 8px 16px;
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
}
.lang-list a:hover { background: #eef2ff; color: var(--porto-primary); }
.lang-list a.current { background: #eef2ff; color: var(--porto-primary); font-weight: 700; }

@media (max-width: 768px) {
  .lang-list {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: 260px;
    max-height: 70vh;
  }
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-contact a {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.73rem;
}

.top-bar-contact a:hover { color: var(--porto-secondary); }

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-social a {
  color: #fff;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.7rem;
  transition: var(--transition);
}

.top-bar-social a:hover { color: var(--porto-secondary); }

/* ========== MAIN HEADER ========== */
.main-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.main-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transform: translateX(-60px);
}

.logo img { max-width: 111px; height: auto; }

.logo-text {
  font-family: 'Jost', sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  color: #cc0000;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-text .icon { font-size: 1.6rem; color: #cc0000; }

/* Mega Menu */
.main-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 15px 12px;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--porto-dark);
  text-transform: capitalize;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: var(--transition);
  border-radius: 3px;
}

.nav-link:hover,
.nav-item.active > .nav-link {
  color: #fff;
  background: var(--porto-primary);
}

.nav-link .arrow { font-size: 0.6rem; margin-left: 2px; }

.hot-badge {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 2px;
  margin-left: 4px;
  line-height: 1.3;
  vertical-align: middle;
}

/* Mega Dropdown */
.mega-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 280px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  border-radius: 0 0 6px 6px;
  padding: 20px;
  z-index: 999;
  border-top: 3px solid var(--porto-primary);
  margin-top: -3px;
}
.mega-dropdown::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
}

.nav-item:hover > .mega-dropdown { display: flex; }

/* Products mega - full width */
.products-mega {
  position: fixed;
  left: 0;
  width: 100vw;
  min-width: 0;
  padding: 24px;
  border-radius: 0;
  overflow-x: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  z-index: 999;
  border-top: 3px solid var(--porto-primary);
}
.products-mega .mega-col {
  flex: 1;
  min-width: 0;
  padding: 0;
  padding-right: 18px;
  border-right: 1px solid #eee;
}
.products-mega .mega-col:last-child { border-right: none; padding-right: 0; }
.nav-item:hover > .products-mega { display: flex; gap: 24px; flex-wrap: nowrap; }

.mega-col {
  flex: 1;
  min-width: 0;
  padding: 0;
  border-right: 1px solid #eee;
  padding-right: 24px;
}
.mega-col:last-child { border-right: none; padding-right: 0; }

.mega-col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--porto-heading);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--porto-normal-bc);
}

.mega-col ul { display: flex; flex-direction: column; gap: 4px; }

.mega-col ul li a {
  display: block;
  padding: 5px 6px 5px 0;
  font-size: 0.88rem;
  color: #555;
  border-radius: 3px;
  transition: all 0.2s;
  text-align: left;
  word-break: break-word;
}

.mega-col ul li a:hover { color: #fff; background: var(--porto-primary); border-radius: 3px; }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-toggle {
  width: 38px;
  height: 38px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--porto-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.search-toggle:hover { background: var(--porto-gray-1); color: var(--porto-primary); }

.btn-quote {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  transform: translateX(60px);
  background: var(--porto-secondary);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-quote:hover { background: var(--porto-secondary-dark-5); color: #fff; }

/* Search Overlay */
.search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  justify-content: center;
  align-items: flex-start;
  padding-top: 150px;
}

.search-overlay.active { display: flex; }

.search-overlay-inner {
  width: 90%;
  max-width: 600px;
  background: #fff;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  gap: 0;
}

.search-overlay-inner input {
  flex: 1;
  padding: 14px 16px;
  border: none;
  font-size: 1rem;
  outline: none;
}

.search-overlay-inner button {
  padding: 14px 20px;
  background: var(--porto-primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.search-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--porto-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}

.mobile-menu-overlay.active { display: block; }

/* ========== HERO SLIDER (Swiper) ========== */
.hero-slider {
  width: 100%;
  max-height: 750px;
  position: relative;
  overflow: hidden;
}

.hero-slider .swiper-slide {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: transform 6s ease;
}

.swiper-slide-active .hero-slide-bg { transform: scale(1.05); }

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--porto-primary);
  opacity: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text {
  max-width: 650px;
  color: #fff;
  padding: 40px 0;
}

.hero-text h2 {
  font-family: 'Jost', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease;
}

.hero-text h2 span { color: var(--porto-secondary); }

.hero-text p {
  font-size: 1.15rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--porto-secondary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--porto-secondary-dark-5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254,184,0,0.35);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1ebe5b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

/* Swiper Nav */
.swiper-button-next,
.swiper-button-prev {
  width: 50px !important;
  height: 50px !important;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff !important;
  transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover { background: var(--porto-secondary); }

.swiper-button-next:after,
.swiper-button-prev:after { font-size: 1rem !important; font-weight: 700; }

.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: rgba(255,255,255,0.5) !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active { background: var(--porto-secondary) !important; }

.hero-btn-left {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 10;
}
.hero-btn-right {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 10;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== SECTION COMMON ========== */
.section { padding: 70px 0; }
.section-gray { background: var(--porto-gray-1); }
.section-dark { background: var(--porto-primary); color: #fff; }

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-family: 'Jost', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--porto-heading);
  margin-bottom: 10px;
}

.section-dark .section-header h2 { color: #fff; }

.section-header .subtitle {
  font-size: 0.95rem;
  color: #777;
  max-width: 700px;
  margin: 0 auto;
}

.section-dark .section-header .subtitle { color: rgba(255,255,255,0.7); }

.divider {
  width: 50px;
  height: 3px;
  background: var(--porto-secondary);
  margin: 0 auto 16px;
  border-radius: 2px;
}

/* ========== HOT PRODUCTS GRID ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.product-grid .product-card:nth-child(n+17) { display: none; }

.product-card {
  display: block;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border-color: var(--porto-primary);
  color: inherit;
  text-decoration: none;
}
.product-card:hover .product-card-title { color: var(--porto-primary); }
.product-card:hover .product-card-img img,
.product-card:hover .product-card-img .placeholder { transform: scale(1.05); }

.product-card-img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--porto-gray-1);
}
.product-card-img .placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
  transition: transform 0.4s ease;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-img img { transform: scale(1.08); }

.product-card-title {
  padding: 16px 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--porto-heading);
}

.product-card:hover .product-card-title { color: var(--porto-primary); }

/* ========== PRICE ADVANTAGE CTA ========== */
.price-cta {
  background: var(--porto-primary);
  color: #fff;
  padding: 60px 0;
  position: relative;
  z-index: 1;
}
.price-cta::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/banana-bg.png') center/cover no-repeat;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}
.price-cta > .container {
  position: relative;
  z-index: 1;
}

.price-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.price-cta-left { flex: 1; min-width: 280px; }

.price-cta-left h2 {
  font-family: 'Jost', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.price-cta-left p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 16px;
}

.price-cta-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.price-cta-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.price-cta-bullets li .emoji { font-size: 1.2rem; }

.price-cta-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.whatsapp-cta {
  background: #25d366;
  color: #fff;
  padding: 16px 32px;
  border-radius: 6px;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.whatsapp-cta:hover {
  background: #1ebe5b;
  transform: translateY(-2px);
  color: #fff;
}

/* ========== SERVICES GRID ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--porto-normal-bc);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--porto-gray-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(0,0,0,0.06);
}

.service-card-body { padding: 20px; }

.service-card .service-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--porto-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.service-card h4 {
  font-family: 'Jost', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--porto-heading);
  margin-bottom: 10px;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.service-card ul li {
  font-size: 0.88rem;
  color: #777;
  padding-left: 14px;
  position: relative;
}

.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--porto-secondary);
  border-radius: 50%;
}

.service-card .more-link {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--porto-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.service-card .more-link:hover { color: var(--porto-secondary); gap: 10px; }

/* ========== WHY CHOOSE US (Split) ========== */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.why-us-left .tagline {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--porto-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.why-us-left h2 {
  font-family: 'Jost', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #e84c5c;
  margin-bottom: 16px;
}

.why-us-left p {
  color: #777;
  line-height: 1.7;
  margin-bottom: 20px;
  text-indent: 2em;
}

.cert-badges {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.cert-badge {
  width: 80px;
  height: 80px;
  border: 2px solid #eee;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--porto-primary);
  font-weight: 700;
}

.why-us-right {
  position: relative;
}

.why-us-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--porto-gray-1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(0,0,0,0.06);
  overflow: hidden;
}

.why-us-video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}
.why-us-video iframe {
  display: block;
  border: 0;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: var(--porto-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 6px 20px rgba(254,184,0,0.4);
  transition: var(--transition);
}

.video-play-btn:hover { transform: translate(-50%, -50%) scale(1.1); }

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.video-modal.active { display: flex; }

.video-modal-inner {
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 6px;
}

.video-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* ========== STEEL MATERIAL SERIES ========== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.category-card {
  background: #fff;
  border: 1px solid var(--porto-normal-bc);
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.category-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--porto-gray-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(0,0,0,0.06);
}

.category-card-body { padding: 16px 12px; }

.category-card-body h4 {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--porto-heading);
  margin-bottom: 6px;
}

.stars {
  color: var(--porto-secondary);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 0.78rem;
  color: var(--porto-gray-6);
  margin-left: 4px;
}

/* ========== RELIABLE PARTNER LOGOS ========== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.partner-logo {
  height: 100px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: var(--transition);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--porto-primary);
  letter-spacing: 1px;
}

.partner-logo:hover {
  border-color: var(--porto-secondary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* ========== FAQ ========== */
.faq-list { max-width: 900px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active { border-color: var(--porto-primary); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--porto-heading);
  text-align: left;
  transition: var(--transition);
}

.faq-item.active .faq-question { color: var(--porto-primary); }

.faq-toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  border-color: var(--porto-primary);
  background: var(--porto-primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding: 0 20px 16px;
  font-size: 0.9rem;
  color: #777;
  line-height: 1.7;
}

.faq-meta {
  margin-top: 10px;
  font-size: 0.78rem;
  color: #aaa;
}

/* ========== REQUEST QUOTE CTA ========== */
.request-quote {
  background: var(--porto-gray-1);
  padding: 60px 0;
}

.request-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.request-left h2 {
  font-family: 'Jost', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--porto-heading);
  margin-bottom: 10px;
}

.request-left p {
  color: #777;
  line-height: 1.7;
  margin-bottom: 20px;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--porto-dark);
}

.benefit-list li .check {
  color: #4caf50;
  font-weight: 700;
  flex-shrink: 0;
}

.request-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* ========== CONTACT FORM ========== */
.contact-form-section {
  background: #fff;
  padding: 70px 0;
}

.contact-form-wrapper {
  max-width: 750px;
  margin: 0 auto;
}

.contact-form-wrapper h3 {
  font-family: 'Jost', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.contact-form-wrapper .email-display {
  text-align: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--porto-primary);
}

.contact-form-wrapper .form-intro {
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--porto-dark);
  margin-bottom: 6px;
}

.form-group label .required { color: #e74c3c; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.93rem;
  font-family: 'Roboto', sans-serif;
  background: #fff;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--porto-primary);
  box-shadow: 0 0 0 2px rgba(0,40,85,0.08);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--porto-primary);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.form-submit:hover { background: var(--porto-primary-dark-5); }

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: #999;
  margin-top: 10px;
}

.form-success-msg,
.form-error-msg {
  display: none;
  text-align: center;
  padding: 16px;
  border-radius: 4px;
  margin-top: 12px;
}

.form-success-msg { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.form-error-msg { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.form-success-msg.show,
.form-error-msg.show { display: block; }

/* ========== BLOG SECTION ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--porto-normal-bc);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.blog-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.blog-card-img {
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: var(--porto-gray-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(0,0,0,0.06);
}

.blog-card-body { padding: 20px; }

.blog-meta {
  display: flex;
  gap: 14px;
  font-size: 0.75rem;
  color: #aaa;
  margin-bottom: 8px;
}

.blog-card-body h4 {
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--porto-heading);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-body h4 a { display: block; cursor: pointer; }
.blog-card-body h4 a:hover { color: var(--porto-primary); }
/* Stretched link — makes entire card clickable via the title link */
.blog-card-body h4 a::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}

.blog-read-more {
  font-family: 'Jost', sans-serif;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--porto-primary);
  position: relative;
  z-index: 1;
}

.blog-read-more:hover { color: var(--porto-secondary); }

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
}

.blog-pagination a,
.blog-pagination span {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.85rem;
  transition: var(--transition);
}

.blog-pagination a:hover,
.blog-pagination span.current {
  background: var(--porto-primary);
  color: #fff;
  border-color: var(--porto-primary);
}

/* ========== FOOTER ========== */
.footer {
  background: #5a5f65;
  color: #eee;
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col address {
  font-size: 0.85rem;
  color: #aaa;
  line-height: 1.7;
  font-style: normal;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col ul li a {
  font-size: 0.85rem;
  color: #aaa;
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--porto-secondary); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.footer-contact-item .icon { flex-shrink: 0; margin-top: 2px; }

.footer-qr-row {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}

.footer-qr {
  text-align: center;
}

.footer-qr-img {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #999;
  margin-bottom: 4px;
}

.footer-qr span {
  font-size: 0.7rem;
  color: #aaa;
}

.footer-bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #888;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--porto-secondary);
  color: #fff;
}

/* ========== FLOATING SIDEBAR (Desktop - matches gengfeisteel.com) ========== */
.side-float {
  position: fixed;
  right: 4px;
  top: 35%;
  z-index: 997;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: sideFloatIn 0.6s ease;
}

@keyframes sideFloatIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.side-float-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  color: #fff;
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  animation: sideFloatBounce 2.5s ease-in-out infinite;
}

/* Email - dark */
.side-float-item:nth-child(1) { background: #2d3436; }
/* WhatsApp - green */
.side-float-item:nth-child(2) { background: #25d366; }
/* Inquiry - orange */
.side-float-item:nth-child(3) { background: #feb800; color: #000; }
/* Top - charcoal */
.side-float-item:nth-child(4) { background: #636e72; }

.side-float-item:nth-child(1) { animation-delay: 0s; }
.side-float-item:nth-child(2) { animation-delay: 0.12s; }
.side-float-item:nth-child(3) { animation-delay: 0.24s; }
.side-float-item:nth-child(4) { animation-delay: 0.36s; }

@keyframes sideFloatBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-12px); }
}

.side-float-item span {
  display: inline;
}

.side-float-item:hover {
  color: #fff;
  transform: translateX(-10px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  animation: none;
  filter: brightness(1.15);
}
.side-float-item:nth-child(1):hover { background: #0984e3 !important; }
.side-float-item:nth-child(2):hover { background: #128c7e !important; }
.side-float-item:nth-child(3):hover { background: #e17055 !important; color: #fff !important; }
.side-float-item:nth-child(4):hover { background: var(--porto-primary) !important; }


.side-float-whatsapp {
  background: #25d366;
}

.side-float-whatsapp:hover {
  background: #1ebe5b;
}

/* ========== MOBILE STICKY BAR ========== */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 996;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  padding: 6px 0;
}

.mobile-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.mobile-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.65rem;
  color: #777;
  padding: 6px 10px;
  transition: var(--transition);
}

.mobile-bar-item:hover { color: var(--porto-primary); }

.mobile-bar-item .bar-icon { font-size: 1.2rem; }

/* ========== POPUP MODAL ========== */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-overlay.active { display: flex; }

.popup-modal {
  background: #fff;
  border-radius: 6px;
  width: 95%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  z-index: 2;
}

.popup-close:hover { color: #333; }

.popup-body { padding: 32px 28px; }

.popup-body h3 {
  font-family: 'Jost', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 18px;
}

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

@media (max-width: 992px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .why-us-grid { grid-template-columns: 1fr; }

  .main-nav { display: none; }

  .mobile-toggle { display: flex; }

  .hero-slider .swiper-slide { height: 500px; }
  .hero-text h2 { font-size: 2.4rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .request-grid { grid-template-columns: 1fr; }

  .blog-grid { grid-template-columns: 1fr; }

  .top-bar-inner { flex-wrap: wrap; justify-content: center; }
  .top-bar-left { flex-wrap: wrap; justify-content: center; }
  .top-bar-right { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 768px) {
  .section { padding: 50px 0; }
  .section-header h2 { font-size: 1.6rem; }
  .hero-text h2 { font-size: 1.8rem; }

  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }

  .price-cta-inner { flex-direction: column; text-align: center; }
  .price-cta-bullets { align-items: center; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }

  .header-actions .btn-quote { display: none; }
  .header-actions .btn-quote-mobile { display: inline-flex; }

  .mobile-bar { display: block; }
  .side-float { display: none; }

  .hero-slider .swiper-slide { height: 380px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  .mega-dropdown { min-width: auto; flex-direction: column; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card-title { font-size: 0.8rem; }
  .hero-slider .swiper-slide { height: 300px; }
  .hero-text h2 { font-size: 1.4rem; }
  .hero-text p { font-size: 0.85rem; }
}

/* Mobile menu panel */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 9999;
  overflow-y: auto;
  transition: right 0.35s ease;
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  padding: 20px;
}

.mobile-menu-panel.active { right: 0; }

.mobile-menu-panel .close-btn {
  display: block;
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  margin-bottom: 16px;
}

.mobile-menu-panel .m-nav-item {
  display: block;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid #eee;
  color: var(--porto-dark);
  border-radius: 4px;
  transition: all 0.2s;
}
.mobile-menu-panel .m-nav-item:hover { color: #fff; background: var(--porto-primary); }

.mobile-menu-panel .m-nav-item.has-sub::after {
  content: '+';
  float: right;
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.mobile-menu-panel .m-nav-item.has-sub.open::after {
  content: '−';
}

.mobile-menu-panel .m-sub {
  display: none;
  padding: 6px 0 6px 12px;
}

.mobile-menu-panel .m-sub.open { display: block; }

.mobile-menu-panel .m-sub a {
  display: block;
  padding: 6px 0;
  font-size: 0.93rem;
  color: #777;
}

.mobile-menu-panel .hot-badge-m { font-size: 0.6rem; }

/* ========== RTL Support (Arabic, Persian) ========== */
/* RTL: text adjustments only. NO direction/coordinate changes. */
body.rtl { font-family: 'Roboto', 'Tahoma', sans-serif; }
body.rtl .hero-text { text-align: right; }
body.rtl .faq-question { text-align: right; }
body.rtl .faq-toggle { margin-left: 0; margin-right: auto; }
body.rtl .service-card ul li { padding-left: 0; padding-right: 14px; }
body.rtl .service-card ul li::before { left: auto; right: 0; }
body.rtl .benefit-list li .check { margin-right: 0; margin-left: 8px; }

@media (max-width: 768px) {
  body.rtl .hero-btns { justify-content: center; }
}

/* ========== UTILITY ========== */
.text-center { text-align: center; }
.text-primary { color: var(--porto-primary); }
.text-secondary { color: var(--porto-secondary); }
.bg-primary { background: var(--porto-primary); }
.bg-gray { background: var(--porto-gray-1); }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== BREADCRUMB ========== */
.breadcrumb-bar { background: #f5f5f5; padding: 10px 0; font-size: 0.82rem; color: #666; border-bottom: 1px solid #eee; }
.breadcrumb-bar a { color: #666; }
.breadcrumb-bar a:hover { color: var(--porto-primary); }
.breadcrumb-bar .sep { margin: 0 8px; color: #ccc; }
.breadcrumb-bar .current { color: #333; font-weight: 500; }

/* ========== PRODUCT PAGE LAYOUT ========== */
.product-page { padding: 32px 0 60px; background: #f8f9fa; }
.product-layout { display: flex; gap: 24px; align-items: flex-start; }
.prod-sidebar { width: 250px; flex-shrink: 0; background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; overflow: hidden; position: sticky; top: 120px; max-height: calc(100vh - 140px); overflow-y: auto; }
.sidebar-title { background: var(--porto-primary); color: #fff; padding: 14px 18px; font-size: 1.25rem; font-weight: 700; }
.sidebar-tree { padding: 4px 0; }
.tree-item { border-bottom: 1px solid #f0f0f0; }
.tree-parent { display: flex; align-items: center; padding: 11px 18px; font-size: 1.1rem; font-weight: 600; color: #333; transition: all 0.2s; }
.tree-parent::before { content: ''; width: 6px; height: 6px; border-right: 2px solid #999; border-bottom: 2px solid #999; transform: rotate(-45deg); margin-right: 10px; transition: transform 0.2s; flex-shrink: 0; }
.tree-item.open > .tree-parent::before { transform: rotate(45deg); }
.tree-parent:hover { color: #fff; background: var(--porto-primary); }
.tree-item.active > .tree-parent { color: var(--porto-primary); }
.tree-children { display: none; background: #fafbfc; }
.tree-item.open > .tree-children { display: block; }
.tree-children li { border-top: 1px solid #f5f5f5; }
.tree-children a { display: block; padding: 9px 18px 9px 36px; font-size: 0.93rem; color: #555; border-radius: 3px; transition: all 0.2s; position: relative; }
.tree-children a::before { content: '•'; position: absolute; left: 22px; color: #ccc; }
.tree-children a:hover { color: #fff; background: var(--porto-primary); }
.tree-children li.active a { color: var(--porto-primary); font-weight: 600; background: #eef2ff; }
.tree-children li.active a::before { color: var(--porto-primary); }
.prod-main { flex: 1; min-width: 0; }
.prod-banner { position: relative; height: 200px; border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.prod-banner-img { width: 100%; height: 100%; background: linear-gradient(135deg, var(--porto-primary), #00356f); display: flex; align-items: center; justify-content: center; font-size: 4rem; color: rgba(255,255,255,0.15); }
.prod-banner-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 28px; background: linear-gradient(transparent, rgba(0,0,0,0.5)); color: #fff; }
.prod-banner-overlay h2 { font-family: 'Jost', sans-serif; font-size: 1.5rem; font-weight: 700; }
.prod-intro { background: #fff; padding: 20px 24px; border-radius: 8px; margin-bottom: 20px; font-size: 0.9rem; color: #555; line-height: 1.8; border: 1px solid #eee; }
.prod-intro p + p { margin-top: 8px; }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-card { background: #fff; border: 1px solid #eaeaea; border-radius: 8px; overflow: hidden; transition: all 0.3s; display: flex; flex-direction: column; }
.prod-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }
.prod-card-img { width: 100%; height: 180px; background-color: #fff; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(0,0,0,0.08); background-size: contain !important; background-position: center !important; background-repeat: no-repeat !important; }
.prod-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.prod-card-body h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.prod-card-body h4 a { color: var(--porto-heading); }
.prod-card-body h4 a:hover { color: var(--porto-primary); }
.prod-card-body > p { font-size: 0.82rem; color: #777; line-height: 1.6; margin-bottom: 12px; flex: 1; }
.prod-specs { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 0.78rem; }
.prod-specs tr { border-bottom: 1px solid #f0f0f0; }
.prod-specs th { padding: 5px 0; color: #999; font-weight: 400; text-align: left; width: 35%; }
.prod-specs td { padding: 5px 0; color: #444; }
.btn-sm { padding: 8px 20px; font-size: 0.82rem; }
.prod-pagination { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 36px; }
.page-num, .page-prev, .page-next, .page-dots { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 0.85rem; color: #555; background: #fff; transition: all 0.2s; }
.page-num:hover, .page-prev:hover, .page-next:hover { border-color: var(--porto-primary); color: var(--porto-primary); }
.page-num.active { background: var(--porto-primary); color: #fff; border-color: var(--porto-primary); }
.page-dots { border: none; }
.page-prev.disabled, .page-next.disabled { color: #ccc; pointer-events: none; border-color: #eee; }
.trust-section { background: #fff; padding: 50px 0; text-align: center; border-top: 1px solid #eee; }
.trust-title { font-family: 'Jost', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 32px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.trust-item { padding: 24px; }
.trust-icon { font-size: 2.5rem; margin-bottom: 10px; }
.trust-item h4 { font-size: 0.95rem; font-weight: 600; color: #333; }
.trust-cta p { font-size: 1.2rem; color: #555; }
.trust-cta strong { font-size: 1.6rem; color: var(--porto-secondary); }
/* Product Image Gallery */
.prod-gallery { display: flex; flex-direction: column; gap: 10px; }
.gallery-main { position: relative; width: 100%; aspect-ratio: 4/3; background: #f0f2f5; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-placeholder { text-align: center; font-size: 4rem; color: rgba(0,0,0,0.08); }
.gallery-placeholder small { display: block; font-size: 0.75rem; color: #999; margin-top: 8px; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; background: rgba(0,40,85,0.8); color: #fff; border: 2px solid rgba(255,255,255,0.4); border-radius: 50%; font-size: 2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; z-index: 2; line-height: 1; }
.gallery-arrow:hover { background: var(--porto-secondary); border-color: var(--porto-secondary); transform: translateY(-50%) scale(1.15); }
.gallery-prev { left: 20px; }
.gallery-next { right: 20px; }
.gallery-thumbs { display: flex; gap: 8px; }
.gallery-thumb { width: 60px; height: 60px; background-color: #e8eaed; background-size: cover; background-position: center; border: 2px solid transparent; border-radius: 4px; cursor: pointer; transition: all 0.2s; }
.gallery-thumb.active { border-color: var(--porto-primary); }
.gallery-thumb:hover { border-color: var(--porto-secondary); }

/* Product Images Section */
.prod-detail-desc img {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 4/3;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* Product Detail Page */
.prod-detail-title { font-family: 'Jost', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--porto-heading); margin-bottom: 24px; }
.prod-detail-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; margin-bottom: 32px; }
.prod-detail-img { width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg, #f0f2f5, #e0e4e8); display: flex; align-items: center; justify-content: center; font-size: 5rem; color: rgba(0,0,0,0.06); border-radius: 8px; }
.prod-detail-specs { background: #fff; padding: 24px; border: 1px solid #eee; border-radius: 8px; }
.prod-detail-specs .prod-specs { font-size: 0.85rem; }
.prod-detail-specs .prod-specs th { width: 35%; color: #555; }
.prod-detail-specs .prod-specs td { color: #222; font-weight: 500; }
.prod-detail-cta { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.prod-detail-desc { background: #fff; padding: 24px; border: 1px solid #eee; border-radius: 8px; margin-bottom: 20px; }
.prod-detail-desc h3 { font-family: 'Jost', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--porto-heading); }
.prod-detail-desc p { font-size: 0.9rem; color: #555; line-height: 1.8; margin-bottom: 8px; }
.prod-detail-desc .faq-list { margin-top: 12px; }
.prod-detail-table { background: #fff; padding: 24px; border: 1px solid #eee; border-radius: 8px; margin-bottom: 20px; overflow: hidden; }
.prod-detail-table h3 { font-family: 'Jost', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; }
.table-wrap { overflow-x: auto; }
.detail-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.detail-table thead { background: var(--porto-primary); color: #fff; }
.detail-table th { padding: 10px 14px; text-align: left; font-weight: 600; white-space: nowrap; }
.detail-table td { padding: 10px 14px; border-bottom: 1px solid #eee; }
.detail-table tbody tr:hover { background: #f8f9ff; }
/* Sidebar static parent + active sub-item */
.tree-parent.static { cursor: default; color: var(--porto-primary); font-weight: 700; }
.tree-parent.static::before { border-color: var(--porto-primary); }
.tree-parent.static:hover { background: transparent; color: var(--porto-primary); }
.tree-children a.active { color: #fff; background: var(--porto-primary); font-weight: 600; border-radius: 3px; }
.tree-children a.active::before { color: #fff; }

@media (max-width: 768px) {
  .prod-detail-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; margin-bottom: 32px; }
  .prod-detail-img { aspect-ratio: 16/9; }
}

@media (max-width: 992px) { .product-layout { flex-direction: column; } .prod-sidebar { width: 100%; } .prod-grid { grid-template-columns: repeat(2, 1fr); } .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .prod-grid { grid-template-columns: 1fr; } .trust-grid { grid-template-columns: 1fr; } }
.blog-grid { grid-template-columns: repeat(2, 1fr); }
