/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Color Variables & Reset */
:root {
  --bg-dark: #07070a;
  --bg-card: #111118;
  --bg-card-hover: #171724;
  --primary: #d946ef; /* Magenta */
  --primary-rgb: 217, 70, 239;
  --secondary: #ff7e1b; /* Orange matching Deenz brand */
  --secondary-rgb: 255, 126, 27;
  --accent: #6366f1; /* Indigo */
  --accent-rgb: 99, 102, 241;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.15);
  
  --gradient-main: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 50%, var(--accent) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(255, 126, 27, 0.1) 0%, rgba(217, 70, 239, 0.1) 50%, rgba(99, 102, 241, 0.1) 100%);
  --gradient-btn: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
  --gradient-btn-hover: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(217, 70, 239, 0.15);
  --shadow-glow-secondary: 0 0 30px rgba(255, 126, 27, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Background Gradients decoration */
.bg-decor {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.12;
}

.bg-decor-1 {
  top: -100px;
  right: -100px;
  background: var(--primary);
}

.bg-decor-2 {
  top: 60vh;
  left: -200px;
  background: var(--accent);
}

.bg-decor-3 {
  bottom: 10%;
  right: -100px;
  background: var(--secondary);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 7, 10, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

header.scrolled {
  background: rgba(7, 7, 10, 0.9);
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav ul a {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.95rem;
}

nav ul a:hover, nav ul a.active {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.cta-btn {
  background: var(--gradient-btn);
  color: var(--text-main);
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(255, 126, 27, 0.2);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  background: var(--gradient-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 70, 239, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Sections Base */
section {
  padding: 100px 24px;
  position: relative;
}

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

.section-tag {
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

.section-title span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 50px;
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-pill {
  background: rgba(255, 126, 27, 0.1);
  border: 1px solid rgba(255, 126, 27, 0.25);
  color: var(--secondary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  animation: float-slow 4s ease-in-out infinite;
}

.hero-pill .dot {
  width: 6px;
  height: 6px;
  background-color: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--secondary);
}

.hero-title {
  font-size: 4rem;
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-title span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-btn-secondary {
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  color: var(--text-main);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}

.hero-btn-secondary:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.hero-hero-card {
  background: var(--gradient-hero);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 380px;
  animation: glow-pulse 6s ease-in-out infinite alternate;
}

.hero-hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(217,70,239,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-hero-card .card-title {
  font-size: 1.8rem;
  margin-top: 20px;
  margin-bottom: 12px;
}

.hero-hero-card .card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.hero-hero-card .highlight-box {
  background: rgba(7, 7, 10, 0.6);
  border: 1px solid var(--border-color);
  padding: 12px 20px;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.hero-hero-card .highlight-box i {
  color: var(--secondary);
}

/* Service cards (Three main grid cards) */
.services-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.service-summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-btn);
  opacity: 0;
  transition: var(--transition);
}

.service-summary-card:hover::before {
  opacity: 1;
}

.service-icon-bg {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-summary-card:hover .service-icon-bg {
  background: rgba(217, 70, 239, 0.1);
  color: var(--primary);
}

.service-summary-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.service-summary-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card-link {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card-link:hover {
  color: var(--primary);
}

.service-card-link i {
  transition: var(--transition);
}

.service-summary-card:hover .service-card-link i {
  transform: translateX(4px);
}

/* Feature grid: "Four ways to print, one team to help" */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  transition: var(--transition);
  position: relative;
}

.feature-box:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.feature-tag {
  background: rgba(217, 70, 239, 0.1);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 16px;
}

.feature-box.orange-tag .feature-tag {
  background: rgba(255, 126, 27, 0.1);
  color: var(--secondary);
}

.feature-box.indigo-tag .feature-tag {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent);
}

.feature-box h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* What we print on section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
  }
}

.product-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-item-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-glow-secondary);
  transform: translateY(-4px);
}

.product-item-card svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 1.5;
  margin-bottom: 16px;
  transition: var(--transition);
}

.product-item-card:hover svg {
  stroke: var(--secondary);
  transform: scale(1.1);
}

.product-item-card span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

/* Gallery section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  aspect-ratio: 4 / 5;
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-glow-secondary);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Industries tabs */
.tabs-container {
  margin-top: 40px;
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
}

.tab-btn.active {
  background: var(--gradient-btn);
  border-color: transparent;
  color: var(--text-main);
}

.tab-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

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

.industry-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

@media (min-width: 768px) {
  .industry-showcase {
    grid-template-columns: 1fr 1fr;
  }
}

.industry-details h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.industry-details p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.industry-bullets {
  list-style: none;
}

.industry-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--text-main);
}

.industry-bullets li i {
  color: var(--success);
}

.industry-img-container {
  height: 250px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
  background: linear-gradient(135deg, rgba(217, 70, 239, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

/* How It Works section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 30px;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.step-num {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
  background: linear-gradient(180deg, rgba(217, 70, 239, 0.2) 0%, transparent 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Banner section */
.action-banner {
  background: var(--gradient-main);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  margin-top: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(217, 70, 239, 0.2);
}

.action-banner h3 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.action-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Years in the clothing business details */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.about-bullets {
  list-style: none;
  margin-top: 30px;
}

.about-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-bullets li i {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-top: 4px;
}

.about-bullets h5 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.about-bullets p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  transition: var(--transition);
}

.about-feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.about-feature-card i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.about-feature-card h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.about-feature-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Let's Make Something Good - Quote Form Section */
.form-section {
  position: relative;
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 992px) {
  .form-layout {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

/* Single-column layout (no estimator sidebar) */
.form-layout-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}

.interactive-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .interactive-form-card {
    padding: 40px;
  }
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-input {
  width: 100%;
  background: rgba(7, 7, 10, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  color: var(--text-main);
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(217, 70, 239, 0.15);
  background: rgba(7, 7, 10, 0.8);
}

/* Custom Urgency Segmented Control */
.urgency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.urgency-option {
  position: relative;
}

.urgency-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.urgency-box {
  background: rgba(7, 7, 10, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.urgency-option input:checked + .urgency-box {
  background: rgba(217, 70, 239, 0.1);
  border-color: var(--primary);
  color: var(--text-main);
  box-shadow: 0 0 10px rgba(217, 70, 239, 0.1);
}

.urgency-box:hover {
  border-color: var(--border-hover);
  background: rgba(7, 7, 10, 0.7);
}

/* Custom Checkbox Grid for Garments */
.garment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 480px) {
  .garment-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .garment-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.garment-checkbox {
  position: relative;
}

.garment-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.garment-card {
  background: rgba(7, 7, 10, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.garment-card svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 1.5;
  margin-bottom: 10px;
  transition: var(--transition);
}

.garment-card span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.garment-checkbox input:checked + .garment-card {
  background: rgba(255, 126, 27, 0.08);
  border-color: var(--secondary);
  box-shadow: 0 0 12px rgba(255, 126, 27, 0.15);
}

.garment-checkbox input:checked + .garment-card svg {
  stroke: var(--secondary);
}

.garment-checkbox input:checked + .garment-card span {
  color: var(--text-main);
}

.garment-card:hover {
  border-color: var(--border-hover);
  background: rgba(7, 7, 10, 0.7);
}

/* Printing method options (Radios) */
.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 480px) {
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.method-option {
  position: relative;
}

.method-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.method-box {
  background: rgba(7, 7, 10, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.method-box .method-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.method-box .method-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.method-option input:checked + .method-box {
  background: rgba(99, 102, 241, 0.08);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.15);
}

.method-box:hover {
  border-color: var(--border-hover);
  background: rgba(7, 7, 10, 0.7);
}

/* Quantity Slider Container */
.quantity-container {
  background: rgba(7, 7, 10, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 20px;
}

.quantity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.quantity-val {
  background: var(--gradient-btn);
  padding: 4px 14px;
  border-radius: 20px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.slider-wrapper {
  position: relative;
}

.quantity-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  margin: 15px 0;
}

.quantity-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--secondary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--secondary);
  transition: var(--transition);
}

.quantity-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px var(--secondary);
}

.quantity-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Custom Checkbox for Positions */
.positions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 480px) {
  .positions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.position-checkbox {
  position: relative;
}

.position-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.position-box {
  background: rgba(7, 7, 10, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.position-checkbox input:checked + .position-box {
  background: rgba(217, 70, 239, 0.1);
  border-color: var(--primary);
  color: var(--text-main);
}

.position-box:hover {
  border-color: var(--border-hover);
  background: rgba(7, 7, 10, 0.7);
}

/* File Upload drag-drop area */
.file-upload-zone {
  border: 2px dashed var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 30px;
  text-align: center;
  background: rgba(7, 7, 10, 0.3);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.file-upload-zone:hover, .file-upload-zone.dragover {
  border-color: var(--primary);
  background: rgba(217, 70, 239, 0.03);
}

.file-upload-zone input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-icon-container {
  font-size: 2.2rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: var(--transition);
}

.file-upload-zone:hover .upload-icon-container {
  color: var(--primary);
  transform: translateY(-3px);
}

.upload-text {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.upload-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* File upload list and progress simulator */
.file-list {
  margin-top: 15px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 10px 14px;
  margin-bottom: 8px;
}

.file-item-info {
  flex-grow: 1;
}

.file-item-name {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.file-item-size {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.file-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}

.file-progress-fill {
  height: 100%;
  background: var(--gradient-btn);
  width: 0%;
  transition: width 0.2s ease;
}

.file-remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
}

.file-remove-btn:hover {
  color: var(--primary);
}

/* Live Quote Estimator box (Sticky sidebar) */
.estimator-sidebar {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.estimator-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.estimator-title i {
  color: var(--secondary);
}

.estimator-breakdown {
  list-style: none;
  margin-bottom: 24px;
}

.estimator-breakdown li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.estimator-breakdown li span:last-child {
  color: var(--text-main);
  font-weight: 500;
}

.estimator-price-range {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}

.price-range-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.price-range-value {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.submit-quote-btn {
  width: 100%;
  background: var(--gradient-btn);
  border: none;
  color: var(--text-main);
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 126, 27, 0.2);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-quote-btn:hover {
  background: var(--gradient-btn-hover);
  box-shadow: 0 6px 20px rgba(217, 70, 239, 0.3);
  transform: translateY(-2px);
}

.submit-quote-btn:disabled {
  background: #334155;
  color: #64748b;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--text-main);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

/* Success screen state */
.success-screen {
  text-align: center;
  padding: 40px 10px;
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.success-icon-container {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--success);
  font-size: 2.5rem;
  animation: scale-up 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-screen h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.success-screen p {
  color: var(--text-muted);
  max-width: 450px;
  margin: 0 auto 30px;
}

/* Order Tracker Section */
.tracker-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.tracker-card {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(7, 7, 10, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 40px;
}

.tracker-form-inline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

@media (min-width: 576px) {
  .tracker-form-inline {
    flex-direction: row;
  }
  .tracker-form-inline input {
    flex-grow: 1;
  }
}

.tracker-btn {
  background: var(--text-main);
  color: var(--bg-dark);
  border: none;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.tracker-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

/* Tracker results and timeline */
.tracker-results {
  display: none;
  animation: fadeIn 0.4s ease forwards;
  padding-top: 20px;
}

.tracker-header-info {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.order-badge {
  background: rgba(255, 126, 27, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(255, 126, 27, 0.2);
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 10px;
  width: 2px;
  height: calc(100% - 20px);
  background: rgba(255, 255, 255, 0.1);
}

.timeline-step {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  position: relative;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(7, 7, 10, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.timeline-content {
  padding-top: 8px;
}

.timeline-content h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text-muted);
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Active & Complete status in Timeline */
.timeline-step.completed .timeline-dot {
  background: var(--success);
  border-color: var(--success);
  color: var(--text-main);
  box-shadow: 0 0 15px var(--success);
}

.timeline-step.completed .timeline-content h4 {
  color: var(--text-main);
}

.timeline-step.active .timeline-dot {
  background: rgba(255, 126, 27, 0.1);
  border-color: var(--secondary);
  color: var(--secondary);
  box-shadow: 0 0 15px rgba(255, 126, 27, 0.3);
  animation: pulse-border 2s infinite;
}

.timeline-step.active .timeline-content h4 {
  color: var(--secondary);
  font-weight: 600;
}

.timeline-step.active .timeline-content p {
  color: var(--text-main);
}

.tracker-not-found {
  display: none;
  text-align: center;
  color: var(--primary);
  background: rgba(217, 70, 239, 0.05);
  border: 1px solid rgba(217, 70, 239, 0.15);
  padding: 15px;
  border-radius: var(--border-radius-sm);
  margin-top: 20px;
  font-size: 0.9rem;
}

/* Footer style */
footer {
  background: #040406;
  border-top: 1px solid var(--border-color);
  padding: 60px 24px 30px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .footer-brand {
    grid-column: span 2;
  }
}

.footer-logo {
  height: 40px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--gradient-btn);
  color: var(--text-main);
  border-color: transparent;
  transform: translateY(-2px);
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text-main);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

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

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

@keyframes scale-up {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes glow-pulse {
  from { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6); }
  to { box-shadow: 0 4px 30px rgba(217, 70, 239, 0.08), 0 0 40px rgba(255, 126, 27, 0.05); }
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(255, 126, 27, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255, 126, 27, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 126, 27, 0); }
}

/* =====================================================
   RESPONSIVE — Large Tablet (≤ 991px): Hamburger nav
   ===================================================== */
@media (max-width: 991px) {
  nav {
    position: fixed;
    top: 79px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 79px);
    background: rgba(7, 7, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
    border-top: 1px solid var(--border-color);
    z-index: 999;
  }

  nav.active { left: 0; }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 36px;
    margin-bottom: 32px;
  }

  nav ul a { font-size: 1.3rem; }

  .menu-toggle  { display: block; }
  .nav-cta      { display: none; }
  .nav-container { padding: 15px 20px; }

  /* Form: stack estimator below form on tablet */
  .form-layout { grid-template-columns: 1fr; }

  .estimator-sidebar {
    position: static;
    width: 100%;
  }
}


/* =====================================================
   RESPONSIVE — Tablet (≤ 767px)
   ===================================================== */
@media (max-width: 767px) {

  /* --- Global --- */
  section { padding: 56px 16px; }

  .section-title { font-size: 2rem; }
  .section-desc  { font-size: 1rem; }

  /* --- Hero --- */
  .hero {
    padding-top: 120px;
    padding-bottom: 56px;
  }

  .hero-title    { font-size: 2.4rem; }
  .hero-subtitle { font-size: 1rem; }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-hero-card { min-height: auto; padding: 28px 20px; }

  /* --- Services --- */
  .services-summary {
    grid-template-columns: 1fr;
  }

  /* --- Features grid --- */
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* --- Products grid --- */
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  /* --- How it works --- */
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .action-banner { padding: 28px 20px; }
  .action-banner h3 { font-size: 1.5rem; }

  /* --- About grid --- */
  .about-features-grid { grid-template-columns: 1fr 1fr; }

  /* --- Quote Form --- */
  .interactive-form-card { padding: 20px; }

  /* Urgency: 3-col stays, but smaller text */
  .urgency-box { font-size: 0.75rem; padding: 10px 6px; }

  /* Garment grid: 3-col on tablet */
  .garment-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .garment-card { padding: 12px 8px; }
  .garment-card span { font-size: 0.72rem; }
  .garment-card svg { width: 28px; height: 28px; }

  /* Print method: 1 col */
  .method-grid { grid-template-columns: 1fr; }

  /* Upload grid: 2 columns */
  .uploaders-grid { grid-template-columns: repeat(2, 1fr); }

  /* Tracker */
  .tracker-card { padding: 24px 16px; }

  /* Footer */
  .footer-grid { gap: 28px; }

  /* Admin: metrics 2 col */
  .admin-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 24px;
  }

  .admin-table td,
  .admin-table th { padding: 12px 14px; }
}


/* =====================================================
   RESPONSIVE — Small Tablet / Large Phone (≤ 640px)
   ===================================================== */
@media (max-width: 640px) {

  /* --- Hero --- */
  .hero-title { font-size: 2rem; }

  /* --- Products grid: 2-col --- */
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  /* --- Features: 1 col --- */
  .features-grid { grid-template-columns: 1fr; }

  /* --- About feature cards: 1 col --- */
  .about-features-grid { grid-template-columns: 1fr; }

  /* --- Quote form row: stack --- */
  .form-row { grid-template-columns: 1fr; }

  /* Urgency: stack 1-col */
  .urgency-grid { grid-template-columns: 1fr; gap: 8px; }
  .urgency-box { padding: 12px; }

  /* Garment grid: 2-col */
  .garment-grid { grid-template-columns: repeat(2, 1fr); }

  /* Print method: stay 1-col */
  .method-box { padding: 12px 14px; }

  /* Upload grid: 1 col */
  .uploaders-grid { grid-template-columns: 1fr; }

  /* Estimator summary list */
  .estimator-breakdown li { flex-direction: column; gap: 2px; }

  /* Tracker form inline: stack */
  .tracker-form-inline { flex-direction: column; }
  .tracker-form-inline input { width: 100%; }

  /* Footer: single col */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }

  /* Admin nav: hide badge text, show icon only */
  .admin-badge span { display: none; }
}


/* =====================================================
   RESPONSIVE — Phone (≤ 480px)
   ===================================================== */
@media (max-width: 480px) {

  /* Global */
  section { padding: 44px 12px; }
  .section-title { font-size: 1.75rem; }
  .container { padding: 0 4px; }

  /* Nav */
  .logo-img { height: 38px; }

  /* Hero */
  .hero { padding-top: 100px; padding-bottom: 44px; }
  .hero-title { font-size: 1.8rem; line-height: 1.1; }
  .hero-subtitle { font-size: 0.92rem; }
  .cta-btn { padding: 10px 18px; font-size: 0.85rem; }

  /* Services */
  .service-summary-card { padding: 22px 18px; }

  /* Steps: 1 col */
  .steps-grid { grid-template-columns: 1fr; }
  .step-num { font-size: 2.8rem; }

  /* Garment: stay 2-col */
  .garment-card svg  { width: 26px; height: 26px; }
  .garment-card span { font-size: 0.68rem; }

  /* Positions: 2-col */
  .garment-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  /* Print method: 1 col */
  .method-grid { grid-template-columns: 1fr; }

  /* Quantity slider */
  .quantity-labels { font-size: 0.65rem; }
  .quantity-val { font-size: 0.95rem; }

  /* Upload */
  .upload-slot-zone { padding: 12px 10px; font-size: 0.75rem; }

  /* Price estimator */
  .price-range-value { font-size: 1.8rem; }

  /* Submit btn */
  .submit-quote-btn { font-size: 0.9rem; padding: 13px 16px; }

  /* Tracker */
  .tracker-btn { width: 100%; justify-content: center; }
  .tracker-card { padding: 20px 12px; }

  /* Admin metrics: 1 col */
  .admin-metrics-grid { grid-template-columns: 1fr; }
  .admin-nav-container { flex-direction: column; gap: 10px; align-items: flex-start; }
  .admin-brand { flex-wrap: wrap; }
}


/* =====================================================
   MODAL — Full-screen on phones
   ===================================================== */
@media (max-width: 640px) {
  .order-modal-overlay { padding: 0; align-items: flex-end; }

  .order-modal {
    max-width: 100%;
    max-height: 95vh;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  }

  .order-modal-header { padding: 16px 18px; }
  .order-modal-body  { padding: 16px 18px; }
  .order-modal-footer { padding: 12px 18px; flex-direction: column-reverse; }

  .modal-download-all-btn,
  .order-modal-close-btn { width: 100%; justify-content: center; }

  .modal-info-grid { grid-template-columns: 1fr; }

  .modal-file-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
  .modal-file-cards { grid-template-columns: 1fr; }
  .order-modal-title { font-size: 1.1rem; }
}


/* ==========================================
   Admin Portal Dashboard Styles
   ========================================== */
.admin-view {
  background-color: var(--bg-dark);
  min-height: 100vh;
  padding-bottom: 80px;
}

.admin-nav-bar-section {
  background: rgba(17, 17, 24, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 24px;
}

.admin-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.admin-brand img {
  height: 40px;
  width: auto;
}

.admin-badge {
  background: rgba(255, 126, 27, 0.15);
  color: var(--secondary);
  border: 1px solid rgba(255, 126, 27, 0.3);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 30px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  transition: var(--transition);
}

.metric-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-header i {
  font-size: 1.2rem;
}

.metric-number {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 4px;
}

.metric-sub {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.admin-controls-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

@media (min-width: 768px) {
  .admin-controls-card {
    flex-direction: row;
  }
}

.control-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-controls-right {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-control-btn {
  border: none;
  color: var(--text-main);
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.admin-control-btn.btn-excel {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success);
}

.admin-control-btn.btn-excel:hover {
  background: var(--success);
  color: var(--bg-dark);
}

.admin-control-btn.btn-pdf {
  background: rgba(217, 70, 239, 0.1);
  border: 1px solid rgba(217, 70, 239, 0.3);
  color: var(--primary);
}

.admin-control-btn.btn-pdf:hover {
  background: var(--primary);
  color: var(--text-main);
}

.admin-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 680px;  /* forces horizontal scroll on mobile instead of squishing */
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  text-align: left;
  padding: 16px 20px;
}

.admin-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: middle;
}

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

.admin-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.01);
}

.admin-status-select {
  background: rgba(7, 7, 10, 0.6);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.admin-status-select:focus {
  border-color: var(--primary);
}

.admin-delete-btn {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px 8px;
  transition: var(--transition);
}

.admin-delete-btn:hover {
  color: #f87171;
  transform: scale(1.1);
}

.admin-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.admin-empty-state i {
  font-size: 3rem;
  color: var(--border-hover);
  margin-bottom: 16px;
}

.admin-empty-state h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.admin-empty-state p {
  font-size: 0.9rem;
  max-width: 400px;
  margin: 0 auto;
}

/* Print Overrides for PDF Saving */
@media print {
  body {
    background: white !important;
    color: black !important;
  }
  
  .bg-decor,
  #site-header,
  .admin-nav-bar-section,
  .admin-controls-card,
  .admin-delete-btn,
  .admin-table td:last-child,
  .admin-table th:last-child {
    display: none !important;
  }
  
  .admin-view {
    padding: 0 !important;
  }
  
  .admin-metrics-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    margin-top: 0 !important;
    margin-bottom: 40px !important;
    gap: 15px !important;
  }
  
  .metric-card {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: black !important;
    padding: 15px !important;
  }
  
  .metric-header {
    color: #475569 !important;
  }
  
  .metric-number {
    color: black !important;
    font-size: 1.8rem !important;
  }
  
  .metric-sub {
    color: #64748b !important;
  }
  
  .admin-table-container {
    border: 1px solid #cbd5e1 !important;
    background: white !important;
  }
  
  .admin-table {
    color: black !important;
  }
  
  .admin-table th {
    background: #f8fafc !important;
    color: #475569 !important;
    border-bottom: 2px solid #cbd5e1 !important;
    padding: 12px !important;
  }
  
  .admin-table td {
    color: black !important;
    border-bottom: 1px solid #cbd5e1 !important;
    padding: 12px !important;
  }
  
  .admin-status-select {
    border: none !important;
    background: none !important;
    color: black !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    padding: 0 !important;
    font-weight: bold !important;
  }
}

/* Custom visual print location marker styles override */
.garment-card svg circle {
  fill: var(--secondary) !important;
  stroke: none !important;
}

.garment-card svg path[stroke="white"] {
  stroke: #ffffff !important;
  stroke-width: 1.5px !important;
}

/* Dynamic location-based upload slots */
.upload-slot-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 18px;
  margin-bottom: 16px;
  transition: var(--transition);
}

.upload-slot-card:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.02);
}

.upload-slot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.upload-slot-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.upload-slot-title i {
  color: var(--secondary);
}

.upload-slot-zone {
  border: 1.5px dashed var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 14px 20px;
  text-align: center;
  background: rgba(7, 7, 10, 0.3);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.upload-slot-zone:hover, .upload-slot-zone.dragover {
  border-color: var(--primary);
  background: rgba(217, 70, 239, 0.02);
  color: var(--text-main);
}

/* Hidden file input inside upload zones - triggered via JS click handler */
.upload-slot-zone input[type="file"] {
  display: none;
}

.upload-slot-zone i {
  font-size: 1rem;
  transition: var(--transition);
}

.upload-slot-zone:hover i {
  transform: translateY(-2px);
  color: var(--primary);
}

.upload-slot-placeholder {
  text-align: center;
  color: var(--primary);
  background: rgba(217, 70, 239, 0.05);
  border: 1px solid rgba(217, 70, 239, 0.15);
  padding: 20px;
  border-radius: var(--border-radius-md);
  font-size: 0.9rem;
}

/* Static uploaders grid layouts */
.uploaders-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
  margin-top: 15px;
}

@media (min-width: 576px) {
  .uploaders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .uploaders-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.upload-slot-location-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  text-align: center;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}


/* ==========================================
   Admin Order Detail Modal
   ========================================== */
.order-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.order-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.order-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 860px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8), 0 0 40px rgba(217,70,239,0.08);
  transform: scale(0.95) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.order-modal-overlay.active .order-modal {
  transform: scale(1) translateY(0);
}

.order-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(135deg, rgba(255,126,27,0.06) 0%, rgba(217,70,239,0.06) 100%);
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 12px;
}

.order-modal-title-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.order-modal-ref {
  background: rgba(255,126,27,0.12);
  color: var(--secondary);
  border: 1px solid rgba(255,126,27,0.25);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-block;
  width: fit-content;
}

.order-modal-title {
  font-size: 1.4rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.order-modal-title i { color: var(--primary); font-size: 1.1rem; }

.order-modal-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.order-modal-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.order-modal-close {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.order-modal-close:hover {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.3);
  color: #ef4444;
}

.order-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-hover) transparent;
}

.order-modal-body::-webkit-scrollbar { width: 5px; }
.order-modal-body::-webkit-scrollbar-track { background: transparent; }
.order-modal-body::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }

.modal-section {
  background: rgba(255,255,255,0.015);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 18px 22px;
}

.modal-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-section-title i { color: var(--secondary); font-size: 0.9rem; }

.modal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.modal-info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.modal-info-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.modal-info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.modal-price {
  font-size: 1.1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-positions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}

.modal-position-tag {
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.28);
  color: var(--accent);
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* File location groups inside modal */
.modal-location-group { margin-bottom: 18px; }
.modal-location-group:last-child { margin-bottom: 0; }

.modal-location-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.modal-location-label::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 13px;
  background: var(--secondary);
  border-radius: 2px;
  flex-shrink: 0;
}

.modal-file-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.modal-file-card {
  background: rgba(7,7,10,0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.modal-file-card:hover {
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.modal-file-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.modal-file-thumb-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(217,70,239,0.05);
  font-size: 2.2rem;
  color: var(--primary);
  opacity: 0.7;
}

.modal-file-info {
  padding: 9px 11px;
}

.modal-file-name {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.modal-file-size {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.modal-file-download-btn {
  width: 100%;
  background: rgba(255,126,27,0.08);
  border: 1px solid rgba(255,126,27,0.2);
  color: var(--secondary);
  padding: 6px;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: var(--transition);
  text-decoration: none;
}

.modal-file-download-btn:hover {
  background: var(--secondary);
  color: var(--bg-dark);
  border-color: var(--secondary);
}

.modal-no-files {
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
  font-size: 0.86rem;
  background: rgba(255,255,255,0.01);
  border: 1px dashed var(--border-color);
  border-radius: var(--border-radius-sm);
}

.modal-no-files i {
  font-size: 1.6rem;
  margin-bottom: 8px;
  display: block;
  opacity: 0.35;
}

.modal-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.modal-save-status-btn {
  background: var(--gradient-btn);
  border: none;
  color: var(--text-main);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.modal-save-status-btn:hover {
  background: var(--gradient-btn-hover);
  transform: translateY(-1px);
}

.order-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 28px;
  border-top: 1px solid var(--border-color);
  background: rgba(7,7,10,0.3);
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-download-all-btn {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--success);
  padding: 9px 18px;
  border-radius: 7px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
}

.modal-download-all-btn:hover {
  background: var(--success);
  color: var(--bg-dark);
}

.order-modal-close-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 9px 18px;
  border-radius: 7px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
}

.order-modal-close-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-main);
}

/* Clickable rows in admin table */
.admin-table tbody tr { cursor: pointer; }
.admin-table tbody tr:hover td { background: rgba(255,126,27,0.04) !important; }

/* "View" button per row */
.admin-view-btn {
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  color: var(--accent);
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  white-space: nowrap;
  margin-bottom: 4px;
}

.admin-view-btn:hover {
  background: var(--accent);
  color: var(--text-main);
  border-color: var(--accent);
}
