/* assets/css/main.css */

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

:root {
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --dark: #0d0d0d;
  --dark-2: #1a1a1a;
  --dark-3: #252525;
  --surface: #f7f5f0;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --border: #e0d9cc;
  --success: #2e7d32;
  --danger: #c62828;
  --warning: #f57f17;
  --info: #1565c0;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.14);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", sans-serif;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  font-size: 15px;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

.app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  min-width: 1.1em;
  line-height: 1;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dark);
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}

.logo-text em {
  color: var(--gold);
  font-style: normal;
}

.main-nav {
  display: flex;
  gap: 4px;
  flex: 1;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  letter-spacing: 0.2px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cart-btn {
  position: relative;
  color: var(--white);
  font-size: 20px;
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.cart-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gold);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
}

.user-menu {
  position: relative;
}

.user-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold);
  padding: 7px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.user-toggle:hover {
  background: rgba(201, 168, 76, 0.25);
}

.user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--dark-2);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-lg);
  padding: 8px;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
}

.user-menu:hover .user-dropdown {
  display: block;
}

.user-dropdown a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  padding: 9px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  transition: var(--transition);
}

.user-dropdown a:hover {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-outline,
.btn-danger,
.btn-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 22px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

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

.btn-danger {
  background: var(--danger);
  color: var(--white);
  border-color: var(--danger);
}
.btn-success {
  background: var(--success);
  color: var(--white);
  border-color: var(--success);
}
.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
}
.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}

/* ===== MAIN ===== */
.site-main {
  min-height: 70vh;
}

/* ===== HERO ===== */
.hero {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
  display: block;
}

.hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 440px;
}

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

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}
.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: var(--transition);
}

.hero-card:first-child {
  grid-column: span 2;
}

.hero-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.05);
}

.hero-card-icon {
  font-size: 28px;
  margin-bottom: 10px;
}
.hero-card-title {
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}
.hero-card-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

/* ===== SECTION ===== */
.section {
  padding: 72px 24px;
}
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 16px;
}

.section-dark {
  background: var(--dark);
  padding: 72px 24px;
}

.section-dark .section-header h2 {
  color: var(--white);
}
.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== CATEGORIES ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.category-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.category-card .icon {
  font-size: 36px;
  margin-bottom: 10px;
}
.category-card h3 {
  font-size: 14px;
  font-weight: 600;
}
.category-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== PRODUCT CARDS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 168, 76, 0.4);
}

.product-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--surface);
}

.product-thumb-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #f5f0e8, #ede5d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(0, 0, 0, 0.15);
}

.product-body {
  padding: 18px;
}
.product-cat {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-location {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
}

.product-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}

.product-rating {
  font-size: 12px;
  color: var(--text-muted);
}
.stars {
  color: var(--gold);
  font-size: 13px;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

textarea {
  resize: vertical;
  min-height: 110px;
}
select {
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.required {
  color: var(--danger);
}

/* ===== ALERTS ===== */
.alert {
  padding: 12px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
}

.alert-success {
  background: #e8f5e9;
  border-color: #a5d6a7;
  color: #2e7d32;
}
.alert-danger {
  background: #ffebee;
  border-color: #ffcdd2;
  color: #c62828;
}
.alert-warning {
  background: #fffde7;
  border-color: #fff59d;
  color: #f57f17;
}
.alert-info {
  background: #e3f2fd;
  border-color: #bbdefb;
  color: #1565c0;
}

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  position: relative;
}

.auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(201, 168, 76, 0.1) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.auth-card {
  background: var(--white);
  border-radius: 16px;
  padding: 48px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  position: relative;
}

.auth-logo {
  text-align: center;
  margin-bottom: 32px;
}

.auth-card h1 {
  font-size: 26px;
  margin-bottom: 6px;
  text-align: center;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--gold);
  font-weight: 600;
}

/* ===== DASHBOARD ===== */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 68px);
}

.sidebar {
  background: var(--dark);
  padding: 24px 16px;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
}

.sidebar-header {
  padding: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-user-name {
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
}
.sidebar-user-role {
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.65);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 2px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
}

.sidebar-nav .nav-section {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.25);
  padding: 16px 14px 6px;
  font-weight: 600;
}

.dashboard-content {
  padding: 32px;
  background: var(--surface);
}
.dashboard-title {
  font-size: 28px;
  margin-bottom: 8px;
}
.dashboard-subtitle {
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ===== STATS CARDS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.stat-card-icon {
  font-size: 32px;
}
.stat-card-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-card-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== TABLES ===== */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
}

thead th {
  background: var(--dark);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

thead th:first-child {
  border-radius: var(--radius-lg) 0 0 0;
}
thead th:last-child {
  border-radius: 0 var(--radius-lg) 0 0;
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
tbody tr:last-child {
  border-bottom: none;
}
tbody tr:hover {
  background: rgba(201, 168, 76, 0.04);
}
td {
  padding: 14px 18px;
  vertical-align: middle;
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header h3 {
  font-size: 17px;
}
.card-body {
  padding: 24px;
}

/* ===== BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold {
  background: rgba(201, 168, 76, 0.15);
  color: #8b6914;
}
.badge-success {
  background: #e8f5e9;
  color: #2e7d32;
}
.badge-danger {
  background: #ffebee;
  color: #c62828;
}
.badge-info {
  background: #e3f2fd;
  color: #1565c0;
}
.badge-warning {
  background: #fffde7;
  color: #e65100;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 32px 0;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.page-link:hover,
.page-link.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

/* ===== PRODUCT DETAIL ===== */
.product-detail {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-gallery {
}
.product-main-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
}

.product-thumbs {
  display: flex;
  gap: 10px;
}
.product-thumb-sm {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.product-thumb-sm:hover,
.product-thumb-sm.active {
  border-color: var(--gold);
}

.product-info-section {
  position: sticky;
  top: 90px;
}
.product-info-cat {
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.product-info-title {
  font-size: 32px;
  margin-bottom: 14px;
}
.product-info-price {
  font-size: 36px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}
.product-info-meta {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 24px;
}
.product-info-desc {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
}
.qty-btn {
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.qty-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}
.qty-input {
  width: 60px;
  height: 40px;
  border: 1.5px solid var(--border);
  border-left: none;
  border-right: none;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
}

.add-to-cart-section {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ===== CART ===== */
.cart-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
}
.cart-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

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

.cart-summary {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 90px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
}
.cart-summary-row.total {
  font-weight: 700;
  font-size: 18px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 16px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  padding: 72px 24px 0;
  margin-top: auto;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
}

/* ===== SEARCH BAR ===== */
.search-bar {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(201, 168, 76, 0.25);
  border-radius: 60px;
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto 48px;
}

.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 20px;
  color: var(--white);
  font-size: 15px;
  box-shadow: none;
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.search-bar input:focus {
  border: none;
  box-shadow: none;
}

.search-bar button {
  background: var(--gold);
  border: none;
  padding: 14px 24px;
  cursor: pointer;
  color: var(--dark);
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-body);
  transition: var(--transition);
}

.search-bar button:hover {
  background: var(--gold-light);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 16px 0;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--text-muted);
  transition: var(--transition);
}
.breadcrumb a:hover {
  color: var(--gold);
}
.breadcrumb span {
  color: var(--text);
  font-weight: 600;
}
.breadcrumb-sep {
  opacity: 0.4;
}

/* ===== FILTER ===== */
.filter-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.filter-bar .form-group {
  margin-bottom: 0;
  flex: 1;
  min-width: 150px;
}

/* ===== COMMENTS ===== */
.comment-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.comment-avatar {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--dark);
  font-size: 16px;
  flex-shrink: 0;
}
.comment-author {
  font-weight: 600;
  font-size: 14px;
}
.comment-date {
  font-size: 12px;
  color: var(--text-muted);
}
.comment-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== UPLOAD ===== */
.file-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.file-upload-area:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
}
.file-upload-area .upload-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.file-upload-area p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== STATUS ===== */
.status-pending {
  color: #e65100;
}
.status-confirmed {
  color: var(--info);
}
.status-shipped {
  color: var(--gold);
}
.status-delivered {
  color: var(--success);
}
.status-cancelled {
  color: var(--danger);
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 72px 24px;
}
.empty-state .empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
}
.empty-state h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.empty-state p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ===== MOBILE ===== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  margin-left: auto;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    height: auto;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .cart-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .header-actions .btn-outline {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .auth-card {
    padding: 32px 24px;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
}
