@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400;1,600&family=Jost:wght@200;300;400;500;600&display=swap');

:root {
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --gold-dark: #a07c30;
  --gold-muted: rgba(201,168,76,0.15);
  --dark: #0a0705;
  --dark-2: #120d06;
  --dark-3: #1e1509;
  --dark-4: #2c1f0f;
  --dark-5: #3a2a18;
  --cream: #f0e8d8;
  --cream-dim: #c8b99a;
  --text-muted: #7a6848;
  --border: rgba(201,168,76,0.15);
  --border-hover: rgba(201,168,76,0.4);
  --shadow: 0 24px 64px rgba(0,0,0,0.5);
  --shadow-gold: 0 8px 32px rgba(201,168,76,0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--dark);
  color: var(--cream);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--dark-5); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

/* ─── GOLD DIVIDER ─── */
.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem 0;
  opacity: 0.6;
}

/* ─── CARD ─── */
.tc-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

/* ─── FORM CONTROLS ─── */
.tc-input {
  width: 100%;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--cream);
  padding: 0.8rem 1.1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.tc-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.tc-input::placeholder { color: var(--text-muted); font-weight: 300; }
.tc-input.error { border-color: #e05252; }

/* ─── BUTTON ─── */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.75rem;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-gold:hover:not(:disabled)::before { opacity: 1; }
.btn-gold:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,168,76,0.35);
}
.btn-gold:active:not(:disabled) { transform: translateY(0); }
.btn-gold:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-outline-gold {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.3rem;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--dark); }

/* ─── SPINNER ─── */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(15,10,4,0.25);
  border-top-color: var(--dark);
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  display: none;
}
.spinner.show { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── FIELD ERROR ─── */
.field-error { font-size: 0.76rem; color: #e05252; margin-top: 0.35rem; display: none; }
.field-error.show { display: block; }

/* ─── TOAST ─── */
#toastContainer {
  position: fixed; top: 1.75rem; right: 1.75rem;
  z-index: 9999; display: flex; flex-direction: column; gap: 0.65rem;
  pointer-events: none;
}
.toast {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.3rem;
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  min-width: 240px;
  box-shadow: var(--shadow);
  animation: toastIn 0.3s cubic-bezier(0.34,1.2,0.64,1);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  pointer-events: all;
}
.toast.success { border-left: 2px solid #4caf82; }
.toast.error   { border-left: 2px solid #e05252; }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px) scale(0.96); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* ─── LABEL ─── */
.tc-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  font-weight: 500;
}

/* ─── BRAND LOGO ─── */
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-decoration: none;
}
.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 300;
}

/* ─── AUTH WRAPPER ─── */
.auth-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 20% 50%, #1e1408 0%, #0a0705 65%),
              url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.035'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding: 2rem 1rem;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 100px rgba(201,168,76,0.03);
  padding: 2.75rem 2.25rem;
}

/* ─── NAVBAR ─── */
.tc-nav {
  background: rgba(10,7,5,0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  padding: 0 2.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-xs);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--gold); background: var(--gold-muted); }

.nav-contact-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--cream-dim);
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-contact-btn:hover {
  border-color: var(--border-hover);
  color: var(--gold);
  background: var(--gold-muted);
}

.nav-cart-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  color: var(--dark);
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}
.nav-cart-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.nav-cart-badge {
  background: var(--dark);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 99px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ─── HERO BANNER ─── */
.hero-banner {
  position: relative;
  height: 100vh;
  min-height: 580px;

  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('visit.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  transform: scale(1);
  transition: transform 8s ease;

  filter: brightness(0.42) saturate(0.9);
}
@media (max-width: 768px) {

  .hero-bg {
    background-image: url('visit-mobile.jpg');
    background-size: cover;
    background-position: center center;

    transform: none;
    transition: none;

    filter: brightness(0.5);
  }

}

.hero-banner:hover .hero-bg {
  transform: scale(1.02);
}

.hero-banner:hover .hero-bg { transform: scale(1.02); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10,7,5,0.55) 0%,
      rgba(10,7,5,0.1) 40%,
      rgba(10,7,5,0.15) 60%,
      rgba(10,7,5,0.92) 100%),
    radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(10,7,5,0.4) 100%);
}

/* Subtle shimmer line across hero */
.hero-overlay::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  animation: heroFadeUp 1.1s cubic-bezier(0.4,0,0.2,1) both;
}

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

.hero-tag {
  font-size: 0.68rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero-content h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--cream);
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.hero-content h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold-light);
  display: block;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.75rem auto;
}

.hero-content p {
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  font-weight: 300;
  line-height: 2;
}

/* ─── FILTERS SECTION ─── */
.filters-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  padding: 2.75rem 2rem 2rem;
  position: relative;
}

.filters-wrap::before {
  content: 'COLLECTIONS';
  position: absolute;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* ─── FILTER BUTTONS ─── */
.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 99px;
  padding: 0.5rem 1.3rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.filter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
}
.filter-btn span { position: relative; z-index: 1; }
.filter-btn:hover {
  border-color: var(--border-hover);
  color: var(--gold);
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: transparent;
  color: var(--dark);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(201,168,76,0.25);
}

/* ─── PRODUCTS GRID ─── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
  padding: 0.5rem 2rem 5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

/* ─── PRODUCT CARD ─── */
.product-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.04), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  border-radius: inherit;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(201,168,76,0.2);
  border-color: rgba(201,168,76,0.3);
}
.product-card:hover::after { opacity: 1; }

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  display: block;
}
.product-card:hover img { transform: scale(1.06); }

.product-info {
  padding: 1.25rem 1.1rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
  font-weight: 500;
  opacity: 0.85;
}

.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--cream);
  line-height: 1.3;
  flex: 1;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* ─── BADGE ─── */
.badge-gold {
  background: var(--gold-muted);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 99px;
  padding: 0.25rem 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ─── ACCOUNT PAGE ─── */
.account-field {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color var(--transition);
}
.account-field:hover { border-color: var(--border-hover); }
.account-field .label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.account-field .value {
  font-size: 0.93rem;
  color: var(--cream);
  font-weight: 300;
}

/* ─── ADMIN ─── */
.admin-sidebar {
  width: 256px;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--dark-2) 0%, #0e0a04 100%);
  border-right: 1px solid var(--border);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
  position: relative;
}
.admin-sidebar::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201,168,76,0.25) 20%, rgba(201,168,76,0.12) 80%, transparent);
  pointer-events: none;
}

.sidebar-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.78rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--cream-dim);
  background: transparent;
  transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
  margin-bottom: 0.18rem;
  text-align: left;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.sidebar-menu-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: opacity 0.25s;
}
.sidebar-menu-item:hover {
  background: rgba(201,168,76,0.07);
  border-color: rgba(201,168,76,0.18);
  color: var(--gold-light);
  transform: translateX(2px);
}
.sidebar-menu-item:hover::before {
  opacity: 0.5;
}
.sidebar-menu-item.active {
  background: linear-gradient(135deg, rgba(201,168,76,0.18) 0%, rgba(160,124,48,0.12) 100%);
  border-color: rgba(201,168,76,0.35);
  color: var(--gold);
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(201,168,76,0.1), inset 0 1px 0 rgba(201,168,76,0.15);
  letter-spacing: 0.05em;
}
.sidebar-menu-item.active::before {
  opacity: 1;
}
.sidebar-menu-item .menu-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  opacity: 0.85;
}
.sidebar-menu-item.active .menu-icon {
  opacity: 1;
}
.sidebar-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.15), transparent);
  margin: 0.75rem 0;
}

.stat-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.stat-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-gold);
}
.stat-card .stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.stat-card .stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 600;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 3rem;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}
.footer-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 1rem;
}

.footer-heading {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.footer-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.85;
  font-weight: 300;
}

.footer-link {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  padding: 0.3rem 0;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.06em;
}

/* ─── CONTACT MODAL ─── */
.modal-overlay-contact {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.modal-overlay-contact.open { display: flex; }

.contact-modal-box {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  max-width: 360px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow), 0 0 80px rgba(201,168,76,0.06);
  animation: popScale 0.3s cubic-bezier(0.34,1.2,0.64,1);
}
@keyframes popScale {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .tc-nav { padding: 0 1.25rem; height: 60px; }
  .brand-name { font-size: 1.3rem; }
  .admin-sidebar { width: 200px; }
  .hero-banner { height: 80vh; }
  .hero-content h1 { font-size: 3rem; }
  .products-grid { padding: 0.5rem 1.25rem 4rem; gap: 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.25rem 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; padding: 1.25rem; }
}

@media (max-width: 576px) {
  .auth-card { padding: 2rem 1.5rem; }
  .tc-nav { padding: 0 1rem; }
  .filters-wrap { padding: 2.5rem 1rem 1.5rem; gap: 0.5rem; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; padding: 0.5rem 1rem 4rem; }
  .product-card img { height: 190px; }
  .nav-contact-btn { display: none; }
}


/* MOBILE HERO FIX */

@media(max-width:768px){

  .hero-banner{
    height: 78vh;
    min-height: 520px;
  }

  .hero-bg{
    background-position: center center;
  }

  .hero-content h1{
    font-size: clamp(2.8rem, 14vw, 5rem);
  }

}



/* -------------------------------------------------------------- */

/* ─── PRODUCT EDIT MODAL ─── */
.edit-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  backdrop-filter: blur(10px);
  padding: 2rem 1rem;
  overflow-y: auto;
}
.edit-modal-overlay.open { display: flex; }

.edit-modal-box {
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  width: 100%;
  max-width: 780px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,168,76,0.08);
  animation: editModalIn 0.32s cubic-bezier(0.34,1.15,0.64,1);
  overflow: hidden;
  margin: auto;
}
@keyframes editModalIn {
  from { opacity: 0; transform: scale(0.94) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.edit-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(201,168,76,0.12) 0%, rgba(160,124,48,0.06) 100%);
  border-bottom: 1px solid var(--border);
}
.edit-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--gold);
}
.edit-modal-close {
  width: 32px; height: 32px;
  background: rgba(224,82,82,0.1);
  border: 1px solid rgba(224,82,82,0.25);
  border-radius: 50%;
  color: #e05252;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}
.edit-modal-close:hover { background: rgba(224,82,82,0.22); transform: scale(1.08); }

.edit-modal-body { padding: 2rem; }

/* Edit image management */
.edit-img-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.edit-img-item {
  position: relative;
  width: 80px; height: 80px;
  border-radius: 8px;
  overflow: visible;
}
.edit-img-item img {
  width: 80px; height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: block;
}
.edit-img-item .primary-badge {
  position: absolute;
  bottom: -6px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
}
.edit-img-remove {
  position: absolute;
  top: -7px; right: -7px;
  width: 20px; height: 20px;
  background: #e05252;
  border: 2px solid var(--dark-2);
  border-radius: 50%;
  color: #fff;
  font-size: 0.62rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  transition: transform 0.15s;
  z-index: 2;
}
.edit-img-remove:hover { transform: scale(1.15); }
.edit-img-add {
  width: 80px; height: 80px;
  border: 2px dashed var(--border);
  border-radius: 8px;
  background: var(--dark-3);
  cursor: pointer;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px;
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.edit-img-add:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.05); }
.edit-img-add input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
}
.edit-img-add-icon { font-size: 1.4rem; }

.edit-upload-progress {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--gold);
  display: none;
}
.edit-upload-progress.show { display: block; }

.edit-video-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.5rem;
}
.edit-video-row {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.edit-video-row input {
  flex: 1;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--cream);
  padding: 0.55rem 0.85rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.2s;
}
.edit-video-row input:focus { border-color: var(--gold); }
.edit-video-remove {
  background: rgba(224,82,82,0.1);
  border: 1px solid rgba(224,82,82,0.3);
  color: #e05252;
  border-radius: 6px;
  width: 30px; height: 30px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  transition: background 0.2s;
  flex-shrink: 0;
}
.edit-video-remove:hover { background: rgba(224,82,82,0.22); }
.edit-add-video-btn {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.85rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  cursor: pointer;
  margin-top: 0.4rem;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.edit-add-video-btn:hover { background: rgba(201,168,76,0.16); }

.edit-modal-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  background: rgba(0,0,0,0.15);
}
.btn-save-edit {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.7rem 2rem;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.btn-save-edit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}
.btn-save-edit:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-cancel-edit {
  background: rgba(120,100,60,0.1);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.4rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-cancel-edit:hover { color: var(--cream); border-color: rgba(201,168,76,0.3); }


