/* ============================================================
   SMAB — Page-Specific Styles
   ============================================================ */

/* ============ HERO SLIDER (Homepage) ============ */
.hero {
  position: relative;
  height: calc(100vh - var(--nav-h) - var(--topbar-h));
  min-height: 580px;
  max-height: 850px;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; z-index: 2; pointer-events: auto; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 8s ease;
}
.hero-slide.active .hero-slide-bg { transform: scale(1); }
.hero-slide-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(4,11,42,0.93) 0%, rgba(7,19,71,0.78) 50%, rgba(10,27,94,0.45) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-gold-dk), var(--accent-gold));
  color: var(--dark-1);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s 0.2s ease, transform 0.6s 0.2s ease;
}
.hero-slide.active .hero-tag { opacity: 1; transform: none; }
.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: #fff;
  line-height: 1.1;
  max-width: 640px;
  margin-bottom: 1.2rem;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s 0.35s ease, transform 0.6s 0.35s ease;
}
.hero-slide.active .hero-title { opacity: 1; transform: none; }
.hero-title span { color: var(--accent-gold); }
.hero-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2rem;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s 0.5s ease, transform 0.6s 0.5s ease;
}
.hero-slide.active .hero-desc { opacity: 1; transform: none; }
.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s 0.65s ease, transform 0.6s 0.65s ease;
}
.hero-slide.active .hero-btns { opacity: 1; transform: none; }

/* Hero controls */
.hero-controls {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; align-items: center; gap: 0.5rem;
}
.hero-dot {
  width: 32px; height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
  position: relative; overflow: hidden;
}
.hero-dot.active { background: rgba(255,255,255,0.15); width: 48px; }
.hero-dot-fill {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 0;
  background: var(--primary);
  border-radius: 2px;
}
.hero-dot.active .hero-dot-fill {
  animation: dotFill 5.5s linear forwards;
}
@keyframes dotFill { 0% { width: 0; } 100% { width: 100%; } }

.hero-arrows {
  position: absolute; top: 50%; z-index: 10;
  width: 100%; display: flex; justify-content: space-between;
  padding: 0 1.5rem;
  transform: translateY(-50%);
  pointer-events: none;
}
.hero-arrow {
  pointer-events: all;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.hero-arrow:hover { background: var(--accent-gold); border-color: var(--accent-gold); color: var(--dark-1); }

/* Hero stat cards */
.hero-stats {
  position: absolute; right: 2rem; bottom: 5rem;
  z-index: 10;
  display: flex; flex-direction: column; gap: 1rem;
}
.hero-stat-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  color: #fff;
  text-align: center;
  min-width: 130px;
}
.hero-stat-card strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--accent-gold);
  line-height: 1;
}
.hero-stat-card span {
  font-size: 0.7rem;
  opacity: 0.7;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============ SERVICES STRIP ============ */
.services-strip {
  background: var(--dark-1);
  padding: 0;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: flex-start; gap: 1rem;
  cursor: pointer;
  transition: background var(--transition);
  position: relative; overflow: hidden;
}
.strip-item::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold-dk), var(--accent-gold-lt));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.strip-item:hover { background: rgba(255,255,255,0.03); }
.strip-item:hover::after { transform: scaleX(1); }
.strip-item:last-child { border-right: none; }
.strip-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--accent-gold);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--dark-1);
  font-size: 1.3rem;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 12px rgba(212,160,23,0.35);
}
.strip-item:hover .strip-icon { background: var(--accent-gold-lt); transform: scale(1.08); }
.strip-text h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 0.3rem;
}
.strip-text p { font-size: 0.75rem; color: rgba(255,255,255,0.45); line-height: 1.5; }

/* ============ ABOUT SECTION ============ */
.about { background: var(--white); }
.about-content p {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
  display: flex; align-items: center; justify-content: center;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-img-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.3);
}
.about-img-placeholder i { font-size: 4rem; margin-bottom: 1rem; color: var(--primary); opacity: 0.6; }
.about-img-placeholder p { font-size: 0.85rem; font-family: var(--font-head); letter-spacing: 0.1em; text-transform: uppercase; }
.about-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 30px rgba(10, 27, 94,0.4);
}
.about-badge strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
}
.about-badge span { font-size: 0.72rem; font-family: var(--font-head); font-weight: 600; letter-spacing: 0.08em; opacity: 0.85; }
.about-list { margin: 1.75rem 0; display: flex; flex-direction: column; gap: 0.9rem; }
.about-list-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--gray-50);
  border-left: 3px solid transparent;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.about-list-item:hover { border-left-color: var(--primary); background: var(--white); box-shadow: var(--shadow); }
.about-list-item i { color: var(--primary); font-size: 1.1rem; margin-top: 0.15rem; flex-shrink: 0; }
.about-list-item div h5 { font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; color: var(--dark-1); margin-bottom: 0.2rem; }
.about-list-item div p { font-size: 0.8rem; color: var(--text-light); }

/* ============ STATS SECTION ============ */
.stats-section {
  background: linear-gradient(135deg, var(--dark-1) 0%, var(--dark-3) 100%);
  padding: 5rem 0;
  position: relative; overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative; z-index: 1;
}

/* ============ HOW IT WORKS ============ */
.how { 
  background: var(--gray-50); 
  padding: 5rem 0;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  row-gap: 4.5rem;
  position: relative;
  margin-top: 3.5rem;
}
.steps-grid::before {
  content: '';
  position: absolute; 
  top: 36px; 
  left: calc(12.5% + 1rem); 
  right: calc(12.5% + 1rem);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent-gold) 0, var(--accent-gold) 8px, transparent 8px, transparent 16px);
  z-index: 0;
}
.step-item { 
  text-align: center; 
  position: relative; 
  z-index: 1; 
}
.step-bg-number {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(10, 27, 94, 0.05);
  z-index: 0;
  pointer-events: none;
  transition: all var(--transition);
  user-select: none;
}
.step-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.6rem;
  color: var(--accent-gold);
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
}
.step-item:hover .step-bg-number {
  color: rgba(10, 27, 94, 0.09);
  transform: translateX(-50%) translateY(-5px);
}
.step-item:hover .step-icon-wrap {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(10, 27, 94, 0.3);
  transform: translateY(-5px);
}
.step-title { 
  font-family: var(--font-head); 
  font-weight: 700; 
  font-size: 1rem; 
  color: var(--dark-1); 
  margin-bottom: 0.75rem; 
  position: relative;
  z-index: 1;
  transition: color var(--transition);
}
.step-item:hover .step-title {
  color: var(--primary);
}
.step-desc { 
  font-size: 0.85rem; 
  color: var(--text-light); 
  line-height: 1.6; 
  position: relative;
  z-index: 1;
  padding: 0 0.5rem;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-1) 0%, var(--primary-dk) 50%, var(--primary) 100%);
  border-top: 3px solid var(--accent-gold);
  padding: 4rem 0;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-banner::after {
  content: '';
  position: absolute; bottom: -60%; left: -5%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.cta-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-text h2 {
  font-family: var(--font-head);
  font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem);
  color: #fff; margin-bottom: 0.5rem;
}
.cta-text p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============ PARTNERS ============ */
.partners { background: var(--gray-50); padding: 3.5rem 0; }
.partners-label {
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 2rem;
}
.logos-strip {
  display: flex; align-items: center; gap: 3rem;
  overflow: hidden;
  position: relative;
}
.logos-track {
  display: flex; align-items: center; gap: 3rem;
  animation: scrollLogos 25s linear infinite;
  white-space: nowrap;
}
.logo-item {
  display: flex; align-items: center; gap: 0.7rem;
  opacity: 0.4; transition: opacity var(--transition);
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  background: rgba(0,0,0,0.04);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-item:hover { opacity: 1; }
.logo-item i { font-size: 1.4rem; color: var(--dark-1); }
.logo-item span { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--dark-1); }
@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ BLOG / CONSEILS ============ */
.blog { background: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-img {
  height: 200px;
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-img i { font-size: 3rem; color: rgba(255,255,255,0.15); }
.blog-cat {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--primary); color: #fff;
  font-family: var(--font-head); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.7rem; border-radius: 4px;
}
.blog-body { padding: 1.5rem; }
.blog-meta {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.75rem; color: var(--text-light);
  margin-bottom: 0.8rem;
}
.blog-meta i { color: var(--primary); margin-right: 0.3rem; }
.blog-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: 0.95rem; color: var(--dark-1);
  margin-bottom: 0.6rem; line-height: 1.35;
  transition: color var(--transition);
}
.blog-card:hover .blog-title { color: var(--primary); }
.blog-excerpt { font-size: 0.8rem; color: var(--text-light); line-height: 1.65; margin-bottom: 1rem; }
.blog-read {
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary);
  display: flex; align-items: center; gap: 0.4rem;
  transition: gap var(--transition);
}
.blog-card:hover .blog-read { gap: 0.7rem; }

/* ============ CONTACT PAGE ============ */
.contact { background: var(--gray-50); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
}
.contact-info h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--dark-1); margin-bottom: 0.75rem; }
.contact-info > p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; margin-bottom: 2rem; }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  display: flex; align-items: center; gap: 1.1rem;
  background: var(--white);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.contact-card-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--primary-lt);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.1rem;
}
.contact-card-text h5 { font-family: var(--font-head); font-weight: 700; font-size: 0.82rem; color: var(--dark-1); margin-bottom: 0.15rem; }
.contact-card-text p { font-size: 0.82rem; color: var(--text-light); }
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--dark-1); margin-bottom: 1.75rem; }

/* ============ NEWSLETTER BAR ============ */
.newsletter-bar {
  background: var(--dark-2);
  padding: 2.5rem 0;
}
.newsletter-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.newsletter-text h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: #fff; margin-bottom: 0.25rem; }
.newsletter-text p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.newsletter-form { display: flex; gap: 0.75rem; flex: 1; max-width: 480px; }
.newsletter-input {
  flex: 1;
  padding: 0.75rem 1.1rem;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: var(--font-body); font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-input:focus { border-color: var(--accent-gold); }

/* ============ FOOTER ============ */
footer {
  background: var(--dark-1);
  color: rgba(255,255,255,0.6);
  padding: 4.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-text strong { color: #fff; }
.footer-brand > p { font-size: 0.82rem; line-height: 1.7; margin: 1rem 0 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--accent-gold); color: var(--dark-1); }
.footer-col h4 {
  font-family: var(--font-head); font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--accent-gold);
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 0.5rem;
  transition: color var(--transition), padding var(--transition);
}
.footer-links a:hover { color: var(--accent-gold); padding-left: 0.35rem; }
.footer-links a i { font-size: 0.6rem; color: var(--accent-gold); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 0.85rem; font-size: 0.82rem;
}
.footer-contact-item i { color: var(--accent-gold); margin-top: 0.15rem; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.78rem;
}
.footer-bottom a { color: var(--accent-gold); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--accent-gold); }

/* ============ PRODUCT CATALOG PAGE ============ */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.catalog-sidebar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: 110px;
  z-index: 10;
  transition: all var(--transition);
}
.sidebar-section { margin-bottom: 2rem; }
.sidebar-section h4 {
  font-family: var(--font-head);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--dark-1);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gray-200);
}
.sidebar-check {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.82rem;
  color: var(--text);
  cursor: pointer;
}
.sidebar-check input { accent-color: var(--primary); }
.sidebar-check span { transition: color var(--transition); }
.sidebar-check:hover span { color: var(--primary); }
.catalog-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap; gap: 1rem;
}
.catalog-search {
  position: relative;
  flex: 1;
  max-width: 400px;
}
.catalog-search input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.8rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition);
}
.catalog-search input:focus { border-color: var(--primary); }
.catalog-search i {
  position: absolute; left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
}
.catalog-view-toggle { display: flex; gap: 0.3rem; }
.catalog-view-toggle button {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.catalog-view-toggle button.active,
.catalog-view-toggle button:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-lt);
}
.catalog-count {
  font-family: var(--font-head);
  font-size: 0.82rem;
  color: var(--text-light);
}
.catalog-count strong { color: var(--primary); }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.catalog-grid.list-view {
  grid-template-columns: 1fr;
}
.catalog-grid.list-view .product-card {
  display: grid;
  grid-template-columns: 200px 1fr;
}
.catalog-grid.list-view .product-card-img { height: 100%; }

/* ============ PRODUCT DETAIL PAGE ============ */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 4rem;
}

.product-gallery-container {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 10;
}

.product-gallery {
  background: linear-gradient(145deg, #ffffff 0%, var(--gray-50) 100%);
  border: 1px solid rgba(15,25,35,0.06);
  border-radius: var(--radius-xl);
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1.5rem;
  box-shadow: var(--shadow-md), 0 20px 40px rgba(15,25,35,0.02);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.product-gallery::before {
  content: '';
  position: absolute;
  width: 140%; height: 140%;
  background: radial-gradient(circle, rgba(10, 27, 94,0.02) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.product-gallery:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 30px 60px rgba(15,25,35,0.04);
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-xs);
  transition: opacity 0.25s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-gallery:hover img {
  transform: scale(1.03);
}

.product-thumbnails-grid {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.25rem 0.15rem;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--gray-200);
}

.product-thumbnails-grid::-webkit-scrollbar {
  height: 6px;
}
.product-thumbnails-grid::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: 10px;
}
.product-thumbnails-grid::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 10px;
}
.product-thumbnails-grid::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.thumbnail-btn {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumbnail-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.thumbnail-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}

.thumbnail-btn:hover img {
  transform: scale(1.08);
}

.thumbnail-btn.active {
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(10, 27, 94,0.25);
  transform: scale(1.02);
}

/* If native view transitions are active, disable entry translation to prevent conflicts with morphing elements */
@supports (view-transition-name: none) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.4s;
  }
  
  html:active-view-transition .product-gallery,
  html:active-view-transition .product-detail-grid {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.product-gallery i { font-size: 5rem; color: var(--gray-300); }

/* Staggered entrance for info elements */
.product-detail-info > * {
  opacity: 0;
  transform: translateY(16px);
  animation: infoItemEnter 0.7s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.product-detail-info .product-detail-cat { animation-delay: 0.15s; }
.product-detail-info h1 { animation-delay: 0.22s; }
.product-detail-info .product-detail-desc { animation-delay: 0.3s; }
.product-detail-info h4:nth-of-type(1) { animation-delay: 0.38s; } /* Features header */
.product-detail-info .product-features-list { animation-delay: 0.44s; }
.product-detail-info h4:nth-of-type(2) { animation-delay: 0.5s; } /* Specs header */
.product-detail-info .product-specs-table { animation-delay: 0.56s; }
.product-detail-info .product-cta-group { animation-delay: 0.62s; }

@keyframes infoItemEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-detail-info h1 {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark-1);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 1rem;
}

.product-detail-info h1::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 50px; height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

[dir="rtl"] .product-detail-info h1::after {
  left: auto; right: 0;
}

.product-detail-cat {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}

.product-detail-desc {
  color: var(--text-light);
  font-size: 0.94rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Modern spec table row blocks */
.product-specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.5rem;
  margin-bottom: 2rem;
}

.product-specs-table tr {
  border: none;
  transition: transform 0.2s ease;
}

.product-specs-table tr:hover {
  transform: translateX(4px);
}

[dir="rtl"] .product-specs-table tr:hover {
  transform: translateX(-4px);
}

.product-specs-table td {
  padding: 0.85rem 1.25rem;
  font-size: 0.85rem;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.product-specs-table td:first-child {
  border-left: 1px solid var(--gray-200);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-weight: 700;
  color: var(--dark-1);
  width: 42%;
}

.product-specs-table td:last-child {
  border-right: 1px solid var(--gray-200);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-light);
  text-align: right;
}

[dir="rtl"] .product-specs-table td:first-child {
  border-left: none;
  border-right: 1px solid var(--gray-200);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  text-align: right;
}

[dir="rtl"] .product-specs-table td:last-child {
  border-right: none;
  border-left: 1px solid var(--gray-200);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  text-align: left;
}

/* Modern bullet points grid cards */
.product-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 2rem;
  padding: 0;
}

.product-features-list li {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  font-weight: 500;
}

.product-features-list li:hover {
  background: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.product-features-list li i {
  color: var(--white);
  background: var(--primary);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  flex-shrink: 0;
  transform: scale(0);
  animation: checkPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.product-features-list li:nth-child(1) i { animation-delay: 0.5s; }
.product-features-list li:nth-child(2) i { animation-delay: 0.58s; }
.product-features-list li:nth-child(3) i { animation-delay: 0.66s; }
.product-features-list li:nth-child(4) i { animation-delay: 0.74s; }
.product-features-list li:nth-child(5) i { animation-delay: 0.82s; }

@keyframes checkPop {
  to {
    transform: scale(1);
  }
}

/* Redesigned Button Groups */
.product-cta-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
}

.product-cta-group .btn-primary-glow {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  color: var(--white) !important;
  padding: 1.1rem 2rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(10, 27, 94,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product-cta-group .btn-primary-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(10, 27, 94,0.35);
}

.product-cta-group .btn-primary-glow::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: none;
}

.product-cta-group .btn-primary-glow:hover::after {
  animation: shimmerEffect 1.2s infinite;
}

@keyframes shimmerEffect {
  100% { left: 150%; }
}

.cta-secondary-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.75rem;
}

.product-cta-group .whatsapp-btn-modern {
  background: linear-gradient(135deg, #25d366 0%, #1ebd54 100%);
  color: var(--white) !important;
  box-shadow: 0 8px 20px rgba(37,211,102,0.25);
  padding: 0.95rem 1.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
}

.product-cta-group .whatsapp-btn-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(37,211,102,0.38);
}

.product-cta-group .contact-btn-modern {
  background: var(--white);
  color: var(--dark-1) !important;
  border: 1.5px solid var(--gray-300);
  padding: 0.95rem 1.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
}

.product-cta-group .contact-btn-modern:hover {
  background: var(--dark-1);
  color: var(--white) !important;
  border-color: var(--dark-1);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15,25,35,0.15);
}
.whatsapp-btn {
  background: #25d366;
  color: #fff;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: all var(--transition);
}
.whatsapp-btn:hover { background: #20b858; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(37,211,102,0.3); }

/* ============ RESPONSIVE PAGES ============ */
@media (max-width: 1100px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-mission-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .about-mission-grid div[style*="height: 380px"],
  .about-mission-grid div[style*="height:380px"] {
    height: 280px !important;
  }
  .about-badge { bottom: -1rem; right: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; padding: 1.25rem; margin-bottom: 2.5rem; }
  .product-detail-grid { /* Handled by advanced breakpoints below */ }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .strip-item:nth-child(2n) { border-right: none; }
  .strip-item:nth-child(3), .strip-item:nth-child(4) { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { display: none; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero { height: 80vh; min-height: 460px; }
  .hero-content {
    padding: 0 1.25rem !important;
  }
  .hero-tag {
    font-size: 0.62rem !important;
    padding: 0.3rem 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }
  .hero-title {
    font-size: 1.55rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.75rem !important;
    max-width: 100% !important;
  }
  .hero-desc {
    font-size: 0.78rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
    max-width: 100% !important;
  }
  .hero-btns {
    gap: 0.5rem !important;
  }
  .hero-btns .btn {
    padding: 0.55rem 0.95rem !important;
    font-size: 0.74rem !important;
  }
  .hero-controls {
    bottom: 1.25rem !important;
  }
  .blog-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  /* Trust badges mobile layout optimization */
  .trust-badges-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem 0.5rem !important;
    margin-top: 1.5rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid rgba(0,0,0,0.06) !important;
  }
  .trust-divider {
    display: none !important;
  }
  .trust-badge-item {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: var(--dark-1) !important;
    background: var(--white) !important;
    padding: 0.55rem 0.6rem !important;
    border-radius: 10px !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    width: 100% !important;
    max-width: 165px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    transition: transform 0.2s ease !important;
  }
  .trust-badge-item:active {
    transform: scale(0.97) !important;
  }
  .trust-badge-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.75rem !important;
    flex-shrink: 0 !important;
    border-radius: 6px !important;
  }
  .trust-badge-item:last-child {
    grid-column: 1 / -1 !important;
    max-width: 170px !important;
    justify-content: center !important;
  }
  /* Remove useless space and smooth transitions between sections on mobile */
  section[style*="background:var(--bg-secondary)"],
  section[style*="background: var(--bg-secondary)"] {
    padding: 3rem 0 1.5rem 0 !important;
  }
  .about {
    padding: 1.5rem 0 3rem 0 !important;
  }
  .about-content .btn {
    display: flex !important;
    margin: 2rem auto 0 !important;
    width: fit-content !important;
    justify-content: center !important;
    align-items: center !important;
  }
  /* Compact footer styling */
  footer {
    padding: 2rem 0 0 0 !important;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem 1rem !important;
    margin-bottom: 2rem !important;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-bottom: 0.5rem !important;
  }
  .footer-grid > div:first-child .logo {
    justify-content: center !important;
    margin-bottom: 1rem !important;
  }
  .footer-grid > div:first-child p {
    margin: 0 auto 1rem !important;
    max-width: 290px !important;
    font-size: 0.8rem !important;
    line-height: 1.6 !important;
  }
  .footer-grid > div:first-child div[style*="display:flex"] {
    justify-content: center !important;
    margin-bottom: 1rem !important;
  }
  .footer-grid h4 {
    font-size: 0.8rem !important;
    margin-bottom: 0.8rem !important;
    padding-bottom: 0.4rem !important;
    letter-spacing: 0.05em !important;
  }
  .footer-links {
    gap: 0.5rem !important;
  }
  .footer-links a {
    font-size: 0.78rem !important;
  }
  .footer-contact-band,
  footer div[style*="border-top"][style*="border-bottom"] {
    padding: 1.25rem 0 !important;
    gap: 1rem !important;
    justify-content: center !important;
    text-align: center !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .footer-contact-band > div,
  footer div[style*="border-top"][style*="border-bottom"] > div {
    font-size: 0.78rem !important;
    margin-bottom: 0.2rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    justify-content: center !important;
  }
  html[dir="rtl"] .footer-contact-band > div,
  html[dir="rtl"] footer div[style*="border-top"][style*="border-bottom"] > div {
    flex-direction: row-reverse !important;
  }
  .footer-contact-band i,
  footer div[style*="border-top"][style*="border-bottom"] i {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  .footer-copyright-row,
  footer div[style*="padding:1.5rem 0"][style*="font-size:0.75rem"] {
    padding: 1.25rem 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
    text-align: center !important;
  }
  .footer-copyright-row > div[style*="display:flex"],
  footer div[style*="padding:1.5rem 0"][style*="font-size:0.75rem"] > div[style*="display:flex"] {
    gap: 1rem !important;
    justify-content: center !important;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem 0.75rem !important;
    margin-top: 2rem !important;
  }
  .steps-grid::before {
    display: none !important;
  }
  .step-item {
    padding: 0 0.25rem !important;
  }
  .step-icon-wrap {
    width: 56px !important;
    height: 56px !important;
    font-size: 1.25rem !important;
    margin-bottom: 0.75rem !important;
  }
  .step-bg-number {
    font-size: 3.5rem !important;
    top: -22px !important;
  }
  .step-title {
    font-size: 0.85rem !important;
    margin-bottom: 0.4rem !important;
  }
  .step-desc {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
    color: var(--text-light) !important;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    padding: 1.5rem 1.25rem;
  }
  .strip-item:last-child {
    border-bottom: none !important;
  }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; max-width: 100%; width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-arrows { display: none; }
}

/* ============================================================
   ULTRA-PREMIUM PRODUCT DETAILS RESPONSIVE BREAKPOINTS
   ============================================================ */

/* 1. Laptop & Medium Desktop (992px to 1200px) */
@media (max-width: 1200px) {
  .product-detail-grid {
    gap: 3.5rem;
  }
  .product-gallery {
    height: 480px;
  }
  .product-detail-info h1 {
    font-size: 2.1rem;
  }
}

/* 2. Tablets in Landscape & Portrait (768px to 991px) */
@media (max-width: 991px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .product-gallery-container {
    top: 96px;
  }
  .product-gallery {
    height: 380px;
    top: 0;
  }
  .product-detail-info h1 {
    font-size: 1.8rem;
  }
  .product-features-list {
    grid-template-columns: 1fr;
  }
}

/* 3. Small Tablets & Phablets (481px to 767px) */
@media (max-width: 767px) {
  body[data-page="home"] #products {
    display: none !important;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .product-gallery-container {
    position: relative !important;
    top: 0 !important;
  }
  .product-gallery {
    height: 360px;
    position: relative !important;
    top: 0 !important;
  }
  .product-features-list {
    grid-template-columns: 1fr 1fr;
  }
  .product-detail-info h1 {
    font-size: 2rem;
  }
}

/* 4. Mobile Phones (up to 480px) */
@media (max-width: 480px) {
  .product-gallery {
    height: 280px;
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    position: relative !important;
    top: 0 !important;
  }
  .product-detail-info h1 {
    font-size: 1.6rem;
    line-height: 1.2;
  }
  .product-detail-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }
  .product-features-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .product-features-list li {
    padding: 0.65rem 0.85rem;
    font-size: 0.78rem;
  }
  .product-specs-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.78rem;
  }
  .product-specs-table td:first-child {
    width: 45%;
  }
  .product-specs-table td:last-child {
    padding-inline-end: 3rem !important;
  }
  .product-cta-group .btn-primary-glow {
    padding: 0.95rem 1.5rem;
    font-size: 0.82rem;
  }
  .cta-secondary-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .product-cta-group .whatsapp-btn-modern,
  .product-cta-group .contact-btn-modern {
    padding: 0.85rem 1.25rem;
    font-size: 0.76rem;
  }
}

/* Custom Category Badges/Pills without Prices */
.category-tags-pills {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark-1);
  background: var(--gray-50);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: default;
}
.cat-pill i {
  color: var(--accent-gold);
  transition: transform 0.3s ease;
}
.cat-pill:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold) !important;
  background: var(--white);
  box-shadow: var(--shadow-md), 0 6px 15px rgba(212, 160, 23, 0.1) !important;
}
.cat-pill:hover i {
  transform: scale(1.15) rotate(-5deg);
}

/* Catalog Controls Bar Styles */
.catalog-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  margin-bottom: 2rem;
}
.catalog-controls-right {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* ============ MOBILE CATALOG DRAWER FILTERS ============ */
@media (max-width: 900px) {
  #mobileFilterBtn {
    display: inline-flex !important;
  }
  .catalog-sidebar {
    position: fixed !important;
    bottom: 0;
    right: -340px; /* Hidden off-screen */
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    top: 0;
    z-index: 10000;
    background: var(--white);
    border-radius: 0 !important;
    border: none !important;
    box-shadow: -5px 0 25px rgba(15,25,35,0.15) !important;
    overflow-y: auto;
    padding: 3rem 1.75rem 2rem !important;
    transition: right 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  [dir="rtl"] .catalog-sidebar {
    right: auto;
    left: -340px;
    transition: left 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  .catalog-sidebar.open {
    right: 0 !important;
  }
  [dir="rtl"] .catalog-sidebar.open {
    left: 0 !important;
  }
  
  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4,11,42,0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  .sidebar-backdrop.open {
    opacity: 1;
    visibility: visible;
  }
  .sidebar-close-btn {
    display: flex !important;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--dark-1);
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    z-index: 10;
    transition: all 0.2s ease;
  }
  .sidebar-close-btn:hover {
    background: var(--primary);
    color: var(--white);
  }
  [dir="rtl"] .sidebar-close-btn {
    right: auto;
    left: 1rem;
  }
}

/* Custom Product Card Elements */
.product-card-mobile-btn {
  display: none;
}

/* ============ MOBILE 2-COLUMN CATALOG GRID ============ */
@media (max-width: 640px) {
  .catalog-layout {
    padding: 0 0.5rem !important;
  }
  .catalog-grid,
  #productsGrid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
  }
  .catalog-grid .product-card-img,
  #productsGrid .product-card-img {
    height: 130px !important;
  }
  .catalog-grid .product-card-body,
  #productsGrid .product-card-body {
    padding: 0.75rem !important;
    display: flex;
    flex-direction: column;
    height: calc(100% - 130px);
  }
  .catalog-grid .product-card-cat,
  #productsGrid .product-card-cat {
    color: #e05a2b !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    margin-bottom: 0.4rem !important;
  }
  .catalog-grid .product-card-name,
  #productsGrid .product-card-name {
    font-family: var(--font-head) !important;
    font-weight: 800 !important;
    font-size: 0.8rem !important;
    color: var(--dark-1) !important;
    line-height: 1.3 !important;
    margin-bottom: 0.3rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .catalog-grid .product-card-desc,
  #productsGrid .product-card-desc {
    display: block !important;
    font-size: 0.7rem !important;
    color: var(--text-light) !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 0.6rem !important;
  }
  .catalog-grid .product-card-body > div[style*="display:flex"],
  #productsGrid .product-card-body > div[style*="display:flex"] {
    display: none !important; /* Hide specs badges on mobile grid to save space */
  }
  .catalog-grid .product-card-footer,
  #productsGrid .product-card-footer {
    display: none !important; /* Hide pricing and desktop actions */
  }
  .catalog-grid .product-card-mobile-btn,
  #productsGrid .product-card-mobile-btn {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    background: #f0f2f5;
    color: var(--dark-1);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.72rem;
    padding: 0.55rem 0.85rem;
    border-radius: 6px;
    margin-top: auto;
  }
  .catalog-controls-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 0.75rem;
    gap: 0.6rem;
  }
  .catalog-controls-right {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem !important;
  }
  .catalog-controls-right label {
    display: none !important; /* Hide "Trier par" label text on mobile to save space */
  }
  .catalog-view-toggle,
  .catalog-controls-right > div:last-child {
    display: none !important; /* Hide view togglers on mobile */
  }
}

