/* Soften theme chrome on InnoPet commerce pages — keep Kadence header/footer */
body:has(.innopet-shop) .entry-hero,
body:has(.innopet-checkout) .entry-hero {
  display: none !important;
}
body:has(.innopet-shop) .content-area,
body:has(.innopet-checkout) .content-area,
body:has(.innopet-shop) .entry-content,
body:has(.innopet-checkout) .entry-content {
  max-width: none !important;
  padding-top: 0 !important;
  margin: 0 !important;
}

:root {
  --innopet-navy: #003399;
  --innopet-navy-2: #002877;
  --innopet-orange: #ff6a00;
  --innopet-orange-dark: #e85f00;
  --innopet-green: #e8f6ea;
  --innopet-green-text: #1f9d4b;
  --innopet-bg: #ffffff;
  --innopet-line: #e8edf5;
  --innopet-muted: #5b6b7c;
  --innopet-radius: 12px;
  --innopet-font: "Kanit", sans-serif;
}

.innopet-shop,
.innopet-checkout {
  font-family: var(--innopet-font);
  color: #1a1a1a;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px 48px;
}
.innopet-shop img,
.innopet-checkout img,
.innopet-main-video { max-width: 100%; }
.innopet-summary-meta { min-width: 0; overflow-wrap: anywhere; }
/* Grid/flex tracks must be allowed to shrink below the intrinsic width of the
   product photos (2200px), otherwise the layout overflows the viewport. */
.innopet-product > *,
.innopet-gallery > *,
.innopet-gallery-col > *,
.innopet-checkout-grid > *,
.innopet-success > *,
.innopet-thumbs,
.innopet-main-media { min-width: 0; }

.innopet-product {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 40px;
  align-items: start;
  padding-top: 28px;
}

/* Per-page product details (custom field under buy block) */
.innopet-product-details {
  margin-top: 40px;
  margin-right: 0;
  margin-left: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background:
    linear-gradient(180deg, #f7faff 0%, #ffffff 48px);
  border: 1px solid #e6ebf2;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 40, 80, 0.04);
  overflow: hidden;
  position: relative;
  color: #1a1a1a;
  font-size: 0.98rem;
  line-height: 1.65;
}
.innopet-product-details::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--innopet-navy) 0%, #1d4ed8 55%, var(--innopet-orange) 100%);
}
.innopet-product-details__head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 16px 20px 16px 22px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--innopet-navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.innopet-product-details:not(.is-collapsed) .innopet-product-details__head {
  border-bottom-color: #eef2f8;
}
.innopet-product-details__head:hover {
  background: rgba(0, 51, 153, 0.03);
}
.innopet-product-details__head:focus-visible {
  outline: 2px solid var(--innopet-navy);
  outline-offset: -2px;
}
.innopet-product-details__head .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--innopet-navy);
  flex-shrink: 0;
  line-height: 0;
}
.innopet-product-details__head .ico svg {
  display: block;
  width: 22px;
  height: 22px;
}
.innopet-product-details__title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--innopet-navy);
  letter-spacing: 0.01em;
}
.innopet-product-details__chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: auto;
  color: #64748b;
  flex-shrink: 0;
  line-height: 0;
  transition: transform 0.2s ease;
}
.innopet-product-details__chev svg {
  display: block;
  width: 20px;
  height: 20px;
}
.innopet-product-details:not(.is-collapsed) .innopet-product-details__chev {
  transform: rotate(180deg);
  color: var(--innopet-navy);
}
.innopet-product-details__body {
  padding: 18px 20px 22px 22px;
}
.innopet-product-details__body[hidden] {
  display: none !important;
}
.innopet-product-details__body > *:first-child { margin-top: 0; }
.innopet-product-details__body > *:last-child { margin-bottom: 0; }
.innopet-product-details h2,
.innopet-product-details h3,
.innopet-product-details h4 {
  color: var(--innopet-navy);
  font-weight: 600;
  line-height: 1.3;
  margin: 1.35em 0 0.5em;
}
.innopet-product-details__body > h2:first-child,
.innopet-product-details__body > h3:first-child,
.innopet-product-details__body > h4:first-child {
  margin-top: 0;
}
.innopet-product-details h2 { font-size: 1.28rem; }
.innopet-product-details h3 { font-size: 1.12rem; }
.innopet-product-details h4 { font-size: 1.02rem; }
.innopet-product-details p { margin: 0 0 0.9em; color: #334155; }
.innopet-product-details ul,
.innopet-product-details ol {
  margin: 0 0 0.9em;
  padding-left: 1.35em;
  color: #334155;
}
.innopet-product-details li { margin: 0.35em 0; }
.innopet-product-details a {
  color: var(--innopet-navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.innopet-product-details a:hover { color: var(--innopet-orange); }
/* Inline icons / WP emoji: keep natural size with text */
.innopet-product-details img.emoji,
.innopet-product-details img.wp-smiley,
.innopet-product-details .emoji,
.innopet-product-details .wp-smiley {
  display: inline !important;
  width: 1.15em !important;
  max-width: 1.15em !important;
  height: 1.15em !important;
  margin: 0 0.12em 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  vertical-align: -0.15em;
  box-shadow: none !important;
  object-fit: contain;
}
/* Content photos (standalone / linked): full width of the card */
.innopet-product-details img:not(.emoji):not(.wp-smiley),
.innopet-product-details a img:not(.emoji):not(.wp-smiley),
.innopet-product-details p > img:not(.emoji):not(.wp-smiley),
.innopet-product-details p > a > img:not(.emoji):not(.wp-smiley),
.innopet-product-details figure img:not(.emoji):not(.wp-smiley) {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 12px;
  margin: 1em 0;
  border: 1px solid #eef2f8;
  object-fit: contain;
}
.innopet-product-details a:has(> img:not(.emoji):not(.wp-smiley)) {
  display: block;
  width: 100%;
  max-width: 100%;
}
.innopet-product-details figure {
  margin: 1em 0;
  width: 100%;
  max-width: 100%;
}
.innopet-product-details figcaption {
  margin-top: 0.4em;
  font-size: 0.88rem;
  color: var(--innopet-muted);
  text-align: center;
}
.innopet-product-details blockquote {
  margin: 1em 0;
  padding: 12px 16px;
  border-left: 3px solid var(--innopet-orange);
  border-radius: 0 10px 10px 0;
  background: #fff7ed;
  color: #444;
}
@media (max-width: 768px) {
  .innopet-product-details__head {
    padding: 14px 16px;
    gap: 10px;
  }
  .innopet-product-details__body {
    padding: 14px 16px 18px;
  }
}

.innopet-product-faq {
  margin-top: 20px;
}
.innopet-product-faq::before {
  background: linear-gradient(180deg, var(--innopet-orange) 0%, #fb923c 50%, var(--innopet-navy) 100%);
}

/* Long FAQ section dividers (replace bare "." separators). */
.innopet-product-faq .innopet-faq-rule,
.innopet-product-faq hr.innopet-faq-rule {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 0;
  margin: 1.15em 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #cbd5e1;
  background: transparent;
}

/* Continuation line under an answer — flush left, no indent/space. */
.innopet-product-faq .innopet-faq-flush {
  margin-top: -0.35em;
  margin-left: 0;
  padding-left: 0;
  text-align: left;
  text-indent: 0;
}

.innopet-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.innopet-gallery {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.innopet-thumbs-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  min-height: 460px;
}

.innopet-thumbs-nav {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #9aa7b8;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.innopet-thumbs-nav svg { width: 20px; height: 20px; }
.innopet-thumbs-nav:hover { color: var(--innopet-navy); }

.innopet-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  max-height: 420px;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.innopet-thumbs::-webkit-scrollbar { display: none; }

.innopet-thumb {
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  background: #fff;
  cursor: pointer;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px #edf1f7;
}

.innopet-thumb.is-active {
  border-color: var(--innopet-navy);
  box-shadow: none;
}
.innopet-thumb img {
  display: block;
  width: 100%;
  height: 68px;
  object-fit: cover;
}
.innopet-thumb-preview {
  display: block;
  width: 100%;
  height: 68px;
  object-fit: cover;
  background: #0f172a;
  pointer-events: none;
}
.innopet-thumb-placeholder {
  display: block;
  width: 100%;
  height: 68px;
  background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 100%);
}
.innopet-thumb-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 12px;
  pointer-events: none;
}

.innopet-main-media {
  position: relative;
  background: #f4f7fb;
  border-radius: 18px;
  overflow: hidden;
  border: 0;
  min-height: 460px;
}

.innopet-main-image,
.innopet-main-video {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  background: #eef3f9;
}

.innopet-feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 4px;
}
.innopet-feature-item {
  text-align: center;
  color: var(--innopet-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.innopet-feature-icon {
  width: 54px;
  height: 54px;
  border: 1.8px solid #8fa8d8;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--innopet-navy);
}
.innopet-feature-icon svg { width: 28px; height: 28px; }
.innopet-feature-label {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1f2a44;
  /* Thai runs without spaces must not spill out of a narrow column */
  overflow-wrap: anywhere;
}
.innopet-promo-shot {
  margin-top: 18px;
  width: 100%;
}
/* Desktop: promo sits above product details, not under the gallery. */
.innopet-promo-shot--in-gallery {
  display: none;
}
.innopet-promo-shot--before-details {
  display: block;
  margin-top: 28px;
  margin-bottom: 8px;
}
.innopet-promo-shot__item {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--innopet-line);
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 40, 80, 0.05);
}
.innopet-promo-shot__item img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  vertical-align: top;
}

.innopet-brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--innopet-navy);
  color: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

h1.innopet-title,
.innopet-title {
  font-size: clamp(1.65rem, 2.4vw, 2.05rem);
  margin: 0 !important;
  margin-block: 0 !important;
  padding: 0;
  line-height: 1.25;
  color: var(--innopet-navy);
  font-weight: 800;
}

.innopet-subtitle {
  color: #333;
  margin: 0 0 15px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.innopet-claim-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 14px;
  margin: 0 0 12px;
  overflow: visible;
}

.innopet-price-badge {
  position: relative;
  flex: 0 1 auto;
  max-width: 100%;
  z-index: 5;
}

.innopet-price-badge__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 12px;
  border: 1.5px solid var(--innopet-orange);
  border-radius: 8px;
  background: #fff7f0;
  color: var(--innopet-orange-dark) !important;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.innopet-price-badge__btn:hover,
.innopet-price-badge__btn:focus,
.innopet-price-badge__btn:focus-visible,
.innopet-price-badge__btn:active,
.innopet-price-badge.is-open .innopet-price-badge__btn {
  background: #ffefe2;
  border-color: var(--innopet-orange-dark);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
  color: #c24e00 !important;
  outline: none;
}

/* Desktop: tip to the right of the button */
.innopet-price-badge__tip {
  position: absolute;
  z-index: 40;
  left: calc(100% + 12px);
  top: 50%;
  width: min(300px, 36vw);
  padding: 12px 14px;
  border: 1.5px solid #d7e0ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 40, 119, 0.14);
  color: #1f2937;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.55;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(6px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.innopet-price-badge__tip::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-left: 1.5px solid #d7e0ef;
  border-bottom: 1.5px solid #d7e0ef;
  border-top: 0;
  border-right: 0;
  background: #fff;
  transform: rotate(45deg);
}

.innopet-price-badge.is-open .innopet-price-badge__tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

.innopet-price-badge__link {
  display: inline;
  margin-left: 4px;
  color: var(--innopet-navy);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.innopet-price-badge__link:hover {
  color: var(--innopet-orange);
}

.innopet-research-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 51, 153, 0.18);
  background: rgba(0, 51, 153, 0.06);
  color: var(--innopet-navy);
  font-size: clamp(0.82rem, 1.8vw, 0.98rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.01em;
  box-shadow: none;
  text-align: left;
}

@media (max-width: 1024px) {
  /* Tablet + phone: badges each on their own row, left-aligned */
  .innopet-claim-row {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
  }

  .innopet-price-badge,
  .innopet-research-badge {
    width: auto;
    max-width: 100%;
    align-self: flex-start;
  }

  .innopet-research-badge {
    justify-content: flex-start;
    text-align: left;
  }

  /* Stacked layout: tip above/below the button */
  .innopet-price-badge__tip {
    left: 0;
    right: auto;
    top: calc(100% + 10px);
    width: min(320px, calc(100vw - 40px));
    transform: translateY(4px);
  }

  .innopet-price-badge__tip::before {
    left: 18px;
    top: -7px;
    margin-top: 0;
    border-left: 1.5px solid #d7e0ef;
    border-top: 1.5px solid #d7e0ef;
    border-bottom: 0;
    border-right: 0;
    transform: rotate(45deg);
  }

  .innopet-price-badge.is-open .innopet-price-badge__tip {
    transform: translateY(0);
  }

  .innopet-price-badge.is-tip-above .innopet-price-badge__tip {
    top: auto;
    bottom: calc(100% + 10px);
    transform: translateY(-4px);
  }

  .innopet-price-badge.is-tip-above .innopet-price-badge__tip::before {
    top: auto;
    bottom: -7px;
    border-left: 0;
    border-top: 0;
    border-right: 1.5px solid #d7e0ef;
    border-bottom: 1.5px solid #d7e0ef;
  }

  .innopet-price-badge.is-tip-above.is-open .innopet-price-badge__tip {
    transform: translateY(0);
  }
}

.innopet-rating {
  display: flex;
  gap: 3px;
  color: #ffb000;
  margin-bottom: 14px;
}
.innopet-rating svg { width: 18px; height: 18px; }

.innopet-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.innopet-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  color: var(--innopet-orange);
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1;
}
.innopet-price__num {
  font-size: clamp(2.75rem, 6.5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.92;
}
.innopet-price__unit {
  font-size: 1.15rem;
  font-weight: 700;
  opacity: 0.92;
}
.innopet-regular {
  color: #6b7785;
  font-size: 0.98rem;
}
.innopet-regular s {
  text-decoration: none;
  position: relative;
  color: #333;
  font-weight: 700;
}
.innopet-regular s::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 50%;
  border-top: 2px solid #e11d48;
  transform: rotate(-12deg);
}

.innopet-trust-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--innopet-green-text);
  font-size: 0.92rem;
  margin: 0 0 18px;
  font-weight: 700;
}
.innopet-trust-check {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.innopet-trust-check svg { width: 18px; height: 18px; }
.innopet-trust-line .sep { color: #c0c8d2; font-weight: 500; margin: 0 2px; }

.innopet-field { margin-bottom: 16px; }
.innopet-field label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.innopet-size {
  border: 1.5px solid var(--innopet-navy);
  background: #fff;
  color: var(--innopet-navy);
  border-radius: 10px;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: default;
}

.innopet-field--pack .innopet-stock {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
}

.innopet-pack-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.innopet-pack-btn {
  border: 1.5px solid #d7dee8;
  background: #fff;
  color: #1a1a1a;
  border-radius: 10px;
  padding: 9px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.innopet-pack-btn:hover {
  border-color: var(--innopet-navy);
}

.innopet-pack-btn.is-active {
  border-color: var(--innopet-navy);
  background: var(--innopet-navy);
  color: #fff;
}

.innopet-refill-tier-table {
  display: none !important;
}

.innopet-shop--refill-bag .innopet-pack-btn {
  flex: 1 1 calc(33.333% - 8px);
  min-width: 72px;
  padding: 9px 10px;
}

.innopet-qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.innopet-qty {
  display: inline-flex;
  border: 1px solid #d7dee8;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.innopet-qty button {
  width: 42px;
  height: 42px;
  border: 0;
  background: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  color: #334;
}
.innopet-qty button:hover { background: #f5f8fc; }
.innopet-qty input {
  width: 48px;
  border: 0;
  border-left: 1px solid #e6ebf2;
  border-right: 1px solid #e6ebf2;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: #111;
}

.innopet-stock {
  color: var(--innopet-green-text);
  font-weight: 700;
  margin: 0;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.innopet-stock i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--innopet-green-text);
  display: inline-block;
  flex-shrink: 0;
  margin: 0 15px 0 0;
}
.innopet-stock__label {
  margin: 0;
}

.innopet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 15px 18px;
  font-weight: 800;
  font-size: 1.08rem;
  cursor: pointer;
  text-decoration: none;
  margin-top: 10px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.innopet-btn-primary {
  background: var(--innopet-orange);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 106, 0, 0.22);
}
.innopet-btn-primary:hover { background: var(--innopet-orange-dark); color: #fff; }
.innopet-btn.is-loading,
.innopet-btn:disabled {
  cursor: wait;
  opacity: 0.92;
}
.innopet-btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: innopetBtnSpin 0.8s linear infinite;
}
@keyframes innopetBtnSpin {
  to { transform: rotate(360deg); }
}
.innopet-btn-secondary {
  background: #fff;
  color: var(--innopet-orange);
  border: 1.8px solid var(--innopet-orange);
  box-shadow: none;
  margin-top: 12px;
}
.innopet-btn-secondary:hover {
  background: #fff7f0;
  color: var(--innopet-orange-dark);
}
.innopet-cart-ico {
  display: inline-flex;
  width: 22px;
  height: 22px;
}
.innopet-cart-ico svg { width: 22px; height: 22px; }
.innopet-btn-navy {
  background: var(--innopet-navy);
  color: #fff;
  max-width: 320px;
}

.innopet-mini-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e8edf5;
  color: var(--innopet-navy);
  font-size: 0.9rem;
  font-weight: 700;
  width: 100%;
  text-align: center;
}
.innopet-mini-trust > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.innopet-mini-trust svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}
.innopet-mini-trust .sep {
  width: 1px;
  height: 18px;
  background: #d5dde8;
  padding: 0;
}

/* Checkout */
body:has(.innopet-checkout) {
  background: #f5f7fb;
}
.innopet-checkout {
  padding-top: 12px;
  padding-bottom: 56px;
}
.innopet-checkout-top {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}
.innopet-checkout-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: #1a1a1a;
  font-weight: 800;
  text-align: center;
}

.innopet-progress {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
  padding: 18px 8px 28px;
  margin: 0 0 8px;
  position: relative;
}
.innopet-progress::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 34px;
  height: 2px;
  background: #dbe3ef;
  z-index: 0;
}
.innopet-progress-step {
  flex: 1;
  text-align: center;
  color: #9aa7b8;
  font-size: 0.82rem;
  position: relative;
  z-index: 1;
}
.innopet-progress-step .ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #d5deea;
  background: #fff;
  color: #9aa7b8;
  display: inline-grid;
  place-items: center;
  margin-bottom: 8px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.innopet-progress-step .ico svg { width: 20px; height: 20px; }
.innopet-progress-step .label {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}
.innopet-progress-step.is-active,
.innopet-progress-step.is-done { color: var(--innopet-navy); }
.innopet-progress-step.is-active .ico,
.innopet-progress-step.is-done .ico {
  background: var(--innopet-navy);
  border-color: var(--innopet-navy);
  color: #fff;
}
.innopet-progress-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.innopet-progress-step.is-link .innopet-progress-link:hover .ico {
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(0, 51, 153, 0.18);
}
.innopet-progress-step.is-link .innopet-progress-link:hover .label {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.innopet-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  gap: 22px;
  align-items: start;
}
.innopet-checkout-main,
.innopet-checkout-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.innopet-checkout-side {
  position: sticky;
  top: 16px;
}
.innopet-panel {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(15, 40, 80, 0.04);
}
.innopet-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--innopet-navy);
}
.innopet-panel-head h2 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--innopet-navy);
  font-weight: 800;
}
.innopet-panel-head .ico,
.innopet-summary-head .ico {
  display: inline-flex;
  width: 22px;
  height: 22px;
}
.innopet-panel-head .ico svg,
.innopet-summary-head .ico svg { width: 22px; height: 22px; }
.innopet-panel-head--ship {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed #e6ebf2;
}

.innopet-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 14px;
}
@media (min-width: 601px) {
  .innopet-form-grid { grid-template-columns: 1fr 1fr; }
}
.innopet-form-grid label,
.innopet-geo-row label {
  display: block;
  font-weight: 400;
  font-size: 0.9rem;
  color: #334;
}
.innopet-form-grid label abbr,
.innopet-geo-row label abbr {
  color: #e11d48;
  text-decoration: none;
  margin-left: 2px;
  white-space: nowrap;
  font-weight: 400;
}
.innopet-optional {
  color: #8a97a8;
  font-size: 0.82rem;
  font-weight: 400;
}
.innopet-form-grid .full { grid-column: 1 / -1; }
.innopet-geo-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 14px;
  margin-top: 12px;
}
@media (min-width: 601px) {
  .innopet-geo-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 901px) {
  .innopet-geo-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.innopet-form-grid input,
.innopet-form-grid select,
.innopet-form-grid textarea,
.innopet-geo-row input,
.innopet-geo-row select {
  display: block;
  width: 100%;
  margin-top: 6px;
  box-sizing: border-box;
  border: 1px solid #d5deea;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.innopet-geo-row input,
.innopet-geo-row select {
  min-height: 46px;
  height: 46px;
  line-height: 1.25;
}
.innopet-form-grid select,
.innopet-geo-row select {
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: menulist;
}
.innopet-form-grid select:disabled,
.innopet-geo-row select:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  background: #f3f5f8;
}
.innopet-form-grid input:focus,
.innopet-form-grid select:focus,
.innopet-form-grid textarea:focus,
.innopet-geo-row input:focus,
.innopet-geo-row select:focus {
  outline: 2px solid rgba(0, 51, 153, 0.2);
  border-color: var(--innopet-navy);
}
.innopet-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: #334;
  font-weight: 400;
}
.innopet-check input { margin-top: 3px; accent-color: var(--innopet-navy); }
.innopet-check--terms { margin: 0; }
.innopet-check--save {
  align-items: center;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid #c5d4f0;
  background:
    linear-gradient(180deg, #f7f9ff 0%, #fff 100%);
  box-shadow: 0 6px 18px rgba(0, 51, 153, 0.06);
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.innopet-check--save:hover {
  border-color: #8eace0;
  box-shadow: 0 8px 22px rgba(0, 51, 153, 0.1);
}
.innopet-check--save:has(input:checked) {
  border-color: var(--innopet-navy);
  background: #eef3ff;
}
.innopet-check--save input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
}
.innopet-check--save span {
  line-height: 1.4;
  color: var(--innopet-navy);
}

.innopet-addon-option {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1.5px solid #e1e7f0;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 16px;
  cursor: pointer;
  background: #fff;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.innopet-buy .innopet-addon-option { margin-top: -4px; }
.innopet-summary .innopet-addon-option { margin: 0 0 14px; }
.innopet-addon-option:hover { border-color: #c3d3ee; }
.innopet-addon-option.is-active {
  border-color: var(--innopet-navy);
  background: #f5f8ff;
  box-shadow: inset 0 0 0 1px var(--innopet-navy);
}
.innopet-addon-option input {
  accent-color: var(--innopet-navy);
  width: 18px;
  height: 18px;
  margin: 0;
}
.innopet-addon-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.innopet-addon-copy strong {
  color: #1a1a1a;
  font-size: 0.95rem;
  font-weight: 800;
}
.innopet-addon-copy .innopet-addon-title,
.innopet-refill-option,
.innopet-refill-option .innopet-addon-copy,
.innopet-refill-option .innopet-addon-copy strong,
.innopet-refill-option .innopet-addon-copy .innopet-addon-title {
  color: #1a1a1a;
  font-size: 0.95rem;
  font-weight: 400 !important;
}
.innopet-refill-option .innopet-addon-copy small {
  font-weight: 400 !important;
}
.innopet-addon-option.is-active .innopet-addon-copy strong,
.innopet-addon-option.is-active .innopet-addon-copy .innopet-addon-title { color: var(--innopet-navy); }
.innopet-addon-copy small { color: #7a8798; font-size: 0.82rem; }
.innopet-addon-price {
  font-weight: 800;
  color: var(--innopet-orange);
  white-space: nowrap;
  font-size: 0.95rem;
}
.innopet-summary-lines .refill span:last-child {
  color: var(--innopet-navy);
  font-weight: 700;
}
.innopet-summary-refill-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--innopet-navy);
  font-size: 0.75rem;
  font-weight: 800;
  vertical-align: 1px;
}

.innopet-ship-option {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1.5px solid #e1e7f0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 10px;
  cursor: pointer;
  background: #fff;
}
.innopet-ship-option + .innopet-ship-option { margin-top: 10px; }
.innopet-ship-option.is-active {
  border-color: var(--innopet-navy);
  background: #f5f8ff;
  box-shadow: inset 0 0 0 1px var(--innopet-navy);
}
.innopet-ship-option input { accent-color: var(--innopet-navy); }
.innopet-ship-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.innopet-ship-copy strong { color: #1a1a1a; font-size: 0.98rem; }
.innopet-ship-copy small { color: #7a8798; }
.innopet-ship-price { font-weight: 800; color: #334; white-space: nowrap; }
.innopet-ship-price.is-free { color: var(--innopet-green-text); }
.innopet-ship-sample-note {
  margin: 0;
  padding: 14px 16px;
  border: 1.5px solid rgba(11, 43, 90, 0.12);
  border-radius: 14px;
  background: rgba(11, 43, 90, 0.03);
  color: var(--innopet-navy);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.45;
}

.innopet-summary-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--innopet-navy);
}
.innopet-summary-head h2 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--innopet-navy);
  font-weight: 800;
}
.innopet-summary-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #e6ebf2;
}
.innopet-summary-item--addon {
  align-items: center;
  margin-top: -8px;
}
.innopet-summary-item--addon .innopet-summary-meta {
  flex: 1;
}
.innopet-summary-item--addon .innopet-addon-price {
  flex: 0 0 auto;
  font-weight: 700;
  color: var(--innopet-navy);
}
.innopet-summary-pack-name {
  display: block;
  line-height: 1.35;
}
.innopet-summary-pack-label {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
}
.innopet-summary-pack-refill {
  display: block;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
}
.innopet-summary-trial-name {
  display: block;
  line-height: 1.35;
}
.innopet-summary-trial-label {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
}
.innopet-summary-thumb--sm {
  width: 64px;
  height: 64px;
}
.innopet-species {
  display: inline-flex;
  gap: 6px;
  margin: 10px 0 4px;
  padding: 4px;
  border-radius: 999px;
  background: #eef2f8;
  border: 1px solid #d7e0ee;
}
.innopet-species__btn {
  border: 0;
  background: transparent;
  color: #5b6b7c;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.2;
}
.innopet-species__btn.is-active {
  background: #fff;
  color: var(--innopet-navy);
  box-shadow: 0 2px 8px rgba(15, 40, 80, 0.1);
}
.innopet-species--compact {
  margin: 8px 0 0;
  display: flex;
  width: fit-content;
}
.innopet-species--compact .innopet-species__btn {
  font-size: 0.78rem;
  padding: 6px 12px;
}
.innopet-upsell__product { margin-bottom: 4px; }
.innopet-summary-thumb {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #eef2f7;
  background: #f5f7fb;
  flex: 0 0 auto;
}
.innopet-summary-meta strong {
  display: block;
  color: #1a1a1a;
  font-size: 0.98rem;
  line-height: 1.35;
  margin-bottom: 4px;
}
.innopet-summary-size {
  color: #7a8798;
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.innopet-summary-qty {
  display: inline-flex;
  border: 1.5px solid var(--innopet-navy);
  color: var(--innopet-navy);
  border-radius: 8px;
  padding: 2px 10px;
  font-weight: 800;
  font-size: 0.85rem;
}
.innopet-summary-lines {
  list-style: none;
  padding: 0;
  margin: 0;
}
.innopet-summary-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  color: #5b6b7c;
  font-size: 0.95rem;
}
.innopet-summary-lines li[hidden] {
  display: none !important;
}
.innopet-summary-lines .discount span:last-child { color: #e11d48; font-weight: 700; }
.innopet-summary-lines .shipping .innopet-ship-fee { font-weight: 700; color: #334; }
.innopet-summary-lines .shipping .innopet-ship-fee.is-free { color: var(--innopet-green-text); }
.innopet-summary-lines .total {
  border-top: 1px solid #e8edf5;
  margin-top: 8px;
  padding-top: 14px;
  align-items: baseline;
}
.innopet-summary-lines .total span:first-child {
  color: var(--innopet-navy);
  font-weight: 800;
}
.innopet-total {
  color: var(--innopet-orange);
  font-size: 1.55rem;
  font-weight: 800;
}

.innopet-side-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #334;
}
.innopet-side-trust .ico {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e8eefc;
  color: var(--innopet-navy);
  margin-right: 8px;
  font-size: 0.75rem;
}
.innopet-side-trust .ico-green {
  background: #e7f8ec;
  color: var(--innopet-green-text);
}
.innopet-side-trust > div {
  display: flex;
  align-items: center;
}

.innopet-empty-cart { margin: 0; color: #667; }

.innopet-pay-panel {
  border-color: #cfe0ff;
  padding-bottom: 0;
  overflow: hidden;
}
.innopet-pay-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: var(--innopet-navy);
  font-size: 1.15rem;
  font-weight: 800;
}
.innopet-pay-heading .ico {
  display: inline-flex;
  width: 26px;
  height: 26px;
  color: var(--innopet-navy);
}
.innopet-pay-heading .ico svg { width: 26px; height: 26px; }
.innopet-pay-list {
  display: flex;
  flex-direction: column;
}
.innopet-pay-option {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 4px;
  border-bottom: 1px solid #e8eef8;
  cursor: pointer;
  background: transparent;
  border-radius: 0;
  margin: 0;
}
.innopet-pay-option:last-of-type { border-bottom: 0; }
.innopet-pay-option input {
  accent-color: var(--innopet-navy);
  width: 18px;
  height: 18px;
  margin: 0;
}
.innopet-pay-option.is-selected {
  background: transparent;
  box-shadow: none;
}
.innopet-pay-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.innopet-pay-text strong {
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 800;
}
.innopet-pay-option.is-selected .innopet-pay-text strong { color: var(--innopet-navy); }
.innopet-pay-text small { color: var(--innopet-muted); font-size: 0.88rem; }
.innopet-pay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 72px;
}
.innopet-brand-badge--promptpay {
  display: inline-flex;
  border: 1.5px solid #1a3a8f;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  line-height: 0;
}
.innopet-brand-badge--promptpay svg {
  width: 108px;
  height: 26px;
  display: block;
}
.innopet-pay-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
.innopet-pay-glyph svg { width: 40px; height: 40px; }
.innopet-pay-glyph--qr {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #0b1f4a;
  color: #ffffff;
  flex-shrink: 0;
}
.innopet-pay-glyph--qr svg {
  width: 28px;
  height: 28px;
  display: block;
}
.innopet-pay-glyph--img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}
.innopet-pay-glyph__img {
  display: block !important;
  width: 48px !important;
  height: 48px !important;
  max-width: none;
  object-fit: contain;
  visibility: visible !important;
  opacity: 1 !important;
}
.innopet-pay-icon--bank .innopet-pay-glyph--qr {
  background: #0b1f4a;
  color: #fff;
}
.innopet-pay-icon--cod .innopet-pay-glyph--img {
  background: #fff;
  border: 1px solid #e8eef8;
  padding: 4px;
  box-sizing: border-box;
}
.innopet-pay-icon--cod .innopet-pay-glyph__img {
  width: 40px !important;
  height: 40px !important;
}
.innopet-card-logos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.innopet-card-logo {
  display: inline-flex;
  line-height: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.innopet-card-logo svg {
  width: 42px;
  height: 26px;
  display: block;
}
.innopet-pay-secure {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px -20px 0;
  padding: 14px 20px;
  background: #eef5ff;
  color: var(--innopet-navy);
  font-size: 0.92rem;
  font-weight: 600;
  border-top: 1px solid #d9e6ff;
}
.innopet-pay-secure .ico {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}
.innopet-pay-secure .ico svg { width: 20px; height: 20px; }

.innopet-coupon-block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #e6ebf2;
}
.innopet-coupon-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--innopet-navy);
  font-weight: 800;
}
.innopet-coupon-label .ico {
  display: inline-flex;
  width: 20px;
  height: 20px;
}
.innopet-coupon-label .ico svg { width: 20px; height: 20px; }
.innopet-coupon {
  display: flex;
  gap: 8px;
  margin-bottom: 0;
}
.innopet-coupon-pack-hint {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: #6b7c93;
  line-height: 1.35;
}
.innopet-coupon input {
  flex: 1;
  border: 1px solid #d5deea;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  min-width: 0;
}
.innopet-btn-mini {
  border: 0;
  background: var(--innopet-navy);
  color: #fff;
  border-radius: 10px;
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font: inherit;
}
.innopet-btn-mini:hover { background: var(--innopet-navy-2); }

.innopet-place-order--wide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 22px;
  padding: 16px 20px;
  font-size: 1.08rem;
  border-radius: 14px;
}
.innopet-place-order--wide .ico {
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: #fff;
}
.innopet-place-order--wide .ico svg { width: 20px; height: 20px; }

body.innopet-modal-open { overflow: hidden; }
.innopet-pay-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 16px;
}
.innopet-pay-modal[hidden] { display: none !important; }
.innopet-pay-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}
.innopet-pay-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 50vw;
  min-width: 380px;
  max-width: 760px;
  max-height: min(88vh, 820px);
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  padding: 24px 24px 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  font-family: var(--innopet-font);
}
.innopet-pay-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-bottom: 8px;
}
@media (max-width: 640px) {
  .innopet-pay-modal__dialog {
    width: 100%;
    min-width: 0;
  }
}
.innopet-pay-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: #667;
  cursor: pointer;
}
.innopet-pay-modal__badge {
  display: inline-flex;
  align-items: center;
  background: #fff4e5;
  color: #b45309;
  border: 1px solid #fdba74;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.innopet-pay-modal__title {
  margin: 0 0 6px;
  color: var(--innopet-navy);
  font-size: 1.2rem;
  font-weight: 800;
  padding-right: 24px;
}
.innopet-pay-modal__amount {
  margin: 0 0 16px;
  color: #556;
}
.innopet-pay-modal__total { color: var(--innopet-orange); font-size: 1.15rem; }
.innopet-pay-modal__hint {
  margin: 0 0 12px;
  color: var(--innopet-muted);
  font-size: 0.92rem;
}
.innopet-pay-modal__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 8px;
  color: #445;
  text-align: center;
}
.innopet-pay-spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid #dbe7ff;
  border-top-color: var(--innopet-navy);
  animation: innopet-spin 0.8s linear infinite;
}
@keyframes innopet-spin { to { transform: rotate(360deg); } }
.innopet-qr-wrap {
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  padding: 12px;
  border: 1px solid #e5ebf5;
  border-radius: 12px;
  background: #fafbfd;
  width: fit-content;
}
.innopet-qr { width: 180px; height: 180px; }
.innopet-pay-meta {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  border: 1px solid #e8eef8;
  border-radius: 12px;
  overflow: hidden;
}
.innopet-pay-meta li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #eef2f8;
  font-size: 0.92rem;
}
.innopet-pay-meta li:last-child { border-bottom: 0; }
.innopet-pay-meta span { color: #6b7a8d; }
.innopet-pay-meta strong { color: #1a1a1a; text-align: right; font-weight: 700; }
.innopet-modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
  font-weight: 500;
  font-size: 0.88rem;
  color: #445;
}
.innopet-modal-field input {
  border: 1px solid #d5deea;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  font-weight: 500;
  color: #1a1a1a;
  background: #fff;
}
.innopet-modal-field input:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
.innopet-modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.innopet-bank-steps {
  margin: 14px 0 0;
}
.innopet-pp {
  margin: 0 0 14px;
  padding: 16px 14px 14px;
  border-radius: 16px;
  border: 1px solid #d5e8db;
  background:
    linear-gradient(180deg, #f4faf6 0%, #ffffff 55%);
  box-shadow: 0 10px 28px rgba(15, 122, 42, 0.08);
  text-align: center;
}
.innopet-pp--success {
  margin-bottom: 12px;
  box-shadow: none;
}
.innopet-pp__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 14px;
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #cfe8d4;
  color: #356046;
  font-size: 0.78rem;
  font-weight: 600;
}
.innopet-pp__badge-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #0f7a2a;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.innopet-pp__qr-wrap {
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  width: fit-content;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e4efe7;
  box-shadow: 0 4px 16px rgba(15, 50, 25, 0.06);
}
.innopet-pp__qr {
  display: block;
  width: min(240px, 68vw);
  height: auto;
  aspect-ratio: 1;
  border-radius: 6px;
}
.innopet-pp__qr-missing {
  width: 200px;
  height: 200px;
  display: grid;
  place-items: center;
  color: #996800;
  font-size: 0.88rem;
  background: #fffbeb;
  border-radius: 8px;
}
.innopet-pp__name {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #14201a;
}
.innopet-pp__amount {
  margin: 0 0 12px;
  color: #556;
  font-size: 0.92rem;
}
.innopet-pp__amount strong {
  display: inline-block;
  margin-left: 4px;
  color: #0f7a2a;
  font-size: 1.12rem;
}
.innopet-pp__steps {
  list-style: none;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7fbf8;
  border: 1px solid #e8f0e9;
  text-align: left;
  counter-reset: ppstep;
}
.innopet-pp__steps li {
  position: relative;
  padding: 6px 0 6px 28px;
  font-size: 0.86rem;
  color: #356046;
  line-height: 1.4;
  counter-increment: ppstep;
}
.innopet-pp__steps li::before {
  content: counter(ppstep);
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #138f2d;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.innopet-pp__note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: #6b7c70;
}

/* Bank transfer — PromptPay QR card */
.innopet-bank-card {
  margin: 0 0 14px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  color: #14201a;
  border: 1px solid #dbe4f0;
  box-shadow: 0 10px 24px rgba(0, 51, 153, 0.08);
}
.innopet-bank-card__qr-wrap {
  background: #fff;
  padding: 0;
}
.innopet-bank-card__qr {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1537 / 2257;
  object-fit: contain;
  object-position: top center;
  background: #fff;
}
.innopet-bank-card__info {
  border-top: 1px solid #e8eef6;
}
.innopet-bank-card__pay {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: #f4f7fd;
}
.innopet-bank-card__pay-label {
  margin: 0;
  color: #5b6b7c;
  font-size: 0.86rem;
}
.innopet-bank-card__amount,
.innopet-bank-card .innopet-pay-modal__total {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--innopet-orange, #ff6a00);
}
.innopet-bank-card__fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 16px 12px;
  font-size: 0.82rem;
  color: #5b6b7c;
}
.innopet-bank-card__account {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.innopet-bank-card__number {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  color: #003399;
}
.innopet-bank-copy {
  border: 0;
  background: #003399;
  color: #fff;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.innopet-bank-copy:hover { background: #002b80; }
.innopet-bank-copy.is-copied { background: #15803d; }
.innopet-bank-card__extra {
  padding: 0 16px 12px;
}
.innopet-bank-card__extra .innopet-bank-steps {
  margin-top: 4px;
}
@media (min-width: 721px) {
  .innopet-bank-card {
    display: grid;
    grid-template-columns: minmax(200px, 240px) 1fr;
    align-items: stretch;
  }
  .innopet-bank-card__qr-wrap {
    border-right: 1px solid #e8eef6;
  }
  .innopet-bank-card__qr {
    max-height: 360px;
  }
  .innopet-bank-card__info {
    border-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .innopet-pay-modal__dialog {
    width: min(820px, 92vw);
    max-width: 820px;
  }
}

.innopet-transfer-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
@media (max-width: 520px) {
  .innopet-transfer-fields { grid-template-columns: 1fr; }
}

/* Slip upload */
.innopet-slip { margin: 0 0 4px; }
.innopet-slip__dropzone {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 22px 16px;
  border: 1.5px dashed #b7c9b0;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fbf6 0%, #eef7ec 100%);
  color: #2f5d34;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.innopet-slip__dropzone:hover,
.innopet-slip__dropzone.is-dragover {
  border-color: #138f2d;
  background: linear-gradient(180deg, #eefae9 0%, #dff3db 100%);
  transform: translateY(-1px);
}
.innopet-slip__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  color: #138f2d;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  box-shadow: 0 4px 12px rgba(19, 143, 45, 0.12);
}
.innopet-slip__icon svg { width: 22px; height: 22px; }
.innopet-slip__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #14532d;
}
.innopet-slip__hint {
  font-size: 0.8rem;
  color: #5b7a5f;
  font-weight: 400;
}
.innopet-slip__preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #d7e8d4;
  border-radius: 14px;
  background: #f8fcf7;
}
.innopet-slip__preview[hidden] { display: none !important; }
.innopet-slip__thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  background: #e8f0e6;
  flex-shrink: 0;
}
.innopet-slip__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.innopet-slip__filename {
  font-size: 0.9rem;
  color: #1a1a1a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
}
.innopet-slip__remove {
  align-self: flex-start;
  border: 0;
  background: transparent;
  color: #b45309;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}
.innopet-slip__remove:hover { text-decoration: underline; }

.innopet-slip-status {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.innopet-slip-status__dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
  flex-shrink: 0;
}
.innopet-slip-status strong {
  display: block;
  color: #166534;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.innopet-slip-status p {
  margin: 0;
  color: #3f6b4a;
  font-size: 0.85rem;
  line-height: 1.4;
}
.innopet-pay-modal__actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  flex: 0 0 auto;
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin: 0 -24px 0;
  padding: 12px 24px 16px;
  background: #fff;
  border-top: 1px solid #e8eef6;
  box-shadow: 0 -8px 18px rgba(15, 23, 42, 0.06);
}
.innopet-pay-modal__actions .innopet-pay-modal__confirm {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  width: 100%;
}
.innopet-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #d5deea;
  background: #fff;
  color: #334;
  border-radius: 12px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.innopet-btn-ghost:hover { background: #f7f9fc; }
.innopet-pay-modal__confirm:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.innopet-pay-modal__confirm.is-submitting:disabled {
  opacity: 0.7;
  cursor: wait;
}

.innopet-success {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
  align-items: stretch;
}
.innopet-success > .innopet-panel {
  display: flex;
  flex-direction: column;
}
.innopet-success .innopet-btn { margin-top: auto; }

.innopet-success-line {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid #b7ebc6;
  background: linear-gradient(180deg, #f2fbf5 0%, #ffffff 100%);
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.08);
}
.innopet-success-line__copy {
  min-width: 0;
  flex: 1 1 220px;
}
.innopet-success-line__copy strong {
  display: block;
  color: var(--innopet-navy, #003399);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.innopet-success-line__copy p {
  margin: 0;
  color: #5b6b7c;
  font-size: 0.9rem;
  line-height: 1.4;
}
.innopet-success-line__btn {
  margin-top: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #06c755;
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(6, 199, 85, 0.28);
}
.innopet-success-line__btn:hover {
  background: #05b34c;
  color: #fff;
}
.innopet-success-line__icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
}
.innopet-success-line__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.innopet-success-thanks { text-align: center; align-items: center; }
.innopet-success-check {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #22c55e;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.28);
}
.innopet-success-check svg { width: 32px; height: 32px; }
.innopet-success-thanks h2 {
  margin: 0 0 6px;
  color: var(--innopet-navy);
  font-size: 1.3rem;
  font-weight: 800;
}
.innopet-success-sub {
  margin: 0 0 16px;
  color: #5b6b7c;
  font-size: 0.95rem;
}
.innopet-order-box {
  width: 100%;
  border: 1.5px dashed #b9cbea;
  border-radius: 12px;
  background: #f7faff;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.innopet-order-box__label {
  display: block;
  color: #7a8798;
  font-size: 0.78rem;
  margin-bottom: 2px;
}
.innopet-order-box__value {
  display: block;
  color: var(--innopet-navy);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  word-break: break-all;
}
.innopet-success-note {
  margin: 0 0 10px;
  color: #5b6b7c;
  font-size: 0.9rem;
}
.innopet-channel-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}
.innopet-channel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #22a45d;
}
.innopet-channel .dot {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #22a45d;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
}
.innopet-channel--line { color: #06c755; }
.innopet-channel--line .dot { background: #06c755; }

.innopet-success-order .innopet-summary-item { margin-bottom: 12px; padding-bottom: 12px; }
.innopet-success-order .innopet-summary-lines { margin-bottom: 16px; }

.innopet-info-list { margin: 0 0 18px; }
.innopet-info-list > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 6px 0;
  align-items: start;
}
.innopet-info-list dt {
  color: #7a8798;
  font-size: 0.86rem;
}
.innopet-info-list dd {
  margin: 0;
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}
.innopet-info-list dd.is-navy { color: var(--innopet-navy); font-weight: 700; }
.innopet-pay-state { font-weight: 800; }
.innopet-pay-state--pending { color: var(--innopet-orange); }
.innopet-pay-state--paid { color: var(--innopet-green-text); }
.innopet-pay-state--info { color: var(--innopet-navy); }

.innopet-btn-outline {
  background: #fff;
  color: var(--innopet-navy);
  border: 1.5px solid #c3d3ee;
  font-size: 0.98rem;
  padding: 12px 18px;
}
.innopet-btn-outline:hover { background: #f4f8ff; color: var(--innopet-navy); }
.innopet-btn-icon .ico {
  display: inline-flex;
  width: 20px;
  height: 20px;
}
.innopet-btn-icon .ico svg { width: 20px; height: 20px; }
.innopet-success .innopet-btn-navy { max-width: none; }

.innopet-order-link {
  margin-top: auto;
  width: 100%;
  padding-top: 16px;
}
.innopet-order-link__hint {
  margin: 0 0 10px;
  color: #5b6b7c;
  font-size: 0.88rem;
  line-height: 1.45;
}
.innopet-order-link__row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.innopet-order-link__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 1.5px solid #d5deea;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.82rem;
  color: #334;
  background: #f7f9fc;
}
.innopet-order-link__row .innopet-btn {
  flex: 0 0 auto;
  width: auto;
  margin: 0 !important;
  white-space: nowrap;
  padding: 12px 14px;
  font-size: 0.92rem;
}
.innopet-copy-order-link.is-copied {
  background: var(--innopet-green-text);
}

.innopet-next-step {
  margin-top: 18px;
  border-color: #cfe0ff;
}
/* COD sits outside the 3-col success grid — match one column (~success-thanks) */
.innopet-next-step--cod {
  width: 40%;
  max-width: 40%;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}
.innopet-mock-tag {
  display: inline-flex;
  background: #fff4e5;
  color: #b45309;
  border: 1px solid #fdba74;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.innopet-next-step h3 {
  margin: 0 0 14px;
  color: var(--innopet-navy);
  font-size: 1.08rem;
  font-weight: 800;
}
.innopet-next-step__body {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.innopet-next-step__body .innopet-pay-meta {
  flex: 1;
  min-width: 260px;
  margin-bottom: 0;
}
.innopet-next-step__body .innopet-qr-wrap { margin: 0; }
.innopet-next-step__hint {
  flex-basis: 100%;
  margin: 12px 0 0;
  color: var(--innopet-muted);
  font-size: 0.9rem;
}
.innopet-next-step__hint--emphasis {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}
.innopet-pay-meta strong.is-paid { color: var(--innopet-green-text); }
.innopet-pay-meta strong .ico {
  display: inline-flex;
  width: 15px;
  height: 15px;
  vertical-align: -2px;
  color: #8fa3bd;
}
.innopet-pay-meta strong .ico svg { width: 15px; height: 15px; }

.innopet-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: #111827;
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 9999;
  font-size: 0.92rem;
}

/* ---------- Upsell interstitial modal ---------- */
body.innopet-upsell-open { overflow: hidden; }
.innopet-checkout--upsell {
  min-height: 0;
  padding: 0;
  max-width: none;
}
.innopet-upsell {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: grid;
  place-items: center;
  padding: max(10px, env(safe-area-inset-top)) 12px max(10px, env(safe-area-inset-bottom));
}
.innopet-upsell__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255, 106, 0, 0.18), transparent 55%),
    rgba(10, 18, 36, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.innopet-upsell__dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  height: auto;
  max-height: min(96dvh, 100%);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 28px 64px rgba(8, 20, 48, 0.28);
  font-family: var(--innopet-font);
}
.innopet-upsell__top {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  padding: 12px 14px 0;
  background: linear-gradient(180deg, #f7f9ff 0%, #fff 72%);
}
.innopet-upsell__timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #c2410c;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  transform-origin: center;
}
.innopet-upsell__timer-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ea580c;
  box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.45);
  animation: innopet-upsell-pulse 1.4s ease-out infinite;
  flex-shrink: 0;
}
.innopet-upsell__timer-icon {
  display: none;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #b91c1c;
}
.innopet-upsell__timer-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}
@keyframes innopet-upsell-pulse {
  0% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(234, 88, 12, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}
@keyframes innopet-upsell-shake {
  0%, 100% { transform: translate3d(0, 0, 0); }
  15% { transform: translate3d(-3px, 0, 0) rotate(-1.2deg); }
  30% { transform: translate3d(3px, 0, 0) rotate(1.2deg); }
  45% { transform: translate3d(-2px, 0, 0) rotate(-0.8deg); }
  60% { transform: translate3d(2px, 0, 0) rotate(0.8deg); }
  75% { transform: translate3d(-1px, 0, 0); }
}
.innopet-upsell__timer-value {
  font-variant-numeric: tabular-nums;
  font-size: 1.2rem;
  font-weight: 800;
  color: #9a3412;
  min-width: 2.8em;
  text-align: center;
  letter-spacing: 0.01em;
}
/* ≤ 1 minute: shake + urgency icon */
.innopet-upsell__timer.is-urgent {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
  animation: innopet-upsell-shake 0.55s ease-in-out infinite;
}
.innopet-upsell__timer.is-urgent .innopet-upsell__timer-dot {
  display: none;
}
.innopet-upsell__timer.is-urgent .innopet-upsell__timer-icon {
  display: block;
  animation: innopet-upsell-pulse 1s ease-out infinite;
}
.innopet-upsell__timer.is-urgent .innopet-upsell__timer-value {
  color: #991b1b;
}
@media (prefers-reduced-motion: reduce) {
  .innopet-upsell__timer.is-urgent {
    animation: none;
  }
  .innopet-upsell__timer.is-urgent .innopet-upsell__timer-icon {
    animation: none;
  }
  .innopet-checkout--upsell.is-upsell-urgent .innopet-upsell__panel.is-active .innopet-upsell__media {
    animation: none;
  }
}
.innopet-upsell__stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.innopet-upsell__panel {
  flex: 1 1 auto;
  min-height: 0;
  display: none;
  flex-direction: column;
}
.innopet-upsell__panel.is-active,
.innopet-upsell__panel:not([hidden]) {
  display: flex;
}
.innopet-upsell__panel[hidden] { display: none !important; }
.innopet-upsell__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  --innopet-upsell-pad-x: 16px;
  padding: 14px var(--innopet-upsell-pad-x) 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.innopet-upsell__body > *:not(.innopet-upsell__perks) {
  margin: 0 !important;
}
.innopet-upsell__perks,
.innopet-upsell__body > .innopet-upsell__perks {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  text-align: center !important;
}
.innopet-upsell__perks-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}
.innopet-upsell__perk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  margin: 0 auto !important;
  padding: 0;
  color: #334155;
  font-weight: 400;
  font-size: 0.88rem;
  line-height: 1.35;
  width: auto;
  max-width: 100%;
  text-align: center;
}
.innopet-upsell__perk-check {
  flex: 0 0 auto;
  color: var(--innopet-green-text, #16a34a);
  font-weight: 700;
  line-height: 1;
}
.innopet-upsell__actions {
  flex: 0 0 auto;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #eef2f7;
  background: linear-gradient(180deg, #fafbfd 0%, #fff 40%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.innopet-upsell__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #003399, #1d4ed8);
  color: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.innopet-upsell__badge--soft {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fdba74;
}
.innopet-upsell__eyebrow {
  color: var(--innopet-orange);
  font-weight: 600;
  font-size: clamp(1.05rem, 3.2vw, 1.22rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.innopet-upsell__media {
  box-sizing: border-box;
  width: calc(100% + (2 * var(--innopet-upsell-pad-x)));
  margin-left: calc(-1 * var(--innopet-upsell-pad-x)) !important;
  margin-right: calc(-1 * var(--innopet-upsell-pad-x)) !important;
  aspect-ratio: 2 / 1;
  height: auto;
  max-height: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  background: #f4f7fb;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.innopet-upsell__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.innopet-upsell__media[data-upsell-image="pack"],
.innopet-upsell__media[data-upsell-image="mega"] {
  aspect-ratio: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.innopet-upsell__media[data-upsell-image="trial"] {
  /* Square product shot — full width of upsell body; short viewports scroll body */
  aspect-ratio: 1 / 1;
  width: calc(100% + (2 * var(--innopet-upsell-pad-x)));
  max-width: none;
  height: auto;
  max-height: none;
  margin-left: calc(-1 * var(--innopet-upsell-pad-x)) !important;
  margin-right: calc(-1 * var(--innopet-upsell-pad-x)) !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #f4f7fb;
  flex: 0 0 auto;
}
.innopet-upsell__media[data-upsell-image="pack"] img,
.innopet-upsell__media[data-upsell-image="mega"] img,
.innopet-upsell__media[data-upsell-image="trial"] img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center center;
}
.innopet-upsell__media--placeholder span {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 400;
}
.innopet-checkout--upsell.is-upsell-urgent .innopet-upsell__panel.is-active .innopet-upsell__media {
  animation: innopet-upsell-shake 0.55s ease-in-out infinite;
  transform-origin: center center;
}
.innopet-upsell__title {
  color: var(--innopet-navy);
  font-size: clamp(1.05rem, 2.8vw, 1.2rem);
  font-weight: 600;
  line-height: 1.3;
  max-width: 20em;
}
.innopet-upsell__title-num {
  display: inline-block;
  font-size: 1.75em;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--innopet-orange);
  vertical-align: -0.06em;
}
.innopet-upsell__size {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.3;
  font-weight: 400;
}
.innopet-upsell__product {
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.25;
}
.innopet-upsell__product strong { color: inherit; font-weight: 400; }
.innopet-upsell__price {
  color: var(--innopet-orange);
  font-weight: 400;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px !important;
}
.innopet-upsell__price .prefix {
  color: var(--innopet-navy);
  font-size: 0.95rem;
  font-weight: 500;
}
.innopet-upsell__price .num {
  font-size: clamp(1.85rem, 5.2vw, 2.25rem);
  letter-spacing: -0.03em;
  font-weight: 700;
}
.innopet-upsell__price .unit {
  font-size: 1.1rem;
  font-weight: 600;
  margin-left: 0;
}
.innopet-upsell__price--trial .num { font-size: clamp(1.65rem, 5vw, 2rem); }
.innopet-upsell__per {
  color: #475569;
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.3;
}
.innopet-upsell__actions .innopet-btn {
  width: 100%;
  margin: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-weight: 400;
  box-shadow: 0 8px 18px rgba(255, 106, 0, 0.2);
}
.innopet-upsell-decline,
.innopet-upsell-skip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin: 0;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #f8fafc;
  color: #334155;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 400;
  cursor: pointer;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}
.innopet-upsell-decline:hover,
.innopet-upsell-skip:hover {
  background: #eef2f7;
  border-color: #94a3b8;
  color: #0f172a;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.innopet-upsell-decline:focus-visible,
.innopet-upsell-skip:focus-visible {
  outline: 2px solid #003399;
  outline-offset: 2px;
}
.innopet-upsell-decline:active,
.innopet-upsell-skip:active {
  background: #e2e8f0;
  border-color: #64748b;
  color: #0f172a;
}

@media (max-width: 640px) {
  .innopet-upsell { padding: 8px; }
  .innopet-upsell__dialog {
    width: 80%;
    height: auto;
    max-height: min(96dvh, 100%);
    border-radius: 16px;
  }
  .innopet-upsell__body {
    --innopet-upsell-pad-x: 12px;
    padding: 12px var(--innopet-upsell-pad-x) 14px;
    gap: 7px;
  }
  .innopet-upsell__actions {
    padding: 12px;
    gap: 10px;
  }
}

@media (max-height: 760px) {
  .innopet-upsell__media {
    width: calc(100% + (2 * var(--innopet-upsell-pad-x)));
    margin-left: calc(-1 * var(--innopet-upsell-pad-x)) !important;
    margin-right: calc(-1 * var(--innopet-upsell-pad-x)) !important;
  }
  .innopet-upsell__price .num { font-size: 1.8rem; }
  .innopet-upsell__title { font-size: 1.1rem; }
}

@media (max-height: 640px) {
  .innopet-upsell__body {
    --innopet-upsell-pad-x: 12px;
    gap: 6px;
    padding: 10px var(--innopet-upsell-pad-x) 12px;
  }
  .innopet-upsell__size { font-size: 0.8rem; }
  .innopet-upsell__media {
    width: calc(100% + (2 * var(--innopet-upsell-pad-x)));
    margin-left: calc(-1 * var(--innopet-upsell-pad-x)) !important;
    margin-right: calc(-1 * var(--innopet-upsell-pad-x)) !important;
  }
  .innopet-upsell__actions {
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
  }
  .innopet-upsell__actions .innopet-btn { padding: 10px 12px; }
  .innopet-upsell-decline,
  .innopet-upsell-skip {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.82rem;
  }
}

/* ---------- Tablet landscape (≤1024px) ---------- */
@media (max-width: 1024px) {
  .innopet-shop,
  .innopet-checkout { padding-bottom: 36px; }

  /* 1. Product */
  .innopet-product { gap: 26px; padding-top: 20px; }
  .innopet-gallery { grid-template-columns: 68px minmax(0, 1fr); }
  .innopet-thumbs-wrap { min-height: 0; height: auto; }
  .innopet-thumbs { max-height: 420px; }
  .innopet-main-image,
  .innopet-main-video { height: 420px; }
  .innopet-main-media { min-height: 420px; }

  /* 2-3. Shipping + payment */
  .innopet-checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .innopet-checkout-side { position: static; }

  /* 4. Success */
  .innopet-success { grid-template-columns: minmax(0, 1fr); }
  .innopet-success .innopet-btn { margin-top: 16px; }
  .innopet-success-line {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .innopet-success-line__btn { width: 100%; }
  .innopet-next-step--cod {
    width: 100%;
    max-width: 100%;
  }
}

/* ---------- Tablet portrait / large phone (≤900px) ---------- */
@media (max-width: 900px) {
  /* clip (not hidden) so the sticky summary column keeps working */
  .innopet-shop,
  .innopet-checkout { overflow-x: clip; }
  .innopet-product { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .innopet-feature-row { gap: 10px; }
  .innopet-promo-shot { margin-top: 16px; }
  .innopet-promo-shot__item { border-radius: 12px; }
  /* Mobile: keep promo under gallery features; hide the details placement. */
  .innopet-promo-shot--in-gallery {
    display: block;
  }
  .innopet-promo-shot--before-details {
    display: none;
  }
  .innopet-checkout-top { text-align: center; }

  .innopet-progress { gap: 4px; padding: 14px 0 22px; }
  .innopet-progress::before { left: 10%; right: 10%; top: 30px; }
  .innopet-progress-step .ico { width: 38px; height: 38px; }
  .innopet-progress-step .ico svg { width: 18px; height: 18px; }
  .innopet-progress-step .label { font-size: 0.72rem; }

  /* Gallery: thumbnails move below the main image */
  .innopet-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .innopet-gallery-col { gap: 16px; }
  .innopet-thumbs-wrap {
    min-height: 0;
    flex-direction: row;
    max-width: 100%;
    order: 2;
  }
  .innopet-thumbs {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
  }
  .innopet-thumb { width: 68px; scroll-snap-align: start; }
  .innopet-thumb img { width: 68px; height: 68px; }
  .innopet-thumbs-nav { transform: rotate(-90deg); }
  /* Full-bleed gallery: square box matches the square product photos, so the
     infographics stay readable instead of being cropped. */
  .innopet-main-media { order: 1; min-height: 0; }
  .innopet-main-image,
  .innopet-main-video {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* ---------- Phone (≤640px) ---------- */
@media (max-width: 640px) {
  .innopet-shop,
  .innopet-checkout { padding: 0 12px 32px; }
  .innopet-panel { padding: 16px; border-radius: 12px; }

  /* Stepper: drop the connector, keep icons legible */
  .innopet-progress { padding: 10px 0 18px; }
  .innopet-progress::before { display: none; }
  .innopet-progress-step .ico { width: 34px; height: 34px; margin-bottom: 6px; }
  .innopet-progress-step .ico svg { width: 16px; height: 16px; }
  .innopet-progress-step .label { font-size: 0.62rem; line-height: 1.25; }
  .innopet-checkout-title { font-size: 1.25rem; }

  /* 1. Product */
  .innopet-price { font-size: 1.8rem; }
  .innopet-price__num { font-size: clamp(2.45rem, 11vw, 3.1rem); }
  .innopet-price__unit { font-size: 1.05rem; }
  /* Keep all four benefits on a single row */
  .innopet-feature-row { gap: 8px; }
  .innopet-feature-item { gap: 6px; }
  .innopet-feature-icon { width: 40px; height: 40px; }
  .innopet-feature-icon svg { width: 21px; height: 21px; }
  .innopet-feature-label { font-size: 0.62rem; line-height: 1.3; }
  .innopet-promo-shot { margin-top: 14px; }
  .innopet-promo-shot__item { border-radius: 12px; }
  .innopet-qty-row { gap: 10px; }
  .innopet-btn { font-size: 1rem; padding: 14px 16px; }

  /* 2. Shipping */
  .innopet-panel-head h2,
  .innopet-summary-head h2 { font-size: 1.05rem; }
  .innopet-ship-option { grid-template-columns: 20px 1fr auto; padding: 12px; }
  .innopet-ship-copy strong { font-size: 0.92rem; }
  .innopet-ship-copy small { font-size: 0.8rem; }

  /* Summary card */
  .innopet-summary-thumb { width: 84px; height: 84px; }
  .innopet-total { font-size: 1.35rem; }

  /* 3. Payment */
  .innopet-pay-option {
    grid-template-columns: 20px 1fr;
    grid-template-areas:
      "radio text"
      ".     icon";
    row-gap: 8px;
  }
  .innopet-pay-option input { grid-area: radio; }
  .innopet-pay-text { grid-area: text; }
  .innopet-pay-icon { grid-area: icon; justify-content: flex-start; min-width: 0; }
  .innopet-pay-secure { margin: 8px -16px 0; padding: 12px 16px; font-size: 0.85rem; }
  .innopet-coupon { flex-wrap: wrap; }
  .innopet-coupon input { flex: 1 1 100%; }
  .innopet-btn-mini { flex: 1 1 100%; padding: 12px 16px; }
  .innopet-place-order--wide { font-size: 1rem; padding: 14px 16px; }

  /* Payment modal */
  .innopet-pay-modal { padding: 10px; }
  .innopet-pay-modal__dialog { padding: 20px 16px 0; max-height: 92vh; }
  .innopet-pay-modal__title { font-size: 1.05rem; }
  .innopet-modal-row { grid-template-columns: 1fr; }
  .innopet-pay-modal__actions {
    flex-direction: row;
    margin: 0 -16px 0;
    padding: 10px 16px 14px;
  }
  .innopet-qr { width: 150px; height: 150px; }

  /* 4. Success */
  .innopet-order-box__value { font-size: 1.1rem; }
  .innopet-info-list > div { grid-template-columns: 1fr; gap: 2px; }
  .innopet-info-list dd { font-size: 0.92rem; }
  .innopet-order-link__row { flex-direction: column; }
  .innopet-order-link__row .innopet-btn { width: 100%; }
  .innopet-next-step__body { flex-direction: column; gap: 14px; }
  .innopet-next-step__body .innopet-pay-meta { min-width: 0; width: 100%; }
  .innopet-next-step__body .innopet-qr-wrap { align-self: center; }
  .innopet-pay-meta li { flex-direction: column; gap: 2px; }
  .innopet-pay-meta strong { text-align: left; }
}

/* ---------- Small phone (≤380px) ---------- */
@media (max-width: 380px) {
  .innopet-progress-step .label { font-size: 0.56rem; }
  .innopet-progress-step .ico { width: 30px; height: 30px; }
  .innopet-feature-row { gap: 6px; }
  .innopet-feature-icon { width: 34px; height: 34px; }
  .innopet-feature-icon svg { width: 18px; height: 18px; }
  .innopet-feature-label { font-size: 0.55rem; }
  .innopet-summary-item { gap: 10px; }
  .innopet-summary-thumb { width: 68px; height: 68px; }
  .innopet-card-logo svg { width: 34px; height: 21px; }
  .innopet-mock-tag,
  .innopet-pay-modal__badge { font-size: 0.68rem; }
  .innopet-channel-badges { gap: 10px; }
}
/* Footer benefit row: keep short label flush left next to icon */
.kadence-column224_e6fbf5-e7 > .kt-inside-inner-col,
.kadence-column224_365419-a4 > .kt-inside-inner-col {
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0.75rem;
}
.kadence-column224_e6fbf5-e7 > .kt-inside-inner-col > .kadence-column224_2673b3-b5,
.kadence-column224_365419-a4 > .kt-inside-inner-col > .kadence-column224_2673b3-b5 {
  width: auto !important;
  max-width: calc(100% - 3.5rem) !important;
  flex: 0 1 auto !important;
  margin-left: 0 !important;
  margin-inline: 0 !important;
}
.kadence-column224_2673b3-b5 > .kt-inside-inner-col {
  align-items: flex-start !important;
}
.wp-block-kadence-advancedheading.kt-adv-heading224_6fedfd-96 {
  text-align: left !important;
  margin-left: 0 !important;
  width: auto !important;
}

/* cache-bust 1786299300 */
