/* Avodah PNG — Minimal supplement for Tailwind (animations, scrollbar, carousel) */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Inter:wght@400;500;600;700&display=swap');

/* Slightly larger root type for readability (scales rem-based utilities) */
html {
  font-size: 112.5%;
  overflow-x: clip;
}
@media (max-width: 1023px) {
  html {
    font-size: 106.25%;
  }
}
body {
  text-rendering: optimizeLegibility;
}

body.nav-mobile-open {
  overflow: hidden;
  touch-action: none;
}
/* Brand palette + mobile nav offset (JS may refine --nav-mobile-panel-top) */
:root {
  --av-brand-maroon: #8b1a2a;
  --av-brand-maroon-soft: rgba(139, 26, 42, 0.45);
  --av-brand-gold: #c9a84c;
  --av-brand-gold-soft: rgba(201, 168, 76, 0.35);
  --av-brand-black: #0d0b08;
  --av-brand-surface: #141414;
  --av-brand-surface-mid: #1e1e1e;
  --av-brand-grey: #3a3a3a;
  --av-brand-grey-text: #a8a29e;
  --nav-mobile-panel-top: 6rem;
}
@media (min-width: 480px) {
  :root {
    --nav-mobile-panel-top: 5.85rem;
  }
}
@media (min-width: 768px) {
  :root {
    --nav-mobile-panel-top: 6.65rem;
  }
}
/* Dim page behind mobile nav; tap outside to close (see main.js) */
.nav-mobile-backdrop {
  display: none;
}
@media (max-width: 1023px) {
  body.nav-mobile-open .nav-mobile-backdrop {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--nav-mobile-panel-top);
    bottom: 0;
    z-index: 158;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
  }
}
img {
  max-width: 100%;
}
/* Product / gallery tiles: allow cover fill inside fixed-height parents */
.relative.h-44 img,
.community-post-card__media img,
.showroom-gallery img {
  max-width: none;
}
/* Fixed site header (top bar + nav): offset page content */
body.site-fixed-header {
  padding-top: 6rem;
}
@media (min-width: 480px) {
  body.site-fixed-header {
    padding-top: 5.85rem;
  }
}
@media (min-width: 768px) {
  body.site-fixed-header {
    padding-top: 6.65rem;
  }
}
@media (min-width: 1024px) {
  body.site-fixed-header {
    padding-top: 6.85rem;
  }
}
.site-header {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  overflow: visible;
  z-index: 9999;
}
/* ─── Site-wide brand treatment (maroon, gold, black, grey) — body.site-rwd ─── */
body.site-rwd {
  background-color: var(--av-brand-surface);
  color: #f2efe8;
}
body.site-rwd ::selection {
  background: rgba(139, 26, 42, 0.85);
  color: #fdfcfa;
}
body.site-rwd .site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  pointer-events: none;
  z-index: 10001;
  background: linear-gradient(
    90deg,
    var(--av-brand-maroon) 0%,
    var(--av-brand-gold) 38%,
    var(--av-brand-gold) 62%,
    var(--av-brand-maroon) 100%
  );
  opacity: 0.95;
}
body.site-rwd header.site-header > div:first-child {
  border-bottom-color: rgba(201, 168, 76, 0.28) !important;
}
body.site-rwd #mainNav {
  border-top-color: rgba(139, 26, 42, 0.42) !important;
}
body.site-rwd footer.site-footer {
  border-top: 3px solid transparent;
  border-image: linear-gradient(
      90deg,
      var(--av-brand-maroon),
      var(--av-brand-gold) 35%,
      var(--av-brand-gold) 65%,
      var(--av-brand-maroon)
    )
    1;
}
body.site-rwd .footer-newsletter {
  border-color: rgba(201, 168, 76, 0.32);
}
body.site-rwd .back-to-top {
  border: 2px solid rgba(139, 26, 42, 0.55);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
body.site-rwd .back-to-top:hover {
  border-color: var(--av-brand-maroon);
}
body.site-rwd .toast-avodah {
  background: linear-gradient(145deg, #141414 0%, #1a1215 100%);
  border: 1px solid rgba(201, 168, 76, 0.45);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(139, 26, 42, 0.25);
}
body.site-rwd .showroom-picker-card {
  border-color: rgba(201, 168, 76, 0.14);
}
body.site-rwd .showroom-picker-card:hover {
  border-color: rgba(201, 168, 76, 0.38);
}
body.site-rwd .showroom-picker-card.showroom-picker-card--active {
  border-color: rgba(201, 168, 76, 0.55);
  box-shadow: 0 0 0 1px rgba(139, 26, 42, 0.2);
}
body.site-rwd button.nav-mobile-toggle {
  border-color: rgba(201, 168, 76, 0.35);
}
body.site-rwd button.nav-mobile-toggle:hover,
body.site-rwd button.nav-mobile-toggle:focus-visible {
  border-color: var(--av-brand-gold);
}
body.site-rwd .hover\:border-gold:hover {
  border-color: var(--av-brand-gold) !important;
}
body.site-rwd .hover\:border-gold\/30:hover {
  border-color: rgba(201, 168, 76, 0.3) !important;
}
body.site-rwd .hover\:border-gold\/35:hover {
  border-color: rgba(201, 168, 76, 0.35) !important;
}
body.site-rwd .hover\:border-gold\/40:hover {
  border-color: rgba(201, 168, 76, 0.4) !important;
}
body.site-rwd details.group summary + div {
  border-top-color: rgba(201, 168, 76, 0.18);
}
body.site-rwd details.group[open] {
  border-color: rgba(201, 168, 76, 0.45);
  box-shadow: inset 3px 0 0 0 rgba(139, 26, 42, 0.75);
}
body.site-rwd .border-white\/\[\.08\] {
  border-color: rgba(201, 168, 76, 0.2);
}
body.site-rwd .border-white\/\[\.07\] {
  border-color: rgba(201, 168, 76, 0.18);
}
body.site-rwd .border-white\/\[\.05\] {
  border-color: rgba(201, 168, 76, 0.12);
}
body.site-rwd .border-white\/\[\.06\] {
  border-color: rgba(201, 168, 76, 0.14);
}
body.site-rwd .border-white\/15 {
  border-color: rgba(201, 168, 76, 0.22);
}
body.site-rwd .border-white\/10 {
  border-color: rgba(201, 168, 76, 0.18);
}
body.site-rwd .border-white\/20 {
  border-color: rgba(201, 168, 76, 0.28);
}
body.site-rwd .border-white\/25 {
  border-color: rgba(201, 168, 76, 0.32);
}
body.site-rwd .border-white\/40 {
  border-color: rgba(201, 168, 76, 0.42);
}
body.site-rwd .border-white\/45 {
  border-color: rgba(201, 168, 76, 0.45);
}
body.site-rwd .text-white\/25 {
  color: rgba(232, 228, 220, 0.35);
}
body.site-rwd .text-white\/30 {
  color: rgba(232, 228, 220, 0.38);
}
body.site-rwd .text-white\/35 {
  color: rgba(232, 228, 220, 0.42);
}
body.site-rwd .text-white\/40 {
  color: rgba(232, 228, 220, 0.48);
}
body.site-rwd .text-white\/45 {
  color: rgba(232, 228, 220, 0.52);
}
body.site-rwd .text-white\/50 {
  color: rgba(232, 228, 220, 0.56);
}
body.site-rwd .text-white\/55 {
  color: rgba(232, 228, 220, 0.62);
}
body.site-rwd .text-white\/60 {
  color: rgba(232, 228, 220, 0.65);
}
body.site-rwd .text-white\/65 {
  color: rgba(232, 228, 220, 0.68);
}
body.site-rwd .text-white\/70 {
  color: rgba(232, 228, 220, 0.72);
}
body.site-rwd .placeholder-white\/25::placeholder {
  color: rgba(168, 162, 154, 0.65);
}
body.site-rwd .bg-white\/\[\.02\] {
  background-color: rgba(201, 168, 76, 0.04);
}
body.site-rwd .bg-white\/\[\.04\] {
  background-color: rgba(201, 168, 76, 0.06);
}
body.site-rwd .bg-white\/5 {
  background-color: rgba(201, 168, 76, 0.07);
}
body.site-rwd .divide-white\/10 > :not([hidden]) ~ :not([hidden]) {
  border-color: rgba(201, 168, 76, 0.14);
}
body.site-rwd .form-input {
  border-color: rgba(201, 168, 76, 0.28);
  color: #f2efe8;
}
body.site-rwd .form-input:focus {
  border-color: var(--av-brand-gold);
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.15);
}
body.site-rwd .form-label:not(.contact-form__service-label) {
  color: rgba(223, 192, 122, 0.88);
}
/* Top contact bar: stack on very narrow phones so nothing clips */
header.site-header > div:first-child .max-w-7xl.flex {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}
@media (min-width: 480px) {
  header.site-header > div:first-child .max-w-7xl.flex {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }
}

/* Site footer — safe area, newsletter stack, external links scroll, legal row */
.site-footer > div.max-w-7xl {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.site-footer .grid {
  gap: clamp(2rem, 5vw, 3rem);
}
.site-footer .footer-newsletter {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 480px) {
  .site-footer .footer-newsletter {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
  }
}
.site-footer .footer-newsletter input[type='email'] {
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
}
@media (min-width: 480px) {
  .site-footer .footer-newsletter input[type='email'] {
    width: auto;
  }
}
.site-footer .footer-newsletter button {
  flex-shrink: 0;
  min-height: 2.75rem;
}
.site-footer .flex.gap-3.items-start.text-sm > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.footer-bottom {
  width: 100%;
  min-width: 0;
}
/* Showroom page: large photo stack (high-res sources scale crisply at full width) */
.showroom-gallery figure,
.showroom-gallery__tile {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}
.showroom-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}
.showroom-gallery a:hover img,
.showroom-gallery figure:hover img,
.showroom-gallery__tile:hover img {
  transform: scale(1.03);
}
@media (min-width: 1024px) {
  .showroom-gallery__grid {
    max-width: 100%;
  }
}

/* Showrooms page: clickable picker cards → dynamic detail panel */
.showroom-picker-card {
  cursor: pointer;
  background: rgba(0, 0, 0, 0.12);
}
.showroom-picker-card:hover {
  background: rgba(201, 168, 76, 0.06);
}
.showroom-picker-card.showroom-picker-card--active {
  border-color: rgba(201, 168, 76, 0.55);
  background: rgba(201, 168, 76, 0.08);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.2);
}
#showroomDetail {
  scroll-margin-top: 7.5rem;
}

/* community.html — photo + caption initiative posts */
.community-post-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}
.community-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.community-post-card:hover .community-post-card__media img {
  transform: scale(1.03);
}

/* ─── Top nav: visible primary links + Products dropdown ─── */
.nav-mobile-toggle {
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile-toggle .mobile-toggle-icon-open {
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.nav-mobile-toggle .mobile-toggle-icon-close {
  transition: opacity 0.15s ease;
}
/* Left drawer (~79vw “cover” panel) — opens when body.nav-mobile-open (see main.js) */
.nav-mobile-menu {
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 1023px) {
  #mobileMenu.nav-mobile-menu {
    position: fixed;
    left: 0;
    top: var(--nav-mobile-panel-top);
    bottom: 0;
    width: min(79vw, 22rem);
    max-width: 90vw;
    z-index: 170;
    display: flex;
    flex-direction: column;
    box-shadow: 8px 0 36px rgba(0, 0, 0, 0.4);
    background: linear-gradient(180deg, #e8cc7a 0%, #c9a84c 42%, #a88b3d 100%);
    overflow: hidden;
    transform: translateX(-105%);
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.34s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0.34s;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
  }
  body.nav-mobile-open #mobileMenu.nav-mobile-menu,
  #mobileMenu.nav-mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  #mobileMenu.nav-mobile-menu {
    transition: none;
  }
}
.nav-mobile-menu__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem 0.55rem;
  border-bottom: 1px solid rgba(13, 11, 8, 0.12);
  flex-shrink: 0;
}
.nav-mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.45);
  color: #0d0b08;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile-menu__close:hover,
.nav-mobile-menu__close:focus-visible {
  background: rgba(255, 255, 255, 0.75);
  outline: 2px solid rgba(13, 11, 8, 0.35);
  outline-offset: 2px;
}
.nav-mobile-menu__title {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(139, 26, 42, 0.95);
  padding: 0.28rem 0.55rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(139, 26, 42, 0.35);
}
.nav-mobile-menu__footer {
  flex-shrink: 0;
  padding: 0.85rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(13, 11, 8, 0.12);
}
.nav-mobile-menu__cta {
  display: block;
  text-align: center;
  padding: 0.72rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0d0b08;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-mobile-menu__cta:hover,
.nav-mobile-menu__cta:focus-visible {
  background: rgba(255, 255, 255, 0.45);
  color: #0d0b08;
}
.nav-mobile-link {
  display: block;
  padding: 0.9rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-mobile-link:hover,
.nav-mobile-link:focus-visible {
  color: #c9a84c;
  background: rgba(255, 255, 255, 0.04);
}
.nav-mobile-details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-mobile-details > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile-details > summary::-webkit-details-marker {
  display: none;
}
.nav-mobile-sublink {
  display: block;
  padding: 0.55rem 1rem 0.55rem 1.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.nav-mobile-sublink:hover,
.nav-mobile-sublink:focus-visible {
  color: #c9a84c;
  border-left-color: #c9a84c;
  background: rgba(255, 255, 255, 0.04);
}
.nav-mobile-menu-inner {
  max-height: min(72vh, calc(100dvh - 6.5rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1 1 auto;
  min-height: 0;
}
@media (max-width: 1023px) {
  .nav-mobile-menu .nav-mobile-link,
  .nav-mobile-menu .nav-mobile-details > summary {
    color: rgba(13, 11, 8, 0.92);
    border-bottom-color: rgba(13, 11, 8, 0.1);
  }
  .nav-mobile-menu .nav-mobile-link:hover,
  .nav-mobile-menu .nav-mobile-link:focus-visible,
  .nav-mobile-menu .nav-mobile-details > summary:hover,
  .nav-mobile-menu .nav-mobile-details > summary:focus-visible {
    color: #0d0b08;
    background: rgba(255, 255, 255, 0.28);
  }
  .nav-mobile-menu .nav-mobile-details {
    border-bottom-color: rgba(13, 11, 8, 0.1);
  }
  .nav-mobile-menu .nav-mobile-sublink {
    color: rgba(13, 11, 8, 0.78);
    background: rgba(255, 255, 255, 0.18);
    border-left-color: transparent;
  }
  .nav-mobile-menu .nav-mobile-sublink:hover,
  .nav-mobile-menu .nav-mobile-sublink:focus-visible {
    color: #0d0b08;
    background: rgba(255, 255, 255, 0.42);
    border-left-color: rgba(139, 26, 42, 0.55);
  }
}

/* Desktop-only row: do NOT set display:flex without a breakpoint — it overrides
   Tailwind `hidden` on `.nav-bar-row` and breaks mobile (links stack over the logo). */
.nav-bar-row {
  display: none;
}
@media (min-width: 1024px) {
  .nav-links-desktop {
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /* Content-sized items + gap: avoids overlap when labels are longer than equal flex columns */
  .nav-bar-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    column-gap: clamp(0.25rem, 1.1vw, 0.75rem);
    flex: 0 1 auto;
    width: auto;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .nav-bar-row::-webkit-scrollbar {
    display: none;
  }
  .nav-bar-row > a.nav-menulink,
  .nav-bar-row > .nav-dropdown-group {
    flex: 0 0 auto;
    justify-content: center;
  }
  .nav-bar-row > a.nav-menulink {
    display: inline-flex;
    white-space: nowrap;
  }
  .nav-bar-row > .nav-dropdown-group {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-bar-row > .nav-dropdown-group .nav-menubtn {
    white-space: nowrap;
  }
}
.nav-bar-row a.nav-menulink {
  padding: 0.4rem 0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}
@media (min-width: 768px) {
  .nav-bar-row a.nav-menulink {
    padding: 0.45rem 0.7rem;
    font-size: 0.78rem;
  }
}
@media (min-width: 1024px) {
  .nav-bar-row a.nav-menulink {
    padding: 0.45rem 0.8rem;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
  }
}
@media (min-width: 1280px) {
  .nav-bar-row a.nav-menulink { font-size: 0.875rem; }
}
/* Narrow desktop / small laptop: keep one line without clipping */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-bar-row > a.nav-menulink,
  .nav-bar-row > .nav-dropdown-group .nav-menubtn {
    font-size: 0.72rem !important;
    letter-spacing: 0.06em !important;
    padding-left: 0.3rem !important;
    padding-right: 0.3rem !important;
  }
}
.nav-bar-row .nav-dropdown-group {
  position: relative;
  z-index: 1;
}
.nav-bar-row .nav-dropdown-group:hover,
.nav-bar-row .nav-dropdown-group:focus-within {
  z-index: 100001;
}
.nav-dropdown-slot {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 100000;
  padding-top: 0.45rem;
  min-width: 17.5rem;
  width: max-content;
  max-width: min(100vw - 2rem, 22rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.nav-dropdown-group:hover .nav-dropdown-slot,
.nav-dropdown-group:focus-within .nav-dropdown-slot {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-dropdown-panel {
  position: relative;
  z-index: 1;
  background: #141414;
  border-top: 2px solid #c9a84c;
  border-left: 2px solid #c9a84c;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}
.nav-dropdown-item {
  display: block;
  padding: 0.85rem 1.1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
@media (min-width: 1024px) {
  .nav-dropdown-item { font-size: 0.8125rem; letter-spacing: 0.1em; }
}
.nav-dropdown-item:hover {
  color: #c9a84c;
  background: rgba(255, 255, 255, 0.06);
  border-left-color: #c9a84c;
}
.nav-dropdown-item.is-active {
  color: #c9a84c;
  background: rgba(255, 255, 255, 0.05);
  border-left-color: #c9a84c;
}
.nav-menubtn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 2px solid transparent;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease, border-color 0.2s ease;
}
@media (min-width: 768px) {
  .nav-menubtn {
    padding: 0.45rem 0.7rem;
    font-size: 0.78rem;
  }
}
@media (min-width: 1024px) {
  .nav-menubtn {
    padding: 0.45rem 0.8rem;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
  }
}
@media (min-width: 1280px) {
  .nav-menubtn { font-size: 0.875rem; }
}
.nav-menubtn:hover,
.nav-menubtn:focus-visible {
  color: #c9a84c;
  border-bottom-color: #c9a84c;
}
.nav-menubtn.is-active {
  color: #c9a84c;
  border-bottom-color: #c9a84c;
}
/* Top-level nav text links (Home, About, Contact) */
a.nav-menulink {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
@media (min-width: 1024px) {
  a.nav-menulink { font-size: 0.875rem; }
}
a.nav-menulink:hover,
a.nav-menulink:focus-visible {
  color: #c9a84c;
  border-bottom-color: #c9a84c;
}
/* Ensure Tailwind text-white/85 does not block hover gold (same specificity) */
a.nav-menulink.text-white\/85:hover,
a.nav-menulink.text-white\/85:focus-visible {
  color: #c9a84c;
  border-bottom-color: #c9a84c;
}
a.nav-menulink.text-gold {
  color: #c9a84c;
  border-bottom-color: #c9a84c;
}

/* ─── Shared site theme (homepage + all pages) ─── */
.hero-bg,
.page-hero-bg {
  position: relative;
}
.hero-bg::before,
.page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('Pictures/avodahbg.jpeg') center/cover no-repeat;
  filter: blur(3px) brightness(0.45) saturate(0.85);
  transform: scale(1.04);
  z-index: 0;
}
/* community.html only — top hero section; all other sections keep normal bg-dark / bg-dark-mid */
.hero-bg.hero-bg--community::before {
  background: url('Pictures/WomenAssoc.1.jpg') center/cover no-repeat;
  filter: blur(2px) brightness(0.42) saturate(0.88);
}
/* products.html only — top hero section: Pictures/Bg2.jpg */
.hero-bg.hero-bg--products::before {
  background: url('Pictures/Bg2.jpg') center/cover no-repeat;
  filter: blur(2px) brightness(0.42) saturate(0.88);
}
.hero-vignette {
  background: radial-gradient(ellipse 100% 100% at 50% 50%, rgba(0, 0, 0, 0.15) 30%, rgba(0, 0, 0, 0.6) 100%);
}
/* Compact hero (all pages): content-driven height, smaller headline */
.hero-bg.hero-compact {
  min-height: 0;
  overflow-x: clip;
}
.hero-bg.hero-compact::before {
  filter: blur(2px) brightness(0.48) saturate(0.88);
}
.hero-bg.hero-compact .hero-title {
  font-size: clamp(1.2rem, 2.6vw + 0.6rem, 2.65rem);
  letter-spacing: 0.03em;
  line-height: 1.1;
}
@media (min-width: 640px) {
  .hero-bg.hero-compact .hero-title {
    font-size: clamp(1.35rem, 2.4vw + 0.7rem, 3rem);
  }
}
@media (min-width: 1024px) {
  .hero-bg.hero-compact .hero-title {
    font-size: clamp(1.45rem, 2vw + 0.8rem, 3.35rem);
  }
}
/* Backdrop blur on ::before only — avoids clipping / stacking issues with Products dropdown */
.nav-overlay {
  position: relative;
  background: transparent;
  transition: box-shadow 0.35s;
  overflow: visible;
}
.nav-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(20, 20, 20, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
}
.nav-overlay > div {
  position: relative;
  z-index: 1;
  overflow: visible;
}
.nav-overlay.scrolled::before {
  background: #141414;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav-overlay.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}
.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.05;
  /* Fluid type: scales smoothly from phones to desktop (like classic RWD diagrams) */
  font-size: clamp(1.5rem, 4.2vw + 0.85rem, 5.5rem);
  text-wrap: balance;
}
@media (min-width: 640px) {
  .hero-title {
    font-size: clamp(2rem, 4.5vw + 1rem, 6.5rem);
  }
}
.section-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-wrap: balance;
}
@media (max-width: 639px) {
  .section-heading.text-4xl,
  .section-heading.text-5xl,
  .section-heading.text-6xl,
  .section-heading.text-7xl {
    font-size: clamp(1.45rem, 6.5vw + 0.45rem, 2.25rem);
  }
  .section-heading.text-8xl {
    font-size: clamp(1.55rem, 7vw + 0.4rem, 2.6rem);
  }
}
.dot-pattern {
  background-image: radial-gradient(circle, rgba(201, 168, 76, 0.25) 1px, transparent 1px);
  background-size: 18px 18px;
}
.svc-card {
  position: relative;
  overflow: hidden;
}
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #c9a84c;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.svc-card:hover::after {
  transform: scaleX(1);
}
.svc-card--accent::after {
  background: linear-gradient(90deg, #c9a84c, #8b1a2a);
}
.quote-mark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3.5rem, 18vw, 8rem);
  line-height: 0.7;
  color: rgba(201, 168, 76, 0.18);
  font-weight: 700;
}
.hanger-bg {
  position: relative;
}
.hanger-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('Pictures/Hanger.jpg') center/cover no-repeat;
  filter: brightness(0.38) saturate(0.8);
  z-index: 0;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.form-input {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 1.1rem;
  font-size: 1rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus {
  border-color: #c9a84c;
}
.form-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.form-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.75);
  margin-bottom: 0.45rem;
}

/* Contact form — logo palette: black, grey, gold, maroon; selects readable (not “white sheet”) */
.contact-form .form-input:not(select) {
  background: rgba(13, 11, 8, 0.92);
  border-color: rgba(201, 168, 76, 0.32);
  color: #f2efe8;
}
.contact-form .form-input:not(select):focus {
  border-color: #c9a84c;
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.18);
}
.contact-form .form-input:not(select)::placeholder {
  color: rgba(168, 162, 154, 0.75);
}

.contact-form__service-group {
  padding: 1.1rem 1.2rem 1.25rem;
  background: linear-gradient(160deg, rgba(139, 26, 42, 0.2) 0%, rgba(13, 11, 8, 0.75) 55%, rgba(20, 20, 20, 0.9) 100%);
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(201, 168, 76, 0.12);
}
.contact-form__service-label {
  color: #dfc07a;
  margin-bottom: 0.55rem;
}

.contact-form select.form-input--select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  color-scheme: dark;
  accent-color: #c9a84c;
  background-color: #0d0b08;
  color: #f2efe8;
  border: 1px solid rgba(201, 168, 76, 0.55);
  padding: 0.9rem 2.75rem 0.9rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23C9A84C' viewBox='0 0 16 16'%3E%3Cpath d='M8 12.5 2.5 7h11L8 12.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
}
.contact-form select.form-input--select:hover {
  border-color: #c9a84c;
  background-color: #141414;
}
.contact-form select.form-input--select:focus {
  border-color: #c9a84c;
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.22);
  outline: none;
}
/* Dropdown list: dark surface + light type (supported in Firefox; hints Chrome via color-scheme) */
.contact-form select.form-input--select option {
  background-color: #141414;
  color: #f2efe8;
  font-weight: 500;
  padding: 0.6rem 0.75rem;
}
.contact-form select.form-input--select option:disabled {
  color: #6b6560;
}
.contact-form select.form-input--select option:checked {
  background: linear-gradient(#8b1a2a, #8b1a2a);
  color: #fff;
}
.contact-form select.form-input--select optgroup {
  background: #0d0b08;
  color: #c9a84c;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@media (min-width: 1024px) {
  .form-label { font-size: 0.75rem; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f0ede6; }
::-webkit-scrollbar-thumb { background: #C9A84C; border-radius: 3px; }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Fade-up animation */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-d1 { transition-delay: 0.08s; }
.fade-up-d2 { transition-delay: 0.16s; }
.fade-up-d3 { transition-delay: 0.24s; }
.fade-up-d4 { transition-delay: 0.32s; }

/* Hero slider */
.hero-slide { min-height: 88vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-slide--1 { background: radial-gradient(ellipse 70% 80% at 70% 40%, rgba(201,168,76,.18) 0%, transparent 60%), radial-gradient(ellipse 50% 60% at 10% 80%, rgba(139,26,42,.2) 0%, transparent 55%), linear-gradient(135deg,#0d0d0d 0%,#1a1208 50%,#0d0d0d 100%); }
.hero-slide--2 { background: radial-gradient(ellipse 60% 70% at 80% 30%, rgba(139,26,42,.22) 0%, transparent 55%), radial-gradient(ellipse 50% 60% at 20% 70%, rgba(201,168,76,.12) 0%, transparent 55%), linear-gradient(135deg,#0d0d0d 0%,#120a0a 50%,#0d0d0d 100%); }
.hero-slide--3 { background: radial-gradient(ellipse 65% 75% at 60% 50%, rgba(201,168,76,.14) 0%, transparent 60%), radial-gradient(ellipse 40% 50% at 5% 30%, rgba(139,26,42,.15) 0%, transparent 50%), linear-gradient(135deg,#0a0a0a 0%,#0f1208 50%,#0a0a0a 100%); }
.hero-slide::before { content:''; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size:64px 64px; pointer-events:none; z-index:1; }

/* Carousel indicators */
.hero-indicators button { width:32px!important; height:4px!important; border-radius:2px!important; background:rgba(255,255,255,.35)!important; border:none!important; opacity:1!important; transition:all .3s!important; }
.hero-indicators button.active { background:#C9A84C!important; width:56px!important; }

/* Partners ticker */
@keyframes scroll-partners { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.partners-scroll { display:flex; gap:3rem; align-items:center; animation:scroll-partners 22s linear infinite; width:max-content; }
.partners-scroll:hover { animation-play-state:paused; }

/* Back to top */
.back-to-top { position:fixed; bottom:max(1rem, env(safe-area-inset-bottom)); right:max(1rem, env(safe-area-inset-right)); opacity:0; pointer-events:none; transition:all .3s; z-index:999; border-radius:0; }
.back-to-top.visible { opacity:1; pointer-events:all; }

/* Products page — category filters: fill row width, wrap, no horizontal scrollbar */
#filterBar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr));
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  justify-items: stretch;
  align-items: stretch;
  overflow: visible;
  padding-bottom: 0;
  margin-inline: 0;
  padding-inline: 0;
  -webkit-overflow-scrolling: auto;
  scroll-snap-type: none;
  mask-image: none;
}
#filterBar .filter-btn {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-align: center;
  scroll-snap-align: none;
}

/* Toast */
.toast-avodah { position:fixed; bottom:max(1rem, env(safe-area-inset-bottom)); left:max(1rem, env(safe-area-inset-left)); right:auto; background:#141414; color:#fff; border:1px solid rgba(201,168,76,.35); border-radius:8px; padding:1rem 1.5rem; display:flex; align-items:center; gap:12px; box-shadow:0 12px 40px rgba(0,0,0,.35); z-index:9999; transform:translateY(80px); opacity:0; transition:all .3s; font-size:.95rem; font-weight:500; max-width:min(340px, calc(100vw - 2rem)); }
.toast-avodah.show { transform:translateY(0); opacity:1; }

/* Accordion overrides */
.accordion-button:not(.collapsed) { background:#faf7f0; color:#9A7228; box-shadow:none; }
.accordion-button:focus { box-shadow:none; }
.accordion-button::after { filter:invert(0); }

/* Nav underline active */
.nav-active { color:#9A7228!important; }
.nav-active::after { transform:scaleX(1)!important; }

/* Pulse dot */
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.7)} }
.pulse-dot { animation:pulse-dot 2s ease-in-out infinite; }

/* Line enter for hero title */
@keyframes line-enter { to{opacity:1;transform:translateY(0)} }
.ht-line { display:block; opacity:0; transform:translateY(28px); animation:line-enter .7s cubic-bezier(.22,1,.36,1) forwards; }
.ht-line-1{animation-delay:.25s} .ht-line-2{animation-delay:.42s} .ht-line-3{animation-delay:.58s}

/* Card hover lift */
.card-lift { transition:transform .3s, box-shadow .3s, border-color .3s; }
.card-lift:hover { transform:translateY(-5px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .fade-up.visible {
    opacity: 1;
    transform: none;
  }
  .community-post-card:hover .community-post-card__media img,
  .showroom-gallery figure:hover img,
  .showroom-gallery__tile:hover img {
    transform: none;
  }
}

/* ─── Site-wide layout: heroes, forms, trust rows ─── */
body.site-fixed-header {
  min-width: 0;
}

/* Hero trust badges: hide pipe dividers when wrapped on narrow screens */
.hero-trust-badges {
  max-width: 100%;
}
@media (max-width: 520px) {
  .hero-trust-badges {
    row-gap: 0.65rem;
    column-gap: 0.75rem;
  }
  .hero-trust-badges > .w-px {
    display: none;
  }
}

.form-input,
select.form-input {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* 2×2 stat tiles: slightly tighter padding on very narrow viewports */
@media (max-width: 380px) {
  body.site-fixed-header .rwd-stats-grid > div {
    padding: 1rem;
  }
}

/* Gold strip mini-stats (1 col on small phones) */
@media (max-width: 480px) {
  body.site-fixed-header .rwd-mini-stats-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Showroom detail injected panel: long text + gallery */
#showroomDetail {
  min-width: 0;
}
#showroomDetail .showroom-gallery .grid,
#showroomDetail .showroom-gallery__grid {
  min-width: 0;
}

/* ─── Global mobile polish (use body.site-rwd on all pages) ─── */
body.site-rwd {
  overflow-x: clip;
}

body.site-rwd #mainNav > .max-w-7xl {
  min-width: 0;
  max-width: 100%;
}

body.site-rwd .nav-links-desktop {
  min-width: 0;
}

body.site-rwd iframe[src*='google.com/maps'],
body.site-rwd iframe[title] {
  max-width: 100%;
  display: block;
}

/* Contact page — map scales on small screens without horizontal overflow */
.map-embed {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: clamp(200px, 42vw, 240px);
  height: clamp(220px, 50dvh, 380px);
}
.map-embed__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: block;
}

body.site-rwd .max-w-7xl code,
body.site-rwd .max-w-4xl code,
body.site-rwd .max-w-3xl code {
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 520px) {
  body.site-rwd section.hero-bg .flex.items-center.justify-center.gap-2 {
    flex-wrap: wrap;
    row-gap: 0.35rem;
    max-width: 100%;
    padding-inline: 0.25rem;
  }
}

@media (max-width: 480px) {
  body.site-rwd section .p-10 {
    padding: 1.35rem 1.1rem;
  }
}

@media (max-width: 380px) {
  body.site-rwd .nav-mobile-actions > a[href='contact.html'] {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
    letter-spacing: 0.06em;
  }
}
