/* Titillium Web for headings, site title, and ALL buttons - !important to override WC blocks/theme */
.site-title,
h1,
h2,
h3,
h4,
h5,
h6,
.luxemeds-btn,
a.luxe-hero-btn,
.luxe-hero-btn-cart,
.luxemeds-vapi-chat__button,
.woocommerce-notices-wrapper .button.wc-forward,
a.button,
button.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wp-block-button__link.add_to_cart_button,
.single_add_to_cart_button,
.woocommerce-checkout .checkout-button {
  font-family: "Titillium Web", sans-serif !important;
}

/* Remove vertical padding from hero slideshow */
.luxe-hero-slider,
.luxe-hero-slider--layered,
.luxe-hero-swiper,
.luxe-hero-slider .swiper.luxe-hero-swiper {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Force mobile/off-canvas header behavior at all breakpoints. */
.ehfb-desktop {
  display: none !important;
}

.ehfb-mobile {
  display: block !important;
}

.emoza-offcanvas-menu,
.ehfb-mobile_offcanvas {
  display: block !important;
  backdrop-filter: blur(10px);
  background-color: #fafafa;
  background-image: url('luxemeds-hex-pattern.svg');
  background-repeat: repeat;
  background-size: 120px 104px;
}

/* Offcanvas inner top padding: slightly larger than floating header height (12px + ~64px + buffer) */
.ehfb.ehfb-mobile_offcanvas.emoza-offcanvas-menu .ehfb-mobile-offcanvas-rows {
  padding-top: 88px !important;
}

/* Hide close button inside offcanvas – hamburger toggles to X instead */
.ehfb-mobile_offcanvas .mobile-menu-close,
.emoza-offcanvas-menu .mobile-menu-close {
  display: none !important;
}

.home .entry-header,
.home .page-header,
.home h1.entry-title {
  display: none !important;
}

.home .content-wrapper,
.home .site-main,
.home #primary {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.ehfb.ehfb-header .ehfb-builder-item.ehfb-component-mobile_hamburger,
.ehfb.ehfb-header .ehfb-builder-item.ehfb-component-mobile_offcanvas_menu,
.ehfb-mobile_offcanvas .ehfb-builder-item.ehfb-component-mobile_offcanvas_menu {
  display: flex !important;
}

/* Lightweight block styles for [luxemeds_quick_home] */
.luxemeds-section {
  margin: 24px auto;
  max-width: 1200px;
  padding: 18px;
  color: #333;
}

.luxemeds-kicker,
.emoza-dropdown-link {
  margin: 0 0 8px;
  color: #666;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.luxemeds-hero h1,
.luxemeds-section h2,
.luxemeds-section h3 {
  margin-top: 0;
  color: #222;
}

.luxemeds-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.luxemeds-actions--centered {
  justify-content: center;
}

.luxemeds-btn--large {
  min-width: 200px;
  height: 56px;
  padding: 0 32px;
  font-size: 17px;
}

.luxemeds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  height: 52px;
  border-radius: 999px;
  text-decoration: none !important;
  appearance: none;
  border: 0;
  background: linear-gradient(135deg, #d2a84a 0%, #c69a38 48%, #b88422 100%);
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(198, 154, 56, 0.28);
  transition:
    transform 140ms ease,
    box-shadow 140ms ease;
}

.luxemeds-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #555 !important;
  box-shadow: none;
  height: auto;
  padding: 11px 15px;
  font-size: inherit;
  font-weight: 600;
}

.luxemeds-btn:hover,
.luxemeds-btn:focus {
  text-decoration: none !important;
}

.luxemeds-btn:not(.luxemeds-btn-secondary):hover,
.luxemeds-btn:not(.luxemeds-btn-secondary):focus {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(198, 154, 56, 0.34);
}

.luxemeds-btn-secondary:hover,
.luxemeds-btn-secondary:focus {
  opacity: 0.8;
}

.luxemeds-btn:active {
  opacity: 0.9;
}

.luxemeds-fade-actions a,
.luxemeds-fade-actions a:hover,
.luxemeds-fade-actions a:focus,
.luxemeds-fade-actions a:visited {
  text-decoration: none !important;
}

.luxemeds-grid {
  display: grid;
  gap: 12px;
}

.luxemeds-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.luxemeds-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.luxemeds-card {
  padding: 12px;
}

.luxemeds-card__image {
  margin: 0 -12px 16px -12px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 1000px;
  background: #eee;
}

.luxemeds-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.luxemeds-card p {
  margin: 0 0 8px;
}

.luxemeds-card small {
  color: #666;
}

.luxemeds-fade-section h2 {
  margin-bottom: 10px;
}

.luxemeds-fade-section {
  margin: 0 auto !important;
  padding: 0 !important;
}

.luxemeds-fade-show {
  position: relative;
  min-height: clamp(260px, 50vw, 600px);
}

.luxemeds-fade-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 450ms ease,
    transform 450ms ease;
}

.luxemeds-fade-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.luxemeds-fade-media img {
  width: 100%;
  height: clamp(260px, 50vw, 600px);
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  border: 0;
  background: transparent;
}

.luxemeds-fade-actions {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  z-index: 3;
  flex-wrap: wrap;
}

.luxemeds-fade-actions .luxemeds-btn {
  padding: 0 18px;
  height: 44px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
}

.luxemeds-fade-actions .luxemeds-btn-secondary {
  height: auto;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 600;
}

.luxemeds-fade-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 8px 4px;
}

.luxemeds-fade-copy h3,
.luxemeds-fade-copy p {
  margin: 0;
}

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

  .luxemeds-fade-show {
    min-height: clamp(240px, 52vw, 520px);
  }
}

/* LuxeMeds social links – footer & hamburger menu (icons) */
.luxemeds-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}

.luxemeds-social-links .ws-svg-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
}

.luxemeds-social-links .ws-svg-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.luxemeds-social-links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.luxemeds-social-links a:hover,
.luxemeds-social-links a:focus {
  opacity: 1;
}

/* Footer links (Shop, Privacy, Terms, Contact) */
.luxemeds-footer-links,
.luxemeds-footer__links {
  font-size: 14px;
}

.luxemeds-footer__links {
  margin-bottom: 10px;
}

.luxemeds-footer-links a,
.luxemeds-footer__links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.9;
}

.luxemeds-footer-links a:hover,
.luxemeds-footer-links a:focus,
.luxemeds-footer__links a:hover,
.luxemeds-footer__links a:focus {
  opacity: 1;
  text-decoration: underline;
}

.luxemeds-footer-links .sep,
.luxemeds-footer__sep {
  opacity: 0.6;
  margin: 0 6px;
}

/* LuxeMeds footer block: logo + links + social + copyright */
.luxemeds-footer {
  width: 100%;
  text-align: center;
  background-color: #fafafa;
  background-image: url('luxemeds-hex-pattern.svg');
  background-repeat: repeat;
  background-size: 120px 104px;
  border-top: 1px solid rgba(184, 132, 34, 0.12);
}

.luxemeds-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.luxemeds-footer__logo {
  margin-bottom: 4px;
}

.luxemeds-footer__logo .custom-logo-link {
  display: inline-block;
  text-decoration: none;
  line-height: 1;
}

.luxemeds-footer__logo .custom-logo-link img {
  height: 48px;
  width: auto;
  max-height: 48px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .luxemeds-footer__logo .custom-logo-link img {
    height: 56px;
  }
}

.luxemeds-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}

.luxemeds-footer__social .ws-svg-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
}

.luxemeds-footer__social .ws-svg-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.luxemeds-footer__social a {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.luxemeds-footer__social a:hover,
.luxemeds-footer__social a:focus {
  opacity: 1;
}

.luxemeds-footer__copy {
  font-size: 13px;
  opacity: 0.9;
  margin: 0;
}

/* Footer: place social links in copyright area */
.ehfb-footer .luxemeds-social-links,
.site-footer .luxemeds-social-links {
  margin-top: 12px;
}

/* Hamburger / offcanvas: match menu item styling */
.emoza-offcanvas-menu .luxemeds-social-links,
.ehfb-mobile_offcanvas .luxemeds-social-links {
  margin-top: 16px;
  padding-top: 12px;
}

.ehfb-mobile_offcanvas .luxemeds-social-links .ws-svg-icon {
  width: 24px;
  height: 24px;
}

/* Age Gate consent screen: logo, buttons, z-index above Vapi footer (99999) */
.age-restriction,
.age-gate__wrapper,
.age-gate-wrapper,
.age-gate {
  z-index: 100001 !important;
}

.age-gate .age-gate-background,
.age-gate .age-gate__background,
.age-gate .age-gate-background-color,
.age-gate .age-gate__background-color {
  z-index: 100000 !important;
}

/* Match site buttons: gold primary, transparent secondary */
.age-gate button.age-gate-submit-yes,
.age-gate button.age-gate__submit--yes {
  min-width: 110px;
  height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    #d2a84a 0%,
    #c69a38 48%,
    #b88422 100%
  ) !important;
  color: #10151e !important;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(198, 154, 56, 0.28);
  border: 0 !important;
}

.age-gate button.age-gate-submit-yes:hover,
.age-gate button.age-gate-submit-yes:focus,
.age-gate button.age-gate-submit-yes:active,
.age-gate button.age-gate__submit--yes:hover,
.age-gate button.age-gate__submit--yes:focus,
.age-gate button.age-gate__submit--yes:active {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(198, 154, 56, 0.34) !important;
  background: linear-gradient(
    135deg,
    #d2a84a 0%,
    #c69a38 48%,
    #b88422 100%
  ) !important;
  color: #10151e !important;
}

.age-gate button.age-gate-submit-no,
.age-gate button.age-gate__submit--no {
  min-width: 110px;
  height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: transparent !important;
  color: #555 !important;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(30, 38, 52, 0.2) !important;
}

.age-gate button.age-gate-submit-no:hover,
.age-gate button.age-gate-submit-no:focus,
.age-gate button.age-gate__submit--no:hover,
.age-gate button.age-gate__submit--no:focus {
  opacity: 0.8;
}

/* Full-width testimonials with Pexels background */
.luxemeds-testimonials {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 48px;
  margin-bottom: 48px;
  min-height: 420px;
  overflow: hidden;
}

.luxemeds-testimonials-carousel {
  position: relative;
  width: 100%;
  min-height: 420px;
}

.luxemeds-testimonial-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.luxemeds-testimonial-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.luxemeds-testimonial-bg {
  position: absolute;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.luxemeds-testimonial-slide.is-active .luxemeds-testimonial-bg {
  animation: luxemeds-testimonial-bg-in 0.8s ease-out forwards;
}

.luxemeds-testimonial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(16, 21, 30, 0.75) 0%,
    rgba(30, 38, 52, 0.7) 100%
  );
  z-index: 1;
}

.luxemeds-testimonial-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  padding: 48px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.luxemeds-testimonial-slide.is-active .luxemeds-testimonial-quote {
  animation: luxemeds-testimonial-quote-in 0.6s ease-out 0.25s both;
}

.luxemeds-testimonial-slide.is-active .luxemeds-testimonial-author {
  animation: luxemeds-testimonial-author-in 0.5s ease-out 0.55s both;
}

.luxemeds-testimonial-quote {
  font-family: "Caveat", cursive;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 600;
  line-height: 1.35;
  color: #f5f2eb;
  margin: 0 0 16px;
  font-style: normal;
}

.luxemeds-testimonial-author {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgba(245, 242, 235, 0.9);
  font-style: normal;
  letter-spacing: 0.05em;
}

@keyframes luxemeds-testimonial-bg-in {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes luxemeds-testimonial-quote-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes luxemeds-testimonial-author-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .luxemeds-fade-show {
    min-height: clamp(220px, 58vw, 420px);
  }

  .luxemeds-fade-actions {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 10px;
    width: calc(100% - 20px);
  }

  .luxemeds-testimonials,
  .luxemeds-testimonials-carousel {
    min-height: 360px;
  }

  .luxemeds-testimonials {
    margin-top: 36px;
    margin-bottom: 36px;
  }

  .luxemeds-testimonial-content {
    padding: 36px 16px;
  }
}
