/* Import Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,700;1,400&family=Orbitron:wght@500;700;900&display=swap');

:root {
  --bg-primary: #080b11;
  --bg-secondary: #0f131d;
  --bg-card: rgba(255, 255, 255, 0.02);
  --border-color: rgba(255, 255, 255, 0.07);
  
  --accent-gold: #e5b53b;        /* Yellow/Gold from Logo */
  --accent-gold-hover: #f3c754;
  --accent-cyan: #2ba2c5;        /* Cyan/Blue from Logo */
  --accent-red: #c81f32;         /* Red from Logo */
  --accent-emerald: #10b981;
  
  --logo-gold: var(--accent-gold);
  --logo-cyan: var(--accent-cyan);
  --logo-red: var(--accent-red);
  --logo-text: #ffffff;
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  
  --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 15px rgba(43, 162, 197, 0.25);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-lg: 16px;
  --radius-md: 8px;
  --radius-sm: 4px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Glassmorphism Panel Class */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

/* Layout Wrapper */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(12px);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}


.logo-svg-container {
  height: 52px;
  width: auto;
  display: flex;
  align-items: center;
}

.logo-svg-container svg {
  height: 100%;
  width: auto;
  max-width: 100%;
}

.logo-text-initials {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-weight: 900;
  font-size: 34px;
  letter-spacing: 4px;
  fill: var(--logo-text, #ffffff);
  transition: fill 0.3s ease;
}

.logo-text-since {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 3px;
  fill: var(--logo-text, #ffffff);
  transition: fill 0.3s ease;
}

.logo-text-brand {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-weight: 900;
  font-size: 52px;
  letter-spacing: 8px;
  fill: var(--logo-text, #ffffff);
  transition: fill 0.3s ease;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn.active {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(197, 168, 92, 0.05);
  box-shadow: var(--shadow-glow);
}

.tab-btn:hover:not(.active) {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.cart-toggle-btn {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cart-toggle-btn:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-gold);
  color: var(--bg-primary);
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Wizard Progress Bar */
.wizard-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 1rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.progress-step.active {
  color: var(--accent-gold);
}

.progress-step.completed {
  color: var(--accent-emerald);
}

.progress-step .step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid currentColor;
  font-size: 1rem;
  font-weight: 700;
}

.progress-step .step-label {
  white-space: nowrap;
}

.progress-divider {
  height: 1px;
  width: 40px;
  background: var(--border-color);
}

.progress-divider.active {
  background: var(--accent-gold);
}

/* Main Content area */
.main-content {
  flex: 1;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.wizard-step {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.wizard-step.active {
  display: block;
}

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

/* STEP 1: Scene Selector */
.step-title-wrapper {
  text-align: center;
  margin-bottom: 3rem;
}

.step-title-wrapper h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-title-wrapper p {
  color: var(--text-secondary);
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.scene-card {
  cursor: pointer;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  transition: var(--transition-smooth);
}

.scene-icon {
  font-size: 3rem;
  transition: var(--transition-smooth);
}

.scene-card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
}

.scene-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.scene-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-premium), var(--shadow-glow);
  transform: translateY(-8px);
  background: rgba(197, 168, 92, 0.02);
}

.scene-card:hover .scene-icon {
  transform: scale(1.15) rotate(5deg);
}

/* STEP 2: Product Configurator View */
.showroom-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
}

/* Category Sidebar */
.showroom-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: fit-content;
  padding: 1.5rem;
}

.sidebar-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent-gold);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-item {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
}

.category-item.active {
  background: var(--bg-primary);
  color: var(--accent-gold);
  border-left: 3px solid var(--accent-gold);
}

.category-item:hover:not(.active) {
  background: rgba(255,255,255,0.02);
  color: var(--text-primary);
}

/* Active Project Header */
.active-project-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
}

.active-project-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.active-project-info .badge {
  background: var(--accent-gold);
  color: var(--bg-primary);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-premium);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: #0f131f;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.product-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.4rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent-gold);
}

.configure-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.product-card:hover .configure-btn {
  background: var(--accent-gold);
  color: var(--bg-primary);
  border-color: var(--accent-gold);
}

/* Wizard Navigation Bar */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.btn-primary {
  background: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  color: var(--bg-primary);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-primary:disabled, .btn-secondary:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

/* Product Customizer Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
}

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

.modal-content {
  width: 100%;
  max-width: 750px;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr;
  animation: modalSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes modalSlide {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: var(--accent-gold);
}

.modal-img-section {
  background: #0f131f;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.modal-product-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.modal-details-section {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-details-section h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-primary);
}

.modal-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.spec-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

/* Color Circles */
.color-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.color-option {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.color-option:hover {
  transform: scale(1.1);
}

.color-option.active {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow);
}

.color-option[data-color="Royal Blue"] { background-color: #1d4ed8; }
.color-option[data-color="Emerald Green"] { background-color: #047857; }
.color-option[data-color="Obsidian Black"] { background-color: #1f2937; }
.color-option[data-color="Burgundy Red"] { background-color: #991b1b; }
.color-option[data-color="Classic Mahogany"] { background-color: #4a1d1d; }
.color-option[data-color="Natural Oak"] { background-color: #b45309; }
.color-option[data-color="Dark Walnut"] { background-color: #3b2314; }
.color-option[data-color="Natural Maple"] { background-color: #eab308; }
.color-option[data-color="Stealth Black"] { background-color: #111827; }
.color-option[data-color="Cyberpunk Purple"] { background-color: #7c3aed; }
.color-option[data-color="Neon Cyan"] { background-color: #06b6d4; }
.color-option[data-color="Yellow-Black Safety"] { background-color: #ca8a04; }
.color-option[data-color="Cosmic Blue"] { background-color: #3b82f6; }
.color-option[data-color="Tournament Standard"] { background-color: #22c55e; }
.color-option[data-color="Midnight Black"] { background-color: #030712; }
.color-option[data-color="Classic Walnut"] { background-color: #78350f; }
.color-option[data-color="Cherry Red"] { background-color: #b91c1c; }
.color-option[data-color="Glowing Blue"] { background-color: #00ffff; }
.color-option[data-color="Cyberpunk Red"] { background-color: #ff0055; }
.color-option[data-color="Arcade Red"] { background-color: #dc2626; }
.color-option[data-color="Golden Dragon Edition"] { background-color: #d97706; }

/* Size Selector / Voltage buttons */
.spec-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.spec-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.spec-btn:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.spec-btn.active {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(197, 168, 92, 0.05);
}

/* Quantity Counter */
.qty-counter {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--border-color);
  width: fit-content;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-primary);
}

.qty-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  background: rgba(255,255,255,0.03);
  color: var(--accent-gold);
}

.qty-input {
  width: 50px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  text-align: center;
  font-weight: 600;
  outline: none;
  font-size: 0.95rem;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Shopping Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 150;
  display: none;
}

.cart-drawer-overlay.active {
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  z-index: 160;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text-primary);
}

.cart-drawer-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cart-drawer-close:hover {
  color: var(--accent-gold);
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.empty-cart-message {
  text-align: center;
  color: var(--text-muted);
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.empty-cart-message span {
  font-size: 3rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: #0f131f;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.cart-item-specs {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cart-item-spec-tag {
  background: rgba(255,255,255,0.03);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.cart-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.cart-item-remove:hover {
  color: var(--accent-red);
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  background: rgba(10, 13, 20, 0.5);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
}

.cart-subtotal-row span:last-child {
  color: var(--accent-gold);
}

/* STEP 3: Shipping & Trade Terms Form */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  align-items: start;
}

.form-card {
  padding: 2rem;
}

.form-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-gold);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / span 2;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(197, 168, 92, 0.1);
}

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

.terms-box {
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
}

.terms-box h4 {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--accent-gold);
}

.terms-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  cursor: pointer;
  user-select: none;
}

.checkbox-label input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-gold);
}

.trade-terms-toggle-group {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.trade-term-radio {
  flex: 1;
  text-align: center;
}

.trade-term-radio input {
  display: none;
}

.trade-term-label {
  display: block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.trade-term-radio input:checked + .trade-term-label {
  background: var(--accent-gold);
  color: var(--bg-primary);
  border-color: var(--accent-gold);
  font-weight: 600;
}

.trade-term-radio input:disabled + .trade-term-label {
  opacity: 0.3;
  cursor: not-allowed;
  background: transparent;
  color: var(--text-muted);
}

.remote-warning {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(239, 68, 68, 0.1);
  border-left: 3px solid var(--accent-red);
  color: #fca5a5;
  font-size: 0.8rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  display: none;
}

/* Order Summary Card */
.checkout-summary-card {
  padding: 1.5rem;
}

.summary-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.summary-item-name {
  color: var(--text-secondary);
}

.summary-item-price {
  font-weight: 600;
}

.summary-totals {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.summary-row.grand-total {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-gold);
  border-top: 1px dashed var(--border-color);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

/* STEP 4: Success View */
.success-card {
  text-align: center;
  max-width: 600px;
  margin: 3rem auto;
  padding: 3.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.success-card h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
}

.success-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

/* ADMIN PANEL VIEWS */
.admin-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  min-height: 70vh;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  max-height: 75vh;
  overflow-y: auto;
}

.admin-sidebar-header {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-gold);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.order-list-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.order-tab-card {
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  background: rgba(255,255,255,0.01);
}

.order-tab-card:hover {
  border-color: var(--accent-gold);
  background: rgba(255,255,255,0.03);
}

.order-tab-card.active {
  border-color: var(--accent-gold);
  background: rgba(197, 168, 92, 0.05);
  box-shadow: var(--shadow-glow);
}

.order-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.order-card-client {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-card-scene {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.order-card-price-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

.order-card-price {
  font-weight: 700;
  color: var(--accent-gold);
}

.status-badge {
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-pending { background: rgba(245, 158, 11, 0.1); color: #fbbf24; }
.status-pi-issued { background: rgba(59, 130, 246, 0.1); color: #60a5fa; }
.status-paid { background: rgba(16, 185, 129, 0.1); color: #34d399; }

/* Admin Main Console */
.admin-console {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.no-order-selected {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  height: 100%;
  color: var(--text-muted);
  text-align: center;
  padding: 5rem 0;
}

.no-order-selected span {
  font-size: 4rem;
}

.admin-order-detail-card {
  padding: 2rem;
}

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

.order-detail-header h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.order-header-meta {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.order-header-actions {
  display: flex;
  gap: 0.75rem;
}

/* Info Grid (Customer Details) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  background: rgba(255,255,255,0.01);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

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

.info-item-val {
  font-size: 0.9rem;
  font-weight: 500;
  word-break: break-all;
}

/* Discount Admin panel */
.discount-control-box {
  background: rgba(197, 168, 92, 0.03);
  border: 1px solid rgba(197, 168, 92, 0.2);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.discount-title {
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.discount-controls {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.discount-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-primary);
  outline: none;
}

.discount-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-gold);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: var(--transition-smooth);
}

.discount-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.input-group-symbol {
  position: relative;
  display: flex;
  align-items: center;
}

.input-group-symbol span {
  position: absolute;
  left: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.input-group-symbol input {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.5rem 0.5rem 0.5rem 1.75rem;
  border-radius: var(--radius-md);
  outline: none;
  font-size: 0.9rem;
}

.input-group-symbol input:focus {
  border-color: var(--accent-gold);
}

/* Order Items Table */
.order-table-container {
  overflow-x: auto;
  margin-bottom: 2rem;
}

.order-items-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.order-items-table th, .order-items-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.order-items-table th {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.order-items-table td {
  font-size: 0.9rem;
}

.admin-grand-totals {
  width: 320px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
}

/* PI Print CSS & Layout */
#pi-print-template {
  display: none;
  background: #ffffff;
  color: #1a1a1a;
  padding: 40px;
  font-family: Arial, sans-serif;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.pi-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 20px;
}

.pi-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: bold;
  color: #1a1a1a;
}

.pi-logo span {
  color: #c5a85c;
}

.pi-title-block {
  text-align: right;
}

.pi-title-block h1 {
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 5px;
  color: #1a1a1a;
}

.pi-number {
  font-size: 13px;
  color: #666;
}

.pi-address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
  font-size: 13px;
  line-height: 1.6;
}

.pi-address-box h3 {
  font-size: 14px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.pi-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-size: 12px;
}

.pi-table th, .pi-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.pi-table th {
  background-color: #f8f9fa;
  font-weight: bold;
}

.pi-totals-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  margin-bottom: 45px;
  font-size: 13px;
}

.pi-bank-details {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 4px;
}

.pi-bank-details h4 {
  margin-bottom: 8px;
  font-size: 13px;
  border-bottom: 1px solid #eee;
  padding-bottom: 3px;
}

.pi-bank-row {
  display: flex;
  margin-bottom: 4px;
  font-size: 11px;
}

.pi-bank-label {
  width: 110px;
  color: #666;
  font-weight: bold;
}

.pi-bank-value {
  flex: 1;
}

.pi-summary-table {
  width: 100%;
}

.pi-summary-table tr td {
  padding: 6px 0;
}

.pi-summary-table tr td:last-child {
  text-align: right;
  font-weight: bold;
}

.pi-grand-total-row {
  border-top: 1px double #1a1a1a;
  border-bottom: 1px double #1a1a1a;
  font-size: 16px;
  font-weight: bold;
}

.pi-grand-total-row td {
  padding: 10px 0 !important;
}

.pi-footer {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.pi-signature-line {
  border-top: 1px solid #1a1a1a;
  width: 200px;
  margin-top: 40px;
  text-align: center;
  padding-top: 5px;
}

/* CSS Print Styles */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  
  /* 隐藏整个应用界面 (含占满一屏的 .app-container), 只留 PI 模板 */
  .app-container,
  .cart-drawer-overlay,
  .cart-drawer,
  .modal-overlay {
    display: none !important;
  }
  
  #pi-print-template {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* Admin Order Editor Styles */
.admin-price-input {
  width: 90px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  text-align: right;
  font-family: var(--font-sans);
  font-weight: 600;
}
.admin-price-input:focus {
  border-color: var(--accent-gold);
  outline: none;
}

.admin-delete-item-btn {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--accent-red);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}
.admin-delete-item-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--accent-red);
}

/* Language Dropdown Menu Styles */
.lang-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  z-index: 1000;
  width: 140px;
  box-shadow: var(--shadow-premium);
  animation: fadeIn 0.2s ease-out forwards;
}

.lang-dropdown-menu.active {
  display: block;
}

.lang-option {
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.lang-option:hover {
  background: rgba(197, 168, 92, 0.08);
  color: var(--accent-gold) !important;
}

.lang-option.active {
  background: rgba(197, 168, 92, 0.12);
  color: var(--accent-gold) !important;
  font-weight: 600;
}

/* RTL Styles Overrides */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .app-header {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-controls {
  flex-direction: row-reverse;
}

[dir="rtl"] .cart-drawer {
  right: auto;
  left: -420px;
  border-left: none;
  border-right: 1px solid var(--border-color);
  box-shadow: 10px 0 30px rgba(0,0,0,0.5);
}

[dir="rtl"] .cart-drawer.active {
  left: 0;
  right: auto;
}

[dir="rtl"] .showroom-layout {
  grid-template-columns: 1fr 260px;
}

[dir="rtl"] .showroom-sidebar {
  order: 2;
}

[dir="rtl"] .checkout-grid {
  grid-template-columns: 400px 1fr;
}

[dir="rtl"] .checkout-summary-card {
  order: 1;
}

[dir="rtl"] .form-card {
  order: 2;
}

[dir="rtl"] .admin-layout {
  grid-template-columns: 1fr 320px;
}

[dir="rtl"] .admin-sidebar {
  order: 2;
}

[dir="rtl"] .admin-console {
  order: 1;
}

[dir="rtl"] .qty-counter {
  flex-direction: row-reverse;
}

[dir="rtl"] .pi-header {
  flex-direction: row-reverse;
}

[dir="rtl"] .pi-title-block {
  text-align: left;
}

[dir="rtl"] .pi-address-grid {
  direction: rtl;
}

[dir="rtl"] .pi-totals-section {
  grid-template-columns: 280px 1fr;
  direction: rtl;
}

[dir="rtl"] .pi-summary-table tr td:last-child {
  text-align: left;
}

[dir="rtl"] .pi-footer {
  flex-direction: row-reverse;
}

[dir="rtl"] .input-group-symbol span {
  left: auto;
  right: 0.75rem;
}

[dir="rtl"] .input-group-symbol input {
  padding-left: 0.5rem;
  padding-right: 1.75rem;
}

/* SYSTEM & BRAND SETTINGS PANEL */
.settings-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.settings-card {
  padding: 2.25rem;
}

.settings-title-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-gold);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.settings-form {
  width: 100%;
}

.color-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 1.25rem;
}

.color-picker-item {
  display: flex;
  flex-direction: column;
}

.color-input-picker {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: transparent;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}

.color-input-picker::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-input-picker::-webkit-color-swatch {
  border: none;
  border-radius: var(--radius-md);
}

.color-input-picker::-moz-color-swatch {
  border: none;
  border-radius: var(--radius-md);
}

/* RTL Settings panel overrides */
[dir="rtl"] .settings-layout {
  direction: rtl;
}

[dir="rtl"] .color-picker-item {
  align-items: flex-start;
}

/* Print overrides for Logo SVG */
@media print {
  .logo-text-initials,
  .logo-text-since,
  .logo-text-brand {
    fill: #111111 !important;
  }
}

/* ===================== AUTH & ACCOUNT ===================== */
.account-area {
  display: flex;
  align-items: center;
}

.auth-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.auth-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  padding: 0.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.auth-tab.active {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

.auth-msg {
  font-size: 0.8rem;
  min-height: 1rem;
  color: var(--accent-red);
}

.auth-msg.success {
  color: var(--accent-emerald);
}

#user-role-badge.role-super_admin { background: var(--accent-red); color: #fff; }
#user-role-badge.role-salesperson { background: var(--accent-cyan); color: #fff; }
#user-role-badge.role-customer { background: var(--bg-primary); color: var(--text-secondary); }

.admin-role-select {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

/* ===================== MOBILE RESPONSIVE ===================== */
@media screen and (max-width: 768px) {

  /* Header: stack logo + nav */
  .app-header {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }

  .nav-controls {
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
  }

  .tab-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }

  #header-logo-img {
    height: 52px !important;
  }

  /* Wizard progress: hide text labels, show only numbers */
  .wizard-progress {
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    overflow-x: auto;
  }

  .progress-step .step-label {
    display: none;
  }

  .progress-divider {
    width: 20px;
  }

  /* Main content padding */
  .main-content {
    padding: 1rem;
  }

  /* Step 1 title */
  .step-title-wrapper h1 {
    font-size: 1.5rem;
  }

  .step-title-wrapper {
    margin-bottom: 1.5rem;
  }

  /* Step 2: sidebar becomes horizontal scroll strip */
  .showroom-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .showroom-sidebar {
    padding: 0.75rem 1rem;
    flex-direction: row;
    gap: 0;
    overflow-x: auto;
    height: auto;
  }

  .sidebar-title {
    display: none;
  }

  .category-list {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .category-item {
    white-space: nowrap;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .category-item.active {
    border-left: none;
    border-bottom: 2px solid var(--accent-gold);
  }

  /* Active project bar */
  .active-project-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }

  /* Step 3: checkout form + summary stack */
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: 1;
  }

  .form-card {
    padding: 1.25rem;
  }

  /* Trade terms: stack vertically */
  .trade-terms-toggle-group {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Admin layout: sidebar on top, detail below */
  .admin-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .admin-sidebar {
    max-height: 240px;
  }

  .admin-order-detail-card {
    padding: 1rem;
  }

  /* Admin discount controls: stack */
  .discount-controls {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Admin totals: full width */
  .admin-grand-totals {
    width: 100%;
  }

  /* Admin add item: wrap columns */
  .admin-add-item-box > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Order table: scrollable horizontally */
  .order-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Product modal: single column */
  .modal-content {
    grid-template-columns: 1fr;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-img-section {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
  }

  .modal-product-img {
    max-height: 180px;
    object-fit: contain;
  }

  .modal-details-section {
    padding: 1.25rem;
    gap: 1rem;
  }

  /* Cart drawer: full width on mobile */
  .cart-drawer {
    max-width: 100%;
    right: -100%;
  }

  /* Wizard nav buttons: stack */
  .wizard-nav {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .wizard-nav .btn {
    width: 100%;
    justify-content: center;
  }

  /* Success actions */
  .success-actions {
    flex-direction: column;
    width: 100%;
  }

  .success-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Settings */
  .settings-layout {
    grid-template-columns: 1fr;
  }

  .settings-card {
    padding: 1.25rem;
  }
}

/* Tablet: 769px - 1024px */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .showroom-layout {
    grid-template-columns: 200px 1fr;
  }

  .checkout-grid {
    grid-template-columns: 1fr 320px;
  }

  .admin-layout {
    grid-template-columns: 260px 1fr;
  }

  .discount-controls {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}
