:root {
  --gold-500: #d4a73d;
  --gold-600: #b88624;
  --gold-100: #f8f0d8;
  --black-900: #121212;
  --black-800: #1f1f1f;
  --neutral-700: #3a3a3a;
  --neutral-200: #efefef;
  --white: #ffffff;
  --shadow-soft: 0 14px 40px rgba(18, 18, 18, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f7f4ef;
  color: var(--black-900);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(212, 167, 61, 0.25);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 170px;
}

.brand img, .footer-logo {
  width: 100%;
  max-height: 80px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: clamp(14px, 2vw, 28px);
  color: var(--neutral-700);
  font-size: 0.96rem;
  white-space: nowrap;
}

.main-nav a {
  position: relative;
}

.main-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.header-booking { padding: 0.78rem 1.1rem; }

.menu-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--white);
  box-shadow: 0 10px 22px rgba(184, 134, 36, 0.3);
}

.btn-secondary {
  background: var(--white);
  border-color: rgba(184, 134, 36, 0.35);
  color: var(--black-900);
}

.btn-small { padding: 0.7rem 1rem; font-size: 0.9rem; }
.full-width { width: 100%; }

.dashboard-back-wrap { padding-top: 18px; }
.dashboard-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0.62rem 0.9rem;
  color: var(--black-900);
  background: var(--white);
  border: 2px solid var(--gold-500);
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(184,134,36,0.15);
  font-weight: 700;
}
.dashboard-back-icon { color: var(--gold-600); font-size: 1.45rem; line-height: 0.8; }
.dashboard-back:hover { color: var(--gold-600); transform: translateX(-2px); }
.admin-back { margin-bottom: 24px; }

.hero-section {
  background: linear-gradient(135deg, #fdf9f2 0%, #f5efe7 100%);
  padding: 96px 0 72px;
  border-bottom: 1px solid rgba(184,134,36,0.14);
}

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

.eyebrow {
  color: var(--gold-600);
  font-size: 0.8rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
  font-weight: 700;
}

.about-section {
  text-align: center;
}

.about-copy {
  max-width: 720px;
  margin: 0 auto;
}

.about-logo {
  display: block;
  margin: 0 auto 24px;
  max-width: 140px;
  height: auto;
}

.about-copy .eyebrow {
  display: block;
  margin-bottom: 18px;
}

.about-copy p {
  font-family: 'Inter', sans-serif;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--neutral-700);
  margin-bottom: 22px;
  text-align: center;
}

.about-copy p:last-child {
  margin-bottom: 0;
  color: var(--black-900);
  font-weight: 600;
}

h1, h2, h3, h4 {
  margin: 0 0 18px;
  font-family: 'Cormorant Garamond', serif;
}

h1 { font-size: clamp(2.7rem, 5vw, 5rem); line-height: 0.96; }
h2 { font-size: clamp(2.2rem, 4vw, 3rem); }
h3 { font-size: 2rem; }
.lead {
  max-width: 62ch;
  font-size: 1.06rem;
  color: var(--neutral-700);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0 18px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--black-800);
  font-size: 0.92rem;
}

.hero-points span {
  background: rgba(212,167,61,0.12);
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(212,167,61,0.3);
}

.hero-visual {
  position: relative;
  padding: 18px;
}

.feature-card.large img {
  border-radius: 28px;
  min-height: 520px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.mini-card {
  position: absolute;
  right: 28px;
  bottom: 12px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(212,167,61,0.2);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.brand-strip {
  background: var(--black-800);
  color: var(--white);
  border-bottom: 1px solid rgba(212,167,61,0.35);
}

.brand-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.brand-strip-grid div {
  display: grid;
  gap: 4px;
  padding: 1.1rem 1.25rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.brand-strip-grid div:last-child { border-right: 0; }
.brand-strip-grid strong { color: var(--gold-500); font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; }
.brand-strip-grid span { color: rgba(255,255,255,0.8); font-size: 0.86rem; }
.business-section { border-top: 1px solid rgba(18,18,18,0.04); }
.services-section { background: #fbfaf7; }

.section {
  padding: 84px 0;
}

.alt-bg {
  background: #f2ece3;
}

.section-heading {
  margin-bottom: 32px;
}

.card-grid, .service-grid, .quote-grid, .steps-grid, .dashboard-grid {
  display: grid;
  gap: 24px;
}

.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.style-card, .service-card, .quote-grid blockquote, .step-card, .panel, .dashboard-card, .contact-card, .auth-card, .feature-box {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(18,18,18,0.04);
}

.style-card img, .service-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
}

.style-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.promotion-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: var(--gold-600);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(18,18,18,0.2);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.mission-vision-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(184,134,36,0.2);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.mission-vision-card h3 { color: var(--gold-600); }
.mission-vision-card p:last-child { margin-bottom: 0; }

.style-body, .service-body {
  padding: 1.2rem 1.2rem 1.5rem;
}

.meta-row, .service-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-weight: 600;
  color: var(--neutral-700);
}

.badge {
  display: inline-block;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  color: var(--gold-600);
  background: rgba(212,167,61,0.12);
  border: 1px solid rgba(212,167,61,0.25);
  font-size: 0.76rem;
  margin-bottom: 10px;
}

.large-badge { font-size: 0.82rem; }

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold-600);
  font-weight: 600;
}

.two-column {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 16px;
}

.checks li {
  position: relative;
  padding-left: 22px;
  font-weight: 500;
}

.checks li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-600);
  font-weight: 700;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}

.stat-box {
  padding: 1.6rem;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.stat-box strong {
  display: block;
  font-size: 2.1rem;
  font-family: 'Cormorant Garamond', serif;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.home-service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wide-card { overflow: hidden; }

.steps-grid {
  grid-template-columns: repeat(4, minmax(0,1fr));
}

.step-card { padding: 1.5rem; }
.step-number { display: inline-block; color: var(--gold-600); font-weight: 700; margin-bottom: 12px; }

.quote-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.quote-grid blockquote {
  margin: 0;
  padding: 1.6rem;
  font-size: 1.04rem;
  color: var(--black-800);
}

.quote-grid footer {
  margin-top: 16px;
  color: var(--gold-600);
  font-weight: 700;
}

.page-hero {
  background: linear-gradient(180deg, rgba(245,239,231,1), rgba(255,255,255,1));
  padding: 80px 0;
}

.small-hero {
  text-align: center;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
}

.filter-panel {
  background: var(--white);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  height: fit-content;
}

.filter-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.filter-link {
  padding: 0.7rem 0.9rem;
  background: #f7f4ef;
  border-radius: 12px;
  color: var(--neutral-700);
}

.filter-link.active {
  background: rgba(212,167,61,0.12);
  color: var(--gold-600);
  border: 1px solid rgba(212,167,61,0.25);
}

.search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}

.search-bar input, .contact-form input:not([type="checkbox"]):not([type="file"]),
.contact-form textarea, .contact-form select,
.auth-form input:not([type="checkbox"]):not([type="file"]), .auth-form select,
.profile-form input:not([type="checkbox"]):not([type="file"]), .profile-form select,
.admin-form input:not([type="checkbox"]):not([type="file"]), .admin-form select,
.admin-form textarea, select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 2px solid rgba(184,134,36,0.35);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: var(--white);
}

.contact-form textarea, .admin-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form input[type="file"], .admin-form input[type="file"], .profile-form input[type="file"] {
  width: 100%;
  max-width: 100%;
}

.contact-form input[type="checkbox"], .admin-form input[type="checkbox"], .profile-form input[type="checkbox"] {
  width: auto;
  min-height: 0;
  margin: 0 0.5rem 0 0;
  padding: 0;
  accent-color: var(--gold-600);
}

select {
  min-height: 48px;
  color: var(--black-900);
  cursor: pointer;
  appearance: auto;
}

select:focus, .search-bar input:focus, .contact-form input:focus, .contact-form textarea:focus,
.contact-form select:focus, .auth-form input:focus, .auth-form select:focus,
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus,
.profile-form input:focus, .profile-form select:focus {
  outline: none;
  border-color: var(--gold-600);
  box-shadow: 0 0 0 4px rgba(212,167,61,0.16);
}

.catalog-grid {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.product-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.product-gallery img {
  border-radius: 20px;
  width: 100%;
  object-fit: cover;
  flex: 1 1 0;
  min-height: 220px;
}

.product-summary {
  background: var(--white);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1rem;
}

.price-row strong { font-size: 2rem; font-family: 'Cormorant Garamond', serif; }

.details-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.product-actions {
  margin-top: 16px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
}

.contact-card, .panel, .feature-box, .auth-card { padding: 1.5rem; }

.contact-address {
  display: grid;
  gap: 6px;
  margin: 0 0 24px;
  font-style: normal;
}

.contact-social-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-social-links a { color: var(--gold-600); overflow-wrap: anywhere; }
.contact-message-body { min-width: 240px; white-space: pre-wrap; overflow-wrap: anywhere; }

.booking-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.data-table th, .data-table td {
  text-align: left;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(18,18,18,0.05);
}

.data-table th {
  background: rgba(212,167,61,0.08);
  color: var(--gold-600);
  font-weight: 700;
}

.section-footer-action {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.inline-order-form {
  display: inline-flex;
  margin: 0;
}

.contact-form, .auth-form, .admin-form, .profile-form, .booking-form {
  display: grid;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.contact-form[hidden], .auth-form[hidden] {
  display: none;
}

.contact-form label, .auth-form label, .admin-form label, .profile-form label {
  display: grid;
  min-width: 0;
  gap: 8px;
  color: var(--neutral-700);
  font-weight: 600;
  width: 100%;
}

.contact-form > .btn, .auth-form > .btn, .admin-form > .btn,
.booking-form > .btn, .profile-form > .btn {
  position: static;
  justify-self: start;
  max-width: 100%;
  margin-top: 4px;
}

.auth-form > .btn.full-width { justify-self: stretch; }

.auth-section {
  min-height: 72vh;
  display: flex;
  align-items: center;
}

.auth-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 920px;
  margin: 0 auto;
  align-items: center;
}

.auth-form-shell {
  width: min(520px, 100%);
  margin: 0 auto;
}

.auth-form {
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid rgba(184,134,36,0.2);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

/* Profile page: single centered column (unlike the two-column .auth-card
   used for login/signup), avatar-first view mode, edit form hidden until
   "Edit profile" is clicked (see app.js). */
.profile-card-wrap {
  display: block;
  max-width: 480px;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px 22px;
}

.app-topbar-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--black-900);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.app-topbar-back:hover {
  color: var(--gold-600);
}

.app-topbar-spacer {
  width: 40px;
  flex-shrink: 0;
}

.app-topbar-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.profile-panel {
  text-align: center;
  position: relative;
}

.profile-avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.profile-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold-500);
  box-shadow: var(--shadow-soft);
}

.profile-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-500);
  color: #fff;
  font-size: 2.6rem;
  font-weight: 700;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 14px 18px;
  margin-bottom: 12px;
}

.info-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-600);
  flex-shrink: 0;
}

.info-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.info-card-label {
  font-size: 0.78rem;
  color: var(--neutral-700);
}

.info-card-value {
  font-weight: 600;
  word-break: break-word;
}

.profile-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.profile-form {
  text-align: left;
  max-width: 380px;
  margin: 0 auto;
}

.profile-form-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.field-hint {
  font-weight: 400;
  color: var(--neutral-700);
  font-size: 0.85em;
}

.auth-intro {
  text-align: center;
  padding: 1.2rem;
}

.auth-intro img {
  width: 180px;
  margin: 0 auto 18px;
}

.auth-form-shell .auth-intro h1 { margin-bottom: 10px; }
.auth-form-shell .auth-form { margin-top: 12px; }

.dashboard-intro { max-width: 620px; color: var(--neutral-700); margin: 0; }
.dashboard-primary { border-top: 1px solid rgba(18,18,18,0.05); }
.dashboard-list li { background: rgba(255,255,255,0.66); padding: 1rem; border: 1px solid rgba(18,18,18,0.05); border-radius: 14px; }
.booking-history-grid { display: grid; gap: 12px; }
.booking-history-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 1.1rem 1.25rem; background: var(--white); border: 1px solid rgba(18,18,18,0.06); border-radius: 14px; box-shadow: var(--shadow-soft); }
.booking-history-card div { display: grid; gap: 4px; }
.booking-history-card span:not(.booking-status) { color: var(--neutral-700); font-size: 0.9rem; }
.booking-status { padding: 0.38rem 0.7rem; border-radius: 999px; background: rgba(212,167,61,0.14); color: var(--gold-600); font-size: 0.8rem; font-weight: 700; }
.booking-status-confirmed, .booking-status-completed { background: rgba(42,128,82,0.1); color: #1c5a3a; }
.booking-status-rejected { background: rgba(190,54,54,0.1); color: #7a2121; }

.auth-note {
  text-align: center;
  color: var(--neutral-700);
}

.welcome-tag {
  color: var(--neutral-700);
  font-weight: 600;
}

.flash-wrap {
  padding-top: 18px;
}

.flash {
  background: rgba(212, 167, 61, 0.12);
  border: 1px solid rgba(212, 167, 61, 0.28);
  color: var(--black-800);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 12px;
}

.flash-error {
  background: rgba(190, 54, 54, 0.08);
  border-color: rgba(190, 54, 54, 0.2);
  color: #7a2121;
}

.flash-success {
  background: rgba(42, 128, 82, 0.08);
  border-color: rgba(42, 128, 82, 0.2);
  color: #1c5a3a;
}

/* Toast confirmations: fixed to the top of the viewport, auto-dismissed
   by app.js after 3 seconds (see initToasts()). */
.toast-wrap {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(92vw, 480px);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #1c5a3a;
  color: #fff;
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  text-align: center;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-12px);
  animation: toast-in 0.25s ease forwards;
}

.toast.toast-hide {
  animation: toast-out 0.25s ease forwards;
}

.toast-error {
  background: #7a2121;
}

.toast-success {
  background: #a8e6b0;
  color: #14532d;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-12px); }
}

.admin-dashboard {
  padding-top: 40px;
}

/* --- Admin panel: white background, gold accents, sidebar that can't
   overlap the footer (sticky + flex, confined to .admin-shell's own box,
   instead of the old position:fixed + bottom:0 that floated over anything
   below it, including the site footer). --- */
.admin-shell {
  display: flex;
  align-items: flex-start;
  min-height: 72vh;
  background: #ffffff;
}
.admin-sidebar {
  position: sticky;
  top: 88px;
  left: auto;
  width: 250px;
  flex: 0 0 250px;
  height: calc(100vh - 88px);
  z-index: 5;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 0;
  background: #ffffff;
  border-right: 1px solid rgba(212,167,61,0.35);
  padding: 28px 18px;
}
.admin-sidebar-header { padding-bottom: 1rem; border-bottom: 1px solid rgba(212,167,61,0.3); }
.admin-sidebar-header .eyebrow { color: var(--gold-600); margin: 0 0 6px; }
.admin-sidebar-header h2 { color: var(--gold-600); font-size: 1.8rem; margin: 0; }
.admin-sidebar-nav { display: grid; gap: 4px; padding: 1rem 0; }
.admin-sidebar-nav a { display: flex; justify-content: space-between; gap: 10px; padding: 0.7rem 0.75rem; border-radius: 10px; color: var(--gold-600); font-weight: 600; transition: background 0.2s ease, color 0.2s ease; }
.admin-sidebar-nav a:hover { background: rgba(212,167,61,0.12); color: var(--black-900); }
.admin-sidebar-nav span { color: var(--gold-600); font-size: 0.75rem; }
.admin-sidebar-action { display: block; border-top: 1px solid rgba(212,167,61,0.3); padding-top: 1rem; color: var(--gold-600); font-weight: 700; font-size: 0.9rem; }
.admin-sidebar-action + .admin-sidebar-action { border-top: none; padding-top: 0.5rem; }

.customer-sidebar-header { display: flex; flex-direction: column; align-items: center; gap: 10px; }

.sidebar-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-500);
}

.sidebar-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-500);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
}
.admin-content { min-width: 0; }
.admin-page-content { flex: 1; min-width: 0; padding: 42px clamp(22px, 4vw, 64px) 72px; background: #ffffff; }
.admin-page-heading { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.admin-page-heading h1 { margin-bottom: 10px; color: var(--gold-600); }
.admin-page-heading p:last-child { color: var(--neutral-700); }

.dashboard-welcome-heading { text-align: center; margin-left: auto; margin-right: auto; }
.admin-page-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr); gap: 24px; }
.customer-activity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.orders-history-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-sidebar-nav a.active { background: var(--gold-500); color: #ffffff; }
.admin-sidebar-nav a.active span { color: #ffffff; }
.admin-content .section:first-child { padding-top: 0; }
.admin-content h1, .admin-content h2, .admin-content h3, .admin-content h4,
.admin-content label { color: var(--gold-600); }
.admin-content select,
.admin-content input,
.admin-content textarea {
  border: 2px solid rgba(184,134,36,0.35);
  outline: none;
  color: var(--black-900);
}
.admin-content select:focus,
.admin-content input:focus,
.admin-content textarea:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(212,167,61,0.14); }
.admin-content select { min-height: 48px; padding: 0.7rem 0.8rem; background: var(--white); border-radius: 10px; }
.admin-content .btn-primary { background: var(--gold-500); border-color: var(--gold-600); color: #ffffff; }
.admin-content .btn-secondary { background: #ffffff; border: 2px solid var(--gold-500); color: var(--gold-600); }

/* Expandable "edit" panels for styles/services in the admin panel */
.admin-edit-list { display: grid; gap: 10px; }
.admin-edit-item { border: 1px solid rgba(212,167,61,0.35); border-radius: 12px; background: #fffefb; overflow: hidden; }
.admin-edit-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  color: var(--gold-600);
}
.admin-edit-item summary::-webkit-details-marker { display: none; }
.admin-edit-item summary::after { content: '\25BE'; margin-left: auto; color: var(--gold-600); }
.admin-edit-item[open] summary::after { content: '\25B4'; }
.admin-edit-thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--neutral-200); }
.admin-edit-meta { display: block; color: var(--neutral-700); font-weight: 400; font-size: 0.85rem; }
.admin-edit-item .admin-form { padding: 0 16px 16px; border-bottom: none; }
.admin-edit-actions { display: flex; gap: 10px; margin-top: 4px; }
.btn-danger { background: #fff4f2; border-color: rgba(160, 45, 36, 0.3); color: #8f2f27; }
.inline-admin-form { display: grid; grid-template-columns: 1fr 1fr 130px 1fr auto; gap: 8px; margin-top: 10px; }
.inline-admin-form input, .inline-admin-form select { min-width: 0; padding: 0.65rem; border: 2px solid rgba(184,134,36,0.35); border-radius: 9px; }

.admin-toolbar-section { padding-top: 0; padding-bottom: 24px; }
.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px auto auto;
  gap: 12px;
  align-items: end;
  padding: 1rem;
  background: var(--white);
  border: 1px solid rgba(18,18,18,0.06);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
.admin-toolbar label { display: grid; gap: 6px; color: var(--neutral-700); font-size: 0.82rem; font-weight: 700; }
.admin-toolbar input, .admin-toolbar select { width: 100%; border: 2px solid rgba(184,134,36,0.35); border-radius: 10px; padding: 0.75rem 0.8rem; background: #fff; }
.admin-analytics { padding-top: 0; }
.panel-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.panel-heading-row h3 { margin-bottom: 8px; }
.status-chip { color: #1c5a3a; background: rgba(42,128,82,0.1); border-radius: 999px; padding: 0.35rem 0.65rem; font-size: 0.78rem; font-weight: 700; }
.analytics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.analytics-grid div { padding: 1rem; border-radius: 14px; background: #f8f5ef; }
.analytics-grid span { display: block; color: var(--neutral-700); font-size: 0.8rem; }
.analytics-grid strong { display: block; margin-top: 6px; font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; }
.ranked-list { margin: 0; padding-left: 1.3rem; display: grid; gap: 12px; }
.ranked-list li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(18,18,18,0.06); padding-bottom: 8px; }
.ranked-list strong { color: var(--gold-600); font-size: 0.85rem; }
.admin-form { padding-bottom: 1.25rem; border-bottom: 1px solid rgba(18,18,18,0.08); }
.compact-form { background: #fbfaf7; border: 1px solid rgba(18,18,18,0.06); border-radius: 14px; padding: 1rem; margin-top: 14px; }

.dashboard-grid {
  grid-template-columns: repeat(6, minmax(0,1fr));
}

.dashboard-card {
  padding: 1.3rem 1rem;
  text-align: center;
}

.dashboard-card span { color: var(--neutral-700); display: block; }
.dashboard-card strong { font-size: 2rem; font-family: 'Cormorant Garamond', serif; }

.admin-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.activity-list li {
  display: grid;
  gap: 6px;
  border-bottom: 1px solid rgba(18, 18, 18, 0.05);
  padding-bottom: 10px;
}

.activity-list small {
  color: var(--gold-600);
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  background: #171412;
  color: #f2eee9;
  padding-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}

.footer-social a:hover {
  color: var(--gold-500);
}

.footer-social svg {
  flex-shrink: 0;
}

.footer-social-icons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.footer-social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  justify-content: center;
}

.footer-address-lead {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
}

.site-footer h4 { margin-bottom: 14px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 32px;
  padding: 20px 0 30px;
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hero-grid, .two-column, .product-layout, .contact-layout, .auth-card, .admin-layout, .catalog-layout, .footer-grid, .admin-workspace, .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .admin-shell { display: block; }
  .admin-sidebar { position: fixed; top: 72px; left: 0; width: 100%; flex-basis: auto; height: auto; max-height: 260px; border-radius: 0 0 18px 18px; border-right: none; border-bottom: 1px solid rgba(212,167,61,0.35); }
  .admin-page-content { padding: 300px 16px 48px; }
  .admin-page-grid { grid-template-columns: 1fr; }
  .inline-admin-form { grid-template-columns: 1fr; }

  .dashboard-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .brand-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-strip-grid div:nth-child(2) { border-right: 0; }
  .admin-toolbar { grid-template-columns: 1fr 1fr; }
  .toolbar-search { grid-column: 1 / -1; }
  .analytics-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .service-grid, .home-service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .quote-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav, .nav-actions { display: none; }
  .nav-wrap { justify-content: space-between; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(184, 134, 36, 0.35);
    border-radius: 999px;
    background: var(--white);
    color: var(--black-900);
    font-weight: 600;
  }
  .site-header.menu-open .nav-wrap { flex-wrap: wrap; }
  .site-header.menu-open .main-nav,
  .site-header.menu-open .nav-actions {
    display: flex;
    width: 100%;
  }
  .site-header.menu-open .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0 4px;
  }
  .site-header.menu-open .nav-actions { flex-wrap: wrap; padding-bottom: 16px; }
  .hero-section { padding: 48px 0 42px; }
  .hero-grid { gap: 28px; }
  .hero-copy h1 { font-size: clamp(2.55rem, 11vw, 4rem); }
  .hero-visual { padding: 0; }
  .feature-card.large img { min-height: 0; height: min(62vw, 390px); }
  .mini-card { right: 12px; bottom: 12px; }
  .brand-strip-grid { grid-template-columns: 1fr; }
  .brand-strip-grid div, .brand-strip-grid div:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .brand-strip-grid div:last-child { border-bottom: 0; }
  .card-grid, .dashboard-grid, .service-grid, .steps-grid, .catalog-grid, .stats-panel { grid-template-columns: 1fr; }
  .search-bar { flex-direction: column; }
  .style-card img, .service-card img { height: 240px; }
  .product-gallery { flex-direction: column; height: auto; }
  .product-gallery img { flex: none; height: 260px; min-height: 0; }
  .feature-card.large img { min-height: 340px; }
}

html, body { max-width: 100%; overflow-x: clip; }
main, section, .container, .admin-page-content, .panel { min-width: 0; }

@media (max-width: 1024px) {
  .container { width: min(100% - 40px, 900px); }

  .nav-wrap { gap: 16px; }
  .brand { width: 140px; flex: 0 0 140px; }
  .main-nav, .nav-actions { display: none; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }
  .site-header.menu-open .nav-wrap { flex-wrap: wrap; }
  .site-header.menu-open .main-nav,
  .site-header.menu-open .nav-actions { display: flex; width: 100%; }
  .site-header.menu-open .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0 4px;
    white-space: normal;
  }
  .site-header.menu-open .nav-actions { flex-wrap: wrap; padding-bottom: 12px; }

  .admin-shell { display: block; min-height: 0; }
  .admin-sidebar {
    position: static;
    width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 16px 20px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(212,167,61,0.35);
  }
  .admin-sidebar-header { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; }
  .admin-sidebar-header .eyebrow { margin: 0; }
  .admin-sidebar-header h2 { margin: 0; }
  .customer-sidebar-header { justify-content: space-between; }
  .admin-sidebar-nav {
    display: flex;
    gap: 8px;
    margin: 0 -4px;
    padding: 12px 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }
  .admin-sidebar-nav a { flex: 0 0 auto; white-space: nowrap; }
  .admin-sidebar-action { display: inline-block; margin: 0 12px 0 0; padding-top: 8px; border-top: 0; }
  .admin-sidebar-action + .admin-sidebar-action { padding-top: 8px; }
  .admin-page-content { padding: 28px 20px 48px; }
}

@media (max-width: 720px) {
  .container { width: calc(100% - 32px); }
  .nav-wrap { min-height: 72px; gap: 10px; }
  .brand { width: 118px; flex-basis: 118px; }
  .menu-toggle { padding: 0.55rem 0.8rem; }

  .section { padding: 56px 0; }
  .page-hero { padding: 54px 0; }
  .hero-section { padding: 48px 0 42px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-copy h1 { font-size: clamp(2.4rem, 11vw, 4rem); }
  .hero-visual { padding: 0; }
  .feature-card.large img { width: 100%; min-height: 0; height: min(78vw, 390px); }
  .mini-card { right: 12px; bottom: 12px; }

  .card-grid, .catalog-grid, .service-grid, .home-service-grid,
  .steps-grid, .dashboard-grid, .stats-panel, .analytics-grid,
  .quote-grid, .mission-vision-grid, .orders-history-grid,
  .customer-activity-grid { grid-template-columns: minmax(0, 1fr); }
  .style-card img, .service-card img { height: min(72vw, 300px); }
  .catalog-layout { grid-template-columns: minmax(0, 1fr); }
  .filter-panel { width: 100%; }
  .filter-list { display: flex; flex-wrap: wrap; }
  .filter-link { flex: 0 1 auto; }
  .search-bar { flex-direction: column; }
  .search-bar .btn { width: 100%; }

  .contact-layout, .booking-layout, .product-layout, .two-column,
  .admin-layout, .admin-workspace { grid-template-columns: minmax(0, 1fr); }
  .product-summary { padding: 1.25rem; }
  .product-gallery { height: auto; }
  .product-gallery img { flex: none; height: min(75vw, 320px); min-height: 0; }
  .product-actions, .cta-row { align-items: stretch; }
  .product-actions > *, .product-actions .btn, .product-actions button { max-width: 100%; }
  .product-actions { flex-direction: column; }
  .inline-order-form { width: 100%; }
  .inline-order-form .btn { width: 100%; }

  .admin-page-content { padding: 24px 16px 40px; }
  .admin-page-grid, .admin-toolbar { grid-template-columns: minmax(0, 1fr); }
  .admin-toolbar > *, .admin-toolbar .toolbar-search { grid-column: auto; min-width: 0; }
  .admin-page-heading { margin-bottom: 24px; }
  .dashboard-grid { gap: 14px; }
  .data-table { min-width: 640px; }
  .table-wrap { max-width: 100%; overflow-x: auto; }
  .profile-detail-list div { align-items: flex-start; gap: 12px; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-address { overflow-wrap: anywhere; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 28px); }
  h1 { font-size: clamp(2.25rem, 12vw, 3.25rem); }
  h2 { font-size: clamp(1.9rem, 9vw, 2.5rem); }
  h3 { font-size: 1.65rem; }
  .section { padding: 44px 0; }
  .hero-section { padding: 38px 0 34px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .hero-points { gap: 8px; }
  .hero-points span { font-size: 0.82rem; }
  .brand-strip-grid { grid-template-columns: minmax(0, 1fr); }
  .brand-strip-grid div, .brand-strip-grid div:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .brand-strip-grid div:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-social-icons { flex-wrap: wrap; }
  .admin-sidebar { padding-left: 14px; padding-right: 14px; }
  .admin-page-content { padding-right: 14px; padding-left: 14px; }
  .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-card { padding: 1rem 0.65rem; }
  .data-table { min-width: 580px; }
  .contact-card, .panel, .feature-box, .auth-card { padding: 1.1rem; }
  .booking-history-card, .panel-heading-row { align-items: flex-start; flex-direction: column; }
}
