:root{
  --bg:#f7f4ef;
  --bg-soft:#fffdfa;
  --panel:#ffffff;
  --panel-2:#f5efe7;
  --text:#222222;
  --muted:#6d655e;
  --gold:#c7773f;
  --gold-dark:#b6642e;
  --gold-soft:rgba(199,119,63,.14);
  --border:#e7ddd2;
  --danger:#c2410c;
  --success:#15803d;
  --shadow:0 18px 40px rgba(69,49,31,.08);
  --shadow-soft:0 12px 26px rgba(69,49,31,.05);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Segoe UI,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}
a{color:var(--text);text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1180px, calc(100% - 32px)); margin:0 auto}

.site-header,
.admin-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(14px);
  background:rgba(255,252,248,.94);
  border-bottom:1px solid rgba(231,221,210,.9);
}

/* Make H1 smaller on homepage */
.hero-title {
    font-size: clamp(1.8rem, 4vw, 3rem) !important;
 
  max-width:920px;
  margin-top:18px;
  margin-bottom:16px;
}


.topbar,
.admin-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  min-height:94px;
}

.admin-topbar-stack{
  align-items:flex-start;
  flex-direction:column;
  padding:16px 0;
}
.admin-nav-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(112px,1fr));
  gap:8px;
  width:100%;
}
.admin-nav-grid a{
  text-align:center;
  padding:9px 10px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  font-size:13px;
}

.admin-brand-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%}
.admin-mobile-toggle{display:none;border:1px solid var(--border);background:#fff;color:var(--text);border-radius:14px;padding:10px 14px;font-weight:700;cursor:pointer}
.admin-brand-image{filter:drop-shadow(0 8px 16px rgba(28,24,20,.14))}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.brand strong{display:block;font-size:1rem}
.brand small{display:block;color:var(--muted);font-size:.8rem}

.brand-with-image{
  gap:14px;
}

.brand-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.brand-image{
  display:block;
  width:auto;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 10px 18px rgba(28,24,20,.16));
}
.public-brand-image{
  width:146px;
  max-width:min(24vw,146px);
}

.admin-brand-image{
  width:96px;
  max-width:min(16vw,96px);
}

.brand-with-image .brand-copy strong{
  font-size:1.02rem;
}
.brand-with-image .brand-copy small{
  margin-top:2px;
}
.header-phone-btn{
  white-space:nowrap;
  border-radius:22px;
  padding:14px 20px;
  box-shadow:0 10px 24px rgba(199,119,63,.18);
  margin-left:10px;
}

.brand-logo{
  width:46px;
  height:46px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg, #d98859, #a6532e);
  color:#fff;
  font-weight:800;
  letter-spacing:.08em;
  box-shadow:var(--shadow);
}

.nav{
  display:flex;
  align-items:center;
  gap:28px;
  flex-wrap:wrap;
}
.nav a{
  color:var(--muted);
  font-weight:400;
}
.nav a:hover{color:var(--gold)}

.mobile-nav-toggle{
  display:none;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  border-radius:12px;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
}

.admin-nav-toggle{
  display:none;
  width:100%;
}

.mobile-only-block,
.mobile-only-grid,
.shop-only-block,
.shop-only-grid {
    display:none;
}

.mode-mobile .mobile-only-block,
.mode-mobile .mobile-only-grid {
    display:flex;
    flex-direction:column;
}

.mode-shop .shop-only-block,
.mode-shop .shop-only-grid {
    display:flex;
    flex-direction:column;
}

.mode-shop .hide-for-shop,
.mode-mobile .hide-for-mobile {
    display:none !important;
}


.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:none;
  border-radius:16px;
  padding:14px 20px;
  font-weight:800;
  cursor:pointer;
  transition:.2s ease;
}
.btn:hover{transform:translateY(-1px)}

.btn-gold{
  background:var(--gold);
  color:#fff;
}
.btn-blk{
  background:#1f2937;
  color:#fff;
}
.btn-outline{
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  box-shadow:var(--shadow-soft);
}

.hero{padding:42px 0 24px}
.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:24px;
  align-items:stretch;
}

.card,
.panel{
  background:linear-gradient(180deg,var(--bg-soft),#ffffff);
  border:1px solid var(--border);
  border-radius:34px;
  box-shadow:var(--shadow);
}
.panel{padding:34px}
.card{padding:26px}

.eyebrow{
  display:inline-block;
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.75rem;
  font-weight:800;
  margin-bottom:10px;
}

h1,h2,h3,h4{margin:0 0 12px; line-height:1.15}
h1{font-size:clamp(1.8rem,4vw,3rem); letter-spacing:-.02em; font-family:Georgia,'Times New Roman',serif;}y:Georgia,'Times New Roman',serif;}
h2{font-size:clamp(1.6rem,3vw,2.3rem)}
p{margin:0 0 14px;color:var(--muted)}

.grid{display:grid;gap:20px}
.grid-2{grid-template-columns:repeat(2, minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3, minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4, minmax(0,1fr))}

.service-card{
  background:linear-gradient(180deg,#ffffff,#fffaf5);
  border:1px solid var(--border);
  
  border-radius:24px;
  padding:22px;
  box-shadow:var(--shadow-soft);
}

.kpi{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.kpi strong{
  font-size:1.8rem;
  color:var(--gold);
}

.section{padding:28px 0}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.field{display:flex;flex-direction:column;gap:8px}
.field.full{grid-column:1 / -1}

label{font-weight:700;color:var(--text)}

input,select,textarea{
  width:100%;
  border-radius:16px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  padding:14px 14px;
  outline:none;
}
input:focus,select:focus,textarea:focus{
  border-color:var(--gold);
  box-shadow:0 0 0 4px var(--gold-soft);
}
textarea{min-height:140px;resize:vertical}

.notice,.alert{
  padding:14px 16px;
  border-radius:16px;
  margin-bottom:16px;
}
.notice-success{
  background:rgba(22,163,74,.10);
  border:1px solid rgba(22,163,74,.22);
  color:#166534;
}
.notice-error{
  background:rgba(220,38,38,.08);
  border:1px solid rgba(220,38,38,.2);
  color:#991b1b;
}

.table-wrap{
  overflow:auto;
  border-radius:20px;
  border:1px solid var(--border);
}
table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
}
th,td{
  padding:14px 16px;
  text-align:left;
  border-bottom:1px solid rgba(231,221,210,.9);
}
th{
  color:var(--gold);
  font-size:.9rem;
  letter-spacing:.04em;
  background:#f9fafb;
}

.badge{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:.78rem;
  font-weight:800;
}
.badge-pending{background:rgba(234,179,8,.14); color:#a16207}
.badge-paid{background:rgba(22,163,74,.12); color:#15803d}
.badge-open{background:rgba(59,130,246,.12); color:#1d4ed8}
.badge-closed{background:rgba(107,114,128,.12); color:#475569}

.site-footer{
  margin-top:44px;
  border-top:1px solid var(--border);
  background:rgba(255,252,248,.9);
}
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:24px;
  padding:30px 0 50px;
}

.admin-shell{padding:28px 0 40px}
.login-shell{
  min-height:calc(100vh - 79px);
  display:grid;
  place-items:center;
  padding:30px 16px;
}
.login-card{width:min(520px,100%)}

.hero-points{
  display:grid;
  gap:14px;
  margin:24px 0 10px;
}
.hero-points div{
  padding:14px 16px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
}

.logo-row{
  display:flex;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
}
.logo-mark{
  width:58px;
  height:58px;
  border-radius:24px;
  background:linear-gradient(180deg, #d98859, #a6532e);
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:900;
  box-shadow:var(--shadow);
}

.quick-actions{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:12px;
}
.quick-actions a{
  padding:16px;
  border-radius:22px;
  border:1px solid var(--border);
  background:#fff;
  font-weight:700;
}

.route-result{
  padding:16px;
  border-radius:22px;
  border:1px solid var(--border);
  background:#fff;
}

.choice-group{
  display:grid;
  gap:12px;
}
.choice-card{
  border:1px solid var(--border);
  border-radius:22px;
  padding:14px 16px;
  background:#fff;
  transition:.18s ease;
}
.choice-card:hover{
  border-color:var(--gold);
  box-shadow:0 8px 24px rgba(31,41,55,.06);
}
.choice-card.selected{
  border-color:var(--gold);
  background:#fff7f2;
  box-shadow:0 10px 26px rgba(194,106,61,.10);
}
.choice-card label{
  display:flex;
  align-items:flex-start;
  gap:12px;
  cursor:pointer;
  margin:0;
  font-weight:500;
}
.choice-card label span{
  color:#1f2937;
}

.yelp-widget{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:22px;
  border:1px solid var(--border);
  border-radius:24px;
  background:#fff;
  flex-wrap:wrap;
}
.yelp-widget,
.yelp-widget *{
  color:#111827;
}
.yelp-logo img{
  height:36px;
  width:auto;
}
.yelp-rating{
  font-size:22px;
  font-weight:700;
  color:#111827;
}
.yelp-count{
  color:#6b7280;
  font-size:14px;
}
.yelp-actions{
  display:flex;
  gap:10px;
}
.yelp-widget .btn-outline{
  border:1px solid #1f2937;
  color:#1f2937;
  background:#fff;
}
.yelp-widget .btn-outline:hover{
  background:#1f2937;
  color:#fff;
}
.yelp-widget .btn-gold{
  background:#c26a3d;
  border:none;
  color:#fff;
}
.yelp-widget .btn-gold:hover{
  background:#a6532e;
}

.muted{color:var(--muted)}
.center{text-align:center}
.mb-0{margin-bottom:0}
.mt-2{margin-top:12px}
.mt-3{margin-top:18px}
.mt-4{margin-top:24px}
.mt-5{margin-top:32px}

.container,
.grid,
.grid-2,
.grid-3,
.grid-4,
.form-grid,
.card,
.panel,
.field,
.table-wrap,
.route-result {
  min-width:0;
}

img,
input,
select,
textarea,
button,
a.btn {
  max-width:100%;
}

.card,
.panel {
  overflow-wrap:break-word;
}

.hero-home .hero-panel{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(251,246,239,.92));
}
.hero-home .hero-panel::before{
  content:"";
  position:absolute;
  inset:auto -110px -140px auto;
  width:360px;
  height:360px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(199,119,63,.14) 0%, rgba(199,119,63,0) 68%);
  pointer-events:none;
}
.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  background:#fff7f1;
  color:var(--gold-dark);
  border:1px solid #f0d5c2;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.76rem;
}

.hero-copy{
  max-width:950px;
  font-size:1.18rem;
  line-height:1.75;
  color:#554d47;
}
.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin:28px 0 8px;
}
.hero-actions .btn{min-width:200px}
.hero-points-3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.hero-points-3 div{
  display:flex;
  flex-direction:column;
  gap:6px;
  background:rgba(255,255,255,.82);
}
.hero-points-3 strong{font-size:1rem;color:#1f1f1f}
.hero-points-3 span{font-size:.95rem;color:var(--muted)}
.home-feature-section{padding-top:8px}
.home-feature-grid{align-items:start}
.home-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.premium-card{background:linear-gradient(180deg,#fff,#fffaf6)}
.public-header .topbar{grid-template-columns:minmax(0,auto) 1fr auto;}
.public-header .brand-copy strong{font-size:1.08rem;line-height:1.1}
.public-header .brand-copy small{font-size:.8rem;margin-top:4px}
.public-nav{justify-content:flex-end}
.public-nav a{position:relative}
.public-nav a::after{content:"";position:absolute;left:0;bottom:-8px;width:100%;height:2px;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform .18s ease}
.public-nav a:hover::after{transform:scaleX(1)}
@media (max-width:980px){
  .hero-points-3,.home-mini-grid{grid-template-columns:1fr}
  .hero-copy{font-size:1.04rem}
}
@media (max-width:900px){
  .public-header .topbar{grid-template-columns:1fr auto}
  .brand-copy{display:none}
  .hero-title{font-size:clamp(2.1rem,9vw,3.4rem)}
  .hero-actions{flex-direction:column}
  .hero-actions .btn{width:100%}
}
@media (max-width:640px){
  .panel,.card{border-radius:28px;padding:20px}
  .hero-copy{font-size:1rem;line-height:1.7}
}

@media (max-width: 980px){
  .hero-grid,.grid-3,.grid-4,.footer-grid{grid-template-columns:1fr}
  .grid-2,.form-grid{grid-template-columns:1fr}
  .topbar,.admin-topbar{
    min-height:auto;
    padding:14px 0;
    align-items:flex-start;
    flex-direction:column;
  }
  .nav{width:100%;gap:14px}
  .btn-gold{width:100%}
}

@media (max-width:900px){
  .admin-mobile-toggle{display:inline-flex;align-items:center;justify-content:center}
  .calendar-week-grid{display:block}
  .calendar-day-col{margin-bottom:14px}
  .calendar-event-btn{
    padding:10px 12px;
    font-size:14px;
  }

  .admin-header .admin-topbar{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    align-items:stretch;
  }

  .admin-nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .admin-nav{
    display:none;
  }

  .admin-nav.is-open{
    display:grid;
  }

  .public-header .topbar{
    display:grid;
    grid-template-columns:minmax(0,auto) 1fr auto;
    align-items:center;
    gap:12px;
  }

  .mobile-nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .public-nav{
    display:none;
    grid-column:1 / -1;
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding-top:4px;
  }

  .public-nav.is-open{
    display:flex;
  }

  .public-nav a{
    padding:10px 12px;
    border:1px solid var(--border);
    border-radius:12px;
    background:#fff;
  }

  .header-phone-btn{
    grid-column:1 / -1;
    width:100%;
  }

  .booking-page .site-header,
  .inspection-booking-page .site-header{
    position:sticky;
    top:0;
  }
}

@media (max-width:700px){
  .yelp-actions{
    width:100%;
    display:flex;
    flex-direction:column;
  }
  .yelp-actions .btn{
    width:100%;
    text-align:center;
  }

  [style*="display:flex"] {
    flex-wrap:wrap !important;
  }

  [style*="display:flex"] > * {
    min-width:0;
  }
}

@media (max-width: 640px){
  .container{width:min(100% - 20px, 1180px)}
  .panel,.card{border-radius:20px;padding:18px}
  .brand-logo{width:42px;height:42px}
  h1{font-size:2.2rem}
  .btn,
  .btn-outline,
  .btn-gold,
  .btn-blk{
    width:100%;
    justify-content:center;
  }
}


@media (max-width:900px){
  .topbar{flex-wrap:wrap;align-items:center;padding:12px 0}
  .public-brand-image{width:138px;max-width:50vw}
  .brand-with-image .brand-copy strong{font-size:.95rem}
  .brand-with-image .brand-copy small{font-size:.75rem}
}
@media (max-width:640px){
  .public-brand-image{width:126px;max-width:58vw}
  .admin-brand-image{width:108px;max-width:42vw}
  .header-phone-btn{width:100%}
}



/* ===== 2026-03 mobile + premium polish ===== */
.public-header .topbar{display:grid;grid-template-columns:minmax(0,auto) 1fr auto;align-items:center;gap:18px;}
.public-nav {
    justify-content: flex-end;
    gap: 8px;
}
.header-phone-btn{margin-left:18px;}
.hero-title{font-size:clamp(2.2rem, 4.2vw, 3.95rem);letter-spacing:-.03em;}
.hero-panel{border-radius:38px;}
.hero-copy{max-width:880px;}
.site-footer{margin-top:34px;}
@media (max-width: 1100px){.public-nav{gap:18px;}.header-phone-btn{margin-left:10px;padding:13px 18px;}}
@media (max-width: 980px){.public-header .topbar{grid-template-columns:1fr auto;gap:12px;}}
@media (max-width: 900px){.public-header .topbar{grid-template-columns:minmax(0,1fr) auto;gap:12px;}.brand-with-image{gap:10px;}.brand-copy{display:none;}.public-brand-image{width:118px;max-width:44vw;}.mobile-nav-toggle{display:inline-flex;align-items:center;justify-content:center;}.public-nav{display:none;grid-column:1 / -1;width:100%;flex-direction:column;align-items:stretch;gap:10px;padding-top:4px;}.public-nav.is-open{display:flex;}.public-nav a{padding:12px 14px;border:1px solid var(--border);border-radius:14px;background:#fff;}.header-phone-btn{grid-column:1 / -1;width:100%;margin-left:0;}}
@media (max-width: 640px){.container{width:min(100% - 16px, 1180px)}.hero{padding:26px 0 14px}.hero-title{font-size:clamp(1.85rem, 10vw, 2.6rem);line-height:1.08;}.hero-copy{font-size:.98rem;line-height:1.65;}.hero-kicker{font-size:.68rem;letter-spacing:.1em;}.panel,.card{border-radius:24px;padding:18px;}.service-card{border-radius:20px;padding:18px;}}

.status-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  line-height:1;
}
.status-badge.success{background:rgba(21,128,61,.12);color:var(--success)}
.status-badge.warning{background:rgba(199,119,63,.12);color:var(--gold-dark)}
.status-badge.danger{background:rgba(194,65,12,.12);color:var(--danger)}
.status-badge.neutral{background:rgba(109,101,94,.12);color:var(--muted)}

/* ===== PORTAL / MY ACCOUNT BUTTON - CLEAN VERSION ===== */

/* My Account button - normal state (same as other nav links) */
.public-nav a[href*="portal"] {
    background: transparent;
    color: var(--text) !important;
    border-radius: 30px;
    padding: 8px 16px;
    transition: all 0.2s ease;
}

/* My Account button - hover state */
.public-nav a[href*="portal"]:hover {
    background: var(--gold-soft);
    color: var(--gold-dark) !important;
    transform: translateY(-1px);
}

/* My Account button - active state (only when on portal pages) */
.public-nav a[href*="portal"].active {
    background: var(--gold) !important;
    color: white !important;
}

/* Remove any other conflicting styles */
.nav-portal,
.nav-portal-active {
    all: unset;
}

/* My Account button - active state (only when on portal pages) */
.public-nav a[href*="portal"].active {
    background: var(--gold) !important;
    color: white !important;
}

/* Make sure the active gold overrides any other styles */
.public-nav a[href*="portal"].active:hover {
    background: var(--gold-dark) !important;
    color: white !important;
}


/* My Account button styles */
.nav-portal {
    background: transparent;
    color: var(--text) !important;
    border-radius: 30px;
    padding: 8px 16px;
    transition: all 0.2s ease;
}

.nav-portal-active {
    background: var(--gold) !important;
    color: white !important;
    border-radius: 30px;
    padding: 8px 16px;
}

.nav-portal-active:hover {
    background: var(--gold-dark) !important;
    transform: translateY(-1px);
}

/* Make sure the active class works */
.public-nav a.active {
    background: var(--gold) !important;
    color: white !important;
      border-radius:34px;
  box-shadow:var(--shadow);
}

/* Hide Tech Login on desktop (only show on mobile) */
@media (min-width: 901px) {
    .public-nav a[href*="tech"] {
        display: none;
    }
}

/* ===== BIGGER HEADER BUTTONS ===== */

/* Make navigation buttons larger and more prominent */
.public-nav a {
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 10px 18px !important;
    letter-spacing: 0.3px;
}

/* Special styling for My Account button */
.public-nav a[href*="portal"] {
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 10px 18px !important;
    border-radius: 40px;
}

/* Logout button styling */
.public-nav a[href*="logout"] {
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 10px 18px !important;
}

/* Phone button bigger */
.header-phone-btn {
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 12px 22px !important;
    border-radius: 40px;
}

/* Add hover effect with scale */
.public-nav a:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

/* Gold underline effect on hover */
.public-nav a::after {
    bottom: -4px;
    height: 3px;
}

/* Make the entire header taller to accommodate bigger buttons */
.topbar {
    min-height: 100px;
}

/* For desktop screens, increase gap slightly */
@media (min-width: 901px) {
    .public-nav {
        gap: 12px;
    }
    
    .public-nav a {
        padding: 10px 20px !important;
    }
}

/* For mobile, keep buttons touch-friendly */
@media (max-width: 900px) {
    .public-nav a {
        padding: 12px 16px !important;
        font-size: 14px !important;
    }
}


/* ===== FLOATING PHONE BUTTON ===== */

.floating-phone-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gold);
    color: white !important;
    border-radius: 60px;
    padding: 14px 22px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(199, 119, 63, 0.4);
    transition: all 0.2s ease;
    animation: pulse 2s infinite;
}

.floating-phone-btn:hover {
    transform: scale(1.05);
    background: var(--gold-dark);
    box-shadow: 0 8px 25px rgba(199, 119, 63, 0.5);
}

.floating-phone-btn:active {
    transform: scale(0.98);
}

/* Phone icon */
.floating-phone-btn::before {
    content: "📞";
    font-size: 18px;
}

/* Pulse animation for attention */
@keyframes pulse {
    0% {
        box-shadow: 0 6px 20px rgba(199, 119, 63, 0.4);
    }
    50% {
        box-shadow: 0 6px 30px rgba(199, 119, 63, 0.7);
    }
    100% {
        box-shadow: 0 6px 20px rgba(199, 119, 63, 0.4);
    }
}

/* Smaller on mobile */
@media (max-width: 640px) {
    .floating-phone-btn {
        padding: 12px 18px;
        font-size: 14px;
        bottom: 16px;
        right: 16px;
    }
    
    .floating-phone-btn::before {
        font-size: 16px;
    }
}

/* Hide floating button on admin pages */
.admin-page .floating-phone-btn {
    display: none;
}


/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
}

@media (max-width: 900px) {
    .mobile-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--gold);
        color: white;
        border: none;
        border-radius: 10px;
        padding: 10px 16px;
        font-weight: 600;
        cursor: pointer;
    }
    
    .public-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    
    .public-nav.is-open {
        display: flex;
    }
    
    .public-nav a {
        padding: 12px 14px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: #fff;
        text-align: center;
    }
}







/* ===== MAKE HEADER WIDER - LIKE ADMIN PANEL ===== */
.public-header .topbar {
    gap: 32px;
    min-height: 90px;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    
}

.public-nav {
    gap: 8px;
    margin-left: auto;
}

/* Make container wider */
.container {
    width: min(1400px, calc(100% - 32px));
    margin: 0 auto;
}

/* ===== ACCOUNT DROPDOWN STYLES ===== */
.public-nav-group {
    position: relative;
    z-index: 2000;
}

.public-nav-group summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    list-style: none;
    transition: all 0.2s ease;
}

.public-nav-group summary::-webkit-details-marker {
    display: none;
}

.public-nav-group summary::after {
    content: " ▼";
    font-size: 10px;
    transition: transform 0.2s ease;
}

.public-nav-group[open] summary::after {
    transform: rotate(180deg);
}

.public-nav-group summary.active {
    background: var(--gold) !important;
    color: white !important;
}

.public-nav-group summary:hover {
    background: var(--gold-soft);
    transform: translateY(-2px);
}

/* Dropdown menu */
.public-nav-submenu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: #fff;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2001;
}

.public-nav-submenu a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.public-nav-submenu a:hover {
    background: var(--gold-soft);
    color: var(--gold-dark);
}

.public-nav-submenu hr {
    margin: 6px 0;
    border: none;
    border-top: 1px solid var(--border);
}

/* ===== CLOSE DROPDOWN WHEN CLICKING OUTSIDE ===== */
.public-nav-group details {
    position: relative;
}

/* Responsive: Mobile view */
@media (max-width: 1100px) {
    .public-header .topbar {
        
        gap: 16px;
    }
    
    .public-nav-group summary {
        padding: 8px 14px;
        font-size: 14px;
    }
    
    .public-nav-submenu {
        right: auto;
        left: 0;
    }
}

@media (max-width: 900px) {
    .public-nav {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .public-nav-group {
        width: 100%;
    }
    
    .public-nav-group summary {
        width: 100%;
        justify-content: center;
    }
    
    .public-nav-submenu {
        position: static;
        width: 100%;
        margin-top: 8px;
        box-shadow: none;
        border: 1px solid var(--border);
    }
    
    .public-nav-submenu a {
        text-align: center;
    }
}


/* Prevent dropdown from closing immediately */
.public-nav-group details {
    position: relative;
}

.public-nav-group summary {
    cursor: pointer;
}

/* Make sure dropdown stays above other content */
.public-nav-submenu {
    z-index: 10000;
}

