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

/* Georgian font families */
:root {
  --font-nav:     'BPG Arial Caps', sans-serif;
  --font-display: 'BPG Le Studio 02 Caps', serif;
  --font-body:    'BPG Nino Medium Condenced', 'Inter', sans-serif;
}

:root {
  --white: #ffffff;
  --beige: #f5f1eb;
  --dark: #2c2c2c;
  --gold: #c8a96b;
  --bg: #ffffff;
  --fg: #2c2c2c;
  --muted: #6b6b6b;
  --border: #e8e4de;
  --card: #ffffff;
  --section-alt: #f5f1eb;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--fg); line-height: 1.6; }
.font-serif { font-family: var(--font-display); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; flex-shrink: 0; }
.logo span { color: var(--gold); }

/* Desktop nav */
.nav { display: none; align-items: center; gap: .25rem; }
.nav a {
  font-family: var(--font-nav);
  font-size: .875rem; font-weight: 500; color: var(--dark);
  padding: .5rem .875rem; border-radius: 4px;
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.nav a:hover { color: var(--gold); background: rgba(200,169,107,.08); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: .25rem; }
.icon-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--dark); transition: background .18s, color .18s;
}
.icon-btn:hover { color: var(--gold); background: rgba(200,169,107,.1); }
.badge {
  position: absolute; top: 2px; right: 2px;
  min-width: 16px; height: 16px; background: var(--gold); color: #fff;
  font-size: 10px; font-weight: 700; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}
.header .nav-cta { display: none; }

/* Hamburger */
.mobile-menu-btn {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
  gap: 5px; border-radius: 4px; padding: 0;
}
.mobile-menu-btn span {
  display: block; width: 22px; height: 2px; background: var(--dark);
  border-radius: 2px; transition: .25s;
}

/* Mobile nav drawer */
.mobile-nav-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45);
  z-index: 200; backdrop-filter: blur(2px);
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav {
  position: fixed; top: 0; right: -320px; bottom: 0; width: 300px;
  background: #fff; z-index: 201; display: flex; flex-direction: column;
  transition: right .3s cubic-bezier(.4,0,.2,1); box-shadow: -8px 0 32px rgba(0,0,0,.12);
}
.mobile-nav.open { right: 0; }
.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-nav-close {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; background: none; border: none; cursor: pointer;
  color: var(--dark); border-radius: 50%; transition: background .18s;
}
.mobile-nav-close:hover { background: var(--beige); }
.mobile-nav-links { flex: 1; padding: 1rem 0; overflow-y: auto; }
.mobile-nav-links a {
  display: block; padding: .875rem 1.5rem; font-size: 1rem; font-weight: 500;
  font-family: var(--font-nav);
  color: var(--dark); border-bottom: 1px solid var(--border);
  transition: color .18s, background .18s;
}
.mobile-nav-links a:first-child { border-top: none; }
.mobile-nav-links a:hover { color: var(--gold); background: rgba(200,169,107,.06); }
.mobile-nav-footer { padding: 1.25rem; flex-shrink: 0; border-top: 1px solid var(--border); }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .header .nav-cta { display: inline-flex; margin-left: .5rem; }
  .mobile-menu-btn { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.5rem; font-size: .875rem; font-weight: 500; border: none; cursor: pointer; transition: .2s; }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: #b8995e; }
.btn-outline { border: 2px solid var(--dark); background: transparent; }
.btn-outline:hover { background: var(--dark); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-sm { padding: .5rem 1rem; font-size: .8125rem; }
.btn-block { width: 100%; }

/* Hero Slider */
.hero-slider { position: relative; height: 90vh; min-height: 560px; overflow: hidden; }
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
  opacity: 0; transition: opacity .9s cubic-bezier(.4,0,.2,1);
  will-change: opacity;
}
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.75) 0%,
    rgba(0,0,0,.45) 40%,
    rgba(0,0,0,.15) 100%
  );
}
.hero-slide { align-items: flex-end; }
.hero-content {
  position: relative; z-index: 2;
  color: #fff;
  padding-bottom: 5rem;
  max-width: 720px;
  margin-left: 0;
  margin-right: auto;
}
.hero-label {
  font-family: var(--font-nav); font-size: .8rem; letter-spacing: .1em;
  color: var(--gold); margin-bottom: .875rem; display: flex; align-items: center;
  text-transform: uppercase;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  line-height: 1.15; margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
  white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.hero-desc {
  font-size: .9375rem; line-height: 1.7; max-width: 520px;
  color: rgba(255,255,255,.88);
  text-shadow: 0 1px 10px rgba(0,0,0,.8);
  margin-bottom: 1.75rem;
}
.hero-btns { display: flex; gap: .875rem; flex-wrap: wrap; }

/* Arrows */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.15); color: #fff; font-size: 1rem;
  backdrop-filter: blur(4px); transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.hero-arrow:hover { background: rgba(200,169,107,.7); }
.hero-arrow-prev { left: 1.5rem; }
.hero-arrow-next { right: 1.5rem; }

/* Dots */
.hero-dots {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: .5rem;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.4); transition: background .2s, width .3s;
  padding: 0;
}
.hero-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--section-alt); }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title h2 { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: .5rem; }
.section-title p { color: var(--muted); }

/* Stats strip */
.stats-strip { background: var(--dark); color: #fff; padding: 2.5rem 0; }
.stats-strip-inner { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; text-align: center; }
@media (min-width: 640px) { .stats-strip-inner { grid-template-columns: repeat(4,1fr); } }
.stat-item i { font-size: 1.5rem; color: var(--gold); margin-bottom: .5rem; display: block; }
.stat-item strong { display: block; font-size: 1.75rem; font-family: var(--font-display); color: var(--gold); line-height: 1.1; }
.stat-item span { font-size: .8125rem; color: rgba(255,255,255,.6); margin-top: .25rem; display: block; }

/* Reviews */
.reviews-section { background: var(--dark); }
.review-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); padding: 1.75rem; color: #fff; }
.review-card .stars { color: var(--gold); font-size: .875rem; margin-bottom: .875rem; letter-spacing: 2px; }
.review-card p { font-size: .9rem; color: rgba(255,255,255,.8); margin-bottom: 1rem; line-height: 1.7; }
.review-card strong { color: #fff; font-size: .9375rem; }
.review-card .role { font-size: .8125rem; color: rgba(255,255,255,.45); margin-top: .2rem; }

/* Custom order - dark accent */
.custom-order-section { background: linear-gradient(135deg, #1e1a15 0%, #2c2820 100%); color: #fff; }
.custom-order-section .section-title h2 { color: #fff; }
.custom-order-section .section-title p { color: rgba(255,255,255,.6); }
.custom-order-section .input,
.custom-order-section .textarea { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.15); color: #fff; }
.custom-order-section .input::placeholder,
.custom-order-section .textarea::placeholder { color: rgba(255,255,255,.4); }
.custom-order-section .input:focus,
.custom-order-section .textarea:focus { border-color: var(--gold); }

/* Contact tabs */
.contact-tabs { display: flex; gap: .5rem; margin-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 0; }
.contact-tab {
  background: none; border: none; cursor: pointer;
  padding: .75rem 1.5rem; font-size: .9rem; font-family: var(--font-nav);
  color: rgba(255,255,255,.5); border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: color .2s, border-color .2s;
}
.contact-tab:hover { color: rgba(255,255,255,.8); }
.contact-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.contact-tab-panel { display: none; }
.contact-tab-panel.active { display: block; }

/* Contact two-col */
.contact-section { background: var(--section-alt); }
.contact-layout { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .contact-layout { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-info-block { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-info-item i { width: 40px; height: 40px; background: var(--gold); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
.contact-info-item div strong { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .2rem; }
.contact-info-item div span { font-size: .875rem; color: var(--muted); }

/* Grid */
.grid-2 { display: grid; gap: 1.5rem; }
.grid-3 { display: grid; gap: 1.5rem; }
.grid-4 { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2,1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }

/* Product card */
.product-card {
  background: var(--card); overflow: hidden;
  transition: box-shadow .3s, transform .3s;
  position: relative;
}
.product-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,.12); transform: translateY(-6px); }

.product-img {
  aspect-ratio: 3/4; overflow: hidden; background: var(--beige);
  position: relative;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .product-img img { transform: scale(1.07); }

/* hover overlay on image */
.product-img-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.32);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .625rem;
  opacity: 0; transition: opacity .3s;
}
.product-card:hover .product-img-overlay { opacity: 1; }
.product-img-overlay .btn { min-width: 140px; }

/* wishlist badge top-right */
.product-wish-btn {
  position: absolute; top: .75rem; right: .75rem; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark); transition: background .2s, color .2s;
  backdrop-filter: blur(4px);
}
.product-wish-btn:hover, .product-wish-btn.active { background: var(--gold); color: #fff; }

.product-body { padding: 1rem 1.125rem 1.25rem; }
.product-body h3 {
  font-family: var(--font-display); font-size: 1.05rem;
  margin-bottom: .25rem; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.product-meta { font-size: .8125rem; color: var(--muted); margin-bottom: .625rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-price { color: var(--gold); font-weight: 700; font-size: 1.1rem; }
.product-actions { display: none; } /* actions moved to overlay */

/* Category grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 767px) { .cat-grid { grid-template-columns: 1fr 1fr; } }

.cat-card {
  position: relative; overflow: hidden; display: block;
  background: var(--dark); border-radius: 10px;
  aspect-ratio: 4/3;
}

.cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s ease, opacity .35s;
  opacity: .82; display: block;
}
.cat-card:hover img { transform: scale(1.06); opacity: .55; }

.cat-overlay {
  position: absolute; inset: 0; border-radius: 10px;
  background: linear-gradient(to top, rgba(0,0,0,.68) 0%, rgba(0,0,0,.08) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem 1.375rem;
  color: #fff;
  transition: background .35s;
}
.cat-card:hover .cat-overlay {
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}
.cat-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.05rem; margin-bottom: .2rem; line-height: 1.2;
}
.cat-overlay p { font-size: .8rem; color: rgba(255,255,255,.65); margin: 0; }

/* gold arrow bottom-right on hover */
.cat-arrow {
  position: absolute; bottom: 1.25rem; right: 1.25rem;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  opacity: 0; transform: scale(.7);
  transition: opacity .3s, transform .3s;
}
.cat-card:hover .cat-arrow { opacity: 1; transform: scale(1); }

/* inset gold border on hover */
.cat-card::after {
  content: ''; position: absolute; inset: 0;
  border: 2px solid var(--gold); border-radius: 10px;
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.cat-card:hover::after { opacity: 1; }

/* Forms */
.input, .select, .textarea { width: 100%; padding: .75rem 1rem; border: 1px solid var(--border); background: rgba(245,241,235,.3); font-size: .875rem; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }

/* Cart / Checkout */
.cart-item { display: flex; gap: 1rem; padding: 1rem; background: var(--card); border: 1px solid var(--border); margin-bottom: 1rem; }
.cart-item img { width: 96px; height: 96px; object-fit: cover; background: var(--beige); }
.summary-box { background: var(--card); border: 1px solid var(--border); padding: 1.5rem; position: sticky; top: 6rem; }
.payment-option { display: flex; align-items: center; gap: .75rem; padding: 1rem; border: 1px solid var(--border); cursor: pointer; margin-bottom: .75rem; }
.payment-option.active { border-color: var(--gold); background: rgba(200,169,107,.05); }

/* Order tracker */
.tracker { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tracker-step { flex: 1; min-width: 80px; text-align: center; padding: .75rem .5rem; font-size: .75rem; background: var(--beige); color: var(--muted); }
.tracker-step.done { background: var(--gold); color: #fff; }
.tracker-step.current { background: var(--dark); color: #fff; }

/* About features */
.about-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .about-features { grid-template-columns: repeat(4, 1fr); } }
.about-feature { padding: 1.5rem 1rem; background: var(--card); border: 1px solid var(--border); }
.about-feature i { font-size: 1.75rem; color: var(--gold); margin-bottom: .75rem; display: block; }
.about-feature h4 { font-size: .9375rem; font-weight: 600; margin-bottom: .25rem; }
.about-feature p { font-size: .8125rem; color: var(--muted); }
.me-1 { margin-right: .25rem; }
.me-2 { margin-right: .5rem; }

/* Footer */
.footer { background: var(--dark); color: #fff; padding: 4rem 0 2rem; }
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4,1fr); } }

/* Admin */
.admin-body { background: #f3f4f6; font-family: var(--font-body); }

/* ── Admin font rules ── */
.admin-body { font-family: var(--font-body); }
.admin-body h1, .admin-body h2, .admin-body h3,
.admin-page-header h1, .admin-card h2,
.admin-section-title { font-family: var(--font-display); }
.adm-nav-link, .adm-nav-label, .admin-topbar-title { font-family: var(--font-nav); }
.adm-logo-text { font-family: var(--font-display); }
.admin-table th { font-family: var(--font-nav); letter-spacing: .06em; }

/* ── Layout ── */
.admin-layout { display: flex; min-height: 100vh; }

/* ── Sidebar ── */
.adm-sidebar {
  width: 260px; flex-shrink: 0;
  background: #16161a;
  color: #fff;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
  z-index: 40; overflow: hidden;
  border-right: 1px solid rgba(255,255,255,.06);
}

/* Logo row */
.adm-sidebar-logo {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.25rem 1.125rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.adm-logo-link {
  display: flex; align-items: center; gap: .625rem; text-decoration: none;
}
.adm-logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, #c8a96b, #a07c45);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1rem; color: #fff; flex-shrink: 0;
}
.adm-logo-text {
  font-size: 1.375rem; color: #fff; letter-spacing: -.01em;
}
.adm-logo-text em { color: var(--gold); font-style: normal; }
.adm-close-btn {
  display: none; width: 28px; height: 28px; border: none; background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6); border-radius: 6px; cursor: pointer;
  align-items: center; justify-content: center; font-size: .875rem; flex-shrink: 0;
  transition: background .15s, color .15s;
}
.adm-close-btn:hover { background: rgba(255,255,255,.15); color: #fff; }

/* User info */
.adm-user {
  display: flex; align-items: center; gap: .75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.adm-user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,169,107,.35), rgba(200,169,107,.15));
  border: 1px solid rgba(200,169,107,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; font-weight: 700; color: var(--gold); flex-shrink: 0;
}
.adm-user-name { font-size: .8125rem; font-weight: 600; color: #fff; line-height: 1.3; }
.adm-user-role { font-size: .6875rem; color: rgba(255,255,255,.4); margin-top: .1rem; }

/* Nav */
.adm-nav {
  flex: 1; min-height: 0; overflow-y: auto;
  padding: .875rem .875rem;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.1) transparent;
}
.adm-nav::-webkit-scrollbar { width: 4px; }
.adm-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }
.adm-nav-group { margin-bottom: .25rem; }
.adm-nav-label {
  font-size: .625rem; text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.28); padding: .875rem .625rem .375rem;
  font-family: var(--font-nav);
}
.adm-nav-group:first-child .adm-nav-label { padding-top: .25rem; }
.adm-nav-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .5625rem .75rem; border-radius: 7px;
  color: rgba(255,255,255,.6); font-size: .8125rem;
  margin-bottom: .125rem; text-decoration: none;
  transition: background .15s, color .15s;
  position: relative;
}
.adm-nav-link:hover {
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.9);
}
.adm-nav-link.is-active {
  background: rgba(200,169,107,.14); color: var(--gold);
}
.adm-nav-link.is-active::before {
  content: ''; position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 3px; background: var(--gold); border-radius: 0 2px 2px 0;
}
.adm-nav-icon {
  width: 18px; text-align: center; font-size: .8125rem; flex-shrink: 0;
  color: inherit; opacity: .85;
}
.adm-nav-text { flex: 1; }
.adm-nav-badge {
  background: var(--gold); color: #fff; font-size: .625rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 .3rem;
  flex-shrink: 0;
}

/* Footer */
.adm-sidebar-footer {
  flex-shrink: 0; padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex; flex-direction: column; gap: .625rem;
}
.adm-footer-link {
  font-size: .75rem; color: rgba(255,255,255,.35);
  text-decoration: none; display: flex; align-items: center; gap: .4rem;
  transition: color .15s;
}
.adm-footer-link:hover { color: rgba(255,255,255,.7); }
.adm-logout-btn {
  width: 100%; padding: .5rem .75rem; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.15); background: transparent;
  color: rgba(255,255,255,.55); font-size: .8125rem; font-family: var(--font-body);
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: .5rem;
  transition: background .15s, color .15s, border-color .15s;
}
.adm-logout-btn:hover {
  background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.3);
}

/* Overlay (mobile) */
.adm-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 39;
  backdrop-filter: blur(2px);
}

/* ── Admin content area ── */
.admin-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
  display: none; align-items: center; gap: 1rem; padding: .875rem 1rem;
  background: #fff; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 30;
}
.admin-topbar-title { font-weight: 600; font-size: .9375rem; }
.admin-menu-btn {
  width: 2.25rem; height: 2.25rem; border: 1px solid var(--border); background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  cursor: pointer; border-radius: 6px; transition: background .15s;
}
.admin-menu-btn:hover { background: var(--beige); }
.admin-menu-btn span { display: block; width: 1.1rem; height: 2px; background: var(--dark); border-radius: 1px; }
.admin-main { flex: 1; padding: 1.5rem; }
.admin-page-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.admin-page-header h1 { font-size: 1.75rem; margin: 0; }

/* ── Tables ── */
.admin-table-wrap { background: #fff; border: 1px solid var(--border); overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
.admin-table th {
  background: var(--beige); font-weight: 600; text-align: left; padding: .75rem 1rem;
  font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted);
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.admin-table td { padding: .875rem 1rem; border-bottom: 1px solid var(--border); font-size: .875rem; vertical-align: middle; }
.admin-table tbody tr:hover { background: rgba(245,241,235,.35); }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table .thumb { width: 48px; height: 48px; object-fit: cover; background: var(--beige); border-radius: 2px; }

/* ── Cards & stats ── */
.admin-card { background: #fff; border: 1px solid var(--border); padding: 1.5rem; margin-bottom: 1.5rem; }
.admin-card-title { font-family: var(--font-display); font-size: 1.125rem; margin-bottom: 1rem; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card {
  background: #fff; border: 1px solid var(--border); padding: 1.25rem;
  transition: .2s; position: relative; overflow: hidden;
}
.stat-card:hover { border-color: var(--gold); box-shadow: 0 4px 16px rgba(200,169,107,.12); }
.stat-card .num { font-size: 1.75rem; font-weight: 700; color: var(--gold); line-height: 1.2; }
.stat-card .label { color: var(--muted); font-size: .8125rem; margin-top: .25rem; }
.stat-card.highlight { border-color: rgba(200,169,107,.4); }

/* ── Status badges ── */
.status-badge { display: inline-flex; align-items: center; padding: .2rem .625rem; font-size: .75rem; font-weight: 600; border-radius: 999px; white-space: nowrap; }
.status-active { background: #ecfdf5; color: #065f46; }
.status-draft { background: #f3f4f6; color: #4b5563; }
.status-warning { background: #fffbeb; color: #92400e; }
.status-muted { background: #f3f4f6; color: #6b7280; }
.status-received { background: #eff6ff; color: #1d4ed8; }
.status-processing { background: #fef3c7; color: #92400e; }
.status-delivered { background: #ecfdf5; color: #065f46; }
.status-cancelled { background: #fef2f2; color: #991b1b; }
.admin-actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.admin-link { color: var(--gold); font-size: .8125rem; font-weight: 500; }
.admin-link:hover { text-decoration: underline; }
.admin-link-danger { color: #dc2626; background: none; border: none; cursor: pointer; font-size: .8125rem; padding: 0; }
.admin-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.admin-login-page {
  display: flex; align-items: center; justify-content: center; min-height: 100vh;
  background: linear-gradient(135deg, var(--beige) 0%, #fff 50%, var(--beige) 100%); padding: 1rem;
}
.admin-login-card { width: 100%; max-width: 420px; box-shadow: 0 20px 50px rgba(0,0,0,.08); }
.admin-login-card h1 { font-size: 2rem; }
.order-detail-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .order-detail-grid { grid-template-columns: 1fr 1fr; } }

/* ── Mobile sidebar ── */
@media (max-width: 900px) {
  .admin-topbar { display: flex; }
  .adm-sidebar {
    position: fixed; left: 0; top: 0; bottom: 0;
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    box-shadow: 4px 0 24px rgba(0,0,0,.35);
  }
  .adm-sidebar.open { transform: translateX(0); }
  .adm-overlay.open { display: block; }
  .adm-close-btn { display: flex; }
  .admin-main { padding: 1rem; }
}
@media (min-width: 901px) {
  .admin-menu-btn { display: none; }
}

/* Alerts */
.alert { padding: .75rem 1rem; margin-bottom: 1rem; font-size: .875rem; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Utils */
.pt-header { padding-top: 5rem; }
.text-muted { color: var(--muted); }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.flex { display: flex; }
.gap-2 { gap: .5rem; }
.gap-4 { gap: 1rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ════════════════════════════════
   Product detail page
   ════════════════════════════════ */
.pd-breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: .5rem;
  font-size: .8125rem; color: var(--muted); margin-bottom: 2rem;
}
.pd-breadcrumb a { color: var(--muted); }
.pd-breadcrumb a:hover { color: var(--gold); }
.pd-breadcrumb i { font-size: .5rem; opacity: .5; }
.pd-breadcrumb span { color: var(--dark); }

.pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .pd-layout { grid-template-columns: 1fr; gap: 2rem; } }

.pd-gallery { position: relative; border-radius: 14px; overflow: hidden; background: var(--beige); }
.pd-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.pd-noimg { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 3rem; }
.pd-badge {
  position: absolute; top: 1rem; left: 1rem; background: var(--gold); color: #fff;
  font-size: .75rem; font-weight: 600; padding: .35rem .75rem; border-radius: 99px;
}

.pd-cat { font-family: var(--font-nav); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: .5rem; }
.pd-title { font-size: 2rem; line-height: 1.2; margin-bottom: 1rem; }
.pd-price-row { display: flex; align-items: baseline; gap: .75rem; margin-bottom: 1.5rem; }
.pd-price { font-size: 1.75rem; font-weight: 700; color: var(--gold); }
.pd-price-old { font-size: 1.125rem; color: var(--muted); text-decoration: line-through; }
.pd-desc { color: #555; line-height: 1.8; margin-bottom: 1.5rem; }

.pd-specs { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .75rem; }
.pd-specs li { display: flex; align-items: center; gap: .75rem; font-size: .9375rem; padding: .75rem 1rem; background: var(--beige); border-radius: 8px; }
.pd-specs li i { color: var(--gold); width: 18px; text-align: center; }
.pd-specs li span { color: var(--muted); min-width: 80px; }
.pd-specs li strong { margin-left: auto; }

.pd-actions { display: flex; gap: .75rem; align-items: stretch; margin-bottom: 1.75rem; flex-wrap: wrap; }
.pd-cart-form { display: flex; gap: .75rem; flex: 1; min-width: 260px; }
.pd-qty { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.pd-qty-btn { width: 40px; border: none; background: #fff; font-size: 1.125rem; cursor: pointer; color: var(--dark); }
.pd-qty-btn:hover { background: var(--beige); }
.pd-qty-input { width: 48px; border: none; text-align: center; font-size: .9375rem; -moz-appearance: textfield; }
.pd-qty-input::-webkit-outer-spin-button, .pd-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-cart-form .btn { flex: 1; }
.pd-wish {
  width: 48px; border: 1px solid var(--border); border-radius: 8px; background: #fff;
  color: var(--muted); cursor: pointer; font-size: 1.125rem; display: flex; align-items: center; justify-content: center;
  transition: .2s;
}
.pd-wish:hover, .pd-wish.active { background: var(--gold); color: #fff; border-color: var(--gold); }

.pd-trust { display: flex; flex-wrap: wrap; gap: 1.25rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.pd-trust div { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--muted); }
.pd-trust i { color: var(--gold); }

.pd-related { margin-top: 4rem; }

/* ════════════════════════════════
   ADM  —  Page components
   ════════════════════════════════ */

/* Page header */
.adm-page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem;
}
.adm-page-header h1 { font-size: 1.75rem; margin: 0; font-family: var(--font-display); }
.adm-page-sub { font-size: .875rem; color: var(--muted); margin: .25rem 0 0; }
.adm-header-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* Stat grid */
.adm-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem; margin-bottom: 1.5rem;
}
.adm-stat {
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: 1.25rem;
  display: flex; align-items: center; gap: 1rem;
  transition: box-shadow .2s, border-color .2s;
}
.adm-stat:hover { border-color: var(--gold); box-shadow: 0 4px 16px rgba(200,169,107,.1); }
.adm-stat--highlight { border-color: rgba(200,169,107,.35); }
.adm-stat--wide { grid-column: span 2; }
.adm-stat--alert { border-color: transparent; background: #fff; cursor: pointer; }
.adm-stat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.0625rem; flex-shrink: 0;
}
.adm-stat-num { font-size: 1.625rem; font-weight: 700; color: var(--dark); line-height: 1.1; }
.adm-stat-label { font-size: .8rem; color: var(--muted); margin-top: .2rem; }

/* Cards */
.adm-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: 1.375rem; margin-bottom: 1rem;
}
.adm-card--flush { padding: 0; }
.adm-card--flush .adm-card-header { padding: 1rem 1.25rem; }
.adm-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem; gap: 1rem;
}
.adm-card--flush .adm-card-header { margin-bottom: 0; border-bottom: 1px solid var(--border); }
.adm-card-title { font-family: var(--font-display); font-size: 1rem; color: var(--dark); }
.adm-link-sm { font-size: .8125rem; color: var(--gold); display: flex; align-items: center; gap: .3rem; }
.adm-link-sm:hover { text-decoration: underline; }

/* Tables (new adm- prefix) */
.adm-table-wrap { overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.adm-table thead th {
  background: #faf9f7; font-family: var(--font-nav);
  font-size: .6875rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); padding: .75rem 1rem;
  border-bottom: 1px solid var(--border); white-space: nowrap; text-align: left;
}
.adm-table td { padding: .875rem 1rem; border-bottom: 1px solid var(--border); font-size: .875rem; vertical-align: middle; }
.adm-table tbody tr:last-child td { border-bottom: none; }
.adm-table-row-link { cursor: pointer; transition: background .12s; }
.adm-table-row-link:hover { background: rgba(200,169,107,.05); }

/* Thumb */
.adm-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--beige); display: block; }
.adm-thumb--empty { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .875rem; }

/* Order number */
.adm-order-num {
  font-family: var(--font-nav); font-size: .8rem;
  color: var(--gold); letter-spacing: .04em;
}

/* Product name */
.adm-product-name { font-weight: 600; margin-bottom: .2rem; }

/* Row actions */
.adm-row-actions { display: flex; gap: .375rem; align-items: center; }
.adm-action-btn {
  width: 30px; height: 30px; border-radius: 6px; border: 1px solid var(--border);
  background: #fff; color: var(--muted); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .75rem; transition: .15s; text-decoration: none;
}
.adm-action-btn:hover { background: var(--beige); color: var(--dark); border-color: var(--border); }
.adm-action-btn--danger:hover { background: #fef2f2; color: #dc2626; border-color: #fecaca; }

/* Pills */
.adm-pill { display: inline-flex; align-items: center; gap: .25rem; padding: .15rem .5rem; border-radius: 99px; font-size: .6875rem; font-weight: 600; }
.adm-pill--gold { background: rgba(200,169,107,.15); color: #92712a; }

/* Code */
.adm-code { font-family: 'Courier New', monospace; font-size: .8125rem; background: var(--beige); padding: .1rem .35rem; border-radius: 4px; color: var(--dark); }
.adm-code--lg { font-size: .875rem; padding: .2rem .5rem; letter-spacing: .04em; }

/* Empty state */
.adm-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: .75rem; padding: 3.5rem 1rem;
  color: var(--muted);
}
.adm-empty i { font-size: 2rem; opacity: .3; }
.adm-empty span { font-size: .9375rem; }

/* Split layout */
.adm-split-layout { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.adm-side-form { width: 300px; flex-shrink: 0; }
@media (max-width: 900px) { .adm-side-form { width: 100%; } }

/* Forms */
.adm-form-stack { display: flex; flex-direction: column; gap: .875rem; }
.adm-field { display: flex; flex-direction: column; gap: .375rem; flex: 1; }
.adm-field-row { display: flex; gap: .75rem; }
.adm-label { font-size: .8125rem; font-weight: 600; color: #555; }
.adm-check-label { display: flex; align-items: center; gap: .35rem; font-size: .8125rem; white-space: nowrap; cursor: pointer; }
.input--sm { padding: .4rem .65rem; font-size: .8125rem; }
.select--sm { padding: .4rem .65rem; font-size: .8125rem; }
.adm-inline-edit { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.adm-status-form { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: 1.25rem; }

/* Order detail */
.adm-order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 700px) { .adm-order-grid { grid-template-columns: 1fr; } }
.adm-info-rows { display: flex; flex-direction: column; gap: .625rem; }
.adm-info-row { display: flex; gap: 1rem; font-size: .875rem; }
.adm-info-label { color: var(--muted); min-width: 90px; flex-shrink: 0; }
.adm-info-val { flex: 1; }
.adm-total-block { text-align: center; padding: 1rem 0 .5rem; }
.adm-total-amount { font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1.2; }

/* Request cards */
.adm-request-list { display: flex; flex-direction: column; gap: .75rem; }
.adm-request-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
}
.adm-request-card--new { border-color: rgba(200,169,107,.4); }
.adm-request-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
}
.adm-request-client { display: flex; gap: .75rem; align-items: flex-start; }
.adm-request-meta { display: flex; flex-direction: column; align-items: flex-end; gap: .375rem; }
.adm-request-body { padding: .875rem 1.25rem; font-size: .875rem; line-height: 1.6; color: var(--dark); }
.adm-request-foot {
  display: flex; align-items: center; gap: .625rem; flex-wrap: wrap;
  padding: .75rem 1.25rem; background: #faf9f7; border-top: 1px solid var(--border);
}

/* Message cards */
.adm-msg-list { display: flex; flex-direction: column; gap: .75rem; }
.adm-msg-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
}
.adm-msg-card--unread { border-color: rgba(200,169,107,.4); border-left: 3px solid var(--gold); }
.adm-msg-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
}
.adm-msg-sender { display: flex; gap: .75rem; align-items: flex-start; }
.adm-msg-contacts { display: flex; gap: 1rem; margin-top: .25rem; flex-wrap: wrap; }
.adm-msg-contacts a { font-size: .8125rem; color: var(--gold); display: flex; align-items: center; gap: .3rem; }
.adm-msg-contacts a:hover { text-decoration: underline; }
.adm-msg-date { font-size: .8125rem; white-space: nowrap; }
.adm-msg-body { padding: .875rem 1.25rem; font-size: .875rem; line-height: 1.6; }
.adm-msg-foot { padding: .75rem 1.25rem; background: #faf9f7; border-top: 1px solid var(--border); }

/* Avatar sm */
.adm-user-avatar--sm {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(200,169,107,.3), rgba(200,169,107,.1));
  border: 1px solid rgba(200,169,107,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: .8125rem; font-weight: 700; color: var(--gold);
}

/* Utils */
.font-semibold { font-weight: 600; }
.text-gold { color: var(--gold); }
.me-1 { margin-right: .25rem; }
.me-2 { margin-right: .5rem; }

/* Invoice print */
@media print {
  .no-print { display: none !important; }
  body { background: #fff; }
}
