:root {
  --card-shadow: var(--shadow-primary);
  --card-shadow-strong: var(--shadow-primary-strong);
}

body.darkmode {
  --card-shadow: 0 20px 40px -24px rgba(4, 16, 35, 0.85);
  --card-shadow-strong: 0 20px 40px -20px rgba(4, 16, 35, 0.95);
}

.card {
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-strong);
}

/* Model Card Styles */
.model-card {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  cursor: pointer;
  border: 1px solid transparent;
  height: 100%;
}

.model-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-strong);
}

.model-card img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

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

.model-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: inherit;
  margin: 0 0 5px 0;
}

.model-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.model-info p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

body.darkmode .model-info p {
    color: #ccc;
}

.model-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 10px !important;
}

body.darkmode .model-price {
    color: #60a5fa;
}

.model-gb {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.image-container {
    position: relative;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0) 70%);
    border-radius: 15px;
    padding: 10px;
}

body.darkmode .image-container {
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0) 70%);
}

.color-circle {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 5px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sold-out-badge, .new-arrival-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sold-out-badge { background-color: #ef4444; }
.new-arrival-badge { background-color: #f59e0b; }
