/*
Theme Name: Masta Travel Health Twenty Five
Theme URI:
Author: Olive Group
Author URI:
Description: This is mobile best approach theme for WordPress,  Masta Travel Health !!
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: mastatwentyfive
*/

.row-title.d-flex.flex-wrap.align-items-baseline.justify-content-center.mb-3
  h2
  a.h4::after {
  content: " →";
  opacity: 0;
  margin-left: 4px;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  transform: translateX(-4px);
}

.row-title.d-flex.flex-wrap.align-items-baseline.justify-content-center.mb-3
  h2
  a.h4:hover {
  color: #0072b1;
}

.row-title.d-flex.flex-wrap.align-items-baseline.justify-content-center.mb-3
  h2
  a.h4:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.woocommerce-shipping-destination {
  display: none !important;
}

.accordion-collapse p a {
  color: var(--masta-sea-blue-100);
}

.checkout-inline-error-message {
  margin-top: 8px;
}


/* Equal image area */
.compact-thumb-visual-travel-health {
    background: var(--masta-sky-blue-20);
    padding: 0.5rem;
    height: 140px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

/* Show the full image without cropping */
.compact-thumb-visual-travel-health img.compact-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* ==========================================================================
   MASTA Premium CTA Section & Card
   ========================================================================== */
.masta-premium-cta-section {
  padding: 3rem 0;
  position: relative;
}

.masta-premium-cta-card {
  background: linear-gradient(135deg, #f0f8fd 0%, #ffffff 50%, #f4f9fd 100%);
  border: 1px solid rgba(0, 114, 177, 0.15);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 12px 35px -10px rgba(0, 44, 83, 0.08), 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.masta-premium-cta-card:hover {
  box-shadow: 0 18px 45px -10px rgba(0, 44, 83, 0.14), 0 4px 12px rgba(0, 0, 0, 0.03);
}

.masta-cta-media-col {
  position: relative;
  display: flex;
}

.masta-cta-media-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  overflow: hidden;
  background-color: var(--masta-sea-blue-20, #d4e5f2);
}

.masta-cta-media-wrapper img,
.masta-cta-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  flex: 1 1 auto;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.masta-premium-cta-card:hover .masta-cta-image {
  transform: scale(1.04);
}

.masta-cta-media-gradient-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.masta-cta-content-wrapper {
  padding: 2.75rem;
}

.masta-cta-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.85rem;
  background: rgba(0, 114, 177, 0.08);
  border: 1px solid rgba(0, 114, 177, 0.18);
  border-radius: 9999px;
  color: #0072b1;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  
  span {
    font-size: var(--fs-small, 0.8125rem);
  }
}

.masta-cta-pill-badge svg {
  color: #0072b1;
}

.masta-cta-headline {
  font-size: var(--fs-h3, 1.75rem);
  font-weight: 700;
  color: #0d1b2e;
  line-height: 1.28;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}

.masta-cta-intro p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 0;
}

.masta-cta-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.highlight-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.825rem;
  font-weight: 500;
  color: #1f2937;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 0.3rem 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.chip-check {
  color: #059669;
  font-weight: 700;
  margin-right: 0.35rem;
}

.masta-cta-actions {
  margin-top: 0.5rem;
}

.masta-cta-btn-primary {
  background: linear-gradient(135deg, #0072b1 0%, #005a8d 100%) !important;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: 0.5rem;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 114, 177, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  text-decoration: none !important;
}

.masta-cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 114, 177, 0.38);
  filter: brightness(1.05);
}

.masta-cta-btn-primary .btn-icon {
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.masta-cta-btn-primary:hover .btn-icon {
  transform: translateX(4px);
}

.masta-cta-btn-secondary {
  background: #ffffff !important;
  border: 1.5px solid #0072b1 !important;
  color: #0072b1 !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.masta-cta-btn-secondary:hover {
  background: #0072b1 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 114, 177, 0.2);
}

.masta-cta-btn-secondary .btn-icon {
  margin-left: 0.35rem;
  transition: transform 0.2s ease;
}

.masta-cta-btn-secondary:hover .btn-icon {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   Responsive Viewports for CTA Media & Content
   ========================================================================== */

/* Desktop Breakpoint (>= 992px) */
@media (min-width: 992px) {
  .masta-cta-media-col {
    min-height: 100%;
    align-self: stretch;
  }
  .masta-cta-media-wrapper {
    min-height: 100%;
    height: 100%;
    border-radius: 1.25rem 0 0 1.25rem;
  }
  .masta-cta-media-gradient-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 70%, rgba(240, 248, 253, 0.45) 100%);
  }
}

/* Tablet Breakpoint (768px to 991px) */
@media (max-width: 991.98px) {
  .masta-cta-media-col {
    width: 100%;
  }
  .masta-cta-media-wrapper {
    width: 100%;
    height: 280px;
    min-height: 240px;
    max-height: 320px;
    border-radius: 1.25rem 1.25rem 0 0;
  }
  .masta-cta-media-gradient-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 65%, rgba(240, 248, 253, 0.6) 100%);
  }
  .masta-cta-content-wrapper {
    padding: 2rem 1.5rem;
  }
  .masta-cta-headline {
    font-size: var(--fs-h3, 1.75rem);
  }
}

/* Mobile Devices (<= 767px) */
@media (max-width: 767.98px) {
  .masta-cta-media-wrapper {
    width: 100%;
    height: 220px;
    min-height: 190px;
    max-height: 250px;
    border-radius: 1.25rem 1.25rem 0 0;
  }
  .masta-cta-content-wrapper {
    padding: 1.5rem 1.25rem;
  }
  .masta-cta-headline {
    font-size: var(--fs-h3, 1.75rem);
  }
  .masta-cta-intro p {
    font-size: var(--fs-p, 1rem);
  }
  .masta-cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .masta-cta-btn-primary,
  .masta-cta-btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* Small Screen Phones (<= 480px) */
@media (max-width: 480px) {
  .masta-cta-media-wrapper {
    width: 100%;
    height: 180px;
    min-height: 160px;
  }
  .masta-cta-pill-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
  }
  .highlight-chip {
    font-size: 0.775rem;
    padding: 0.25rem 0.55rem;
  }
}


/* Hide additional fields on checkout page */
.woocommerce-additional-fields > h3 {
    display: none;
}

.woocommerce-additional-fields > .woocommerce-additional-fields__field-wrapper {
    display: none;
}