/* Sensei Home Page Styles */

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1e1e2f;
  background: #f6f7fb;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

a {
  color: #d61818;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: #7a0101;
  text-decoration: none;
}

/* Header Styles */
.sensei-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-top {
  background: #0d0d0d;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  padding: 8px 0;
}

.header-top-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.header-top .socials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.header-top .socials a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: color 0.2s;
}

.header-top .socials a:hover {
  color: #d61818;
}

.header-top .lang-switch {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.header-top .lang-switch a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2px 4px;
}

.header-top .lang-switch a:hover,
.header-top .lang-switch a.active {
  color: #d61818;
}

.flag-icon {
  width: 18px;
  height: 12px;
  display: inline-block;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.lang-label {
  font-size: 11px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.flag-tr {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2018%2012%27%3E%3Crect%20width%3D%2718%27%20height%3D%2712%27%20fill%3D%27%23E30A17%27%2F%3E%3Ccircle%20cx%3D%277%27%20cy%3D%276%27%20r%3D%274%27%20fill%3D%27%23fff%27%2F%3E%3Ccircle%20cx%3D%278.6%27%20cy%3D%276%27%20r%3D%273.2%27%20fill%3D%27%23E30A17%27%2F%3E%3Cpolygon%20fill%3D%27%23fff%27%20points%3D%2712.5%2C6%2011.6%2C6.5%2011.8%2C7.6%2011%2C7%2010.1%2C7.6%2010.3%2C6.5%209.4%2C6%2010.3%2C5.5%2010.1%2C4.4%2011%2C5%2011.8%2C4.4%2011.6%2C5.5%27%2F%3E%3C%2Fsvg%3E");
}

.flag-en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1235 650'%3E%3Cpath fill='%23b22234' d='M0 0h1235v650H0z'/%3E%3Cpath stroke='%23fff' stroke-width='50' d='M0 50h1235M0 150h1235M0 250h1235M0 350h1235M0 450h1235M0 550h1235'/%3E%3Cpath fill='%233c3b6e' d='M0 0h494v350H0z'/%3E%3Cg fill='%23fff'%3E%3Cpath id='s' d='M24.7 12l5.7 17.6L14 18.5h18.5l-15 11.1L24.7 12z'/%3E%3Cuse href='%23s' x='42'/%3E%3Cuse href='%23s' x='84'/%3E%3Cuse href='%23s' x='126'/%3E%3Cuse href='%23s' x='168'/%3E%3Cuse href='%23s' x='210'/%3E%3Cuse href='%23s' x='252'/%3E%3Cuse href='%23s' x='294'/%3E%3Cuse href='%23s' x='336'/%3E%3Cuse href='%23s' x='378'/%3E%3Cuse href='%23s' x='420'/%3E%3Cuse href='%23s' y='42'/%3E%3Cuse href='%23s' x='42' y='42'/%3E%3Cuse href='%23s' x='84' y='42'/%3E%3Cuse href='%23s' x='126' y='42'/%3E%3Cuse href='%23s' x='168' y='42'/%3E%3Cuse href='%23s' x='210' y='42'/%3E%3Cuse href='%23s' x='252' y='42'/%3E%3Cuse href='%23s' x='294' y='42'/%3E%3Cuse href='%23s' x='336' y='42'/%3E%3Cuse href='%23s' x='378' y='42'/%3E%3Cuse href='%23s' x='420' y='42'/%3E%3Cuse href='%23s' y='84'/%3E%3Cuse href='%23s' x='42' y='84'/%3E%3Cuse href='%23s' x='84' y='84'/%3E%3Cuse href='%23s' x='126' y='84'/%3E%3Cuse href='%23s' x='168' y='84'/%3E%3Cuse href='%23s' x='210' y='84'/%3E%3Cuse href='%23s' x='252' y='84'/%3E%3Cuse href='%23s' x='294' y='84'/%3E%3Cuse href='%23s' x='336' y='84'/%3E%3Cuse href='%23s' x='378' y='84'/%3E%3Cuse href='%23s' x='420' y='84'/%3E%3Cuse href='%23s' y='126'/%3E%3Cuse href='%23s' x='42' y='126'/%3E%3Cuse href='%23s' x='84' y='126'/%3E%3Cuse href='%23s' x='126' y='126'/%3E%3Cuse href='%23s' x='168' y='126'/%3E%3Cuse href='%23s' x='210' y='126'/%3E%3Cuse href='%23s' x='252' y='126'/%3E%3Cuse href='%23s' x='294' y='126'/%3E%3Cuse href='%23s' x='336' y='126'/%3E%3Cuse href='%23s' x='378' y='126'/%3E%3Cuse href='%23s' x='420' y='126'/%3E%3Cuse href='%23s' y='168'/%3E%3Cuse href='%23s' x='42' y='168'/%3E%3Cuse href='%23s' x='84' y='168'/%3E%3Cuse href='%23s' x='126' y='168'/%3E%3Cuse href='%23s' x='168' y='168'/%3E%3Cuse href='%23s' x='210' y='168'/%3E%3Cuse href='%23s' x='252' y='168'/%3E%3Cuse href='%23s' x='294' y='168'/%3E%3Cuse href='%23s' x='336' y='168'/%3E%3Cuse href='%23s' x='378' y='168'/%3E%3Cuse href='%23s' x='420' y='168'/%3E%3Cuse href='%23s' y='210'/%3E%3Cuse href='%23s' x='42' y='210'/%3E%3Cuse href='%23s' x='84' y='210'/%3E%3Cuse href='%23s' x='126' y='210'/%3E%3Cuse href='%23s' x='168' y='210'/%3E%3Cuse href='%23s' x='210' y='210'/%3E%3Cuse href='%23s' x='252' y='210'/%3E%3Cuse href='%23s' x='294' y='210'/%3E%3Cuse href='%23s' x='336' y='210'/%3E%3Cuse href='%23s' x='378' y='210'/%3E%3Cuse href='%23s' x='420' y='210'/%3E%3Cuse href='%23s' y='252'/%3E%3Cuse href='%23s' x='42' y='252'/%3E%3Cuse href='%23s' x='84' y='252'/%3E%3Cuse href='%23s' x='126' y='252'/%3E%3Cuse href='%23s' x='168' y='252'/%3E%3Cuse href='%23s' x='210' y='252'/%3E%3Cuse href='%23s' x='252' y='252'/%3E%3Cuse href='%23s' x='294' y='252'/%3E%3Cuse href='%23s' x='336' y='252'/%3E%3Cuse href='%23s' x='378' y='252'/%3E%3Cuse href='%23s' x='420' y='252'/%3E%3Cuse href='%23s' y='294'/%3E%3Cuse href='%23s' x='42' y='294'/%3E%3Cuse href='%23s' x='84' y='294'/%3E%3Cuse href='%23s' x='126' y='294'/%3E%3Cuse href='%23s' x='168' y='294'/%3E%3Cuse href='%23s' x='210' y='294'/%3E%3Cuse href='%23s' x='252' y='294'/%3E%3Cuse href='%23s' x='294' y='294'/%3E%3Cuse href='%23s' x='336' y='294'/%3E%3Cuse href='%23s' x='378' y='294'/%3E%3Cuse href='%23s' x='420' y='294'/%3E%3Cuse href='%23s' x='21' y='21'/%3E%3Cuse href='%23s' x='63' y='21'/%3E%3Cuse href='%23s' x='105' y='21'/%3E%3Cuse href='%23s' x='147' y='21'/%3E%3Cuse href='%23s' x='189' y='21'/%3E%3Cuse href='%23s' x='231' y='21'/%3E%3Cuse href='%23s' x='273' y='21'/%3E%3Cuse href='%23s' x='315' y='21'/%3E%3Cuse href='%23s' x='357' y='21'/%3E%3Cuse href='%23s' x='399' y='21'/%3E%3Cuse href='%23s' x='21' y='63'/%3E%3Cuse href='%23s' x='63' y='63'/%3E%3Cuse href='%23s' x='105' y='63'/%3E%3Cuse href='%23s' x='147' y='63'/%3E%3Cuse href='%23s' x='189' y='63'/%3E%3Cuse href='%23s' x='231' y='63'/%3E%3Cuse href='%23s' x='273' y='63'/%3E%3Cuse href='%23s' x='315' y='63'/%3E%3Cuse href='%23s' x='357' y='63'/%3E%3Cuse href='%23s' x='399' y='63'/%3E%3Cuse href='%23s' x='21' y='105'/%3E%3Cuse href='%23s' x='63' y='105'/%3E%3Cuse href='%23s' x='105' y='105'/%3E%3Cuse href='%23s' x='147' y='105'/%3E%3Cuse href='%23s' x='189' y='105'/%3E%3Cuse href='%23s' x='231' y='105'/%3E%3Cuse href='%23s' x='273' y='105'/%3E%3Cuse href='%23s' x='315' y='105'/%3E%3Cuse href='%23s' x='357' y='105'/%3E%3Cuse href='%23s' x='399' y='105'/%3E%3Cuse href='%23s' x='21' y='147'/%3E%3Cuse href='%23s' x='63' y='147'/%3E%3Cuse href='%23s' x='105' y='147'/%3E%3Cuse href='%23s' x='147' y='147'/%3E%3Cuse href='%23s' x='189' y='147'/%3E%3Cuse href='%23s' x='231' y='147'/%3E%3Cuse href='%23s' x='273' y='147'/%3E%3Cuse href='%23s' x='315' y='147'/%3E%3Cuse href='%23s' x='357' y='147'/%3E%3Cuse href='%23s' x='399' y='147'/%3E%3Cuse href='%23s' x='21' y='189'/%3E%3Cuse href='%23s' x='63' y='189'/%3E%3Cuse href='%23s' x='105' y='189'/%3E%3Cuse href='%23s' x='147' y='189'/%3E%3Cuse href='%23s' x='189' y='189'/%3E%3Cuse href='%23s' x='231' y='189'/%3E%3Cuse href='%23s' x='273' y='189'/%3E%3Cuse href='%23s' x='315' y='189'/%3E%3Cuse href='%23s' x='357' y='189'/%3E%3Cuse href='%23s' x='399' y='189'/%3E%3Cuse href='%23s' x='21' y='231'/%3E%3Cuse href='%23s' x='63' y='231'/%3E%3Cuse href='%23s' x='105' y='231'/%3E%3Cuse href='%23s' x='147' y='231'/%3E%3Cuse href='%23s' x='189' y='231'/%3E%3Cuse href='%23s' x='231' y='231'/%3E%3Cuse href='%23s' x='273' y='231'/%3E%3Cuse href='%23s' x='315' y='231'/%3E%3Cuse href='%23s' x='357' y='231'/%3E%3Cuse href='%23s' x='399' y='231'/%3E%3Cuse href='%23s' x='21' y='273'/%3E%3Cuse href='%23s' x='63' y='273'/%3E%3Cuse href='%23s' x='105' y='273'/%3E%3Cuse href='%23s' x='147' y='273'/%3E%3Cuse href='%23s' x='189' y='273'/%3E%3Cuse href='%23s' x='231' y='273'/%3E%3Cuse href='%23s' x='273' y='273'/%3E%3Cuse href='%23s' x='315' y='273'/%3E%3Cuse href='%23s' x='357' y='273'/%3E%3Cuse href='%23s' x='399' y='273'/%3E%3Cuse href='%23s' x='21' y='315'/%3E%3Cuse href='%23s' x='63' y='315'/%3E%3Cuse href='%23s' x='105' y='315'/%3E%3Cuse href='%23s' x='147' y='315'/%3E%3Cuse href='%23s' x='189' y='315'/%3E%3Cuse href='%23s' x='231' y='315'/%3E%3Cuse href='%23s' x='273' y='315'/%3E%3Cuse href='%23s' x='315' y='315'/%3E%3Cuse href='%23s' x='357' y='315'/%3E%3Cuse href='%23s' x='399' y='315'/%3E%3C/g%3E%3C/svg%3E");
}

.flag-es {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20750%20500%27%3E%3Crect%20width%3D%27750%27%20height%3D%27500%27%20fill%3D%27%23AA151B%27%2F%3E%3Crect%20y%3D%27125%27%20width%3D%27750%27%20height%3D%27250%27%20fill%3D%27%23F1BF00%27%2F%3E%3C%2Fsvg%3E");
}

.header-contact {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}

.header-contact i {
  margin-right: 5px;
  color: #d61818;
}

/* Header Auth Links (Top Bar) */
.header-auth {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-auth-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-auth-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color 0.2s;
}

.header-auth-links a:hover {
  color: #d61818;
}

.header-auth-links .separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

/* Top Bar Dropdown */
.top-bar-dropdown {
  position: relative;
}

.top-bar-dropdown .user-dropdown-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.top-bar-dropdown .user-dropdown-btn:hover {
  color: #d61818;
}

.top-bar-dropdown .user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  padding: 8px 0;
  z-index: 1000;
  display: none;
  margin-top: 10px;
}

.top-bar-dropdown .user-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 15px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.05);
}

.top-bar-dropdown .user-dropdown-menu.show {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

.top-bar-dropdown .user-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  color: #333;
  font-size: 13px;
  transition: all 0.2s;
}

.top-bar-dropdown .user-dropdown-menu a:hover {
  background: #f8f9fa;
  color: #d61818;
}

.top-bar-dropdown .dropdown-divider {
  border-top: 1px solid #eee;
  margin: 6px 0;
}

/* Main Header */
.header-main {
  background: #fff;
  padding: 15px 0;
}

/* Spanish Language Adjustments */
html[lang="es"] .main-nav ul li a {
  font-size: 11px;
}

html[lang="es"] .header-cta,
html[lang="es"] .btn-primary {
  font-size: 11px;
  padding: 8px 12px;
}

html[lang="es"] .main-nav .dropdown-menu li a {
  font-size: 12px;
}

/* Main Header Layout */
.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-left {
  flex-shrink: 0;
}

.header-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 600px;
}

.header-divider {
  width: 80%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
}

/* Main Navigation */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav ul li {
  position: relative;
}

.main-nav ul li a {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: #d61818;
}

.main-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 0;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.main-nav .dropdown:hover>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .dropdown-menu li {
  display: block;
}

.main-nav .dropdown-menu li a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  text-transform: none;
}

.main-nav .dropdown-menu li a:hover {
  background: #f5f5f5;
}

/* Nested Dropdown */
.main-nav .dropdown-submenu {
  position: relative;
}

.main-nav .dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -5px;
  margin-left: 0;
  border-radius: 8px;
  display: none;
  /* Explicitly hide by default */
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.main-nav .dropdown-submenu:hover>.dropdown-menu {
  display: block;
  /* Explicitly show on hover */
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.main-nav .dropdown-submenu>a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  /* Ensure full width for click/hover area */
}

.main-nav .dropdown-submenu>a::after {
  content: none;
}

.header-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Header Search Form */
.header-search {
  width: 100%;
}

.header-search-form {
  position: relative;
  width: 100%;
}

.header-search-form input {
  width: 100%;
  padding: 12px 50px 12px 20px;
  border-radius: 50px;
  border: 1px solid #e1e1e1;
  background: #f8f9fa;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
  font-family: inherit;
}

.header-search-form input:focus {
  background: #fff;
  border-color: #d61818;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  outline: none;
}

.header-search-form input::placeholder {
  color: #999;
}

.header-search-form button {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  width: 36px;
  background: #d61818;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 14px;
}

.header-search-form button:hover {
  background: #b01313;
  transform: scale(1.05);
}

/* Header Actions Wrapper */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

/* Header Search */
/* Search Trigger */
.search-trigger {
  background: #d61818;
  border: none;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(214, 24, 24, 0.3);
  margin: 0;
  /* Reset margins */
}

.search-trigger:hover {
  background: #b01313;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(214, 24, 24, 0.4);
}

/* Full Screen Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(15px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.close-search {
  position: absolute;
  top: 30px;
  right: 30px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.close-search:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
  color: #d61818;
}

.search-content {
  width: 100%;
  max-width: 900px;
  margin: auto;
  animation: fadeSlideDown 0.6s ease-out 0.2s both;
}

.search-content .container {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

.search-box-wrapper {
  position: relative;
  margin-bottom: 40px;
}

.search-box-wrapper form {
  position: relative;
}

.overlay-search-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 28px;
  padding: 15px 65px 15px 15px;
  font-weight: 300;
  transition: all 0.3s ease;
  text-align: center;
}

.overlay-search-input:focus {
  outline: none;
  border-bottom-color: #d61818;
}

.overlay-search-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.overlay-search-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #d61818;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(214, 24, 24, 0.3);
}

.overlay-search-btn:hover {
  background: #fff;
  color: #d61818;
  transform: translateY(-50%) scale(1.1);
}

/* Popular Searches */
.popular-searches {
  margin-bottom: 40px;
  text-align: center;
}

.popular-searches h4,
.overlay-featured h4 {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-weight: 500;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tags-cloud a {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.tags-cloud a:hover {
  background: #d61818;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(214, 24, 24, 0.2);
}

/* Overlay Featured Products */
.overlay-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.overlay-product-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.overlay-product-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.1);
}

.op-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: #fff;
  padding: 5px;
  flex-shrink: 0;
}

.op-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.op-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.op-brand {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.op-brand.bosch {
  color: #007bc0;
}

.op-brand.delphi {
  color: #e31937;
}

.op-brand.denso {
  color: #cc0000;
}

.op-brand.cat {
  color: #ffcd00;
}

.op-name {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.op-code {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-family: monospace;
}

@media (max-width: 991px) {
  .overlay-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .overlay-search-input {
    font-size: 24px;
  }

  .overlay-products-grid {
    grid-template-columns: 1fr;
  }

  .close-search {
    top: 20px;
    right: 20px;
  }
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header CTA */
.header-cta {
  padding: 10px 25px;
  font-size: 13px;
}

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 35px;
  height: 20px;
  margin-right: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #0d0d0d;
  z-index: 1050;
  transition: right 0.3s ease;
  padding: 80px 30px 30px;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.mobile-nav li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav li.mobile-search-item {
  border-bottom: none;
  margin-bottom: 20px;
}

.mobile-nav li.mobile-search-item a {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  font-weight: 400;
}

.mobile-nav li.mobile-search-item a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.mobile-nav li.mobile-search-item i {
  margin-right: 10px;
  color: #fff;
}

.mobile-nav a {
  display: block;
  color: #fff;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 500;
}

.mobile-nav a:hover {
  color: #d61818;
}

.mobile-cta {
  display: block;
  text-align: center;
  margin-bottom: 30px;
}

.mobile-contact {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.mobile-contact p {
  margin: 10px 0;
}

.mobile-contact i {
  margin-right: 10px;
  color: #d61818;
}

.mobile-lang {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.mobile-lang a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mobile-lang a.active,
.mobile-lang a:hover {
  color: #d61818;
}

.mobile-lang span {
  color: rgba(255, 255, 255, 0.4);
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Header */
@media (max-width: 991px) {
  .hamburger {
    display: flex;
  }

  .header-main-inner {
    gap: 15px;
  }
}

/* Logo Styles */
.sensei-header .logo {
  text-decoration: none;
}

.sensei-header .logo img {
  max-height: 50px;
}

.sensei-header .logo span {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #333;
  margin-top: 6px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  border-top: 1px solid rgba(214, 24, 24, 0.4);
  padding-top: 6px;
  text-align: center;
}

/* Desktop Navigation */
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

html[lang="es"] .main-nav ul {
  gap: 13px !important;
}

.main-nav a {
  color: #1a1a1a;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  position: relative;
}

.main-nav a:hover {
  color: #d61818;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d61818;
  transition: width 0.2s;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-cta {
  padding: 10px 25px;
  font-size: 13px;
}

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #b4b4b4;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #0d0d0d;
  z-index: 1050;
  transition: right 0.3s ease;
  padding: 80px 30px 30px;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.mobile-nav li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a {
  display: block;
  color: #fff;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 500;
}

.mobile-nav a:hover {
  color: #d61818;
}

.mobile-cta {
  display: block;
  text-align: center;
  margin-bottom: 30px;
}

.mobile-contact {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.mobile-contact p {
  margin: 10px 0;
}

.mobile-contact i {
  margin-right: 10px;
  color: #d61818;
}

.mobile-lang {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.mobile-lang a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mobile-lang a.active,
.mobile-lang a:hover {
  color: #d61818;
}

.mobile-lang span {
  color: rgba(255, 255, 255, 0.4);
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Header */
@media (max-width: 991px) {
  .hamburger {
    display: flex;
  }

  .header-main-inner {
    gap: 15px;
  }
}

/* Legacy nav styles - kept for compatibility */
.sensei-header .sensei-nav>li>a:focus {
  color: #ffb3b3;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #0f0f0f 100%);
  color: #fff;
  padding: 40px 0;
  min-height: calc(100vh - 125px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 75% 50%,
      rgba(60, 60, 60, 0.15) 0%,
      transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  animation: fadeSlideUp 0.8s ease-out 0.2s both;
}

.hero p {
  font-size: 18px;
  margin: 20px 0 35px;
  opacity: 0.9;
  animation: fadeSlideUp 0.8s ease-out 0.4s both;
}

/* Hero Animations */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: rotate(-20deg) translateY(0);
  }

  50% {
    transform: rotate(-20deg) translateY(-15px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.12;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.18;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  animation: fadeSlideUp 0.8s ease-out both;
}

.hero-badge i {
  color: #ffd966;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  animation: fadeSlideUp 0.8s ease-out 0.6s both;
}

/* Hero Split Layout */
.hero-split {
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.hero-filter {
  flex-shrink: 0;
  width: 280px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
}

.filter-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0 0 20px 0;
  text-align: center;
}

/* Filter Tabs - Grid Layout */
.filter-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.filter-tab {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 700;
  padding: 16px 20px;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.filter-tab:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.filter-tab.active {
  background: linear-gradient(135deg, #ed1d24 0%, #b01313 100%);
  color: #fff;
  border-color: #ed1d24;
  box-shadow: 0 8px 25px rgba(237, 29, 36, 0.4);
  transform: translateY(-3px);
}

.filter-tab.active::before {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 16px;
  font-weight: bold;
}

.filter-tab.active::after {
  content: none;
}

/* Filter Select Refined */
.filter-select-wrap {
  position: relative;
}

.filter-select {
  width: 100%;
  padding: 16px 45px 16px 20px;
  background: #fff;
  /* White bg request or sleek dark? "Görsel revize" imply better visibility. Let's try white for contrast or sleek dark. */
  /* User previously asked for light background icons, maybe they want light inputs? Let's stick to sleek dark/glassy but clearer. */
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all 0.3s ease;
}

.filter-select:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.7);
}

.filter-select:focus {
  outline: none;
  border-color: #ed1d24;
  background: #000;
  box-shadow: 0 0 0 3px rgba(237, 29, 36, 0.2);
}

.filter-select option {
  background: #111;
  color: #fff;
  padding: 10px;
}

/* Custom Arrow */
.filter-select-wrap::after {
  content: "\f107";
  /* FontAwesome Chevron Down */
  font-family: "FontAwesome";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #ed1d24;
  font-size: 18px;
  pointer-events: none;
  transition: transform 0.3s;
}

.filter-select-wrap:hover::after {
  transform: translateY(-50%) translateY(2px);
}

/* Contact redirect button shown when no products exist for a category */
.filter-contact-btn {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border: 2px solid #ed1d24;
  color: #ed1d24;
  background: rgba(237, 29, 36, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 4px;
}

.filter-contact-btn:hover {
  background: #ed1d24;
  color: #fff;
  text-decoration: none;
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 9;
}

/* Hero Product Image - Background Style */
.hero-product {
  position: absolute;
  right: -25%;
  top: 50%;
  transform: translateY(-50%);
  width: 750px;
  height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.product-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse,
      rgba(255, 255, 255, 0.12) 0%,
      transparent 60%);
  filter: blur(30px);
  z-index: 1;
  animation: pulse 4s ease-in-out infinite;
}

/* Orbit Container - 3D System */
.orbit-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 580px;
  height: 580px;
  transform-style: preserve-3d;
  perspective: 1000px;
  z-index: 2;
  pointer-events: auto;
  cursor: grab;
}

.orbit-container:active {
  cursor: grabbing;
}

/* Orbit Track - Elliptical Ring */
.orbit-track {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) rotateX(85deg);
  border: 1.5px solid rgba(237, 29, 36, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(237, 29, 36, 0.08),
    inset 0 0 20px rgba(237, 29, 36, 0.05);
  pointer-events: none;
}

.orbit-track::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 50%;
  border: 1px solid rgba(255, 150, 50, 0.1);
  animation: orbitTrackPulse 3s ease-in-out infinite;
}

@keyframes orbitTrackPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.02);
  }
}

/* Orbit Scene - The rotating group */
.orbit-scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* Orbit Items - Positioned in 3D space */
.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  margin: -200px 0 0 -200px;
  transform-style: preserve-3d;
  transition: filter 0.4s ease, opacity 0.4s ease;
}

.orbit-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 25px rgba(0, 0, 0, 0.6));
  transform: rotate(15deg) !important;
  transition: transform 0.3s ease, filter 0.3s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}

.orbit-item:hover img {
  transform: scale(1.1) rotate(15deg) !important;
  filter: drop-shadow(0 8px 35px rgba(237, 29, 36, 0.4));
}

/* Nucleus glow at center */
.orbit-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
      rgba(237, 29, 36, 0.6) 0%,
      rgba(237, 29, 36, 0.2) 40%,
      transparent 70%);
  border-radius: 50%;
  animation: nucleusPulse 2s ease-in-out infinite;
  pointer-events: none;
  z-index: 10;
}

@keyframes nucleusPulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 1;
  }
}

/* Ember/Kıvılcım Effects */
.embers {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}

.ember {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle,
      #fff 0%,
      #ffaa00 40%,
      #ff6600 70%,
      transparent 100%);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 6px #ff8800, 0 0 12px #ff6600, 0 0 20px rgba(255, 100, 0, 0.5);
}

.ember:nth-child(1) {
  left: 30%;
  bottom: 40%;
  animation: emberFloat 3s ease-out 0s infinite;
}

.ember:nth-child(2) {
  left: 50%;
  bottom: 35%;
  width: 3px;
  height: 3px;
  animation: emberFloat 3.5s ease-out 0.5s infinite;
}

.ember:nth-child(3) {
  left: 65%;
  bottom: 45%;
  width: 5px;
  height: 5px;
  animation: emberFloat 2.8s ease-out 1s infinite;
}

.ember:nth-child(4) {
  left: 40%;
  bottom: 50%;
  width: 3px;
  height: 3px;
  animation: emberFloat 3.2s ease-out 1.5s infinite;
}

.ember:nth-child(5) {
  left: 55%;
  bottom: 38%;
  animation: emberFloat 3.8s ease-out 0.3s infinite;
}

.ember:nth-child(6) {
  left: 35%;
  bottom: 55%;
  width: 3px;
  height: 3px;
  animation: emberFloat 2.5s ease-out 0.8s infinite;
}

.ember:nth-child(7) {
  left: 60%;
  bottom: 42%;
  width: 5px;
  height: 5px;
  animation: emberFloat 3.3s ease-out 1.2s infinite;
}

.ember:nth-child(8) {
  left: 45%;
  bottom: 48%;
  width: 2px;
  height: 2px;
  animation: emberFloat 4s ease-out 0.6s infinite;
}

@keyframes emberFloat {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(1);
  }

  10% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    opacity: 0;
    transform: translateY(-120px) translateX(20px) scale(0.3);
  }
}

/* Energy Rings */
.energy-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 150, 50, 0.4);
  z-index: 1;
  opacity: 0;
}

.energy-ring-1 {
  width: 70%;
  height: 70%;
  animation: energyPulse 3s ease-out 0s infinite;
}

.energy-ring-2 {
  width: 90%;
  height: 90%;
  animation: energyPulse 3s ease-out 0.6s infinite;
}

@keyframes energyPulse {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.8);
    border-color: rgba(255, 150, 50, 0.5);
  }

  50% {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1.1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.3);
    border-color: rgba(255, 100, 0, 0);
  }
}

@media (max-width: 1600px) {
  .hero-product {
    width: 650px;
    height: 650px;
    right: -18%;
  }

  .orbit-container {
    width: 500px;
    height: 500px;
    perspective: 900px;
  }

  .orbit-item {
    width: 340px;
    height: 340px;
    margin: -170px 0 0 -170px;
  }
}

@media (max-width: 1400px) {
  .hero-product {
    width: 500px;
    height: 500px;
    right: -10%;
  }

  .orbit-container {
    width: 380px;
    height: 380px;
    perspective: 700px;
  }

  .orbit-item {
    width: 240px;
    height: 240px;
    margin: -120px 0 0 -120px;
  }
}

@media (max-width: 1200px) {
  .hero-product {
    width: 420px;
    height: 420px;
    right: -5%;
  }

  .orbit-container {
    width: 320px;
    height: 320px;
    perspective: 600px;
  }

  .orbit-item {
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
  }
}

@media (max-width: 991px) {
  .hero-split {
    flex-direction: column;
    position: relative;
    gap: 30px;
    justify-content: center;
    min-height: 550px;
  }

  /* 1. Sıra: Yazı İçeriği */
  .hero-content {
    order: 1;
    text-align: center;
    padding-right: 0;
    max-width: 100%;
    position: relative;
    z-index: 5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  }

  /* 2. Görsel (Yazıların Arkasında) */
  .hero-product {
    display: block;
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    margin: 0;
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
  }

  .orbit-container {
    width: 280px;
    height: 280px;
    perspective: 600px;
  }

  .orbit-item {
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
  }

  .hero-product .spark,
  .hero-product .ember {
    transform: scale(0.6);
  }

  /* 3. Sıra: Filtre Paneli (En Altta) */
  .hero-filter {
    width: 100%;
    max-width: 100%;
    order: 3;
    position: relative;
    z-index: 5;
    margin-top: 180px;
    background: rgba(13, 13, 13, 0.9);
    padding: 20px;
    border-radius: 12px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
  }

  /* Butonlar */
  .hero-cta {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .hero-cta .btn {
    padding: 10px 24px;
    font-size: 13px;
    min-width: 120px;
  }
}

/* Buttons */
.btn-primary {
  background: linear-gradient(120deg, #ff4d4f, #d61818);
  border-color: transparent;
  padding: 14px 36px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 40px;
  box-shadow: 0 15px 35px rgba(214, 24, 24, 0.35);
  letter-spacing: 0.5px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open>.dropdown-toggle.btn-primary {
  background: linear-gradient(120deg, #b91c1c, #991b1b) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 20px 40px rgba(122, 1, 1, 0.4) !important;
  outline: none !important;
}

.btn-outline {
  border-radius: 40px;
  padding: 12px 30px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Section Styles */
.section-heading {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #e83821;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e83821, transparent);
}

.section-heading.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  color: #4a4a4a;
  margin-bottom: 45px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.value-card,
.product-card {
  border: 1px solid rgba(214, 24, 24, 0.08);
  padding: 32px;
  border-radius: 18px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: rgba(255, 255, 255, 0.95);
  color: #1d1d1f;
  box-shadow: 0 20px 45px rgba(16, 20, 40, 0.08);
  backdrop-filter: blur(6px);
}

.value-card ul li {
  color: #1d1d1f;
}

.value-card:hover,
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.value-card h4,
.product-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: #b30000;
}

/* Sensei Section */
.sensei-section {
  padding: 70px 0;
}

.sensei-section:first-of-type {
  margin-top: 0;
}

.hero.sensei-section {
  padding: 60px 0 30px 0;
}

/* Brand Grid Section */
.brand-section {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 25px 60px rgba(16, 20, 40, 0.08);
  padding: 50px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.brand-card {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(122, 1, 1, 0.12);
  border-color: #d61818;
}

.brand-card img {
  height: 50px;
  object-fit: contain;
  margin-bottom: 12px;
  /* Removed grayscale filter to preserve original logo colors */
}

.brand-card h5 {
  font-size: 16px;
  font-weight: 600;
  color: #7a0101;
  margin: 0;
}

/* Category Cards */
.category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.category-card {
  background: linear-gradient(145deg, #7a0f0f, #4a0505);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  width: calc(25% - 25px);
  transform-style: preserve-3d;
  perspective: 1000px;
  text-decoration: none !important;
  display: block;
}

a.category-card:hover,
a.category-card:focus {
  color: #d61818;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(30%, -30%);
  transition: all 0.5s ease;
}

/* Shimmer effect overlay */
.category-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 30%,
      rgba(255, 255, 255, 0.15) 50%,
      transparent 70%);
  transform: translateX(-100%) rotate(45deg);
  transition: none;
}

.category-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3),
    0 5px 15px rgba(0, 0, 0, 0.2);
  border-color: #ffd966;
  background: linear-gradient(145deg, #8a1f1f, #5a0505);
}

/* Shimmer sweep on hover */
.category-card:hover::after {
  animation: shimmer 0.8s ease-out forwards;
}

/* Move decorative circle to bottom-left on hover */
.category-card:hover::before {
  top: auto;
  right: auto;
  bottom: 0;
  left: 0;
  background: rgba(255, 215, 102, 0.15);
  transform: translate(-30%, 30%);
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.category-card i {
  font-size: 42px;
  margin-bottom: 15px;
  color: #ffd966;
}

.category-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0;
  color: #fff;
}

@media (max-width: 992px) {
  .category-card {
    width: calc(50% - 15px);
  }
}

@media (max-width: 576px) {
  .category-card {
    width: 100%;
  }
}

/* Compatible Brands Section - Corporate & Elegant */
.compatible-brands {
  background: linear-gradient(145deg, #0d0d0d, #1a1a1a);
  border-radius: 0;
  box-shadow: none;
  padding: 100px 0;
  color: #fff;
  margin-top: 0;
}

.compatible-brands .section-heading {
  color: #fff;
  font-size: 36px;
  letter-spacing: -0.5px;
}

.compatible-brands .section-heading::after {
  background: linear-gradient(90deg, #d61818, #ffd966, transparent);
  height: 3px;
}

.compatible-brands .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.7;
}

.brand-group {
  margin-bottom: 50px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border-left: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 40px;
}

.brand-group:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.brand-group h4 {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.brand-group h4 img {
  height: 45px;
  object-fit: contain;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* Infinite Logo Carousel */
.carousel-wrapper {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
  padding: 15px 0;
  /*   mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); */
}

.logo-carousel {
  overflow: visible;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 40px;
  animation: scroll-left 25s linear infinite;
  width: max-content;
  padding: 10px 0;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-item {
  flex-shrink: 0;
  width: 140px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.carousel-item:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(214, 24, 24, 0.25);
  background: #fff;
}

.carousel-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.carousel-item:hover img {
  filter: grayscale(0%);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Featured Products */
/* Featured Products */
.featured-products-section {
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  color: #fff;
  padding: 80px 0;
}

.featured-products-section .section-heading {
  color: #fff;
}

.featured-products-section .section-heading::after {
  background: linear-gradient(90deg, #ffd966, transparent);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.featured-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

/* Golden border glow overlay */
.featured-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #ffd966, #ff9500, #ffd966);
  border-radius: 22px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Shimmer sweep */
.featured-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 30%,
      rgba(255, 217, 102, 0.2) 50%,
      transparent 70%);
  transform: translateX(-100%) rotate(45deg);
  transition: none;
}

.featured-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-10px) scale(1.03);
  border-color: transparent;
  box-shadow: 0 20px 50px rgba(255, 217, 102, 0.25),
    0 0 30px rgba(255, 217, 102, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.featured-card:hover::before {
  opacity: 1;
  animation: borderPulse 1.5s ease-in-out infinite;
}

.featured-card:hover::after {
  animation: shimmerGold 0.8s ease-out forwards;
}

@keyframes borderPulse {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

@keyframes shimmerGold {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.featured-card i {
  font-size: 48px;
  color: #ffd966;
  margin-bottom: 18px;
}

.featured-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0;
}

.featured-tagline {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: #ffd966;
  margin-top: 2em;
  letter-spacing: 1px;
}

/* Why Sensei Section */
.why-sensei {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 25px 60px rgba(16, 20, 40, 0.08);
  padding: 60px 50px;
}

@media (max-width: 991px) {
  .why-sensei {
    padding: 40px 30px;
    border-radius: 24px;
  }
}

@media (max-width: 576px) {
  .why-sensei {
    padding: 30px 20px;
    border-radius: 16px;
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
  }
}

.why-intro {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 40px;
  max-width: 900px;
  text-align: center;
}

.why-intro strong {
  color: #7a0101;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.benefit-card {
  background: linear-gradient(135deg, #f8f9fa, #fff);
  border: 1px solid #e9ecef;
  border-radius: 18px;
  padding: 30px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-color: #d61818;
}

.benefit-card .icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #7a0101, #d61818);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.benefit-card .icon i {
  font-size: 24px;
  color: #fff;
}

.benefit-card h5 {
  font-size: 18px;
  font-weight: 600;
  color: #7a0101;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* Target Audience Section */
/* Target Audience Section (Light Theme) */
.target-audience {
  background: transparent;
  border-radius: 0;
  padding: 0;
  color: #333;
  box-shadow: none;
}

.target-audience .section-heading {
  color: #1a1a1a;
}

.target-audience .section-heading::after {
  background: linear-gradient(90deg, #d61818, transparent);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.audience-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.audience-card h4 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d61818;
}

.audience-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.audience-card ul li {
  padding: 8px 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #555;
}

.audience-card ul li i {
  color: #d61818;
}

.audience-benefits {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #eef2f6;
}

.audience-benefits strong {
  display: block;
  margin-bottom: 5px;
  color: #1a1a1a;
  font-weight: 600;
}

/* Dealer Section - New Design */
.dealer-section {
  background: transparent;
  /* Changed to transparent to match standard body background */
  padding: 80px 0;
}

.dealer-header {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 400;
  color: #333;
  margin: 0;
}

.dealer-icon {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #d61818;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.dealer-icon-inner {
  width: 12px;
  height: 12px;
  background: #d61818;
  border-radius: 50%;
}

.dealer-title strong {
  font-weight: 700;
}

.dealer-divider {
  border: none;
  border-top: 2px solid #d61818;
  margin: 12px 0 35px;
}

.dealer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.dealer-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dealer-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.dealer-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: #d61818;
}

.dealer-card-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: #e6e6e6;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dcdcdc;
  box-shadow: none;
}

.dealer-card-icon i {
  font-size: 32px;
  color: #f0f0f0;
}

.dealer-card-icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.dealer-card-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: #b91c1c;
  margin: 0 0 6px 0;
}

.dealer-card-content p {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.dealer-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dealer-image-wrap {
  max-width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}

.dealer-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991px) {
  .dealer-grid {
    grid-template-columns: 1fr;
  }

  .dealer-center {
    order: -1;
    margin-bottom: 20px;
  }

  .dealer-image-wrap {
    max-width: 500px;
  }
}

/* Stats Section */
.stats {
  background: linear-gradient(135deg, #120708, #5a0006);
  padding: 70px 0;
  color: #fff;
  border-radius: 50px;
  margin: 0 20px;
  box-shadow: 0 25px 60px rgba(5, 0, 0, 0.45);
}

.stat-item h3 {
  font-size: 52px;
  color: #ffd966;
  font-weight: 600;
}

.stat-item span {
  display: block;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  color: #ccc;
  margin-top: 10px;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay classes */
.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* Contact Section */
/* Contact Section (Dark Theme) */
.contact-dark-section {
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  color: #fff;
  padding: 80px 0;
}

.contact-panel {
  background: transparent;
  /* Section'ın arka planını kullansın */
  color: #fff;
  padding: 20px;
  border-radius: 0;
  box-shadow: none;
}

.contact-panel .section-heading {
  color: #fff;
  margin-bottom: 25px;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-panel i {
  color: #d61818;
  font-size: 18px;
  margin-top: 4px;
}

/* Dark Form Styles */
form.value-card,
.contact-form-dark {
  background: #141414 !important;
  /* Koyu arka plan */
  border: 1px solid #333;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.contact-form-dark h4 {
  color: #fff;
}

.form-group label {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
}

.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: #d61818;
  box-shadow: 0 0 0 4px rgba(214, 24, 24, 0.15);
  color: #fff;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Form içindeki başlık varsa */
form h4 {
  color: #fff !important;
}

/* Select dropdown styles for dark forms */
.form-control option,
select.form-control option {
  background: #1a1a1a;
  color: #fff;
  padding: 12px 15px;
}

select.form-control {
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d61818' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

select.form-control:focus {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Ensure option text is visible on all browsers */
select.form-control option:hover,
select.form-control option:focus,
select.form-control option:checked {
  background: linear-gradient(#d61818, #d61818);
  background-color: #d61818 !important;
  color: #fff !important;
}

/* Footer */
footer {
  background: #120708;
  color: rgba(255, 255, 255, 0.75);
  padding: 24px 0;
  text-align: center;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 991px) {

  .brand-grid,
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .dealer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero {
    padding: 90px 0;
  }

  .brand-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .dealer-cta h2 {
    font-size: 28px;
  }
}

/* FAQ Page Styles */
.faq-page-header {
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  color: #fff;
  padding: 140px 0 80px;
  text-align: center;
  margin-bottom: 0;
}

.faq-page-header h1 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 42px;
  margin-bottom: 15px;
  color: #fff;
}

.faq-page-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.faq-section {
  padding: 80px 0;
  background: #fbfbfb;
  min-height: 600px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid #eef2f6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  border-color: #e0e0e0;
}

.faq-item.active {
  border-color: #d61818;
  box-shadow: 0 10px 30px rgba(214, 24, 24, 0.05);
}

.faq-question {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #d61818;
}

.faq-question i {
  color: #999;
  transition: transform 0.3s ease, color 0.3s ease;
  font-size: 14px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: #d61818;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
}

.faq-answer-inner {
  padding: 0 24px 24px 24px;
  color: #555;
  line-height: 1.7;
  font-size: 15px;
  border-top: 1px solid #f5f5f5;
  padding-top: 20px;
}

.faq-answer-inner ul {
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.faq-answer-inner li {
  margin-bottom: 5px;
}

/* Dropdown Menu Styles */
.main-nav ul li {
  position: relative;
}

.main-nav ul li .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  z-index: 1000;
  display: block;
  border-top: 3px solid #d61818;
}

.main-nav ul li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav ul li .dropdown-menu li {
  display: block;
  margin: 0;
}

.main-nav ul li .dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: #333 !important;
  /* Force dark color */
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
  border-bottom: 1px solid #f5f5f5;
  transition: all 0.2s ease;
  text-align: left;
}

.main-nav ul li .dropdown-menu li:last-child a {
  border-bottom: none;
}

.main-nav ul li .dropdown-menu li a:hover {
  background: #f9f9f9;
  color: #d61818 !important;
  padding-left: 25px;
}

/* Mobile Dropdown */
@media (max-width: 991px) {
  .main-nav ul li .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-top: none;
    padding: 0 0 0 20px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    /* Hide by default */
    background: transparent;
  }

  /* Show when parent li has .open class */
  .mobile-nav li.open .dropdown-menu {
    display: block;
    animation: slideDown 0.3s ease;
  }

  .mobile-nav .dropdown-menu {
    display: none;
    /* Double insurance */
    position: static;
    /* FIX: Push content down */
    float: none;
    width: 100%;
    padding-left: 20px;
    margin-top: 5px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    box-shadow: none;
    border: none;
  }

  .mobile-nav .dropdown-menu li a {
    color: #ccc !important;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    display: flex;
    align-items: center;
  }

  .mobile-nav .dropdown-menu li a img {
    width: 24px;
    margin-right: 10px;
    filter: grayscale(1) brightness(2);
    /* White icons for dark menu */
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Desktop Dropdown */
.main-nav ul li .dropdown-menu {
  min-width: 260px;
  /* Wider */
  padding: 12px 0;
}

.main-nav ul li .dropdown-menu li a {
  display: flex !important;
  align-items: center;
  padding: 12px 20px;
  font-size: 15px;
  color: #444 !important;
  font-weight: 600;
}

.main-nav ul li .dropdown-menu li a img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-right: 15px;
  transition: transform 0.3s;
}

.main-nav ul li .dropdown-menu li a:hover img {
  transform: scale(1.1);
}

.main-nav ul li .dropdown-menu li a:hover {
  background: #fff5f5;
  /* Light red tint */
  padding-left: 25px;
}

/* Common Page Header */
.common-page-header {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0d0d0d 100%);
  color: #fff;
  padding: 55px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated light sweep */
.common-page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.03),
      transparent);
  animation: lightSweep 8s ease-in-out infinite;
  pointer-events: none;
}

/* Subtle red accent glow at bottom */
.common-page-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: radial-gradient(ellipse at 50% 100%, rgba(214, 24, 24, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes lightSweep {
  0% {
    left: -100%;
  }

  50% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

.common-page-header h1 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 42px;
  margin-bottom: 15px;
  color: #fff;
  position: relative;
  z-index: 1;
}

/* About Us Page Modern Styles */

/* Hero Section */
.about-hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
  margin-bottom: 60px;
}

.about-hero h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.about-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* Content Layout */
.about-content-section {
  padding-bottom: 80px;
}

.about-text-col {
  padding-right: 40px;
}

.about-heading-small {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ed1d24;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.about-heading-large {
  font-size: 36px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  margin-bottom: 24px;
}

.about-paragraph {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

/* Image & Video */
.about-visual-col {
  position: relative;
  /* No margin needed on the col itself if items have spacing */
  margin-bottom: 20px;
}

.about-visual-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: #fff;
  position: relative;
  z-index: 1;
}

.about-main-img {
  width: 100%;
  height: auto;
  display: block;
}

.video-trigger-box {
  position: relative;
  /* As requested by user */
  width: 100%;
  /* Full width of the column or adjustable */
  max-width: 400px;
  /* Limit size for elegance */
  margin: 20px auto 0 auto;
  /* Center it and add space top */
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 1;
  border: none;
  /* Removed white border */
}

.video-trigger-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.video-trigger-box img {
  width: 100%;
  display: block;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.video-trigger-box:hover img {
  opacity: 1;
}

.play-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(237, 29, 36, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  padding-left: 3px;
  box-shadow: 0 0 15px rgba(237, 29, 36, 0.6);
  transition: transform 0.3s;
}

.video-trigger-box:hover .play-icon-overlay {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Responsive: Keep it stacked (same behavior) */
@media (max-width: 768px) {
  .video-trigger-box {
    width: 100%;
    margin-top: 15px;
  }
}

/* Team Section Refined */
.team-section-modern {
  background-color: #f9f9f9;
  padding: 80px 0;
}

.section-header-centered {
  text-align: center;
  margin-bottom: 50px;
}

.section-header-centered h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header-centered .divider {
  width: 60px;
  height: 3px;
  background: #ed1d24;
  margin: 0 auto;
}

/* Flexbox fix for equal height columns in Bootstrap 3 */
.row-flex {
  display: flex;
  flex-wrap: wrap;
}

.row-flex>[class*="col-"] {
  display: flex;
  flex-direction: column;
}

/* Custom Spacing Utilities */
.mb-4 {
  margin-bottom: 30px !important;
}

.mt-0 {
  margin-top: 0 !important;
}

/* Tighter Grid */
.row-tight {
  margin-left: -5px;
  margin-right: -5px;
}

.row-tight>[class*="col-"] {
  padding-left: 5px;
  padding-right: 5px;
}

.team-card-modern {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  width: 100%;
  /* Ensure full width in flex item */
}

.team-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-card-header {
  height: 220px;
  /* Reduced from 280px */
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  /* Prevent shrinking */
}

.team-card-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s;
}

.team-card-modern:hover .team-card-header img {
  transform: scale(1.05);
}

.team-card-body {
  padding: 20px;
  flex-grow: 1;
  /* Push footer down if we had one */
  display: flex;
  flex-direction: column;
}

.member-name {
  font-size: 16px;
  /* Slightly smaller */
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}

.member-role {
  font-size: 13px;
  color: #ed1d24;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.member-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  /* Ensure consistent height for descriptions or clamp */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Stats Section Modern */
.stats-section-modern {
  padding: 60px 0;
  background: #fff;
  border-top: 1px solid #eee;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: #ed1d24;
  line-height: 1;
  margin-bottom: 8px;
  font-family: "Outfit", sans-serif;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Typography Overrides */
.text-red {
  color: #ed1d24;
}

.font-normal {
  font-weight: 400;
}

.font-semibold {
  font-weight: 600;
}

.text-4xl {
  font-size: 2.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.leading-relaxed {
  line-height: 1.75rem;
}

.text-gray-500 {
  color: #6b7280;
}

/* Products Page Styles */
.product-detail-hero {
  text-align: left;
  padding: 120px 0 70px;
}

.product-detail-hero h1 {
  text-align: left;
}

.product-detail-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 680px;
  text-align: left;
}

.product-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.product-breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.product-breadcrumbs a:hover {
  color: #fff;
}

.product-detail-row {
  align-items: flex-start;
  row-gap: 30px;
}

.product-gallery {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 20px 45px rgba(16, 20, 40, 0.08);
}

.product-gallery-main {
  height: 360px;
  border-radius: 16px;
  background: #f5f6f8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-thumbs {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-thumb {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb.active {
  border-color: #d61818;
  box-shadow: 0 8px 18px rgba(214, 24, 24, 0.2);
}

.product-detail-info {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 45px rgba(16, 20, 40, 0.08);
}

.product-detail-alert {
  display: none;
  margin-bottom: 16px;
}

.product-detail-alert.is-visible {
  display: block;
}

.product-detail-loading {
  padding: 20px 0;
}

.product-detail-alert.products-error {
  padding: 18px 16px;
  border-radius: 12px;
  background: #fff7f7;
}

.product-detail-alert.products-error i {
  font-size: 22px;
  margin-bottom: 8px;
}

.product-brand-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(214, 24, 24, 0.1);
  color: #d61818;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.product-name {
  font-size: 26px;
  font-weight: 700;
  color: #1e1e2f;
  margin-bottom: 10px;
}

.product-subtitle {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.product-meta-item {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 12px 14px;
}

.product-meta-item span {
  display: block;
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
}

.product-meta-item strong {
  color: #1e1e2f;
  font-size: 14px;
}

.product-keypoints {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.product-keypoints li {
  display: flex;
  gap: 10px;
  color: #444;
  margin-bottom: 10px;
}

.product-keypoints li i {
  color: #d61818;
  margin-top: 4px;
}

.product-info-actions {
  margin-top: 16px;
}

.product-contact-btn {
  width: 100%;
}

.product-contact-note {
  margin-top: 12px;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
}

.product-support-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 45px rgba(16, 20, 40, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 120px;
}

.support-card-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.support-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(214, 24, 24, 0.12);
  color: #d61818;
  font-size: 18px;
}

.product-support-card h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 700;
  color: #1e1e2f;
}

.product-support-card p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}

.support-card-text {
  margin-top: 12px;
  color: #4b5563;
  font-size: 14px;
}

.support-contact {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  gap: 10px;
  color: #1e1e2f;
  font-size: 13px;
}

.support-contact i {
  color: #d61818;
  margin-right: 8px;
}

.btn-outline-dark {
  border-radius: 40px;
  padding: 12px 30px;
  border: 2px solid rgba(214, 24, 24, 0.4);
  color: #d61818;
  text-transform: uppercase;
  font-weight: 600;
  background: transparent;
  display: inline-flex;
  justify-content: center;
  width: 100%;
}

.btn-outline-dark:hover {
  background: #d61818;
  color: #fff;
}

.product-detail-content .section-heading {
  margin-bottom: 30px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.detail-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 12px 25px rgba(16, 20, 40, 0.06);
}

.detail-card h4 {
  color: #b30000;
  font-weight: 600;
  margin-bottom: 12px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-tag {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

.detail-tag-empty {
  background: #fff7f7;
  border-color: rgba(214, 24, 24, 0.2);
  color: #b91c1c;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: #374151;
}

.product-specs {
  margin-top: 30px;
}

.product-specs-table {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 12px 25px rgba(16, 20, 40, 0.06);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 14px;
}

.spec-row:last-child {
  border-bottom: none;
}

.product-related .section-heading {
  margin-bottom: 30px;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.related-product-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 15px 35px rgba(16, 20, 40, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-product-image {
  height: 170px;
  border-radius: 12px;
  background: #f3f4f6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-product-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-product-body h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1e1e2f;
  margin: 0;
}

.related-product-brand {
  font-size: 12px;
  color: #d61818;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.related-product-card .btn {
  width: 100%;
  padding: 10px 18px;
  font-size: 12px;
}

.product-tabs-section {
  padding: 35px 0 20px;
  background: #fff;
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 6px 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.product-tab {
  border: none;
  background: transparent;
  color: #555;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.product-tab:hover {
  background: rgba(237, 29, 36, 0.1);
  color: #1e1e2f;
}

.product-tab.active {
  background: #ed1d24;
  color: #fff;
  box-shadow: 0 6px 18px rgba(237, 29, 36, 0.35);
}

.product-tabs-enabled .product-tab-panel {
  display: none;
}

.product-tabs-enabled .product-tab-panel.active {
  display: block;
}

.product-brand-section {
  padding: 0 0 60px 0;
}

.product-brand-section.bg-light {
  background: #f8fafc;
}

.product-brand-section .row {
  display: flex;
  align-items: center;
}

.brand-logo-large {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  padding: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.product-brand-section h2 {
  margin-bottom: 15px;
}

.product-brand-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: #7a0101;
  margin-top: 20px;
  margin-bottom: 10px;
}

.product-brand-section p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 0;
}

.product-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.product-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #444;
}

.product-list li i {
  color: #d61818;
  font-size: 12px;
}

@media (max-width: 768px) {
  .product-detail-hero {
    text-align: center;
    padding: 110px 0 60px;
  }

  .product-detail-hero h1,
  .product-detail-hero p {
    text-align: center;
  }

  .product-breadcrumbs {
    justify-content: center;
  }

  .product-meta-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-support-card {
    position: static;
  }

  .product-gallery-main {
    height: 260px;
  }

  .product-thumb {
    width: 64px;
    height: 64px;
  }

  .product-tabs-section {
    padding: 25px 0 10px;
  }

  .product-tabs {
    width: 100%;
    border-radius: 18px;
    padding: 8px;
  }

  .product-tab {
    flex: 1 1 45%;
    text-align: center;
  }

  .product-brand-section .row {
    flex-direction: column;
  }

  .product-brand-section .col-md-3 {
    margin-bottom: 20px;
  }

  .product-list {
    grid-template-columns: 1fr;
  }

  .brand-logo-large {
    max-width: 100px;
    max-height: 60px;
  }

  .product-cards-actions {
    width: 100%;
  }

  .all-products-btn {
    width: 100%;
  }

  /* Mobile Nested Menu Styles */
  .mobile-nav .dropdown-submenu .dropdown-menu {
    position: static;
    display: none !important;
    /* Force hidden by default */
    float: none;
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding-left: 15px;
    margin: 0;
    border: none;
  }

  .mobile-nav .dropdown-submenu.open>.dropdown-menu {
    display: block !important;
    /* Force show when open */
  }

  .mobile-nav .dropdown-submenu>a {
    font-weight: 700;
    /* Bold headings */
    transition: all 0.2s ease;
  }

  .mobile-nav .dropdown-submenu>a:focus,
  .mobile-nav .dropdown-submenu>a:hover {
    background: transparent !important;
    color: #d61818;
  }

  .mobile-nav .dropdown-submenu.open>a {
    color: #d61818;
    background: transparent !important;
  }

  .mobile-nav .dropdown-submenu>a>i {
    float: right;
    transform: rotate(-90deg);
    transition: transform 0.2s;
  }

  .mobile-nav .dropdown-submenu.open>a>i {
    transform: rotate(0deg);
    color: #d61818;
  }
}

/* Test Device Images */
.test-device-img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .test-device-img {
    max-height: 200px;
    margin-bottom: 25px;
  }
}

/* ===== Product Cards Grid Styles ===== */
.product-cards-section {
  margin-top: 30px;
}

.product-cards-title {
  font-size: 18px;
  font-weight: 600;
  color: #1e1e2f;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-cards-title::before {
  content: "";
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, #d61818 0%, #ff4444 100%);
  border-radius: 2px;
}

.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card-link:hover,
.product-card-link:focus {
  text-decoration: none;
  color: inherit;
}

.product-cards-actions {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}

.all-products-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid rgba(214, 24, 24, 0.5);
  color: #d61818;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
  background: #fff;
  transition: all 0.25s ease;
}

.all-products-btn:hover {
  background: #d61818;
  color: #fff;
  box-shadow: 0 10px 25px rgba(214, 24, 24, 0.2);
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(214, 24, 24, 0.15);
  border-color: rgba(214, 24, 24, 0.2);
}

.product-card-image {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-image .no-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #adb5bd;
}

.product-card-image .no-image i {
  font-size: 48px;
  opacity: 0.5;
}

.product-card-image .no-image span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Image Carousel */
.product-image-carousel {
  position: relative;
  height: 100%;
  width: 100%;
}

.product-image-carousel img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-image-carousel img.active {
  opacity: 1;
}

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: #d61818;
  transform: scale(1.2);
}

/* Stock & Status Badge */
.product-status-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.product-status-badge.active {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.product-status-badge.inactive {
  background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
  color: #fff;
}

/* Price Badge */
.product-price-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #d61818 0%, #ff4444 100%);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(214, 24, 24, 0.35);
  z-index: 2;
}

/* Card Body */
.product-card-body {
  padding: 20px;
}

.product-brand-tag {
  display: inline-block;
  background: linear-gradient(135deg, #1e1e2f 0%, #2d2d44 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.product-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e1e2f;
  margin: 0 0 8px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 15px;
}

.product-card-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6c757d;
}

.product-card-meta-item i {
  color: #d61818;
  width: 16px;
  text-align: center;
}

.product-card-meta-item strong {
  color: #1e1e2f;
  font-weight: 600;
}

/* Card Footer */
.product-card-footer {
  padding: 15px 20px;
  background: #f8f9fa;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-stock-code {
  font-size: 12px;
  color: #6c757d;
}

.product-stock-code strong {
  color: #1e1e2f;
  font-weight: 600;
}

.product-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #d61818 0%, #ff4444 100%);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-view-btn:hover {
  background: linear-gradient(135deg, #b30000 0%, #d61818 100%);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(214, 24, 24, 0.35);
  color: #fff;
  text-decoration: none;
}

/* Loading State */
.products-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 20px;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #d61818;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.products-loading span {
  color: #6c757d;
  font-size: 14px;
}

/* Error State */
.products-error {
  text-align: center;
  padding: 40px 20px;
  color: #6c757d;
}

.products-error i {
  font-size: 48px;
  color: #dc3545;
  margin-bottom: 15px;
  display: block;
}

/* Empty State */
.products-empty {
  text-align: center;
  padding: 40px 20px;
  color: #6c757d;
}

.products-empty i {
  font-size: 48px;
  color: #adb5bd;
  margin-bottom: 15px;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .product-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
  }

  .product-card-image {
    height: 180px;
  }

  .product-card-body {
    padding: 15px;
  }

  .product-card-footer {
    padding: 12px 15px;
    flex-direction: column;
    gap: 10px;
  }

  .product-view-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .product-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Load More Button Styles ===== */
.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding-top: 20px;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #1e1e2f 0%, #2d2d44 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 4px 15px rgba(30, 30, 47, 0.3);
}

.load-more-btn:hover {
  background: linear-gradient(135deg, #d61818 0%, #ff4444 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(214, 24, 24, 0.35);
}

.load-more-btn i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.load-more-btn:hover i {
  transform: rotate(90deg);
}

.load-more-count {
  font-size: 12px;
  opacity: 0.8;
  font-weight: 400;
}

/* Loading More State */
.load-more-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  color: #6c757d;
  font-size: 14px;
}

.loading-spinner-small {
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #d61818;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Responsive Load More */
@media (max-width: 768px) {
  .load-more-btn {
    padding: 12px 24px;
    font-size: 13px;
  }

  .load-more-count {
    display: none;
  }
}

/* ===== Form Submission States ===== */
form.value-card {
  position: relative;
}

form.value-card.form-submitting .form-content-wrapper {
  opacity: 0.3;
  pointer-events: none;
}

.form-content-wrapper {
  transition: opacity 0.3s ease;
}

/* Loading Overlay */
.form-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 20, 20, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-radius: 20px;
  z-index: 10;
}

.form-loading-spinner {
  width: 45px;
  height: 45px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid #d61818;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.form-loading-overlay span {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

/* Result Messages */
.form-result-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  min-height: 250px;
}

.form-result-message i {
  font-size: 60px;
  margin-bottom: 20px;
}

.form-result-message h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.form-result-message p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
}

/* Success State */
.form-result-message.success {
  color: #fff;
}

.form-result-message.success i {
  color: #28a745;
  text-shadow: 0 0 30px rgba(40, 167, 69, 0.5);
}

.form-result-message.success h4 {
  color: #28a745;
}

/* Error State */
.form-result-message.error {
  color: #fff;
}

.form-result-message.error i {
  color: #dc3545;
  text-shadow: 0 0 30px rgba(220, 53, 69, 0.5);
}

.form-result-message.error h4 {
  color: #dc3545;
}

.form-retry-btn {
  margin-top: 10px;
  padding: 10px 25px;
}

/* Global button color override */
button:not(.hamburger):not(.close-search):not(.product-thumb-btn):not(.filter-chip),
input[type="button"],
input[type="submit"],
.btn,
.btn-primary,
.btn-outline,
.btn-outline-dark,
.all-products-btn,
.product-view-btn,
.load-more-btn,
.form-retry-btn {
  background: #ed332a !important;
  border-color: #ed332a !important;
  color: #fff !important;
}

button:not(.hamburger):not(.close-search):not(.product-thumb-btn):not(.filter-chip):hover,
button:not(.hamburger):not(.close-search):not(.product-thumb-btn):not(.filter-chip):focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.btn:hover,
.btn:focus,
.btn-primary:hover,
.btn-primary:focus,
.btn-outline:hover,
.btn-outline:focus,
.btn-outline-dark:hover,
.btn-outline-dark:focus,
.all-products-btn:hover,
.all-products-btn:focus,
.product-view-btn:hover,
.product-view-btn:focus,
.load-more-btn:hover,
.load-more-btn:focus,
.form-retry-btn:hover,
.form-retry-btn:focus {
  background: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}

/* Product Tabs Modernization */
.product-tabs-section {
  background: transparent !important;
  padding: 20px 0;
}

.product-tabs {
  background: transparent !important;
  /* Remove white oval background */
  box-shadow: none !important;
  border: none !important;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.product-tab {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: #555;
  padding: 14px 35px;
  border-radius: 50px;
  /* Modern pill shape */
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  outline: none !important;
}

.product-tab:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  color: #d61818;
}

.product-tab.active {
  background: #d61818;
  /* Brand Red */
  color: #fff;
  box-shadow: 0 10px 25px rgba(214, 24, 24, 0.35);
  border-color: transparent;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .product-tabs {
    flex-wrap: wrap;
    gap: 10px;
  }

  .product-tab {
    padding: 10px 20px;
    font-size: 14px;
    flex: 1 1 auto;
    text-align: center;
  }
}

/* ============================================
   Category Filter Section
   ============================================ */
/* ===== Product Filter Panel - E-commerce Style ===== */
.product-filter-panel {
  background: #fff;
  padding: 20px 25px;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-search-wrapper {
  position: relative;
  margin-bottom: 15px;
}

.filter-search-wrapper i.fa-search {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 14px;
}

.filter-search-input {
  width: 100%;
  padding: 12px 45px 12px 40px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  background: #f8f9fc;
  transition: all 0.3s ease;
}

.filter-search-input:focus {
  outline: none;
  border-color: #d61818;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(214, 24, 24, 0.1);
}

.filter-search-input::placeholder {
  color: #999;
}

.filter-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #e0e0e0;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 12px;
  transition: all 0.2s ease;
}

.filter-clear-btn:hover {
  background: #d61818;
  color: #fff;
}

.filter-chips-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-chips-label {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  padding: 8px 0;
  white-space: nowrap;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #f0f2f5;
  border: 1px solid transparent;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-chip:hover {
  background: #e8eaed;
  color: #333;
}

.filter-chip.active {
  background: #d61818;
  color: #fff;
  border-color: #d61818;
}

.filter-results-count {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  font-size: 13px;
  color: #888;
}

.filter-results-count span {
  font-weight: 600;
  color: #555;
}

/* Filter Chips Loading Skeleton */
.filter-chips-loading {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip-skeleton {
  width: 90px;
  height: 34px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 20px;
}

.filter-chip-skeleton.short {
  width: 60px;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@media (max-width: 768px) {
  .product-filter-panel {
    padding: 15px;
  }

  .filter-chips-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-chips-label {
    padding: 0 0 5px 0;
  }

  .filter-chip {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* ===== Brand SEO Info Section ===== */
.brand-seo-info {
  margin-top: 50px;
  padding: 40px;
  background: linear-gradient(135deg, #f8f9fc 0%, #fff 100%);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.seo-info-intro {
  background: linear-gradient(135deg, #fff8f8 0%, #fff 100%);
  color: #333;
  padding: 25px 30px;
  border-radius: 12px;
  margin-bottom: 30px;
  border-left: 4px solid #d61818;
  border: 1px solid rgba(214, 24, 24, 0.1);
  box-shadow: 0 4px 15px rgba(214, 24, 24, 0.08);
}

.seo-info-intro p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}

.seo-info-content {
  padding: 0;
}

.seo-info-title {
  font-size: 22px;
  font-weight: 700;
  color: #1e1e2f;
  margin-bottom: 15px;
  padding-left: 15px;
  border-left: 4px solid #d61818;
}

.seo-info-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.seo-info-details {
  display: none;
  padding: 25px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 20px;
}

.seo-info-details.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.seo-info-details h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 25px 0 12px;
  padding-left: 12px;
  border-left: 3px solid #d61818;
}

.seo-info-details h4:first-child {
  margin-top: 0;
}

.seo-info-details p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 12px;
}

.seo-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.seo-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.seo-list li i {
  color: #d61818;
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.seo-list.highlight-list li i.fa-star {
  color: #ffc107;
}

.seo-list.usage-list li {
  padding: 10px 0;
}

.seo-list.usage-list li i {
  color: #1e1e2f;
  width: 20px;
  text-align: center;
}

.seo-note {
  font-size: 13px;
  color: #666;
  font-style: italic;
  padding: 10px 15px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  margin-top: 10px;
}

.seo-support-box {
  background: linear-gradient(135deg, #d61818 0%, #b01515 100%);
  color: #fff;
  padding: 25px;
  border-radius: 12px;
  margin-top: 25px;
}

.seo-support-box h4 {
  color: #fff;
  border-left: none;
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.seo-support-box h4 i {
  font-size: 18px;
}

.seo-support-box p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.seo-warning-box {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
  padding: 20px 25px;
  border-radius: 12px;
  border-left: 4px solid #ffc107;
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.seo-warning-box i {
  color: #ffc107;
  font-size: 24px;
  flex-shrink: 0;
}

.seo-warning-box p {
  color: #856404;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.seo-toggle-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 12px 25px !important;
  background: transparent !important;
  border: 2px solid #d61818 !important;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #d61818 !important;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.seo-toggle-btn:hover {
  background: #d61818 !important;
  color: #fff !important;
}

.seo-toggle-btn i {
  font-size: 16px;
}

.seo-toggle-btn .show-text,
.seo-toggle-btn .hide-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.seo-summary-box {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf0 100%);
  padding: 25px 30px;
  border-radius: 12px;
  margin-top: 25px;
  border-left: 4px solid #d61818;
}

.seo-summary-box.compact {
  padding: 20px 25px;
}

.seo-summary-box h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1e1e2f;
  margin: 0 0 12px 0;
  padding-left: 0;
  border-left: none;
}

.seo-summary-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 12px 0;
}

.seo-summary-box p:last-child {
  margin-bottom: 0;
}

.summary-benefits-title {
  font-weight: 600;
  color: #333;
  margin-top: 15px !important;
}

.seo-summary-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.seo-summary-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #444;
}

.seo-summary-list li i {
  color: #28a745;
  font-size: 12px;
}

/* Advantages Grid for CAT */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.advantage-item {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.advantage-item h5 {
  font-size: 14px;
  font-weight: 600;
  color: #1e1e2f;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.advantage-item h5 i {
  color: #d61818;
  font-size: 16px;
}

.advantage-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Brand SEO Info */
@media (max-width: 768px) {
  .brand-seo-info {
    padding: 25px 20px;
    margin-top: 35px;
  }

  .seo-info-intro {
    padding: 20px;
  }

  .seo-info-title {
    font-size: 18px;
  }

  .seo-summary-list {
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .seo-warning-box {
    flex-direction: column;
    gap: 10px;
  }
}

/* ===== Featured Products Grid (Homepage) ===== */
.featured-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.featured-product-card {
  display: block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.featured-product-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

.featured-product-image {
  position: relative;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.featured-product-image img {
  max-width: 90%;
  max-height: 180px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.featured-product-card:hover .featured-product-image img {
  transform: scale(1.05);
}

.featured-brand-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, #1e1e2f 0%, #2d2d44 100%);
}

.featured-brand-tag.bosch {
  background: linear-gradient(135deg, #007bc0 0%, #005a8c 100%);
}

.featured-brand-tag.delphi {
  background: linear-gradient(135deg, #e31937 0%, #b01428 100%);
}

.featured-brand-tag.denso {
  background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
}

.featured-brand-tag.cat {
  background: linear-gradient(135deg, #ffcd00 0%, #e5b800 100%);
  color: #1e1e2f;
}

/* Stock Badge */
.featured-stock-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.featured-stock-badge i {
  font-size: 10px;
}

.featured-product-info {
  padding: 20px;
  text-align: left;
  background: rgba(0, 0, 0, 0.2);
}

.featured-manufacturer {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #d61818;
  margin-bottom: 8px;
}

.featured-product-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-part-number {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 15px 0;
  font-family: 'Courier New', monospace;
  display: flex;
  align-items: center;
  gap: 6px;
}

.featured-part-number i {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.featured-product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-stock-code {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-family: monospace;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

.featured-view-btn {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #d61818 0%, #b01515 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(214, 24, 24, 0.3);
}

.featured-product-card:hover .featured-view-btn {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(214, 24, 24, 0.5);
}

/* Responsive Featured Products */
@media (max-width: 991px) {
  .featured-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .featured-products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .featured-product-image {
    height: 180px;
  }

  .featured-product-info {
    padding: 15px;
  }
}

/* Skeleton Loader */
@keyframes skeleton-loading {
  0% {
    background-color: #f0f0f0;
  }

  50% {
    background-color: #e0e0e0;
  }

  100% {
    background-color: #f0f0f0;
  }
}

.product-card-skeleton {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.skeleton-image {
  height: 220px;
  width: 100%;
  background: #f0f0f0;
  animation: skeleton-loading 1.5s infinite ease-in-out;
}

.skeleton-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-text {
  height: 14px;
  background: #f0f0f0;
  border-radius: 4px;
  animation: skeleton-loading 1.5s infinite ease-in-out;
}

.skeleton-title {
  height: 20px;
  width: 80%;
  margin-bottom: 8px;
}

.skeleton-meta {
  width: 60%;
}

.skeleton-meta-short {
  width: 40%;
}
