/* DPU Printable Kids Calendar product page. Scoped to body.product-page. */

.product-page {
  --pc-green: #0F766E;
  --pc-green-dark: #115E59;
  --pc-cream: #FFFDF7;
  --pc-soft-green: #E6F4F1;
  --pc-text: #172033;
  --pc-muted: #5B6573;
  --pc-border: #E6E8EB;
  --pc-yellow: #F4B942;
  --pc-yellow-soft: #FFF3D6;
  --pc-navy: #172033;
}

.product-page .header-inner {
  gap: 20px;
}

.product-page .main-nav {
  z-index: 1;
}

.pc-product-intro {
  padding: 48px 0 64px;
  background: var(--pc-cream);
}

.pc-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  gap: clamp(30px, 5vw, 64px);
}

.pc-gallery {
  min-width: 0;
}

.pc-gallery-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--pc-border);
  border-radius: 16px;
  background: #F3F5F2;
}

.pc-gallery-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #F3F5F2;
}

.pc-gallery-slide[hidden] {
  display: none;
}

.pc-gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #FFFFFF;
}

.pc-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(23, 32, 51, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--pc-navy);
  box-shadow: 0 3px 12px rgba(23, 32, 51, 0.1);
  cursor: pointer;
}

.pc-gallery-arrow:hover {
  background: #FFFFFF;
}

.pc-gallery-arrow svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pc-gallery-prev { left: 12px; }
.pc-gallery-next { right: 12px; }

.pc-gallery-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(23, 32, 51, 0.78);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.pc-gallery-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding: 2px 1px 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.pc-gallery-thumb {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid #D8DEDA;
  border-radius: 7px;
  background: #F3F5F2;
  cursor: pointer;
}

.pc-gallery-thumb.is-active {
  border: 2px solid var(--pc-green);
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.12);
}

.pc-product-summary {
  min-width: 0;
  padding-top: 3px;
}

.pc-store-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 17px;
}

.pc-store-name {
  color: var(--pc-navy);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.pc-store-stars {
  color: #D99A15;
  font-size: 17px;
  letter-spacing: 1px;
  line-height: 1;
}

.pc-product-eyebrow {
  margin-bottom: 10px;
}

.product-page #product-title {
  margin: 0 0 22px;
  color: var(--pc-navy);
  font-family: "Manrope", "Inter", Arial, sans-serif;
  font-size: clamp(29px, 3vw, 39px);
  line-height: 1.17;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.pc-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 9px;
}

.pc-current-price {
  color: var(--pc-green-dark);
  font-family: "Manrope", "Inter", Arial, sans-serif;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.pc-currency {
  color: var(--pc-muted);
  font-size: 13px;
  font-weight: 600;
}

.pc-original-price {
  color: #707986;
  font-size: 15px;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.pc-discount {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 8px;
  border-radius: 5px;
  background: #FCE8E6;
  color: #A52A22;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.pc-sale-note {
  margin: 7px 0 22px;
  color: #A52A22;
  font-size: 13px;
  font-weight: 600;
}

.pc-highlights {
  padding: 18px 0 16px;
  border-top: 1px solid var(--pc-border);
  border-bottom: 1px solid var(--pc-border);
}

.pc-highlights h2 {
  margin: 0 0 12px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0;
}

.pc-highlights ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pc-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--pc-text);
  font-size: 14px;
  line-height: 1.45;
}

.pc-check {
  display: inline-grid;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: var(--pc-soft-green);
  color: var(--pc-green-dark);
  font-size: 12px;
  font-weight: 800;
}

.pc-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 17px 0 20px;
}

.pc-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid #E1E8E4;
  border-radius: 7px;
  background: #F7FAF8;
  color: #2E3745;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.pc-trust-pill svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--pc-green-dark);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-page .pc-buy-button {
  display: flex;
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  text-align: center;
  line-height: 1.35;
}

.pc-secure-note {
  margin: 10px 0 0;
  color: var(--pc-muted);
  font-size: 12px;
  text-align: center;
}

.pc-section {
  padding: 74px 0;
  scroll-margin-top: 96px;
}

.pc-narrow-container {
  max-width: 820px;
}

.pc-description {
  border-top: 1px solid var(--pc-border);
  background: #FFFFFF;
}

.pc-description h2,
.pc-section-heading h2,
.pc-cta h2 {
  margin: 0 0 17px;
  color: var(--pc-navy);
  font-family: "Manrope", "Inter", Arial, sans-serif;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.pc-description p:not(.eyebrow) {
  margin: 0 0 15px;
  color: var(--pc-muted);
  font-size: 16px;
  line-height: 1.8;
}

.pc-description p:last-child {
  margin-bottom: 0;
}

.pc-bundle {
  background: var(--pc-cream);
  border-top: 1px solid var(--pc-border);
  border-bottom: 1px solid var(--pc-border);
}

.pc-section-heading {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.pc-section-heading .eyebrow {
  margin-bottom: 10px;
}

.pc-section-heading h2 {
  margin-bottom: 12px;
}

.pc-section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--pc-muted);
  font-size: 16px;
  line-height: 1.7;
}

.pc-bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pc-bundle-card {
  min-width: 0;
  padding: 25px 23px;
  border: 1px solid var(--pc-border);
  border-radius: 13px;
  background: #FFFFFF;
}

.pc-main-item {
  border-color: #B7DCD4;
  background: #EAF6F2;
}

.pc-bonus-one {
  border-color: #EED89B;
  background: var(--pc-yellow-soft);
}

.pc-bonus-two {
  border-color: #D4E4DE;
  background: #F4F8F5;
}

.pc-bundle-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.pc-item-label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--pc-green-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.075em;
}

.pc-bonus-one .pc-item-label {
  color: #775000;
}

.pc-item-symbol {
  display: grid;
  flex: 0 0 37px;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--pc-green-dark);
}

.pc-bonus-one .pc-item-symbol {
  color: #775000;
}

.pc-item-symbol svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pc-bundle-card h3 {
  margin: 0 0 8px;
  color: var(--pc-navy);
  font-size: 21px;
  line-height: 1.3;
}

.pc-item-count {
  margin: 0 0 15px;
  color: var(--pc-green-dark);
  font-family: "Manrope", "Inter", Arial, sans-serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.pc-bonus-one .pc-item-count {
  color: #775000;
}

.pc-bundle-card > p:last-child {
  margin: 0;
  color: #4C5866;
  font-size: 14px;
  line-height: 1.7;
}

.pc-bundle-total {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 25px 0 0;
  padding: 17px;
  border: 1px solid var(--pc-border);
  border-radius: 10px;
  background: #FFFFFF;
}

.pc-total-icon {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--pc-soft-green);
  color: var(--pc-green-dark);
  font-size: 15px;
  font-weight: 800;
}

.pc-bundle-total p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 5px 10px;
  margin: 0;
  text-align: center;
}

.pc-bundle-total strong {
  color: var(--pc-navy);
  font-size: 15px;
}

.pc-bundle-total p span {
  color: var(--pc-muted);
  font-size: 13px;
}

.pc-cta {
  padding-top: 56px;
  padding-bottom: 30px;
  background: #FFFFFF;
}

.pc-cta-inner {
  max-width: 820px;
  text-align: center;
}

.pc-cta h2 {
  margin-bottom: 12px;
}

.pc-cta-inner > p:last-child {
  max-width: 620px;
  margin: 0 auto;
  color: var(--pc-muted);
  font-size: 17px;
  line-height: 1.7;
}

.pc-checkout {
  padding-top: 28px;
  background: #FFFFFF;
}

.pc-checkout-container {
  max-width: 760px;
}

.pc-checkout-heading {
  margin-bottom: 25px;
}

.pc-checkout-card {
  min-width: 0;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--pc-border);
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.06);
  overflow: hidden;
}

#whop-checkout {
  width: 100%;
  min-width: 0;
}

.pc-checkout-footnote {
  max-width: 600px;
  margin: 17px auto 0;
  color: var(--pc-muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.pc-how-to {
  background: var(--pc-soft-green);
  border-top: 1px solid #D4E7E1;
}

.pc-how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.pc-how-step {
  padding: 4px 0;
}

.pc-how-number {
  display: inline-block;
  margin-bottom: 19px;
  color: var(--pc-green-dark);
  font-family: "Manrope", "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pc-how-step h3 {
  margin: 0 0 9px;
  color: var(--pc-navy);
  font-size: 21px;
}

.pc-how-step p {
  margin: 0;
  color: #4E5B66;
  font-size: 14px;
  line-height: 1.75;
}

.pc-faq {
  background: #FFFFFF;
}

.pc-faq-container {
  max-width: 820px;
}

.pc-faq-list {
  border-top: 1px solid var(--pc-border);
}

.pc-faq-item {
  border-bottom: 1px solid var(--pc-border);
}

.pc-faq-item summary {
  position: relative;
  display: block;
  padding: 19px 42px 19px 0;
  color: var(--pc-navy);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.pc-faq-item summary::-webkit-details-marker {
  display: none;
}

.pc-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  color: var(--pc-green-dark);
  font-size: 23px;
  font-weight: 400;
}

.pc-faq-item[open] summary::after {
  content: "−";
}

.pc-faq-answer {
  padding: 0 28px 18px 0;
}

.pc-faq-answer p {
  margin: 0;
  color: var(--pc-muted);
  font-size: 14px;
  line-height: 1.8;
}

.product-page a:focus-visible,
.product-page button:focus-visible,
.product-page summary:focus-visible {
  outline: 3px solid var(--pc-yellow);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .pc-product-intro {
    padding-top: 34px;
  }

  .pc-product-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .pc-gallery {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
  }

  .pc-product-summary {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
  }

  .product-page #product-title {
    font-size: clamp(28px, 5vw, 36px);
  }

  .pc-bundle-grid {
    gap: 12px;
  }

  .pc-bundle-card {
    padding: 20px 17px;
  }
}

@media (max-width: 650px) {
  .product-page .header-inner {
    min-height: 70px;
    justify-content: space-between;
  }

  .product-page .main-nav {
    position: static;
    left: auto;
    transform: none;
    gap: 14px;
    margin-left: auto;
  }

  .product-page .nav-link {
    font-size: 13px;
  }

  .pc-product-intro {
    padding: 20px 0 45px;
  }

  .pc-product-layout {
    gap: 24px;
  }

  .pc-gallery-stage {
    border-radius: 12px;
  }

  .pc-gallery-arrow {
    width: 38px;
    height: 38px;
  }

  .pc-gallery-prev { left: 8px; }
  .pc-gallery-next { right: 8px; }

  .pc-gallery-thumb {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
  }

  .pc-store-line {
    margin-bottom: 13px;
  }

  .product-page #product-title {
    margin-bottom: 18px;
    font-size: clamp(27px, 7.7vw, 34px);
    line-height: 1.2;
  }

  .pc-current-price {
    font-size: 29px;
  }

  .pc-trust-pills {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pc-trust-pill {
    width: 100%;
    font-size: 13px;
  }

  .pc-section {
    padding: 54px 0;
  }

  .pc-description h2,
  .pc-section-heading h2,
  .pc-cta h2 {
    font-size: clamp(27px, 7vw, 34px);
  }

  .pc-description p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.8;
  }

  .pc-section-heading {
    margin-bottom: 25px;
    text-align: left;
  }

  .pc-bundle-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .pc-bundle-card {
    padding: 22px;
  }

  .pc-bundle-card-top {
    margin-bottom: 17px;
  }

  .pc-item-count {
    font-size: 24px;
  }

  .pc-bundle-total p {
    display: grid;
    gap: 3px;
    text-align: left;
  }

  .pc-cta {
    padding-top: 47px;
    padding-bottom: 22px;
  }

  .pc-cta-inner {
    text-align: left;
  }

  .pc-cta-inner > p:last-child {
    font-size: 16px;
  }

  .pc-checkout {
    padding-top: 20px;
  }

  .pc-checkout-heading {
    text-align: left;
  }

  .pc-checkout-card {
    padding: 13px;
    border-radius: 11px;
  }

  .pc-how-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .pc-how-number {
    margin-bottom: 10px;
  }

  .pc-faq-item summary {
    padding: 18px 35px 18px 0;
    font-size: 14px;
    line-height: 1.5;
  }
}

@media (max-width: 360px) {
  .product-page .brand {
    font-size: 24px;
  }

  .product-page .main-nav {
    gap: 10px;
  }

  .product-page .nav-link {
    font-size: 12px;
  }

  .pc-gallery-thumb {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.product-page) {
    scroll-behavior: auto;
  }
}


/* Ensure the product page uses the shared mobile dropdown */

@media (max-width: 760px) {
  .product-page .header-inner {
    justify-content: space-between;
  }

  .product-page .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 8px 12px 12px;
    transform: none;
    background: var(--pc-cream);
    border: 1px solid var(--pc-border);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 28px rgba(23, 32, 51, 0.08);
    z-index: 21;
  }

  .product-page .main-nav.is-open {
    display: flex;
  }

  .product-page .main-nav .nav-link {
    display: block;
    padding: 12px 10px;
    font-size: 15px;
    line-height: 1.4;
  }

  .product-page .main-nav .nav-link.active {
    background: var(--pc-soft-green);
    border-radius: 7px;
  }

  .product-page .main-nav .nav-link.active::after {
    display: none;
  }
}

/* Product gallery thumbnail images */

.pc-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
