/* ============================================================
   StorageKeys — Site chrome (shared)
   Banner, header, nav dropdown, footer.
   Loaded LAST so header/footer stay identical on every page.
============================================================ */
:root {
  --sk-primary: #123a63;
  --sk-primary-2: #1c5a99;
  --sk-accent: #ff8a1e;
  --sk-accent-2: #ff6a00;
  --sk-dark: #0e2036;
  --sk-line: #e6ecf2;
  --sk-soft: #f4f8fc;
  --sk-chrome-max: 1240px;
  --sk-chrome-pad: 40px;
}

/* Shared page container */
.sk-container {
  max-width: var(--sk-chrome-max);
  margin: 0 auto;
  padding: 0 var(--sk-chrome-pad) !important;
  box-sizing: border-box;
  width: 100%;
}

/* ---------- Top banner ---------- */
.pv-banner-note {
  background: #0e2036;
  color: #ffcf9e;
  text-align: center;
  font-size: 13px;
  /* Side gutter on the bar itself — always inset from viewport */
  padding: 10px var(--sk-chrome-pad);
  font-family: 'Poppins', system-ui, sans-serif;
  letter-spacing: .02em;
  box-sizing: border-box;
  width: 100%;
}
.pv-banner-note > .sk-container {
  max-width: var(--sk-chrome-max);
  margin: 0 auto;
  padding: 0 !important;
  width: 100%;
}
.pv-banner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.pv-banner-left,
.pv-banner-right {
  min-width: 0;
}
.pv-banner-note .ltn__top-bar-menu > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pv-banner-note .ltn__top-bar-menu > ul > li {
  margin: 0 !important;
  padding: 0 !important;
}
.pv-banner-note .ltn__top-bar-menu > ul > li > a {
  color: #ffcf9e;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
}
.pv-banner-note .ltn__social-media > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pv-banner-note .ltn__social-media > ul > li {
  margin: 0 !important;
}
.pv-banner-note .ltn__social-media a {
  color: #ffcf9e;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
}

/* ---------- Header ---------- */
.pv-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 6px 20px rgba(18, 58, 99, .08);
  /* Side gutter on the bar itself — always inset from viewport */
  padding: 0 var(--sk-chrome-pad);
  box-sizing: border-box;
  width: 100%;
}
.pv-header > .sk-container.pv-header-in,
.pv-header .pv-header-in.sk-container {
  max-width: var(--sk-chrome-max);
  margin: 0 auto;
  padding: 14px 0 !important;
  width: 100%;
  box-sizing: border-box;
}
.pv-header-in {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}
.pv-logo {
  flex: 0 0 auto;
}
.pv-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.pv-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px 14px;
  margin-left: 8px;
  flex: 1 1 auto;
  min-width: 0;
}
.pv-nav > a,
.pv-nav > .pv-has-sub > a {
  color: var(--sk-dark);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.2;
  padding: 6px 0;
}
.pv-nav a.active,
.pv-nav a:hover {
  color: var(--sk-accent-2);
}
.pv-header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
  margin-left: auto;
}
/* Reference: horizontal phones, orange icon + dark blue text */
.pv-phones {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px 28px;
}
.pv-phone {
  color: var(--sk-primary);
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pv-phone i {
  color: var(--sk-accent);
  margin-right: 0;
  font-size: 14px;
}
.pv-book {
  background: var(--sk-accent);
  color: #fff;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  line-height: 1.2;
}
.pv-book:hover {
  background: var(--sk-accent-2);
  color: #fff;
}
.pv-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--sk-primary);
  text-decoration: none;
  border: 1.5px solid var(--sk-line);
  flex: 0 0 auto;
  transition: .2s;
}
.pv-cart:hover {
  color: var(--sk-accent-2);
  border-color: var(--sk-accent);
  background: var(--sk-soft);
}
.pv-cart i {
  font-size: 16px;
}
.pv-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--sk-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.pv-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--sk-dark);
  cursor: pointer;
  padding: 8px;
  margin-left: 4px;
}

/* ---------- Storage Options dropdown ---------- */
.pv-has-sub {
  position: relative;
}
.pv-has-sub > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.pv-has-sub > a::after {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border: solid currentColor;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg) translate(-1px, -2px);
  transition: transform .2s ease;
}
.pv-has-sub.open > a::after {
  transform: rotate(-135deg) translate(-2px, -1px);
}
.pv-has-sub::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}
.pv-sub {
  position: absolute;
  top: calc(100% + 14px);
  left: -14px;
  z-index: 60;
  min-width: 236px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #fff;
  border: 1px solid var(--sk-line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 18px 40px rgba(18, 58, 99, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.pv-has-sub:hover > .pv-sub,
.pv-has-sub:focus-within > .pv-sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.pv-nav .pv-sub a {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  color: var(--sk-dark);
  text-decoration: none;
  font-weight: 500;
}
.pv-nav .pv-sub a:hover,
.pv-nav .pv-sub a.active {
  background: var(--sk-soft);
  color: var(--sk-accent-2);
}

/* ---------- Footer ---------- */
.pv-footer {
  background: var(--sk-dark);
  color: rgba(255, 255, 255, .72);
  padding: 64px var(--sk-chrome-pad) 24px;
  box-sizing: border-box;
  width: 100%;
}
.pv-footer > .sk-container {
  max-width: var(--sk-chrome-max);
  margin: 0 auto;
  padding: 0 !important;
  width: 100%;
}
.pv-foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 36px;
}
.pv-footer h4,
.pv-footer .h4 {
  color: #fff;
  font-size: 20px;
  margin: 0 0 14px;
}
.pv-footer h5,
.pv-footer .h5 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 16px;
  letter-spacing: .04em;
}
.pv-footer p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, .78);
}
.pv-footer p i {
  color: var(--sk-accent);
  margin-right: 8px;
}
.pv-footer a {
  display: block;
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
}
.pv-footer a:hover {
  color: var(--sk-accent);
}
.pv-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.pv-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.pv-social a:hover {
  background: var(--sk-accent);
  color: #fff;
}
.pv-copy {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .65);
}
.pv-copy a {
  display: inline;
  margin: 0 0 0 8px;
  color: rgba(255, 255, 255, .85);
}
.pv-copy span {
  color: var(--sk-accent);
}
.pv-foot-contact p {
  display: flex;
  align-items: flex-start;
  color: rgba(255, 255, 255, .88);
  line-height: 1.5;
}
.pv-foot-contact p i {
  flex: none;
  margin-top: 3px;
}
.pv-foot-contact p a {
  display: inline;
  color: rgba(255, 255, 255, .92);
  margin: 0;
  font-size: inherit;
  white-space: nowrap;
}
.pv-foot-contact p a:hover {
  color: var(--sk-accent);
}
.pv-foot-support .pv-foot-links {
  display: block;
}
.pv-foot-support .pv-foot-links a {
  margin: 0 0 10px;
  line-height: 1.7;
}

/* Below chrome max: keep side padding all the way to mobile */
@media (max-width: 1240px) {
  :root {
    --sk-chrome-pad: 36px;
  }
  .pv-phones {
    gap: 16px 22px;
  }
  .pv-phone {
    font-size: 13px;
  }
  .pv-nav {
    gap: 4px 12px;
  }
}

@media (max-width: 1100px) {
  :root {
    --sk-chrome-pad: 28px;
  }
  /* Phones still in top bar; free space for nav + book + cart */
  .pv-header-cta .pv-phones {
    display: none;
  }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 991px) {
  :root {
    --sk-chrome-pad: 24px;
  }
  .pv-header-cta .pv-phones {
    display: none;
  }
  .pv-nav {
    display: none;
    flex: none;
  }
  .pv-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex: none;
  }
  .pv-header-in {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    min-height: 0;
  }
  .pv-header > .sk-container.pv-header-in,
  .pv-header .pv-header-in.sk-container {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
  .pv-logo {
    margin-right: auto;
  }
  .pv-header-cta {
    margin-left: 0;
    flex: none;
    gap: 10px;
  }
  .pv-book {
    padding: 10px 16px;
    font-size: 13px;
  }
  .pv-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex: 1 1 100%;
    width: 100%;
    order: 3;
    padding-top: 8px;
    flex-wrap: nowrap;
  }
  .pv-nav.open > a,
  .pv-nav.open .pv-has-sub > a {
    padding: 12px 4px;
    border-top: 1px solid var(--sk-line);
    margin: 0;
    display: flex;
    justify-content: space-between;
  }
  .pv-has-sub {
    position: static;
  }
  .pv-has-sub::after {
    display: none;
  }
  .pv-sub {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    padding: 0 0 0 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    gap: 0;
  }
  .pv-has-sub.open > .pv-sub {
    display: flex;
  }
  .pv-nav .pv-sub a {
    padding: 11px 4px;
    border-top: 1px solid var(--sk-line);
    border-radius: 0;
  }
  .pv-foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pv-banner-row {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .pv-banner-note .ltn__social-media > ul {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  :root {
    --sk-chrome-pad: 16px;
  }
  .pv-header-cta .pv-phone {
    display: none;
  }
  .pv-foot-grid {
    grid-template-columns: 1fr;
  }
  .pv-foot-support .pv-foot-links {
    display: block;
  }
  .pv-banner-note {
    padding: 8px 0;
    font-size: 11.5px;
    line-height: 1.3;
  }
  .pv-banner-note a[title="Admin Area"] {
    display: none;
  }
  .pv-logo img {
    height: 32px;
  }
  .pv-book {
    padding: 9px 14px;
    font-size: 13px;
  }
  .pv-cart {
    width: 38px;
    height: 38px;
  }
}

/* Global sticky mobile CTA (footer) */
.wh-mobilebar {
  display: none;
}

@media (max-width: 767px) {
  .wh-mobilebar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: #fff;
    box-shadow: 0 -6px 20px rgba(18, 58, 99, .12);
  }
  .wh-mobilebar a {
    padding: 12px 6px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--sk-dark);
    text-decoration: none;
    border-right: 1px solid var(--sk-line);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .wh-mobilebar a:last-child {
    border-right: none;
  }
  .wh-mobilebar a i {
    font-size: 17px;
    color: var(--sk-accent);
  }
  .wh-mobilebar a.wa i {
    color: #25d366;
  }
  body {
    padding-bottom: 60px;
  }
}
