:root {
  --primary: #021859;
  --primary-dark: #010d33;
  --primary-soft: #063b9a;

  --secondary: #ff6b00;
  --secondary-dark: #d95800;

  --accent: #1e90ff;
  --accent-2: #00b7ff;

  --white: #ffffff;
  --dark: #0f172a;
  --text: #334155;
  --muted: #64748b;

  --light: #f8fafc;
  --light-2: #eef4ff;
  --border: #e2e8f0;

  --shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.12);

  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--light);
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

/* =========================
   HEADER
   ========================= */

.site-header {
  background: rgba(1, 13, 51, 0.96);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.02em;
}

.brand strong {
  color: var(--white);
}

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--secondary), #ff8c2f);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  box-shadow: 0 14px 35px rgba(255, 107, 0, 0.32);
}

.menu {
  display: flex;
  gap: 28px;
  align-items: center;
  font-weight: 700;
}

.menu a {
  color: #eaf2ff;
  transition: 0.25s;
}

.menu a:hover,
.menu a.active {
  color: var(--secondary);
}

.cart-link {
  background: linear-gradient(135deg, var(--secondary), #ff8c2f);
  padding: 11px 16px;
  border-radius: 999px;
  color: white !important;
  box-shadow: 0 14px 35px rgba(255, 107, 0, 0.28);
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: white;
  font-size: 2rem;
}

/* =========================
   HERO TECHNOLOGIQUE
   ========================= */

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  padding: 95px 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(30, 144, 255, 0.42), transparent 24%),
    radial-gradient(circle at 10% 92%, rgba(255, 107, 0, 0.22), transparent 28%),
    linear-gradient(135deg, #010d33 0%, #021859 45%, #063b9a 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.5;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 144, 255, 0.35), transparent 65%);
  border: 1px solid rgba(30, 144, 255, 0.2);
  box-shadow: 0 0 100px rgba(30, 144, 255, 0.24);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.45);
  color: white;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-weight: 800;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.03;
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: white;
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.35);
}

.hero h1 span,
.hero h1 strong {
  color: var(--secondary);
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 650px;
  color: #dce9ff;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* =========================
   BOUTONS
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  padding: 14px 22px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s;
}

.btn.primary,
button.btn.primary {
  background: linear-gradient(135deg, var(--secondary), #ff8c2f);
  color: white;
  box-shadow: 0 14px 32px rgba(255, 107, 0, 0.32);
}

.btn.secondary,
.btn.ghost {
  background: white;
  color: var(--primary);
  border: 1px solid var(--border);
}

.hero .btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn.mini {
  padding: 10px 14px;
  border-radius: 10px;
  background: #eef4ff;
  color: var(--primary);
  font-size: 0.9rem;
}

.btn.mini.buy {
  background: linear-gradient(135deg, var(--secondary), #ff8c2f);
  color: white;
  border: none;
}

.btn.mini.cart {
  background: white;
  color: var(--primary);
  border: 1px solid #cbd5e1;
}

.btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.04);
}

/* =========================
   HERO CARD
   ========================= */

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  padding: 26px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

.fake-product {
  background: white;
  color: var(--dark);
  border-radius: 26px;
  padding: 28px;
  min-height: 360px;
  box-shadow: var(--shadow-lg);
}

.fake-product h3 {
  color: var(--primary);
  font-weight: 900;
}

.fake-product p {
  color: var(--muted);
}

.screen {
  height: 180px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 70% 30%, rgba(30, 144, 255, 0.28), transparent 38%),
    linear-gradient(135deg, #eaf2ff, #f8fafc);
  position: relative;
  margin-bottom: 24px;
  border: 1px solid #dbeafe;
}

.screen::after {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: -18px;
  height: 20px;
  background: #0f172a;
  border-radius: 4px;
}

.fake-product strong {
  color: var(--secondary);
}

/* =========================
   SECTIONS
   ========================= */

.section {
  padding: 70px 0;
  background: var(--light);
}

.section:nth-of-type(even) {
  background: white;
}

.section-title {
  text-align: center;
  margin-bottom: 42px;
}

.section-title span {
  color: var(--secondary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-title h2 {
  color: var(--primary);
  font-size: 2.2rem;
  margin: 8px 0;
  font-weight: 900;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 82px;
  height: 4px;
  background: var(--secondary);
  border-radius: 99px;
  margin: 16px auto 0;
}

/* =========================
   CATÉGORIES
   ========================= */

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.category-card {
  background: white;
  color: var(--dark);
  padding: 26px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: 0.25s;
}

.category-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 107, 0, 0.35);
}

.category-card span {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  margin-bottom: 18px;
  box-shadow: 0 12px 30px rgba(30, 144, 255, 0.22);
}

.category-card h3 {
  color: var(--primary);
  font-weight: 900;
}

/* =========================
   PRODUITS
   ========================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background: white;
  color: var(--dark);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: 0.25s;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 107, 0, 0.32);
}

.product-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.product-info {
  padding: 20px;
  color: var(--text);
}

.product-info small {
  color: var(--secondary);
  font-weight: 900;
}

.product-info h3 {
  margin: 8px 0 8px;
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 900;
}

.product-info p {
  color: var(--muted);
  min-height: 48px;
  font-weight: 500;
}

.price {
  font-size: 1.25rem;
  color: var(--secondary);
  font-weight: 950;
  margin: 14px 0;
}

.price.large {
  font-size: 2rem;
  color: var(--secondary);
}

.product-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}

.product-actions form {
  margin: 0;
}

/* =========================
   POURQUOI CHOISIR
   ========================= */

.why {
  background:
    radial-gradient(circle at 80% 0%, rgba(30, 144, 255, 0.18), transparent 28%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 60px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.why-grid div {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
}

.why-grid h3 {
  color: white;
  font-weight: 900;
}

.why-grid p {
  color: #cfe2ff;
}

/* =========================
   PAGE HERO
   ========================= */

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(30, 144, 255, 0.35), transparent 26%),
    linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-soft));
  color: white;
  padding: 70px 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.45;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin: 0 0 10px;
  color: white;
  text-transform: uppercase;
}

.page-hero p {
  color: #dce9ff;
}

/* =========================
   FILTRES / FORMULAIRES
   ========================= */

.catalog-filter {
  background: white;
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 240px auto;
  gap: 14px;
  margin-bottom: 32px;
  border: 1px solid var(--border);
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 13px;
  font: inherit;
  background: white;
  color: var(--dark);
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

textarea {
  min-height: 120px;
}

/* =========================
   DÉTAIL PRODUIT
   ========================= */

.product-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.product-gallery {
  background: white;
  padding: 22px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.product-gallery img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 20px;
  background: #f8fafc;
}

.product-detail-info {
  background: white;
  color: var(--text);
  padding: 32px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.product-detail-info h1,
.product-detail-info h2,
.product-detail-info h3 {
  color: var(--primary);
  font-weight: 900;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.description {
  line-height: 1.8;
  color: var(--text);
  margin: 18px 0;
}

.order-box {
  background: linear-gradient(135deg, #eef4ff, #fff7ed);
  border: 1px solid rgba(255, 107, 0, 0.22);
  padding: 18px;
  border-radius: 20px;
  margin-top: 20px;
}

.buy-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* =========================
   PANIER / COMMANDES / CONTACT
   ========================= */

.cart-list {
  display: grid;
  gap: 16px;
}

.cart-item {
  background: white;
  color: var(--text);
  border-radius: 22px;
  padding: 16px;
  display: grid;
  grid-template-columns: 90px 1fr auto auto;
  gap: 18px;
  align-items: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.cart-item h3 {
  color: var(--primary);
}

.cart-item p {
  color: var(--muted);
}

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

.link-danger,
.danger {
  border: 0;
  background: none;
  color: #dc2626;
  cursor: pointer;
  font-weight: 900;
}

.cart-total,
.empty,
.success,
.form-card,
.summary-card,
.contact-card {
  background: white;
  color: var(--text);
  padding: 32px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-top: 22px;
}

.form-card h1,
.form-card h2,
.form-card h3,
.summary-card h1,
.summary-card h2,
.summary-card h3,
.contact-card h1,
.contact-card h2,
.contact-card h3,
.success h1,
.success h2,
.success h3 {
  color: var(--primary);
  font-weight: 900;
}

.checkout-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.form-card {
  display: grid;
  gap: 14px;
}

.muted {
  color: var(--muted);
}

.success-note {
  background: #e8fff5;
  color: #087d53;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #b7f3dc;
}

.warning-note {
  background: #fff7ed;
  color: #c2410c;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #fed7aa;
}

/* =========================
   WHATSAPP
   ========================= */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 22px;
  background: #25d366;
  color: white;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 16px 45px rgba(37, 211, 102, 0.35);
  z-index: 60;
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 107, 0, 0.14), transparent 25%),
    linear-gradient(135deg, var(--primary-dark), var(--primary) 70%, var(--primary-dark));
  color: white;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 107, 0, 0.32);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 30px;
  padding: 46px 0;
}

.footer-grid h3,
.footer-grid h4 {
  color: white;
}

.footer-grid p {
  color: #cfe2ff;
}

.footer-grid a {
  display: block;
  color: #cfe4ff;
  margin: 8px 0;
  transition: 0.25s;
}

.footer-grid a:hover {
  color: var(--secondary);
}

.copyright {
  text-align: center;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #bdd3ef;
}

/* =========================
   ADMIN
   ========================= */

.admin-login,
.premium-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(255, 107, 0, 0.18), transparent 28%),
    linear-gradient(135deg, var(--primary-dark), var(--primary) 55%, var(--primary-soft));
  padding: 24px;
}

.login-box {
  background: white;
  color: var(--text);
  width: min(420px, 92%);
  padding: 34px;
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
  display: grid;
  gap: 14px;
}

.login-box h1,
.login-box h2 {
  color: var(--primary);
  font-weight: 900;
}

.alert {
  background: #fee2e2;
  color: #991b1b;
  padding: 12px;
  border-radius: 12px;
}

.admin-shell,
.premium-admin {
  display: grid;
  grid-template-columns: 292px 1fr;
  min-height: 100vh;
  background: #f4f7fb;
}

.admin-side {
  background: linear-gradient(180deg, var(--primary-dark), var(--primary) 65%, var(--primary-dark));
  color: white;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 0;
  height: 100vh;
  box-shadow: 20px 0 60px rgba(6, 28, 56, 0.18);
  border-right: 1px solid rgba(255, 107, 0, 0.2);
}

.admin-side a {
  padding: 13px;
  border-radius: 12px;
  color: #d7e8ff;
  transition: 0.22s;
}

.admin-side a:hover,
.admin-nav a:hover {
  background: rgba(255, 107, 0, 0.14);
  transform: translateX(4px);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-brand strong {
  display: block;
  font-size: 1.25rem;
  color: white;
}

.admin-brand small {
  display: block;
  color: #b8d8ff;
  margin-top: 2px;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 15px;
  border-radius: 16px;
  color: #e9f4ff;
  font-weight: 750;
  transition: 0.22s;
}

.admin-user-card {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--secondary), #ff9c52);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: white;
}

.admin-user-card small {
  display: block;
  color: #cce5ff;
}

.admin-logout {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  color: white;
  padding: 13px;
  border-radius: 16px;
  font-weight: 900;
}

.admin-main {
  padding: 30px;
  min-width: 0;
  background: #f4f7fb;
}

.admin-topbar {
  background: white;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 22px 24px;
  margin-bottom: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-topbar h1 {
  margin: 5px 0 0;
  font-size: 1.9rem;
  color: var(--primary);
  font-weight: 900;
}

.admin-kicker {
  color: var(--secondary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.admin-top-actions {
  display: flex;
  gap: 12px;
}

.admin-welcome {
  background:
    radial-gradient(circle at 90% 20%, rgba(30, 144, 255, 0.32), transparent 28%),
    linear-gradient(135deg, var(--primary-dark), var(--primary) 58%, var(--primary-soft));
  border-radius: 32px;
  padding: 34px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 24px 70px rgba(13, 71, 161, 0.22);
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}

.admin-welcome h2 {
  font-size: 2rem;
  margin: 8px 0;
  color: white;
}

.admin-welcome p {
  color: #e7f6ff;
  max-width: 620px;
  line-height: 1.7;
}

.badge.soft {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
}

.welcome-shape {
  width: 150px;
  height: 150px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  font-size: 3.5rem;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: rotate(-8deg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.stat,
.admin-card,
.admin-panel,
.admin-card-table,
.premium-form,
.admin-form {
  background: white;
  color: var(--text);
  padding: 24px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.stat {
  position: relative;
  overflow: hidden;
}

.stat::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(13, 71, 161, 0.08);
}

.stat span {
  color: var(--muted);
  font-weight: 800;
  display: block;
}

.stat strong {
  display: block;
  font-size: 2.35rem;
  margin: 8px 0;
  color: var(--primary);
}

.stat small {
  color: var(--secondary);
  font-weight: 800;
}

.admin-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.admin-panel h1,
.admin-panel h2,
.admin-panel h3,
.premium-form h1,
.premium-form h2,
.premium-form h3 {
  color: var(--primary);
  font-weight: 900;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.quick-actions a {
  background: #eef4ff;
  color: var(--primary);
  padding: 16px;
  border-radius: 16px;
  font-weight: 900;
  text-align: center;
}

.admin-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0 20px;
}

.admin-title h2 {
  font-size: 1.8rem;
  margin: 4px 0 0;
  color: var(--primary);
  font-weight: 900;
}

.admin-card-table {
  padding: 0;
  overflow: hidden;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  color: var(--text);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.admin-table.modern {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
}

.admin-table th,
.admin-table.modern th {
  background: #eef4ff;
  color: var(--primary);
  padding: 17px;
  text-align: left;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-table td,
.admin-table.modern td {
  padding: 16px 17px;
  border-top: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text);
}

.admin-table.modern tr:hover td {
  background: #fbfdff;
}

.product-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.product-cell strong {
  display: block;
  color: var(--primary);
}

.product-cell small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

.thumb {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  background: #eaf1f8;
  border: 1px solid var(--border);
}

.status-pill,
.slug-pill {
  display: inline-flex;
  align-items: center;
  background: #e8fff5;
  color: #087d53;
  border: 1px solid #b7f3dc;
  border-radius: 999px;
  padding: 7px 11px;
  font-weight: 900;
  font-size: 0.86rem;
}

.slug-pill {
  background: #eef4ff;
  color: var(--primary);
  border-color: #cfe4ff;
}

.table-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.edit,
.delete {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 10px;
  font-weight: 900;
}

.edit {
  background: #eef4ff;
  color: var(--primary);
}

.delete {
  background: #fff1f2;
  color: #dc2626;
}

.premium-form {
  display: grid;
  gap: 22px;
  max-width: none;
}

.form-section {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
}

.form-section h3 {
  margin: 0 0 15px;
  color: var(--primary);
}

.form-grid {
  display: grid;
  gap: 15px;
}

.form-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.form-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.premium-form label {
  font-weight: 850;
  color: #24364d;
  margin-bottom: 7px;
  display: block;
}

.check-line {
  display: flex !important;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.check-line input {
  width: auto;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.inline-form {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  align-items: center;
}

.premium-inline {
  background: #f8fafc;
  border-radius: 18px;
  padding: 12px;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.admin-filter {
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 22px;
  padding: 16px;
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
}

.admin-filter.advanced {
  grid-template-columns: 1fr 1fr 160px 160px auto auto auto;
}

.btn.export {
  background: #0f766e;
  color: white;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1000px) {
  .premium-admin,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-side {
    height: auto;
    position: relative;
  }

  .admin-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-topbar,
  .admin-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .stats-grid,
  .admin-panel-grid,
  .order-detail-grid,
  .form-grid.two,
  .form-grid.three {
    grid-template-columns: 1fr;
  }

  .login-layout {
    grid-template-columns: 1fr;
  }

  .login-visual {
    padding: 34px;
  }
}

@media (max-width: 900px) {
  .menu {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .menu.active {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .hero-grid,
  .product-detail,
  .checkout-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .catalog-filter,
  .admin-filter,
  .admin-filter.advanced {
    grid-template-columns: 1fr;
  }

  .why-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .admin-main {
    padding: 18px;
  }

  .admin-nav {
    grid-template-columns: 1fr;
  }

  .admin-card-table {
    overflow-x: auto;
  }

  .quick-actions {
    grid-template-columns: 1fr;
  }

  .welcome-shape {
    display: none;
  }

  .login-visual h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 560px) {
  .product-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 70px 1fr;
  }

  .cart-item strong,
  .cart-item form {
    grid-column: 2;
  }
}


.hero-slider{
    position:relative;
    height:650px;
    overflow:hidden;
}

.hero-slide{

    position:absolute;
    inset:0;

    opacity:0;
    visibility:hidden;

    transition:.8s ease;

    display:flex;
    align-items:center;

    background:
        linear-gradient(
            rgba(1,13,51,.55),
            rgba(1,13,51,.75)
        ),
        url('../images/hero-tech.jpg');

    background-size:cover;
    background-position:center;
}

.hero-slide.active{
    opacity:1;
    visibility:visible;
}

.hero-content{

    max-width:700px;
    color:white;
    z-index:2;
}

.hero-content h1{

    font-size:4rem;
    font-weight:900;
    line-height:1.05;
    margin-bottom:20px;
}

.hero-content h1 span{

    color:#ff6b00;
}

.hero-content p{

    font-size:1.2rem;
    color:#dce9ff;
    line-height:1.8;
}

.hero-dots{

    position:absolute;
    bottom:30px;
    left:50%;

    transform:translateX(-50%);

    display:flex;
    gap:10px;

    z-index:5;
}

.dot{

    width:14px;
    height:14px;

    border-radius:50%;

    background:rgba(255,255,255,.3);

    cursor:pointer;
}

.dot.active{

    background:#ff6b00;
}