/* Base variables */
:root {
  --bg-light: #F8F8F8;
  --border-color: #E5E5E5;
  --primary: #7F1323;
  --shadow: 0 2px 4px rgba(0,0,0,0.08);
  --text-primary: #2C2C2C;
  --text-secondary: #666666;
  --transition: all 0.3s ease;
  --primary-dark: #27040A;
  --primary-red: #7F1323;
  --accent-red: #9a1c2f;
  --text-light: rgba(255, 255, 255, 0.9);
  --text-muted: rgba(255, 255, 255, 0.6);
  --accent-color: #7F1323;
  --glass-bg: rgba(39, 4, 10, 0.85);
  --glass-border: rgba(255, 255, 255, 0.1);
}

dl, ol, ul {
    margin-top: 0;
    margin-bottom: 1rem;
    color: black;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
    color: black;
}

body {
  background: var(--primary-dark);
  color: var(--text-light);
  font-family: din-2014, sans-serif;
  line-height: 1.6;
  padding-top: 100px;
}

/* Header Styles */
header {
  background-color: #27040A;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 10px 0;
  height: 100px;
}

.logo-image {
  height: auto;
  max-width: 250px;
}

.navbar-nav {
  gap: 20px;
}

.nav-link {
  color: #fff !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Elegant Header */
.catalog-header {
    text-align: center;
    margin-bottom: 48px;
    padding-top: 20px;
}

.catalog-title {
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 16px;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
}

.catalog-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Base layout */
.container {
  margin: 0 auto;
  max-width: 1600px;
  padding: 40px 20px;
  font-family: system-ui, -apple-system, sans-serif;
}

/* Article styles */
.article-number {
  color: #666;
  font-size: 14px;
  margin-top: 8px;
}

/* Close button styles */
.close-modal {
  color: #666;
  cursor: pointer;
  font-size: 24px;
  position: absolute;
  right: 20px;
  top: 20px;
}

/* Refined Filter Bar */
.filter-bar {
    background: linear-gradient(135deg, rgba(45, 6, 16, 0.95) 0%, rgba(39, 4, 10, 0.98) 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 40px;
    margin-bottom: 48px;
    border: 1px solid rgba(127, 19, 35, 0.3);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.filter-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(127, 19, 35, 0.5), transparent);
}

.filter-button {
  background: #f7f7f7;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  color: #333;
  cursor: pointer;
  font-size: 13px;
  padding: 6px 16px;
  transition: all 0.2s;
}

.filter-button.active {
  background: #7F1323;
  border-color: #7F1323;
  color: white;
}

.filter-button:hover {
  background: #efefef;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-section {
  margin-bottom: 16px;
}

.filter-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.detail-group p {
  white-space: pre-line;
  color: #0B0203;
}

.filter-button {
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: white;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition);
}

.filter-button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-button.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  padding: 20px;
  user-select: none;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  overflow-y: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: var(--bg-light);
  margin: 2% auto;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  position: relative;
  width: 85%;
  max-width: 900px;
  max-height: 95vh;
  overflow-y: auto;
}

.modal-details {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 20px;
}

.modal-image {
  margin-bottom: 20px;
  max-height: 400px;
  object-fit: contain;
  width: 100%;
}

.modal-images {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.modal-image:hover {
  transform: scale(1.02);
}

.modal-images .modal-image {
  border-radius: 8px;
  max-height: 200px;
  object-fit: cover;
  width: calc(50% - 8px);
  cursor: pointer;
}

.modal-title {
  color: #0B0203;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Product styles */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(127, 19, 35, 0.15);
    border-color: rgba(127, 19, 35, 0.2);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent-red));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-detail {
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.product-detail span {
    font-weight: 500;
    color: #333;
}

.product-image {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.product-info {
  padding: 16px;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.product-price {
    margin-top: 20px;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
}

.products-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* Section Title Styles */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title i {
  color: var(--primary);
}

.results-count {
  color: var(--text-muted);
  font-size: 14px;
}

/* Search and Quick Actions Styles */
.search-container {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.search-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  background: white;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(127, 19, 35, 0.1);
}

.search-btn {
  padding: 12px 20px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}

.search-btn:hover {
  background: var(--accent-red);
}

.quick-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.action-btn {
  padding: 10px 16px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.action-btn:hover {
  background: var(--bg-light);
  border-color: var(--primary);
  color: var(--primary);
}

.action-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.sort-select {
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: white;
  color: var(--text-secondary);
  font-size: 14px;
  min-width: 200px;
}

.sort-select:focus {
  outline: none;
  border-color: var(--primary);
}

/* Wishlist Styles */
.wishlist-indicator {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.wishlist-indicator i {
  font-size: 18px;
  color: #666;
  transition: var(--transition);
}

.wishlist-indicator:hover {
  background: white;
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  border-color: var(--primary);
}

.wishlist-indicator:hover i {
  color: var(--primary);
}

.wishlist-indicator.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  animation: heartBeat 0.6s ease;
}

.wishlist-indicator.active i {
  color: white;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.2); }
  50% { transform: scale(1.1); }
  75% { transform: scale(1.25); }
  100% { transform: scale(1.15); }
}

/* Recently Viewed Styles */
.recently-viewed {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}

.recently-viewed h3 {
  margin-bottom: 20px;
  color: var(--text-primary);
  font-size: 18px;
}

.recently-viewed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.recent-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.recent-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.recent-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.recent-item-info {
  padding: 12px;
}

.recent-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.recent-item-brand {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Loading Animation */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* List View Styles */
.products-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-list-item {
  display: flex;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.product-list-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.product-list-image {
  width: 200px;
  height: 150px;
  object-fit: cover;
  flex-shrink: 0;
}

.product-list-content {
  padding: 20px;
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-list-info {
  flex: 1;
}

.product-list-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.product-list-details {
  display: flex;
  gap: 20px;
  margin-bottom: 8px;
}

.product-list-detail {
  font-size: 14px;
  color: var(--text-secondary);
}

.product-list-price {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  text-align: right;
}

/* Comparison Modal */
.comparison-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.comparison-content {
  background: white;
  margin: 2% auto;
  padding: 24px;
  border-radius: 12px;
  width: 95%;
  max-width: 1400px;
  max-height: 90vh;
  overflow-y: auto;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.comparison-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  position: relative;
}

.comparison-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-size: 12px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

#switchLabel {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Contact Form Styles */
.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-container h2 {
  color: var(--text-primary);
  margin-bottom: 8px;
}

.contact-form-container p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  transition: var(--transition);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(127, 19, 35, 0.1);
}

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

.submit-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.submit-btn:hover {
  background: var(--accent-red);
  transform: translateY(-1px);
}

/* Share Buttons */
.share-buttons {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

.share-btn {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: white;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 12px;
  transition: var(--transition);
}

.share-btn:hover {
  background: var(--bg-light);
  border-color: var(--primary);
  color: var(--primary);
}

/* Request Quote Button */
.request-quote-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 16px;
}

.request-quote-btn:hover {
  background: var(--accent-red);
  transform: translateY(-1px);
}

/* Product Actions */
.product-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.action-btn-secondary {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: white;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
  text-align: center;
}

.action-btn-secondary:hover {
  background: var(--bg-light);
  border-color: var(--primary);
  color: var(--primary);
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-secondary);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Product Badge */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.product-badge.new {
  background: #28a745;
}

.product-badge.popular {
  background: #ff6b35;
}

/* Notification Toast */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 3000;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  background: #28a745;
}

.toast.error {
  background: #dc3545;
}

.toast.info {
  background: #17a2b8;
}

/* Wishlist Grid Styles */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.wishlist-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.wishlist-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.wishlist-item-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
}

.wishlist-item-details {
  padding: 16px;
}

.wishlist-item-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.wishlist-item-brand {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.wishlist-item-model {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.wishlist-item-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.wishlist-item-actions {
  display: flex;
  gap: 8px;
}

.recent-item-model {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.recent-item-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

/* Footer Styles */
footer {
  background-color: var(--primary-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 40px 0;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  color: var(--text-light);
}

.footer-section h3 {
  color: var(--text-light);
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-section p, .footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--text-light);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: var(--text-muted);
  font-size: 20px;
}

.social-links a:hover {
  color: var(--text-light);
}

.copyright {
  text-align: center;
  color: var(--text-muted);
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Modal Layout - Side by side design */
.modal-body {
  display: flex;
  gap: 24px;
}

.modal-images-section {
  flex: 1;
  min-width: 300px;
}

.modal-info-section {
  flex: 1;
  min-width: 280px;
}

.modal-main-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
  cursor: pointer;
}

.modal-gallery {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
}

.modal-gallery.compact {
  max-height: 80px;
}

.modal-gallery-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  flex-shrink: 0;
}

.modal-gallery-thumb:hover,
.modal-gallery-thumb.active {
  border-color: var(--primary);
}

.gallery-expand-btn {
  display: none;
  width: 70px;
  height: 70px;
  background: rgba(0,0,0,0.7);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  flex-shrink: 0;
}

.gallery-expand-btn.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-gallery.expanded {
  max-height: none;
  flex-wrap: wrap;
}

.modal-gallery.expanded .gallery-expand-btn {
  display: none;
}

/* Featured Product Card - Special Showcase Design for Novitec Cullinan OVERDOSE S2 WIDEBODY */
.product-card-featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 20px;
  padding: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(127, 19, 35, 0.3);
  border: 2px solid rgba(127, 19, 35, 0.3);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}

.product-card-featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(127, 19, 35, 0.5);
  border-color: var(--accent-color);
}

.featured-badge {
  position: absolute;
  top: 30px;
  left: 30px;
  background: linear-gradient(135deg, var(--accent-color), #a01729);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(127, 19, 35, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.featured-badge i {
  margin-right: 8px;
  color: gold;
}

.featured-image-container {
  position: relative;
  overflow: hidden;
  background: #000;
}

.featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card-featured:hover .featured-image {
  transform: scale(1.1);
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
  padding: 30px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.product-card-featured:hover .featured-overlay {
  transform: translateY(0);
}

.featured-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.featured-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.featured-thumb:hover {
  transform: scale(1.1);
  border-color: var(--accent-color);
}

.more-images {
  color: white;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  margin-left: auto;
  padding: 8px 16px;
  background: rgba(127, 19, 35, 0.8);
  border-radius: 20px;
}

.featured-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-header {
  margin-bottom: 20px;
}

.featured-brand {
  color: var(--accent-color);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.featured-model {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.featured-name {
  font-size: 32px;
  font-weight: 800;
  color: white;
  margin-bottom: 30px;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff, var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.featured-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 13px;
  font-weight: 500;
  padding: 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.highlight-item:hover {
  background: rgba(127, 19, 35, 0.2);
  border-color: var(--accent-color);
}

.highlight-item i {
  color: var(--accent-color);
  font-size: 16px;
}

.featured-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.detail-label {
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.detail-value {
  color: white;
  font-size: 15px;
  font-weight: 700;
}

.featured-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 25px;
  text-align: center;
  padding: 15px;
  background: rgba(127, 19, 35, 0.1);
  border-radius: 12px;
  border: 2px solid rgba(127, 19, 35, 0.3);
}

.featured-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.cta-primary,
.cta-secondary {
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cta-primary {
  background: linear-gradient(135deg, var(--accent-color), #a01729);
  color: white;
  box-shadow: 0 8px 20px rgba(127, 19, 35, 0.4);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(127, 19, 35, 0.6);
  background: linear-gradient(135deg, #a01729, var(--accent-color));
}

.cta-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 2px solid rgba(255,255,255,0.2);
}

.cta-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.wishlist-indicator-featured {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  border: 2px solid rgba(255,255,255,0.1);
}

.wishlist-indicator-featured:hover {
  background: rgba(127, 19, 35, 0.9);
  transform: scale(1.1);
  border-color: var(--accent-color);
}

.wishlist-indicator-featured i {
  font-size: 24px;
  color: white;
  transition: all 0.3s ease;
}

.wishlist-indicator-featured.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.wishlist-indicator-featured.active i {
  color: white;
}

/* Responsive Design for Featured Card */
@media (max-width: 1024px) {
  .product-card-featured {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .featured-image-container {
    min-height: 400px;
  }
  
  .featured-name {
    font-size: 24px;
  }
  
  .featured-highlights {
    grid-template-columns: 1fr;
  }
  
  .featured-cta {
    grid-template-columns: 1fr;
  }
  
  .featured-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 80px;
  }
  
  .navbar {
    height: 70px;
  }
  
  .logo-image {
    max-width: 180px;
  }
  
  .container {
    padding: 16px 12px;
  }

  .catalog-title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .filter-bar {
    padding: 20px 16px;
    margin-bottom: 32px;
  }
  
  .filter-section {
    margin-bottom: 20px;
  }
  
  .filter-title {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .filter-options {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    gap: 8px;
  }
  
  .filter-button {
    flex-shrink: 0;
    font-size: 12px;
    padding: 6px 14px;
    white-space: nowrap;
  }
  
  .search-container {
    flex-direction: column;
    gap: 8px;
  }
  
  .search-input {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 14px 16px;
  }
  
  .search-btn {
    padding: 14px 20px;
    font-size: 14px;
  }
  
  .quick-actions {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .action-btn {
    flex: 1;
    justify-content: center;
    min-width: 0;
    font-size: 12px;
    padding: 10px 8px;
    text-align: center;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }
  
  .product-card {
    border-radius: 8px;
  }
  
  .product-image {
    height: 180px;
  }
  
  .product-info {
    padding: 14px;
  }
  
  .product-name {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .product-detail {
    font-size: 13px;
    margin-bottom: 6px;
  }
  
  .product-price {
    font-size: 20px;
    margin-top: 16px;
  }
  
  .wishlist-indicator {
    width: 40px;
    height: 40px;
    top: 10px;
    right: 10px;
  }
  
  .wishlist-indicator i {
    font-size: 16px;
  }
  
  .product-list-item {
    flex-direction: column;
  }
  
  .product-list-image {
    width: 100%;
    height: 200px;
  }
  
  .product-list-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }
  
  .product-list-details {
    flex-direction: column;
    gap: 4px;
  }
  
  .modal-content {
    margin: 8px;
    padding: 20px;
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
  }
  
  .modal-body {
    flex-direction: column;
    gap: 16px;
  }
  
  .modal-images-section {
    min-width: auto;
  }
  
  .modal-info-section {
    min-width: auto;
  }
  
  .modal-main-image {
    max-height: 250px;
  }
  
  .modal-gallery.compact {
    max-height: 60px;
  }
  
  .modal-gallery-thumb {
    width: 60px;
    height: 60px;
  }
  
  .modal-title {
    font-size: 20px;
    margin-bottom: 16px;
  }
  
  .modal-details {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .product-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .action-btn-secondary {
    flex: none;
    width: 100%;
  }
  
  .share-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .lightbox-nav {
    padding: 8px;
    font-size: 20px;
  }
  
  .lightbox-close {
    font-size: 24px;
    top: 16px;
    right: 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .parts-hero {
    height: 60vh;
    min-height: 400px;
    margin-top: -80px;
    padding-top: 80px;
  }
  
  .hero-badge {
    padding: 8px 16px;
    margin-bottom: 20px;
  }
  
  .hero-badge span {
    font-size: 12px;
    letter-spacing: 1px;
  }
  
  .hero-stats {
    gap: 30px;
  }
  
  .stat-label {
    font-size: 12px;
  }
  
  .scroll-indicator {
    bottom: 20px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 12px 8px;
  }
  
  .catalog-title {
    font-size: 24px;
  }
  
  .filter-bar {
    padding: 16px 12px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
  }
  
  .product-info {
    padding: 12px;
  }
  
  .product-name {
    font-size: 15px;
  }
  
  .product-detail {
    font-size: 12px;
  }
  
  .product-price {
    font-size: 18px;
  }
  
  .wishlist-indicator {
    width: 36px;
    height: 36px;
    top: 8px;
    right: 8px;
  }
  
  .wishlist-indicator i {
    font-size: 14px;
  }
  
  .action-btn {
    font-size: 11px;
    padding: 8px 6px;
  }
  
  .filter-button {
    font-size: 11px;
    padding: 5px 12px;
  }
  
  .parts-hero {
    height: 55vh;
    min-height: 350px;
  }
  
  .hero-stats {
    gap: 20px;
    flex-direction: column;
  }
  
  .hero-badge {
    padding: 6px 14px;
  }
  
  .hero-badge span {
    font-size: 11px;
  }
}

@media (max-width: 400px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .catalog-title {
    font-size: 22px;
  }
  
  .filter-bar {
    padding: 12px 8px;
  }
  
  .quick-actions {
    flex-direction: column;
  }
  
  .action-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   HERO SECTION - Premium Parts Catalog
   ======================================== */
.parts-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  max-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: -100px;
  padding-top: 100px;
}

.parts-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://www.novitecgroup.com/en/brands/rolls-royce/lazyyamlimages//5938/UGFnZVNsaWRlclNpemVN&2x=1');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.6);
  z-index: -2;
}

.parts-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(39, 4, 10, 0.3) 0%,
    rgba(39, 4, 10, 0.5) 50%,
    rgba(39, 4, 10, 0.95) 100%
  );
  z-index: -1;
}

.hero-content {
  text-align: center;
  z-index: 1;
  padding: 0 20px;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(127, 19, 35, 0.3);
  border: 1px solid rgba(127, 19, 35, 0.5);
  padding: 10px 24px;
  border-radius: 50px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}

.hero-badge span {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-badge i {
  color: var(--primary);
  font-size: 16px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 300;
  color: white;
  margin-bottom: 20px;
  letter-spacing: 2px;
  line-height: 1.2;
}

.hero-title strong {
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: white;
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-indicator i {
  font-size: 20px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ========================================
   MAIN CONTENT AREA
   ======================================== */
.main-content {
  background: var(--primary-dark);
  position: relative;
}

/* ========================================
   MODEL SELECTOR SECTION
   ======================================== */
.model-selector-section {
  background: linear-gradient(180deg, var(--primary-dark) 0%, #1a0508 100%);
  padding: 60px 0 60px 0;
  margin-top: 0;
}

.model-selector-section .section-header {
  text-align: center;
  margin-bottom: 50px;
  border-bottom: none;
  display: block;
}

.model-selector-section .section-title {
  font-size: 36px;
  margin-bottom: 16px;
  justify-content: center;
}

.model-selector-section .section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.model-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.model-card {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(127, 19, 35, 0.2);
}

.model-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(127, 19, 35, 0.3);
}

.model-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0a0a0a;
}

.model-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.model-card:hover .model-card-image img {
  transform: scale(1.1);
}

.model-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(26, 26, 26, 1) 0%, transparent 100%);
}

.model-card-info {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
}

.model-card-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: white;
  letter-spacing: 3px;
  margin: 0;
}

.model-arrow {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.model-arrow i {
  color: white;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.model-card:hover .model-arrow {
  background: white;
}

.model-card:hover .model-arrow i {
  color: var(--primary);
  transform: translateX(3px);
}

/* Submodel Modal Styles */
.submodel-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.submodel-modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  margin: 5% auto;
  padding: 40px;
  border-radius: 20px;
  width: 90%;
  max-width: 900px;
  position: relative;
  border: 2px solid rgba(127, 19, 35, 0.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(30px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

.close-submodel-modal {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 32px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10;
}

.close-submodel-modal:hover {
  color: var(--primary);
}

.submodel-modal-content h2 {
  color: white;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.submodel-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px 0;
}

.submodel-option {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #111;
}

.submodel-option:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(127, 19, 35, 0.4);
}

.submodel-option-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(0.7);
}

.submodel-option:hover .submodel-option-image {
  transform: scale(1.05);
  filter: brightness(0.4);
}

.submodel-option-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    transparent 70%
  );
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.submodel-option-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.submodel-option-name {
  font-size: 32px;
  font-weight: 700;
  color: white;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.submodel-option-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.submodel-option:hover .submodel-option-cta {
  opacity: 1;
}

.submodel-option-cta i {
  transition: transform 0.3s ease;
}

.submodel-option:hover .submodel-option-cta i {
  transform: translateX(5px);
}

/* Fallback for options without image */
.submodel-option-no-image {
  background: linear-gradient(135deg, rgba(127, 19, 35, 0.4) 0%, rgba(39, 4, 10, 0.95) 100%);
}

.submodel-option-no-image .submodel-option-overlay {
  background: transparent;
  justify-content: center;
}

.submodel-option-no-image .submodel-option-content {
  align-items: center;
  text-align: center;
}

.submodel-option-no-image:hover {
  background: linear-gradient(135deg, rgba(127, 19, 35, 0.6) 0%, rgba(39, 4, 10, 0.95) 100%);
}

/* Responsive Styles for Submodel Modal */
@media (max-width: 768px) {
  .submodel-modal-content {
    margin: 10% auto;
    padding: 30px 20px;
    width: 95%;
  }
  
  .submodel-modal-content h2 {
    font-size: 22px;
  }
  
  .submodel-option {
    height: 160px;
  }
  
  .submodel-option-name {
    font-size: 24px;
  }
  
  .submodel-option-overlay {
    padding: 0 24px;
  }
}

@media (max-width: 480px) {
  .submodel-option {
    height: 140px;
  }
  
  .submodel-option-name {
    font-size: 20px;
    letter-spacing: 2px;
  }
  
  .submodel-option-cta {
    font-size: 12px;
  }
}

/* Fullbodykit Modal Styles */
.fullbodykit-modal {
  display: none;
  position: fixed;
  z-index: 2100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  overflow-y: auto;
}

.fullbodykit-modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  margin: 2% auto;
  padding: 0;
  border-radius: 24px;
  width: 95%;
  max-width: 1200px;
  position: relative;
  border: 2px solid rgba(127, 19, 35, 0.3);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.close-fullbodykit-modal {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 36px;
  color: white;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-fullbodykit-modal:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

.fullbodykit-header {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.fullbodykit-header-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fullbodykit-header-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 40px 40px;
  background: linear-gradient(to top, rgba(13, 13, 13, 1) 0%, transparent 100%);
}

.fullbodykit-title {
  font-size: 42px;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.fullbodykit-subtitle {
  font-size: 18px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.fullbodykit-body {
  padding: 40px;
}

.fullbodykit-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.fullbodykit-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  aspect-ratio: 16/10;
}

.fullbodykit-gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(127, 19, 35, 0.3);
}

.fullbodykit-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fullbodykit-info {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.fullbodykit-description {
  background: rgba(255, 255, 255, 0.03);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fullbodykit-description h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fullbodykit-description h3 i {
  color: var(--primary);
}

.fullbodykit-description p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-line;
}

.fullbodykit-specs {
  background: rgba(127, 19, 35, 0.1);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(127, 19, 35, 0.3);
}

.fullbodykit-specs h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 25px;
  text-align: center;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--text-muted);
  font-size: 14px;
}

.spec-value {
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.fullbodykit-cta {
  margin-top: 30px;
  text-align: center;
}

.fullbodykit-cta-btn {
  background: linear-gradient(135deg, var(--primary), #a01729);
  color: white;
  border: none;
  padding: 18px 50px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.fullbodykit-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(127, 19, 35, 0.5);
}

/* Responsive Styles for Model Selector */
@media (max-width: 1024px) {
  .model-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .model-selector-section {
    padding: 50px 0;
  }
  
  .model-selector-section .section-title {
    font-size: 28px;
  }
  
  .model-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .model-card-image {
    height: 180px;
  }
  
  .model-card-info h3 {
    font-size: 18px;
  }
  
  .submodel-modal-content {
    margin: 20% auto;
    padding: 30px 20px;
    width: 95%;
  }
  
  .submodel-modal-content h2 {
    font-size: 22px;
  }
  
  .submodel-option {
    height: 140px;
  }
  
  .submodel-option-name {
    font-size: 20px;
  }
  
  .submodel-option-overlay {
    padding: 0 24px;
  }
  
  .fullbodykit-modal-content {
    margin: 0;
    border-radius: 0;
    width: 100%;
    min-height: 100vh;
  }
  
  .fullbodykit-header {
    height: 350px;
  }
  
  .fullbodykit-title {
    font-size: 28px;
  }
  
  .fullbodykit-body {
    padding: 20px;
  }
  
  .fullbodykit-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .fullbodykit-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .model-card-info h3 {
    font-size: 16px;
    letter-spacing: 2px;
  }
  
  .model-arrow {
    width: 40px;
    height: 40px;
  }
  
  .fullbodykit-gallery {
    grid-template-columns: 1fr;
  }
}