/* Women Pride Care — shared styles: variables, header, mega menu, mobile menu, footer, sticky bar, popup. */

:root {
  --primary: #3a1e3a;
  --primary-light: #5c3060;
  --primary-pale: #f5eef5;
  --secondary: #e50789;
  --secondary-light: #ff4bae;
  --secondary-pale: #fee8f5;
  --rose: #c8556a;
  --rose-light: #f4c5ce;
  --rose-pale: #fdf0f2;
  --blush: #f0e0f0;
  --gold: #c9973a;
  --gold-light: #f5e6c8;
  --cream: #fdfaf8;
  --deep: #3a1e3a;
  --mid: #6b3f6b;
  --muted: #9a7a9a;
  --white: #ffffff;
  --shadow: 0 8px 40px rgba(58, 30, 58, 0.13);
  --shadow-sm: 0 2px 12px rgba(58, 30, 58, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--cream);
  color: var(--deep);
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 16px;
  left: 2%;
  width: 96%;
  z-index: 1000;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  background: transparent;
  border: none;
  pointer-events: none;
  transition: top 0.3s;
}

#navbar.scrolled {
  top: 8px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(58, 30, 58, 0.05);
  box-shadow: 0 6px 20px rgba(58, 30, 58, 0.06);
  pointer-events: auto;
  backdrop-filter: blur(8px);
}

.nav-logo img.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

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

.nav-logo .brand-name {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--primary);
  letter-spacing: 0.2px;
}

.nav-logo .brand-tag {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(58, 30, 58, 0.05);
  box-shadow: 0 6px 20px rgba(58, 30, 58, 0.06);
  pointer-events: auto;
  backdrop-filter: blur(8px);
}

.nav-links a {
  text-decoration: none;
  color: var(--mid);
  font-size: 14px;
  font-weight: 600;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: width 0.25s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition:
    background 0.25s,
    transform 0.2s !important;
  box-shadow: 0 4px 16px rgba(229, 7, 137, 0.35);
}

.nav-cta:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-light),
    var(--primary-light)
  ) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

.nav-links {
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 999px;
}

.nav-link svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.1;
}

.nav-link:hover {
  background: rgba(245, 238, 245, 0.95);
}

.nav-mega-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s;
}

.nav-has-mega:hover .nav-mega-trigger svg,
.nav-has-mega:focus-within .nav-mega-trigger svg {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: min(980px, 88vw);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    visibility 0.28s ease;
  z-index: 1002;
}

.nav-has-mega:hover .mega-menu,
.nav-has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(58, 30, 58, 0.1);
  box-shadow: 0 28px 56px rgba(58, 30, 58, 0.16);
  backdrop-filter: blur(18px);
}

.mega-menu a::after {
  display: none !important;
}

.mega-menu-intro {
  padding: 22px;
  border-radius: 22px;
  color: var(--white);
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.18),
      transparent 32%
    ),
    linear-gradient(145deg, var(--primary) 0%, #622f63 58%, #a24b7d 100%);
}

.mega-menu-intro span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.mega-menu-intro h3 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.mega-menu-intro p {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 20px;
}

.mega-menu-intro a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 700;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.mega-menu-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.mega-meta-card {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(245, 238, 245, 0.92)
  );
  border: 1px solid rgba(58, 30, 58, 0.08);
  box-shadow: 0 10px 24px rgba(58, 30, 58, 0.04);
}

.mega-meta-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 8px;
}

.mega-meta-top svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.1;
}

.mega-meta-card strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 18px;
  color: var(--deep);
  margin-bottom: 4px;
}

.mega-meta-card span {
  display: block;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mid);
}

.mega-card {
  min-height: 108px;
  padding: 16px;
  border-radius: 18px;
  text-decoration: none;
  background: linear-gradient(
    180deg,
    rgba(245, 238, 245, 0.9),
    rgba(255, 255, 255, 1)
  );
  border: 1px solid rgba(58, 30, 58, 0.08);
  box-shadow: 0 10px 24px rgba(58, 30, 58, 0.06);
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}

.mega-card:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 7, 137, 0.18);
  box-shadow: 0 16px 30px rgba(58, 30, 58, 0.1);
}

.mega-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 7, 137, 0.08);
  color: var(--primary);
  margin-bottom: 12px;
}

.mega-card-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.mega-card strong {
  display: block;
  color: var(--deep);
  font-size: 14px;
  margin-bottom: 4px;
}

.mega-card span {
  display: block;
  color: var(--mid);
  font-size: 12px;
  line-height: 1.55;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
}

.nav-call {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 11px 18px;
  line-height: 1.1;
}

.nav-call-label {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: 0.78;
}

.nav-call strong {
  font-size: 13px;
  font-weight: 700;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(58, 30, 58, 0.06);
  border: 1px solid rgba(58, 30, 58, 0.05);
  margin-left: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--deep);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: #1a0a1a;
  color: rgba(255, 255, 255, 0.55);
  padding: 40px 5% 28px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  font-family: "Playfair Display", serif;
  color: var(--rose-light);
  font-size: 18px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.25s;
}

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

.footer-copy {
  font-size: 12px;
  margin-top: 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 20px;
}

/* ── MOBILE NAV ──────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--primary);
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
  animation: mobileSlideIn 0.3s ease;
}

@keyframes mobileSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mob-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mob-header img {
  height: 40px;
  width: auto;
}

.mob-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: #fff;
}

.mob-close svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 2;
}

.mob-body {
  padding: 28px 5% 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.mob-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition:
    background 0.2s,
    color 0.2s;
}

.mob-link svg {
  width: 18px;
  height: 18px;
  stroke: var(--secondary-light);
  stroke-width: 1.8;
  flex-shrink: 0;
}

.mob-link:hover,
.mob-link.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.mob-divider {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  padding: 16px 16px 8px;
  font-weight: 700;
}

.mob-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.mob-spec-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  transition: background 0.2s;
}

.mob-spec-chip svg {
  width: 14px;
  height: 14px;
  stroke: var(--secondary-light);
  stroke-width: 2;
  flex-shrink: 0;
}

.mob-spec-chip:hover {
  background: rgba(229, 7, 137, 0.2);
  color: #fff;
}

.mob-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 16px 5% 0;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--secondary), #a0056b);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(229, 7, 137, 0.3);
}

.mob-cta svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  stroke-width: 2;
}

/* ── KEYFRAMES ───────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

/* ── LIGHTBOX ────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 14, 26, 0.95);
  backdrop-filter: blur(14px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.show {
  display: flex;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  animation: lightboxZoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  object-fit: contain;
}

@keyframes lightboxZoomIn {
  from {
    transform: scale(0.96);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

/* ── STICKY BOTTOM BAR ───────────────────────────────── */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #C894C7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  z-index: 998;
  box-shadow: 0 -2px 14px rgba(0,0,0,0.1);
}

.sticky-wa {
  background: #25D366;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s;
}

.sticky-wa:hover {
  transform: scale(1.05);
}

.sticky-wa svg {
  width: 28px;
  height: 28px;
}

.sticky-text {
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  flex: 1;
  padding: 0 15px;
  letter-spacing: 0.2px;
}

.sticky-book {
  background: #905592;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.sticky-book:hover {
  background: #7a467c;
  transform: translateY(-2px);
}

.sticky-book svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .sticky-bottom-bar {
    padding: 8px 12px;
    gap: 6px;
  }
  .sticky-wa {
    width: 38px;
    height: 38px;
  }
  .sticky-wa svg {
    width: 22px;
    height: 22px;
  }
  .sticky-text {
    font-size: 13px;
    padding: 0 4px;
    line-height: 1.25;
  }
  .sticky-book {
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 6px;
    gap: 4px;
  }
  .sticky-book svg {
    width: 14px;
    height: 14px;
  }
}

@media (min-width: 769px) {
  .sticky-bottom-bar {
    justify-content: center;
    gap: 20px;
  }
  .sticky-wa {
    position: absolute;
    left: 40px;
  }
  .sticky-text {
    flex: none;
  }
}

/* ── OFFER POPUP ─────────────────────────────────────── */
.offer-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 14, 26, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.offer-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.offer-popup {
  background: var(--white);
  border-radius: 28px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 24px 60px rgba(58, 30, 58, 0.25);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.offer-popup-overlay.show .offer-popup {
  transform: scale(1) translateY(0);
}

.close-popup {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(58, 30, 58, 0.06);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--deep);
  transition: background 0.2s, transform 0.2s;
}

.close-popup:hover {
  background: rgba(58, 30, 58, 0.12);
  transform: scale(1.05);
}

.close-popup svg {
  width: 20px;
  height: 20px;
}

.offer-popup-header {
  background: linear-gradient(145deg, var(--primary-pale), var(--rose-pale));
  padding: 36px 36px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(58, 30, 58, 0.05);
}

.offer-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(229, 7, 137, 0.25);
}

.offer-popup-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--deep);
  line-height: 1.25;
}

.offer-popup-body {
  padding: 28px 36px 36px;
}

.why-us-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  padding: 0;
}

.why-us-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--mid);
}

.why-us-list li svg {
  width: 22px;
  height: 22px;
  stroke: var(--secondary);
  flex-shrink: 0;
  margin-top: 1px;
}

.why-us-list li strong {
  color: var(--deep);
}

.offer-highlight {
  background: rgba(229, 7, 137, 0.04);
  border: 1px dashed rgba(229, 7, 137, 0.3);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  margin-bottom: 28px;
}

.offer-highlight h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 6px;
}

.offer-highlight h3 strong {
  color: var(--secondary);
  font-size: 22px;
}

.offer-highlight p {
  font-size: 13.5px;
  color: var(--muted);
}

.popup-cta {
  display: block;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white);
  text-align: center;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(229, 7, 137, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.popup-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(229, 7, 137, 0.45);
  background: linear-gradient(135deg, var(--secondary-light), var(--primary-light));
}

/* ── WordPress additions (shared) ─────────────────────── */
img {
  max-width: 100%;
  height: auto;
}

.nav-logo img.logo-img,
.mob-header img {
  height: 48px;
  width: auto;
}

.mob-header img {
  height: 40px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  padding: 4px 10px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 10000;
  background: #fff;
  color: var(--primary);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  left: 8px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.admin-bar #navbar {
  top: 48px;
}

.admin-bar #navbar.scrolled {
  top: 40px;
}

@media screen and (max-width: 782px) {
  .admin-bar #navbar,
  .admin-bar #navbar.scrolled {
    top: 56px;
  }
}

button.hamburger {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
}

.nav-links li.current-menu-item > .nav-link {
  color: var(--secondary);
}

/* Simple dropdown for menu items with child items */
.nav-sub {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  list-style: none;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(58, 30, 58, 0.1);
  box-shadow: 0 18px 40px rgba(58, 30, 58, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 1002;
}

.nav-has-sub:hover .nav-sub,
.nav-has-sub:focus-within .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-sub a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
}

.nav-sub a:hover {
  background: var(--primary-pale);
}

.nav-sub a::after {
  display: none;
}

.nav-sub svg {
  width: 16px;
  height: 16px;
}

.mob-link.mob-sub {
  padding-left: 40px;
  font-size: 14px;
}

/* Footer logo + text */
.footer-logo {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
}

.footer-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-copy small {
  opacity: 0.5;
}

.footer-copy a {
  color: var(--rose-light);
}

/* Room for the sticky bar */
body {
  padding-bottom: 0;
}

body.has-sticky-bar {
  padding-bottom: 80px;
}

@media (min-width: 769px) {
  body.has-sticky-bar {
    padding-bottom: 100px;
  }
}

/* FAQ question is a button for keyboard users */
button.faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  font: inherit;
  font-weight: 600;
  color: inherit;
}

/* Enquiry form messages (Women Pride Core) */
.wpc-form-msg {
  font-size: 14px;
  line-height: 1.5;
  border-radius: 12px;
}

.wpc-form-msg:empty {
  display: none;
}

.wpc-form-msg.is-success,
.wpc-form-msg.is-error {
  padding: 12px 14px;
  margin-top: 4px;
}

.wpc-form-msg.is-success {
  background: #e8f8ef;
  color: #17643a;
  border: 1px solid #b7e6c9;
}

.wpc-form-msg.is-error {
  background: #fdecee;
  color: #9b1c2c;
  border: 1px solid #f5c2c9;
}

.wpc-enquiry-form.is-loading button[type="submit"] {
  opacity: 0.7;
  pointer-events: none;
}

.wpp-admin-warning {
  font-size: 12px;
  color: #9b1c2c;
  background: #fdecee;
  padding: 8px 10px;
  border-radius: 8px;
}

/* Header: collapse to the hamburger before the links get cramped */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .nav-call {
    display: none;
  }
}

body.menu-open {
  overflow: hidden;
}

.mobile-menu {
  z-index: 1001;
}
