/* ===== Mehr Perfume — Custom Styles ===== */

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

:root {
  --gold: #C9A84C;
  --gold-light: #E8D48B;
  --gold-dark: #A8872E;
  --black: #0A0A0A;
  --black-light: #1A1A1A;
  --black-card: #141414;
  --gray-900: #1E1E1E;
  --gray-800: #2A2A2A;
  --gray-700: #3A3A3A;
  --gray-600: #555555;
  --gray-400: #999999;
  --gray-300: #BBBBBB;
  --white: #F5F5F0;
  --white-pure: #FFFFFF;
  --danger: #E74C3C;
  --success: #2ECC71;
  --warning: #F39C12;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--gold);
}

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

a:hover {
  color: var(--gold-light);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.7rem 2rem;
  background: rgba(10, 10, 10, 0.98);
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
}

.nav-brand span {
  color: var(--white);
  font-weight: 300;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--gray-300);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.cart-icon {
  position: relative;
  font-size: 1.2rem;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(20, 20, 20, 0.9)),
    url('https://images.unsplash.com/photo-1541643600914-78b084683601?w=1920') center/cover;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title span {
  color: var(--gold);
}

.hero-text {
  font-size: 1.1rem;
  color: var(--gray-400);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: var(--transition);
}

.hero-btn:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.2);
}

/* ===== Section ===== */
.section {
  padding: 5rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--gray-400);
  font-size: 1rem;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto 0;
}

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

.product-card {
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(201, 168, 76, 0.05);
}

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

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

.product-card-img-wrapper {
  overflow: hidden;
  position: relative;
}

.product-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(201, 168, 76, 0.9);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.product-card-body {
  padding: 1.25rem;
}

.product-card-brand {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.3rem;
}

.product-card-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

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

/* ===== Filter Tabs ===== */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.6rem 1.8rem;
  border: 1px solid var(--gray-700);
  background: transparent;
  color: var(--gray-400);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 30px;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* ===== Search Bar ===== */
.search-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.search-bar input {
  width: 100%;
  max-width: 500px;
  padding: 0.85rem 1.5rem;
  padding-left: 3rem;
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: 50px;
  outline: none;
  transition: var(--transition);
}

.search-bar input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.1);
}

.search-bar input::placeholder {
  color: var(--gray-600);
}

.search-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.search-wrapper i {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-600);
}

/* ===== Product Detail ===== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding-top: 6rem;
  max-width: 1100px;
  margin: 0 auto;
}

.product-detail-img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.product-detail-brand {
  font-size: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.product-detail-name {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.product-detail-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.product-detail-desc {
  color: var(--gray-400);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.stock-badge.in-stock {
  background: rgba(46, 204, 113, 0.15);
  color: var(--success);
}

.stock-badge.out-of-stock {
  background: rgba(231, 76, 60, 0.15);
  color: var(--danger);
}

/* ===== Quantity Selector ===== */
.qty-selector {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.5rem;
}

.qty-btn {
  width: 44px;
  height: 44px;
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.qty-btn:first-child {
  border-radius: 8px 0 0 8px;
}

.qty-btn:last-child {
  border-radius: 0 8px 8px 0;
}

.qty-input {
  width: 60px;
  height: 44px;
  text-align: center;
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-left: none;
  border-right: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 8px;
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-danger {
  background: var(--danger);
  color: var(--white-pure);
  border-color: var(--danger);
}

.btn-danger:hover {
  background: transparent;
  color: var(--danger);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

/* ===== Cart Table ===== */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.cart-table thead th {
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid var(--gray-700);
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.cart-table tbody td {
  padding: 1rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  vertical-align: middle;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--gray-700);
}

.cart-item-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
}

.cart-item-brand {
  font-size: 0.75rem;
  color: var(--gray-400);
}

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

.remove-btn:hover {
  color: #ff6b6b;
  transform: scale(1.2);
}

/* ===== Order Summary ===== */
.order-summary {
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 12px;
  padding: 2rem;
}

.order-summary h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-700);
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: var(--gray-400);
}

.order-summary-row.total {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  border-top: 1px solid var(--gray-700);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* ===== Form Styles ===== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gray-300);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: 8px;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.1);
}

.form-control::placeholder {
  color: var(--gray-600);
}

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

select.form-control {
  appearance: none;
  cursor: pointer;
}

/* ===== Toast Notifications ===== */
.toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.4s ease, fadeOut 0.4s ease 2.6s forwards;
  min-width: 280px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.toast.success {
  background: linear-gradient(135deg, #1a3a2a, #0d2a1d);
  border-left: 4px solid var(--success);
}

.toast.error {
  background: linear-gradient(135deg, #3a1a1a, #2a0d0d);
  border-left: 4px solid var(--danger);
}

.toast.warning {
  background: linear-gradient(135deg, #3a2d1a, #2a1f0d);
  border-left: 4px solid var(--warning);
}

.toast.info {
  background: linear-gradient(135deg, #1a1a3a, #0d0d2a);
  border-left: 4px solid #3498db;
}

/* ===== Footer ===== */
.footer {
  background: var(--black-card);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 3rem 2rem 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-brand span {
  color: var(--white);
  font-weight: 300;
}

.footer-desc {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-heading {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  color: var(--gold);
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

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

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-800);
  color: var(--gray-600);
  font-size: 0.8rem;
  max-width: 1300px;
  margin: 0 auto;
}

/* ===== Admin ===== */
.admin-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 72px;
}

.admin-sidebar {
  width: 250px;
  background: var(--black-card);
  border-right: 1px solid rgba(201, 168, 76, 0.1);
  padding: 2rem 0;
  position: fixed;
  top: 72px;
  bottom: 0;
  overflow-y: auto;
}

.admin-sidebar-nav {
  list-style: none;
}

.admin-sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: var(--transition);
}

.admin-sidebar-nav li a:hover,
.admin-sidebar-nav li a.active {
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold);
  border-right: 3px solid var(--gold);
}

.admin-content {
  flex: 1;
  margin-left: 250px;
  padding: 2rem;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.admin-header h1 {
  font-size: 1.8rem;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 12px;
  padding: 1.5rem;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
}

.stat-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold);
}

.stat-card-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-heading);
}

.stat-card-label {
  color: var(--gray-400);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Admin Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.admin-table thead th {
  text-align: left;
  padding: 1rem 1.25rem;
  background: rgba(201, 168, 76, 0.06);
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.admin-table tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.06);
  color: var(--gray-300);
  font-size: 0.9rem;
}

.admin-table tbody tr:hover {
  background: rgba(201, 168, 76, 0.03);
}

.admin-table-img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

/* Status Badges */
.status-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.pending {
  background: rgba(243, 156, 18, 0.15);
  color: var(--warning);
}

.status-badge.processing {
  background: rgba(52, 152, 219, 0.15);
  color: #3498db;
}

.status-badge.shipped {
  background: rgba(155, 89, 182, 0.15);
  color: #9b59b6;
}

.status-badge.delivered {
  background: rgba(46, 204, 113, 0.15);
  color: var(--success);
}

.status-badge.cancelled {
  background: rgba(231, 76, 60, 0.15);
  color: var(--danger);
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal {
  background: var(--gray-900);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  transform: translateY(20px);
  transition: var(--transition);
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-700);
}

.modal-header h2 {
  font-size: 1.4rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--gray-400);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

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

/* ===== Confirmation ===== */
.confirmation-container {
  max-width: 600px;
  margin: 0 auto;
  padding-top: 6rem;
  text-align: center;
}

.confirmation-icon {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: 1.5rem;
  animation: bounceIn 0.6s ease;
}

.confirmation-container h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.confirmation-container h1 span {
  color: var(--gold);
}

/* ===== Login Page ===== */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.login-box {
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 16px;
  padding: 3rem;
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.login-box h1 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.login-box p {
  color: var(--gray-400);
  margin-bottom: 2rem;
}

/* ===== Checkout Grid ===== */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  padding-top: 2rem;
}

/* ===== Empty / Loading States ===== */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state i {
  font-size: 4rem;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.empty-state h3 {
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--gray-600);
}

.loader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
}

.loader::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-700);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ===== About Section ===== */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(201, 168, 76, 0.15);
}

/* ===== Tracking Timeline ===== */
.tracking-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1.5rem 0;
}

.tracking-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.tracking-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gray-800);
  border: 2px solid var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.4s ease;
  z-index: 2;
}

.tracking-step.active .tracking-step-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

.tracking-step.current .tracking-step-icon {
  animation: pulse-gold 2s infinite;
}

.tracking-step-label {
  font-size: 0.75rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  white-space: nowrap;
}

.tracking-step.active .tracking-step-label {
  color: var(--gold);
}

.tracking-line {
  width: 60px;
  height: 3px;
  background: var(--gray-700);
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.tracking-line.active {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.2);
}

@keyframes pulse-gold {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.3);
  }

  50% {
    box-shadow: 0 0 25px rgba(201, 168, 76, 0.5);
  }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }

  50% {
    transform: scale(1.05);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .admin-sidebar {
    display: none;
  }

  .admin-content {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 0.75rem;
    letter-spacing: 4px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .cart-table {
    font-size: 0.85rem;
  }

  .cart-item-img {
    width: 50px;
    height: 50px;
  }

  .tracking-steps {
    gap: 0;
  }

  .tracking-step-icon {
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
  }

  .tracking-step-label {
    font-size: 0.6rem;
  }

  .tracking-line {
    width: 30px;
  }
}

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

  .product-card-img {
    height: 240px;
  }

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

  .navbar {
    padding: 0.8rem 1rem;
  }

  .section {
    padding: 3rem 1rem;
  }
}