/* ==========================================================================
   PALACE LAUNDRY — LUXURY COMPONENTS & PAGE MODULES
   ========================================================================== */

/* Top Utility Bar */
.utility-bar {
  background: var(--navy-deep);
  color: rgba(250, 246, 236, 0.82);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.utility-bar__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 36px;
  padding-block: 0.25rem;
}

.utility-bar__meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.utility-bar__meta--left,
.utility-bar__meta--centre,
.utility-bar__meta--right {
  min-width: 0;
}

.utility-bar__meta--left {
  grid-column: 1;
  justify-content: flex-start;
}

.utility-bar__meta--centre {
  grid-column: 2;
  justify-content: center;
  text-align: center;
  column-gap: 1.25rem;
  row-gap: 0.25rem;
}

.utility-bar__meta--right {
  grid-column: 3;
  justify-content: flex-end;
  text-align: right;
  column-gap: 1.25rem;
  row-gap: 0.25rem;
}

.utility-bar__meta--right > * {
  flex-shrink: 0;
  max-width: 100%;
}

.utility-bar__link {
  color: var(--gold-light);
  font-weight: 600;
}

.utility-bar__link:hover {
  color: var(--white);
}

@media (max-width: 820px) {
  .utility-bar {
    display: none;
  }
}

/* Sticky Luxury Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-navy);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 8px 28px rgba(9, 18, 44, 0.24);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.88rem;
  flex-shrink: 0;
}

.brand-lockup__crest {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--white);
  border: 2px solid var(--gold);
  padding: 3px;
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-lockup__crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-lockup__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-lockup__name {
  font-family: 'Lato', var(--font-sans);
  font-size: clamp(1.12rem, 1.85vw, 1.46rem);
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--ivory-pure);
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.brand-lockup__tagline {
  font-family: var(--font-sans);
  font-size: clamp(0.58rem, 0.8vw, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: 4px;
}

@media (max-width: 640px) {
  .site-header__inner {
    min-height: 68px;
    gap: 0.5rem;
  }
  .brand-lockup {
    gap: 0.55rem;
    min-width: 0;
  }
  .brand-lockup__crest {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .brand-lockup__name {
    font-size: clamp(0.92rem, 3.7vw, 1.12rem);
    letter-spacing: 1px;
    white-space: nowrap;
  }
  .brand-lockup__tagline {
    font-size: 0.5rem;
    letter-spacing: 0.16em;
    margin-top: 2px;
  }
  .header-actions {
    gap: 0.45rem;
    flex-shrink: 0;
  }
  .menu-toggle {
    width: 38px;
    height: 38px;
  }
}

/* Desktop Navigation & Grouped Dropdowns */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(250, 246, 236, 0.88);
  padding: 0.48rem 0.88rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"],
.nav-group.is-active > .site-nav__link {
  color: var(--gold-light);
  background: rgba(197, 160, 89, 0.14);
}

.site-nav__link[aria-current="page"],
.nav-group.is-active > .site-nav__link {
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(197, 160, 89, 0.36);
}

.nav-group {
  position: relative;
}

.nav-group__caret {
  font-size: 0.7rem;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.nav-group.is-open .nav-group__caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: 240px;
  background: var(--navy-deep);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 1100;
}

.nav-group.is-open .nav-dropdown,
.nav-group:hover .nav-dropdown {
  display: grid;
  gap: 0.2rem;
}

.nav-dropdown__item {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  color: rgba(250, 246, 236, 0.9);
  font-size: 0.86rem;
}

.nav-dropdown__item strong {
  display: block;
  font-weight: 600;
  color: var(--ivory);
}

.nav-dropdown__item span {
  display: block;
  font-size: 0.76rem;
  color: rgba(250, 246, 236, 0.68);
}

.nav-dropdown__item:hover,
.nav-dropdown__item[aria-current="page"] {
  background: rgba(197, 160, 89, 0.15);
}

.nav-dropdown__item[aria-current="page"] strong {
  color: var(--gold-light);
}

.mobile-drawer__group {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0.85rem 0 0.25rem;
  padding-inline: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.menu-toggle {
  display: none;
  background: rgba(250, 246, 236, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--ivory);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1080px) {
  .site-nav,
  .header-actions .btn--desktop {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 18, 44, 0.72);
  backdrop-filter: blur(4px);
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100%;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-left: 1px solid var(--border-gold);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  color: var(--ivory);
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-gold);
}

.mobile-drawer__close {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--ivory);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 1.25rem;
  cursor: pointer;
}

.mobile-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-block: 1.25rem;
}

.mobile-drawer__link {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(250, 246, 236, 0.9);
  border: 1px solid transparent;
}

.mobile-drawer__link[aria-current="page"] {
  background: rgba(197, 160, 89, 0.14);
  border-color: var(--border-gold);
  color: var(--gold-light);
  font-weight: 600;
}

.mobile-drawer__cta {
  display: grid;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn--sm {
  padding: 0.58rem 1.15rem;
  font-size: 0.84rem;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, #B38A42 100%);
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-1px);
}

.btn--navy {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}

.btn--navy:hover {
  background: var(--navy-elevated);
  transform: translateY(-1px);
}

.btn--outline-gold {
  background: rgba(16, 30, 70, 0.35);
  color: var(--ivory);
  border-color: var(--border-gold-strong);
}

.btn--outline-gold:hover {
  background: rgba(197, 160, 89, 0.16);
  border-color: var(--gold-light);
}

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: rgba(16, 30, 70, 0.28);
}

.btn--outline-dark:hover {
  border-color: var(--navy);
  background: rgba(16, 30, 70, 0.05);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Hero Banner */
.hero {
  position: relative;
  min-height: clamp(540px, 78vh, 760px);
  display: flex;
  align-items: center;
  color: var(--ivory);
  background-color: var(--navy-deep);
  overflow: hidden;
  padding-block: clamp(4.5rem, 8vw, 6.5rem);
}

.hero--compact {
  min-height: clamp(380px, 50vh, 500px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(9, 18, 44, 0.92) 0%, rgba(16, 30, 70, 0.76) 48%, rgba(16, 30, 70, 0.44) 100%),
    linear-gradient(180deg, rgba(9, 18, 44, 0.32) 0%, rgba(9, 18, 44, 0.64) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.hero__note {
  margin-top: 1.15rem;
  font-size: 0.88rem;
  color: rgba(250, 246, 236, 0.78);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(197, 160, 89, 0.28);
  font-size: 0.86rem;
  color: rgba(250, 246, 236, 0.88);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Trust Ribbon */
.trust-ribbon {
  background: var(--navy);
  color: var(--ivory);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding-block: 1.4rem;
}

.trust-ribbon__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.trust-stat {
  text-align: center;
  padding-inline: 0.75rem;
  border-right: 1px solid rgba(197, 160, 89, 0.22);
}

.trust-stat:last-child {
  border-right: none;
}

.trust-stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
}

.trust-stat__label {
  font-size: 0.82rem;
  color: rgba(250, 246, 236, 0.82);
  margin-top: 0.25rem;
}

@media (max-width: 820px) {
  .trust-ribbon__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-stat {
    border-right: none;
    padding-block: 0.4rem;
  }
}

/* Split Editorial Showcase */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split--reverse .split__media {
  order: -1;
}

.split__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
  background: var(--navy-deep);
}

.split__frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease-luxury);
}

.split__frame:hover img {
  transform: scale(1.03);
}

.split__caption {
  padding: 0.75rem 1.1rem;
  font-size: 0.76rem;
  color: var(--ink-muted);
  background: var(--ivory-pure);
  border-top: 1px solid var(--border-navy);
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media {
    order: 0;
  }
}

/* Cards & Grids */
.grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.85rem);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid--4, .grid--3, .grid--2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--ivory-pure);
  border: 1px solid var(--border-navy);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-luxury), box-shadow 0.35s var(--ease-luxury), border-color 0.35s var(--ease-luxury);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold-strong);
}

.card--dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-gold);
  color: var(--ivory);
  box-shadow: none;
}

.card--dark:hover {
  background: rgba(255, 255, 255, 0.07);
}

.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--parchment);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-luxury);
}

.card:hover .card__media img {
  transform: scale(1.05);
}

.card__body {
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.45rem;
}

.card--dark .card__kicker {
  color: var(--gold-light);
}

.card__text {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin-bottom: 1rem;
  flex: 1;
}

.card--dark .card__text {
  color: rgba(250, 246, 236, 0.8);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
}

.card--dark .card__link {
  color: var(--gold-light);
}

.card__link:hover {
  color: var(--gold-dark);
}

/* Process Timeline */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

@media (max-width: 960px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .process-grid { grid-template-columns: 1fr; }
}

.process-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(197, 160, 89, 0.28);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.process-step__num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.process-step__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 0.35rem;
}

.process-step__desc {
  font-size: 0.88rem;
  color: rgba(250, 246, 236, 0.78);
  margin: 0;
}

/* Checklists & Bullet Lists */
.royal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: grid;
  gap: 0.7rem;
}

.royal-list li {
  position: relative;
  padding-left: 1.55rem;
  font-size: 0.96rem;
}

.royal-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-dark);
  font-size: 0.85rem;
}

.section--navy .royal-list li::before,
.section--purple .royal-list li::before {
  color: var(--gold-light);
}

/* Testimonials */
.quote-card {
  background: var(--ivory-pure);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-card__mark {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 0.8;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.quote-card__text {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.quote-card__meta {
  border-top: 1px solid var(--border-navy);
  padding-top: 0.85rem;
  font-size: 0.86rem;
}

.quote-card__author {
  font-weight: 700;
  color: var(--ink);
}

.quote-card__service {
  color: var(--gold-dark);
  font-weight: 600;
}

/* Accordion (FAQs & Details) */
.accordion {
  display: grid;
  gap: 0.85rem;
}

.accordion__item {
  background: var(--ivory-pure);
  border: 1px solid var(--border-navy);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion__btn {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1.2rem 1.4rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  color: var(--navy);
  font-weight: 600;
  font-size: 1rem;
}

.accordion__icon {
  font-size: 1.2rem;
  color: var(--gold-dark);
  transition: transform 0.25s ease;
}

.accordion__item.is-open .accordion__icon {
  transform: rotate(45deg);
}

.accordion__panel {
  display: none;
  padding: 0 1.4rem 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  border-top: 1px solid rgba(16, 30, 70, 0.06);
  padding-top: 0.9rem;
}

.accordion__item.is-open .accordion__panel {
  display: block;
}

/* Pricing Components */
.pricing-controls {
  position: sticky;
  top: 76px;
  z-index: 90;
  background: rgba(250, 246, 236, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-gold);
  padding-block: 1rem;
}

.pricing-controls__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill-nav__item {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border-navy);
  background: var(--ivory-pure);
  color: var(--navy);
}

.pill-nav__item:hover,
.pill-nav__item.is-active {
  background: var(--navy);
  color: var(--gold-light);
  border-color: var(--navy);
}

.search-input {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(16, 30, 70, 0.22);
  background: var(--white);
  width: min(310px, 100%);
  font-size: 0.9rem;
}

.price-block {
  background: var(--ivory-pure);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.price-block__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-gold);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid rgba(16, 30, 70, 0.08);
  border-radius: var(--radius-sm);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row:hover {
  background: rgba(197, 160, 89, 0.08);
}

.price-row__name {
  font-weight: 600;
  color: var(--ink);
}

.price-row__sub {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.price-row__right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.price-row__amount {
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.estimate-add-btn {
  border: 1px solid var(--border-gold-strong);
  background: var(--ivory);
  color: var(--navy);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.estimate-add-btn:hover {
  background: var(--navy);
  color: var(--gold-light);
}

.estimate-bar {
  background: var(--navy);
  color: var(--ivory);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 2rem;
}

.estimate-bar .lead {
  color: rgba(250, 246, 236, 0.86);
}

.estimate-bar .eyebrow {
  color: var(--gold-light);
}

/* Branch Cards */
.branch-card {
  background: var(--ivory-pure);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.branch-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(72, 36, 94, 0.1);
  color: var(--purple);
  margin-bottom: 0.65rem;
}

.branch-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(16, 30, 70, 0.08);
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
  background: var(--parchment);
}

.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Forms & Selectors */
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 640px) {
  .field-grid { grid-template-columns: 1fr; }
}

.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.field input,
.field select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 30, 70, 0.22);
  background: var(--white);
  color: var(--ink);
}

/* Luxury Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(250, 246, 236, 0.86);
  border-top: 2px solid var(--gold);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.24);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.84rem;
  color: rgba(250, 246, 236, 0.68);
}

/* Floating Mobile Action Bar */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 68px;
  }
  .mobile-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--navy-deep);
    border-top: 1px solid var(--gold);
    box-shadow: 0 -8px 24px rgba(9, 18, 44, 0.28);
  }
  .mobile-sticky-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
  }
  .mobile-sticky-bar__call {
    color: var(--ivory);
    border-right: 1px solid rgba(197, 160, 89, 0.3);
  }
  .mobile-sticky-bar__wa {
    background: linear-gradient(135deg, var(--gold) 0%, #B38A42 100%);
    color: var(--navy-deep);
  }
}

/* Language Toggle Pill */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(197, 160, 89, 0.14);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 0.25rem 0.72rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-switch:hover {
  background: rgba(197, 160, 89, 0.25);
  color: var(--white);
}

.lang-switch--mobile-header {
  display: none;
}

@media (max-width: 820px) {
  .lang-switch--mobile-header {
    display: inline-flex;
    padding: 0.22rem 0.55rem;
    font-size: 0.72rem;
  }
}

/* Ask Palace AI — Signature Digital Assistant Gateway */
@keyframes palace-ai-sheen {
  0%, 82%, 100% {
    box-shadow: var(--shadow-lg), 0 0 0 0 rgba(197, 160, 89, 0);
  }
  90% {
    box-shadow: var(--shadow-lg), 0 0 0 6px rgba(197, 160, 89, 0.22);
  }
}

.palace-ai {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 980;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.palace-ai__launcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--ivory-pure);
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  padding: 3px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  animation: palace-ai-sheen 8s ease-in-out infinite;
  transition: transform 0.25s var(--ease-luxury), border-color 0.25s var(--ease-luxury);
}

.palace-ai__launcher:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: var(--gold-light);
}

.palace-ai__avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--navy-deep);
}

.palace-ai__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.palace-ai__meta {
  text-align: left;
  line-height: 1.18;
}

.palace-ai__title {
  display: block;
  font-family: var(--font-brand);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ivory-pure);
}

.palace-ai__sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gold-light);
}

.palace-ai__panel {
  width: min(340px, calc(100vw - 2rem));
  background: var(--ivory-pure);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: none;
}

.palace-ai.is-open .palace-ai__panel {
  display: block;
}

.palace-ai__panel-head {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--ivory);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-gold);
}

.palace-ai__panel-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.palace-ai__close {
  background: rgba(250, 246, 236, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--ivory);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
}

.palace-ai__panel-body {
  padding: 1.1rem;
}

.palace-ai__welcome {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 0.9rem;
}

.palace-ai__options {
  display: grid;
  gap: 0.45rem;
}

.palace-ai__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.62rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-navy);
  background: var(--white);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 600;
}

.palace-ai__opt:hover {
  border-color: var(--gold);
  background: rgba(197, 160, 89, 0.1);
}

.palace-ai__opt--wa {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--gold-light);
  border-color: var(--gold);
}

.palace-ai__opt--wa:hover {
  background: var(--navy-elevated);
  color: var(--white);
}

.palace-ai__foot {
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(16, 30, 70, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--ink-muted);
}

@media (max-width: 768px) {
  .palace-ai {
    right: 0.85rem;
    bottom: 62px;
  }
  .palace-ai__launcher {
    width: 52px;
    height: 52px;
    padding: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .palace-ai__launcher {
    animation: none;
  }
}

/* Structured Form Enhancements, Consent & Confirmation */
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 30, 70, 0.22);
  background: var(--white);
  color: var(--ink);
  resize: vertical;
  min-height: 82px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.form-consent input {
  margin-top: 0.22rem;
  accent-color: var(--navy);
  flex-shrink: 0;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.form-status.is-success,
.form-status.is-info {
  display: block;
  background: rgba(16, 30, 70, 0.06);
  border: 1px solid var(--gold);
  color: var(--navy);
}

.form-status.is-error {
  display: block;
  background: rgba(165, 38, 52, 0.08);
  border: 1px solid rgba(165, 38, 52, 0.45);
  color: #7c1824;
}

.form-status__meta {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

.integration-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(197, 160, 89, 0.16);
  color: var(--gold-dark);
  margin-bottom: 0.65rem;
}

/* Policy Draft Notice */
.policy-draft-banner {
  background: var(--parchment);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--navy);
}

.policy-article h2 {
  font-size: 1.55rem;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}

/* Leadership Showcase */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem;
  align-items: stretch;
}

@media (max-width: 820px) {
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.leader-card {
  background: var(--ivory-pure);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.leader-card__frame {
  position: relative;
  padding: 1.15rem 1.15rem 0;
  background: linear-gradient(180deg, rgba(16, 30, 70, 0.04) 0%, rgba(197, 160, 89, 0.08) 100%);
}

.leader-card__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid rgba(197, 160, 89, 0.55);
  background: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.leader-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s var(--ease);
}

.leader-card:hover .leader-card__portrait img {
  transform: scale(1.02);
}

.leader-card__body {
  padding: 1.65rem 1.75rem 1.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.leader-card__role {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.78rem;
  border-radius: var(--radius-pill);
  background: rgba(197, 160, 89, 0.16);
  color: var(--gold-dark);
  border: 1px solid rgba(197, 160, 89, 0.38);
  margin-bottom: 0.75rem;
}

.leader-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  color: var(--navy);
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.leader-card__divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(197, 160, 89, 0.2));
  margin-bottom: 1rem;
  border-radius: 2px;
}

.leader-card__bio {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
  flex: 1;
}

.leader-card__focus {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(16, 30, 70, 0.1);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.leader-card__focus span {
  color: var(--gold-dark);
  margin-right: 0.35rem;
}

.vision-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}


/* Final responsive review: keep the approved design and price values. */
.grid > *, .split > * { min-width: 0; }
.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 136px;
  grid-template-rows: minmax(42px, auto) 1.25rem;
  column-gap: 1rem;
  row-gap: 0.18rem;
  align-items: center;
  padding: 0.85rem 0.75rem 0.65rem;
}
.price-row > :first-child { grid-column: 1; grid-row: 1; align-self: center; min-width: 0; overflow-wrap: anywhere; }
.price-row__right { display: contents; }
.price-row__amount { grid-column: 2; grid-row: 1; align-self: center; justify-self: end; text-align: right; overflow-wrap: anywhere; }
.price-row .estimate-add-btn {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 136px;
  height: 42px;
  min-height: 42px;
  padding: 0 0.75rem;
  box-sizing: border-box;
  white-space: nowrap;
  text-align: center;
  flex: 0 0 auto;
}
[data-price-block] { scroll-margin-top: var(--pl-price-offset, 190px); }
.palace-ai__panel { max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 768px) {
  .pricing-controls { position: static; }
  [data-price-block] { scroll-margin-top: var(--pl-price-offset, 90px); }
  .pricing-controls__inner, .pill-nav { min-width: 0; }
  .pill-nav__item { max-width: 100%; overflow-wrap: anywhere; }
  .price-block__head > :first-child { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .estimate-bar [data-estimate-wa] { max-width: 100%; white-space: normal; text-align: center; overflow-wrap: anywhere; }
  .palace-ai { right: max(0.85rem, env(safe-area-inset-right)); bottom: calc(62px + env(safe-area-inset-bottom)); max-width: calc(100% - 1.7rem); }
  .palace-ai__panel { width: min(340px, calc(100vw - 1.7rem)); max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px - env(safe-area-inset-bottom)); }
  .palace-ai__foot { flex-wrap: wrap; gap: 0.3rem; }
}

/* Visible service quantities and the compact estimate shortcut. */
.price-quantity {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 128px;
  height: 42px;
  min-height: 42px;
  padding: 2px;
  box-sizing: border-box;
  max-width: 100%;
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--ivory);
  border: 1px solid var(--border-gold-strong);
  border-radius: var(--radius-pill);
}
.price-row .price-quantity {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  width: 136px;
}
.price-quantity__note {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: end;
  align-self: start;
  text-align: right;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
.price-row .estimate-add-btn[hidden],
.price-row .price-quantity[hidden],
.price-row .price-quantity__note[hidden],
.estimate-add-btn[hidden],
.price-quantity[hidden],
.price-quantity__note[hidden] { display: none; }
.price-quantity__button {
  width: 36px;
  height: 36px;
  min-height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.price-quantity__button:hover { background: var(--navy); color: var(--gold-light); }
.price-quantity__value { flex: 1 1 auto; min-width: 1.5rem; text-align: center; font-size: 0.88rem; font-weight: 700; line-height: 1.2; color: var(--navy); }
.price-quantity__button:focus-visible, .estimate-item__remove:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.price-row.is-estimated { background: rgba(197, 160, 89, 0.1); }
#my-estimate { scroll-margin-top: var(--pl-price-offset, 100px); }
.estimate-item { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.65rem 0; border-bottom: 1px solid rgba(197, 160, 89, 0.2); }
.estimate-item__description { min-width: 0; overflow-wrap: anywhere; }
.estimate-item__name, .estimate-item__subtotal, .estimate-item__unit-summary { display: block; }
.estimate-item__unit-summary { margin-top: 0.15rem; font-size: 0.78rem; font-weight: 600; color: var(--navy); }
.estimate-item__subtotal { color: var(--gold-dark); }
.estimate-item__actions { display: flex; align-items: center; gap: 0.35rem; flex-shrink: 0; max-width: 100%; }
.estimate-item__actions .price-quantity { flex-shrink: 0; }
.estimate-item__remove { background: transparent; border: 1px solid var(--border-gold-strong); color: var(--gold-light); border-radius: 50%; width: 32px; min-height: 32px; cursor: pointer; flex: 0 0 32px; font: inherit; }
.estimate-empty { margin: 0; color: rgba(250,246,236,0.75); font-size: 0.9rem; }
.estimate-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 768px) {
  .estimate-item { align-items: flex-start; flex-direction: column; gap: 0.45rem; }
}

/* My Laundry Bag — one toolbar button and the existing estimate in a modal. */
.pricing-controls__inner > .pill-nav { flex-basis: 100%; }
.pricing-search { display: flex; align-items: center; justify-content: flex-end; gap: 0.85rem; width: 100%; min-width: 0; }
.pricing-search .search-input { flex: 1 1 220px; width: auto; min-width: 0; max-width: 420px; }
.laundry-bag-button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; flex: 0 0 auto; min-height: 44px; padding: 0.55rem 0.9rem; border: 1px solid var(--gold); border-radius: var(--radius-pill); background: var(--navy); color: var(--ivory); font: inherit; font-size: 0.86rem; font-weight: 600; cursor: pointer; }
.laundry-bag-button svg, .laundry-bag-panel__heading svg { width: 25px; height: 27px; flex: 0 0 25px; color: var(--gold-light); }
.laundry-bag-button__label { white-space: nowrap; }
.laundry-bag-count { display: inline-flex; align-items: center; justify-content: center; min-width: 21px; height: 21px; padding-inline: 0.25rem; border-radius: 50%; background: var(--gold-light); color: var(--navy-deep); font-size: 0.7rem; font-weight: 800; }
.laundry-bag-count.is-updated { animation: bag-notification 480ms ease-out; }
@keyframes bag-notification { 0%,100% { transform: scale(1); } 45% { transform: scale(1.2); } }
.laundry-bag-button:focus-visible, .laundry-bag-panel__close:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.laundry-bag-panel { position: fixed; inset: 0 0 0 auto; width: 500px; max-width: 100%; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; overflow: hidden; border: 0; border-left: 1px solid var(--gold); background: var(--navy); color: var(--ivory); box-shadow: var(--shadow-lg); }
.laundry-bag-panel[open] { display: flex; flex-direction: column; animation: bag-panel-enter 240ms var(--ease-luxury); }
@keyframes bag-panel-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
.laundry-bag-panel::backdrop { background: rgba(9,18,44,0.64); backdrop-filter: blur(3px); }
.laundry-bag-panel__head { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; gap: 0.6rem; padding: 1rem 1.15rem; background: var(--navy-deep); border-bottom: 1px solid var(--border-gold); }
.laundry-bag-panel__heading { display: flex; align-items: center; gap: 0.65rem; min-width: 0; }
.laundry-bag-panel__heading h2 { margin: 0; color: var(--ivory); font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; }
.laundry-bag-panel__head-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.laundry-bag-panel__close { width: 36px; min-height: 36px; border: 1px solid var(--border-gold); border-radius: 50%; background: transparent; color: var(--gold-light); font: inherit; font-size: 1.4rem; cursor: pointer; }
.laundry-bag-panel__scroll { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 0 1.15rem 1rem; }
.laundry-bag-panel .bag-estimator { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.laundry-bag-panel .estimate-item { flex-direction: column; align-items: stretch; gap: 0.65rem; margin-block: 0.8rem; padding: 0.9rem; background: var(--ivory); color: var(--navy); border: 1px solid var(--border-gold); border-radius: var(--radius-md); }
.laundry-bag-panel .estimate-item__name { font-weight: 600; }
.estimate-item__unit-price { display: block; margin-top: 0.2rem; font-size: 0.8rem; color: var(--ink-soft); }
.laundry-bag-panel .estimate-item__subtotal { color: var(--gold-dark); }
.laundry-bag-panel .estimate-item__actions { justify-content: space-between; }
.laundry-bag-panel .estimate-item__remove { color: var(--navy); }
.laundry-bag-panel .field-grid { grid-template-columns: 1fr; }
.laundry-bag-panel select { width: 100%; min-width: 0; }
.bag-breakdown { margin: 1.15rem 0 0; padding-top: 1rem; border-top: 1px solid var(--border-gold); }
.bag-breakdown__row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.85rem; margin-block: 0.5rem; font-size: 0.84rem; }
.bag-breakdown__row[hidden] { display: none; }
.bag-breakdown dt { min-width: 0; }
.bag-breakdown dd { margin: 0; flex-shrink: 0; color: var(--gold-light); font-weight: 600; }
.bag-gst-note { margin: 0.85rem 0; font-size: 0.8rem; color: var(--gold-light); }
.bag-inspection { margin: 1rem 0 0; padding: 0.8rem; border-left: 2px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: rgba(197,160,89,0.1); font-size: 0.8rem; line-height: 1.6; }
.laundry-bag-panel__foot { flex: 0 0 auto; padding: 0.9rem 1.15rem 1rem; background: var(--navy-deep); border-top: 1px solid var(--border-gold); }
.laundry-bag-panel__total-row { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; }
.laundry-bag-panel__total-row > :first-child { min-width: 0; }
.laundry-bag-panel__total-row [data-estimate-clear] { flex-shrink: 0; max-width: 40%; white-space: normal; text-align: center; }
.laundry-bag-panel__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.laundry-bag-panel__actions [data-estimate-wa] { grid-column: 1 / -1; }
.laundry-bag-panel__actions .btn { min-width: 0; padding-inline: 0.65rem; white-space: normal; text-align: center; }
.laundry-bag-panel [aria-disabled="true"], .laundry-bag-panel button:disabled { opacity: 0.5; cursor: default; }
@media (min-width: 641px) and (max-width: 768px) { .pricing-controls { position: sticky; } }
@media (max-width: 640px) {
  .pricing-controls { position: static; }
  .pricing-search .search-input { max-width: none; }
  .price-row {
    grid-template-columns: minmax(0, 1fr) 128px;
    grid-template-rows: auto minmax(40px, auto) 1.2rem;
    column-gap: 0.65rem;
    row-gap: 0.25rem;
    padding: 0.85rem 0.5rem 0.7rem;
  }
  .price-row > :first-child { grid-column: 1 / -1; grid-row: 1; align-self: start; }
  .price-row__amount { grid-column: 1; grid-row: 2; align-self: center; justify-self: start; text-align: left; }
  .price-row .estimate-add-btn,
  .price-row .price-quantity {
    grid-column: 2;
    grid-row: 2;
    width: 128px;
    height: 40px;
    min-height: 40px;
  }
  .price-row .price-quantity__button {
    width: 34px;
    height: 34px;
    min-height: 34px;
    flex: 0 0 34px;
  }
  .price-row .price-quantity__note {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: end;
    align-self: start;
    text-align: right;
  }
  .laundry-bag-button { position: fixed; left: max(0.85rem, env(safe-area-inset-left)); bottom: calc(62px + env(safe-area-inset-bottom)); z-index: 970; width: 54px; height: 54px; min-height: 54px; padding: 0.65rem; border-radius: 16px; box-shadow: var(--shadow-lg); }
  .laundry-bag-button__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .laundry-bag-count { position: absolute; top: -6px; right: -6px; border: 1px solid var(--navy); }
  body:has(.palace-ai.is-open) .laundry-bag-button, body:has(.mobile-drawer.is-open) .laundry-bag-button { visibility: hidden; pointer-events: none; }
}
@media (max-width: 420px) {
  .laundry-bag-panel__head { padding: 0.8rem; gap: 0.4rem; }
  .laundry-bag-panel__heading { gap: 0.4rem; }
  .laundry-bag-panel__heading h2 { font-size: 1.2rem; }
  .laundry-bag-panel__head-actions { gap: 0.35rem; }
  .laundry-bag-panel__head-actions .lang-switch { padding-inline: 0.5rem; }
  .laundry-bag-panel__scroll { padding-inline: 0.8rem; }
  .laundry-bag-panel__foot { padding: 0.75rem 0.8rem; }
  .laundry-bag-panel__actions .btn { padding-block: 0.55rem; font-size: 0.82rem; line-height: 1.45; }
}
/* Fit the existing header at 320px; approved desktop rules remain unchanged. */
@media (max-width: 359px) {
  .site-header__inner { padding-inline: 0.65rem; gap: 0.3rem; }
  .site-header .brand-lockup { gap: 0.4rem; min-width: 0; }
  .site-header .brand-lockup__crest { width: 36px; height: 36px; }
  .site-header .brand-lockup__name { font-size: 0.84rem; letter-spacing: 0.5px; }
  .site-header .brand-lockup__tagline { font-size: 0.45rem; letter-spacing: 0.14em; }
  .site-header .header-actions { gap: 0.25rem; flex-shrink: 0; }
  .site-header .lang-switch--mobile-header { padding-inline: 0.32rem; }
  .site-header__inner:has(.header-actions > .btn:not(.btn--desktop)) { flex-wrap: wrap; padding-block: 0.5rem; }
  .site-header:has(.header-actions > .btn:not(.btn--desktop)) .header-actions { margin-left: auto; max-width: 100%; flex-wrap: wrap; justify-content: flex-end; }
  .site-header .header-actions > .btn:not(.btn--desktop) { max-width: 100%; white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .laundry-bag-count.is-updated, .laundry-bag-panel[open] { animation: none; }
}
