html,
body,
.ast-plain-container,
.ast-page-builder-template,
.site {
  background: #ffffff !important;
}

.app-lp {
  max-width: 480px !important;
  margin: 0 auto;
  padding: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0f172a;
}

.app-lp__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.app-lp__logo-wrap {
  flex-shrink: 0;
}

.app-lp__logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
}

.app-lp__title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-lp__title {
  font-size: 20px;
  margin: 0;
}

.app-lp__header-main {
  flex: 1;
}

.app-lp__title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-lp__verified-badge {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #1d9bf0;
  position: relative;
}

.app-lp__verified-badge::before {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: 11px;
  color: #ffffff;
}

.app-lp__developer-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.app-lp__developer {
  font-size: 14px;
  color: #1d9bf0;
}

.app-lp__dot {
  font-size: 14px;
  color: #9ca3af;
}

.app-lp__subtitle {
  font-size: 13px;
  color: #6b7280;
}

/* Slider (info__gallery) */
.app-lp__slider {
  margin: 16px 0;
}

.app-lp__slide {
  width: auto !important;
  display: inline-flex;
  justify-content: center;
  cursor: pointer;
}

.app-lp__slide img {
  display: block;
  width: auto;
  height: 300px;
  max-width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.app-lp__slide-caption {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  text-align: center;
  color: #6b7280;
}

/* About this app summary */
.app-lp__about {
  margin-bottom: 16px;
}

.app-lp__about-header {
  margin-bottom: 6px;
}

.app-lp__about-text {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.app-lp__about-updated {
  margin-top: 6px;
  margin-bottom: 8px;
  font-size: 13px;
}

.app-lp__about-updated-label {
  display: block;
  color: #6b7280;
}

.app-lp__about-updated-date {
  display: block;
}

.app-lp__about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.app-lp__about-tag {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 12px;
}

.app-lp__safety {
  padding: 12px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 16px;
}

.app-lp__safety-title {
  font-size: 16px;
  margin: 0 0 6px;
}

.app-lp__safety-text {
  margin: 0 0 10px;
  font-size: 13px;
  color: #6b7280;
}

.app-lp__safety-list {
  display: block;
  padding: 1rem 1.5rem;
  width: fit-content;
  line-height: 4;
  border: 1px solid #c5c5c5;
  border-radius: 14px;
}

.app-lp__safety-item {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  margin-bottom: 16px;
  margin-top: 12px;
}

.app-lp__safety-item span {
  line-height: 1.4;
}

.app-lp__safety-icon {
  width: 18px;
  height: 18px;
}

.app-lp__reviews {
  margin-bottom: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f3f4f6;
}

.app-lp__reviews-header {
  margin-bottom: 14px;
}

.app-lp__reviews-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-lp__reviews-title {
  margin: 0 0 4px;
  font-size: 18px;
}

.app-lp__reviews-header-arrow {
  border: none;
  background: #ffffff;
  cursor: pointer;
  color: #9ca3af;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15);
  padding: 0;
  line-height: 0;
  font-size: 0;
}

.app-lp__reviews-header-arrow::after {
  content: "›";
  font-size: 20px;
  line-height: 1;
}

.app-lp__reviews-header-arrow:hover,
.app-lp__reviews-header-arrow:focus {
  background: #f7f8f9;
  border-color: #f7f8f9;
  color: #9ca3af;
}

.app-lp__reviews-verified {
  margin: 0 0 10px;
  font-size: 13px;
  color: #6b7280;
}

.app-lp__reviews-summary {
  display: flex;
  gap: 24px;
}

.app-lp__reviews-score-block {
  min-width: 80px;
}

.app-lp__reviews-score {
  font-size: 32px;
  font-weight: 500;
}

.app-lp__reviews-stars {
  font-size: 14px;
  color: #01875f;
}

.app-lp__reviews-count {
  margin-top: 4px;
  font-size: 12px;
  color: #6b7280;
}

.app-lp__reviews-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 300px;
}

.app-lp__reviews-bar-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  width: 300px;
}

@media (max-width: 460px) { 
  .app-lp__reviews-bar-row {
    width: 160px;
  }
}

.app-lp__reviews-bar-label {
  text-align: right;
  font-size: 12px;
}

.app-lp__reviews-bar-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.app-lp__reviews-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: #01875f;
}

/* Simple static distribution – strongest at 5 stars */
.app-lp__reviews-bar-fill--5 { width: 90%; }
.app-lp__reviews-bar-fill--4 { width: 40%; }
.app-lp__reviews-bar-fill--3 { width: 10%; }
.app-lp__reviews-bar-fill--2 { width: 4%; }
.app-lp__reviews-bar-fill--1 { width: 2%; }

.app-lp__likes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 8px;
  font-size: 14px;
}

.app-lp__likes-hearts span {
  color: #ef4444;
  font-size: 18px;
  margin-right: 2px;
}

.app-lp__likes-count {
  font-weight: 500;
}

.app-lp__review {
  display: flex;
  gap: 10px;
  padding: 10px 0;
}

.app-lp__review.is-hidden {
  display: none;
}

.app-lp__review-avatar-wrap {
  flex-shrink: 0;
}

.app-lp__review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
}

.app-lp__review-name {
  margin: 0 0 2px;
  font-size: 14px;
}

.app-lp__review-headrow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-lp__review-rating {
  font-size: 13px;
  color: #01875f;
  margin-bottom: 4px;
}

.app-lp__review-date {
  font-size: 12px;
  color: #6b7280;
}

.app-lp__review-text {
  margin: 0;
  font-size: 13px;
  color: #4b5563;
}

.app-lp__review-meta {
  margin-top: 10px;
}

.app-lp__review-likes {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #6b7280;
}

.app-lp__review-like-icon {
  font-size: 18px;
  line-height: 1;
}

.app-lp__review-like-count {
  font-size: 13px;
}

.app-lp__review-helpful {
  margin-top: 8px;
  font-size: 12px;
}

.app-lp__review-helpful-label {
  display: block;
  margin-bottom: 6px;
  color: #6b7280;
}

.app-lp__review-helpful-buttons {
  display: flex;
  gap: 8px;
}

.app-lp__review-helpful-buttons button {
  color: #5f6368;
}

.app-lp__review-helpful-buttons button:hover,
.app-lp__review-helpful-buttons button:focus {
  background: #f7f8f9;
  border-color: #e0e0e0;
  color: #9ca3af;
}

.app-lp__review-helpful-btn {
  min-width: 56px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 12px;
  cursor: pointer;
}

.app-lp__review-helpful-btn--secondary {
  background: #ffffff;
}

.app-lp__reviews-more {
  margin-top: 24px;
  padding: 0;
  border: none;
  background: none;
  color: #018764;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
}
.app-lp__reviews-more:hover,
.app-lp__reviews-more:focus {
  background: none;
  border-color: none;
  color: #018764;
  box-shadow: none;
}

/* CTA */
.app-lp__cta {
  margin: 16px 0;
}

.app-lp__cta--ios-only {
  display: none;
}

.app-lp__cta--non-ios-only {
  display: block;
}

.app-lp.app-lp--ios .app-lp__cta--ios-only {
  display: block;
}

.app-lp.app-lp--ios .app-lp__cta--non-ios-only {
  display: none;
}

.app-lp__cta-button {
  display: block;
  width: 100%;
  text-align: center;
  background: #22c55e;
  color: #ffffff;
  text-decoration: none !important;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
}

.app-lp__cta-button:hover,
.app-lp__cta-button:focus {
  background: #01871a;
  color: #ffffff;
  text-decoration: none !important;
}

/* iOS-only small visual tweaks (mobile) */
@media (max-width: 768px) {
  .app-lp.app-lp--ios .app-lp__cta {
    margin: 2px 0;
  }

  .app-lp.app-lp--ios .app-lp__logo-wrap {
    width: 98px;
    height: 98px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background: #f3f6ff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
  }

  .app-lp.app-lp--ios .app-lp__logo {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    display: block;
    position: relative;
    z-index: 1;
    object-fit: cover;
  }

  .app-lp.app-lp--ios .app-lp__logo-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0) 45%,
      rgba(30, 128, 235, 0.25) 100%
    );
    opacity: 0.55;
    pointer-events: none;
    z-index: 2;
  }

  .app-lp.app-lp--ios .app-lp__logo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0) 40%,
      rgba(0, 0, 0, 0.18) 100%
    );
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
    opacity: 0.8;
    pointer-events: none;
    z-index: 2;
  }

  .app-lp.app-lp--ios .app-lp__cta-button {
    background: #1e80eb;
    width: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 20px;
    font-size: 14px;
    height: 40px;
    border-radius: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .app-lp.app-lp--ios .app-lp__cta-button:hover,
  .app-lp.app-lp--ios .app-lp__cta-button:focus {
    background: #0066d6;
  }

  .app-lp.app-lp--ios .app-lp__reviews-stars,
  .app-lp.app-lp--ios .app-lp__review-rating {
    color: #facc15;
  }

  .app-lp.app-lp--ios .app-lp__stats {
    margin-top: 10px;
    margin-bottom: 12px;
    justify-content: center;
  }

  .app-lp.app-lp--ios .app-lp__stat-value {
    font-size: 13px;
    font-weight: 600;
  }

  .app-lp.app-lp--ios .app-lp__stat-label {
    font-size: 10px;
    font-weight: 400;
    color: #6b7280;
  }

  .app-lp.app-lp--ios .app-lp__stat-separator {
    height: 22px;
    background: #e5e7eb;
  }

  .app-lp.app-lp--ios .app-lp__stat-icon {
    font-size: 15px;
  }
}

.app-lp__cta--top .app-lp__cta-button {
  max-width: 100%;
}

.app-lp__stats {
  display: flex;
  align-items: center;
  margin-top: 12px;
  margin-bottom: 8px;
}

.app-lp__stat {
  flex: 1;
  text-align: center;
}

.app-lp__stat-value {
  font-size: 14px;
  font-weight: 500;
}

.app-lp__stat-label {
  font-size: 11px;
  color: #6b7280;
}

.app-lp__stat-separator {
  width: 1px;
  height: 28px;
  background: #e5e7eb;
}

.app-lp__stat-icon {
  font-size: 16px;
}

.app-lp__availability {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  color: #4b5563;
}

.app-lp__availability-icon {
  font-size: 14px;
}

/* Footer */
.app-lp__footer {
  margin-top: 12px;
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
}

.app-lp__footer-text {
  margin: 0 0 6px;
}

.app-lp__footer-extra {
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
}

.app-lp__footer-extra-column {
  font-size: 12px;
  color: #4b5563;
}

.app-lp__footer-extra-heading {
  margin: 0 0 4px;
  font-weight: 500;
}

.app-lp__footer-extra-link {
  margin: 0 0 2px;
}

.app-lp__footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.app-lp__footer-link {
  color: inherit;
  text-decoration: underline;
}

/* Modal for description "More" */
.app-lp__modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.app-lp__modal.is-active {
  display: block;
}

.app-lp__modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
}

.app-lp__modal-inner {
  position: relative;
  max-width: 480px;
  width: calc(100% - 32px);
  margin: 8vh auto;
  background: #ffffff;
  z-index: 1;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 18px;
}

.app-lp__modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  box-shadow: none;
}

.app-lp__modal-close:hover, .app-lp__modal-close:focus  {
  background-color: transparent;
    border-color: transparent;
}

.app-lp__modal-content {
  font-size: 14px;
  line-height: 1.5;
}

/* "About this app" modal (Play Store style) */
.modal__container {
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
  padding: 18px 18px 20px;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.modal__header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal__img {
  width: 75px;
  height: 75px;
  border-radius: 12px;
  object-fit: cover;
}

.modal__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modal__title {
  font-size: 18px;
  margin: 0;
}

.modal__desc {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

.modal__header-right .modal__close {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: none;
  background: transparent;
  cursor: pointer;
  box-shadow: none;
  top: 14px;
  right: 6px;
}

.modal__header-right .modal__close::before,
.modal__header-right .modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: #6b7280;
  transform-origin: center;
}

.modal__header-right .modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal__header-right .modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal__body {
  margin: 10px 0 14px;
}

.modal__text {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  white-space: pre-line;
}

.modal__footer {
  border-top: 1px solid #e5e7eb;
  margin-top: 10px;
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: 12px;
  color: #4b5563;
}

.modal__footer-item span:first-child {
  display: block;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #202124;
}

/* Remove empty paragraphs inside app modal */
.app-lp__modal p:empty {
  display: none;
}

/* Reset default entry-content spacing inside modal content */
.app-lp__modal .entry-content .wp-audio-shortcode,
.app-lp__modal .entry-content .wp-embedded-audio,
.app-lp__modal .entry-content .wp-embedded-video,
.app-lp__modal .entry-content .wp-video,
.app-lp__modal .entry-content p {
  margin-bottom: 0;
}

html.app-lp-modal-open {
  overflow: hidden;
}

/* Image modal */
.app-lp__image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: none;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-size: 24px;
  color: #111827;
}

.app-lp__image-nav::before {
  content: "";
}

.app-lp__image-nav--prev {
  left: -18px;
}


.app-lp__image-nav--next {
  right: -18px;
}

.app-lp__image-nav.app-lp__image-nav--next.swiper-button-next,
.app-lp__image-nav.app-lp__image-nav--prev.swiper-button-prev {
 padding: 0;
}

.app-lp__image-nav.app-lp__image-nav--next.swiper-button-next:hover,
.app-lp__image-nav.app-lp__image-nav--prev.swiper-button-prev:hover,
.app-lp__image-nav.app-lp__image-nav--next.swiper-button-next:focus,
.app-lp__image-nav.app-lp__image-nav--prev.swiper-button-prev:focus {
  background-color: #f3f4f6;
  border-color: #f3f4f6;
  color: black;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 16px;
}

.app-lp__modal-inner--images {
  max-width: none;
  width: 100%;
  height: 100vh;
  padding: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.app-lp__image-modal-slide img {
  display: block;
  width: auto;
  height: 70vh;
  max-height: 90vh;
  max-width: 100vw;
  object-fit: contain;
}

.app-lp__image-nav--prev {
  left: 16px;
}

.app-lp__image-nav--next {
  right: 16px;
}

.app-lp__image-modal-slider {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-lp__image-modal-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

header, footer.site-footer {
  display: none;
}

@media (min-width: 922px) {
  .site-content .ast-container {
      display: flex;
      width: 50%;
  }
}

/* Full-page loader when opening as PWA */
.app-lp__loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.app-lp__loader-spinner {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 4px solid rgba(148, 163, 184, 0.4);
  border-top-color: #22c55e;
  animation: app-lp-spin 0.8s linear infinite;
}

@keyframes app-lp-spin {
  to {
    transform: rotate(360deg);
  }
}