/* Workbook surfaces: editorial spacing and legible brand accents. */
body:not(.admin-mode) :is(.catalog-header,.product-detail,.new-feature,.wp-review-section) {
  color: #202124;
}
body:not(.admin-mode) .catalog-header {
  padding-block: clamp(48px, 7vw, 104px) clamp(30px, 4vw, 64px);
}
body:not(.admin-mode) .catalog-header .section-heading {
  align-items: end;
  gap: clamp(32px, 5vw, 76px);
}
body:not(.admin-mode) .catalog-header .section-heading > p { display: block; }
body:not(.admin-mode) .catalog-header h1,
body:not(.admin-mode) .product-detail-copy h1 {
  color: #202124;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.08;
}
body:not(.admin-mode) :is(.catalog-header,.product-detail-copy,.new-feature-copy) p:not(.eyebrow) {
  color: #202124;
  font-size: 17px;
  line-height: 1.65;
}
/* Give the three introductory steps a shared, quiet visual distinction. */
body:not(.admin-mode) .catalog-header .method-grid > div {
  padding: 18px 20px;
  border-top: 2px solid #4978b9;
  border-radius: 0 0 12px 12px;
  background: #f1f5fa;
}
body:not(.admin-mode) .catalog-header .method-grid .eyebrow { color: #8c0a09; }
body:not(.admin-mode) .product-detail {
  padding-block: clamp(35px, 5vw, 72px) clamp(44px, 6vw, 84px);
}
body:not(.admin-mode) .product-detail-grid {
  align-items: start;
  gap: clamp(38px, 6vw, 90px);
  margin-top: clamp(26px, 3vw, 42px);
}
body:not(.admin-mode) .product-detail-grid > .product-art {
  overflow: hidden;
  border-radius: 20px;
}
body:not(.admin-mode) .product-detail-copy h1 { margin-top: 12px; }
body:not(.admin-mode) .product-detail-copy .product-lead {
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.4;
}
body:not(.admin-mode) .product-detail-copy > p:not(.eyebrow):not(.product-lead) {
  font-size: 17px;
  line-height: 1.7;
}
body:not(.admin-mode) .detail-price {
  color: #202124;
  font-size: clamp(28px, 3vw, 38px);
  margin-block: 28px 20px;
}
body:not(.admin-mode) .delivery-details { color: #202124; line-height: 1.55; }
body:not(.admin-mode) .new-feature {
  gap: clamp(32px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 20px;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(120deg, #4978b9, #8c0a09) border-box;
}
body:not(.admin-mode) .new-feature-copy { color: #202124; }
body:not(.admin-mode) .new-feature-copy h2 { color: #202124; }
body:not(.admin-mode) .new-feature-copy h2 i { color: #8c0a09; }
body:not(.admin-mode) .new-feature-copy > small { color: #202124; }
body:not(.admin-mode) .product-grid { gap: clamp(24px, 3vw, 42px); align-items: stretch; }
body:not(.admin-mode) .product-card { display: flex; flex-direction: column; min-width: 0; }
body:not(.admin-mode) .product-card .art-link { overflow: hidden; border-radius: 18px; }
body:not(.admin-mode) .product-card p { color: #202124; font-size: 17px; line-height: 1.65; }
body:not(.admin-mode) .product-card .product-actions { margin-top: auto; padding-top: 20px; }
body:not(.admin-mode) .product-title-row h3,
body:not(.admin-mode) .product-title-row > span { color: #202124; }
body:not(.admin-mode) .bundle-selector .bundle-option,
body:not(.admin-mode) .bundle-selector .bundle-selection-summary {
  color: #202124;
  border: 1px solid transparent;
  border-radius: 16px;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(120deg, #4978b9, #8c0a09) border-box;
}
body:not(.admin-mode) .bundle-option:has(input:checked) {
  outline: 2px solid #8c0a09;
  outline-offset: -2px;
}
body:not(.admin-mode) .bundle-option input { accent-color: #8c0a09; }

/* Reusable workbook content cards. */
body:not(.admin-mode) .wp-card-grid,
body:not(.admin-mode) .wp-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 30px);
  margin-top: 34px;
  align-items: stretch;
}
body:not(.admin-mode) .wp-card-grid article {
  margin: 0;
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid transparent;
  border-radius: 18px;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(120deg, #4978b9, #8c0a09) border-box;
}
body:not(.admin-mode) .wp-card-grid h3 {
  margin: 0 0 12px;
  color: #202124;
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.28;
}
body:not(.admin-mode) .wp-card-grid p {
  margin: 0;
  color: #202124;
  font-size: 17px;
  line-height: 1.65;
}
body:not(.admin-mode) .wp-preview { margin: 35px 0 0; max-width: 720px; }
body:not(.admin-mode) .wp-preview img { display: block; width: 100%; height: auto; border-radius: 16px; }
body:not(.admin-mode) .wp-preview figcaption { margin-top: 10px; color: #202124; font-size: 14px; }
body:not(.admin-mode) .wp-closing { margin-top: 30px; }

/* Real feedback stays complete in the page, without opening a new view. */
body:not(.admin-mode) .wp-review-grid { align-items: start; }
body:not(.admin-mode) .wp-review-image {
  display: block;
  margin: 0;
  min-width: 0;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(120deg, #4978b9, #8c0a09) border-box;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
body:not(.admin-mode) .wp-review-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
body:not(.admin-mode) .wp-review-grid:focus-visible,
body:not(.admin-mode) .bundle-option:focus-within {
  outline: 3px solid #8c0a09;
  outline-offset: 3px;
}
/* On pointer-equipped desktops the two screenshots form one centered fan.
   Each screenshot stays whole; hover or keyboard focus reveals both. */
@media (min-width: 701px) and (hover: hover) and (pointer: fine) {
  body:not(.admin-mode) .wp-review-grid {
    max-width: 920px;
    margin-inline: auto;
    isolation: isolate;
  }
  body:not(.admin-mode) .wp-review-grid .wp-review-image {
    position: relative;
    box-shadow: 0 8px 20px rgb(32 33 36 / 0.12);
    transition: transform 280ms ease, box-shadow 280ms ease;
  }
  body:not(.admin-mode) .wp-review-grid .wp-review-image:first-child {
    transform: translateX(42%) rotate(-4deg);
    z-index: 1;
  }
  body:not(.admin-mode) .wp-review-grid .wp-review-image:nth-child(2) {
    transform: translateX(-42%) rotate(4deg);
    z-index: 2;
  }
  body:not(.admin-mode) .wp-review-grid:is(:hover,:focus-within) .wp-review-image {
    transform: none;
  }
}
@media (max-width: 800px) {
  body:not(.admin-mode) .product-detail-grid { gap: 32px; }
  body:not(.admin-mode) .product-detail-copy h1 { font-size: clamp(38px, 8vw, 56px); }
}
@media (max-width: 600px) {
  body:not(.admin-mode) .wp-card-grid,
  body:not(.admin-mode) .wp-review-grid { grid-template-columns: 1fr; }
  body:not(.admin-mode) .wp-card-grid article { padding: 22px; }
  body:not(.admin-mode) .product-detail-copy > p:not(.eyebrow):not(.product-lead),
  body:not(.admin-mode) .product-card p,
  body:not(.admin-mode) .wp-card-grid p { font-size: 16px; }
}
@media (max-width: 700px) {
  body:not(.admin-mode) .wp-review-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  body:not(.admin-mode) .wp-review-grid .wp-review-image:first-child,
  body:not(.admin-mode) .wp-review-grid .wp-review-image:nth-child(2) {
    transition: none;
    transform: none;
  }
}
