/* ============================================================
   Santosh Guru — Vedic Wisdom site.css
   Rich, reference-inspired design system
   Palette: maroon / gold / ivory — traditional Vedic aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Tiro+Devanagari+Sanskrit:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap');

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

:root {
  --sg-maroon: #570006;
  --sg-maroon-deep: #3a0004;
  --sg-maroon-mid: #7a1315;
  --sg-gold: #d8a443;
  --sg-gold-light: #f0c978;
  --sg-gold-deep: #865300;
  --sg-ivory: #fffaf2;
  --sg-cream: #fbf9f8;
  --sg-cream-deep: #f6ecd9;
  --sg-ink: #1b1c1c;
  --sg-muted: #58413f;
  --sg-line: #e8c889;
  --sg-shadow: 0 18px 50px rgba(74, 29, 18, .13);
  --sg-shadow-sm: 0 8px 24px rgba(88, 29, 12, .08);
  --sg-font-ne: 'Noto Sans Devanagari';
  --sg-font-ne-serif: 'Tiro Devanagari Sanskrit';
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sg-cream);
  color: var(--sg-ink);
  font-family: var(--sg-font-ne), 'Plus Jakarta Sans', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; margin: 0; }
.sg-wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }

/* ---------- Header ---------- */
.sg-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(90deg, #3a0004, #7a1315 55%, #3a0004);
  color: #ffe9c4;
  border-bottom: 1px solid rgba(240, 201, 120, .4);
  box-shadow: 0 8px 25px rgba(45, 7, 7, .24);
}
.sg-header-inner {
  max-width: 1320px; margin-inline: auto; padding: 13px 24px;
  display: flex; align-items: center; gap: 22px;
}
.sg-brand { display: flex; align-items: center; gap: 12px; }
.sg-brand-icon {
  width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #fff, #f3e2c0);
  color: var(--sg-maroon); font-size: 26px;
  border: 2px solid var(--sg-gold-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.sg-brand-text strong { display: block; color: var(--sg-gold-light); font-size: 20px; line-height: 1.1; }
.sg-brand-text small { display: block; color: #f4ddad; font-size: 10px; letter-spacing: .05em; }
.sg-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.sg-nav a {
  color: #f7dfb8; font-size: 13px; font-weight: 600; padding: 9px 13px;
  border-radius: 9px; transition: .2s; white-space: nowrap;
}
.sg-nav a:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.sg-nav a.active {
  background: linear-gradient(135deg, var(--sg-gold-light), #d49a2d);
  color: #4b1512; box-shadow: 0 6px 16px rgba(0, 0, 0, .22);
}
.sg-nav-mobile-actions { display: none !important; }
.sg-menu-btn {
  display: none; background: none; border: 0; color: #ffe9c4;
  font-size: 28px; cursor: pointer; margin-left: auto; line-height: 1;
}
.sg-header-actions { display: flex; align-items: center; gap: 10px; }
.sg-lang-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px;
  border: 1.5px solid var(--sg-gold-deep); background: transparent;
  color: var(--sg-gold-light); font-weight: 800; font-size: 14px;
  text-decoration: none; transition: .25s; flex-shrink: 0;
}
.sg-lang-btn:hover { background: var(--sg-gold-deep); color: #fff; transform: translateY(-2px); }

/* ---------- Buttons ---------- */
.sg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 11px; font-weight: 700; font-size: 14px;
  cursor: pointer; text-decoration: none; transition: .25s; border: 0; white-space: nowrap;
}
.sg-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(75, 20, 18, .22); }
.sg-btn-gold { background: linear-gradient(135deg, #f0c978, #d49a2d); color: #4b1512; }
.sg-btn-maroon { background: linear-gradient(135deg, #7a1315, #3a0004); color: #fff; }
.sg-btn-outline { background: transparent; border: 1.5px solid var(--sg-gold-deep); color: var(--sg-gold-deep); }
.sg-btn-outline:hover { background: var(--sg-gold-deep); color: #fff; }
.sg-btn-sm { padding: 9px 16px; font-size: 12px; border-radius: 9px; }

/* ---------- Eyebrow / headings ---------- */
.sg-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--sg-line); background: var(--sg-ivory);
  color: #9b332a; border-radius: 999px; padding: 7px 16px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.sg-h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.16; color: #571514; }
.sg-h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.22; color: #521716; }
.sg-h3 { font-size: 21px; line-height: 1.3; color: #5c1b18; }
.sg-muted { color: var(--sg-muted); }
.sg-gold-text { color: var(--sg-gold-deep); }

/* ---------- Hero ---------- */
.sg-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 78% 26%, rgba(224, 173, 85, .2), transparent 34%),
    linear-gradient(112deg, #fffaf2 4%, #fffdf8 55%, #f6e7cc 100%);
}
.sg-hero::before {
  content: 'ॐ'; position: absolute; top: -46px; right: 5%;
  font-family: serif; font-size: 360px; line-height: 1;
  color: rgba(122, 19, 21, .045); pointer-events: none;
}
.sg-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding: 70px 0 84px; }
.sg-hero h1 { margin: 22px 0 12px; }
.sg-hero h1 em { font-style: normal; color: var(--sg-gold-deep); }
.sg-hero-copy > p { font-size: 17px; max-width: 620px; }
.sg-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }

.sg-portrait-wrap { position: relative; min-height: 520px; display: flex; justify-content: center; align-items: flex-end; }
.sg-portrait-ring {
  position: absolute; width: 460px; height: 460px; border-radius: 50%;
  border: 1px solid rgba(210, 151, 54, .3); top: 24px; left: 50%; transform: translateX(-50%);
  box-shadow: 0 0 0 36px rgba(226, 184, 109, .06), 0 0 0 72px rgba(226, 184, 109, .035);
}
.sg-portrait-wrap img {
  position: relative; width: 420px; height: 500px; object-fit: cover;
  border-radius: 50% 50% 12px 12px; box-shadow: var(--sg-shadow);
}
.sg-name-plaque {
  position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 350px; text-align: center; padding: 12px 22px;
  background: #fff8e9; border: 1px solid var(--sg-line); border-radius: 50%;
  box-shadow: 0 8px 24px rgba(88, 29, 12, .14);
}
.sg-name-plaque strong { display: block; font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: 19px; color: #5d1714; }
.sg-name-plaque span { font-size: 11px; color: #775e4d; }
.sg-float-card {
  position: absolute; top: 60px; right: 0; background: #fff8e9;
  border: 1px solid var(--sg-line); border-radius: 16px; padding: 14px 16px;
  box-shadow: var(--sg-shadow); display: flex; align-items: center; gap: 10px;
}
.sg-float-card .material-symbols-outlined { font-size: 30px; color: #c88f2d; }

/* ---------- Trust / stats bar ---------- */
.sg-trust {
  position: relative; z-index: 3; margin-top: -26px;
  background: var(--sg-ivory); border: 1px solid var(--sg-line); border-radius: 16px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 24px 16px; box-shadow: var(--sg-shadow);
}
.sg-trust > div { display: flex; align-items: center; gap: 14px; padding: 4px 22px; border-right: 1px solid #ecd8af; }
.sg-trust > div:last-child { border: 0; }
.sg-trust .material-symbols-outlined { font-size: 38px; color: #c88f2d; }
.sg-trust strong { display: block; color: var(--sg-ink); font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: 21px; line-height: 1.1; }
.sg-trust span { font-size: 12px; color: var(--sg-muted); }

/* ---------- Section bands ---------- */
.sg-section { padding: 92px 0; position: relative; }
.sg-band-cream { background: linear-gradient(180deg, #fffdf8, #f9f0df); }
.sg-band-ivory { background: var(--sg-ivory); }
.sg-band-white { background: #fff; }
.sg-band-maroon {
  background: linear-gradient(100deg, #3a0004, #7a1315 55%, #4a0e0d);
  color: #fff; position: relative; overflow: hidden;
}
.sg-band-maroon::before {
  content: 'ॐ'; position: absolute; right: -24px; top: -80px;
  font-family: serif; font-size: 320px; line-height: 1; color: rgba(240, 201, 120, .07);
}
.sg-section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; position: relative; }
.sg-section-head h2 { margin: 12px 0 8px; }
.sg-section-head p { color: var(--sg-muted); font-size: 15px; }

/* ---------- Ornamental divider ---------- */
.sg-divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 24px auto; max-width: 260px; }
.sg-divider::before, .sg-divider::after {
  content: ''; height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, var(--sg-gold-deep), transparent);
}
.sg-divider .sg-divider-diamond {
  width: 10px; height: 10px; transform: rotate(45deg);
  background: linear-gradient(135deg, #f0c978, #d49a2d);
  border: 1px solid var(--sg-gold-deep);
}
.sg-divider .material-symbols-outlined { color: var(--sg-gold-deep); font-size: 22px; }

/* ---------- Cards ---------- */
.sg-card {
  background: #fff; border: 1px solid #ecd9b2; border-radius: 18px;
  padding: 26px; position: relative; overflow: hidden;
  box-shadow: var(--sg-shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.sg-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--sg-gold-deep), var(--sg-gold-light), var(--sg-gold-deep));
  opacity: .85;
}
.sg-card:hover { transform: translateY(-6px); box-shadow: var(--sg-shadow); border-color: #c58b2c; }
.sg-card-icon {
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 14px; background: linear-gradient(135deg, #f6e7c8, #efd9a8);
  color: #8c2922; font-size: 30px; margin-bottom: 16px;
}
.sg-card h3 { font-size: 19px; margin-bottom: 8px; }
.sg-card p { font-size: 13px; color: var(--sg-muted); margin: 0; }

.sg-expert-card { overflow: hidden; padding: 0; }
.sg-expert-media { position: relative; height: 220px; }
.sg-expert-media img { width: 100%; height: 100%; object-fit: cover; }
.sg-expert-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(40, 4, 5, .55));
}
.sg-expert-body { padding: 20px 24px 24px; }
.sg-rating-pill {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: rgba(255, 250, 242, .92); border: 1px solid var(--sg-line);
  border-radius: 999px; padding: 5px 12px; display: flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; color: var(--sg-ink);
}
.sg-rating-pill .material-symbols-outlined { font-size: 15px; color: var(--sg-gold-deep); }
.sg-chip {
  display: inline-block; padding: 5px 11px; border-radius: 999px;
  background: #f6e7c8; color: #6b4a12; font-size: 12px; font-weight: 600;
}
.sg-feature { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--sg-muted); }
.sg-feature .material-symbols-outlined { font-size: 18px; color: var(--sg-gold-deep); }

/* ---------- Steps ---------- */
.sg-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sg-step {
  position: relative; text-align: center; padding: 34px 16px 20px;
  background: #fff; border: 1px solid #ecd9b2; border-radius: 16px;
  box-shadow: var(--sg-shadow-sm); transition: .25s;
}
.sg-step:hover { transform: translateY(-6px); box-shadow: var(--sg-shadow); }
.sg-step-num {
  position: absolute; top: -17px; left: 50%; transform: translateX(-50%);
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #7a1315, #3a0004); color: #ffd98a;
  font-weight: 700; font-size: 14px; border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
}
.sg-step .material-symbols-outlined {
  font-size: 42px; color: #95651e; padding: 10px;
  border: 1px solid var(--sg-line); border-radius: 50%; background: #fdf6e8;
}
.sg-step h3 { font-size: 18px; margin: 14px 0 4px; }
.sg-step p { font-size: 12px; color: var(--sg-muted); }

/* ---------- Credentials band ---------- */
.sg-creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.sg-creds > div { text-align: center; padding: 0 28px; border-right: 1px solid rgba(240, 201, 120, .3); }
.sg-creds > div:last-child { border: 0; }
.sg-creds .material-symbols-outlined { font-size: 46px; color: var(--sg-gold-light); }
.sg-creds h3 { color: #ffe7b5; font-size: 18px; margin: 10px 0 4px; }
.sg-creds p { font-size: 12px; color: #e5cdbb; margin: 0; }

/* ---------- Testimonials ---------- */
.sg-testimonial {
  background: #fff; border: 1px solid var(--sg-line); border-radius: 18px;
  padding: 30px 26px; box-shadow: var(--sg-shadow-sm); position: relative;
}
.sg-testimonial .sg-quote {
  font-size: 34px; color: #dba65a; opacity: .55; position: absolute; top: 18px; right: 24px;
}
.sg-testimonial p { margin: 14px 0 18px; font-size: 14px; line-height: 1.75; color: var(--sg-muted); font-style: italic; }
.sg-stars .material-symbols-outlined { font-size: 16px; color: var(--sg-gold-deep); }

/* ---------- Product cards ---------- */
.sg-product { padding: 18px; text-align: center; cursor: pointer; }
.sg-product-media {
  aspect-ratio: 1 / 1; display: grid; place-items: center; margin-bottom: 14px;
  background: linear-gradient(145deg, #fdf6e8, #f3e2c0); border-radius: 14px; overflow: hidden;
}
.sg-product-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.sg-product-media .material-symbols-outlined { font-size: 52px; color: #9a6c1f; }
.sg-product h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.sg-price { color: var(--sg-gold-deep); font-weight: 800; font-size: 16px; }

/* ---------- Filters / inputs ---------- */
.sg-input {
  width: 100%; padding: 12px 16px; border: 1px solid #e0cd9f; border-radius: 10px;
  background: #fffdf7; font-size: 14px; transition: .2s; outline: none;
}
.sg-input:focus { border-color: var(--sg-gold-deep); box-shadow: 0 0 0 3px rgba(134, 83, 0, .12); }

/* ---------- Footer ---------- */
.sg-footer {
  position: relative; background: linear-gradient(180deg, #2e0b0d, #1c0507);
  color: #d9cfc4; overflow: hidden; border-top: 1px solid rgba(215, 174, 79, .55);
}
.sg-footer::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, rgba(215, 174, 79, .09), transparent 26%),
    radial-gradient(circle at 88% 70%, rgba(215, 174, 79, .07), transparent 24%);
}
.sg-footer-grid {
  position: relative; max-width: 1240px; margin-inline: auto; padding: 52px 24px 34px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px;
}
.sg-footer h3 { color: #e1b95c; font-size: 17px; margin-bottom: 14px; }
.sg-footer a { color: #d5c9bd; font-size: 13px; transition: .2s; display: block; margin: 8px 0; }
.sg-footer a:hover { color: #f2cd74; transform: translateX(3px); }
.sg-footer-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.sg-footer-brand strong { color: #e4bd61; font-size: 21px; display: block; }
.sg-footer-brand small { color: #bfa888; font-size: 11px; }
.sg-footer p { font-size: 12px; line-height: 1.8; color: #bfae9e; max-width: 320px; }
.sg-footer-contact { display: flex; align-items: center; gap: 9px; margin: 9px 0; font-size: 12px; color: #d5c9bd; }
.sg-footer-contact .material-symbols-outlined { color: #e0b757; font-size: 19px; flex: 0 0 auto; }
.sg-footer-bottom {
  position: relative; border-top: 1px solid rgba(215, 174, 79, .3);
  padding: 16px 24px; text-align: center; font-size: 11px; color: #a99580;
}

/* ---------- Dashboard (booking) ---------- */
.sg-dash {
  display: grid; grid-template-columns: 270px 1fr; gap: 30px; align-items: start;
}
.sg-dash-sidebar {
  position: sticky; top: 92px; border-radius: 18px;
  background: linear-gradient(180deg, #4a0f0e, #33050a); color: #ffe9c4;
  padding: 18px 14px; border: 1px solid rgba(240, 201, 120, .28); box-shadow: var(--sg-shadow);
}
.sg-dash-profile {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px 18px;
  border-bottom: 1px solid rgba(240, 201, 120, .22); margin-bottom: 12px;
}
.sg-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, #f0c978, #d49a2d); color: #4b1512;
  display: grid; place-items: center; font-weight: 800; font-size: 17px;
}
.sg-dash-profile strong { display: block; color: #ffe9c4; font-size: 14px; }
.sg-dash-profile span { font-size: 11px; color: #d9bf8a; }
.sg-dash-link {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px;
  color: #e7d3b4; font-size: 13px; font-weight: 600; transition: .2s;
}
.sg-dash-link:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.sg-dash-link.active {
  background: linear-gradient(135deg, #f0c978, #d49a2d); color: #4b1512;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}
.sg-dash-link.logout { color: #ffb4a6; margin-top: 8px; border-top: 1px solid rgba(240, 201, 120, .2); border-radius: 0; padding-top: 14px; }
.sg-dash-link.logout:hover { background: rgba(255, 90, 80, .12); }

.sg-stat {
  background: #fff; border: 1px solid #ecd9b2; border-radius: 16px;
  padding: 22px; box-shadow: var(--sg-shadow-sm); position: relative; overflow: hidden;
}
.sg-stat::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--sg-gold-deep), var(--sg-gold-light)); }
.sg-stat .sg-stat-label { font-size: 12px; color: var(--sg-muted); }
.sg-stat .sg-stat-value { font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: 26px; color: var(--sg-gold-deep); }
.sg-stat .material-symbols-outlined { font-size: 26px; color: var(--sg-gold-deep); }

.sg-stepper { display: flex; justify-content: space-between; align-items: center; gap: 8px; max-width: 760px; margin: 0 auto 34px; position: relative; }
.sg-stepper::before { content: ''; position: absolute; top: 18px; left: 5%; right: 5%; height: 2px; background: linear-gradient(90deg, var(--sg-gold-deep), #e8cfa0); }
.sg-step-dot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.sg-step-dot i {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-weight: 700; font-size: 13px; border: 2px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .14); background: #e4d9c0; color: #7a5a20;
}
.sg-step-dot.done i { background: linear-gradient(135deg, #7a1315, #3a0004); color: #ffd98a; }
.sg-step-dot.current i { background: linear-gradient(135deg, #f0c978, #d49a2d); color: #4b1512; border-color: var(--sg-gold-deep); }
.sg-step-dot span { font-size: 11px; font-weight: 600; color: var(--sg-muted); }
.sg-step-dot.done span, .sg-step-dot.current span { color: var(--sg-gold-deep); }

.sg-booking-option { border: 1px solid #e0cd9f; border-radius: 14px; padding: 20px 16px; text-align: center; background: #fff; transition: .2s; cursor: pointer; height: 100%; }
.sg-booking-option:hover { border-color: var(--sg-gold-deep); transform: translateY(-3px); box-shadow: var(--sg-shadow-sm); }
.sg-booking-option.popular { border: 2px solid var(--sg-gold-deep); position: relative; }
.sg-booking-option .material-symbols-outlined { font-size: 34px; color: var(--sg-gold-deep); }
.sg-booking-option h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 15px; margin: 8px 0 2px; }
.sg-booking-option p { font-size: 12px; color: var(--sg-muted); margin: 0 0 10px; }
.sg-package-description { display: block; min-height: 36px; margin: -2px 0 12px; color: var(--sg-muted); font-size: 11px; line-height: 1.45; }
.sg-booking-option .sg-price { font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: 18px; }

.sg-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.sg-status.confirmed { background: rgba(11, 141, 78, .12); color: #0b7a44; }
.sg-status.pending { background: rgba(212, 164, 67, .18); color: #865300; }

/* ---------- Mobile chips (dashboard) — legacy, hidden after sidebar unified ---------- */
.sg-dash-mobile-nav { display: none !important; }

/* ---------- User portal — header bar + overlay (like admin, maroon theme) ---------- */
.sg-user-bar {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  height: 52px;
  background: linear-gradient(90deg, #3a0004, #7a1315 55%, #3a0004);
  color: #ffe9c4;
  border-radius: 12px;
  margin-bottom: 16px;
}
.sg-user-bar strong { font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: 16px; color: #f0c978; }
.sg-user-bar span { font-size: 11px; color: #f4ddad; }
.sg-user-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(240,201,120,.28);
  color: #ffe9c4; cursor: pointer;
}
.sg-user-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(27,28,28,.45);
  z-index: 999;
}

/* ---------- Booking expert directory ---------- */
.sg-dir-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sg-dir-chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid #e0cd9f; background: #fff;
  color: #6b4a12; font-size: 13px; font-weight: 700; cursor: pointer; transition: .2s;
  font-family: var(--sg-font-ne), 'Plus Jakarta Sans', sans-serif;
}
.sg-dir-chip:hover { border-color: var(--sg-gold-deep); transform: translateY(-2px); box-shadow: var(--sg-shadow-sm); }
.sg-dir-chip.active { background: linear-gradient(135deg, #f0c978, #d49a2d); color: #4b1512; border-color: transparent; box-shadow: 0 6px 14px rgba(0, 0, 0, .14); }

.sg-dir-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; cursor: pointer; }
.sg-dir-media { position: relative; height: 210px; }
.sg-dir-media img { width: 100%; height: 100%; object-fit: cover; }
.sg-dir-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(40, 4, 5, .55)); }
.sg-dir-av { position: absolute; inset: 0; display: grid; place-items: center; font-size: 52px; font-weight: 800; color: #8c2922; background: linear-gradient(135deg, #f6e7c8, #efd9a8); }
.sg-dir-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.sg-dir-body h3 { font-size: 20px; }
.sg-dir-spec { color: var(--sg-gold-deep); font-size: 12px; font-weight: 700; margin-top: 4px; }
.sg-dir-stats { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.sg-dir-stat { font-size: 12px; color: var(--sg-muted); }
.sg-dir-stat strong { display: block; color: var(--sg-ink); font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: 16px; }
.sg-dir-chips-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sg-dir-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid #ecd9b2; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sg-dir-foot .sg-price { font-size: 18px; }

/* ---------- Expert profile panel ---------- */
.sg-expert-panel { padding: 0; }
.sg-panel-head { display: grid; grid-template-columns: 128px 1fr auto; gap: 24px; align-items: center; padding: 28px 30px; background: linear-gradient(120deg, #fff, #fdf6e8); border-bottom: 1px solid #ecd9b2; }
.sg-panel-avatar { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sg-gold-light); box-shadow: var(--sg-shadow-sm); }
.sg-panel-avatar-fallback { width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; font-size: 40px; font-weight: 800; color: #8c2922; background: linear-gradient(135deg, #f6e7c8, #efd9a8); border: 3px solid var(--sg-gold-light); }
.sg-panel-stats { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 14px; }
.sg-panel-stat strong { display: block; font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: 22px; color: var(--sg-gold-deep); }
.sg-panel-stat span { font-size: 11px; color: var(--sg-muted); }
.sg-panel-body { padding: 26px 30px; }
.sg-panel-body h3 { font-size: 15px; letter-spacing: .04em; margin: 22px 0 8px; color: #5c1b18; }
.sg-panel-body h3:first-child { margin-top: 0; }
.sg-panel-bio { font-size: 14px; color: var(--sg-muted); line-height: 1.8; }
.sg-specialty-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Checkout ---------- */
.sg-checkout-stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 28px; }
.sg-checkout-step { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border: 1px solid #ecd9b2; border-radius: 12px; background: rgba(255,255,255,.68); color: var(--sg-muted); }
.sg-checkout-step span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #eadfc7; color: #765923; font-size: 12px; font-weight: 800; flex: 0 0 auto; }
.sg-checkout-step strong { font-size: 12px; }
.sg-checkout-step.done, .sg-checkout-step.active { border-color: var(--sg-gold-deep); color: var(--sg-maroon); }
.sg-checkout-step.done span, .sg-checkout-step.active span { background: linear-gradient(135deg, #f0c978, #d49a2d); color: #4b1512; }
.sg-checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.sg-checkout-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.sg-checkout-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sg-checkout-section-head h2, .sg-checkout-summary h2 { font-size: 20px; margin-top: 5px; }
.sg-checkout-items { display: flex; flex-direction: column; gap: 0; }
.sg-checkout-item { display: grid; grid-template-columns: 72px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 15px 0; border-top: 1px solid #f0e3c4; }
.sg-checkout-item:first-child { border-top: 0; padding-top: 0; }
.sg-checkout-item:last-child { padding-bottom: 0; }
.sg-checkout-item img, .sg-checkout-item-avatar { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; }
.sg-checkout-item-avatar { display: grid; place-items: center; color: #8c2922; background: linear-gradient(135deg, #f6e7c8, #efd9a8); font-weight: 800; }
.sg-checkout-item-info h3 { font-size: 15px; margin-bottom: 5px; }
.sg-checkout-item-info p { color: var(--sg-muted); font-size: 12px; }
.sg-checkout-stock-error { display: inline-block; margin-top: 5px; color: #ba1a1a; font-size: 11px; font-weight: 700; }
.sg-checkout-summary { position: sticky; top: 108px; }
.sg-summary-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 13px; font-size: 14px; }
.sg-summary-row.total { font-size: 18px; margin-top: 16px; }
.sg-summary-row.total strong { color: var(--sg-gold-deep); }
.sg-checkout-summary hr { border: 0; border-top: 1px solid #ecd9b2; margin: 16px 0; }
.sg-checkout-summary .sg-alert { margin-top: 16px; font-size: 12px; }
.sg-checkout-back { display: block; margin-top: 14px; color: var(--sg-gold-deep); font-size: 12px; font-weight: 700; text-align: center; }
.sg-payment-choices { display: flex; flex-direction: column; gap: 10px; }
.sg-payment-choice { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #e0cd9f; border-radius: 12px; background: #fff; cursor: pointer; }
.sg-payment-choice.selected { border-color: var(--sg-gold-deep); background: linear-gradient(135deg, #fff8e9, #f6e7c8); }
.sg-payment-choice.disabled { opacity: .62; cursor: not-allowed; }
.sg-payment-choice > span.material-symbols-outlined { color: var(--sg-gold-deep); }
.sg-payment-choice > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sg-payment-choice strong { font-size: 13px; }
.sg-payment-choice small { color: var(--sg-muted); font-size: 11px; }
.sg-payment-instructions { display: flex; gap: 14px; align-items: flex-start; margin-top: 14px; padding: 14px; background: #fff8ec; border: 1px solid #f0c978; border-radius: 12px; }
.sg-payment-instructions img { width: 120px; height: 120px; object-fit: contain; border-radius: 8px; flex: 0 0 auto; }
.sg-payment-instructions strong { display: block; font-size: 13px; margin-bottom: 6px; }
.sg-payment-instructions p, .sg-payment-instructions small { color: var(--sg-muted); font-size: 11px; white-space: pre-line; }
.sg-btn:disabled { opacity: .52; cursor: not-allowed; transform: none; }

/* ---------- FAQ ---------- */
.sg-faq details { background: #fff; border: 1px solid #ecd9b2; border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.sg-faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 15px; color: #5c1b18; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--sg-font-ne), 'Plus Jakarta Sans', sans-serif; }
.sg-faq summary::-webkit-details-marker { display: none; }
.sg-faq summary::after { content: '+'; font-size: 24px; font-weight: 600; color: var(--sg-gold-deep); }
.sg-faq details[open] summary { border-bottom: 1px solid #f0e3c4; }
.sg-faq details[open] summary::after { content: '–'; }
.sg-faq details p { padding: 0 22px 20px; color: var(--sg-muted); font-size: 14px; line-height: 1.8; }

/* ---------- Scroll reveal ---------- */
.sg-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.sg-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .sg-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Modals ---------- */
.modal-fixed {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-fixed.open { display: flex; }
.modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(20, 6, 6, .58);
  backdrop-filter: blur(2px);
}
.modal-content {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid #ecd9b2;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  width: min(520px, 100%);
  max-height: 92vh;
  overflow: auto;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #f0e3c4;
  background: linear-gradient(135deg, #fffaf2, #fff);
  border-radius: 18px 18px 0 0;
}
.modal-header .modal-title {
  font-size: 18px;
  color: #521716;
}
.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ecd9b2;
  background: #fff;
  color: #5c1b18;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.modal-close:hover { background: #fdf6e8; }
.modal-body { padding: 20px; }
.sg-alert { padding: 14px 16px; border-radius: 12px; font-size: 13px; font-weight: 600; margin-bottom: 16px; border: 1px solid transparent; }
.sg-alert-success { background: #edf9ef; border-color: #abd8b8; color: #0b7a44; }
.sg-alert-error { background: #fdecea; border-color: #f5c2c0; color: #ba1a1a; }
.sg-alert ul { margin: 0; padding-left: 18px; }
.sg-label { display: block; font-size: 12px; font-weight: 700; color: #5c1b18; margin-bottom: 6px; }

/* ---------- Booking selection — visual selected state ---------- */
.sg-booking-option:has(input:checked),
.sg-booking-option.selected {
  border-color: var(--sg-gold-deep);
  background: linear-gradient(135deg, #fff8e9, #fdf6e8);
  box-shadow: var(--sg-shadow-sm);
  transform: translateY(-2px);
}
.sg-booking-option:has(input:checked) .material-symbols-outlined,
.sg-booking-option.selected .material-symbols-outlined {
  color: #7a1315;
}
label.sg-input:has(input:checked),
label.sg-input.selected {
  border-color: var(--sg-gold-deep);
  background: linear-gradient(135deg, #fff8e9, #fdf6e8);
  box-shadow: 0 4px 14px rgba(134, 83, 0, .12);
  color: #521716;
}
/* Accessible hidden radios + focus */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.sg-booking-option:focus-within, label.sg-input:focus-within, .sg-payment-choice:focus-within {
  outline: 2px solid var(--sg-gold-deep);
  outline-offset: 2px;
}
.sg-field-error {
  display: block; margin-top: 6px; color: #ba1a1a; font-size: 11px; font-weight: 700;
}
.sg-slot-groups { display: flex; flex-direction: column; gap: 18px; }
.sg-slot-group-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; background: linear-gradient(135deg, #fff8e9, #fff); border: 1px solid #ecd9b2; border-radius: 10px;
}
.sg-slot-group-head strong { font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: 15px; color: #521716; }

/* ---------- Booking step flow (package -> time -> details) ---------- */
.sg-step-card { margin-top: 24px; scroll-margin-top: 110px; }
.sg-step-card-head { margin-bottom: 4px; }
.sg-step-badge {
  display: inline-block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800;
  color: var(--sg-gold-deep); background: #fdf6e8; border: 1px solid #ecd9b2; border-radius: 999px; padding: 3px 10px;
}
.sg-auto-advance-hint { display: flex; align-items: center; gap: 7px; margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed #ecd9b2; color: var(--sg-muted); font-size: 12px; }
.sg-auto-advance-hint .material-symbols-outlined { color: var(--sg-gold-deep); font-size: 17px; }
.sg-date-picker { margin-top: 20px; }
.sg-date-picker-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.sg-date-picker-head .sg-eyebrow { margin-bottom: 7px; }
.sg-date-picker-head p { margin: 0; font-size: 11px; }
.sg-date-picker-head h4 { margin: 7px 0 3px; font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: 18px; color: #521716; }
.sg-selection-status { display: inline-flex; align-items: center; gap: 4px; color: #28633b; font-size: 11px; font-weight: 700; white-space: nowrap; }
.sg-selection-status .material-symbols-outlined { font-size: 16px; }
.sg-date-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.sg-date-choice { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-height: 92px; padding: 13px 14px; border: 1.5px solid #e0cd9f; border-radius: 12px; background: #fff; cursor: pointer; transition: .15s; }
.sg-date-choice:hover { border-color: var(--sg-gold-deep); transform: translateY(-2px); box-shadow: var(--sg-shadow-sm); }
.sg-date-choice.selected, .sg-date-choice:has(input:checked) { border-color: var(--sg-gold-deep); background: linear-gradient(135deg, #fff8e9, #fdf6e8); box-shadow: 0 4px 14px rgba(134, 83, 0, .12); }
.sg-date-choice:focus-within { outline: 2px solid var(--sg-gold-deep); outline-offset: 2px; }
.sg-date-bs { color: #521716; font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: 16px; font-weight: 700; }
.sg-date-dow { color: #8c6a1f; font-size: 11px; font-weight: 800; }
.sg-date-ad { color: var(--sg-muted); font-size: 10px; }
.sg-time-selection { margin-top: 24px; padding-top: 22px; border-top: 1px dashed #ecd9b2; }
.sg-time-selection .sg-time-groups { margin-top: 16px; }
.sg-time-part { margin-top: 12px; }
.sg-time-part-label { display: block; font-size: 11px; font-weight: 800; color: #8c6a1f; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.sg-time-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.sg-time-chip {
  display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 9px 6px; line-height: 1.25;
  border: 1.5px solid #e0cd9f; border-radius: 10px; background: #fff; cursor: pointer; transition: .15s; text-align: center;
}
.sg-time-chip span { font-size: 13px; font-weight: 700; color: #521716; }
.sg-time-chip small { font-size: 10px; color: var(--sg-muted); }
.sg-time-chip:hover { border-color: var(--sg-gold-deep); transform: translateY(-2px); box-shadow: var(--sg-shadow-sm); }
.sg-time-chip.selected, .sg-time-chip:has(input:checked) {
  border-color: var(--sg-gold-deep);
  background: linear-gradient(135deg, #fff8e9, #fdf6e8);
  box-shadow: 0 4px 14px rgba(134, 83, 0, .12);
}
.sg-time-chip:focus-within { outline: 2px solid var(--sg-gold-deep); outline-offset: 2px; }
@media (max-width: 640px) {
  .sg-date-picker-head { align-items: stretch; flex-direction: column; gap: 10px; }
  .sg-selection-status { align-self: flex-start; }
  .sg-date-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sg-date-choice { min-height: 84px; padding: 11px 12px; }
  .sg-date-bs { font-size: 14px; }
  .sg-time-selection .sg-date-picker-head .sg-btn { align-self: flex-start; }
}
.sg-next-available { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; font-size: 14px; }
.sg-next-available strong { font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; color: #521716; }
.sg-bs-inline { font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; }
.sg-summary-list { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 0; }
.sg-summary-list > div { display: flex; justify-content: space-between; gap: 18px; font-size: 13px; }
.sg-summary-list dt { color: var(--sg-muted); white-space: nowrap; }
.sg-summary-list dd { margin: 0; font-weight: 700; text-align: right; }
.sg-input-invalid { border-color: #ba1a1a !important; background: #fff7f7; }
.sg-topup-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; margin: -4px 0 2px 6px; font-weight: 700; }
.sg-booking-context { margin: 24px 0 16px; padding: 20px; border-top: 3px solid var(--sg-gold-deep); background: linear-gradient(135deg, #fffaf2, #fff); }
.sg-booking-context h3 { margin: 6px 0 12px; font-size: 20px; color: #521716; }
.sg-booking-context dl { display: grid; gap: 8px; margin: 0; }
.sg-process-context { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; padding: 16px 18px; border: 1px solid #ecd9b2; border-left: 3px solid var(--sg-gold-deep); border-radius: 14px; background: linear-gradient(135deg, #fffaf2, #fff); box-shadow: var(--sg-shadow-sm); }
.sg-process-context-main { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sg-process-context-expert { display: flex; align-items: center; gap: 11px; min-width: 0; }
.sg-process-context-avatar, .sg-process-context-avatar-fallback { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; object-fit: cover; border: 2px solid #e7c779; }
.sg-process-context-avatar-fallback { display: grid; place-items: center; background: #f5e6bf; color: #6a1f1b; font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: 15px; font-weight: 700; }
.sg-process-context-expert > div { display: flex; flex-direction: column; min-width: 0; }
.sg-process-context-expert strong { color: #521716; font-size: 15px; }
.sg-process-context-expert small { overflow: hidden; color: var(--sg-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.sg-process-context-label { color: var(--sg-muted); display: block; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.sg-process-context-selections { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; padding-top: 13px; border-top: 1px dashed #ecd9b2; }
.sg-process-context-item { display: flex; flex-direction: column; gap: 2px; min-width: 140px; }
.sg-process-context-item strong { color: #521716; font-size: 12px; }
.sg-process-context-item small { color: var(--sg-muted); font-size: 11px; }
.sg-process-context-selections .sg-text-link { margin-left: auto; font-size: 11px; }
@media (max-width: 640px) {
  .sg-process-context-main { align-items: flex-start; flex-direction: column; }
  .sg-process-context-main .sg-btn { align-self: flex-start; }
  .sg-process-context-selections { align-items: flex-start; flex-direction: column; gap: 12px; }
  .sg-process-context-selections .sg-text-link { margin-left: 0; }
  .sg-process-context-item { min-width: 0; }
}
.sg-booking-context dl > div { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; }
.sg-booking-context dt { color: var(--sg-muted); }
.sg-booking-context dd { margin: 0; font-weight: 700; color: #521716; text-align: right; }
.sg-booking-context > p:last-child { margin: 14px 0 0; color: var(--sg-muted); font-size: 12px; }
/* Mobile: summary card first, before payment/confirmation */
@media (max-width: 1040px) {
  .sg-booking-layout { display: flex; flex-direction: column; }
  .sg-booking-layout .sg-checkout-summary { position: static; order: -1; }
}
/* ---------- Expert quick-view modal ---------- */
.sg-expert-modal .modal-content { width: min(760px, 100%); max-height: 92vh; display: flex; flex-direction: column; }
.sg-expert-modal .modal-body { flex: 1 1 auto; min-height: 0; padding: 0; overflow: auto; }
.sg-expert-modal-head { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 22px 22px 18px; background: linear-gradient(120deg, #fff, #fdf6e8); border-bottom: 1px solid #ecd9b2; align-items: center; }
.sg-expert-modal-head img, .sg-expert-modal-avatar-fb { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sg-gold-light); box-shadow: var(--sg-shadow-sm); }
.sg-expert-modal-avatar-fb { display: grid; place-items: center; font-size: 36px; font-weight: 800; color: #8c2922; background: linear-gradient(135deg, #f6e7c8, #efd9a8); }
.sg-expert-modal-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.sg-expert-modal-stat strong { display: block; font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: 18px; color: var(--sg-gold-deep); }
.sg-expert-modal-stat span { font-size: 10px; color: var(--sg-muted); }
.sg-expert-modal-body { padding: 18px 22px; }
.sg-modal-next-step { margin: 12px 0 0; padding: 10px 12px; border-radius: 9px; background: #fffaf2; color: var(--sg-muted); font-size: 12px; }
.sg-expert-modal-actions { display: flex; flex-shrink: 0; gap: 12px; padding: 16px 22px; border-top: 1px solid #f0e3c4; background: #fff; position: static; flex-wrap: wrap; }
.sg-expert-modal-actions .sg-btn { flex: 1; justify-content: center; }
@media (max-width: 640px) {
  .sg-expert-modal .modal-content { width: 100%; margin: 12px; max-height: 94vh; border-radius: 16px; }
  .sg-expert-modal-head { grid-template-columns: 84px 1fr; gap: 14px; padding: 16px; }
  .sg-expert-modal-head img, .sg-expert-modal-avatar-fb { width: 84px; height: 84px; }
  .sg-expert-modal-actions { padding: 14px 16px; }
  .sg-expert-modal-actions .sg-btn { width: 100%; flex: 1 1 100%; }
}
@keyframes spin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .sg-hero-grid { grid-template-columns: 1fr; }
  .sg-hero-copy { text-align: center; }
  .sg-hero-copy > p { margin-inline: auto; }
  .sg-hero-actions { justify-content: center; }
  .sg-portrait-wrap { min-height: 480px; }
  .sg-trust { grid-template-columns: repeat(2, 1fr); }
  .sg-trust > div { border-right: 0; border-bottom: 1px solid #ecd8af; }
  .sg-trust > div:nth-last-child(-n+2) { border-bottom: 0; }
  .sg-steps { grid-template-columns: repeat(2, 1fr); }
  .sg-creds { grid-template-columns: 1fr; gap: 26px; }
  .sg-creds > div { border-right: 0; border-bottom: 1px solid rgba(240, 201, 120, .3); padding-bottom: 22px; }
  .sg-creds > div:last-child { border-bottom: 0; }
  .sg-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .sg-menu-btn { display: block; }
  .sg-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #4a0f0e; flex-direction: column; align-items: stretch;
    padding: 14px 18px; box-shadow: 0 18px 36px rgba(0, 0, 0, .28);
  }
  .sg-nav.open { display: flex; }
  .sg-nav-mobile-actions { display: flex !important; gap: 10px; padding-top: 8px; margin-top: 4px; border-top: 1px solid rgba(240, 201, 120, .24); }
  .sg-nav-mobile-actions .sg-btn { flex: 1; justify-content: center; }
  .sg-dash { grid-template-columns: 1fr; }
  .sg-user-bar { display: flex; }
  .sg-user-overlay.open { display: block; }
  .sg-dash-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: min(300px, calc(100vw - 24px));
    z-index: 1000;
    border-radius: 0;
    border-right: 1px solid rgba(240,201,120,.28);
    transform: translateX(-100%);
    transition: transform .26s ease;
    overflow-y: auto;
    padding-top: 18px;
  }
  .sg-dash-sidebar.open { transform: translateX(0); }
  .sg-checkout-layout { grid-template-columns: 1fr; }
  .sg-checkout-summary { position: static; }
}
@media (max-width: 700px) {
  .sg-section { padding: 70px 0; }
  .sg-footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .sg-portrait-ring { width: 330px; height: 330px; }
  .sg-portrait-wrap img { width: 300px; height: 390px; }
  .sg-name-plaque { width: 290px; }
  .sg-hero::before, .sg-band-maroon::before { font-size: 200px; }
  .sg-steps { grid-template-columns: 1fr; }
  .sg-header-actions { display: none; }
  .sg-checkout-stepper { grid-template-columns: repeat(2, 1fr); }
  .sg-checkout-step { padding: 9px 10px; }
  .sg-checkout-step strong { font-size: 11px; }
  .sg-checkout-item { grid-template-columns: 56px minmax(0,1fr); }
  .sg-checkout-item img, .sg-checkout-item-avatar { width: 56px; height: 56px; }
  .sg-checkout-item > strong { grid-column: 2; }
  .sg-payment-instructions { flex-direction: column; }
}

/* ---------- Customer portal shell ---------- */
.sg-portal-shell {
  min-height: calc(100vh - 78px);
  padding: 34px 0 76px;
  background:
    radial-gradient(circle at 92% 0%, rgba(216, 164, 67, .12), transparent 25%),
    linear-gradient(180deg, #fbf6ed 0%, #fffaf2 58%, #f8efe1 100%);
}
.sg-portal-wrap { width: min(1360px, 100% - 48px); margin-inline: auto; }
.sg-portal-grid { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 28px; align-items: start; }
.sg-portal-main { min-width: 0; }
.sg-portal-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.sg-portal-heading h1 { margin-top: 12px; font-size: clamp(28px, 3vw, 40px); }
.sg-portal-heading p { margin: 8px 0 0; font-size: 14px; }
.sg-portal-actions { flex: 0 0 auto; }
.sg-portal-mobilebar { display: none; }
.sg-portal-shell .sg-dash-sidebar { position: sticky; top: 96px; width: auto; min-height: calc(100vh - 128px); display: flex; flex-direction: column; padding: 16px 12px; border-radius: 20px; }
.sg-portal-shell .sg-dash-profile { margin-bottom: 14px; padding: 4px 5px 18px; }
.sg-portal-shell .sg-dash-link { min-height: 46px; }
.sg-portal-shell .sg-dash-link.logout { margin-top: auto; }
.sg-portal-welcome { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 26px; margin-bottom: 18px; border: 1px solid #ecd9b2; border-radius: 20px; background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,247,229,.92)); box-shadow: var(--sg-shadow-sm); }
.sg-portal-kicker { margin: 0; color: var(--sg-gold-deep); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.sg-portal-welcome h2 { color: #521716; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; margin: 2px 0 4px; }
.sg-portal-welcome p:last-child { margin: 0; font-size: 13px; }
.sg-portal-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.sg-portal-stat { display: flex; align-items: center; gap: 12px; padding: 18px 16px; border: 1px solid #ecd9b2; border-radius: 16px; background: #fff; box-shadow: var(--sg-shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.sg-portal-stat:hover { transform: translateY(-3px); border-color: var(--sg-gold); box-shadow: var(--sg-shadow); }
.sg-portal-stat-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; color: var(--sg-gold-deep); border-radius: 13px; background: #fdf1d8; }
.sg-portal-stat small, .sg-upcoming-meta small, .sg-booking-row-meta small, .sg-order-card-meta small { display: block; color: #806d62; font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.sg-portal-stat strong { display: block; margin-top: 3px; color: #521716; font-size: 19px; line-height: 1.25; }
.sg-portal-section { margin-top: 28px; }
.sg-portal-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.sg-portal-section-head h2 { margin-top: 9px; }
.sg-text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--sg-gold-deep); font-size: 12px; font-weight: 800; }
.sg-text-link .material-symbols-outlined { font-size: 16px; }
.sg-upcoming-card { display: grid; grid-template-columns: auto minmax(180px, 1fr) minmax(270px, 1.2fr) auto; gap: 18px; align-items: center; padding: 20px; border: 1px solid #ecd9b2; border-radius: 18px; background: #fff; box-shadow: var(--sg-shadow-sm); }
.sg-upcoming-avatar { width: 62px; height: 62px; display: grid; place-items: center; overflow: hidden; border-radius: 18px; background: linear-gradient(135deg, #f1d9a7, #fff8e9); color: #7a1315; font-weight: 800; }
.sg-upcoming-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sg-upcoming-main h3 { margin: 9px 0 2px; color: #521716; font-size: 20px; }
.sg-upcoming-main p { margin: 0; color: var(--sg-muted); font-size: 13px; }
.sg-upcoming-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sg-upcoming-meta strong, .sg-booking-row-meta strong { display: block; margin-top: 4px; color: #3f2927; font-size: 13px; }
.sg-upcoming-action { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.sg-portal-empty { padding: 48px 20px; text-align: center; border: 1px dashed #d9bc7d; border-radius: 18px; background: rgba(255,255,255,.68); }
.sg-portal-empty .material-symbols-outlined { display: block; margin-bottom: 10px; color: var(--sg-gold-deep); font-size: 42px; }
.sg-portal-empty h2, .sg-portal-empty h3 { margin-bottom: 4px; color: #521716; font-size: 21px; }
.sg-portal-empty p { margin: 0 0 18px; font-size: 13px; }
.sg-portal-next { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 22px; border-radius: 18px; background: linear-gradient(135deg, #4a0f0e, #7a1315); color: #fff5dc; box-shadow: var(--sg-shadow); }
.sg-portal-next h2 { margin-top: 9px; color: #fff5dc; }
.sg-portal-actions-grid { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 10px; flex: 1; max-width: 690px; }
.sg-portal-action { min-height: 122px; padding: 15px; border: 1px solid rgba(240,201,120,.35); border-radius: 14px; background: rgba(255,255,255,.09); color: #fff5dc; }
.sg-portal-action:hover { background: rgba(255,255,255,.16); }
.sg-portal-action .material-symbols-outlined { display: block; margin-bottom: 13px; color: var(--sg-gold-light); }
.sg-portal-action strong, .sg-portal-action small { display: block; }
.sg-portal-action strong { font-size: 13px; }
.sg-portal-action small { margin-top: 4px; color: #ead9c0; font-size: 11px; line-height: 1.5; }
.sg-portal-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 5px; margin-bottom: 18px; border: 1px solid #ecd9b2; border-radius: 13px; background: rgba(255,255,255,.6); }
.sg-portal-tabs a { padding: 9px 14px; border-radius: 9px; color: var(--sg-muted); font-size: 12px; font-weight: 700; }
.sg-portal-tabs a:hover { background: #fff8e9; }
.sg-portal-tabs a.active { background: #7a1315; color: #fff5dc; }
.sg-booking-list, .sg-order-list { display: flex; flex-direction: column; gap: 12px; }
.sg-booking-row, .sg-order-card { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(300px, 1.3fr) auto; gap: 18px; align-items: center; padding: 18px 20px; border: 1px solid #ecd9b2; border-radius: 16px; background: #fff; box-shadow: var(--sg-shadow-sm); }
.sg-booking-row-main h2, .sg-order-card h2 { margin: 7px 0 1px; color: #521716; font-size: 18px; }
.sg-booking-row-main p, .sg-order-card p { margin: 0; font-size: 12px; }
.sg-booking-ref { color: var(--sg-gold-deep); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.sg-booking-row-meta, .sg-order-card-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sg-booking-row-state, .sg-order-card-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 7px; }
.sg-booking-row-state .sg-status { margin-left: 0; }
.sg-order-card { grid-template-columns: minmax(180px, 1fr) minmax(390px, 1.5fr); }
.sg-order-card-meta > div { min-width: 76px; }
.sg-order-card-meta .sg-btn { margin-left: 5px; }
.sg-history-table-wrap { overflow-x: auto; border: 1px solid #ecd9b2; border-radius: 16px; background: #fff; }
.sg-portal-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 12px; }
.sg-portal-table th { padding: 13px 12px; color: #806d62; background: #fffaf2; border-bottom: 1px solid #ecd9b2; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.sg-portal-table td { padding: 14px 12px; border-bottom: 1px solid #f0e3c4; vertical-align: middle; }
.sg-portal-table tr:last-child td { border-bottom: 0; }
.sg-portal-table small { color: var(--sg-muted); }
.sg-pagination { display: flex; justify-content: center; gap: 7px; margin-top: 20px; }
.sg-pagination a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #e0cd9f; border-radius: 9px; color: var(--sg-gold-deep); font-size: 12px; font-weight: 700; background: #fff; }
.sg-pagination a.active, .sg-pagination a:hover { background: #7a1315; border-color: #7a1315; color: #fff; }
.sg-detail-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .7fr); gap: 18px; align-items: start; }
.sg-detail-card, .sg-detail-side .sg-card { padding: 22px; }
.sg-detail-card h2 { margin: 12px 0 2px; color: #521716; font-size: 25px; }
.sg-detail-status { display: flex; flex-wrap: wrap; gap: 7px; }
.sg-detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; margin: 22px 0 0; }
.sg-detail-list div { padding: 13px 0; border-top: 1px solid #f0e3c4; }
.sg-detail-list dt { color: #806d62; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.sg-detail-list dd { margin: 3px 0 0; color: #3f2927; font-size: 13px; font-weight: 700; }
.sg-detail-side { display: flex; flex-direction: column; gap: 16px; }
.sg-detail-side h3 { margin-bottom: 7px; font-size: 17px; }
.sg-detail-expert { color: #521716; font-size: 18px; font-weight: 800; }
.sg-detail-side .sg-btn { width: 100%; margin-top: 12px; }
.sg-detail-note { display: flex; flex-direction: column; gap: 3px; margin-top: 15px; padding-top: 12px; border-top: 1px solid #f0e3c4; font-size: 12px; }
.sg-preline { white-space: pre-line; }
.sg-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sg-btn-danger { border: 1px solid #ba1a1a; background: transparent; color: #ba1a1a; }
.sg-btn-danger:hover { background: #ba1a1a; color: #fff; }
.sg-confirmation-banner { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; margin-bottom: 18px; border: 1px solid #abd8b8; border-radius: 14px; color: #0b7a44; background: #edf9ef; }
.sg-confirmation-banner .material-symbols-outlined { font-size: 24px; }
.sg-confirmation-banner strong { display: block; font-size: 15px; }
.sg-confirmation-banner p { margin: 2px 0 0; color: #376347; font-size: 12px; }
.sg-order-totals { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; margin-top: 18px; font-size: 13px; }
.sg-order-totals span:last-child { margin-top: 4px; color: var(--sg-gold-deep); font-size: 18px; }
.sg-order-totals strong { margin-left: 20px; }
.sg-wallet-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 28px; margin-bottom: 18px; border-radius: 19px; background: linear-gradient(135deg, #4a0f0e, #7a1315); color: #fff5dc; box-shadow: var(--sg-shadow); }
.sg-wallet-label { display: block; color: #f3d38e; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sg-wallet-hero strong { display: block; margin-top: 6px; color: #fff5dc; font-size: 34px; line-height: 1.1; }
.sg-wallet-hero p { margin: 6px 0 0; color: #e9d9c4; font-size: 12px; }
.sg-wallet-hero-icon { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgba(240,201,120,.4); border-radius: 18px; color: var(--sg-gold-light); }
.sg-coin-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding: 20px 24px; background: linear-gradient(135deg, #fffaf0, #fff); }
.sg-coin-summary h2 { margin-top: 8px; color: #521716; }
.sg-coin-summary p { margin: 4px 0 0; }
.sg-inline-form { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.sg-check { display: inline-flex; align-items: center; gap: 9px; color: #3f2927; font-size: 13px; font-weight: 700; }
.sg-check input { width: 18px; height: 18px; accent-color: var(--sg-gold-deep); }
.sg-expert-portal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sg-portal-list { display: flex; flex-direction: column; gap: 8px; }
.sg-portal-list-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border: 1px solid #ecd9b2; border-radius: 12px; background: #fffaf2; }
.sg-portal-list-row strong, .sg-portal-list-row small { display: block; }
.sg-portal-list-row strong { color: #521716; font-size: 12px; }
.sg-portal-list-row small { margin-top: 3px; color: var(--sg-muted); font-size: 11px; }
.sg-icon-btn { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 9px; color: #ba1a1a; background: transparent; cursor: pointer; }
.sg-icon-btn:hover { background: rgba(186,26,26,.1); }
.sg-two-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sg-expert-bookings { gap: 12px; }
.sg-expert-booking { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(180px, .8fr) minmax(220px, 1fr); gap: 18px; align-items: center; padding: 18px; border: 1px solid #ecd9b2; border-radius: 16px; background: #fff; box-shadow: var(--sg-shadow-sm); }
.sg-expert-booking h3 { margin: 9px 0 2px; color: #521716; font-size: 17px; }
.sg-expert-booking p { margin: 0; color: var(--sg-muted); font-size: 12px; }
.sg-expert-booking small, .sg-expert-booking strong { display: block; }
.sg-expert-booking small { margin-top: 4px; color: #806d62; font-size: 10px; text-transform: uppercase; }
.sg-expert-booking strong { margin-top: 5px; color: #3f2927; font-size: 12px; }
.sg-meeting-form { display: grid; grid-template-columns: 1fr auto; gap: 7px 8px; align-items: end; }
.sg-meeting-form .sg-label { grid-column: 1 / -1; }
.sg-gift-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding: 20px 24px; border: 1px solid #ecd9b2; border-radius: 18px; background: #fffaf2; }
.sg-gift-head h2 { margin-top: 8px; color: #521716; }
.sg-gift-balance { padding: 10px 14px; border-radius: 999px; color: #521716; background: #f0c978; font-size: 13px; font-weight: 800; }
.sg-gift-form { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 18px; align-items: start; }
.sg-gift-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.sg-gift-option { position: relative; cursor: pointer; }
.sg-gift-option input { position: absolute; opacity: 0; }
.sg-gift-option-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; padding: 18px 10px; border: 1px solid #ecd9b2; border-radius: 14px; text-align: center; background: #fff; transition: .2s; }
.sg-gift-option:hover .sg-gift-option-inner, .sg-gift-option input:checked + .sg-gift-option-inner { border-color: var(--sg-gold-deep); box-shadow: 0 0 0 2px rgba(212,154,45,.24); transform: translateY(-2px); }
.sg-gift-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #7a1315; background: #fdf1d8; }
.sg-gift-option strong { color: #521716; font-size: 13px; }
.sg-gift-option small { color: var(--sg-muted); font-size: 11px; }
.sg-blog-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; align-items: start; }
.sg-blog-categories { display: flex; flex-direction: column; gap: 5px; padding: 15px; border: 1px solid #ecd9b2; border-radius: 16px; background: #fff; }
.sg-blog-categories strong { margin-bottom: 5px; color: #521716; font-size: 13px; }
.sg-blog-categories a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 9px; border-radius: 8px; color: var(--sg-muted); font-size: 12px; }
.sg-blog-categories a:hover, .sg-blog-categories a.active { color: #521716; background: #fff2d6; font-weight: 700; }
.sg-blog-categories small { color: #9a805d; font-size: 10px; }
.sg-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sg-blog-card { overflow: hidden; border: 1px solid #ecd9b2; border-radius: 16px; background: #fff; box-shadow: var(--sg-shadow-sm); }
.sg-blog-card-image { display: grid; place-items: center; height: 130px; color: #d49a2d; background: radial-gradient(circle at 50% 20%, #fff4d9, #7a1315); }
.sg-blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.sg-blog-card-image .material-symbols-outlined { font-size: 42px; }
.sg-blog-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 17px; }
.sg-blog-card-body h2 { color: #521716; font-size: 18px; line-height: 1.25; }
.sg-blog-card-body p { margin: 0; color: var(--sg-muted); font-size: 12px; line-height: 1.55; }
.sg-blog-card-body > small { color: #806d62; font-size: 10px; }
.sg-blog-article-wrap { max-width: 860px; }
.sg-blog-article { padding: 28px clamp(18px, 4vw, 56px); border: 1px solid #ecd9b2; border-radius: 20px; background: #fff; box-shadow: var(--sg-shadow-sm); }
.sg-blog-article h1 { max-width: 720px; margin: 18px 0 8px; color: #521716; }
.sg-blog-byline { color: #806d62; font-size: 12px; }
.sg-blog-article-image { width: 100%; max-height: 380px; margin: 20px 0; border-radius: 14px; object-fit: cover; }
.sg-blog-content { margin-top: 24px; color: #3f2927; font-size: 15px; line-height: 1.85; white-space: normal; }
.sg-notification-list { display: flex; flex-direction: column; gap: 10px; }
.sg-notification { display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: start; padding: 16px; border: 1px solid #ecd9b2; border-radius: 14px; background: #fff; box-shadow: var(--sg-shadow-sm); }
.sg-notification.unread { border-color: #d49a2d; background: #fffaf0; }
.sg-notification-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #7a1315; background: #fdf1d8; }
.sg-notification strong { color: #521716; font-size: 14px; }
.sg-notification p { margin: 4px 0; color: var(--sg-muted); font-size: 12px; line-height: 1.5; }
.sg-notification small { color: #806d62; font-size: 10px; }
.sg-auth-wrap { max-width: 520px; }
.sg-auth-card { padding: 28px; }
.sg-auth-card h1 { margin: 10px 0 8px; color: #521716; }
.sg-notification .sg-text-link { display: inline-flex; margin-left: 12px; }
.sg-application-wrap { max-width: 1000px; }
.sg-application-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sg-application-form .sg-card { padding: 24px; }
.sg-application-form .sg-card h2 { margin: 9px 0 17px; color: #521716; }
.sg-application-form .sg-card .sg-btn { margin-top: 14px; }
.sg-admin-inline-form, .sg-admin-review-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sg-admin-inline-form .sg-input { width: 105px; }
.sg-admin-review-form { min-width: 330px; }
.sg-admin-review-form .sg-input { min-width: 150px; }
.sg-wallet-grid { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.5fr); gap: 18px; }
.sg-form-stack { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.sg-form-stack .sg-btn { align-self: flex-start; margin-top: 5px; }
.sg-field-help { margin-top: 10px; color: #806d62; font-size: 11px; }
.sg-wallet-payment { display: grid; grid-template-columns: 110px 1fr; gap: 13px; align-items: center; padding: 11px; margin-top: 15px; border: 1px solid #ecd9b2; border-radius: 12px; background: #fffaf2; }
.sg-wallet-payment img { width: 110px; height: 110px; object-fit: contain; }
.sg-wallet-payment p { margin: 0; font-size: 11px; }
.sg-credit { color: #0b7a44; font-weight: 700; }
.sg-debit { color: #ba1a1a; font-weight: 700; }
.sg-spinner-page { position: relative; isolation: isolate; }
.sg-spinner-layout { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(300px, .76fr); gap: 20px; align-items: start; }
.sg-spinner-main, .sg-spinner-side { display: grid; gap: 20px; min-width: 0; }
.sg-spinner-stage { position: relative; overflow: hidden; padding: clamp(22px, 3vw, 34px); background: linear-gradient(145deg, #fffdf8 0%, #fff8ec 100%); }
.sg-spinner-stage::before { content: 'ॐ'; position: absolute; right: -22px; top: -46px; z-index: -1; color: rgba(134, 83, 0, .055); font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: 220px; line-height: 1; pointer-events: none; }
.sg-spinner-stage-head { display: flex; justify-content: space-between; gap: 22px; align-items: flex-start; }
.sg-spinner-stage h2 { max-width: 540px; margin: 8px 0 6px; color: var(--sg-maroon-mid); font-size: clamp(30px, 4vw, 50px); line-height: 1.05; }
.sg-spinner-stage-head p { max-width: 520px; margin: 0; color: var(--sg-muted); font-size: 14px; }
.sg-spinner-balance { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; padding: 10px 13px; border: 1px solid rgba(216, 164, 67, .42); border-radius: 14px; background: rgba(255, 255, 255, .72); box-shadow: 0 6px 18px rgba(88, 29, 12, .06); }
.sg-spinner-balance-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--sg-gold-deep); background: #fff0c8; font-size: 19px; }
.sg-spinner-balance small, .sg-spinner-balance strong { display: block; }
.sg-spinner-balance small { color: var(--sg-muted); font-size: 10px; }
.sg-spinner-balance strong { color: var(--sg-maroon-mid); font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: 18px; line-height: 1.2; }
.sg-spinner-status { display: flex; align-items: center; gap: 11px; max-width: 420px; margin-top: 22px; padding: 11px 13px; border: 1px solid rgba(216, 164, 67, .33); border-radius: 13px; background: rgba(255, 255, 255, .72); }
.sg-spinner-status-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--sg-gold-deep); background: #fff0c8; font-size: 18px; }
.sg-spinner-status strong, .sg-spinner-status small { display: block; }
.sg-spinner-status strong { color: #521716; font-size: 12px; }
.sg-spinner-status small { margin-top: 2px; color: var(--sg-muted); font-size: 10px; }
.sg-spinner-countdown { color: var(--sg-maroon-mid); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.sg-spinner-wheel-shell { position: relative; display: grid; place-items: center; min-height: 470px; margin: 6px auto 0; width: min(100%, 590px); }
.sg-spinner-wheel-aura { position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(216, 164, 67, .1) 0deg 1deg, transparent 1deg 12deg), radial-gradient(circle, rgba(240, 201, 120, .18), transparent 62%); filter: blur(.2px); }
.sg-spinner-wheel-aura::after { content: ''; position: absolute; inset: 12%; border-radius: 50%; box-shadow: 0 34px 54px rgba(74, 29, 18, .2); }
.sg-spinner-pointer { position: absolute; top: 9px; z-index: 8; display: grid; place-items: center; width: 58px; height: 62px; color: #fff3aa; background: linear-gradient(145deg, #fff2a2, #d4941d 55%, #8a5009); clip-path: polygon(50% 100%, 5% 36%, 26% 20%, 50% 0, 74% 20%, 95% 36%); filter: drop-shadow(0 9px 7px rgba(69, 35, 3, .35)); }
.sg-spinner-pointer .material-symbols-outlined { margin-top: -9px; color: #6b3504; font-size: 25px; }
.sg-spinner-wheel-frame { position: relative; z-index: 2; width: min(100%, 520px); aspect-ratio: 1; padding: 22px; border-radius: 50%; background: repeating-conic-gradient(#efc45f 0deg 2deg, #b47613 2deg 4deg, #f2cf75 4deg 6deg); box-shadow: inset 0 0 0 6px #865300, inset 0 0 0 11px #f0c65f, inset 0 0 0 16px #9f6113, 0 22px 34px rgba(84, 25, 10, .2); }
.sg-spinner-wheel-frame::before { content: ''; position: absolute; inset: 11px; z-index: 4; border: 2px solid rgba(255, 236, 170, .72); border-radius: 50%; box-shadow: inset 0 0 0 4px rgba(99, 48, 8, .22); pointer-events: none; }
.sg-spinner-wheel { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; background: repeating-conic-gradient(from -90deg, #7a1315 0 var(--sg-segment-angle), #570006 var(--sg-segment-angle) calc(var(--sg-segment-angle) * 2)); box-shadow: inset 0 0 35px rgba(38, 2, 2, .55), inset 0 0 0 3px rgba(243, 206, 105, .45); transform: rotate(var(--sg-wheel-rotation, 0deg)); transition: transform 5.4s cubic-bezier(.12, .74, .08, 1); will-change: transform; }
.sg-spinner-wheel::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 37% 28%, rgba(255, 255, 255, .13), transparent 23%), repeating-radial-gradient(circle at center, transparent 0 17px, rgba(255, 214, 119, .035) 18px 19px); pointer-events: none; }
.sg-spinner-divider { position: absolute; left: 50%; top: 50%; z-index: 2; width: 50%; height: 1px; transform-origin: left center; transform: translateY(-50%) rotate(var(--sg-divider-angle)); background: linear-gradient(90deg, #f0ca66, #a86b12); box-shadow: 0 0 5px rgba(244, 204, 98, .5); }
.sg-spinner-divider::after { content: ''; position: absolute; top: 50%; right: -5px; width: 8px; height: 8px; border: 1px solid #8e570f; background: #e5b84a; transform: translateY(-50%) rotate(45deg); }
.sg-spinner-label { position: absolute; left: calc(50% + var(--sg-label-x)); top: calc(50% + var(--sg-label-y)); z-index: 3; display: block; width: 84px; color: #ffe9a8; text-align: center; text-shadow: 0 2px 2px rgba(59, 5, 7, .7); transform: translate(-50%, -50%); pointer-events: none; }
.sg-spinner-label .material-symbols-outlined { display: block; margin-bottom: 3px; color: #f4cd67; font-size: 22px; }
.sg-spinner-label strong, .sg-spinner-label small { display: block; }
.sg-spinner-label strong { font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: 12px; line-height: 1.05; }
.sg-spinner-label small { margin-top: 4px; color: #f5d886; font-size: 9px; font-weight: 700; }
.sg-spinner-hub { position: absolute; left: 50%; top: 50%; z-index: 5; display: grid; place-items: center; width: 27%; aspect-ratio: 1; border: 7px double #f1c961; border-radius: 50%; background: radial-gradient(circle at 40% 32%, #ffd978 0 12%, #b86d0e 36%, #6d3108 70%, #431503 100%); box-shadow: 0 0 0 8px #7e4b0f, 0 0 0 12px #ecc55f, 0 9px 20px rgba(46, 7, 5, .55), inset 0 0 24px rgba(255, 224, 118, .55); transform: translate(-50%, -50%); }
.sg-spinner-hub::before { content: ''; position: absolute; inset: -15px; border: 2px dashed rgba(255, 223, 133, .6); border-radius: 50%; }
.sg-spinner-hub span { color: #ffda69; font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: clamp(45px, 7vw, 78px); line-height: 1; text-shadow: 0 3px 0 #78350a, 0 6px 16px rgba(52, 10, 4, .35); transform: translateY(-3px); }
.sg-spinner-wheel-caption { display: flex; align-items: center; gap: 5px; margin-top: 9px; color: #896d59; font-size: 10px; }
.sg-spinner-wheel-caption .material-symbols-outlined { color: var(--sg-gold-deep); font-size: 14px; }
.sg-spinner-form { margin-top: 4px; }
.sg-spinner-spin-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 54px; border: 0; border-radius: 14px; color: #fff6df; background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .18), transparent 28%), linear-gradient(180deg, #8d161c, #650b11); box-shadow: 0 6px 0 #b97d20, 0 16px 25px rgba(91, 13, 16, .2); outline: 3px solid #f4c553; outline-offset: -5px; cursor: pointer; font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: 21px; transition: transform .16s ease, filter .16s ease, box-shadow .16s ease; }
.sg-spinner-spin-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.sg-spinner-spin-button:active { transform: translateY(2px); box-shadow: 0 4px 0 #a9721d, 0 10px 18px rgba(91, 13, 16, .18); }
.sg-spinner-spin-button:focus-visible, .sg-spinner-promo .sg-btn:focus-visible { outline: 3px solid #2c6e91; outline-offset: 3px; }
.sg-spinner-spin-button:disabled { cursor: wait; filter: grayscale(.35); opacity: .7; }
.sg-spinner-spin-button .material-symbols-outlined { font-size: 21px; }
.sg-spinner-fair-note, .sg-spinner-action-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 15px 0 0; color: #806d62; font-size: 10px; text-align: center; }
.sg-spinner-fair-note .material-symbols-outlined, .sg-spinner-action-note .material-symbols-outlined { color: var(--sg-gold-deep); font-size: 15px; }
.sg-spinner-action-note { padding: 13px; border: 1px solid #ecd9b2; border-radius: 12px; background: rgba(255, 250, 242, .8); }
.sg-spinner-lower-grid { display: grid; grid-template-columns: minmax(210px, .78fr) minmax(0, 1.22fr); gap: 20px; }
.sg-spinner-how, .sg-spinner-history, .sg-spinner-reward-card { padding: 22px; }
.sg-spinner-how h3, .sg-spinner-history h3, .sg-spinner-reward-card h3 { margin: 7px 0 0; color: #521716; font-size: 23px; line-height: 1.15; }
.sg-spinner-how ol { display: grid; gap: 11px; margin: 20px 0 0; padding: 0; list-style: none; }
.sg-spinner-how li { display: flex; align-items: flex-start; gap: 10px; color: var(--sg-muted); font-size: 11px; line-height: 1.45; }
.sg-spinner-how li span { flex: 0 0 auto; color: var(--sg-gold-deep); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.sg-spinner-panel-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.sg-spinner-panel-head > .material-symbols-outlined { color: var(--sg-gold-deep); font-size: 26px; }
.sg-spinner-history-scroll { overflow-x: auto; margin-top: 15px; }
.sg-spinner-history table { width: 100%; border-collapse: collapse; font-size: 11px; }
.sg-spinner-history th { padding: 0 8px 8px; border-bottom: 1px solid rgba(178, 125, 27, .22); color: #6c4d43; text-align: left; }
.sg-spinner-history td { padding: 11px 8px; border-bottom: 1px solid rgba(178, 125, 27, .14); color: #6d554b; white-space: nowrap; }
.sg-spinner-history tr:last-child td { border-bottom: 0; }
.sg-spinner-history td:nth-child(2) { display: flex; align-items: center; gap: 6px; }
.sg-spinner-history td:nth-child(2) .material-symbols-outlined { color: var(--sg-gold-deep); font-size: 16px; }
.sg-spinner-history-coins { color: #0b7a44 !important; font-weight: 800; text-align: right; }
.sg-spinner-history-empty { display: grid; place-items: center; min-height: 150px; padding: 20px; color: var(--sg-muted); text-align: center; }
.sg-spinner-history-empty .material-symbols-outlined { color: var(--sg-gold-deep); font-size: 28px; }
.sg-spinner-history-empty p { max-width: 220px; margin: 8px 0 0; font-size: 11px; }
.sg-spinner-result-card { position: relative; display: flex; min-height: 340px; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 26px; text-align: center; background: linear-gradient(160deg, #fffdf8, #fff6e5); }
.sg-spinner-result-card::before { content: '✦  ·  ✦'; position: absolute; top: 28px; color: rgba(194, 137, 29, .25); font-size: 25px; letter-spacing: 15px; }
.sg-spinner-result-card.is-idle .sg-spinner-result-medal { opacity: .72; filter: grayscale(.35); }
.sg-spinner-result-pill { padding: 5px 11px; border: 1px solid #c6e5cc; border-radius: 999px; color: #347a4e; background: #e6f5e9; font-size: 10px; font-weight: 800; }
.sg-spinner-result-medal { display: grid; place-items: center; width: 83px; height: 83px; margin: 17px 0 10px; border: 5px double #f6dc85; border-radius: 50%; color: #8e5809; background: radial-gradient(circle at 35% 28%, #fff6bb, #f2c84d 35%, #ad6a0c 68%, #7a4307 100%); box-shadow: 0 8px 22px rgba(152, 94, 9, .26); font-size: 37px; }
.sg-spinner-result-card h3 { max-width: 270px; margin: 5px 0 7px; color: #681116; font-size: 30px; line-height: 1.1; }
.sg-spinner-result-coins { color: #9e620a; font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: 24px; }
.sg-spinner-result-card p { max-width: 275px; margin: 9px 0 0; color: #7a6258; font-size: 11px; line-height: 1.5; }
.sg-spinner-rewards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 17px; }
.sg-spinner-reward { display: flex; min-width: 0; align-items: center; gap: 8px; padding: 10px; border: 1px solid #ecd9b2; border-radius: 12px; background: rgba(255, 255, 255, .82); transition: transform .2s ease, box-shadow .2s ease; }
.sg-spinner-reward:hover { transform: translateY(-2px); box-shadow: var(--sg-shadow-sm); }
.sg-spinner-reward-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; border-radius: 10px; color: #7a1315; background: #fdf1d8; font-size: 17px; }
.sg-spinner-reward strong, .sg-spinner-reward small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-spinner-reward strong { color: #521716; font-size: 11px; }
.sg-spinner-reward small { margin-top: 2px; color: var(--sg-muted); font-size: 9px; }
.sg-spinner-promo { position: relative; overflow: hidden; padding: 25px; border-radius: 18px; color: #ffefc8; background: radial-gradient(circle at 84% 48%, rgba(237, 182, 51, .25), transparent 28%), linear-gradient(135deg, #721016, #4f080d); box-shadow: var(--sg-shadow-sm); }
.sg-spinner-promo::after { content: '✦'; position: absolute; right: 18px; bottom: 6px; color: rgba(255, 216, 122, .32); font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: 88px; line-height: 1; }
.sg-spinner-promo > .material-symbols-outlined { color: #ffd77a; font-size: 24px; }
.sg-spinner-promo h3 { position: relative; z-index: 1; max-width: 250px; margin: 8px 0 6px; color: #ffd77a; font-size: 23px; line-height: 1.15; }
.sg-spinner-promo p { position: relative; z-index: 1; max-width: 275px; margin: 0 0 18px; color: #ffefc8; font-size: 11px; line-height: 1.55; }
.sg-spinner-promo .sg-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; font-size: 11px; }
.sg-spinner-promo .sg-btn .material-symbols-outlined { font-size: 15px; }
.sg-spinner-confetti { position: absolute; inset: 0; z-index: 20; overflow: hidden; pointer-events: none; opacity: 0; }
.sg-spinner-confetti span { position: absolute; top: -18px; color: var(--sg-gold); font-size: 16px; animation: sg-spinner-confetti-fall 2.8s linear forwards; }
.sg-spinner-page.has-confetti .sg-spinner-confetti { opacity: 1; }
@keyframes sg-spinner-confetti-fall { 0% { transform: translate3d(0, -20px, 0) rotate(0); opacity: 1; } 100% { transform: translate3d(var(--sg-confetti-drift), 900px, 0) rotate(720deg); opacity: 0; } }
.sg-spinner-page.is-spinning .sg-spinner-result-card { animation: sg-spinner-result-pulse 1.2s ease-in-out infinite alternate; }
@keyframes sg-spinner-result-pulse { from { box-shadow: 0 0 0 rgba(216, 164, 67, 0); } to { box-shadow: 0 0 0 5px rgba(216, 164, 67, .12), var(--sg-shadow); } }
@media (prefers-reduced-motion: reduce) { .sg-spinner-wheel { transition: none; } .sg-spinner-page.is-spinning .sg-spinner-result-card, .sg-spinner-confetti span { animation: none; } .sg-spinner-confetti { display: none; } }
.sg-mini-empty { padding: 30px 8px; text-align: center; color: var(--sg-muted); }
.sg-mini-empty .material-symbols-outlined { display: block; color: var(--sg-gold-deep); }
.sg-profile-grid, .sg-support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sg-profile-grid .sg-card { padding: 22px; }
.sg-profile-grid h2 { margin-top: 10px; }
.sg-profile-logout { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; color: #ba1a1a; font-size: 12px; font-weight: 700; }
.sg-support-grid .sg-card { padding: 24px; }
.sg-support-callout { padding: 30px; border-radius: 18px; background: linear-gradient(135deg, #4a0f0e, #7a1315); color: #fff5dc; box-shadow: var(--sg-shadow); }
.sg-support-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 15px; color: var(--sg-gold-light); background: rgba(255,255,255,.12); }
.sg-support-callout h2 { color: #fff5dc; font-size: 26px; }
.sg-support-callout p { max-width: 440px; margin: 10px 0 24px; color: #e9d9c4; font-size: 13px; }
.sg-support-step { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid #f0e3c4; }
.sg-support-step span { color: var(--sg-gold-deep); font-size: 11px; font-weight: 800; }
.sg-support-step p { margin: 0; color: var(--sg-muted); font-size: 13px; }
.sg-support-contact { display: flex; flex-direction: column; gap: 3px; margin-top: 22px; padding-top: 15px; border-top: 1px solid #ecd9b2; color: var(--sg-muted); font-size: 12px; }
.sg-support-contact strong { color: #521716; }

@media (max-width: 1100px) {
  .sg-portal-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-spinner-layout { grid-template-columns: 1fr; }
  .sg-expert-portal-grid { grid-template-columns: 1fr; }
  .sg-expert-booking { grid-template-columns: 1fr; }
  .sg-gift-form { grid-template-columns: 1fr; }
  .sg-gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-blog-layout { grid-template-columns: 1fr; }
  .sg-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-application-form { grid-template-columns: 1fr; }
  .sg-upcoming-card { grid-template-columns: auto 1fr; }
  .sg-upcoming-meta { grid-column: 2; }
  .sg-upcoming-action { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; }
}
@media (max-width: 720px) {
  .sg-spinner-stage-head { flex-direction: column; }
  .sg-spinner-balance { align-self: flex-start; }
  .sg-spinner-wheel-shell { min-height: 390px; }
  .sg-spinner-wheel-frame { width: min(100%, 440px); padding: 18px; }
  .sg-spinner-pointer { top: 3px; width: 50px; height: 54px; }
  .sg-spinner-label { width: 66px; }
  .sg-spinner-label .material-symbols-outlined { font-size: 18px; }
  .sg-spinner-label strong { font-size: 9px; }
  .sg-spinner-label small { font-size: 8px; }
  .sg-spinner-lower-grid { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .sg-spinner-stage, .sg-spinner-how, .sg-spinner-history, .sg-spinner-reward-card { padding: 18px; }
  .sg-spinner-stage h2 { font-size: 32px; }
  .sg-spinner-wheel-shell { min-height: 310px; }
  .sg-spinner-wheel-frame { width: 100%; padding: 14px; }
  .sg-spinner-pointer { width: 43px; height: 47px; }
  .sg-spinner-hub { border-width: 5px; }
  .sg-spinner-hub span { font-size: 48px; }
  .sg-spinner-rewards { gap: 8px; }
  .sg-spinner-reward { padding: 8px; }
}
@media (max-width: 960px) {
  .sg-portal-shell { padding-top: 18px; }
  .sg-portal-wrap { width: min(100% - 28px, 720px); }
  .sg-portal-mobilebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 7px 10px; margin-bottom: 16px; border-radius: 13px; background: linear-gradient(90deg, #3a0004, #7a1315); color: #ffe9c4; }
  .sg-portal-mobilebar .sg-user-toggle { display: inline-flex; align-items: center; gap: 6px; width: auto; padding: 0 9px; font-size: 11px; }
  .sg-portal-mobilebar div:last-child { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
  .sg-portal-mobilebar strong { color: var(--sg-gold-light); font-family: var(--sg-font-ne-serif), 'DM Serif Display', serif; font-size: 15px; }
  .sg-portal-mobilebar span:last-child { color: #f4ddad; font-size: 10px; }
  .sg-portal-grid { grid-template-columns: 1fr; }
  .sg-portal-shell .sg-dash-sidebar { position: fixed; top: 0; left: 0; bottom: 0; z-index: 1000; width: min(300px, calc(100vw - 24px)); min-height: 100vh; border-radius: 0 18px 18px 0; transform: translateX(-105%); transition: transform .25s ease; overflow-y: auto; }
  .sg-portal-shell .sg-dash-sidebar.open { transform: translateX(0); }
  .sg-user-overlay.open { display: block; }
  .sg-portal-heading { align-items: flex-start; margin-bottom: 20px; }
  .sg-portal-heading .sg-h2 { font-size: 30px; }
  .sg-booking-row { grid-template-columns: 1fr; gap: 12px; }
  .sg-booking-row-state { justify-content: flex-start; }
  .sg-order-card { grid-template-columns: 1fr; gap: 12px; }
  .sg-order-card-meta { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .sg-portal-wrap { width: min(100% - 20px, 560px); }
  .sg-portal-heading { flex-direction: column; gap: 12px; }
  .sg-portal-heading .sg-h2 { font-size: 27px; }
  .sg-portal-stats { gap: 9px; }
  .sg-portal-stat { padding: 13px 10px; gap: 8px; }
  .sg-portal-stat-icon { width: 34px; height: 34px; }
  .sg-portal-stat-icon .material-symbols-outlined { font-size: 19px; }
  .sg-portal-stat small { font-size: 9px; }
  .sg-portal-stat strong { font-size: 15px; }
  .sg-portal-welcome { align-items: flex-start; flex-direction: column; padding: 19px; }
  .sg-upcoming-card { grid-template-columns: auto 1fr; padding: 15px; }
  .sg-upcoming-main h3 { font-size: 17px; }
  .sg-upcoming-meta { grid-template-columns: 1fr 1fr; grid-column: 1 / -1; }
  .sg-upcoming-action { grid-column: 1 / -1; flex-wrap: wrap; }
  .sg-portal-next { flex-direction: column; padding: 19px; }
  .sg-portal-actions-grid { width: 100%; max-width: none; grid-template-columns: 1fr; }
  .sg-portal-action { min-height: auto; }
  .sg-detail-layout, .sg-wallet-grid, .sg-profile-grid, .sg-support-grid { grid-template-columns: 1fr; }
  .sg-detail-list { grid-template-columns: 1fr; }
  .sg-history-table-wrap { overflow: visible; border: 0; background: transparent; }
  .sg-portal-table { min-width: 0; }
  .sg-portal-table thead { display: none; }
  .sg-portal-table, .sg-portal-table tbody, .sg-portal-table tr, .sg-portal-table td { display: block; width: 100%; }
  .sg-portal-table tr { padding: 10px 14px; margin-bottom: 10px; border: 1px solid #ecd9b2; border-radius: 13px; background: #fff; }
  .sg-portal-table td { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #f4ead7; text-align: right; }
  .sg-portal-table td:last-child { border-bottom: 0; }
  .sg-portal-table td::before { content: attr(data-label); color: #806d62; font-size: 10px; font-weight: 800; text-align: left; text-transform: uppercase; }
  .sg-wallet-hero { padding: 21px; }
  .sg-wallet-hero strong { font-size: 29px; }
  .sg-wallet-hero-icon { width: 50px; height: 50px; }
  .sg-wallet-payment { grid-template-columns: 84px 1fr; }
  .sg-wallet-payment img { width: 84px; height: 84px; }
}

.sg-password-control { display:flex; align-items:center; gap:8px; }
.sg-password-control .sg-input { flex:1; min-width:0; }
.sg-password-toggle { display:inline-grid; place-items:center; width:42px; height:42px; flex:0 0 42px; border:1px solid #ecd9b2; border-radius:10px; background:#fff; color:#7a1315; cursor:pointer; }
.sg-password-toggle:hover, .sg-password-toggle:focus-visible { background:#fff8ec; border-color:#d49a2d; outline:2px solid rgba(212,154,45,.3); outline-offset:2px; }
