/* PLANTIQ · sistema de diseño */
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/inter-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/inter-latin-800-normal.woff2) format("woff2"); }

:root {
  --white: #ffffff;
  --grey-50: #f9fafb;
  --grey-100: #f3f4f6;
  --grey-200: #e5e7eb;
  --grey-300: #d1d5db;
  --grey-500: #6b7280;   /* gris secundario: 4.8:1 sobre blanco */
  --grey-700: #374151;
  --grey-900: #111827;
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857; /* texto/botones: 5.5:1 sobre blanco */
  --green-900: #064e3b;
  --amber-50: #fffbeb;
  --amber-700: #b45309;
  --red-50: #fef2f2;
  --red-700: #b91c1c;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(17,24,39,.05), 0 8px 24px rgba(17,24,39,.06);
  --shadow-lg: 0 12px 40px rgba(6,78,59,.14);
  --container: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--grey-900); background: var(--white); line-height: 1.6; font-size: 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
:focus-visible { outline: 3px solid var(--emerald-600); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4, .h5 { line-height: 1.2; color: var(--grey-900); letter-spacing: -0.02em; margin: 0 0 .6em; }
h1, .h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2, .h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 750; }
h3, .h3 { font-size: 1.2rem; font-weight: 700; }
.h4 { font-size: 1.05rem; font-weight: 700; }
.h5 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--grey-500); }
.small { font-size: .875rem; }
.center { text-align: center; }
.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; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--green-900); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.inline { display: inline; }
.stack > * + * { margin-top: 1rem; }
.section { padding: 72px 0; }
.section-alt { background: var(--grey-50); border-top: 1px solid var(--grey-100); border-bottom: 1px solid var(--grey-100); }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--emerald-700); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6rem; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.2rem; border-radius: 10px; font: inherit; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.2; min-height: 44px; transition: background .15s, border-color .15s, box-shadow .15s; }
.btn-primary { background: var(--emerald-700); color: #fff; }
.btn-primary:hover { background: var(--green-900); color: #fff; }
.btn-ghost { background: #fff; color: var(--grey-900); border-color: var(--grey-300); }
.btn-ghost:hover { border-color: var(--emerald-700); color: var(--emerald-700); }
.btn-danger { background: var(--red-700); color: #fff; }
.btn-danger:hover { background: #991b1b; color: #fff; }
.btn-link { background: none; border: 0; color: var(--grey-700); padding: .5rem; min-height: 44px; font: inherit; cursor: pointer; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--grey-700); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Cabecera */
.env-banner { background: var(--amber-50); color: #78350f; border-bottom: 1px solid #fde68a; padding: 8px 20px; font-size: .875rem; text-align: center; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--grey-100); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .06em; color: var(--green-900); text-decoration: none; font-size: 1.1rem; }
.logo-mark { width: 32px; height: 32px; }
.site-nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex: 1; }
.site-nav ul a { display: block; padding: .5rem .75rem; border-radius: 8px; color: var(--grey-700); text-decoration: none; font-weight: 500; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { background: var(--emerald-50); color: var(--emerald-700); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--grey-300); border-radius: 8px; width: 44px; height: 44px; font-size: 1.2rem; cursor: pointer; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 24px; border-bottom: 1px solid var(--grey-200); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .nav-actions { flex-direction: column; align-items: stretch; }
}

/* Migas */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 16px 0 0; margin: 0; font-size: .85rem; color: var(--grey-500); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; }
.breadcrumbs a { color: var(--grey-500); }

/* Hero */
.hero { padding: 72px 0 56px; background: radial-gradient(1000px 420px at 85% -10%, var(--emerald-50), transparent 70%), linear-gradient(180deg, #fff, var(--grey-50)); border-bottom: 1px solid var(--grey-100); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 14ch; }
.hero .lead { font-size: 1.15rem; color: var(--grey-700); max-width: 56ch; }
.hero-visual { position: relative; min-height: 360px; }
.hero-visual img { position: absolute; width: 58%; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--grey-200); background: #fff; }
.hero-visual img:nth-child(1) { left: 0; top: 30px; transform: rotate(-4deg); }
.hero-visual img:nth-child(2) { right: 0; top: 0; transform: rotate(3deg); }
.hero-visual img:nth-child(3) { left: 22%; top: 110px; z-index: 2; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; color: var(--grey-700); font-size: .95rem; }
.hero-stats strong { display: block; font-size: 1.5rem; color: var(--green-900); }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { display: none; } }

/* Buscador */
.search { display: flex; gap: 8px; max-width: 620px; margin: 24px 0 8px; background: #fff; border: 1px solid var(--grey-300); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); }
.search input { flex: 1; border: 0; font: inherit; padding: .6rem .8rem; min-width: 0; background: transparent; }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--emerald-600); box-shadow: 0 0 0 4px var(--emerald-100); }

/* Tarjetas y rejillas */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 820px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 24px; }
.tpl-card { overflow: hidden; transition: transform .15s, box-shadow .15s; }
.tpl-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tpl-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.tpl-cover { background: var(--grey-100); aspect-ratio: 4 / 5; overflow: hidden; border-bottom: 1px solid var(--grey-100); }
.tpl-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tpl-body { padding: 16px 18px 20px; }
.tpl-cat { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--emerald-700); font-weight: 700; margin: 0 0 .3rem; }
.tpl-title { font-size: 1.02rem; margin: 0 0 .35rem; }
.tpl-short { font-size: .9rem; color: var(--grey-500); margin: 0 0 .8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 600; border-radius: 999px; padding: .2rem .6rem .2rem .45rem; background: var(--grey-100); color: var(--grey-700); }
.fi { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.badge-xlsx { background: #e7f6ee; color: #166534; }
.badge-docx { background: #e8f0fe; color: #1e40af; }
.badge-pdf { background: #fdecec; color: #991b1b; }
.cat-card { display: block; padding: 22px; text-decoration: none; color: inherit; }
.cat-card:hover { border-color: var(--emerald-600); }
.cat-card h3 { margin-bottom: .3rem; }
.cat-count { font-size: .85rem; color: var(--emerald-700); font-weight: 600; }
.feature { padding: 24px; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--emerald-50); color: var(--emerald-700); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }

/* Precios */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 24px; justify-content: center; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }
.price-card { padding: 32px; position: relative; display: flex; flex-direction: column; }
.price-card.highlight { border: 2px solid var(--emerald-700); box-shadow: var(--shadow-lg); }
.price-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--emerald-700); color: #fff; font-size: .78rem; font-weight: 700; padding: .25rem .8rem; border-radius: 999px; white-space: nowrap; }
.price { font-size: 2.6rem; font-weight: 800; color: var(--green-900); letter-spacing: -0.03em; }
.price small { font-size: 1rem; font-weight: 500; color: var(--grey-500); }
.price-note { font-size: .85rem; color: var(--grey-500); }
.checklist { list-style: none; padding: 0; margin: 20px 0; }
.checklist li { padding-left: 28px; position: relative; margin: .45rem 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--emerald-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23047857' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.terms-box { background: var(--grey-50); border: 1px solid var(--grey-200); border-radius: var(--radius-sm); padding: 16px 18px; font-size: .9rem; }

/* Pasos */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; }
.steps li { counter-increment: step; padding: 24px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--emerald-700); color: #fff; font-weight: 700; margin-bottom: 12px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border: 1px solid var(--grey-200); border-radius: var(--radius-sm); padding: 0 18px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--emerald-700); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--grey-700); }

/* CTA */
.cta { background: linear-gradient(135deg, var(--green-900), var(--emerald-700)); color: #fff; border-radius: 20px; padding: 48px; text-align: center; }
.cta h2, .cta p { color: #fff; }
.cta .btn-primary { background: #fff; color: var(--green-900); }
.cta .btn-primary:hover { background: var(--emerald-50); }

/* Catálogo */
.catalog { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 24px 0 64px; }
@media (max-width: 900px) { .catalog { grid-template-columns: 1fr; } }
.filters { align-self: start; position: sticky; top: 84px; }
@media (max-width: 900px) { .filters { position: static; } }
.filters fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.filters legend { font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.filter-list { list-style: none; margin: 0; padding: 0; }
.filter-list a { display: flex; justify-content: space-between; padding: .4rem .6rem; border-radius: 8px; text-decoration: none; color: var(--grey-700); font-size: .92rem; }
.filter-list a:hover, .filter-list a[aria-current="true"] { background: var(--emerald-50); color: var(--emerald-700); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--grey-300); text-decoration: none; color: var(--grey-700); font-size: .85rem; font-weight: 500; }
.chip[aria-current="true"], .chip:hover { border-color: var(--emerald-700); color: var(--emerald-700); background: var(--emerald-50); }
.pagination ul { display: flex; gap: 6px; list-style: none; padding: 0; justify-content: center; flex-wrap: wrap; margin: 40px 0 0; }
.pagination a, .pagination span { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--grey-200); text-decoration: none; color: var(--grey-700); }
.pagination span[aria-current] { background: var(--emerald-700); color: #fff; border-color: var(--emerald-700); }

/* Ficha */
.tpl-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; padding: 24px 0 64px; }
@media (max-width: 900px) { .tpl-detail { grid-template-columns: 1fr; } }
.preview-frame { border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; background: var(--grey-100); box-shadow: var(--shadow); }
.preview-frame img { width: 100%; }
.watermark-note { font-size: .8rem; color: var(--grey-500); margin-top: 8px; }
.download-box { padding: 24px; margin: 24px 0; }
.download-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--grey-100); }
.download-row:last-child { border-bottom: 0; }
.meta-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .92rem; }
.meta-list dt { color: var(--grey-500); }
.meta-list dd { margin: 0; }

/* Formularios */
.form { display: grid; gap: 16px; }
.field label, .field .label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .hint { font-size: .82rem; color: var(--grey-500); margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=url], input[type=date], input[type=tel], select, textarea {
  width: 100%; font: inherit; padding: .65rem .8rem; border: 1px solid var(--grey-300); border-radius: 10px; background: #fff; color: var(--grey-900); min-height: 44px; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--emerald-600); box-shadow: 0 0 0 4px var(--emerald-100); }
input[aria-invalid=true], select[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--red-700); }
.field-error { color: var(--red-700); font-size: .85rem; margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--emerald-700); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.auth-wrap { max-width: 460px; margin: 48px auto 72px; }

/* Alertas */
.alert { padding: 14px 16px; border-radius: 10px; margin: 16px 0; border: 1px solid; font-size: .95rem; }
.alert-success { background: var(--emerald-50); border-color: var(--emerald-100); color: var(--green-900); }
.alert-error { background: var(--red-50); border-color: #fecaca; color: #7f1d1d; }
.alert-info { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }
.alert-warning { background: var(--amber-50); border-color: #fde68a; color: #78350f; }

/* Área personal / admin */
.account { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 32px 0 72px; }
@media (max-width: 860px) { .account { grid-template-columns: 1fr; } }
.side-nav ul { list-style: none; padding: 0; margin: 0; }
.side-nav a { display: block; padding: .55rem .8rem; border-radius: 8px; text-decoration: none; color: var(--grey-700); font-weight: 500; }
.side-nav a[aria-current="page"], .side-nav a:hover { background: var(--emerald-50); color: var(--emerald-700); }
.side-title { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-500); margin: 18px 0 6px .8rem; font-weight: 700; }
.stat { padding: 20px; }
.stat .value { font-size: 1.8rem; font-weight: 800; color: var(--green-900); letter-spacing: -0.02em; }
.stat .label { font-size: .85rem; color: var(--grey-500); }
.table-wrap { overflow-x: auto; border: 1px solid var(--grey-200); border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--grey-100); vertical-align: top; }
th { background: var(--grey-50); font-weight: 600; color: var(--grey-700); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.status { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--grey-100); color: var(--grey-700); }
.status-ok { background: var(--emerald-100); color: var(--green-900); }
.status-warn { background: #fef3c7; color: #78350f; }
.status-bad { background: #fee2e2; color: #7f1d1d; }
.danger-zone { border: 1px solid #fecaca; background: var(--red-50); border-radius: var(--radius); padding: 24px; }
.kv { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 8px 16px; }
.kv dt { color: var(--grey-500); }
.kv dd { margin: 0; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* Legal */
.legal { padding: 32px 0 72px; }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4rem; }
.pending { background: #fef3c7; color: #78350f; padding: 0 .3em; border-radius: 4px; font-weight: 600; }
.doc-meta { font-size: .85rem; color: var(--grey-500); }
.layer-table td:first-child { font-weight: 600; width: 32%; }

/* Pie */
.site-footer { background: var(--grey-50); border-top: 1px solid var(--grey-200); padding: 56px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-title { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-500); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .35rem 0; }
.site-footer a, .site-footer .link-button { color: var(--grey-700); text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: var(--emerald-700); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--grey-200); margin-top: 40px; padding-top: 20px; }

/* Cookies */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: flex; justify-content: center; }
.cookie-banner[hidden] { display: none; }
.cookie-inner { max-width: 760px; background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px 24px; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-prefs { margin: 8px 0 14px; display: grid; gap: 8px; }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; padding: 32px 0 72px; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } }
.summary-box { padding: 24px; position: sticky; top: 90px; align-self: start; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.summary-total { border-top: 1px solid var(--grey-200); margin-top: 8px; padding-top: 12px; font-weight: 800; font-size: 1.15rem; }
.pay-buttons { margin-top: 16px; min-height: 60px; }
.notice { border-left: 4px solid var(--emerald-700); background: var(--emerald-50); padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: .92rem; }

/* Utilidades (la CSP no permite estilos en línea) */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mx-auto { margin-left: auto; margin-right: auto; }
.hidden { display: none !important; }
@media (max-width: 620px) { .kv { grid-template-columns: 1fr; gap: 2px 0; } .kv dd { margin-bottom: 10px; } }
