.shop-catalog .section-intro {
  max-width: 850px;
}
.shop-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(125deg, #061a31, #0a4058);
  color: white;
  padding: clamp(20px, 3vw, 30px);
  border-radius: 14px;
  margin: 24px 0 28px;
}
.shop-offer .kicker {
  color: #76f4ed;
}
.shop-offer h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 6px 0 8px;
  color: white;
}
.shop-offer p:not(.kicker) {
  color: #d7eef1;
  margin: 0;
  max-width: 65ch;
}
.shop-offer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 230px;
}
.shop-regular-price {
  font-size: 0.85em;
  color: var(--muted);
  font-weight: 600;
}
.shop-sale-price {
  color: #08747c;
  font-weight: 800;
}
.shop-price-line strong .shop-regular-price {
  font-size: 0.55em;
}
.shop-topic-links a .shop-sale-price {
  color: #08747c;
}
.shop-choose {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}
.shop-choose a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--navy);
  text-decoration: none;
  padding: 16px 19px;
}
.shop-choose a:hover {
  border-color: #087f88;
  background: var(--ice);
}
.shop-choose span {
  font-size: 0.95rem;
  color: var(--muted);
}
.shop-catalog .product-grid article {
  scroll-margin-top: 105px;
}
.product-grid .shop-flagship {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
  align-items: center;
  gap: clamp(25px, 4vw, 56px);
  padding: clamp(24px, 4vw, 40px);
  border-color: #087f88;
  background: linear-gradient(115deg, #fff, #e6f7f6);
}
.shop-flagship h3 {
  font-size: clamp(1.65rem, 3.4vw, 2.5rem);
  color: var(--navy);
  margin: 16px 0 10px;
}
.shop-flagship p {
  margin: 8px 0;
}
.shop-flagship .compact-list {
  margin-bottom: 0;
}
.shop-flagship-action {
  background: white;
  border: 1px solid #b6dce0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.shop-flagship-action .product-type {
  margin: 0;
}
.shop-price-line {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.shop-price-line strong {
  font-size: 2.6rem;
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: -0.035em;
}
.shop-price-line s {
  font-size: 1.2rem;
  color: var(--muted);
}
.shop-saving {
  color: #086b74 !important;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.45;
}
.shop-best-for {
  font-size: 0.95rem;
  color: #086b74;
  font-weight: 750;
  margin: 0 0 10px;
}
.shop-catalog .product-grid h3 {
  color: var(--navy);
}
.shop-catalog article:not(.shop-flagship) h3 {
  margin-bottom: 12px;
}
.shop-catalog article > p:not(.shop-best-for, .shop-saving, .shop-caption) {
  margin-top: 0;
}
.shop-catalog .shop-topic-card {
  grid-column: span 2;
}
.shop-topic-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 0;
}
.shop-topic-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 13px 14px;
  color: #075a66;
  font-weight: 750;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.4;
}
.shop-topic-links a span {
  white-space: nowrap;
  color: var(--navy);
}
.shop-topic-links a:hover {
  background: var(--ice);
  border-color: #087f88;
}
.shop-caption {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 10px 0 0;
  text-align: center;
}
.shop-help {
  max-width: 1500px;
  margin: auto;
}
.shop-help h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}
.shop-faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.shop-faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.shop-faq details p {
  max-width: 850px;
  color: var(--muted);
  margin: 10px 0 0;
}
@media (max-width: 800px) {
  .shop-choose {
    grid-template-columns: 1fr;
  }
  .product-grid .shop-flagship {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .shop-catalog .shop-topic-card {
    grid-column: auto;
  }
  .shop-topic-links {
    grid-template-columns: 1fr;
  }
  .shop-offer-actions {
    width: 100%;
    min-width: 0;
  }
  .shop-flagship-action {
    padding: 18px;
  }
  .shop-flagship-action .button {
    text-align: center;
  }
}

/* Digital product mockups: authentic cover art, dimensional page edges and soft studio shadows. */
.shop-flagship {
  --book: url("/cover-Study_Guide_and_Practice_Bundle.webp");
}
.product-grid article:has(> a[href="https://payhip.com/b/DwJgt"]) {
  --book: url("/cover-Complete_Practice_Bundle.webp");
}
#study-guide {
  --book: url("/cover-Full_SPD_Certification_Study_Guide.webp");
}
#tutoring {
  --book: url("/cover-One_Hour_SPD_Certification_Tutoring.webp");
}
.shop-flagship::before,
.product-grid article:has(> a[href="https://payhip.com/b/DwJgt"])::before,
#study-guide::before,
#tutoring::before,
.shop-topic-links a::before {
  content: "";
  display: block;
  aspect-ratio: 1;
  width: min(85%, 220px);
  margin: 10px auto 25px;
  background: var(--book) center/cover no-repeat;
  border-radius: 3px 5px 5px 3px;
  transform: perspective(800px) rotateY(-13deg) rotateX(3deg);
  box-shadow:
    1px 1px 0 #364b59,
    3px 2px 0 #e2e7e8,
    5px 3px 0 #c7d4d8,
    7px 4px 0 #edf1f1,
    9px 5px 0 #a8bdc4,
    12px 6px 0 #193b4d,
    18px 16px 23px #062c493b;
  outline: 1px solid #123e5360;
  flex-shrink: 0;
}
.product-grid .shop-flagship {
  grid-template-columns: minmax(190px, 0.9fr) minmax(0, 1.15fr) minmax(
      230px,
      0.9fr
    );
  gap: clamp(22px, 3vw, 42px);
  background:
    radial-gradient(ellipse at 14% 50%, #ccefed, transparent 50%),
    linear-gradient(115deg, #fff, #e6f7f6);
}
.shop-flagship::before {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 14px;
  box-shadow:
    2px 2px 0 #102e43,
    5px 3px 0 #d8e5e7,
    8px 5px 0 #b6c9ce,
    11px 6px 0 #e7eff0,
    14px 8px 0 #14374b,
    23px 22px 34px #062c4940;
}
#tutoring::before {
  transform: none;
  box-shadow: 0 14px 26px #062c4929;
  border-radius: 10px;
}
.shop-topic-links a {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 12px;
  justify-content: flex-start;
  gap: 12px;
  background: linear-gradient(145deg, #f2fafa, #fff);
  transition:
    box-shadow 0.18s,
    border-color 0.18s;
}
.shop-topic-links a::before {
  width: min(88%, 145px);
  margin: 2px auto 9px;
  transform: perspective(650px) rotateY(-12deg);
  box-shadow:
    2px 2px 0 #254b5b,
    4px 3px 0 #e2e7e8,
    6px 4px 0 #b9c9cf,
    9px 5px 0 #17354b,
    13px 13px 18px #062c4929;
}
.shop-topic-links a:hover {
  box-shadow: 0 10px 22px #0b65771e;
}
.shop-topic-links a[href$="/oHKBb"] {
  --book: url("/cover-Microbiology_and_Infection_Prevention.webp");
}
.shop-topic-links a[href$="/vhg3F"] {
  --book: url("/cover-Decontamination.webp");
}
.shop-topic-links a[href$="/aWz8o"] {
  --book: url("/cover-Instruments_and_Inspection.webp");
}
.shop-topic-links a[href$="/1GMPR"] {
  --book: url("/cover-Sterilization.webp");
}
.shop-topic-links a[href$="/1Pr9H"] {
  --book: url("/cover-Packaging_Storage_and_Distribution.webp");
}
.shop-topic-links a[href$="/LwNJW"] {
  --book: url("/cover-Regulations_Quality_and_Professional_Roles.webp");
}
.shop-topic-links a > span {
  margin-top: auto;
  font-weight: 850;
}
@media (max-width: 1100px) {
  .product-grid .shop-flagship {
    grid-template-columns: minmax(160px, 0.85fr) minmax(0, 1.15fr);
  }
  .shop-flagship-action {
    grid-column: 1/-1;
  }
  .shop-flagship::before {
    max-width: 245px;
  }
}
@media (max-width: 800px) {
  .product-grid .shop-flagship {
    grid-template-columns: 1fr;
  }
  .shop-flagship-action {
    grid-column: auto;
  }
  .shop-flagship::before {
    width: 72%;
    max-width: 260px;
    margin-bottom: 10px;
  }
  .shop-topic-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shop-topic-links a {
    font-size: 0.86rem;
    padding: 12px 8px;
  }
  .shop-topic-links a::before {
    width: 82%;
    max-width: 130px;
  }
}
@media (max-width: 360px) {
  .shop-topic-links {
    grid-template-columns: 1fr;
  }
}
.starter-offer {
  display: grid;
  grid-template-columns: minmax(130px, 210px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 40px);
  padding: clamp(20px, 4vw, 36px);
  margin: 24px 0;
  border: 2px solid #087f88;
  border-radius: 14px;
  background: #e9f7f6;
  scroll-margin-top: 105px;
}
.starter-offer img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.starter-offer h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--navy);
  margin: 8px 0;
}
.starter-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin: 10px 0;
}
.starter-delivery {
  color: var(--muted);
  font-size: 0.95rem;
}
.starter-secondary {
  display: inline-block;
  margin: 12px 0;
  color: #075a66;
  font-weight: 700;
}
@media (max-width: 640px) {
  .starter-offer {
    grid-template-columns: 1fr;
  }
  .starter-offer img {
    width: 140px;
    margin: auto;
  }
  .starter-offer .button {
    display: block;
    text-align: center;
  }
}
.sample-download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 220px);
  gap: 24px;
  align-items: center;
  background: #e9f7f6;
  border: 1px solid #087f88;
  border-radius: 12px;
  padding: clamp(18px, 3vw, 32px);
  margin: 22px 0;
}
.sample-download h3 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  color: var(--navy);
  margin: 8px 0;
}
.sample-download img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 6px 18px #0a354722;
}
.sample-download .starter-delivery {
  margin: 10px 0 0;
}
@media (max-width: 640px) {
  .sample-download {
    grid-template-columns: 1fr;
  }
  .sample-download img {
    max-width: 180px;
    margin: auto;
  }
  .sample-download .button {
    display: block;
    text-align: center;
  }
}
.shop-category-intro {
  max-width: 880px;
  margin: 3rem auto 1.25rem;
  text-align: center;
}
.shop-category-intro h2 {
  margin: 0.35rem 0 0.65rem;
}
.shop-category-intro p:last-child {
  margin: 0;
  color: #425466;
}
.integrated-catalog .shop-category-grid {
  /* These are full-width disclosures, not product cards in the six-track grid. */
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  min-width: 0;
  width: 100%;
}
.shop-category-grid > .shop-category {
  width: 100%;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.shop-category {
  max-width: 1500px;
  margin: 1rem auto;
  border: 1px solid #b9d7d4;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  scroll-margin-top: 110px;
  box-shadow: 0 8px 24px rgba(20, 61, 68, 0.06);
}
.shop-category > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.3rem 1.5rem;
  cursor: pointer;
  list-style: none;
  background: linear-gradient(135deg, #f2fbfa, #edf5f6);
  color: #143d44;
}
.shop-category > summary::-webkit-details-marker {
  display: none;
}
.shop-category > summary span:first-child {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.shop-category > summary strong {
  font-size: 1.2rem;
}
.shop-category > summary small {
  font-size: 1rem;
  color: #4c6268;
}
.shop-category-action {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: none;
  font-weight: 800;
  color: #0c6d68;
}
.shop-category-action::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #0c6d68;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
}
.shop-category[open] .shop-category-action::after {
  content: "−";
}
.shop-category[open] > summary {
  border-bottom: 1px solid #cde0de;
}
.shop-category-content {
  padding: 1.5rem;
  min-width: 0;
  box-sizing: border-box;
}
.shop-category-content.integrated-product-grid {
  margin: 0;
  max-width: none;
}
.shop-category-content > .catalog-heading {
  grid-column: 1/-1;
  margin-top: 0;
}
.shop-category-content > .catalog-product {
  grid-column: span 2;
}
.shop-category-content > .starter-offer,
.shop-category-content > .shop-topic-card {
  grid-column: 1/-1;
}
.shop-category-content > .catalog-support {
  grid-column: span 3;
}
.shop-preview-category {
  margin: 2rem auto;
  max-width: min(1500px, calc(100% - 2rem));
}
.shop-preview-category .shop-category-content {
  padding: 0;
}
.shop-preview-category .product-preview-section {
  margin-top: 0;
  padding: 0;
}
.shop-preview-category > summary {
  padding: 1.5rem 2rem;
}
@media (max-width: 900px) {
  .shop-category-content > .catalog-product,
  .shop-category-content > .catalog-support {
    grid-column: 1/-1;
  }
  .shop-category > summary {
    align-items: flex-start;
  }
  .shop-category-action {
    font-size: 0.9rem;
  }
  .shop-preview-category {
    max-width: calc(100% - 1.25rem);
  }
}
@media (max-width: 600px) {
  .shop-category {
    border-radius: 14px;
  }
  .shop-category > summary {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    padding: 1.1rem;
  }
  .shop-category > summary strong {
    font-size: 1.08rem;
  }
  .shop-category > summary small {
    font-size: 0.95rem;
  }
  .shop-category-action {
    justify-content: space-between;
    width: 100%;
  }
  .shop-category-content {
    padding: 1rem;
  }
  body.site-page .integrated-catalog .shop-category-content.integrated-product-grid {
    grid-template-columns: minmax(0,1fr);
  }
  body.site-page .integrated-catalog .shop-category-content.integrated-product-grid > * {
    grid-column: 1/-1;
    min-width: 0;
  }
  .shop-preview-category > summary {
    padding: 1.1rem;
  }
}
