/* ================================
   HAMSK INTERNATIONAL - MAIN STYLESHEET
   ================================ */

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', 'Roboto', sans-serif;
  color: #1f2937;
  line-height: 1.6;
  background: #ffffff;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: all .3s ease; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  font-weight: 700;
  color: #1e3a8a;
  line-height: 1.25;
}

:root {
  --primary: #1e3a8a;
  --primary-dark: #172554;
  --secondary: #dc2626;
  --accent: #3b82f6;
  --light: #f3f4f6;
  --dark: #1f2937;
  --white: #ffffff;
  --border: #e5e7eb;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  transition: all .3s ease;
}
.btn-primary { background: var(--secondary); color: #fff; }
.btn-primary:hover { background: #b91c1c; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(220,38,38,.3); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-dark); }

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--primary-dark);
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.top-bar-info span i { color: var(--secondary); margin-right: 6px; }
.top-bar-social a { margin-left: 12px; color: #fff; }
.top-bar-social a:hover { color: var(--secondary); }

/* ========== HEADER ========== */
.header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 999;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 24px;
}

/* Logo with Text */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo img {
  max-height: 65px;
  width: auto;
}
.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.logo-tagline {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #6b7280;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}

.search-box {
  flex: 1;
  max-width: 420px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 10px 45px 10px 16px;
  border: 2px solid var(--border);
  border-radius: 30px;
  font-size: 14px;
  outline: none;
  transition: border-color .3s;
}
.search-box input:focus { border-color: var(--accent); }
.search-box button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--secondary);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}
.header-actions { display: flex; gap: 16px; align-items: center; }
.header-actions a {
  color: var(--primary);
  font-size: 20px;
  position: relative;
}
.header-actions a:hover { color: var(--secondary); }
.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--secondary);
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 50%;
}

/* ========== NAVIGATION ========== */
.main-nav {
  background: var(--primary);
  position: relative;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.menu {
  display: flex;
  list-style: none;
}
.menu > li { position: relative; }
.menu > li > a {
  display: block;
  padding: 16px 22px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.menu > li:hover > a, .menu > li > a.active { background: var(--secondary); }
.menu > li > a i { font-size: 11px; margin-left: 5px; }

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 780px;
  padding: 25px;
  box-shadow: 0 15px 40px rgba(0,0,0,.15);
  border-top: 3px solid var(--secondary);
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  z-index: 998;
}
.menu > li:hover .mega-menu { display: grid; }
.mega-column h4 {
  color: var(--primary);
  font-size: 14px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--secondary);
  text-transform: uppercase;
}
.mega-column ul li a {
  display: block;
  padding: 6px 0;
  color: var(--dark);
  font-size: 13px;
}
.mega-column ul li a:hover { color: var(--secondary); padding-left: 6px; }

.nav-cta {
  padding: 8px 20px;
  background: var(--secondary);
  color: #fff !important;
  border-radius: 4px;
  margin-right: 16px;
  font-size: 13px;
  font-weight: 600;
}

/* Hamburger */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 12px;
}

/* ========== HERO SLIDER ========== */
.hero {
  position: relative;
  height: 730px;
  overflow: hidden;
  background: var(--primary-dark);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.slide.active { opacity: 1; }
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23,37,84,.4) 0%, rgba(30,58,138,.2) 50%, rgba(0,0,0,.1) 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 550px;
  color: #fff;
  padding: 40px;
  margin-left: 80px;
  margin-top: 80px;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  border-radius: 8px;
  border-left: 4px solid var(--secondary);
}
.slide-content .badge {
  display: inline-block;
  background: var(--secondary);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.slide-content h1 {
  font-size: 42px;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.slide-content p { 
  font-size: 16px; 
  margin-bottom: 30px; 
  opacity: .95;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.slide-content .buttons { 
  display: flex; 
  gap: 15px; 
  flex-wrap: wrap; 
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.slider-dots span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: all .3s;
}
.slider-dots span.active { background: var(--secondary); width: 40px; border-radius: 10px; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.2);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 3;
  font-size: 20px;
  backdrop-filter: blur(6px);
  transition: all .3s;
}
.slider-arrow:hover { 
  background: var(--secondary); 
  transform: translateY(-50%) scale(1.1);
}
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* ========== FEATURES ========== */
.features {
  padding: 60px 0;
  background: var(--light);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  padding: 30px 20px;
  text-align: center;
  border-radius: 8px;
  border-bottom: 3px solid var(--secondary);
  transition: all .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 18px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: #6b7280; }

/* ========== SECTIONS ========== */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title span {
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.section-title h2 {
  font-size: 38px;
  margin: 10px 0;
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: var(--secondary);
}
.section-title p { color: #6b7280; max-width: 620px; margin: 20px auto 0; }

/* ========== CATEGORY CARDS ========== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: block;
  transition: all .3s ease;
}
.category-card:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 8px 25px rgba(0,0,0,0.15); 
}
.category-card img {
  width: 100%; 
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.category-card:hover img { 
  transform: scale(1.05); 
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top, 
    rgba(0, 0, 0, 0.95) 0%, 
    rgba(0, 0, 0, 0.75) 30%, 
    rgba(0, 0, 0, 0.3) 60%, 
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  color: #fff;
  text-align: left;
}

.category-overlay h3 { 
  color: #ffffff; 
  font-size: 24px; 
  margin-bottom: 8px; 
  font-weight: 700; 
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.category-overlay p { 
  font-size: 14px; 
  opacity: 0.95; 
  margin-bottom: 18px; 
  color: #f3f4f6;
  font-weight: 400;
  line-height: 1.4;
}

.category-overlay .cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #1e293b;
  color: #ffffff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all .3s ease;
  align-self: flex-start;
  border: none;
}

.category-overlay .cat-btn:hover { 
  background: var(--secondary); 
  transform: translateX(4px);
}

.category-overlay .cat-btn::after {
  content: '→';
  font-size: 14px;
  transition: transform .3s;
}

.category-overlay .cat-btn:hover::after {
  transform: translateX(4px);
}

/* About Preview */
.about-preview { background: var(--light); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,.15);
}
.about-image img { width: 100%; height: 460px; object-fit: cover; }
.about-content span {
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 13px;
}
.about-content h2 { font-size: 36px; margin: 12px 0 20px; }
.about-content p { margin-bottom: 15px; color: #4b5563; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 25px 0;
}
.stat-item {
  text-align: center;
  padding: 18px;
  background: #fff;
  border-radius: 8px;
  border-left: 4px solid var(--secondary);
}
.stat-item h3 { color: var(--secondary); font-size: 32px; }
.stat-item p { font-size: 13px; color: #6b7280; margin: 0; }

/* Why Choose Us */
.why-choose { background: var(--primary); color: #fff; }
.why-choose h2, .why-choose .section-title h2 { color: #fff; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}
.why-item {
  padding: 25px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15);
  transition: all .3s;
}
.why-item:hover { background: rgba(255,255,255,.14); transform: translateY(-5px); }
.why-item i { font-size: 34px; color: var(--secondary); margin-bottom: 15px; }
.why-item h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.why-item p { font-size: 14px; opacity: .85; }

/* ========== FOOTER ========== */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr 1.3fr;
  gap: 40px;
  padding-bottom: 40px;
}

/* Footer About */
.footer-about img { 
  max-width: 160px; 
  margin-bottom: 15px; 
  background: #fff; 
  padding: 10px; 
  border-radius: 6px; 
}
.footer-about p { 
  font-size: 14px; 
  margin-bottom: 15px; 
  line-height: 1.7;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  color: #fff;
  transition: all .3s;
}
.footer-social a:hover { 
  background: var(--secondary); 
  transform: translateY(-3px); 
}

/* Footer Headings */
.footer h4 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 22px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 600;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary);
}

/* Footer Links */
.footer-links li a { 
  padding: 6px 0; 
  display: block; 
  font-size: 14px;
  color: #cbd5e1;
  transition: all .3s;
}
.footer-links li a:hover { 
  color: var(--secondary); 
  padding-left: 6px; 
}
.footer-links li a::before { 
  content: '▸ '; 
  color: var(--secondary);
  margin-right: 5px;
  font-size: 12px;
}

/* Footer Contact */
.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #cbd5e1;
}
.footer-contact li i {
  color: var(--secondary);
  font-size: 16px;
  margin-top: 3px;
  min-width: 18px;
}
.footer-contact li span {
  word-break: break-word;
}

/* Footer Certifications */
.footer-certifications h4 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 600;
}
.footer-certifications h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary);
}
.cert-badge {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all .3s;
}
.cert-badge:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}
.cert-badge img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  filter: brightness(1.1);
  transition: all .3s;
}
.cert-badge img:hover {
  filter: brightness(1.2);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* ========== PAYMENT & SHIPPING BAR ========== */
.payment-shipping-bar {
  background: #ffffff;
  padding: 25px 0;
  border-top: 3px solid var(--secondary);
  margin-top: 20px;
}
.payment-shipping-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.payment-section,
.shipping-section {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}
.ps-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1e3a8a;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.payment-section img,
.shipping-section img {
  max-height: 45px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}

/* Footer Bottom */
.footer-bottom {
  background: #0a1128;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom a { 
  color: var(--secondary); 
  font-weight: 500;
}
.footer-bottom a:hover {
  text-decoration: underline;
}

/* ========== PAGE BANNER ========== */
.page-banner {
  background: linear-gradient(rgba(23,37,84,.85), rgba(30,58,138,.85)),
              url('https://images.unsplash.com/photo-1581092335397-9583eb92d232?w=1600') center/cover;
  padding: 80px 0;
  color: #fff;
  text-align: center;
}
.page-banner h1 { color: #fff; font-size: 44px; margin-bottom: 12px; }
.breadcrumb { font-size: 14px; }
.breadcrumb a { color: #fff; }
.breadcrumb i { color: var(--secondary); margin: 0 8px; font-size: 11px; }

/* ========== PRODUCTS PAGE ========== */
.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  padding: 60px 0;
}
.sidebar-box {
  background: #fff;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 22px;
}
.sidebar-box h4 {
  font-size: 17px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary);
  color: var(--primary);
}
.sidebar-box h4 i {
  margin-right: 8px;
  color: var(--secondary);
}

/* ========== SIDEBAR DROPDOWN MENU ========== */
.sidebar-dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-dropdown-menu > li {
  border-bottom: 1px solid var(--border);
}

.sidebar-dropdown-menu > li:last-child {
  border-bottom: none;
}

.dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  cursor: pointer;
  background: var(--light);
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 600;
  color: var(--primary);
  margin: 4px 0;
}

.dropdown-header:hover {
  background: var(--primary);
  color: #fff;
}

.dropdown-header span {
  display: flex;
  align-items: center;
}

.dropdown-header span i {
  margin-right: 10px;
  font-size: 14px;
}

.dropdown-icon {
  transition: transform 0.3s ease;
  font-size: 12px;
}

.dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #fff;
  padding: 0 10px;
}

.dropdown-item.active .dropdown-content {
  max-height: 2000px;
  padding: 10px 10px 15px;
}

.submenu-item {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}

.submenu-item:last-child {
  border-bottom: none;
}

.submenu-title {
  font-weight: 600;
  color: var(--primary);
  padding: 6px 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(30, 58, 138, 0.05);
  border-radius: 4px;
  margin-bottom: 5px;
}

.submenu-list {
  list-style: none;
  padding: 0;
  margin: 5px 0;
}

.submenu-list li a {
  display: block;
  padding: 6px 15px 6px 25px;
  color: var(--dark);
  font-size: 13px;
  transition: all 0.3s;
  border-left: 2px solid transparent;
}

.submenu-list li a:hover {
  color: var(--secondary);
  border-left-color: var(--secondary);
  padding-left: 30px;
  background: rgba(220, 38, 38, 0.05);
}

.products-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 20px; background: #fff; border-radius: 8px; border: 1px solid var(--border);
  margin-bottom: 20px;
}
.products-toolbar select { padding: 6px 12px; border: 1px solid var(--border); border-radius: 4px; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all .3s;
  position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(0,0,0,.1); border-color: var(--secondary); }
.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--secondary); color: #fff;
  padding: 4px 12px; font-size: 11px; border-radius: 4px;
  z-index: 2; font-weight: 600;
}
.product-image {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--light);
}
.product-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.product-card:hover .product-image img { transform: scale(1.08); }
.product-actions {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
  opacity: 0; transition: opacity .3s;
}
.product-card:hover .product-actions { opacity: 1; }
.product-actions a {
  width: 38px; height: 38px;
  background: #fff; color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.product-actions a:hover { background: var(--secondary); color: #fff; }

.product-info { padding: 18px; }
.product-info .cat { color: var(--secondary); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.product-info h3 { font-size: 16px; margin: 6px 0 8px; }
.product-info h3 a { color: var(--primary); }
.product-info h3 a:hover { color: var(--secondary); }
.product-info .art-number { 
  font-size: 13px; 
  color: #6b7280; 
  margin-bottom: 12px;
  padding: 6px 10px;
  background: var(--light);
  border-radius: 4px;
  display: inline-block;
}
.product-info .art-number strong {
  color: var(--primary);
}
.product-info .view-btn {
  display: block; text-align: center;
  padding: 10px; margin-top: 12px;
  background: var(--primary); color: #fff;
  border-radius: 4px; font-size: 14px; font-weight: 500;
}
.product-info .view-btn:hover { background: var(--secondary); }

.pagination {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 40px;
}
.pagination a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-weight: 600;
}
.pagination a.active, .pagination a:hover { background: var(--secondary); color: #fff; border-color: var(--secondary); }

/* ========== PRODUCT DETAILS ========== */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 60px 0;
}
.main-image {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
  background: var(--light);
  height: 460px;
}
.main-image img { width: 100%; height: 100%; object-fit: cover; }
.thumb-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.thumb-list img {
  border: 2px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  height: 90px;
  object-fit: cover;
}
.thumb-list img.active, .thumb-list img:hover { border-color: var(--secondary); }

.product-detail-info span.pcat {
  color: var(--secondary); font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; font-size: 13px;
}
.product-detail-info h1 { font-size: 34px; margin: 8px 0 12px; }
.product-detail-info .sku { color: #6b7280; font-size: 14px; margin-bottom: 12px; }
.product-detail-info .rating-row { color: #f59e0b; margin-bottom: 15px; }
.product-detail-info .rating-row span { color: #6b7280; margin-left: 10px; font-size: 13px; }
.price-tag { font-size: 28px; color: var(--secondary); font-weight: 700; margin: 15px 0; }
.price-tag small { color: #6b7280; font-size: 14px; font-weight: 400; }
.product-detail-info .short-desc {
  padding: 15px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 20px 0;
}
.features-list li { padding: 6px 0; }
.features-list li i { color: #10b981; margin-right: 8px; }

.qty-row { display: flex; align-items: center; gap: 15px; margin: 20px 0; }
.qty-selector { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 4px; }
.qty-selector button {
  width: 40px; height: 40px; background: var(--light);
  border: none; cursor: pointer; font-size: 18px;
}
.qty-selector input { width: 60px; height: 40px; text-align: center; border: none; font-size: 16px; outline: none; }

.detail-buttons { display: flex; gap: 12px; margin: 20px 0; flex-wrap: wrap; }
.info-meta {
  padding: 15px;
  background: var(--light);
  border-radius: 8px;
  margin-top: 20px;
  font-size: 14px;
}
.info-meta p { margin-bottom: 8px; }
.info-meta strong { color: var(--primary); min-width: 100px; display: inline-block; }

/* Product Tabs */
.product-tabs {
  padding: 30px 0 60px;
}
.tabs-nav {
  display: flex; gap: 5px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 14px 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #6b7280;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.tab-btn.active { color: var(--secondary); border-bottom-color: var(--secondary); }

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn .3s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.tab-content h3 { margin-bottom: 15px; }
.tab-content p, .tab-content li { color: #4b5563; margin-bottom: 10px; }
.spec-table {
  width: 100%; border-collapse: collapse; margin-top: 15px;
}
.spec-table tr:nth-child(even) { background: var(--light); }
.spec-table td { padding: 12px 15px; border: 1px solid var(--border); }
.spec-table td:first-child { font-weight: 600; color: var(--primary); width: 30%; }

/* Related products */
.related-products { background: var(--light); padding: 60px 0; }

/* ========== ABOUT PAGE ========== */
.about-section { padding: 70px 0; }
.about-section.alt { background: var(--light); }
.about-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-columns.reverse .about-image { order: 2; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.mv-card {
  background: #fff;
  padding: 35px;
  border-radius: 10px;
  border-top: 4px solid var(--secondary);
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.mv-card i { font-size: 40px; color: var(--secondary); margin-bottom: 15px; }
.mv-card h3 { margin-bottom: 12px; }

.certifications {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 30px;
}
.cert-item {
  background: #fff;
  padding: 30px 20px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: all .3s;
}
.cert-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.cert-item i { font-size: 50px; color: var(--secondary); margin-bottom: 15px; }
.cert-item h4 { font-size: 16px; }

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 30px;
}

.gallery-item {
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ========== LIGHTBOX ========== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 50px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10000;
}

.lightbox-close:hover {
  color: var(--secondary);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  padding: 20px 15px;
  font-size: 30px;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10000;
}

.lightbox-nav:hover {
  background: rgba(220, 38, 38, 0.8);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 85%;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transition: opacity 0.3s ease;
}

.lightbox-caption {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-top: 20px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  display: inline-block;
}

.lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 16px;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 20px;
  border-radius: 20px;
}

/* ========== CONTACT / FORMS ========== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}
.contact-card {
  background: #fff;
  padding: 35px 25px;
  text-align: center;
  border-radius: 10px;
  border-bottom: 3px solid var(--secondary);
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.contact-card i {
  font-size: 30px;
  width: 70px; height: 70px;
  background: var(--light);
  color: var(--secondary);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 15px;
}
.contact-card h3 { margin-bottom: 10px; }
.contact-card p { font-size: 14px; color: #4b5563; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .3s;
}
.form-control:focus { border-color: var(--accent); }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.map-container {
  height: 100%;
  min-height: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 600;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question i { transition: transform .3s; color: var(--secondary); }
.faq-item.active .faq-question { background: var(--light); color: var(--primary); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 20px;
}
.faq-item.active .faq-answer { max-height: 400px; padding: 15px 20px 20px; }

/* Back to top */
.back-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 45px; height: 45px;
  background: var(--secondary); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: all .3s;
  z-index: 998; border: none;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--primary); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .categories-grid, .features-grid, .gallery-grid, .certifications { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-layout, .product-detail-layout, .about-grid, .about-columns, .contact-layout, .mv-grid { grid-template-columns: 1fr; }
  .about-columns.reverse .about-image { order: 0; }
  .footer-grid { 
    grid-template-columns: 1fr 1fr; 
    gap: 30px;
  }
  .footer-certifications {
    grid-column: span 2;
  }
  .slide-content h1 { font-size: 40px; }
}
@media (max-width: 768px) {
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); flex-direction: column; padding: 15px; z-index: 999; }
  .menu.open { display: flex; }
  .menu > li > a { padding: 12px 15px; }
  .mega-menu { position: static; min-width: auto; grid-template-columns: 1fr 1fr; padding: 15px; }
  .menu > li:hover .mega-menu { display: none; }
  .menu > li.open .mega-menu { display: grid; }
  .nav-cta { display: none; }
  .hamburger { display: block; }
  .top-bar { text-align: center; }
  .top-bar .container { justify-content: center; }
  .search-box { display: none; }
  .hero { height: 460px; }
  .slide-content h1 { font-size: 30px; }
  .slide-content p { font-size: 14px; }
  .section { padding: 50px 0; }
  .section-title h2 { font-size: 28px; }
  .about-content h2, .cta-banner h2 { font-size: 26px; }
  .categories-grid, .features-grid, .gallery-grid, .certifications, .contact-cards, .why-grid, .form-row { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { 
    grid-template-columns: 1fr; 
  }
  .footer-certifications {
    grid-column: span 1;
  }
  .cert-badge {
    max-width: 400px;
    margin: 0 auto;
  }
  .payment-shipping-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .payment-section,
  .shipping-section {
    width: 100%;
    flex-wrap: wrap;
  }
  .payment-section img,
  .shipping-section img {
    max-height: 40px;
  }
  .ps-label {
    font-size: 14px;
  }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .page-banner h1 { font-size: 32px; }
  .logo-brand { font-size: 20px; }
  .logo-tagline { font-size: 10px; }
  
  /* Sidebar Dropdown Responsive */
  .sidebar-dropdown-menu {
    font-size: 14px;
  }
  .dropdown-header {
    padding: 10px 12px;
    font-size: 14px;
  }
  .submenu-list li a {
    padding: 6px 12px 6px 25px;
    font-size: 12px;
  }
  
  .lightbox-nav {
    padding: 15px 10px;
    font-size: 24px;
  }
  .lightbox-caption {
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .slide-content .buttons { flex-direction: column; }
  .slide-content .buttons .btn { width: 100%; }
  .payment-section,
  .shipping-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .payment-section img,
  .shipping-section img {
    max-height: 35px;
  }
  .logo-brand { font-size: 18px; }
  .logo-tagline { font-size: 9px; letter-spacing: 1px; }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item {
    height: 250px;
  }
  .lightbox-nav {
    display: none;
  }
}