@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
  --bg-primary: #070709;
  --bg-secondary: #0e0e12;
  --bg-card: #131319;
  --bg-card-hover: #191922;
  --bg-elevated: #1f1f29;
  --bg-glass: rgba(14, 14, 18, 0.88);

  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-bright: #ffd700;
  --gold-dark: #99731c;
  --gold-muted: rgba(212, 175, 55, 0.18);
  --gold-border: rgba(212, 175, 55, 0.28);
  --gold-border-strong: rgba(212, 175, 55, 0.65);
  --gold-gradient: linear-gradient(135deg, #b38728 0%, #dbd084 28%, #d4af37 55%, #f7ef8a 78%, #aa771c 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(170, 119, 28, 0.05) 100%);

  --text-primary: #f9f6f0;
  --text-secondary: #c7c2b8;
  --text-muted: #8a8479;
  --text-dark: #070709;

  --whatsapp-green: #25d366;
  --whatsapp-dark: #128c7e;
  --danger: #e74c3c;
  --success: #2ecc71;

  --font-heading: 'Amiri', serif;
  --font-body: 'Tajawal', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-card: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 1px rgba(212, 175, 55, 0.25);
  --shadow-gold: 0 8px 28px rgba(212, 175, 55, 0.22);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.06) 0%, transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: var(--font-body);
}

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Announcement Bar */
.top-bar {
  background: linear-gradient(90deg, #0b0b0e 0%, #17140d 50%, #0b0b0e 100%);
  border-bottom: 1px solid var(--gold-border);
  padding: 8px 0;
  font-size: 0.86rem;
  color: var(--gold-light);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-phones {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.84rem;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.top-phone-link:hover {
  color: var(--gold-light);
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.16);
}

.ltr-num {
  direction: ltr;
  unicode-bidi: embed;
  font-weight: 700;
  color: var(--gold-primary);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-border);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-emblem {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1b170c, #0d0b06);
  border: 1.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.96rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.1);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 15px;
  left: 15px;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-group-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-primary);
  padding: 6px 10px 4px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  padding-right: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--text-dark);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.38);
  filter: brightness(1.06);
}

.btn-outline-gold {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
}

.btn-outline-gold:hover {
  background: var(--gold-primary);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
  filter: brightness(1.06);
}

.btn-danger {
  background: rgba(231, 76, 60, 0.15);
  color: #ff7675;
  border: 1px solid rgba(231, 76, 60, 0.4);
}

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

.btn-sm {
  padding: 7px 14px;
  font-size: 0.84rem;
}

.mobile-menu-toggle {
  display: none;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 80px 0 70px;
  overflow: hidden;
  border-bottom: 1px solid var(--gold-border);
  background:
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #070709 0%, #100e09 50%, #070709 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border-strong);
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--text-primary);
}

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

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 620px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid var(--gold-border);
}

.stat-item h4 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  color: var(--gold-primary);
  line-height: 1.1;
}

.stat-item p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.hero-showcase-card {
  background: linear-gradient(145deg, #16140f 0%, #0d0d11 100%);
  border: 1.5px solid var(--gold-border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.hero-showcase-card::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(212, 175, 55, 0.25);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.showcase-ornament {
  text-align: center;
  padding: 16px 0;
}

.showcase-departments {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.dept-mini-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.dept-mini-card h5 {
  color: var(--gold-light);
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.dept-mini-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Section Headings */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-subtitle {
  display: inline-block;
  color: var(--gold-primary);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-divider {
  width: 90px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 0 auto 16px;
  border-radius: 3px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Categories Grid (9 Categories) */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 225px;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0.55;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
}

.category-card:hover::before {
  opacity: 1;
  height: 4px;
}

.category-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.category-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--gold-gradient-subtle);
  border: 1px solid var(--gold-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.category-dept-tag {
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.dept-luxury {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.dept-economy {
  background: rgba(46, 204, 113, 0.12);
  color: #7bed9f;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.category-card h3 {
  font-family: var(--font-heading);
  font-size: 1.38rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.category-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.category-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  font-size: 0.86rem;
  color: var(--gold-light);
}

/* Filters & Toolbar */
.catalog-toolbar {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.search-box {
  flex: 1;
  min-width: 240px;
  position: relative;
}

.search-input,
.form-control {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.search-input:focus,
.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--gold-gradient);
  color: var(--text-dark);
  border-color: transparent;
}

/* Product Grid & Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

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

/* Luxury Non-Fake Image Frame */
.product-media {
  position: relative;
  height: 310px;
  background: radial-gradient(circle at center, #1b1810 0%, #0b0b0e 100%);
  border-bottom: 1px solid var(--gold-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-media img.real-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-media img.real-product-img {
  transform: scale(1.04);
}

.awaiting-photo-frame {
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  border: 1px dashed rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
}

.awaiting-photo-frame svg {
  color: var(--gold-primary);
  margin-bottom: 10px;
  opacity: 0.9;
}

.awaiting-photo-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.awaiting-photo-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.quick-upload-btn {
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.quick-upload-btn:hover {
  background: var(--gold-primary);
  color: var(--text-dark);
}

.product-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.badge {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.badge-category {
  background: rgba(7, 7, 9, 0.85);
  color: var(--gold-light);
  border: 1px solid var(--gold-border-strong);
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-title a:hover {
  color: var(--gold-primary);
}

.product-desc-short {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.meta-chip {
  font-size: 0.76rem;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--text-secondary);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  margin-bottom: 16px;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.price-currency {
  font-size: 0.88rem;
  color: var(--gold-light);
  margin-right: 4px;
}

.whatsapp-line-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.product-actions {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 10px;
}

/* Single Product Details Page */
.product-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 42px;
  box-shadow: var(--shadow-card);
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-main-media {
  height: 460px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-border);
  background: radial-gradient(circle at center, #1b1810 0%, #0b0b0e 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.detail-main-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.option-selector-group {
  margin-bottom: 22px;
}

.option-label {
  display: block;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-pill {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-border);
  background: var(--bg-primary);
  color: var(--text-secondary);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.option-pill:hover,
.option-pill.selected {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-light);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

/* Stock Badges & Store Owner Dashboard KPIs */
.stock-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.stock-badge-in {
  background: rgba(46, 204, 113, 0.14);
  color: #7bed9f;
  border: 1px solid rgba(46, 204, 113, 0.35);
}

.stock-badge-low {
  background: rgba(243, 156, 18, 0.16);
  color: #feca57;
  border: 1px solid rgba(243, 156, 18, 0.45);
}

.stock-badge-out {
  background: rgba(231, 76, 60, 0.18);
  color: #ff7675;
  border: 1px solid rgba(231, 76, 60, 0.45);
}

.owner-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.owner-stat-card {
  background: linear-gradient(145deg, #16140f 0%, #101016 100%);
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.owner-stat-label {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.owner-stat-value {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1.1;
}

.owner-stat-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.stock-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-primary);
}

.stock-stepper-btn {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  border: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.stock-stepper-btn:hover {
  background: var(--gold-primary);
  color: var(--text-dark);
}

.stock-stepper-input {
  width: 48px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  text-align: center;
  font-weight: 700;
  font-size: 0.86rem;
}

/* Admin Panel & Forms */
.admin-layout {
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 24px;
  align-items: start;
}

.admin-layout > *,
.hero-grid > *,
.product-detail-card > * {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 1081px) {
  .admin-form-card {
    position: sticky;
    top: 96px;
  }
}

.admin-panel-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  min-width: 0;
  max-width: 100%;
}

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

.form-label {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.92rem;
}

.file-drop-zone {
  border: 2px dashed var(--gold-border-strong);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  background: rgba(212, 175, 55, 0.04);
  cursor: pointer;
  transition: var(--transition);
}

.file-drop-zone:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-primary);
}

.image-preview-box {
  margin-top: 14px;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  max-height: 220px;
}

.image-preview-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Admin Table */
.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 10px 8px;
  text-align: right;
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
  font-size: 0.86rem;
  vertical-align: middle;
}

.admin-table th {
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 0.88rem;
  background: rgba(212, 175, 55, 0.06);
}

.admin-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  border: 1px solid var(--gold-border);
  object-fit: cover;
  background: #0d0d11;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--gold-light);
  text-align: center;
}

/* Page Hero Banner */
.page-banner {
  padding: 54px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, #0d0b07 0%, #070709 100%);
  border-bottom: 1px solid var(--gold-border);
  text-align: center;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.breadcrumb a:hover {
  color: var(--gold-primary);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #050507;
  border-top: 1px solid var(--gold-border-strong);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold-primary);
  margin-bottom: 18px;
}

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

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

.footer-links a:hover {
  color: var(--gold-light);
  padding-right: 6px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Shopping Cart Drawer (Black & Gold RTL) */
.cart-btn-header {
  position: relative;
}

.cart-badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gold-gradient);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 430px;
  background: var(--bg-card);
  border-right: 1.5px solid var(--gold-primary);
  box-shadow: var(--shadow-card);
  z-index: 2600;
  display: flex;
  flex-direction: column;
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #16130b 0%, #101016 100%);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-drawer-footer {
  padding: 18px 22px;
  border-top: 1px solid var(--gold-border-strong);
  background: #0d0d11;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-card);
  border: 1.5px solid var(--gold-primary);
  color: var(--text-primary);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInUp 0.3s ease forwards;
}

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

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .hero-grid,
  .product-detail-card,
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--gold-border-strong);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    box-shadow: var(--shadow-card);
  }
  .main-nav.open {
    display: flex;
  }
  .dropdown-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 8px;
  }
}

@media (max-width: 560px) {
  .footer-grid,
  .hero-stats,
  .product-actions {
    grid-template-columns: 1fr;
  }
  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }
}
