/* Delimitación de las secciones públicas y del contenido del administrador. */
#contenido > section.shell, #contenido > .studio-home,
#contenido > [data-favorite-list] > section.shell, body > .final-cta.shell,
.admin-workspace main > section, .creation-guide > section,
.admin-workspace main > .fields > section {
    box-sizing:border-box;
    min-width:0;
    margin-block:clamp(16px,2vw,32px);
    padding:clamp(16px,2.2vw,40px);
    background:var(--glass-bg-strong);
    border:1px solid var(--glass-border-subtle);
    border-radius:var(--glass-radius);
    box-shadow:var(--glass-shadow);
}
#contenido > .studio-home { padding:clamp(8px,1vw,16px); }
#contenido :is(.catalog-results,.product-grid,.studio-stars,.detail-layout) { min-width:0; }
body > .final-cta.shell { color:var(--text); }
body > .final-cta.shell :is(h2,p) { color:var(--text); }
.result-pages { display:grid; gap:8px; margin-block:24px 0; color:var(--text); }
.result-pages p { margin:0; }
.result-pages-controls { display:flex; align-items:center; flex-wrap:wrap; gap:4px; }
.result-pages-controls > :is(a,span) {
    display:inline-flex; justify-content:center; align-items:center; min-width:44px; min-height:44px;
    padding:6px 10px; border:1px solid var(--border-control); border-radius:9px;
    color:var(--text); background:var(--glass-bg-strong); text-decoration:none;
}
.result-pages-controls [aria-current] { background:var(--action); color:var(--on-action); font-weight:700; }
.result-pages-controls [aria-disabled] { color:var(--text-muted); border-color:var(--border); }
.result-pages-controls a:is(:hover,:active) { color:var(--heading); background:var(--surface-alt); }
@media(max-width:680px) {
    .result-pages-controls :is(.page-number,.page-gap) { display:none; }
    #contenido > section.shell { padding-inline:12px; }
}

/* Los enlaces de contenido heredan el color del texto; las acciones usan controles visibles. */
body a:not(.button):not(.header-cta) { text-decoration:none; }
body a:not([class]), body .text-link, body .record-link, .product-info h3 a { color:inherit; }
body .text-link, .studio-widgets section > a, footer .footer-grid > div > a:not(.brand),
main p > a:not([class]), main form > a:not([class]) {
    display:inline-flex; align-items:center; min-height:40px; padding:5px 12px; border-radius:9px;
    border:1px solid var(--border-control); color:inherit; text-decoration:none;
}
body .text-link:hover, .studio-widgets section > a:hover, main p > a:hover { background:var(--surface-alt); color:var(--text); }
.star-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.star-tile,.collection-tile {
    display:grid; gap:8px; align-content:start; min-width:0; padding:20px; border:1px solid var(--border);
    border-radius:16px; color:var(--text); background:var(--glass-bg-strong); text-decoration:none;
}
.star-tile i { font-size:30px; color:var(--accent-text); margin-bottom:8px; }
.star-tile strong,.collection-tile strong { font-size:clamp(19px,2vw,30px); line-height:1.15; }
.star-tile span,.collection-tile span { font-size:14px; color:var(--text-muted); }
.star-tile:is(:hover,:focus-visible),.collection-tile:is(:hover,:focus-visible) { border-color:var(--accent-text); background:var(--surface-alt); }
.star-tile:active,.collection-tile:active { transform:translateY(1px); }
.collection-tile img { width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; border-radius:10px; }
@media(max-width:950px) { .star-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }.star-tile { padding:14px; } }
