/* Coconut Pot — production mobile refinements (no preview-only controls). */
/* The price card already states the pack size; remove its repeated quantity copy on every screen. */
body.cp-page-landing #cp-landing-main #single-order .single-order-quantity-pack {
  display: none !important;
}

@media (max-width: 760px) {
  html,
  body.cp-page-landing {
    width: 100%;
    max-width: 100%;
    overflow-x: clip !important;
  }

  body.cp-page-landing {
    --cp-gutter: clamp(14px, 4vw, 18px);
    --cp-fs-xs: 0.875rem;
    --cp-fs-sm: 1rem;
    --cp-fs-md: 1.0625rem;
    --cp-fs-lg: clamp(1.5rem, 6vw, 1.95rem);
    --cp-fs-xl: clamp(2.1rem, 8.5vw, 2.8rem);
    margin: 0;
    font-size: 17px;
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.cp-page-landing #cp-landing-root,
  body.cp-page-landing #cp-landing-main,
  body.cp-page-landing #cp-landing-main > .cp-mount {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* Keep oversized saved-section children from widening the Android layout viewport. */
  body.cp-page-landing #cp-landing-main > .cp-mount {
    overflow-x: clip;
  }
  body.cp-page-landing #cp-landing-main > .cp-mount > :where(*) {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  body.cp-page-landing #cp-landing-main :where(*) {
    min-width: 0 !important;
  }
  body.cp-page-landing #cp-landing-main :where(p, li, blockquote) {
    font-size: max(1rem, 1em);
    line-height: 1.6;
    overflow-wrap: anywhere;
  }
  body.cp-page-landing #cp-landing-main :where(img, svg, video, iframe) {
    max-width: 100%;
  }
  body.cp-page-landing #cp-landing-main :where(button, a, input, textarea, select) {
    max-width: 100%;
  }

  /* A light divider makes each mobile section easy to scan without changing its design. */
  body.cp-page-landing #cp-landing-main > .cp-mount:not(:empty) {
    border-bottom: 1px solid rgba(36, 92, 32, 0.16);
    scroll-margin-top: 64px;
  }

  body.cp-page-landing #cp-landing-main .cp-btn,
  body.cp-page-landing #cp-landing-main .reviews-button {
    min-height: 50px;
  }

  /* Saved product showcase: readable full-width action, one pack-size sentence. */
  body.cp-page-landing #cp-landing-main #single-order .single-order-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 480px !important;
    min-width: 0 !important;
    gap: 18px !important;
  }
  body.cp-page-landing #cp-landing-main #single-order .single-order-visual {
    width: 100% !important;
    max-width: 100% !important;
    height: clamp(260px, 72vw, 340px) !important;
  }
  body.cp-page-landing #cp-landing-main #single-order .single-order-image {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
  }
  body.cp-page-landing #cp-landing-main #single-order .single-order-purchase-row {
    align-items: stretch !important;
    flex-direction: column !important;
  }
  body.cp-page-landing #cp-landing-main #single-order .single-order-cta {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 58px !important;
    flex: 0 0 auto !important;
    padding-inline: 14px !important;
    font-size: clamp(15px, 4.2vw, 17px) !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }
  body.cp-page-landing #cp-landing-main #single-order .single-order-cta-text {
    white-space: nowrap !important;
  }
  /* Saved checkout bundle: show the real product image and make its controls tappable. */
  body.cp-page-landing #cp-landing-main #single-order .single-order-product-panel,
  body.cp-page-landing #cp-landing-main #single-order .single-order-form-panel {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  body.cp-page-landing #cp-landing-main #single-order .single-order-product-image {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    object-fit: contain !important;
  }
  body.cp-page-landing #cp-landing-main #single-order .single-order-submit-button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 56px !important;
    font-size: 17px !important;
    white-space: normal !important;
  }

  /* Keep fixed navigation clear of device safe areas and page content. */
  body.cp-page-landing .cp-bottom-app-nav {
    bottom: calc(6px + env(safe-area-inset-bottom, 0px));
    min-height: 64px;
    padding: 6px;
  }
  body.cp-page-landing .cp-ban__item {
    min-height: 52px;
    padding: 7px 2px;
    font-size: 14.5px;
  }
  body.cp-page-landing .cp-ban__item small {
    font-size: 14.5px;
    line-height: 1.12;
  }
  body.cp-page-landing .cp-ban__icon { font-size: 19px; }
  body.cp-page-landing .cp-ban__item--cta .cp-ban__icon { font-size: 21px; }
  body.cp-page-landing .cp-footer-wa {
    right: 14px;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
  }

  /* Header controls remain comfortable at ordinary Android widths. */
  body.cp-page-landing .cp-header-inner {
    min-height: 56px;
    gap: 6px;
    padding-inline: 10px;
  }
  body.cp-page-landing .cp-header-brand img { width: 36px; height: 32px; }
  body.cp-page-landing .cp-header-brand__text strong { font-size: 15px; }
  body.cp-page-landing .cp-header-brand__text small { font-size: 11px; }
  body.cp-page-landing .cp-header-order {
    min-height: 42px;
    padding: 7px 10px;
    font-size: 14px;
  }
  body.cp-page-landing .cp-header-wa-mob,
  body.cp-page-landing .cp-menu-toggle {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 390px) {
  body.cp-page-landing .cp-header-inner { gap: 5px; padding-inline: 8px; }
  body.cp-page-landing .cp-header-brand { gap: 3px; padding: 2px 4px; }
  body.cp-page-landing .cp-header-brand__text strong { font-size: 14px; }
  body.cp-page-landing .cp-header-order { padding-inline: 8px; font-size: 13.5px; }
  body.cp-page-landing .cp-bottom-app-nav { gap: 3px; }
  body.cp-page-landing .cp-ban__item small { font-size: 14px; }
}
