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

:root {
  --primary: #667eea;
  --accent: #667eea;
  --accent-light: #a78bfa;
  --secondary: #718096;
  --text: #1a202c;
  --text-muted: #718096;
  --card: #ffffff;
  --body-bg: #f8fafc;
  --header-bg: rgba(255, 255, 255, 0.95);
  --border: #e2e8f0;
  --shadow: rgba(0,0,0,0.1);
  --shadow-lg: rgba(0,0,0,0.15);
  --success: #48bb78;
  --danger: #f56565;
  --warning: #ed8936;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body.dark-theme {
  --primary: #818cf8;
  --accent: #818cf8;
  --accent-light: #a78bfa;
  --secondary: #94a3b8;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --card: #1f2937;
  --body-bg: #111827;
  --header-bg: rgba(17, 24, 39, 0.95);
  --border: #374151;
  --shadow: rgba(0,0,0,0.4);
  --shadow-lg: rgba(0,0,0,0.6);
  --bg-gradient: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--body-bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

input, textarea, select {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.theme-toggle {
  background: var(--border);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  margin: 0 0.5rem;
}

.theme-toggle:hover {
  transform: scale(1.1);
  background: var(--accent);
}

.sun-icon {
  display: block;
}

.moon-icon {
  display: none;
}

body.dark-theme .sun-icon {
  display: none;
}

body.dark-theme .moon-icon {
  display: block;
  color: #fbbf24;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  position: relative;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--accent);
}

.user-name {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Hero */
.hero {
  text-align: center;
  padding: 10rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 30px;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  font-weight: 900;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
  letter-spacing: -2px;
  animation: fadeInUp 0.8s ease;
}

.hero p {
  font-size: 1.5rem;
  opacity: 0.95;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  animation: fadeInUp 1s ease;
}

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

/* Carousel */
.carousel-container {
  margin: 2rem 0;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.carousel {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  transform: scale(1.02);
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.carousel-text {
  text-align: center;
  color: white;
  z-index: 5;
  padding: 2rem;
  animation: fadeInUp 0.8s ease;
}

.carousel-text h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.3));
}

.carousel-text p {
  font-size: 1.3rem;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  opacity: 0.95;
}

@media (max-width: 768px) {
  .carousel-text h2 {
    font-size: 1.8rem;
  }
  
  .carousel-text p {
    font-size: 1rem;
  }
}

.carousel-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.carousel-btn.active {
  background: white;
  width: 30px;
  border-radius: 10px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(5px);
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow-left {
  left: 20px;
}

.carousel-arrow-right {
  right: 20px;
}

@media (max-width: 768px) {
  .carousel {
    height: 300px;
  }
  
  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Filters */
.filters {
  margin: 2rem 0;
}

.filter-form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-form input,
.filter-form select {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  flex: 1;
  min-width: 200px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.filter-form button {
  padding: 0.75rem 2rem;
  background: var(--brown);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.filter-form button:hover {
  background: var(--brown-dark);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.product-card {
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid var(--border);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px var(--shadow-lg);
  border-color: var(--accent);
}

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

.product-card a {
  display: block;
  position: relative;
}

.product-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-card .img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.product-info {
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.product-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.3s ease;
}

.product-card:hover .product-info h3 {
  color: var(--accent);
}

.category {
  color: var(--secondary);
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  border-radius: 20px;
}

.price {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 1rem 0;
  letter-spacing: -1px;
}

.stock {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 25px;
  font-size: 0.8rem;
  margin: 0.75rem 0;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.in-stock {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.out-of-stock {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2);
}

/* Buttons */
.btn, .btn-add-cart {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white !important;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  position: relative;
  overflow: hidden;
}

.btn::before, .btn-add-cart::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before, .btn-add-cart:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover, .btn-add-cart:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.btn-login:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
  color: white !important;
}

/* Catalog Button */
.btn-catalog {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white !important;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-catalog::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-catalog:hover::before {
  width: 300px;
  height: 300px;
}

.btn-catalog:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
  color: white !important;
}

.btn-add-cart {
  width: 100%;
  margin-top: 1.5rem;
}

.btn-disabled {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
  color: var(--secondary);
  border: none;
  border-radius: 50px;
  cursor: not-allowed;
  margin-top: 1.5rem;
  font-weight: 700;
  opacity: 0.6;
}

/* Product Detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2rem 0;
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
}

.product-images {
  position: relative;
  z-index: 1;
}

.product-images img {
  width: 100%;
  border-radius: 12px;
}

.main-image-container {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 1;
}

.main-image-container img {
  width: 100%;
}

.image-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.image-arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.image-arrow-left {
  left: 15px;
}

.image-arrow-right {
  right: 15px;
}

.image-thumbnails {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.image-thumbnails img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 10px;
  transition: all 0.3s ease;
  pointer-events: auto;
  flex-shrink: 0;
}

.image-thumbnails img:hover {
  border-color: var(--brown);
  transform: scale(1.05);
  box-shadow: 0 4px 12px var(--brown-shadow);
}

.image-thumbnails img.active {
  border-color: var(--brown);
  box-shadow: 0 0 0 3px var(--brown), 0 4px 12px var(--brown-shadow);
  transform: scale(1.02);
}

.size-selector {
  margin: 1.5rem 0;
}

.size-selector label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.size-options {
  display: flex;
  gap: 0.5rem;
}

.size-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border);
  background: white;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
}

.size-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.size-btn.active {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px var(--brown-shadow);
}


.product-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.price-large {
  font-size: 2rem;
  font-weight: bold;
  color: var(--brown);
  margin: 1rem 0;
}

.description {
  color: var(--secondary);
  margin: 1.5rem 0;
  line-height: 1.8;
  white-space: pre-wrap;
}

.quantity-selector {
  margin: 1.5rem 0;
}

.quantity-selector input {
  width: 80px;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-left: 1rem;
}

.btn-add-cart-large {
  width: 100%;
  padding: 1rem;
  background: var(--brown);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  margin: 1rem 0;
  transition: background 0.3s;
}

.btn-add-cart-large:hover {
  background: var(--brown-dark);
}

.btn-back {
  display: inline-block;
  margin-top: 1rem;
  color: var(--secondary);
  text-decoration: none;
}

/* Cart */
.cart-items {
  margin: 2rem 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  background: var(--card);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.cart-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-controls input {
  width: 70px;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-right: 1rem;
}

.btn-remove {
  padding: 0.5rem 1rem;
  background: var(--danger);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.cart-summary {
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
  text-align: right;
}

.btn-checkout {
  padding: 1rem 2rem;
  background: var(--success);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.checkout-form {
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.empty-cart {
  text-align: center;
  padding: 4rem;
}

/* Auth Forms */
.auth-form {
  max-width: 450px;
  margin: 4rem auto;
  background: var(--card);
  padding: 3.5rem;
  border-radius: 35px;
  box-shadow: 0 25px 70px var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

body.dark-theme .auth-form {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  box-shadow: 0 0 50px rgba(106, 116, 255, 0.1);
}

.auth-form h1 {
  text-align: center;
  margin-bottom: 3rem;
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.auth-form input,
.auth-form textarea {
  width: 100%;
  padding: 1.15rem 1.6rem;
  border: 2.5px solid var(--border);
  border-radius: 20px;
  margin-bottom: 1.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--body-bg);
  color: var(--text) !important;
  caret-color: var(--accent);
}

body.dark-theme .auth-form input,
body.dark-theme .auth-form textarea {
  background: rgba(31, 41, 55, 0.8);
  border-color: rgba(55, 65, 81, 1);
  color: #ffffff !important;
}

.auth-form input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--card);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.auth-form button {
  width: 100%;
}

.auth-link {
  text-align: center;
  margin-top: 1rem;
  color: var(--secondary);
}

.auth-link a {
  color: var(--accent);
  text-decoration: none;
}

#message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  text-align: center;
}

/* Admin Tabs (Moved to later section) */
.btn-small {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  margin-right: 0.5rem;
}

.btn-danger {
  background: var(--danger);
}

.btn-secondary {
  background: var(--secondary);
}

.text-danger {
  color: var(--danger);
  font-weight: bold;
}

.alert {
  background: #fef3c7;
  color: #92400e;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.admin-form {
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
  margin: 1rem 0;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  padding: 3rem 0;
  margin-top: 6rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 -10px 40px var(--shadow);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .product-detail {
    grid-template-columns: 1fr;
  }
  
  .cart-item {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

.size-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Size Selection Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

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

.modal-content {
  background: var(--card);
  padding: 2rem;
  border-radius: 16px;
  max-width: 350px;
  width: 95%;
  text-align: center;
  animation: modalSlideIn 0.3s ease;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content h3 {
  margin-bottom: 1rem;
  color: var(--text);
}

.modal-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.modal-size-btn {
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--border);
  background: white;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
  font-size: 1rem;
}

.modal-size-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.modal-size-btn.selected {
  background: var(--brown);
  color: white;
  border-color: var(--brown);
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.modal-btn-confirm {
  padding: 0.75rem 1.5rem;
  background: var(--success);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.modal-btn-confirm:hover {
  background: #059669;
}

.modal-btn-cancel {
  padding: 0.75rem 1.5rem;
  background: var(--border);
  color: var(--text);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.modal-btn-cancel:hover {
  background: var(--secondary);
  color: white;
}

/* User Status in Admin */
.status-blocked {
  color: var(--danger);
  font-weight: 600;
}

.status-active {
  color: var(--success);
  font-weight: 600;
}

/* Image Fields in Admin */
.image-field {
  margin-bottom: 0.5rem;
}

.image-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.btn-image-add,
.btn-image-remove {
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.btn-image-add {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 12px var(--brown-shadow);
}

.btn-image-add:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--brown-shadow-hover);
}

.btn-image-add:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-image-remove {
  background: white;
  color: var(--danger);
  border: 2px solid var(--danger);
}

.btn-image-remove:hover {
  background: var(--danger);
  color: white;
  transform: translateY(-2px);
}

/* Orders Page Styles */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.order-card {
  background: var(--card);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.order-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.order-header h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.order-date {
  color: var(--secondary);
  font-size: 0.9rem;
}

.order-status-badge {
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.order-status-badge.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.order-status-badge.status-shipped {
  background: #dbeafe;
  color: #1e40af;
}

.order-status-badge.status-pickup {
  background: #e0e7ff;
  color: #4338ca;
}

.order-status-badge.status-completed {
  background: #d1fae5;
  color: #065f46;
}

.order-status-badge.status-cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.order-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.order-info-item {
  padding: 0.75rem;
  background: var(--bg);
  border-radius: 8px;
}

.order-info-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--secondary);
  font-size: 0.85rem;
}

.order-total {
  color: var(--brown);
  font-weight: 700;
  font-size: 1.1rem;
}

.order-items-preview {
  background: var(--bg);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.order-items-preview strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.order-items-preview p {
  color: var(--secondary);
  line-height: 1.6;
}

.btn-view-order {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--brown);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-view-order:hover {
  background: var(--brown-dark);
  transform: translateX(5px);
}

/* Order Detail Page */
.order-detail-page {
  max-width: 900px;
  margin: 0 auto;
}

.order-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.order-status-badge-large {
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
}

.order-detail-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-section {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.info-section h3 {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.2rem;
}

.info-section p {
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.order-items-section {
  background: var(--card);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.order-items-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.order-items-grid {
  display: grid;
  gap: 1.5rem;
}

.order-item-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg);
  border-radius: 12px;
  transition: all 0.3s;
}

.order-item-card:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.order-item-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.order-item-info h4 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.order-item-info p {
  margin-bottom: 0.25rem;
  color: var(--secondary);
}

.item-size {
  font-weight: 600;
  color: var(--brown) !important;
}

.item-price {
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.item-price strong {
  color: var(--brown);
}

.order-total-section {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  color: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 24px var(--brown-shadow);
}

.order-total-section h2 {
  font-size: 2rem;
  margin: 0;
}

/* Contacts Page */
.contacts-page {
  max-width: 1000px;
  margin: 0 auto;
}

.map-container {
  margin: 2rem 0;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.contact-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.3rem;
}

.contact-card p {
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--brown);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.contact-card a:hover {
  color: var(--brown-dark);
}

.contact-detail {
  font-size: 0.85rem;
  color: var(--secondary) !important;
}

.social-section {
  text-align: center;
  margin: 4rem 0;
  padding: 3rem;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.social-section h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
}

.social-link svg {
  width: 40px;
  height: 40px;
}

/* Quick Actions */
.quick-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.call-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.call-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
  color: white;
}

.whatsapp-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.map-btn {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  color: white;
}

.map-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

/* Test Drive Section */
.test-drive-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 24px;
  text-align: center;
  margin: 3rem 0;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.test-drive-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.test-drive-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: white;
  color: #667eea;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  background: #f7fafc;
}

.phone-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.phone-link:hover {
  color: #764ba2;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .quick-actions {
    flex-direction: column;
  }
  
  .action-btn {
    width: 100%;
    justify-content: center;
  }
  
  .test-drive-section {
    padding: 2rem 1.5rem;
  }
  
  .test-drive-section h2 {
    font-size: 1.5rem;
  }
  
  .test-drive-section p {
    font-size: 1rem;
  }
}

/* Admin Order Status Select */
.order-status-select {
  padding: 0.5rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  background: white;
  cursor: pointer;
  transition: all 0.3s;
}

.order-status-select:hover {
  border-color: var(--brown);
}

.order-status-select:focus {
  outline: none;
  border-color: var(--brown);
  box-shadow: 0 0 0 3px var(--brown-shadow);
}

@media (max-width: 768px) {
  .order-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .order-info {
    grid-template-columns: 1fr;
  }
  
  .order-item-card {
    grid-template-columns: 1fr;
  }
  
  .contact-info-cards {
    grid-template-columns: 1fr;
  }
  
  .order-detail-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}


/* Cars Grid (Auto Market) */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.car-card {
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid var(--border);
}

.car-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.car-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px var(--shadow-lg);
  border-color: var(--accent);
}

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

.car-card-img-link {
  display: block;
  position: relative;
  overflow: hidden;
}

.car-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.car-type-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 2;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.car-type-badge.type-new_order {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.95));
  color: white;
}

.car-type-badge.type-in_stock {
  background: linear-gradient(135deg, rgba(72, 187, 120, 0.95), rgba(34, 197, 94, 0.95));
  color: white;
}

.car-type-badge.type-used {
  background: linear-gradient(135deg, rgba(237, 137, 54, 0.95), rgba(245, 158, 11, 0.95));
  color: white;
}

.car-info {
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.car-brand {
  color: var(--secondary);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  border-radius: 20px;
}

.car-info h3 {
  font-size: 1.3rem;
  margin: 0.75rem 0;
  font-weight: 700;
  color: var(--text);
  transition: color 0.3s ease;
}

.car-info h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.car-card:hover .car-info h3 a {
  color: var(--accent);
}

.car-specs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--secondary);
}

.car-specs span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.75rem;
  background: #f7fafc;
  border-radius: 15px;
  font-weight: 600;
}

.car-engine {
  color: var(--secondary);
  font-size: 0.9rem;
  margin: 0.75rem 0;
  font-weight: 500;
}

.car-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.car-price {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.btn-request {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-request::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-request:hover::before {
  width: 300px;
  height: 300px;
}

.btn-request:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Type Badges Filter */
.type-badges {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.type-badge {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--border);
  background: white;
  color: var(--text);
}

.type-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow);
}

.type-badge.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.type-badge.new-order:not(.active) {
  border-color: #667eea;
  color: #667eea;
}

.type-badge.in-stock:not(.active) {
  border-color: #48bb78;
  color: #48bb78;
}

.type-badge.used:not(.active) {
  border-color: #ed8936;
  color: #ed8936;
}

/* Filters Panel */
.filters-panel {
  background: var(--card);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 4px 20px var(--shadow);
  margin: 2rem 0;
  border: 1px solid var(--border);
}

.filter-form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-form input,
.filter-form select {
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: 15px;
  font-size: 0.95rem;
  flex: 1;
  min-width: 180px;
  transition: all 0.3s ease;
  background: #f7fafc;
}

.filter-form input:focus,
.filter-form select:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.filter-form button {
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
}

.filter-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-reset {
  padding: 0.85rem 2rem;
  background: white;
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-reset:hover {
  background: #f7fafc;
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Results Count */
.results-count {
  text-align: center;
  margin: 2rem 0;
  font-size: 1.1rem;
  color: var(--secondary);
}

.results-count strong {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 800;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--card);
  border-radius: 24px;
  box-shadow: 0 4px 20px var(--shadow);
}

.no-results p {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 2rem;
}

/* Modal Styles */
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary);
  transition: all 0.3s ease;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  background: #f7fafc;
  color: var(--text);
  transform: rotate(90deg);
}

.modal-car-name {
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.modal-type-select {
  margin: 1.5rem 0;
}

.modal-type-select label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--text);
}

.modal-type-btns {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-type-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border);
  background: white;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.95rem;
}

.modal-type-btn:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.modal-type-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: 15px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #f7fafc;
}

.modal-content input:focus,
.modal-content textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* Responsive for Cars */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --- Requests Dashboard --- */

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.dashboard-header .subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.header-stats {
  display: flex;
  gap: 2rem;
}

.stat-box {
  background: var(--card);
  padding: 1.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 15px var(--shadow);
  text-align: center;
  border: 1px solid var(--border);
}

.stat-val {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.request-card-modern {
  display: grid;
  grid-template-columns: 240px 1fr 200px;
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.request-card-modern:hover {
  transform: translateX(10px);
  border-color: var(--accent);
  box-shadow: 0 15px 40px var(--shadow-lg);
}

.req-image-wrap {
  position: relative;
}

.req-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.req-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.req-main-info h3 {
  font-size: 1.6rem;
  font-weight: 900;
  margin: 0.5rem 0;
}

.req-main-info h3 a {
  text-decoration: none;
  color: inherit;
}

.req-brand-badge {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
}

.req-specs {
  display: flex;
  gap: 1.5rem;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.req-details {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-item {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.detail-label {
  color: var(--text-muted);
  font-weight: 600;
  min-width: 120px;
}

.detail-val {
  font-weight: 700;
  color: var(--text);
}

.comment-text {
  font-style: italic;
  color: var(--text-muted) !important;
  font-weight: 500 !important;
}

.req-status-section {
  padding: 2rem;
  background: var(--body-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-left: 1px solid var(--border);
  text-align: center;
}

.status-marker {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  width: 100%;
}

.status-new { background: #3b82f6; color: white; }
.status-processing { background: #f59e0b; color: white; }
.status-done { background: #10b981; color: white; }
.status-cancelled { background: var(--border); color: var(--text-muted); }

.req-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 992px) {
  .request-card-modern {
    grid-template-columns: 1fr;
  }
  .req-image-wrap {
    height: 200px;
  }
  .req-status-section {
    border-left: none;
    border-top: 1px solid var(--border);
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 2rem;
  }
  .status-marker {
    width: auto;
    margin-bottom: 0;
  }
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .cars-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .car-price-row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .btn-request {
    width: 100%;
  }
  
  .type-badges {
    justify-content: flex-start;
  }
  
  .filter-form {
    flex-direction: column;
  }
  
  .filter-form input,
  .filter-form select,
  .filter-form button,
  .btn-reset {
    width: 100%;
  }
}

/* ===== Car Detail Page ===== */
.breadcrumb {
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--secondary);
}
.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.breadcrumb a:hover { text-decoration: underline; }

.car-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2rem 0 4rem;
  align-items: start;
}

.car-detail-images .main-image-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.car-detail-images #mainImage {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.car-detail-images .main-image-container:hover #mainImage {
  transform: scale(1.03);
}

.car-detail-brand {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.car-detail-info h1 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.car-detail-price-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 2px solid var(--border);
}

.car-detail-price {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.car-type-badge-inline {
  padding: 0.5rem 1.1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
}

.car-type-badge-inline.type-new_order {
  background: rgba(102,126,234,0.12);
  color: #667eea;
  border: 1.5px solid rgba(102,126,234,0.3);
}

.car-type-badge-inline.type-in_stock {
  background: rgba(72,187,120,0.12);
  color: #065f46;
  border: 1.5px solid rgba(72,187,120,0.3);
}

.car-type-badge-inline.type-used {
  background: rgba(237,137,54,0.12);
  color: #92400e;
  border: 1.5px solid rgba(237,137,54,0.3);
}

.car-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: #f7fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  transition: all 0.2s ease;
}

.spec-item:hover {
  background: white;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(102,126,234,0.1);
  transform: translateY(-2px);
}

.spec-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.spec-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--secondary);
}

.spec-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.car-description {
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  border-left: 4px solid var(--accent);
}

.car-description h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.car-description p {
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.car-detail-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.btn-buy {
  flex: 1;
  min-width: 120px;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(102,126,234,0.35);
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-buy:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(102,126,234,0.45);
}

.btn-test-drive {
  flex: 1;
  min-width: 120px;
  padding: 0.9rem 1.5rem;
  background: white;
  color: #48bb78;
  border: 2px solid #48bb78;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-test-drive:hover {
  background: #48bb78;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(72,187,120,0.35);
}

.btn-credit {
  flex: 1;
  min-width: 120px;
  padding: 0.9rem 1.5rem;
  background: white;
  color: #ed8936;
  border: 2px solid #ed8936;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-credit:hover {
  background: #ed8936;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(237,137,54,0.35);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.btn-back:hover {
  color: var(--accent);
  gap: 0.7rem;
}

.car-type-badge-large { display: none; }

@media (max-width: 900px) {
  .car-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .car-specs-grid { grid-template-columns: 1fr; }
  .car-detail-actions { flex-direction: column; }
  .btn-buy, .btn-test-drive, .btn-credit { width: 100%; }
}

/* ===== Requests Page ===== */
.page-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text);
  margin: 2rem 0 1rem;
  text-align: center;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--card);
  border-radius: 24px;
  box-shadow: 0 4px 20px var(--shadow);
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.empty-state h2 {
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.requests-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.request-card {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 2rem;
  background: var(--card);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  align-items: start;
}

.request-card:hover {
  box-shadow: 0 12px 40px var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.request-card img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.request-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.request-brand {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: var(--body-bg);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  display: inline-block;
  width: fit-content;
  border: 1px solid var(--border);
}

.request-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 0.25rem 0;
}

.request-info h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.request-info h3 a:hover {
  color: var(--accent);
}

.request-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--secondary);
}

.car-type-inline {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.car-type-inline.type-new_order {
  background: rgba(102,126,234,0.12);
  color: #667eea;
}

.car-type-inline.type-in_stock {
  background: rgba(72,187,120,0.12);
  color: #065f46;
}

.car-type-inline.type-used {
  background: rgba(237,137,54,0.12);
  color: #92400e;
}

.request-price {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0.5rem 0;
}

.request-type-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  background: var(--body-bg);
  border-radius: 10px;
  display: inline-block;
  width: fit-content;
  border: 1px solid var(--border);
}

.request-comment {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--body-bg);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
}

.request-status-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
  text-align: right;
}

.request-status {
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.request-status.status-new {
  background: linear-gradient(135deg, #fef3c7, #fcd34d);
  color: #92400e;
  box-shadow: 0 4px 12px rgba(252,211,77,0.3);
}

.request-status.status-processing {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1e40af;
  box-shadow: 0 4px 12px rgba(191,219,254,0.3);
}

.request-status.status-done {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  box-shadow: 0 4px 12px rgba(167,243,208,0.3);
}

.request-status.status-cancelled {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
  box-shadow: 0 4px 12px rgba(254,202,202,0.3);
}

.request-date {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .request-card {
    grid-template-columns: 150px 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .request-card img {
    width: 150px;
    height: 112px;
  }
}

@media (max-width: 768px) {
  .request-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .request-card img {
    width: 100%;
    height: 250px;
  }
  
  .request-status-block {
    align-items: flex-start;
    text-align: left;
  }
}

/* Page Title */
.page-title {
  margin: 3rem 0 2rem;
  font-size: 2.5rem;
  text-align: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  letter-spacing: -1px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--card);
  border-radius: 30px;
  box-shadow: 0 10px 40px var(--shadow);
  margin: 3rem 0;
}

.empty-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.empty-state h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.empty-state p {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 2rem;
}

/* Requests List */
.requests-list {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.request-card {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 2rem;
  background: var(--card);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  align-items: center;
}

.request-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px var(--shadow-lg);
  border-color: var(--accent);
}

.request-card img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 16px;
}

.request-info {
  flex: 1;
}

.request-brand {
  color: var(--secondary);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  border-radius: 20px;
}

.request-info h3 {
  font-size: 1.5rem;
  margin: 0.75rem 0;
  font-weight: 700;
}

.request-info h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.request-info h3 a:hover {
  color: var(--accent);
}

.request-meta {
  display: flex;
  gap: 1rem;
  margin: 0.75rem 0;
  font-size: 0.9rem;
  color: var(--secondary);
  align-items: center;
}

.car-type-inline {
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
}

.car-type-inline.type-new_order {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
  color: #667eea;
}

.car-type-inline.type-in_stock {
  background: linear-gradient(135deg, rgba(72, 187, 120, 0.2), rgba(34, 197, 94, 0.2));
  color: #48bb78;
}

.car-type-inline.type-used {
  background: linear-gradient(135deg, rgba(237, 137, 54, 0.2), rgba(245, 158, 11, 0.2));
  color: #ed8936;
}

.request-price {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0.75rem 0;
  letter-spacing: -1px;
}

.request-type-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0.75rem 0;
}

.request-comment {
  color: var(--secondary);
  font-style: italic;
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: #f7fafc;
  border-radius: 10px;
  border-left: 3px solid var(--accent);
}

.request-status-block {
  text-align: center;
}

.request-status {
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  white-space: nowrap;
}

.request-status.status-new {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.request-status.status-processing {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1e40af;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.request-status.status-done {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.request-status.status-cancelled {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.request-date {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Responsive for Requests */
@media (max-width: 768px) {
  .request-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .request-card img {
    width: 100%;
    height: 200px;
  }
  
  .request-status-block {
    margin-top: 1rem;
  }
}

/* Admin Panel Styles */
.admin-tabs {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.85rem 1.5rem;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  color: var(--text);
}

.tab-btn:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}

.tab-btn.active {
  background: var(--accent);
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(106, 116, 255, 0.3);
}

.badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #f56565, #e53e3e);
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(245, 101, 101, 0.4);
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

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

.tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.tab-header h2 {
  font-size: 1.8rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.admin-form {
  background: var(--card);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 4px 20px var(--shadow);
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}

.admin-form h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  color: var(--text);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: 15px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: var(--body-bg);
  color: var(--text);
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--card);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.image-inputs {
  display: grid;
  gap: 1rem;
  margin: 1rem 0;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.admin-table {
  width: 100%;
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  border: 1px solid var(--border);
}

.admin-table th,
.admin-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.admin-table th {
  background: var(--body-bg);
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.admin-table tbody tr {
  transition: all 0.3s ease;
}

.admin-table tbody tr:hover {
  background: var(--body-bg);
  transform: scale(1.005);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.row-new {
  background: linear-gradient(90deg, rgba(102, 126, 234, 0.05), transparent);
  border-left: 4px solid var(--accent);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 10px;
  margin-right: 0.5rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-danger {
  background: linear-gradient(135deg, #f56565, #e53e3e) !important;
}

.btn-danger:hover {
  box-shadow: 0 4px 12px rgba(245, 101, 101, 0.3) !important;
}

.btn-secondary {
  background: var(--body-bg) !important;
  color: var(--text) !important;
  border: 2px solid var(--border) !important;
}

.btn-secondary:hover {
  background: var(--card) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 4px 12px var(--shadow) !important;
}

.type-tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
}

.type-tag.type-new_order {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
  color: #667eea;
}

.type-tag.type-in_stock {
  background: linear-gradient(135deg, rgba(72, 187, 120, 0.2), rgba(34, 197, 94, 0.2));
  color: #48bb78;
}

.type-tag.type-used {
  background: linear-gradient(135deg, rgba(237, 137, 54, 0.2), rgba(245, 158, 11, 0.2));
  color: #ed8936;
}

.status-select {
  padding: 0.5rem 1rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--body-bg);
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
}

.status-select:focus {
  border-color: var(--accent);
  outline: none;
}

.status-select:hover {
  border-color: var(--accent);
}

.status-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.status-blocked {
  color: var(--danger);
  font-weight: 700;
}

.status-active {
  color: var(--success);
  font-weight: 700;
}

.alert {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  padding: 1rem 1.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  font-weight: 600;
  border-left: 4px solid #f59e0b;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

/* Responsive Admin */
@media (max-width: 768px) {
  .admin-tabs {
    flex-direction: column;
  }
  
  .tab-btn {
    width: 100%;
  }
  
  .tab-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-table {
    font-size: 0.85rem;
  }
  
  .admin-table th,
  .admin-table td {
    padding: 0.75rem 0.5rem;
  }
}

/* Auth Pages Styles */
.auth-logo {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 1rem;
  animation: bounce 2s infinite;
}

.auth-form {
  max-width: 450px;
  margin: 4rem auto;
  background: var(--card);
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 0 20px 60px var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.auth-form::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
  transform: rotate(-45deg);
  pointer-events: none;
}

.auth-form > * {
  position: relative;
  z-index: 1;
}

.auth-form h1 {
  text-align: center;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.auth-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-form input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f7fafc;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.auth-form button[type="submit"] {
  width: 100%;
  padding: 1rem;
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.auth-link {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--secondary);
  font-size: 0.95rem;
}

.auth-link a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.auth-link a:hover {
  color: #764ba2;
  text-decoration: underline;
}

#message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 15px;
  text-align: center;
  font-weight: 600;
  display: none;
  animation: fadeIn 0.3s ease;
}

#message:not(:empty) {
  display: block;
}

#message.success {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  border: 2px solid #48bb78;
}

#message.error {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
  border: 2px solid #f56565;
}

/* Auth Form Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Auth */
@media (max-width: 768px) {
  .auth-form {
    margin: 2rem auto;
    padding: 2rem;
  }
  
  .auth-form h1 {
    font-size: 1.5rem;
  }
  
  .auth-logo {
    font-size: 3rem;
  }
}


/* Phone Input Styling */
input[type="tel"] {
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5px;
}

input[type="tel"]::placeholder {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: normal;
}

/* --- New Contact Page Redesign (Automotive Showroom) --- */

.contacts-hero {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin: -2rem -2rem 4rem -2rem; /* Stretch to full width if inside container */
  border-radius: 0 0 40px 40px;
  overflow: hidden;
}

.contacts-hero .hero-content h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -2px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.contacts-hero .hero-content p {
  font-size: 1.4rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.contacts-page-new {
  margin-bottom: 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.info-card {
  background: var(--card);
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 0 15px 45px var(--shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

body.dark-theme .info-card {
  background: linear-gradient(145deg, #1f2937, #111827);
}

.info-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 60px var(--shadow-lg);
  border-color: var(--accent);
}

.card-icon {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  filter: drop-shadow(0 10px 10px rgba(0,0,0,0.1));
}

.card-text h3 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--text);
  letter-spacing: -0.5px;
}

.card-text p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  font-weight: 500;
}

.phone-number {
  font-size: 1.3rem !important;
  font-weight: 800;
  color: var(--accent) !important;
}

.badge-showroom, .badge-test-drive, .badge-call, .badge-mail {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-showroom { background: #e2e8f0; color: #4a5568; }
.badge-test-drive { background: #fee2e2; color: #991b1b; }
.badge-call { background: #dcfce7; color: #166534; }
.badge-mail { background: #dbeafe; color: #1e40af; }

.map-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
  background: var(--card);
  color: var(--text);
  padding: 4rem;
  border-radius: 40px;
  margin-bottom: 5rem;
  box-shadow: 0 20px 50px var(--shadow);
  border: 1px solid var(--border);
}

.map-info h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.map-info p {
  font-size: 1.1rem;
  opacity: 0.8;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.map-btn-new {
  display: inline-block;
  padding: 1rem 2rem;
  background: white;
  color: #1a202c;
  text-decoration: none;
  font-weight: 800;
  border-radius: 50px;
  transition: all 0.3s;
}

.map-btn-new:hover {
  transform: scale(1.05);
  background: var(--accent);
  color: white;
}

.social-cta {
  background: var(--card);
  color: var(--text);
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 60px var(--shadow-lg);
  border: 1px solid var(--border);
}

.cta-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

.cta-content {
  padding: 4rem;
}

.cta-image {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #f7fafc;
}

.cta-image img {
  max-width: 100%;
  height: auto;
}

.social-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.tg-btn-premium, .wa-btn-premium {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
}

.tg-btn-premium { background: #0088cc; color: white; }
.wa-btn-premium { background: #25d366; color: white; }

.tg-btn-premium:hover, .wa-btn-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
  .map-section, .cta-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .map-section { padding: 2rem; }
  .cta-content { padding: 2rem; }
  .cta-image { display: none; }
  .contacts-hero .hero-content h1 { font-size: 2.5rem; }
}

/* --- Index Page Redesign (Premium Automotive) --- */

.carousel-container-new {
  margin: 2rem -20px 4rem -20px;
  position: relative;
  overflow: hidden;
  height: 600px;
}

.carousel-text-new {
  text-align: left;
  max-width: 800px;
  padding: 0 4rem;
  animation: fadeInUp 0.8s ease;
  color: white !important;
}

.carousel-tag {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.carousel-text-new h2 {
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.carousel-actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.btn-premium {
  padding: 1.25rem 2.5rem;
  background: white;
  color: black;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.btn-premium:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-5px);
}

.btn-outline-white {
  padding: 1.25rem 2.5rem;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.btn-outline-white:hover {
  background: white;
  color: black;
}

/* Automotive Tabs */
.automotive-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.auto-tab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.auto-tab:hover, .auto-tab.active {
  background: var(--accent);
  color: white;
  transform: translateY(-5px);
  border-color: transparent;
}

.auto-tab.active .tab-icon {
  transform: scale(1.2);
}

/* Premium Filters */
.premium-filters {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 4rem;
}

.filter-form-inline {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.input-group input, .input-group select {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--body-bg);
  color: var(--text);
  font-weight: 600;
  outline: none;
  transition: all 0.3s;
}

.input-group input:focus, .input-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(106, 116, 255, 0.1);
}

.btn-search {
  padding: 1rem 2.5rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
}

.btn-search:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

/* Modern Grid */
.display-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.display-header h2 {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.count-badge {
  background: var(--border);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
}

.cars-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 6rem;
}

.premium-car-card {
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-car-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px var(--shadow-lg);
}

.card-image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.premium-car-card:hover .card-image-wrap img {
  transform: scale(1.1);
}

.status-indicator {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.stat-new_order { background: #3b82f6; color: white; }
.stat-in_stock { background: #10b981; color: white; }
.stat-used { background: #f59e0b; color: white; }

.card-body {
  padding: 2rem;
}

.card-brand-label {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.card-title a {
  text-decoration: none;
  color: inherit;
}

.card-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.card-meta span {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.price-val {
  font-size: 1.4rem;
  font-weight: 900;
}

.btn-action-small {
  padding: 0.75rem 1.5rem;
  background: var(--text);
  color: var(--card);
  border: none;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-action-small:hover {
  background: var(--accent);
  color: white;
}

@media (max-width: 768px) {
  .filter-form-inline {
    grid-template-columns: 1fr;
  }
  .carousel-container-new {
    height: 450px;
  }
  .carousel-text-new h2 {
    font-size: 2.5rem;
  }
  .carousel-text-new {
    padding: 0 2rem;
  }
}

/* --- Admin Premium --- */

.admin-header-premium {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.premium-alert {
  background: var(--card);
  border-left: 5px solid #f56565;
  padding: 1.25rem 2rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 25px var(--shadow);
  animation: slideInRight 0.5s ease;
}

.alert-icon {
  font-size: 2rem;
}

.alert-text strong {
  display: block;
  font-size: 1.1rem;
  color: #f56565;
}

.alert-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.tab-icon {
  margin-right: 0.5rem;
}

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

@media (max-width: 768px) {
  .admin-header-premium {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* --- Car Detail Premium Styles --- */

.car-specs-tech {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.tech-badge {
  background: var(--card);
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 10px var(--shadow);
}

.tech-icon {
  font-size: 1.5rem;
}

.tech-info {
  display: flex;
  flex-direction: column;
}

.tech-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.tech-val {
  font-weight: 800;
  font-size: 0.95rem;
}

.car-description-premium {
  margin: 3rem 0;
  padding: 2rem;
  background: var(--card);
  border-radius: 20px;
  border-left: 5px solid var(--accent);
  box-shadow: 0 10px 30px var(--shadow);
}

.car-description-premium h3 {
  margin-bottom: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.car-detail-actions-premium {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.car-detail-actions-premium button {
  padding: 1.25rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-buy-premium {
  background: var(--accent);
  color: white;
}

.btn-test-drive-premium {
  background: var(--text);
  color: var(--card);
}

.btn-credit-premium {
  background: transparent;
  border: 2px solid var(--border) !important;
  color: var(--text);
}

.car-detail-actions-premium button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow-lg);
}

/* Footer Premium */
.footer {
  background: #111827;
  color: white;
  padding: 6rem 0 3rem 0;
  margin-top: 4rem;
}

body.dark-theme .footer {
  background: #000;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  display: block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  border-top: 1px solid #1f2937;
  padding-top: 2rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
}



