:root {
  --oak-ink: #292521;
  --oak-dark: #251d17;
  --oak-brown: #714821;
  --oak-accent: #a97543;
  --oak-paper: #faf6f0;
  --oak-line: #eadfd2;
}
[hidden] { display: none !important; }
.preview-nav { background: #fff; color: var(--oak-ink); border-bottom: 1px solid var(--oak-line); position: relative; z-index: 20; }
.preview-nav-row { width: min(1200px, 100% - 40px); min-height: 86px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.preview-nav .jupiterx-navbar-brand-link { display: inline-flex; align-items: center; margin: 0; }
.preview-nav .jupiterx-navbar-brand-img { width: 124px; max-height: 72px; object-fit: contain; }
.preview-menu { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.preview-menu a, .preview-menu summary { display: block; padding: 10px 12px; color: var(--oak-ink); border-radius: 7px; font-weight: 700; text-decoration: none; line-height: 1.35; }
.preview-menu a:hover, .preview-menu summary:hover, .preview-menu [aria-current], .preview-dropdown[open] summary { background: #f5eee5; color: var(--oak-brown); }
.preview-dropdown { position: relative; }
.preview-dropdown summary { cursor: pointer; list-style: none; white-space: nowrap; }
.preview-dropdown summary::-webkit-details-marker { display: none; }
.preview-dropdown summary::after { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 1px 3px 9px; border: solid var(--oak-brown); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.preview-dropdown[open] summary::after { transform: rotate(225deg); margin-bottom: 0; }
.preview-dropdown ul { background: #fff; margin: 0; padding: 7px; list-style: none; border: 1px solid var(--oak-line); border-top: 3px solid var(--oak-accent); border-radius: 8px; box-shadow: 0 14px 30px #30231926; position: absolute; top: 100%; left: 0; width: max-content; min-width: 230px; max-width: 280px; }
.preview-dropdown li a { font-size: 14px; font-weight: 600; }
.preview-search { display: flex; gap: 5px; margin: 0 0 0 8px; }
.preview-search input, .preview-utility input { min-width: 0; padding: 8px; border: 1px solid var(--oak-line); border-radius: 6px; background: #fff; }
.preview-search input { width: 100px; }
.preview-search button, .preview-menu-button, .preview-utility button { color: var(--oak-brown); border: 1px solid var(--oak-line); border-radius: 6px; background: var(--oak-paper); font-weight: 700; padding: 8px 10px; cursor: pointer; }
.preview-menu-button { display: none; }
.preview-nav :focus-visible, .static-hero :focus-visible, .iap-site-footer a:focus-visible { outline: 2px solid var(--oak-accent); outline-offset: 3px; }
.static-hero { position: relative; isolation: isolate; background: var(--oak-dark); color: #fff; }
.hero-panel { min-height: clamp(420px, 43vw, 610px); position: relative; display: grid; align-items: center; }
.hero-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #21180fdd 0%, #21180f9e 38%, #21180f21 100%); }
.hero-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-copy { width: min(1100px, 100% - 120px); margin: 0 auto; padding: 46px 0; }
.hero-title { color: #fff; font: 500 clamp(2.15rem, 4.1vw, 4.6rem)/1.06 Georgia, serif; max-width: 18ch; margin: 0 0 18px; text-wrap: balance; }
.hero-subtitle { color: #fff; font-size: clamp(1rem, 1.8vw, 1.45rem); max-width: 45ch; margin: 0 0 12px; }
.hero-link, .preview-contact { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 17px; margin: 12px 10px 0 0; border-radius: 6px; color: #fff; background: #714821; border: 1px solid #c79d74; font-weight: 700; text-decoration: none; }
.hero-link + .hero-link { background: #24201ebb; border-color: #f4e7d6; }
.hero-link:hover, .preview-contact:hover { color: #fff; background: #57371a; }
.static-hero [data-slide] { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 46px; line-height: 1; border: 1px solid #ffffff73; border-radius: 7px; background: #231c16a6; color: #fff; font-size: 30px; cursor: pointer; }
.static-hero [data-slide="-1"] { left: 12px; }
.static-hero [data-slide="1"] { right: 12px; }
.preview-wa { position: fixed; bottom: max(18px, env(safe-area-inset-bottom)); right: 18px; z-index: 101; border-radius: 30px; padding: 11px 17px; background: #166b45; color: #fff; box-shadow: 0 5px 20px #0003; font-weight: 700; }
.preview-wa:hover { color: #fff; background: #115637; }
.preview-wa:focus-visible { outline: 3px solid #a97543; outline-offset: 3px; }
.preview-utility { width: min(760px, 100% - 36px); margin: 64px auto; min-height: 40vh; }
.preview-utility form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 24px 0; }
.preview-utility #preview-results li { padding: 8px 0; }
.woocommerce-product-gallery img { height: auto; max-width: 100%; }
.elementor-widget-container { overflow-wrap: break-word; }
iframe { max-width: 100%; }
@media (max-width: 900px) {
  .preview-menu-button { display: inline-block; min-width: 64px; min-height: 44px; }
  .preview-nav-row { min-height: 70px; gap: 10px; flex-wrap: wrap; padding-block: 7px; }
  .preview-nav .jupiterx-navbar-brand-img { width: 101px; max-height: 56px; }
  .preview-menu { display: none; width: 100%; padding: 0 0 10px; }
  .preview-menu.is-open { display: block; }
  .preview-menu a, .preview-menu summary { min-height: 44px; padding: 12px; }
  .preview-dropdown ul { position: static; min-width: 0; width: auto; max-width: none; border: 0; border-left: 2px solid var(--oak-accent); border-radius: 0; background: var(--oak-paper); box-shadow: none; margin: 0 0 5px 12px; padding: 2px 5px; }
  .preview-search { margin: 10px 0 0; }
  .preview-search input { flex: 1; }
}
@media (max-width: 600px) {
  .hero-panel { min-height: 410px; }
  .hero-panel::after { background: linear-gradient(90deg, #21180fe0, #21180f6e); }
  .hero-copy { width: calc(100% - 40px); padding: 35px 0 80px; }
  .hero-title { font-size: clamp(2.1rem, 9.3vw, 3.3rem); }
  .static-hero [data-slide] { top: auto; bottom: 15px; transform: none; }
  .static-hero [data-slide="-1"] { left: 20px; }
  .static-hero [data-slide="1"] { right: 20px; }
  #jupiterx-main h1 { font-size: clamp(1.65rem, 6vw, 2.4rem); line-height: 1.17; }
  .iap-site-footer { padding-bottom: 72px; }
}
.preview-nav, .iap-site-footer, .preview-utility, .preview-wa, .hero-link, .hero-subtitle {
  font-family: "Nunito Sans", system-ui, -apple-system, sans-serif;
}
.preview-lightbox { position: fixed; inset: 0; width: min(960px, calc(100% - 32px)); max-height: 92dvh; padding: 12px; margin: auto; border: 0; border-radius: 10px; background: #292521; color: white; text-align: center; }
.preview-lightbox::backdrop { background: #201811d9; }
.preview-lightbox img { display: block; width: 100%; height: min(72dvh, 720px); object-fit: contain; }
.preview-lightbox button { margin: 5px; min-height: 42px; padding: 5px 13px; color: #fff; background: #5d412a; border: 1px solid #baa18c; border-radius: 6px; cursor: pointer; }
