:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-elevated: #1a1a26;
  --accent: #ff3c00;
  --accent-hover: #ff5722;
  --text: #f0f0f5;
  --text-muted: #8a8a9a;
  --border: #2a2a3a;
  --success: #22c55e;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.cart-btn:hover {
  border-color: var(--accent);
  background: var(--bg-card);
}

.cart-count {
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* Hero */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, rgba(10,10,15,0.88) 0%, rgba(26,10,5,0.82) 50%, rgba(10,10,15,0.9) 100%),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 60, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Section */
.section {
  padding: 60px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-muted);
  margin-top: 4px;
}

/* Grid */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* Product Card */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 60, 0, 0.45);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 60, 0, 0.1);
}

.product-image {
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, #1e1e2a 0%, #12121a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.5) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover .product-image::after {
  opacity: 1;
}

.product-image img,
.product-img-card {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-img-detail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(255, 60, 0, 0.4);
}

.product-image .badge.premium {
  background: linear-gradient(135deg, #c9a227, #f0d060);
  color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.4);
}

.product-image .badge.sale {
  background: #22c55e;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.product-body {
  padding: 20px;
}

.product-category {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-merchant {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
}

.product-price .old {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 8px;
}

/* Merchant Card */
.merchant-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}

.merchant-card:hover {
  border-color: var(--accent);
}

.merchant-avatar {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}

.merchant-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merchant-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.merchant-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.merchant-stats {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.merchant-stats strong {
  color: var(--text);
}

/* Filters */
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* Cart */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

.cart-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.cart-item-image {
  width: 100px;
  height: 80px;
  background: var(--bg-elevated);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-item-merchant {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-item-price {
  font-weight: 700;
  color: var(--accent);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.qty-btn:hover {
  border-color: var(--accent);
}

.remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  margin-top: 8px;
  padding: 0;
}

.remove-btn:hover {
  color: #ef4444;
}

.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 96px;
}

.cart-summary h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.summary-row.total {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 16px;
}

.cart-empty {
  text-align: center;
  padding: 80px 20px;
}

.cart-empty-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.cart-empty h2 {
  margin-bottom: 12px;
}

.cart-empty p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Product Detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 40px 0;
}

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
}

.product-detail-image {
  aspect-ratio: 1;
  background: linear-gradient(160deg, #1e1e2a 0%, #12121a 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-image .badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
}

/* Related products */
.related-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

/* Category cards */
.category-card {
  overflow: hidden;
}

.category-card .product-image {
  aspect-ratio: 16/10;
}

.category-card .product-body {
  background: var(--bg-card);
}

.category-card:hover .product-image img {
  transform: scale(1.1);
}

/* Image shimmer while loading */
.product-image img {
  background: var(--bg-elevated);
}

.product-detail-info h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-detail-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin: 20px 0;
}

.product-specs {
  margin: 24px 0;
}

.product-specs h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.spec-row span:first-child {
  color: var(--text-muted);
}

/* Policy */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.policy-content h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.policy-content .updated {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.policy-content h2 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
  color: var(--accent);
}

.policy-content p,
.policy-content li {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.policy-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* Footer */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 0.9rem;
}

.footer h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--success);
  color: var(--text);
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Categories bar */
.categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
}

/* Breadcrumb */
.breadcrumb {
  padding: 20px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  margin: 0 8px;
}

/* Mobile nav */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
  }

  .nav.open {
    display: flex;
  }
}

.category-card:hover .product-image img {
  transform: scale(1.08);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.section-alt {
  background: var(--bg-card);
}

.grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* Individual Tuning Section */
.custom-tuning-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.custom-tuning-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,15,0.95) 0%, rgba(26,10,5,0.88) 40%, rgba(10,10,15,0.98) 100%),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  z-index: 0;
}

.custom-tuning-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(255, 60, 0, 0.15) 0%, transparent 60%);
}

.custom-tuning-section .container {
  position: relative;
  z-index: 1;
}

.custom-tuning-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.custom-tuning-intro {
  max-width: 620px;
}

.custom-tuning-label {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.custom-tuning-intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.custom-tuning-intro h2 span {
  color: var(--accent);
}

.custom-tuning-intro p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.custom-tuning-stats {
  display: flex;
  gap: 32px;
}

.tuning-stat {
  text-align: center;
  padding: 20px 24px;
  background: rgba(18, 18, 26, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  min-width: 110px;
}

.tuning-stat strong {
  display: block;
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.tuning-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.custom-tuning-features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.feature-pill {
  padding: 10px 18px;
  background: rgba(255, 60, 0, 0.1);
  border: 1px solid rgba(255, 60, 0, 0.25);
  border-radius: 24px;
  font-size: 0.9rem;
  color: var(--text);
}

.custom-tuning-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.custom-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.custom-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 60, 0, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.custom-card-image {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
}

.custom-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.custom-card:hover .custom-card-image img {
  transform: scale(1.06);
}

.custom-card-image .badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  top: auto;
}

.custom-card-body {
  padding: 20px;
}

.custom-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.custom-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.custom-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.custom-card-link {
  color: var(--accent);
  font-weight: 600;
}

.custom-tuning-bottom {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .custom-tuning-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .custom-tuning-section {
    padding: 48px 0;
  }

  .custom-tuning-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .custom-tuning-stats {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .tuning-stat {
    flex: 1;
    min-width: 0;
    padding: 16px 12px;
  }

  .custom-tuning-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-notice {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 32px;
}

.pricing-notice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.pricing-notice strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.pricing-notice p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

/* Admin */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 24px;
}

.admin-main {
  padding: 32px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.admin-table th {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.login-box {
  max-width: 400px;
  margin: 120px auto;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }
}

/* Forms & Checkout */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}

.form-card h3 {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.info-card h4 {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #ef4444;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.form-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.checkout-summary {
  position: sticky;
  top: 96px;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.payment-option {
  cursor: pointer;
  display: block;
}

.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}

.payment-card strong {
  display: block;
  margin-bottom: 4px;
}

.payment-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}

.payment-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.payment-option input:checked + .payment-card,
.payment-card.selected {
  border-color: var(--accent);
  background: rgba(255, 60, 0, 0.08);
}

.payment-option:hover .payment-card {
  border-color: rgba(255, 60, 0, 0.5);
}

/* Order Confirmation */
.confirmation-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 24px;
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  background: var(--success);
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.3);
}

.confirmation-box h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.confirmation-sub {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.order-number-box {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
}

.order-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.order-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 1px;
}

.confirmation-details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
  text-align: left;
}

.confirmation-next {
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.confirmation-next h3 {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.confirmation-next ul {
  list-style: none;
  padding: 0;
}

.confirmation-next li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.confirmation-next li:last-child {
  border-bottom: none;
}
