.prod-capitulos {
margin: 36px 0 28px;
padding: 28px 24px;
background: linear-gradient(135deg, #faf2e9 0%, #fff5e8 100%);
border: 2px solid #d35400;
border-radius: 16px;
scroll-margin-top: 100px;
animation: cap-highlight 0.4s ease;
}
@keyframes cap-highlight {
0% { box-shadow: 0 0 0 0 rgba(211, 84, 0, 0.4); }
100% { box-shadow: 0 0 0 8px rgba(211, 84, 0, 0); }
}
.prod-capitulos__header { margin-bottom: 16px; }
.prod-capitulos__title {
margin: 0 0 4px;
font-size: 21px;
color: #3e1e09;
display: flex;
align-items: baseline;
gap: 8px;
}
.prod-capitulos__count {
font-size: 14px;
font-weight: 600;
color: #d35400;
}
.prod-capitulos__hint {
margin: 0;
font-size: 13.5px;
color: rgba(62, 30, 9, 0.72);
} .prod-capitulos__search {
display: flex;
align-items: center;
gap: 0;
margin-top: 14px;
background: #fff;
border: 1px solid rgba(62, 30, 9, 0.18);
border-radius: 10px;
padding: 0;
transition: border-color .2s ease, box-shadow .2s ease;
}
.prod-capitulos__search:focus-within {
border-color: #d35400;
box-shadow: 0 0 0 3px rgba(211, 84, 0, 0.15);
}
.prod-capitulos__search-label {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0 10px 0 12px;
color: rgba(62, 30, 9, 0.5);
}
.prod-capitulos__search-input {
flex: 1;
min-width: 0;
border: none;
background: transparent;
padding: 10px 0;
font: inherit;
font-size: 14px;
color: #3e1e09;
outline: none;
}
.prod-capitulos__search-input::placeholder {
color: rgba(62, 30, 9, 0.45);
font-style: italic;
} .prod-capitulos__search-input::-webkit-search-cancel-button,
.prod-capitulos__search-input::-webkit-search-decoration {
-webkit-appearance: none;
appearance: none;
}
.prod-capitulos__search-clear {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
margin-right: 6px;
border: none;
border-radius: 50%;
background: rgba(62, 30, 9, 0.1);
color: #3e1e09;
font-size: 18px;
line-height: 1;
cursor: pointer;
transition: background .15s ease;
}
.prod-capitulos__search-clear:hover {
background: rgba(211, 84, 0, 0.2);
color: #d35400;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
} .prod-capitulos__empty {
padding: 24px 16px;
text-align: center;
color: rgba(62, 30, 9, 0.6);
font-size: 14px;
font-style: italic;
} .prod-capitulos__pager {
display: flex;
align-items: center;
justify-content: center;
gap: 14px;
margin-top: 20px;
padding-top: 18px;
border-top: 1px dashed rgba(62, 30, 9, 0.2);
}
.prod-capitulos__pager-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 22px;
border: 2px solid #d35400;
border-radius: 10px;
background: transparent;
color: #d35400;
font: inherit;
font-size: 13.5px;
font-weight: 700;
cursor: pointer;
transition: background .15s ease, color .15s ease, transform .15s ease;
}
.prod-capitulos__pager-btn:hover {
background: #d35400;
color: #fff;
transform: translateY(-1px);
}
.prod-capitulos__pager-btn:active {
transform: translateY(0);
}
.prod-capitulos__pager-info {
font-size: 13px;
color: rgba(62, 30, 9, 0.65);
font-variant-numeric: tabular-nums;
} .prod-capitulos__grid {
list-style: none;
margin: 0;
padding: 0;
display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 14px; max-width: 100%;
overflow-x: clip;
}
.prod-capitulo-card {
display: flex;
gap: 0;
width: 100%; min-width: 0;
max-width: 100%;
text-align: left;
padding: 14px 16px;
background: #fff;
border: 1px solid rgba(62, 30, 9, 0.14);
border-radius: 12px;
cursor: pointer;
font: inherit;
color: inherit;
transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.prod-capitulo-card:hover,
.prod-capitulo-card:focus-visible {
transform: translateY(-3px);
box-shadow: 0 10px 24px rgba(62, 30, 9, 0.16);
border-color: #d35400;
outline: none; position: relative;
z-index: 1;
}
.prod-capitulo-card__cover {
flex: 0 0 52px;
width: 52px;
height: 70px;
object-fit: cover;
border-radius: 6px;
background: #efe3d3;
}
.prod-capitulo-card__cover--empty {
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 26px;
}
.prod-capitulo-card__body {
display: flex;
flex-direction: column;
gap: 3px;
min-width: 0; overflow: hidden;
}
.prod-capitulo-card__num {
font-size: 11px;
font-weight: 700;
letter-spacing: .06em;
text-transform: uppercase;
color: #d35400;
}
.prod-capitulo-card__title {
font-size: 14px;
font-weight: 700;
color: #3e1e09;
line-height: 1.3;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden; overflow-wrap: break-word;
word-break: break-word;
hyphens: auto;
}
.prod-capitulo-card__authors {
font-size: 12px;
color: rgba(62, 30, 9, 0.65);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis; overflow-wrap: break-word;
word-break: break-word;
min-width: 0;
}
.prod-capitulo-card__cta {
margin-top: 4px;
font-size: 12px;
font-weight: 700;
color: #d35400;
} .prod-modal {
position: fixed;
inset: 0;
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}
.prod-modal[hidden] { display: none; }
.prod-modal__backdrop {
position: absolute;
inset: 0;
background: rgba(30, 15, 4, 0.62);
backdrop-filter: blur(3px);
animation: prod-modal-fade .2s ease;
}
.prod-modal__dialog {
position: relative;
width: min(640px, 100%);
max-height: min(86vh, 720px);
overflow: auto;
background: #fff;
border-radius: 18px;
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
animation: prod-modal-pop .22s cubic-bezier(.2, .9, .3, 1.2); scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
}
@keyframes prod-modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes prod-modal-pop  { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.prod-modal__close {
position: sticky;
top: 10px;
float: right;
margin: 10px 10px 0 0;
width: 36px;
height: 36px;
border-radius: 50%;
border: none;
background: #3e1e09;
color: #faf2e9;
font-size: 20px;
line-height: 1;
cursor: pointer;
z-index: 2;
transition: background .2s ease;
}
.prod-modal__close:hover { background: #d35400; }
.prod-modal__content { padding: 26px 28px 28px; clear: both; }
.pm-head { margin-bottom: 14px; }
.pm-title { margin: 0 0 6px; font-size: 20px; color: #3e1e09; line-height: 1.25; }
.pm-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #d35400; margin-bottom: 4px; }
.pm-row { margin: 10px 0; font-size: 14px; color: rgba(62, 30, 9, 0.85); }
.pm-row strong { color: #3e1e09; } .pm-detalhes {
margin: 12px 0;
padding: 12px 14px;
background: #faf2e9;
border-radius: 10px;
border-left: 3px solid #a08566;
}
.pm-detalhes .pm-row { margin: 6px 0; font-size: 13px; }
.pm-detalhes .pm-row:first-child { margin-top: 0; }
.pm-detalhes .pm-row:last-child { margin-bottom: 0; }
.pm-resumo {
margin: 14px 0;
padding: 14px 16px;
background: #faf2e9;
border-left: 4px solid #d35400;
border-radius: 0 10px 10px 0;
font-size: 14px;
line-height: 1.55;
color: #3e1e09;
}
.pm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pm-btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 11px 18px;
border-radius: 10px;
font-size: 14px;
font-weight: 700;
text-decoration: none;
border: none;
cursor: pointer;
transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.pm-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(62, 30, 9, 0.22); }
.pm-btn--primary { background: #d35400; color: #fff; }
.pm-btn--primary:hover { background: #b34700; } .pm-btn--buy { background: #3e1e09; color: #fff; }
.pm-btn--buy:hover { background: #1a0d04; }
.pm-btn--ghost { background: transparent; color: #3e1e09; border: 2px solid rgba(62, 30, 9, 0.3); }
.pm-btn--ghost:hover { border-color: #3e1e09; }
.pm-doi {
display: inline-block;
margin-top: 4px;
padding: 4px 10px;
background: rgba(62, 30, 9, 0.07);
border-radius: 8px;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 12.5px;
color: #3e1e09;
word-break: break-all;
text-decoration: none;
transition: background .15s ease, color .15s ease;
}
.pm-doi:hover { background: rgba(211, 84, 0, 0.15); color: #d35400; } .pm-isbn {
display: inline-block;
padding: 2px 8px;
background: rgba(62, 30, 9, 0.07);
border-radius: 6px;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 12.5px;
color: #3e1e09;
word-break: break-all;
}
body.prod-modal-open { overflow: hidden; }
@media (max-width: 600px) {
.prod-capitulos { padding: 16px; } .prod-capitulos__grid {
grid-template-columns: minmax(0, 1fr);
gap: 12px;
}
.prod-capitulos__search { margin-top: 12px; }
.prod-capitulos__pager { flex-direction: column; gap: 8px; }
.prod-modal__content { padding: 20px 18px 22px; }
.pm-head { flex-direction: column; }
.pm-actions { flex-direction: column; }
.pm-btn { width: 100%; justify-content: center; }
} @media (max-width: 360px) {
.prod-capitulos { padding: 12px 10px; }
.prod-capitulo-card { padding: 12px 12px; }
.prod-capitulo-card__title { font-size: 13px; }
.prod-capitulo-card__authors { font-size: 11.5px; }
.prod-capitulo-card__cta { font-size: 11px; }
.prod-capitulos__title { font-size: 18px; }
.prod-capitulos__hint { font-size: 12.5px; }
.prod-modal { padding: 10px; }
.prod-modal__content { padding: 18px 14px 20px; }
.pm-title { font-size: 17px; }
} .prod-modal__dialog::-webkit-scrollbar {
width: 8px;
}
.prod-modal__dialog::-webkit-scrollbar-track {
background: rgba(62, 30, 9, 0.05);
}
.prod-modal__dialog::-webkit-scrollbar-thumb {
background: rgba(62, 30, 9, 0.3);
border-radius: 4px;
}
.prod-modal__dialog::-webkit-scrollbar-thumb:hover {
background: rgba(62, 30, 9, 0.5);
}