/* Página propia de cada cuaderno */
.pcard__title a { color: inherit; text-decoration: none; }
.pcard__title a:hover { color: var(--coral); }
.pmodal__pagelink { margin: .6em 0 0; font-size: .92rem; }
.pmodal__pagelink a, .prod a:not(.btn):not(.pbtn) { color: var(--teal-deep); font-weight: 700; }

.prod { max-width: var(--maxw); margin: 0 auto; padding: calc(var(--nav-h) + 24px) var(--gutter) 40px; }
.prod__crumbs { font-size: .88rem; color: #777; margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.prod__crumbs a { color: var(--text) !important; font-weight: 600 !important; text-decoration: none; }
.prod__crumbs a:hover { color: var(--coral) !important; }
.prod__top {
  display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start;
  background: var(--tint, #FFF1D9); border-radius: 32px; padding: clamp(22px, 4vw, 48px);
}
.prod__top--lengua { --tint: #FDE6E3; }
.prod__top--matematicas { --tint: #DDF1ED; }
.prod__top--deberes { --tint: #FFF4D6; }
.prod__cover { margin: 0; }
.prod__cover img { width: 100%; border-radius: 8px; box-shadow: var(--shadow-paper); transform: rotate(-2deg); background: #fff; }
.prod__meta { margin: 0 0 .4em; font-weight: 700; font-size: .9rem; color: var(--teal-deep); }
.prod__title { font-size: clamp(2rem, 4.4vw, 3.2rem); text-wrap: balance; margin-bottom: .4em; }
.prod__chips li { background: #fff; }
.prod__chips a { color: var(--ink) !important; text-decoration: none; font-weight: 600 !important; }
.prod__desc { font-size: 1.08rem; max-width: 40em; }
.prod__price { font-family: var(--f-display); font-weight: 800; font-size: 2rem; color: var(--ink); margin: .6rem 0 0; }
.prod__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1rem; }
.prod__actions .pbtn { font-size: 1.02rem; padding: 1em 1.6em; }
.prod__small { font-size: .88rem; color: #666; margin: .8em 0 0; }
.prod__guide { background: #fff; }
.prod__section { margin-top: clamp(40px, 6vw, 72px); }
.prod__h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: .7em; }
.prod__list { font-size: 1rem; }
.prod__pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod__pages figure { margin: 0; }
.prod__pages img { width: 100%; border-radius: 6px; box-shadow: var(--shadow-paper); background: #fff; }
.prod__pages figure:nth-child(1) img { transform: rotate(-1.2deg); }
.prod__pages figure:nth-child(3) img { transform: rotate(1.2deg); }
.prod__how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 24px 0; border-top: 2px dashed var(--line); border-bottom: 2px dashed var(--line); }
.prod__how div { display: flex; gap: 12px; align-items: flex-start; }
.prod__how p { margin: 0; }
.prod__how b { color: var(--ink); }
.prod__back { margin-top: 28px; }
@media (max-width: 820px) {
  .prod__top { grid-template-columns: 1fr; }
  .prod__cover { max-width: 260px; }
  .prod__pages { grid-template-columns: repeat(3, 72%); overflow-x: auto; overflow-y: visible; padding-bottom: 12px; }
  .prod__how { grid-template-columns: 1fr; }
}
