/* ─── Fonts ─────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;700;900&family=Assistant:wght@400;500;700&display=swap');

/* ─── Design tokens ─────────────────────────────────────────────── */
:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-dark: #A07830;
  --silver: #B8C0CC;
  --silver-light: #D4DCE8;
  --charcoal: #0D0D0F;
  --charcoal-mid: #141418;
  --charcoal-light: #1C1C22;
  --charcoal-border: #2A2A35;
  --ease-luxury: cubic-bezier(0.23, 1, 0.32, 1);
}

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

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

body {
  font-family: 'Heebo', 'Assistant', sans-serif;
  background-color: var(--charcoal);
  color: var(--silver-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Heebo', 'Assistant', sans-serif; font-weight: 700; letter-spacing: -0.01em; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--charcoal); }
::-webkit-scrollbar-thumb { background: var(--charcoal-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ─── Layout helpers ────────────────────────────────────────────── */
.container { width: 100%; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px)  { .container { max-width: 640px;  padding-inline: 1.5rem; } }
@media (min-width: 768px)  { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1400px; } }

.section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.eyebrow {
  display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1rem; padding: 0.35rem 1rem; border-radius: 999px;
  color: var(--gold); background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.2);
}
.section-title { font-size: 2rem; font-weight: 900; margin-bottom: 1rem; color: var(--silver-light); }
@media (min-width: 768px) { .section-title { font-size: 2.5rem; } }
.section-lead { font-size: 1rem; max-width: 36rem; margin: 0 auto; color: var(--silver); }

.section-divider { width: 60px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 0 auto 1.5rem; }

.gold-text {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.luxury-card {
  background: var(--charcoal-light);
  border: 1px solid var(--charcoal-border);
  transition: all 0.3s var(--ease-luxury);
}
.luxury-card:hover {
  border-color: var(--gold-dark);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.12);
  transform: translateY(-2px);
}

.gold-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 60%, var(--gold-light) 100%);
  color: var(--charcoal);
  font-weight: 700;
  border: none;
  transition: all 0.2s var(--ease-luxury);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
}
.gold-btn:hover { box-shadow: 0 6px 25px rgba(201, 168, 76, 0.5); transform: translateY(-1px); }
.gold-btn:active { transform: scale(0.97); }
.gold-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: 999px; font-size: 0.95rem; font-weight: 600;
  border: 1px solid var(--charcoal-border); color: var(--silver); background: transparent;
  transition: background 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.05); }

/* ─── Animations ────────────────────────────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in-up { animation: fadeInUp 0.6s var(--ease-luxury) forwards; opacity: 0; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-20px) translateX(10px); }
  50% { transform: translateY(-40px) translateX(0); }
  75% { transform: translateY(-20px) translateX(-10px); }
}

/* ─── Header ────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; right: 0; left: 0; z-index: 50;
  background: rgba(13,13,15,0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
.site-header.scrolled {
  background: rgba(13,13,15,0.97);
  border-bottom: 1px solid var(--charcoal-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 96px; padding-block: 4px; }
.site-header .logo img { height: 80px; width: auto; object-fit: contain; }
.site-nav { display: none; align-items: center; gap: 2rem; }
.site-nav button { background: none; border: none; color: var(--silver); font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.site-nav button:hover { color: #facc15; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-cta { display: none; }
.menu-toggle { display: flex; background: none; border: none; color: var(--silver); padding: 0.5rem; border-radius: 0.5rem; }
@media (min-width: 768px) {
  .site-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 96px;
  left: 0;
  right: 0;
  z-index: 49;
  background: var(--charcoal-mid);
  border-top: 1px solid var(--charcoal-border);
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
  max-height: calc(100vh - 96px);
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 0.25rem; padding-block: 1rem; }
.mobile-menu button { text-align: right; padding: 0.75rem 1rem; border-radius: 0.5rem; background: none; border: none; color: var(--silver); font-size: 0.875rem; font-weight: 500; }
.mobile-menu button:hover { background: rgba(250,204,21,0.1); }

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 8rem 0 4rem; background: var(--charcoal);
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.35; transition: opacity 0.7s ease-in-out;
}
.hero-bg.fade-out { opacity: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(13,13,15,0.55) 0%, rgba(13,13,15,0.45) 50%, rgba(13,13,15,0.75) 100%); }
.hero-radial { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(201,168,76,0.18) 0%, transparent 70%); }
.hero-grid { position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 80px 80px; }
.hero-orb { position: absolute; border-radius: 999px; filter: blur(60px); }
.hero-orb-1 { top: 5rem; right: 2.5rem; width: 16rem; height: 16rem; background: radial-gradient(circle, rgba(201,168,76,0.25) 0%, transparent 70%); animation: float 8s ease-in-out infinite; opacity: 0.6; }
.hero-orb-2 { bottom: 8rem; left: 2.5rem; width: 18rem; height: 18rem; background: radial-gradient(circle, rgba(184,192,204,0.2) 0%, transparent 70%); animation: float 11s ease-in-out infinite reverse; opacity: 0.5; }
.hero-content { position: relative; z-index: 10; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; margin-bottom: 2rem;
  background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.3); color: var(--gold); }
.hero-dot { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: #facc15; }
.hero-title { font-size: 2.5rem; font-weight: 900; margin-bottom: 1.5rem; line-height: 1.15; }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
.hero-title .sub { color: var(--silver-light); }
.hero-lead { font-size: 1.125rem; max-width: 42rem; margin: 0 auto 2.5rem; color: var(--silver); line-height: 1.6; }
.hero-ctas { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 32rem; margin: 4rem auto 0; }
.hero-stat-num { font-size: 1.5rem; font-weight: 900; }
@media (min-width: 768px) { .hero-stat-num { font-size: 1.875rem; } }
.hero-stat-label { font-size: 0.75rem; margin-top: 0.25rem; color: var(--silver); }
.hero-dots { grid-column: span 3; display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.hero-dots button { height: 8px; border-radius: 999px; background: rgba(201,168,76,0.35); border: none; transition: all 0.3s; }
.hero-dots button.active { width: 24px; background: var(--gold); }
.hero-dots button:not(.active) { width: 8px; }

/* ─── Categories ────────────────────────────────────────────────── */
.categories-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .categories-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .categories-grid { grid-template-columns: repeat(4, 1fr); } }
.category-card { border-radius: 0.75rem; padding: 1.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; cursor: pointer; }
.category-icon { width: 4rem; height: 4rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center;
  background: rgba(201,168,76,0.1); color: var(--gold); border: 1px solid rgba(201,168,76,0.2); transition: transform 0.3s; }
.category-card:hover .category-icon { transform: scale(1.1); }
.category-name { font-weight: 700; font-size: 0.95rem; color: var(--silver-light); }
.category-desc { font-size: 0.75rem; margin-top: 0.25rem; color: var(--silver); }

/* ─── Portfolio ─────────────────────────────────────────────────── */
.portfolio-wrap { position: relative; }
.portfolio-slide-outer { display: flex; justify-content: center; }
.portfolio-item { position: relative; overflow: hidden; border-radius: 1rem; cursor: pointer; width: 320px; height: 568px; flex-shrink: 0; background: #000; }
.portfolio-item img, .portfolio-item video { width: 100%; height: 100%; object-fit: cover; }
.portfolio-item .play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.25); }
.portfolio-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 44px; height: 44px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; background: rgba(13,13,15,0.75); border: 1px solid rgba(201,168,76,0.4); color: var(--gold); transition: transform 0.2s; }
.portfolio-nav-btn:hover { transform: translateY(-50%) scale(1.1); }
.portfolio-nav-prev { right: 0.75rem; }
.portfolio-nav-next { left: 0.75rem; }
.portfolio-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.portfolio-dots button { height: 8px; border-radius: 999px; border: none; background: rgba(201,168,76,0.3); transition: all 0.3s; }
.portfolio-dots button.active { width: 28px; background: var(--gold); }
.portfolio-dots button:not(.active) { width: 8px; }
.portfolio-thumbs { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-width: none; }
.portfolio-thumbs img { flex-shrink: 0; width: 110px; height: 62px; object-fit: cover; border-radius: 0.75rem; cursor: pointer; opacity: 0.5; border: 2px solid transparent; transition: all 0.2s; }
.portfolio-thumbs img.active { opacity: 1; border-color: var(--gold); }
.portfolio-empty { position: relative; border-radius: 1rem; padding-bottom: 40%; }
.portfolio-empty-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(0,0,0,0.95); }
.lightbox.open { display: flex; }
.lightbox-close { position: absolute; top: 1rem; left: 1rem; padding: 0.5rem; border-radius: 999px; background: none; border: none; color: var(--silver); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); padding: 0.5rem; border-radius: 999px; background: none; border: none; color: var(--gold); z-index: 10; }
.lightbox-nav.prev { right: 1rem; } .lightbox-nav.next { left: 1rem; }
.lightbox-body { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: 100%; max-width: 900px; }
.lightbox-body img, .lightbox-body video { max-height: 75vh; max-width: 100%; border-radius: 0.75rem; background: #000; }

/* ─── About ─────────────────────────────────────────────────────── */
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-text p { margin-bottom: 1.5rem; line-height: 1.7; color: var(--silver); }
.about-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.about-feature { border-radius: 0.75rem; padding: 1.25rem; text-align: center; }
.about-feature-icon { width: 3rem; height: 3rem; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem; background: rgba(201,168,76,0.1); color: var(--gold); }
.about-feature h4 { font-size: 0.875rem; margin-bottom: 0.25rem; color: var(--silver-light); }
.about-feature p { font-size: 0.75rem; color: var(--silver); }

/* ─── Contact ───────────────────────────────────────────────────── */
.contact-whatsapp { max-width: 56rem; margin: 0 auto 3rem; }
.contact-whatsapp a { width: 100%; padding-block: 1rem; border-radius: 0.75rem; }
.contact-cards { max-width: 56rem; margin: 0 auto 3rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card { border-radius: 0.75rem; padding: 1.25rem; display: flex; align-items: center; gap: 1rem; }
.contact-card-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(201,168,76,0.1); color: var(--gold); }
.contact-card-label { font-size: 0.75rem; margin-bottom: 0.1rem; color: var(--silver); }
.contact-card-value { font-size: 0.875rem; font-weight: 600; color: var(--silver-light); }
.contact-form-wrap { max-width: 42rem; margin: 0 auto; }
.contact-form-card { border-radius: 1rem; padding: 2rem; }
.contact-form-card h3 { font-size: 1.25rem; margin-bottom: 1.5rem; color: var(--silver-light); }
.form-field { width: 100%; padding: 0.75rem 1rem; border-radius: 0.5rem; font-size: 0.875rem; background: var(--charcoal); border: 1px solid var(--charcoal-border); color: var(--silver-light); margin-bottom: 1rem; font-family: inherit; }
.form-field:focus { outline: none; border-color: var(--gold); }
textarea.form-field { resize: none; }
.contact-form { display: flex; flex-direction: column; }
.contact-success { text-align: center; padding: 2rem 0; }
.contact-success-icon { width: 4rem; height: 4rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; background: rgba(201,168,76,0.15); color: var(--gold); }

/* ─── Footer ────────────────────────────────────────────────────── */
.site-footer { background: var(--charcoal-mid); border-top: 1px solid var(--charcoal-border); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-block: 4rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand img { height: 64px; width: auto; object-fit: contain; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.5rem; max-width: 22rem; color: var(--silver); }
.footer-social { display: flex; align-items: center; gap: 0.75rem; }
.footer-social a { width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; transition: transform 0.2s;
  background: rgba(201,168,76,0.1); color: var(--gold); border: 1px solid rgba(201,168,76,0.2); }
.footer-social a:hover { transform: scale(1.1); }
.site-footer h4 { font-size: 0.875rem; margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links button, .footer-links a { background: none; border: none; font-size: 0.875rem; color: var(--silver); text-align: right; padding: 0; }
.footer-links button:hover, .footer-links a:hover { color: #facc15; }
.footer-contact-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--silver); margin-bottom: 0.75rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--charcoal-border); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.75rem; color: var(--silver); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom a:hover { color: #facc15; }
.footer-credit { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--charcoal-border); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--silver); }
.footer-credit a { display: flex; align-items: center; gap: 0.5rem; color: var(--gold); }

/* ─── Category / product pages ──────────────────────────────────── */
.category-header { position: sticky; top: 0; z-index: 40; padding-block: 1.5rem; border-bottom: 1px solid var(--charcoal-border); background: rgba(13,13,15,0.95); backdrop-filter: blur(12px); }
.category-header .container { display: flex; align-items: center; justify-content: space-between; }
.back-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--silver); background: none; border: none; }
.back-link:hover { color: #facc15; }
.category-title { font-size: 1.25rem; font-weight: 900; color: var(--silver-light); }
@media (min-width: 768px) { .category-title { font-size: 1.5rem; } }
.products-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; padding-block: 3rem; }
@media (min-width: 768px) { .products-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: 1fr 1fr 1fr; } }
.product-card { border-radius: 1rem; overflow: hidden; cursor: pointer; }
.product-card-image { height: 12rem; overflow: hidden; background: #000; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-card-image img { transform: scale(1.1); }
.product-card-placeholder { height: 12rem; display: flex; align-items: center; justify-content: center; background: var(--charcoal-mid); color: var(--charcoal-border); }
.product-card-body { padding: 1.25rem; }
.product-card-body h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--silver-light); }
.product-card-body p { font-size: 0.75rem; margin-bottom: 1rem; color: var(--silver); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 1.125rem; font-weight: 700; color: var(--gold); }
.product-price-cta { color: var(--silver); font-size: 0.85rem; }
.icon-btn { padding: 0.6rem; border-radius: 0.5rem; background: rgba(201,168,76,0.1); color: var(--gold); border: none; }
.empty-state { text-align: center; padding: 5rem 0; }
.empty-state p { margin-bottom: 1.5rem; color: var(--silver); }

/* Product modal */
.modal-overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(0,0,0,0.8); }
.modal-overlay.open { display: flex; }
.modal-box { width: 100%; max-width: 42rem; max-height: 90vh; overflow-y: auto; border-radius: 1rem; background: var(--charcoal-light); position: relative; }
.modal-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; }
@media (min-width: 768px) { .modal-grid { grid-template-columns: 1fr 1fr; } }
.modal-image-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.modal-image-main { position: relative; width: 100%; height: 20rem; border-radius: 0.75rem; overflow: hidden; background: var(--charcoal-mid); }
.modal-image-main img { width: 100%; height: 100%; object-fit: cover; }
.modal-image-counter { font-size: 0.75rem; color: var(--silver); }
.modal-thumbs { display: flex; gap: 0.5rem; width: 100%; overflow-x: auto; padding-bottom: 0.5rem; }
.modal-thumbs button { flex-shrink: 0; width: 4rem; height: 4rem; border-radius: 0.5rem; overflow: hidden; opacity: 0.5; border: 1px solid var(--charcoal-border); padding: 0; }
.modal-thumbs button.active { opacity: 1; border: 2px solid var(--gold); }
.modal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal-close { position: absolute; top: 1rem; left: 1rem; padding: 0.5rem; border-radius: 0.5rem; background: none; border: none; color: var(--silver); z-index: 5; }
.modal-details h2 { font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--silver-light); }
.modal-details p.desc { font-size: 0.875rem; margin-bottom: 1.5rem; line-height: 1.6; color: var(--silver); }
.modal-price-label { font-size: 0.75rem; margin-bottom: 0.25rem; color: var(--silver); }
.modal-price { font-size: 1.875rem; font-weight: 700; color: var(--gold); margin-bottom: 1.5rem; }
.modal-details { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }

/* ─── Legal pages ───────────────────────────────────────────────── */
.legal-hero { padding: 4rem 1rem; margin-top: 6rem; background: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, rgba(212,175,55,0.05) 100%); border-bottom: 1px solid var(--charcoal-border); }
.legal-hero h1 { font-size: 2.5rem; margin-bottom: 0.5rem; color: var(--silver-light); }
.legal-hero p { font-size: 0.875rem; color: var(--silver); }
.legal-content { padding: 3rem 1rem; }
.legal-content section { margin-bottom: 3rem; }
.legal-content h2 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--silver-light); }
.legal-content h3 { font-size: 1.125rem; margin-bottom: 0.75rem; color: var(--gold); }
.legal-content p { margin-bottom: 1rem; line-height: 1.7; color: var(--silver); }
.legal-content ul { list-style: none; }
.legal-content li { display: flex; gap: 0.75rem; margin-bottom: 0.5rem; color: var(--silver); line-height: 1.6; }
.legal-content li::before { content: "•"; color: var(--gold); flex-shrink: 0; }
.legal-box { padding: 1.5rem; border-radius: 0.75rem; background: rgba(212,175,55,0.05); border: 1px solid var(--charcoal-border); }
.legal-footer-note { text-align: center; padding: 2rem 0; border-top: 1px solid var(--charcoal-border); font-size: 0.875rem; color: var(--silver); }

/* ─── PIN input ─────────────────────────────────────────────────── */
.pin-row { display: flex; justify-content: center; gap: 0.75rem; flex-direction: row-reverse; }
.pin-input {
  width: 56px; height: 64px; text-align: center; font-size: 1.5rem; font-weight: 700;
  background: var(--charcoal-light); border: 2px solid var(--charcoal-border); border-radius: 8px;
  color: var(--gold); caret-color: var(--gold);
}
.pin-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.2); }
.pin-input.filled { border-color: var(--gold); }
.pin-input.error { border-color: #ef4444; }
.pin-input.small { width: 44px; height: 48px; font-size: 1.1rem; }

/* ─── Admin login ───────────────────────────────────────────────── */
.admin-login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1rem;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.06) 0%, transparent 70%), linear-gradient(180deg, #0D0D0F 0%, #141418 100%); }
.admin-login-card { width: 100%; max-width: 24rem; border-radius: 1rem; padding: 2rem; text-align: center; background: var(--charcoal-light); border: 1px solid var(--charcoal-border); box-shadow: 0 25px 60px rgba(0,0,0,0.6); }
.admin-login-card img { height: 64px; width: auto; object-fit: contain; margin: 0 auto 1rem; }
.admin-login-lock { width: 3rem; height: 3rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto; background: rgba(201,168,76,0.1); color: var(--gold); }
.admin-login-card h1 { font-size: 1.25rem; margin: 2rem 0 0.5rem; color: var(--silver-light); }
.admin-login-card > p { font-size: 0.875rem; margin-bottom: 2rem; color: var(--silver); }
.pin-toggle { display: flex; align-items: center; gap: 0.375rem; margin: 1rem auto 1rem; font-size: 0.75rem; background: none; border: none; color: var(--silver); }
.admin-error { font-size: 0.875rem; margin-bottom: 1rem; padding: 0.5rem 1rem; border-radius: 0.5rem; background: rgba(239,68,68,0.1); color: #ef4444; border: 1px solid rgba(239,68,68,0.2); }
.admin-login-card .gold-btn { width: 100%; }
.admin-back-link { display: block; margin-top: 1rem; font-size: 0.75rem; color: var(--silver); }
.admin-back-link:hover { color: #facc15; }

/* ─── Admin layout ──────────────────────────────────────────────── */
.admin-body { display: flex; min-height: 100vh; background: var(--charcoal); }
.admin-sidebar { position: fixed; inset-block: 0; right: 0; z-index: 40; width: 16rem; display: flex; flex-direction: column;
  background: var(--charcoal-mid); border-left: 1px solid var(--charcoal-border); transform: translateX(100%); transition: transform 0.3s; }
.admin-sidebar.open { transform: translateX(0); }
@media (min-width: 768px) { .admin-sidebar { transform: translateX(0); } }
.admin-sidebar-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem; border-bottom: 1px solid var(--charcoal-border); }
.admin-sidebar-header img { height: 40px; width: auto; object-fit: contain; }
.admin-sidebar-header button { display: block; background: none; border: none; color: var(--silver); padding: 0.25rem; }
@media (min-width: 768px) { .admin-sidebar-header button { display: none; } }
.admin-badge-wrap { padding: 0.75rem 1.25rem; }
.admin-badge { font-size: 0.75rem; font-weight: 600; padding: 0.375rem 0.75rem; border-radius: 999px; text-align: center; background: rgba(201,168,76,0.1); color: var(--gold); border: 1px solid rgba(201,168,76,0.2); }
.admin-nav { flex: 1; padding: 0.5rem 0.75rem; }
.admin-nav a { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; border-radius: 0.75rem; margin-bottom: 0.25rem; font-size: 0.875rem; font-weight: 500; color: var(--silver); border: 1px solid transparent; }
.admin-nav a.active { background: rgba(201,168,76,0.12); color: var(--gold); border-color: rgba(201,168,76,0.2); }
.admin-sidebar-bottom { padding: 1rem; border-top: 1px solid var(--charcoal-border); }
.admin-sidebar-bottom a, .admin-sidebar-bottom button { width: 100%; display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 1rem; border-radius: 0.75rem; font-size: 0.875rem; background: none; border: none; color: var(--silver); margin-bottom: 0.5rem; }
.admin-sidebar-bottom button.logout { color: #ef4444; }
.admin-overlay { position: fixed; inset: 0; z-index: 30; background: rgba(0,0,0,0.6); display: none; }
.admin-overlay.open { display: block; }
@media (min-width: 768px) { .admin-overlay { display: none !important; } }
.admin-main { flex: 1; display: flex; flex-direction: column; }
@media (min-width: 768px) { .admin-main { margin-right: 16rem; } }
.admin-topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding-inline: 1.5rem; height: 4rem;
  background: rgba(13,13,15,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--charcoal-border); }
.admin-topbar h1 { font-size: 1rem; color: var(--silver-light); }
.admin-topbar .sidebar-open-btn { display: block; background: none; border: none; color: var(--silver); padding: 0.5rem; }
@media (min-width: 768px) { .admin-topbar .sidebar-open-btn { display: none; } }
.admin-topbar-badge { font-size: 0.75rem; padding: 0.25rem 0.75rem; border-radius: 999px; background: rgba(201,168,76,0.1); color: var(--gold); }
.admin-page { flex: 1; padding: 1.5rem; overflow: auto; }

.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.5rem; font-weight: 900; margin-bottom: 0.25rem; color: var(--silver-light); }
.admin-page-header p { font-size: 0.875rem; color: var(--silver); }

.stats-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-card { border-radius: 0.75rem; padding: 1.25rem; background: var(--charcoal-light); border: 1px solid var(--charcoal-border); }
.stat-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.stat-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; }
.stat-value { font-size: 1.875rem; font-weight: 900; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.875rem; color: var(--silver); }
.quick-actions-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .quick-actions-grid { grid-template-columns: 1fr 1fr; } }
.panel { border-radius: 0.75rem; padding: 1.5rem; background: var(--charcoal-light); border: 1px solid var(--charcoal-border); }
.panel h3 { font-size: 1rem; margin-bottom: 1rem; color: var(--silver-light); }
.action-row { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; border-radius: 0.5rem; font-size: 0.875rem; color: var(--silver); border: 1px solid var(--charcoal-border); margin-bottom: 0.5rem; }
.action-row:hover { background: rgba(255,255,255,0.05); }

/* Admin tables */
.admin-table-wrap { display: none; border-radius: 1rem; overflow: hidden; border: 1px solid var(--charcoal-border); }
@media (min-width: 768px) { .admin-table-wrap { display: block; } }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table thead tr { background: var(--charcoal-light); }
.admin-table th { padding: 0.75rem 1.5rem; text-align: right; font-size: 0.75rem; font-weight: 600; color: var(--silver); }
.admin-table td { padding: 1rem 1.5rem; font-size: 0.875rem; border-top: 1px solid var(--charcoal-border); color: var(--silver-light); }
.admin-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }
.status-pill { padding: 0.25rem 0.65rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.status-pill.active { background: rgba(212,175,55,0.1); color: var(--gold); }
.status-pill.inactive { background: rgba(200,100,100,0.1); color: #ff6b6b; }
.row-actions { display: flex; gap: 0.5rem; }
.row-actions button, .row-actions a { padding: 0.5rem; border-radius: 0.5rem; background: none; border: none; }
.admin-cards { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 768px) { .admin-cards { display: none; } }
.admin-item-card { border-radius: 0.75rem; padding: 1rem; background: var(--charcoal-light); border: 1px solid var(--charcoal-border); }
.admin-item-card .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0.75rem; }
.admin-item-card .lbl { font-size: 0.75rem; color: var(--silver); }
.admin-item-card .val { font-size: 0.875rem; color: var(--silver-light); }
.admin-item-actions { display: flex; gap: 0.5rem; }
.admin-item-actions button, .admin-item-actions a { flex: 1; padding: 0.6rem; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 0.5rem; border: none; }
.btn-edit { background: rgba(212,175,55,0.1); color: var(--gold); }
.btn-delete { background: rgba(255,107,107,0.1); color: #ff6b6b; }

.empty-admin { border-radius: 1rem; padding: 3rem; text-align: center; background: var(--charcoal-light); border: 1px solid var(--charcoal-border); }
.empty-admin svg { margin: 0 auto 1rem; color: var(--charcoal-border); }
.empty-admin p:first-of-type { font-weight: 600; margin-bottom: 0.5rem; color: var(--silver); }
.empty-admin p { color: var(--silver); margin-bottom: 1rem; }

/* Admin form modal */
.admin-form-label { font-size: 0.75rem; font-weight: 600; margin-bottom: 0.4rem; display: block; color: var(--silver); }
.admin-form-group { margin-bottom: 1rem; }
.upload-drop { display: block; width: 100%; padding: 0.75rem 1rem; border-radius: 0.5rem; text-align: center; cursor: pointer; background: var(--charcoal); border: 2px dashed var(--charcoal-border); color: var(--silver); font-size: 0.875rem; }
.upload-drop:hover { background: rgba(255,255,255,0.05); }
.toggle-switch { position: relative; width: 3rem; height: 1.5rem; border-radius: 999px; border: none; background: var(--charcoal-border); }
.toggle-switch.on { background: var(--gold); }
.toggle-switch .knob { position: absolute; top: 0.25rem; right: 0.25rem; width: 1rem; height: 1rem; border-radius: 999px; background: white; transition: transform 0.2s; }
.toggle-switch.on .knob { transform: translateX(-1.5rem); }
.extra-images-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 0.75rem; }
.extra-image-item { position: relative; border-radius: 0.5rem; overflow: hidden; background: var(--charcoal); }
.extra-image-item img { width: 100%; height: 5rem; object-fit: cover; }
.extra-image-remove { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.5); border: none; opacity: 0; transition: opacity 0.2s; color: #ff6b6b; }
.extra-image-item:hover .extra-image-remove { opacity: 1; }

/* Admin media / portfolio grid */
.upload-zone { border-radius: 1rem; padding: 2.5rem; text-align: center; cursor: pointer; border: 2px dashed var(--charcoal-border); background: var(--charcoal-light); transition: all 0.3s; margin-bottom: 1.5rem; }
.upload-zone.dragging { border-color: var(--gold); background: rgba(201,168,76,0.05); box-shadow: 0 0 20px rgba(201,168,76,0.1); }
.upload-zone-inner { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.upload-zone-icon { width: 3.5rem; height: 3.5rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; background: rgba(201,168,76,0.1); color: var(--gold); }
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 640px) { .media-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .media-grid { grid-template-columns: repeat(4, 1fr); } }
.media-item { position: relative; aspect-ratio: 16/9; border-radius: 0.75rem; overflow: hidden; border: 1px solid var(--charcoal-border); }
.media-item img { width: 100%; height: 100%; object-fit: cover; }
.media-item.inactive { opacity: 0.5; }
.media-badge { position: absolute; top: 0.5rem; right: 0.5rem; padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.7rem; font-weight: 700; display: flex; align-items: center; gap: 0.25rem; background: rgba(0,0,0,0.7); color: var(--gold); }
.media-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; opacity: 0; transition: opacity 0.2s; background: rgba(0,0,0,0.7); }
.media-item:hover .media-overlay { opacity: 1; }
.media-overlay .title { font-size: 0.75rem; font-weight: 600; padding-inline: 0.5rem; text-align: center; color: var(--silver-light); }
.media-overlay-actions { display: flex; gap: 0.5rem; }
.media-overlay-actions button { padding: 0.375rem; border-radius: 0.5rem; border: none; }

/* Delete confirm modal */
.confirm-box { border-radius: 1rem; padding: 1.5rem; max-width: 24rem; width: 100%; background: var(--charcoal-light); border: 1px solid var(--charcoal-border); }
.confirm-box h3 { font-size: 1.125rem; margin-bottom: 1rem; color: var(--silver-light); }
.confirm-box p { margin-bottom: 1.5rem; color: var(--silver); }
.confirm-actions { display: flex; gap: 0.75rem; }
.confirm-actions button { flex: 1; padding: 0.65rem; border-radius: 0.75rem; font-size: 0.875rem; font-weight: 700; border: none; }
.btn-danger { background: #ff6b6b; color: white; }
.btn-cancel { background: none; border: 1px solid var(--charcoal-border); color: var(--silver); }

.toast-container { position: fixed; top: 1rem; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 0.5rem; }
.toast { padding: 0.75rem 1.25rem; border-radius: 0.5rem; font-size: 0.875rem; background: var(--charcoal-light); border: 1px solid var(--charcoal-border); color: var(--silver-light); box-shadow: 0 8px 24px rgba(0,0,0,0.4); animation: fadeInUp 0.3s var(--ease-luxury) forwards; }
.toast.error { border-color: #ef4444; color: #ef4444; }
.toast.success { border-color: var(--gold); }

/* ─── Accessibility widget ──────────────────────────────────────── */
.a11y-btn { position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 50; border-radius: 999px; padding: 0.25rem; background: transparent; border: none; }
.a11y-panel { position: fixed; bottom: 5rem; left: 1.5rem; z-index: 50; width: 20rem; max-height: 24rem; border-radius: 0.5rem; overflow: hidden; background: #000; border: 1px solid #FFFF00; box-shadow: 0 20px 50px rgba(0,0,0,0.6); display: none; }
.a11y-panel.open { display: block; }
.a11y-panel-header { padding: 1rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--charcoal-border); }
.a11y-panel-header h2 { font-size: 1.125rem; color: var(--gold); }
.a11y-panel-header button { background: none; border: none; color: var(--silver); }
.a11y-tabs { display: flex; border-bottom: 1px solid var(--charcoal-border); }
.a11y-tabs button { flex: 1; padding: 0.5rem; font-size: 0.875rem; background: none; border: none; border-bottom: 2px solid transparent; color: var(--silver); }
.a11y-tabs button.active { color: var(--gold); border-color: var(--gold); }
.a11y-tab-content { padding: 1rem; overflow-y: auto; max-height: 16rem; }
.a11y-panel-section { margin-bottom: 1rem; }
.a11y-panel-section label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--gold); }
.a11y-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.a11y-opt-btn { padding: 0.5rem; border-radius: 0.375rem; font-size: 0.875rem; background: var(--charcoal-mid); color: var(--silver); border: none; width: 100%; text-align: right; margin-bottom: 0.5rem; }
.a11y-opt-btn.active { background: var(--gold); color: var(--charcoal); }
.a11y-panel-footer { padding: 0.75rem; border-top: 1px solid var(--charcoal-border); display: flex; gap: 0.5rem; }
.a11y-panel-footer button { flex: 1; padding: 0.5rem 0.75rem; border-radius: 0.375rem; font-size: 0.875rem; border: none; background: var(--charcoal-mid); color: var(--silver); }
.a11y-panel-footer button.primary { background: var(--gold); color: var(--charcoal); font-weight: 600; }
.a11y-overlay { position: fixed; inset: 0; z-index: 40; display: none; }
.a11y-overlay.open { display: block; }

body.high-contrast { --charcoal-border: #fff; --silver: #fff; --gold: #ff0; filter: contrast(1.5); }
body.color-scheme-yellow-black { background: #000 !important; color: #ff0 !important; }
body.color-scheme-yellow-black a { color: #ff0 !important; text-decoration: underline; }
body.color-scheme-black-yellow { background: #ff0 !important; color: #000 !important; }
body.color-scheme-black-yellow a { color: #000 !important; text-decoration: underline; }
body.color-scheme-blue-yellow { background: #036 !important; color: #ff0 !important; }
body.color-scheme-blue-yellow a { color: #ff0 !important; text-decoration: underline; }
body.underline-links a { text-decoration: underline !important; }
body.hide-images img { display: none !important; }
body.reading-guide-enabled::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: 3px; background: rgba(255,0,0,0.5); pointer-events: none; z-index: 9999; box-shadow: 0 100px 0 rgba(255,0,0,0.5), 0 200px 0 rgba(255,0,0,0.5); }

/* ─── Utility ───────────────────────────────────────────────────── */
.hidden { display: none !important; }
.spinner { width: 3rem; height: 3rem; border-radius: 999px; border: 2px solid var(--gold); border-top-color: transparent; animation: spin 0.8s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
