:root {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-alt: #f7f7f7;
    --surface-dark: #3d3d3d;
    --ink: #141414;
    --muted: #747474;
    --line: #e8e8e8;
    --brand: #1f1f1f;
    --accent: #8c6a3d;
    --accent-soft: #c9b38f;
    --success: #28a745;
    --error: #9d2c2c;
    --shadow: 0 20px 50px rgba(18, 18, 18, 0.08);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--ink);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1480px, calc(100% - 2rem));
    margin: 0 auto;
}

.utility-bar {
    background: #2f2d2b;
    color: #fff;
    font-size: 0.9rem;
}

.utility-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.header-inner,
.brand,
.header-actions,
.hero-actions,
.hero-metrics,
.footer-news-inner,
.footer-news-actions,
.footer-main,
.social-links,
.contact-grid,
.toolbar,
.form-grid,
.table-actions,
.gallery-grid,
.checkbox-grid,
.catalog-grid,
.admin-stats {
    display: flex;
    gap: 1rem;
}

.header-inner {
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 0;
}

.brand {
    align-items: center;
    gap: 1rem;
    min-width: 280px;
}

.brand img,
.admin-brand img {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.brand span,
.admin-brand span {
    display: grid;
    gap: 0.15rem;
}

.brand strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.brand small,
.lead,
.feature-card p,
.catalog-card p,
.page-hero p,
.contact-card p,
.footer-column p,
.footer-column a,
.installment-copy,
.product-sizes,
.admin-header p,
td,
label,
input,
textarea,
select {
    color: var(--muted);
}

.field-helper {
    color: #a6a6a6;
    font-size: 0.88rem;
    font-weight: 400;
}

.field-helper.is-hidden {
    display: none;
}

.header-search {
    flex: 1;
    min-width: 240px;
    max-width: 620px;
    border-bottom: 1px solid #1d1d1d;
    padding: 0 0 0.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.header-search span {
    color: #9b9b9b;
}

.header-search strong {
    font-size: 1.05rem;
    font-weight: 500;
}

.header-actions {
    align-items: center;
    font-size: 0.98rem;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
}

.site-nav {
    background: #4a4a4a;
    color: #fff;
}

.nav-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.site-nav a {
    padding: 0 1.4rem;
    font-size: 0.96rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
}

.site-nav a + a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 28px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.16);
}

.site-nav a.active,
.site-nav a:hover {
    color: #fff;
}

main {
    min-height: 60vh;
}

.hero {
    background:
        linear-gradient(90deg, rgba(27, 27, 27, 0.55), rgba(27, 27, 27, 0.2)),
        linear-gradient(135deg, #6e5039, #433027);
    color: #fff;
}

.hero-grid {
    min-height: 620px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    padding: 3.5rem 0;
}

.hero-copy {
    max-width: 700px;
}

.eyebrow {
    display: inline-flex;
    padding: 0.65rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #f4dfb5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 1.3rem;
}

.hero h1,
.page-hero h1,
.section-title h2,
.section-header-inline h2,
.institutional-band h2,
.admin-header h1,
.auth-card h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 5.3rem);
    line-height: 1.02;
    max-width: 760px;
    margin-bottom: 1.3rem;
}

.hero .lead {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
    line-height: 1.8;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.95rem 1.45rem;
    border: 1px solid transparent;
    transition: 0.2s ease;
    cursor: pointer;
    font: inherit;
}

.btn-primary {
    background: #fff;
    color: #111;
}

.btn-secondary,
.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
}

.btn-light {
    background: #fff;
    color: #111;
}

.btn-dark {
    background: #1e2433;
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: #1e2433;
    border-color: rgba(30, 36, 51, 0.18);
}

.btn:hover {
    transform: translateY(-1px);
}

.hero-actions {
    margin-top: 1.7rem;
    flex-wrap: wrap;
}

.hero-metrics {
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-metrics div {
    min-width: 160px;
    padding-right: 1.2rem;
}

.hero-metrics strong {
    display: block;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.hero-metrics span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.hero-card {
    background: rgba(255, 255, 255, 0.96);
    color: #111;
    border-radius: 0;
    box-shadow: var(--shadow);
    padding: 1.6rem;
}

.hero-card-copy {
    padding: 0 0 1.4rem;
}

.hero-card-label,
.section-kicker,
.product-meta {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8d8d8d;
}

.hero-card h2 {
    margin: 0.6rem 0 0.8rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    line-height: 1.18;
}

.hero-card p {
    margin: 0;
    color: #5c5c5c;
    line-height: 1.7;
}

.hero-card img {
    width: 100%;
    height: 360px;
    object-fit: contain;
    background: #f7f7f7;
}

.section {
    padding: 3.5rem 0;
}

.section-soft {
    background: #fff;
}

.section-title,
.page-hero {
    text-align: left;
}

.section-title h2,
.section-header-inline h2,
.institutional-band h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 0.6rem;
}

.section-title p,
.section-header-inline p,
.institutional-band p {
    max-width: 760px;
    line-height: 1.7;
    margin: 0;
}

.page-hero {
    padding: 3.25rem 0 2rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 1.2rem;
}

.page-hero .eyebrow {
    background: #f5f5f5;
    color: #666;
    border-color: #e3e3e3;
}

.page-hero h1 {
    font-size: clamp(2.3rem, 4vw, 4rem);
    margin-bottom: 0.8rem;
}

.page-hero .lead {
    font-size: 1.03rem;
    line-height: 1.8;
}

.section-header-inline {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.section-header-inline p {
    max-width: 560px;
    text-align: right;
}

.catalog-filters {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(180px, 0.7fr) auto;
    gap: 1rem;
    align-items: end;
    margin-bottom: 2rem;
    padding: 1.2rem;
    border: 1px solid var(--line);
    background: #fff;
}

.catalog-filter-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.catalog-grid {
    flex-wrap: wrap;
    gap: 2rem 1.6rem;
}

.home-catalog-grid .catalog-card,
.catalog-card {
    width: calc(25% - 1.2rem);
    min-width: 250px;
}

.catalog-card {
    background: #fff;
    text-align: center;
}

.catalog-card img {
    width: 100%;
    aspect-ratio: 0.85;
    object-fit: cover;
    background: #f1f1f1;
    margin-bottom: 1.25rem;
}

.catalog-card h3 {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0.6rem 0;
}

.product-meta {
    color: #9a9a9a;
}

.product-sizes,
.installment-copy {
    font-size: 0.94rem;
    line-height: 1.6;
    margin: 0.4rem 0;
}

.price {
    font-size: 2rem;
    line-height: 1.1;
    font-family: Georgia, "Times New Roman", serif;
    margin: 0.7rem 0 0.5rem;
}

.catalog-card .btn-primary {
    background: #222;
    color: #fff;
    margin-top: 0.6rem;
}

.feature-grid,
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}

.about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.contact-card,
.form-card,
.table-card,
.admin-panel,
.map-frame,
.empty-state {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.feature-card,
.contact-card,
.form-card,
.table-card,
.admin-panel,
.empty-state {
    padding: 2rem;
}

.feature-card h3,
.contact-card h3 {
    margin-top: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
}

.institutional-band {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2rem;
    align-items: start;
    padding: 2rem 0;
    border-top: 1px solid var(--line);
}

.contact-grid {
    align-items: start;
}

.contact-grid > * {
    flex: 1;
}

.map-frame iframe {
    width: 100%;
    min-height: 520px;
    border: 0;
}

.site-footer {
    margin-top: 4rem;
    background: #fff;
    border-top: 1px solid var(--line);
}

.footer-news {
    background: #414141;
    color: #fff;
}

.footer-news-inner {
    align-items: center;
    justify-content: space-between;
    padding: 1.9rem 0;
}

.footer-news h3 {
    margin: 0 0 0.4rem;
    font-size: 1.7rem;
    font-family: Georgia, "Times New Roman", serif;
}

.footer-news p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

.footer-news-actions {
    flex-wrap: wrap;
}

.footer-main {
    padding: 2.8rem 0;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-column {
    min-width: 220px;
    display: grid;
    gap: 0.7rem;
}

.footer-column h3 {
    margin: 0;
    font-size: 1.5rem;
    font-family: Georgia, "Times New Roman", serif;
}

.social-links {
    flex-direction: column;
    gap: 0.7rem;
}

.footer-bottom {
    text-align: center;
    padding: 1.1rem;
    border-top: 1px solid var(--line);
    color: #707070;
    font-size: 0.95rem;
}

.whatsapp-float {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 35;
    min-height: 56px;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.3);
}

.flash {
    margin: 1rem 0;
    padding: 1rem 1.2rem;
    border-radius: 12px;
}

.flash-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
}

.flash-error {
    background: rgba(157, 44, 44, 0.1);
    color: var(--error);
}

.empty-state {
    text-align: center;
}

.admin-body {
    background: #f7f7f7;
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: #1f1f1f;
    color: #fff;
    padding: 1.5rem;
    display: grid;
    gap: 0.6rem;
    align-content: start;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-link {
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
}

.admin-link.active,
.admin-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.admin-content {
    padding: 2rem;
}

.admin-header {
    margin-bottom: 1rem;
}

.admin-stats {
    flex-wrap: wrap;
    margin-top: 1rem;
}

.toolbar {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-grid .full {
    grid-column: 1 / -1;
}

label {
    display: grid;
    gap: 0.45rem;
    font-weight: 600;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 12px;
    border: 1px solid #d8d8d8;
    background: #fff;
    font: inherit;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #8c6a3d;
    box-shadow: 0 0 0 4px rgba(140, 106, 61, 0.12);
}

input:invalid,
textarea:invalid,
select:invalid {
    border-color: rgba(157, 44, 44, 0.45);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 0.9rem 0.7rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.table-actions,
.gallery-grid,
.checkbox-grid {
    flex-wrap: wrap;
}

.table-actions a,
.table-actions button,
.link-button {
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #d8d8d8;
    background: transparent;
    color: #111;
    font: inherit;
    cursor: pointer;
}

.gallery-item {
    width: 120px;
}

.gallery-item img {
    aspect-ratio: 1;
    object-fit: cover;
}

.image-preview-panel {
    display: grid;
    gap: 0.85rem;
}

.preview-gallery {
    gap: 1rem;
}

.preview-item {
    width: 140px;
    margin: 0;
    display: grid;
    gap: 0.45rem;
}

.preview-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(117, 96, 62, 0.16);
    background: #f7f3ec;
}

.preview-item figcaption {
    font-size: 0.78rem;
    line-height: 1.4;
    color: #6f6a63;
    word-break: break-word;
}

.checkbox-grid label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 400;
}

.checkbox-grid input {
    width: auto;
    padding: 0;
}

.auth-wrapper {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.admin-entry-body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(199, 171, 117, 0.2), transparent 24rem),
        linear-gradient(135deg, #f5efe2, #ece2cf 45%, #f8f4ea 100%);
}

.admin-entry-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.admin-entry-card,
.auth-card-elevated {
    width: min(760px, 100%);
    background: rgba(255, 253, 249, 0.96);
    border: 1px solid rgba(117, 96, 62, 0.16);
    box-shadow: 0 28px 70px rgba(29, 33, 44, 0.12);
    border-radius: 24px;
}

.admin-entry-card {
    padding: 2.4rem;
}

.admin-entry-brand,
.auth-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.admin-entry-brand img,
.auth-brand img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    border-radius: 18px;
    background: #fff;
    padding: 0.5rem;
    box-shadow: 0 12px 30px rgba(25, 30, 45, 0.08);
}

.admin-entry-brand strong,
.auth-brand strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
}

.admin-entry-brand span,
.auth-brand span {
    color: #6e6a63;
}

.entry-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(201, 179, 143, 0.24);
    color: #6d5731;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-entry-card h1 {
    margin: 1rem 0 0.75rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.06;
    color: #1f2430;
}

.admin-entry-card p,
.auth-card-elevated p {
    color: #66615a;
    line-height: 1.75;
}

.entry-actions,
.auth-links,
.captcha-inline,
.panel-head,
.dashboard-product-item,
.quick-links-grid,
.admin-dashboard-grid {
    display: flex;
    gap: 1rem;
}

.entry-actions {
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.entry-meta {
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(117, 96, 62, 0.15);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.entry-meta strong,
.stat-label,
.dashboard-product-item span,
.session-card span {
    display: block;
}

.entry-meta strong,
.stat-label {
    color: #1f2430;
    margin-bottom: 0.2rem;
}

.entry-meta span,
.dashboard-product-item span,
.session-card p {
    color: #6f6a63;
}

.auth-card {
    width: min(520px, 100%);
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.auth-card-elevated {
    padding: 2.2rem;
}

.auth-form {
    display: grid;
    gap: 1rem;
}

.auth-links {
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.auth-links a {
    color: #6d5731;
}

.captcha-inline {
    align-items: center;
}

.captcha-question {
    min-width: 110px;
    padding: 0.95rem 1rem;
    border-radius: 12px;
    background: #f3ede1;
    color: #1f2430;
    font-weight: 700;
    text-align: center;
}

.admin-hero-panel {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.admin-hero-copy {
    max-width: 760px;
}

.admin-hero-copy h2 {
    margin: 0.5rem 0 0.8rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3vw, 3rem);
    color: #1f2430;
}

.admin-hero-copy p {
    margin: 0;
    color: #66615a;
    line-height: 1.8;
}

.admin-hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.stat-card {
    flex: 1 1 220px;
    padding: 1.6rem;
    border-radius: 20px;
    background: linear-gradient(180deg, #fffdf8, #f5eee2);
    border: 1px solid rgba(117, 96, 62, 0.14);
}

.stat-card strong {
    font-size: 2.3rem;
    color: #1f2430;
    font-family: Georgia, "Times New Roman", serif;
}

.stat-card p {
    margin: 0.55rem 0 0;
    color: #66615a;
    line-height: 1.6;
}

.admin-dashboard-grid {
    align-items: start;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.admin-dashboard-grid > * {
    flex: 1 1 380px;
}

.panel-head {
    justify-content: space-between;
    align-items: end;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.panel-head h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: #1f2430;
}

.panel-head p {
    margin: 0;
    color: #777069;
}

.quick-links-grid {
    flex-wrap: wrap;
}

.quick-link-card {
    flex: 1 1 220px;
    min-height: 130px;
    padding: 1.2rem;
    border-radius: 18px;
    border: 1px solid rgba(117, 96, 62, 0.14);
    background: #fcfaf6;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(21, 28, 40, 0.08);
}

.quick-link-card strong {
    display: block;
    margin-bottom: 0.45rem;
    color: #1f2430;
}

.quick-link-card span {
    color: #66615a;
    line-height: 1.6;
}

.admin-checklist {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.85rem;
}

.admin-checklist li {
    color: #5f5a55;
    line-height: 1.6;
}

.admin-checklist .is-done::marker {
    color: #2d8a50;
}

.admin-checklist .is-pending::marker {
    color: #9d6a2a;
}

.dashboard-product-list {
    display: grid;
    gap: 0.9rem;
}

.dashboard-product-item {
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(117, 96, 62, 0.12);
    border-radius: 16px;
    background: #fcfaf6;
    flex-wrap: wrap;
}

.dashboard-product-item strong,
.session-card strong {
    color: #1f2430;
}

.session-card {
    display: grid;
    gap: 0.45rem;
}

.compact-empty-state {
    padding: 1.4rem;
}

@media (max-width: 1100px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-search {
        order: 3;
        width: 100%;
        max-width: none;
    }

    .home-catalog-grid .catalog-card,
    .catalog-card {
        width: calc(50% - 1rem);
    }

    .hero-grid,
    .institutional-band,
    .contact-grid,
    .about-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid,
    .footer-news-inner {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 900px) {
    .utility-inner {
        justify-content: center;
        text-align: center;
    }

    .utility-inner span {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        padding: 0.75rem 1rem;
        border: 1px solid #d7d7d7;
        background: #fff;
        border-radius: 999px;
    }

    .site-nav {
        display: none;
    }

    .site-nav.open {
        display: block;
    }

    .nav-inner {
        min-height: auto;
        padding: 0.9rem 0;
        flex-direction: column;
        gap: 0.5rem;
    }

    .site-nav a {
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
    }

    .site-nav a + a::before {
        display: none;
    }

    .hero-grid {
        min-height: auto;
        padding: 2.5rem 0;
    }

    .hero-card img {
        height: 260px;
    }

    .section-header-inline {
        flex-direction: column;
        align-items: start;
    }

    .section-header-inline p {
        text-align: left;
    }

    .catalog-filters {
        grid-template-columns: 1fr;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .entry-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 1.2rem, 1480px);
    }

    .brand {
        min-width: 0;
    }

    .brand strong {
        font-size: 0.92rem;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .home-catalog-grid .catalog-card,
    .catalog-card {
        width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-main {
        flex-direction: column;
    }

    .admin-content {
        padding: 1rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .captcha-inline,
    .entry-actions,
    .admin-hero-actions {
        flex-direction: column;
    }

    .captcha-question {
        min-width: 0;
        width: 100%;
    }
}
