:root {
    color-scheme: light;
    --bg: #f4f6f7;
    --surface: #ffffff;
    --surface-muted: #eef3f4;
    --surface-alt: #f8fafb;
    --ink: #111820;
    --body: #28343c;
    --muted: #5f6e78;
    --line: #d8e1e5;
    --line-strong: #b4c3ca;
    --accent: #0f766e;
    --accent-strong: #0b5f59;
    --accent-soft: #dff3ef;
    --accent-line: #b9dfd8;
    --steel: #334155;
    --steel-soft: #e9eef3;
    --gold: #9a6a16;
    --gold-soft: #fff4d8;
    --info: #2563eb;
    --info-strong: #1d4ed8;
    --info-soft: #e8f0ff;
    --info-line: #b7cdfd;
    --warning: #b7791f;
    --warning-soft: #fff3d7;
    --warning-line: #e8c77a;
    --danger: #b42318;
    --danger-soft: #fff1f0;
    --danger-line: #f0b5ae;
    --technical-dark: #101820;
    --technical-ink: #e8f1f2;
    --shadow: 0 12px 32px rgba(23, 32, 38, 0.12);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

.skip-link {
    position: fixed;
    left: 12px;
    top: 12px;
    z-index: 100;
    transform: translateY(-140%);
    border-radius: 8px;
    background: var(--ink);
    color: #ffffff;
    padding: 10px 14px;
    text-decoration: none;
    font-weight: 800;
}

.skip-link:focus {
    transform: translateY(0);
}

body.has-open-panel {
    overflow: hidden;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.company-bar {
    border-bottom: 1px solid var(--line);
    background: #111820;
    color: #e8f1f2;
    font-size: 0.78rem;
}

.company-bar-inner {
    width: min(1180px, calc(100% - 32px));
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 auto;
}

.company-bar span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-bar a {
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.topbar,
main,
.site-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    min-width: 0;
    flex: 0 1 auto;
}

.brand > span {
    min-width: 0;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--line-strong);
    background: var(--surface);
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 1.12rem;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand small {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.site-nav {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1 1 auto;
}

.site-nav a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    color: var(--body);
    padding: 0 11px;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: var(--surface-alt);
    color: var(--accent-strong);
    outline: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.ghost-button,
.cart-button,
.primary-button,
.secondary-button,
.icon-button,
.tab,
.category-button,
.gallery-nav {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.ghost-button,
.cart-button,
.primary-button,
.secondary-button,
.category-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    font-weight: 700;
}

.ghost-button:hover,
.cart-button:hover,
.secondary-button:hover,
.category-button:hover,
.icon-button:hover,
.gallery-nav:hover {
    border-color: var(--accent);
    color: var(--accent-strong);
}

.primary-button {
    border-color: var(--accent);
    background: var(--accent);
    color: #ffffff;
}

.primary-button:hover {
    background: var(--accent-strong);
    transform: translateY(-1px);
}

.primary-button:disabled {
    border-color: var(--line);
    background: #b8c2c8;
    color: #ffffff;
    cursor: not-allowed;
    transform: none;
}

.secondary-button {
    background: var(--accent-soft);
    border-color: var(--accent-line);
    color: var(--accent-strong);
}

.cart-button strong {
    min-width: 26px;
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.86rem;
}

.whatsapp-button {
    width: 48px;
    min-width: 48px;
    padding: 0;
    border-color: transparent;
    background: transparent;
}

.whatsapp-button:hover {
    border-color: transparent;
    background: transparent;
    transform: translateY(-1px);
}

.whatsapp-button span {
    display: none;
}

.whatsapp-button img {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    object-fit: contain;
}

.cart-button.is-pulsing,
.mobile-action-button.is-pulsing {
    animation: cart-pulse 0.65s ease;
}

.store-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: start;
    padding: 42px 0 24px;
}

.brand-hero {
    grid-template-columns: minmax(0, 690px) minmax(360px, 450px);
    justify-content: space-between;
    align-items: center;
    margin: 0 calc(50% - 50vw) 24px;
    padding: 56px max(16px, calc((100vw - 1180px) / 2)) 42px;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 251, 0.96) 56%, rgba(233, 238, 243, 0.92) 100%),
        repeating-linear-gradient(90deg, rgba(17, 24, 32, 0.045) 0 1px, transparent 1px 96px);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 12px;
    font-size: 3.25rem;
    line-height: 1;
    letter-spacing: 0;
}

.brand-hero h1 {
    margin-bottom: 10px;
    font-size: 4.1rem;
    line-height: 0.96;
}

.intro-lead {
    max-width: 680px;
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 1.34rem;
    font-weight: 800;
    line-height: 1.25;
}

.intro-text {
    max-width: 690px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.04rem;
}

.intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.intro-actions .primary-button,
.intro-actions .secondary-button {
    min-height: 46px;
}

.intro-proof-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.intro-proof-list span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--body);
    padding: 0 10px;
    font-size: 0.78rem;
    font-weight: 800;
}

.catalog-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    min-width: 360px;
}

.brand-panel {
    min-width: 0;
    display: grid;
    gap: 0;
    align-self: stretch;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(17, 24, 32, 0.12);
    overflow: hidden;
}

.enterprise-panel-head,
.enterprise-product-strip,
.enterprise-workflow,
.enterprise-panel .catalog-stats {
    padding: 16px;
}

.enterprise-panel-head,
.enterprise-product-strip,
.enterprise-workflow {
    border-bottom: 1px solid var(--line);
}

.enterprise-panel-head {
    min-width: 0;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.enterprise-logo-lockup {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, var(--surface-alt) 100%);
}

.enterprise-logo-lockup img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.enterprise-panel-head strong,
.enterprise-panel-head span {
    display: block;
    min-width: 0;
}

.enterprise-status {
    width: fit-content;
    margin-bottom: 6px;
    border: 1px solid var(--accent-line);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    padding: 3px 8px;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.enterprise-panel-head strong {
    font-size: 1.22rem;
    line-height: 1.12;
}

.enterprise-panel-head span:last-child {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.32;
}

.enterprise-product-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    background: var(--surface-alt);
}

.enterprise-product-strip img {
    width: 100%;
    aspect-ratio: 1;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    object-fit: contain;
    padding: 8px;
}

.enterprise-workflow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.enterprise-workflow span {
    min-width: 0;
    display: grid;
    gap: 2px;
    color: var(--body);
    font-size: 0.8rem;
    font-weight: 800;
}

.enterprise-workflow strong {
    color: var(--gold);
    font-size: 0.78rem;
}

.brand-panel-head {
    min-width: 0;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.brand-panel-head img {
    width: 72px;
    height: 72px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    object-fit: cover;
}

.brand-panel-head strong,
.brand-panel-head span {
    display: block;
    min-width: 0;
}

.brand-panel-head strong {
    font-size: 1.24rem;
    line-height: 1.1;
}

.brand-panel-head span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.32;
}

.brand-capabilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.brand-capabilities span {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-alt);
    color: var(--body);
    padding: 9px 10px;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.brand-panel .catalog-stats {
    min-width: 0;
}

.catalog-stats div {
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
}

.catalog-stats strong,
.catalog-stats span {
    display: block;
}

.catalog-stats strong {
    font-size: 1.45rem;
}

.catalog-stats span {
    color: var(--muted);
    font-size: 0.82rem;
}

.company-operations {
    display: grid;
    grid-template-columns: minmax(240px, 0.52fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin: 0 0 26px;
}

.operations-heading h2 {
    margin-bottom: 0;
    font-size: 1.55rem;
    line-height: 1.12;
}

.operations-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.operations-grid article {
    min-width: 0;
    min-height: 172px;
    display: grid;
    align-content: start;
    gap: 8px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    border-radius: 8px;
    background: var(--surface);
    padding: 14px;
}

.operations-grid span {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
}

.operations-grid strong {
    line-height: 1.18;
}

.operations-grid p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.38;
}

.services-shortcut {
    display: grid;
    grid-template-columns: minmax(240px, 0.64fr) minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin: 0 calc(50% - 50vw) 22px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #ffffff;
    padding: 22px max(16px, calc((100vw - 1180px) / 2));
}

.brand-service-band {
    border-color: var(--line-strong);
    background:
        linear-gradient(180deg, #ffffff 0%, #f7fafb 100%),
        repeating-linear-gradient(90deg, rgba(17, 24, 32, 0.035) 0 1px, transparent 1px 88px);
}

.services-shortcut h2 {
    margin-bottom: 4px;
    font-size: 1.45rem;
    line-height: 1.12;
}

.services-shortcut p:not(.eyebrow) {
    margin-bottom: 0;
    color: var(--body);
}

.services-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.service-mini-card {
    min-width: 0;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: inherit;
    padding: 12px;
    text-decoration: none;
}

.service-mini-card:hover,
.service-mini-card:focus-visible {
    border-color: var(--accent-line);
    color: var(--accent-strong);
    outline: none;
}

.service-mini-card strong,
.service-mini-card span {
    display: block;
    min-width: 0;
}

.service-mini-card strong {
    font-size: 0.9rem;
    line-height: 1.16;
}

.service-mini-card span {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.25;
}

.services-main-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent);
    border-radius: 8px;
    background: var(--accent);
    color: #ffffff;
    padding: 0 16px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.services-main-button:hover,
.services-main-button:focus-visible {
    background: var(--accent-strong);
    color: #ffffff;
    outline: none;
    transform: translateY(-1px);
}

.kit-launch-section {
    scroll-margin-top: 128px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 18px;
    align-items: stretch;
    margin-bottom: 22px;
    border: 1px solid rgba(15, 118, 110, 0.28);
    border-radius: 8px;
    background: linear-gradient(135deg, #f7faf9 0%, #ffffff 46%, #fff8e6 100%);
    padding: 20px;
}

.kit-launch-copy,
.kit-launch-panel {
    min-width: 0;
}

.kit-launch-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    background: #f59e0b;
    color: #172026;
    padding: 0 11px;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.kit-launch-section h2 {
    margin: 9px 0 8px;
    max-width: 720px;
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    line-height: 1.02;
}

.kit-launch-section p {
    margin: 0;
    max-width: 760px;
    color: var(--muted);
}

.kit-launch-panel {
    display: grid;
    gap: 10px;
    align-content: center;
    border: 1px solid rgba(245, 158, 11, 0.45);
    border-radius: 8px;
    background: #ffffff;
    padding: 16px;
}

.kit-launch-panel strong {
    color: var(--accent-strong);
    font-size: 2.1rem;
    line-height: 1;
}

.kit-launch-panel span {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.kit-page-main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 46px;
}

.kit-page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 290px);
    gap: 18px;
    align-items: stretch;
    margin-bottom: 18px;
}

.kit-page-hero > div:first-child,
.kit-page-savings-card {
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: #ffffff;
    padding: 20px;
}

.kit-page-hero h1 {
    margin: 6px 0 10px;
    max-width: 760px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1;
}

.kit-page-hero p {
    margin: 0;
    max-width: 760px;
    color: var(--muted);
}

.kit-page-savings-card {
    display: grid;
    gap: 8px;
    align-content: center;
    border-color: rgba(15, 118, 110, 0.32);
    background: var(--accent-soft);
}

.kit-page-savings-card span {
    color: var(--accent-strong);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.kit-page-savings-card strong {
    color: var(--accent-strong);
    font-size: 4rem;
    line-height: 0.9;
}

.kit-builder-page-card {
    padding: 20px;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 2px 0 24px;
}

.trust-strip article {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-alt);
    padding: 14px;
}

.trust-strip strong,
.trust-strip span {
    display: block;
}

.trust-strip strong {
    margin-bottom: 4px;
}

.trust-strip span {
    color: var(--muted);
    font-size: 0.86rem;
}

.spotlight-section,
.project-section,
.kit-section,
.kit-builder-section,
.confidence-section,
.faq-section {
    margin-bottom: 26px;
}

.spotlight-section,
.project-section,
.kit-section,
.confidence-section,
.faq-section,
.products-grid {
    content-visibility: auto;
    contain-intrinsic-size: auto 720px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.section-heading h2 {
    margin-bottom: 0;
    font-size: 1.35rem;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.spotlight-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.spotlight-image {
    position: relative;
    width: 100%;
    min-height: 174px;
    display: grid;
    place-items: center;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface-alt);
    padding: 12px;
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.spotlight-copy {
    min-width: 0;
    display: grid;
    gap: 8px;
    align-content: center;
    padding: 14px;
}

.spotlight-copy h3 {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.spotlight-copy p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.spotlight-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.project-card {
    display: grid;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 16px;
}

.project-card h3 {
    margin-bottom: 0;
    font-size: 1.05rem;
}

.project-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.project-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-card .secondary-button {
    justify-self: start;
}

.kit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 12px;
}

.kit-card {
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 12px;
    align-items: start;
}

.kit-card.has-cover {
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 12px;
}

.kit-cover {
    width: 96px;
    height: 70px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface-alt);
    grid-row: span 4;
}

.kit-card h3 {
    margin-bottom: 0;
    font-size: 0.98rem;
    line-height: 1.25;
}

.kit-card p {
    margin-bottom: 0;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.88rem;
    line-height: 1.35;
}

.kit-products {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.kit-line {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    max-width: 100%;
    gap: 6px;
    align-items: center;
    min-width: 0;
    padding: 4px 7px 4px 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: inherit;
    font-size: 0.8rem;
    text-decoration: none;
}

.kit-line img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 50%;
    background: var(--surface-alt);
}

.kit-line strong,
.kit-line span {
    display: block;
    min-width: 0;
}

.kit-line strong {
    font-size: 0.8rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kit-line span {
    color: var(--accent-strong);
}

.kit-line span span {
    display: none;
}

.kit-more-line {
    align-self: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.8rem;
    padding: 6px 9px;
}

.kit-card .spotlight-actions {
    gap: 8px;
}

.kit-card .primary-button,
.kit-card .secondary-button {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.86rem;
}

.kit-builder-section {
    padding: 18px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: #ffffff;
}

.kit-builder-discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border: 1px solid var(--accent-line);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    padding: 0 12px;
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.kit-builder-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
    gap: 16px;
    align-items: start;
}

.kit-builder-workspace,
.kit-builder-summary {
    min-width: 0;
}

.kit-builder-steps {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.kit-builder-step-button {
    width: 100%;
    min-height: 48px;
    display: grid;
    align-content: center;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-alt);
    color: var(--muted);
    padding: 7px 8px;
    text-align: left;
}

.kit-builder-step-button strong,
.kit-builder-step-button span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kit-builder-step-button strong {
    color: var(--ink);
    font-size: 0.78rem;
    line-height: 1.1;
}

.kit-builder-step-button span {
    font-size: 0.68rem;
    font-weight: 800;
}

.kit-builder-step-button.is-active {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.kit-builder-step-button.is-complete {
    border-color: rgba(15, 118, 110, 0.35);
}

.kit-builder-stage {
    min-width: 0;
    display: grid;
    gap: 12px;
}

.kit-builder-stage-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-alt);
    padding: 14px;
}

.kit-builder-progress,
.kit-builder-stage-head h3,
.kit-builder-stage-head p {
    margin: 0;
}

.kit-builder-progress {
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.kit-builder-stage-head h3 {
    margin-top: 3px;
    font-size: 1.1rem;
}

.kit-builder-stage-head p:not(.kit-builder-progress) {
    color: var(--muted);
    font-size: 0.88rem;
}

.kit-builder-step-meta {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--muted);
    padding: 6px 10px;
    font-size: 0.74rem;
    font-weight: 900;
    white-space: nowrap;
}

.kit-builder-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    max-height: 560px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
}

.kit-builder-option {
    min-width: 0;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 82px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: inherit;
    padding: 9px;
    text-align: left;
}

.kit-builder-option:hover,
.kit-builder-option:focus-visible {
    border-color: var(--accent-line);
    outline: none;
}

.kit-builder-option.is-selected {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.kit-builder-option img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-alt);
}

.kit-builder-option-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.kit-builder-option-copy strong,
.kit-builder-option-copy span {
    display: block;
    min-width: 0;
}

.kit-builder-option-copy strong {
    font-size: 0.86rem;
    line-height: 1.22;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kit-builder-option-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 800;
}

.kit-builder-option-meta b {
    color: var(--accent-strong);
    font-size: 0.82rem;
}

.kit-builder-empty {
    border: 1px dashed var(--line-strong);
    border-radius: 8px;
    color: var(--muted);
    padding: 16px;
}

.kit-builder-controls {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.kit-builder-summary {
    position: sticky;
    top: 82px;
    display: grid;
    gap: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface-alt);
    padding: 14px;
}

.kit-builder-summary h3 {
    margin-bottom: 0;
    font-size: 1.06rem;
}

.kit-builder-selection {
    display: grid;
    gap: 8px;
    min-height: 78px;
}

.kit-builder-selection-empty {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.kit-builder-selection-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 8px;
}

.kit-builder-selection-line span,
.kit-builder-selection-line strong,
.kit-builder-selection-line small {
    display: block;
    min-width: 0;
}

.kit-builder-selection-line span {
    overflow: hidden;
}

.kit-builder-selection-line strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.84rem;
}

.kit-builder-selection-line small {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
}

.kit-builder-remove {
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
}

.kit-builder-remove:hover,
.kit-builder-remove:focus-visible {
    border-color: var(--accent-line);
    color: var(--accent-strong);
    outline: none;
}

.kit-builder-totals {
    display: grid;
    gap: 7px;
    border-top: 1px solid var(--line);
    padding-top: 10px;
}

.kit-builder-totals div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.86rem;
}

.kit-builder-totals strong {
    color: var(--ink);
}

.kit-builder-totals .kit-builder-final {
    align-items: center;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 900;
}

.kit-builder-final strong {
    color: var(--accent-strong);
    font-size: 1.25rem;
}

.kit-builder-savings {
    margin: 0;
    border: 1px solid var(--accent-line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--accent-strong);
    padding: 10px;
    font-size: 0.86rem;
    font-weight: 900;
}

.kit-builder-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.kit-builder-actions .primary-button {
    grid-column: 1 / -1;
}

.store-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px auto;
    gap: 12px;
    align-items: start;
    margin: 8px 0 14px;
}

.store-tools.search-only {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
    margin-bottom: 12px;
}

.search-box,
.sort-box,
.quantity-field,
.mini-quantity {
    display: grid;
    gap: 6px;
}

.search-box {
    position: relative;
}

.search-input-wrap {
    position: relative;
}

.search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 30px;
    margin-top: 2px;
}

.suggestion-chip {
    min-height: 28px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    padding: 0 10px;
    font-size: 0.78rem;
    font-weight: 800;
}

.suggestion-chip:hover {
    border-color: var(--accent);
    color: var(--accent-strong);
}

.search-box label,
.sort-box span,
.quantity-field span,
.mini-quantity span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.search-box input,
.sort-box select,
.quantity-field input,
.mini-quantity input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    outline: none;
}

.search-box input,
.sort-box select {
    min-height: 48px;
    padding: 0 14px;
}

.search-box input {
    padding-right: 44px;
}

.search-clear {
    position: absolute;
    top: 50%;
    right: 6px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
}

.search-clear:hover,
.search-clear:focus-visible {
    background: var(--accent-soft);
    color: var(--accent-strong);
    outline: none;
}

.search-clear[hidden] {
    display: none;
}

.quick-filters {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 21px;
    min-height: 48px;
}

.quick-filters label {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--muted);
    font-weight: 800;
    white-space: nowrap;
}

.quick-filters input {
    accent-color: var(--accent);
}

.search-box input:focus,
.sort-box select:focus,
.quantity-field input:focus,
.mini-quantity input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.category-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 18px;
    scrollbar-width: thin;
}

.category-button {
    white-space: nowrap;
    background: var(--surface);
}

.category-button.is-active {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.category-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}

.category-link-card {
    min-width: 0;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-alt);
    color: inherit;
    padding: 12px;
    text-decoration: none;
}

.category-link-card:hover,
.category-link-card:focus-visible {
    border-color: var(--accent-line);
    color: var(--accent-strong);
    outline: none;
}

.category-link-card strong,
.category-link-card span {
    display: block;
    min-width: 0;
}

.category-link-card span {
    color: var(--muted);
    font-size: 0.84rem;
}

.home-category-links {
    margin-top: -4px;
}

.company-cta-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin: 0 0 22px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: #111820;
    color: #ffffff;
    padding: 18px;
}

.company-cta-strip .eyebrow {
    color: #9ee4d8;
}

.company-cta-strip h2 {
    margin-bottom: 4px;
    font-size: 1.28rem;
    line-height: 1.15;
}

.company-cta-strip p {
    max-width: 760px;
    margin-bottom: 0;
    color: #c9d6dc;
}

.company-cta-strip .primary-button {
    border-color: #9ee4d8;
    background: #ffffff;
    color: #111820;
    white-space: nowrap;
}

.company-cta-strip .primary-button:hover,
.company-cta-strip .primary-button:focus-visible {
    border-color: #ffffff;
    background: #dff3ef;
    color: #0b5f59;
}

.project-route-strip {
    margin: 0 0 20px;
}

.project-route-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.project-route-card {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 6px;
    min-height: 118px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 100%);
    color: inherit;
    padding: 14px;
    text-decoration: none;
}

.project-route-card:hover,
.project-route-card:focus-visible {
    border-color: var(--accent-line);
    color: var(--accent-strong);
    outline: none;
    transform: translateY(-1px);
}

.project-route-card strong,
.project-route-card span {
    display: block;
    min-width: 0;
}

.project-route-card strong {
    line-height: 1.18;
}

.project-route-card span {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.32;
}

.seo-link-section {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 18px;
    margin: 0 0 18px;
}

.brand-product-section {
    border-color: var(--line-strong);
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 100%);
}

.resource-section {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: transparent;
    padding: 18px 0;
}

.resource-section .guide-card {
    background: var(--surface-alt);
}

.resource-section .section-heading h2 {
    font-size: 1.18rem;
}

.purchase-info-section {
    background: var(--surface-alt);
}

.guide-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.guide-card {
    min-width: 0;
    display: grid;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: inherit;
    padding: 13px;
    text-decoration: none;
}

.guide-card:hover,
.guide-card:focus-visible {
    border-color: var(--accent-line);
    color: var(--accent-strong);
    outline: none;
}

.guide-card strong,
.guide-card span {
    display: block;
    min-width: 0;
}

.guide-card span {
    color: var(--muted);
    font-size: 0.88rem;
}

.static-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.static-product-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: inherit;
    padding: 10px;
    text-decoration: none;
}

.static-product-card:hover,
.static-product-card:focus-visible {
    border-color: var(--accent-line);
    color: var(--accent-strong);
    outline: none;
}

.static-product-card img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface-alt);
}

.static-product-card span,
.static-product-card strong,
.static-product-card small {
    display: block;
    min-width: 0;
}

.static-product-card strong {
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.static-product-card small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.84rem;
}

.catalog-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin: 8px 0 14px;
}

.catalog-heading h2 {
    margin-bottom: 0;
    font-size: 1.35rem;
}

.catalog-heading p {
    margin-bottom: 0;
    color: var(--muted);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 12px;
    padding-bottom: 34px;
}

.confidence-section,
.faq-section {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 20px;
}

.confidence-section {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    gap: 18px;
    align-items: start;
}

.confidence-section h2,
.faq-section h2 {
    margin-bottom: 0;
    font-size: 1.35rem;
}

.confidence-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.confidence-grid article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-alt);
    padding: 14px;
}

.confidence-grid strong {
    display: block;
    margin-bottom: 5px;
}

.confidence-grid p,
.faq-section p {
    margin-bottom: 0;
    color: var(--muted);
}

.faq-section details {
    border-top: 1px solid var(--line);
    padding: 12px 0;
}

.faq-section details:first-of-type {
    margin-top: 12px;
}

.faq-section summary {
    cursor: pointer;
    font-weight: 800;
}

.product-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(23, 32, 38, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    box-shadow: 0 16px 34px rgba(23, 32, 38, 0.11);
}

.product-card.is-low-stock {
    border-color: var(--warning-line);
}

.product-card.is-out-of-stock {
    background: var(--surface-alt);
}

.product-card-skeleton {
    pointer-events: none;
    box-shadow: 0 6px 18px rgba(23, 32, 38, 0.05);
}

.product-card-skeleton:hover {
    transform: none;
    border-color: var(--line);
    box-shadow: 0 6px 18px rgba(23, 32, 38, 0.05);
}

.product-media {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 1.38 / 1;
    display: grid;
    place-items: center;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 100%);
    padding: 10px;
}

.product-media::before {
    position: absolute;
    inset: 8px;
    content: "";
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 6px;
    pointer-events: none;
}

.product-media img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-media.is-image-loading::before,
.spotlight-image.is-image-loading::before,
.detail-image-wrap.is-image-loading::before,
.thumbs button.is-image-loading::before {
    position: absolute;
    inset: 10px;
    content: "";
    border: 0;
    border-radius: 6px;
    background: linear-gradient(90deg, #edf1f3 0%, #f9fbfb 45%, #edf1f3 90%);
    background-size: 220% 100%;
    animation: skeleton-shimmer 1.08s ease-in-out infinite;
    pointer-events: none;
}

.spotlight-image.is-image-loading::before {
    inset: 12px;
}

.detail-image-wrap.is-image-loading::before {
    inset: 18px;
}

.product-media img,
.spotlight-image img,
.detail-image-wrap img,
.thumbs img,
.kit-cover,
.kit-line img,
.related-card img,
.cart-line img {
    opacity: 0;
    transform: scale(0.985);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.product-media img.is-loaded,
.spotlight-image img.is-loaded,
.detail-image-wrap img.is-loaded,
.thumbs img.is-loaded,
.kit-cover.is-loaded,
.kit-line img.is-loaded,
.related-card img.is-loaded,
.cart-line img.is-loaded {
    opacity: 1;
    transform: none;
}

.product-quick-view {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(15, 118, 110, 0.94);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.product-card:hover .product-quick-view,
.product-media:focus-visible .product-quick-view {
    opacity: 1;
    transform: translateY(0);
}

.product-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 10px;
    text-align: left;
}

.product-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    justify-content: flex-start;
    min-width: 0;
    overflow: hidden;
}

.tag {
    flex: 0 1 auto;
    max-width: 100%;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--surface-muted);
    color: var(--accent-strong);
    font-size: 0.68rem;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.badge-tag,
.datasheet-tag {
    flex: 0 0 auto;
}

.datasheet-tag {
    background: var(--info-soft);
    color: var(--info-strong);
}

.badge-tag {
    background: var(--accent);
    color: #ffffff;
}

.badge-tag.is-warning {
    background: var(--warning-soft);
    color: var(--warning);
}

.badge-tag.is-info {
    background: var(--info-soft);
    color: var(--info-strong);
}

.badge-tag.is-muted {
    background: var(--surface-muted);
    color: var(--muted);
}

.product-card h3 {
    min-height: 36px;
    margin: 0;
}

.product-title-button {
    width: 100%;
    display: -webkit-box;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.18;
    padding: 0;
    text-align: left;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-title-button:hover,
.product-title-button:focus-visible {
    color: var(--accent-strong);
}

.product-title-button:focus-visible {
    outline: 3px solid var(--accent-soft);
    outline-offset: 3px;
    border-radius: 4px;
}

.product-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 7px;
}

.product-price {
    font-size: 1.12rem;
    line-height: 1.1;
}

.product-card-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.28;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.stock-label {
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--surface-muted);
    color: var(--accent-strong);
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
    padding: 0 8px;
    text-align: center;
    white-space: nowrap;
}

.stock-label.is-low {
    background: var(--warning-soft);
    color: var(--warning);
}

.stock-label.is-out {
    background: var(--danger-soft);
    color: var(--danger);
}

.product-card.is-out-of-stock .product-media img.is-loaded {
    opacity: 0.55;
    filter: grayscale(0.45);
}

.product-card.has-missing-image .product-media::after,
.spotlight-card.has-missing-image .spotlight-image::after {
    position: absolute;
    left: 10px;
    bottom: 10px;
    content: "Sin foto";
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(180, 35, 24, 0.88);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
}

.card-actions {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 6px;
    align-items: center;
    min-height: 36px;
    width: 100%;
    margin-top: auto;
}

.skeleton-media {
    cursor: default;
}

.skeleton-media::before {
    border-color: transparent;
}

.skeleton-body {
    grid-template-rows: auto minmax(44px, auto) auto auto;
}

.skeleton-title-stack {
    display: grid;
    gap: 8px;
    min-height: 44px;
    align-content: start;
}

.skeleton-block {
    display: block;
    min-width: 0;
    border-radius: 6px;
    background: linear-gradient(90deg, #edf1f3 0%, #f9fbfb 45%, #edf1f3 90%);
    background-size: 220% 100%;
    animation: skeleton-shimmer 1.08s ease-in-out infinite;
}

.skeleton-photo {
    width: min(74%, 166px);
    aspect-ratio: 1 / 1;
    border-radius: 8px;
}

.skeleton-pill {
    width: 78px;
    height: 24px;
    border-radius: 999px;
}

.skeleton-short {
    width: 88px;
}

.skeleton-tiny {
    width: 48px;
}

.skeleton-line {
    width: 100%;
    height: 15px;
}

.skeleton-line-short {
    width: 72%;
}

.skeleton-price {
    width: 96px;
    height: 27px;
}

.skeleton-stock {
    width: 76px;
    height: 26px;
    border-radius: 999px;
}

.skeleton-input,
.skeleton-button {
    height: 38px;
}

.skeleton-input {
    border-radius: 8px;
}

.mini-quantity input {
    min-height: 34px;
    padding: 0 6px;
    text-align: center;
}

.add-button,
.consult-button {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    padding-inline: 6px;
    font-size: 0.78rem;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
}

.add-button:disabled,
.consult-button:disabled {
    opacity: 0.65;
}

.product-card.is-out-of-stock .card-actions {
    grid-template-columns: 1fr;
}

.product-card:not(.is-out-of-stock) .consult-button {
    display: none;
}

.product-card.is-out-of-stock .mini-quantity {
    display: none;
}

.product-card.is-out-of-stock .consult-button {
    background: var(--accent-soft);
    border-color: var(--accent-line);
    color: var(--accent-strong);
}

.empty-state {
    margin: 30px auto 64px;
    max-width: 460px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
}

.empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.product-dialog {
    width: min(1120px, calc(100vw - 24px));
    max-width: none;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: auto;
}

.product-dialog::backdrop {
    background: rgba(9, 15, 18, 0.58);
}

.dialog-close {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 2;
}

.icon-button {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
}

.product-detail {
    max-width: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(340px, 1.04fr) minmax(320px, 0.96fr);
}

.detail-gallery {
    max-width: 100%;
    min-height: 0;
    min-width: 0;
    display: grid;
    grid-template-rows: auto auto;
    gap: 10px;
    align-content: center;
    padding: 22px;
    background: var(--surface-alt);
    border-right: 1px solid var(--line);
    overflow: hidden;
    overscroll-behavior: contain;
}

.detail-image-wrap {
    position: relative;
    min-height: 0;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.detail-image-wrap.is-swiping {
    cursor: grabbing;
}

.detail-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    pointer-events: none;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 38px;
    height: 46px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 1.7rem;
}

.gallery-nav:first-of-type {
    left: 10px;
}

.gallery-nav:last-of-type {
    right: 10px;
}

.thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 0;
}

.thumbs[hidden] {
    display: none;
}

.detail-gallery.has-single-image {
    grid-template-rows: auto;
}

.thumbs button {
    position: relative;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
    overflow: hidden;
    padding: 4px;
}

.thumbs button.is-active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-soft);
}

.thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-info {
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 28px;
    overflow-y: visible;
    overflow-x: clip;
}

.product-category {
    margin-bottom: 8px;
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.detail-info h2 {
    margin-bottom: 12px;
    padding-right: 34px;
    font-size: 2rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.detail-meta {
    min-width: 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.detail-meta strong {
    font-size: 1.65rem;
}

.detail-meta span {
    color: var(--muted);
}

.purchase-assurance {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 14px 0 16px;
}

.purchase-assurance article {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-alt);
    padding: 10px;
}

.purchase-assurance strong,
.purchase-assurance span {
    display: block;
    min-width: 0;
}

.purchase-assurance strong {
    font-size: 0.82rem;
    line-height: 1.2;
}

.purchase-assurance span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.28;
}

.detail-actions {
    position: sticky;
    bottom: 0;
    z-index: 1;
    flex: 0 0 auto;
    min-width: 0;
    display: grid;
    grid-template-columns: 96px minmax(128px, 1fr) minmax(118px, 0.82fr);
    gap: 10px;
    align-items: center;
    min-height: 76px;
    margin: 18px -28px 0;
    padding: 14px 28px calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: #ffffff;
    box-shadow: 0 -12px 24px rgba(23, 32, 38, 0.06);
}

.detail-actions .quantity-field,
.detail-actions .primary-button,
.detail-actions .secondary-button {
    align-self: center;
}

.detail-actions .primary-button,
.detail-actions .secondary-button {
    min-height: 44px;
    height: 44px;
    line-height: 1.05;
    text-align: center;
}

.quantity-field input {
    min-height: 44px;
    padding: 0 10px;
}

.tabs {
    max-width: 100%;
    min-width: 0;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--line);
}

.tabs[hidden],
.tab[hidden] {
    display: none;
}

.tab {
    min-height: 42px;
    padding: 0 12px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
    color: var(--muted);
    font-weight: 800;
}

.tab.is-active {
    color: var(--accent-strong);
    background: var(--accent-soft);
    border-color: var(--accent-line);
}

.tab:disabled {
    color: #aeb8be;
    cursor: not-allowed;
}

.detail-shortcuts {
    max-width: 100%;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.detail-shortcuts[hidden] {
    display: none;
}

.tab-panel {
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    padding-top: 16px;
    line-height: 1.58;
    color: var(--body);
}

.tab-panel p,
.tab-panel pre {
    margin: 0;
    white-space: pre-wrap;
}

.tab-panel pre {
    max-height: 360px;
    overflow: auto;
    background: var(--technical-dark);
    color: var(--technical-ink);
    border-radius: var(--radius);
    padding: 16px;
    font-size: 0.9rem;
}

.tab-panel a {
    color: var(--info-strong);
    font-weight: 800;
}

.description-sections {
    display: grid;
    gap: 16px;
}

.description-block {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.description-block:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.description-block h4 {
    margin: 0 0 8px;
    color: var(--accent-strong);
    font-size: 0.96rem;
    line-height: 1.25;
}

.description-content {
    display: grid;
    gap: 10px;
}

.description-content p {
    color: var(--body);
}

.description-list {
    display: grid;
    grid-template-columns: minmax(112px, 0.42fr) minmax(0, 1fr);
    gap: 8px 12px;
    margin: 0;
}

.description-list dt,
.description-list dd {
    min-width: 0;
}

.description-list dt {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.description-list dd {
    margin: 0;
    color: var(--body);
}

.description-note {
    margin: 0;
    grid-column: 1 / -1;
}

.related-section {
    max-width: 100%;
    min-width: 0;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.related-section[hidden] {
    display: none;
}

.related-section h3 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.related-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.related-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 8px;
    text-align: left;
}

.related-card img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface-alt);
}

.related-card strong,
.related-card span {
    display: block;
}

.related-card strong {
    font-size: 0.82rem;
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-card span {
    color: var(--accent-strong);
    font-size: 0.82rem;
    font-weight: 800;
}

@media (min-width: 841px) {
    .product-dialog {
        width: min(780px, calc(100vw - 84px));
        max-height: calc(100vh - 84px);
        max-height: calc(100dvh - 84px);
        overflow: auto;
        overscroll-behavior: contain;
        background: var(--surface);
    }

    .product-detail {
        height: auto;
        grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
        align-items: start;
    }

    .detail-gallery {
        grid-template-rows: auto auto;
        align-content: start;
        justify-items: center;
        gap: 6px;
        padding: 12px;
    }

    .detail-image-wrap {
        width: 100%;
        max-width: 210px;
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .detail-image-wrap img {
        padding: 12px;
    }

    .thumbs {
        grid-template-columns: repeat(5, 38px);
        justify-content: center;
        max-width: 100%;
        gap: 5px;
    }

    .thumbs button {
        width: 38px;
        height: 38px;
        aspect-ratio: auto;
        padding: 3px;
    }

    .detail-info {
        overflow: visible;
        padding: 16px 18px 0;
    }

    .product-category {
        margin-bottom: 5px;
        font-size: 0.68rem;
    }

    .detail-info h2 {
        margin-bottom: 8px;
        padding-right: 26px;
        font-size: 1.22rem;
        line-height: 1.14;
    }

    .detail-meta {
        gap: 8px;
        padding-bottom: 10px;
    }

    .detail-meta strong {
        font-size: 1.25rem;
    }

    .detail-meta span {
        font-size: 0.78rem;
    }

    .purchase-assurance {
        gap: 6px;
        margin: 8px 0 10px;
    }

    .purchase-assurance article {
        padding: 6px;
    }

    .purchase-assurance strong {
        font-size: 0.7rem;
    }

    .purchase-assurance span {
        display: none;
    }

    .tabs {
        gap: 4px;
    }

    .tab {
        min-height: 32px;
        padding: 0 8px;
        font-size: 0.76rem;
    }

    .detail-shortcuts {
        gap: 6px;
        margin-top: 8px;
    }

    .detail-shortcuts .secondary-button {
        min-height: 34px;
        padding: 0 8px;
        font-size: 0.78rem;
    }

    .tab-panel {
        max-height: min(200px, 28vh);
        overflow: auto;
        padding: 10px 4px 2px 0;
        font-size: 0.88rem;
        line-height: 1.45;
        scrollbar-gutter: stable;
    }

    .description-sections {
        gap: 10px;
    }

    .description-block {
        padding-bottom: 10px;
    }

    .description-block h4 {
        margin-bottom: 5px;
        font-size: 0.84rem;
    }

    .description-list {
        gap: 5px 8px;
    }

    .related-section {
        margin-top: 10px;
        margin-bottom: 0;
        padding-top: 10px;
    }

    .related-section h3 {
        margin-bottom: 7px;
        font-size: 0.9rem;
    }

    .related-products {
        gap: 6px;
    }

    .related-card {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 6px;
        padding: 6px;
    }

    .related-card img {
        width: 40px;
        height: 40px;
    }

    .related-card strong,
    .related-card span {
        font-size: 0.74rem;
    }

    .detail-actions {
        position: static;
        grid-template-columns: 68px minmax(128px, 1fr) minmax(86px, 0.62fr);
        gap: 8px;
        min-height: auto;
        margin: 12px 0 0;
        padding: 10px 0 0;
        box-shadow: none;
    }

    .detail-actions .quantity-field {
        gap: 4px;
    }

    .detail-actions .quantity-field span {
        font-size: 0.68rem;
    }

    .detail-actions .quantity-field input {
        min-height: 34px;
        padding: 0 7px;
    }

    .detail-actions .primary-button,
    .detail-actions .secondary-button {
        min-width: 0;
        min-height: 36px;
        height: 36px;
        padding: 0 9px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    #dialog-add::before {
        content: "Agregar";
    }

    #dialog-add:disabled::before {
        content: "Sin stock";
    }

    #dialog-add {
        font-size: 0;
    }

    #dialog-add::before {
        font-size: 0.8rem;
    }
}

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(9, 15, 18, 0.42);
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 31;
    width: min(420px, 100%);
    height: 100vh;
    height: 100dvh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    background: var(--surface);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateX(105%);
    transition: transform 0.2s ease;
}

.cart-drawer.is-open {
    transform: translateX(0);
}

.cart-header {
    padding: 14px 16px;
}

.cart-footer {
    padding: 12px 16px 14px;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.cart-header h2 {
    margin-bottom: 0;
}

.cart-summary {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.cart-items {
    overflow: auto;
    padding: 6px 14px;
}

.cart-line {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 9px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.cart-line img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.cart-line h3 {
    margin-bottom: 2px;
    font-size: 0.86rem;
    line-height: 1.18;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cart-line p {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.2;
}

.cart-suggestions {
    display: grid;
    gap: 8px;
    margin: 8px 0 4px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.cart-suggestions h3 {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.cart-suggestion-list {
    display: grid;
    gap: 7px;
}

.cart-suggestion {
    min-width: 0;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-alt);
    padding: 7px;
}

.cart-suggestion img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
}

.cart-suggestion span,
.cart-suggestion strong {
    display: block;
    min-width: 0;
}

.cart-suggestion strong {
    font-size: 0.78rem;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-suggestion span span {
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 800;
}

.cart-suggestion button {
    min-height: 32px;
    border: 1px solid var(--accent-line);
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0 9px;
    white-space: nowrap;
}

.cart-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.stepper button {
    width: 30px;
    height: 30px;
    border: 0;
    background: var(--surface);
    font-weight: 900;
}

.stepper span {
    min-width: 30px;
    text-align: center;
    font-weight: 800;
    font-size: 0.86rem;
}

.remove-button {
    border: 0;
    background: transparent;
    color: var(--danger);
    font-size: 0.8rem;
    font-weight: 800;
}

.cart-empty {
    align-self: start;
    margin: 24px 18px;
    padding: 22px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    text-align: center;
    color: var(--muted);
}

.cart-empty h3 {
    color: var(--ink);
}

.cart-empty .secondary-button {
    margin-top: 12px;
}

.cart-footer {
    border-top: 1px solid var(--line);
}

.delivery-field {
    display: grid;
    gap: 5px;
    margin-bottom: 10px;
}

.delivery-field span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.cart-delivery-hint {
    margin: -2px 0 10px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.cart-trust-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: -2px 0 10px;
}

.cart-trust-list span {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-alt);
    color: var(--body);
    padding: 0 6px;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.12;
    text-align: center;
}

.delivery-field select {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    padding: 0 10px;
    outline: none;
}

.delivery-field select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.customer-details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-alt);
    margin-bottom: 10px;
}

.customer-details summary {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
    padding: 0 10px;
}

.customer-details summary::after {
    content: "+";
    color: var(--accent-strong);
    font-size: 1rem;
}

.customer-details[open] summary::after {
    content: "-";
}

.cart-checkout {
    display: grid;
    gap: 8px;
}

.toast-stack {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 45;
    display: grid;
    gap: 10px;
    width: min(360px, calc(100% - 36px));
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--accent-line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 36px rgba(23, 32, 38, 0.18);
    padding: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: auto;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast span {
    display: grid;
    min-width: 0;
}

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

.toast small {
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.toast button {
    min-height: 34px;
    border: 1px solid var(--accent);
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-weight: 900;
    padding: 0 10px;
    white-space: nowrap;
}

.mobile-action-bar {
    display: none;
}

.mobile-action-button {
    position: relative;
    min-width: 0;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 900;
    overflow: hidden;
    white-space: nowrap;
}

.mobile-action-button > span:not(.mobile-action-symbol) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-action-button:focus-visible {
    outline: 3px solid var(--accent-soft);
    outline-offset: 2px;
}

.mobile-action-symbol {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--surface-muted);
    color: var(--accent-strong);
    font-size: 0.78rem;
    line-height: 1;
}

.mobile-action-symbol svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mobile-action-button img {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    object-fit: contain;
}

.mobile-action-button strong {
    position: absolute;
    top: 4px;
    right: 5px;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.74rem;
    line-height: 1;
}

.customer-form {
    display: grid;
    gap: 7px;
    border-top: 1px solid var(--line);
    margin: 0;
    padding: 10px;
}

.customer-form label {
    display: grid;
    gap: 4px;
}

.customer-form span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.customer-form input,
.customer-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    padding: 8px 10px;
    outline: none;
    resize: vertical;
}

.customer-form input:focus,
.customer-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
}

.cart-total span {
    color: var(--muted);
}

.cart-total strong {
    font-size: 1.18rem;
}

.full-button {
    width: 100%;
}

.cart-footer-actions {
    display: grid;
    grid-template-columns: minmax(82px, 0.72fr) minmax(0, 1.28fr);
    gap: 8px;
}

.cart-footer .full-button {
    min-height: 40px;
    padding: 0 10px;
}

.cart-footer .full-button + .full-button {
    margin-top: 0;
}

.site-footer {
    padding: 28px 0 36px;
    color: var(--muted);
    text-align: center;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    margin-bottom: 10px;
}

.site-footer-links-muted {
    font-size: 0.9rem;
}

.site-footer p {
    margin-bottom: 0;
}

.site-footer a {
    color: var(--accent-strong);
    font-weight: 800;
}

.offline-page {
    min-height: 100vh;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 12px;
    text-align: center;
}

.offline-page img {
    border-radius: 14px;
}

.offline-page h1 {
    margin-bottom: 0;
    font-size: 2rem;
}

.offline-page p:not(.eyebrow) {
    max-width: 460px;
    color: var(--muted);
}

.report-page {
    padding: 30px 0 52px;
}

.report-page h1 {
    margin-bottom: 0;
    font-size: 2.2rem;
}

.report-stats {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-bottom: 18px;
}

.report-tools {
    grid-template-columns: minmax(0, 1fr) 220px;
}

.report-table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.report-table th,
.report-table td {
    border-bottom: 1px solid var(--line);
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.report-table th {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.report-table a {
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.admin-page,
.kit-admin-page {
    padding: 30px 0 52px;
}

.admin-page h1,
.kit-admin-page h1 {
    margin-bottom: 0;
    font-size: 2.2rem;
}

.kit-login {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 18px;
}

.kit-admin-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
    gap: 18px;
    align-items: start;
}

.admin-shell {
    display: grid;
    gap: 16px;
}

.admin-module[hidden] {
    display: none !important;
}

.admin-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.admin-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-quality-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    gap: 8px;
}

.admin-quality-summary article {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-alt);
    padding: 10px;
}

.admin-quality-summary strong,
.admin-quality-summary span {
    display: block;
}

.admin-quality-summary strong {
    color: var(--accent-strong);
    font-size: 1.25rem;
}

.admin-quality-summary span {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.25;
}

.admin-module {
    display: grid;
    gap: 16px;
}

.kit-builder {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(340px, 0.92fr);
    gap: 16px;
    align-items: start;
}

.product-admin-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
    gap: 16px;
    align-items: start;
}

.product-source-panel,
.kit-target-panel,
.product-editor-form {
    display: grid;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 18px;
}

.builder-panel-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.builder-panel-header h3,
.builder-panel-header p {
    margin-bottom: 0;
}

.builder-panel-header p {
    color: var(--muted);
}

.admin-product-list {
    max-height: 620px;
    overflow: auto;
    display: grid;
    gap: 8px;
    padding-right: 4px;
}

.admin-product-row {
    min-width: 0;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 8px;
    text-align: left;
}

.admin-product-row.is-selected {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.admin-product-row.needs-photo {
    border-color: var(--warning-line);
}

.admin-product-row img,
.selected-product-row img,
.kit-list-card.has-image > img {
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface-alt);
}

.admin-product-row img {
    width: 56px;
    height: 56px;
}

.admin-product-row strong,
.admin-product-row span,
.selected-product-row strong,
.selected-product-row span {
    display: block;
}

.admin-product-row strong {
    color: var(--ink);
    line-height: 1.2;
}

.admin-product-row span {
    color: var(--muted);
    font-size: 0.82rem;
}

.admin-product-row .admin-row-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 3px 0;
}

.admin-row-badge {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    min-height: 20px;
    border-radius: 999px;
    padding: 0 7px;
    background: var(--surface-muted);
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 900;
}

.admin-row-badge.is-warning {
    background: var(--warning-soft);
    color: var(--warning);
}

.product-photo-panel {
    display: grid;
    gap: 12px;
    border: 1px dashed var(--accent-line);
    border-radius: 8px;
    background: var(--surface-alt);
    padding: 14px;
}

.product-photo-preview {
    min-height: 82px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.product-photo-preview img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.photo-dropzone {
    position: relative;
    min-height: 92px;
    display: grid;
    place-items: center;
    gap: 4px;
    border: 1px dashed var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    padding: 14px;
    text-align: center;
    cursor: pointer;
}

.photo-dropzone span {
    color: var(--accent-strong);
    font-weight: 900;
}

.photo-dropzone small {
    color: var(--muted);
}

.photo-dropzone input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.kit-target-panel label {
    display: grid;
    gap: 6px;
}

.kit-target-panel label > span,
.product-editor-form label > span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.kit-target-panel input,
.kit-target-panel textarea,
.product-editor-form input,
.product-editor-form select,
.product-editor-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    padding: 10px 12px;
    outline: none;
}

.kit-target-panel input:focus,
.kit-target-panel textarea:focus,
.product-editor-form input:focus,
.product-editor-form select:focus,
.product-editor-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.product-editor-form label {
    display: grid;
    gap: 6px;
}

.product-editor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.product-editor-form textarea {
    min-height: 92px;
    resize: vertical;
}

.product-editor-form .code-editor {
    font-family: "Courier New", Courier, monospace;
    min-height: 150px;
}

.selected-products-panel {
    min-height: 220px;
    display: grid;
    align-content: start;
    gap: 8px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    padding: 10px;
}

.selected-product-row {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 40px;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-alt);
    padding: 8px;
}

.selected-product-row img {
    width: 58px;
    height: 58px;
}

.selected-product-row strong {
    line-height: 1.22;
}

.selected-product-row span {
    color: var(--muted);
    font-size: 0.82rem;
}

.kit-form,
.kit-list-panel {
    display: grid;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 18px;
}

.kit-form label {
    display: grid;
    gap: 6px;
}

.kit-form span,
.field-label {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.kit-form input,
.kit-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    padding: 10px 12px;
    outline: none;
}

.kit-form input:focus,
.kit-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.kit-form-row {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 12px;
    align-items: end;
}

.kit-checkbox {
    min-height: 42px;
    display: flex !important;
    grid-template-columns: none;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 12px;
}

.kit-checkbox input {
    width: auto;
    accent-color: var(--accent);
}

.kit-product-picker {
    max-height: 280px;
    overflow: auto;
    display: grid;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
}

.picker-product {
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    padding: 8px 10px;
    text-align: left;
    font-weight: 700;
}

.picker-product.is-selected {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.selected-kit-products {
    min-height: 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    padding: 10px;
}

.selected-product-chip {
    min-height: 30px;
    border: 1px solid var(--accent-line);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    padding: 0 10px;
    font-size: 0.82rem;
    font-weight: 800;
}

.kit-form-actions,
.kit-list-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kit-list {
    display: grid;
    gap: 10px;
}

.kit-list-card {
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-alt);
    padding: 14px;
}

.kit-list-card.has-image {
    grid-template-columns: 140px minmax(0, 1fr);
}

.kit-list-card.has-image > img {
    width: 140px;
    height: 82px;
}

.kit-list-card h3,
.kit-list-card p {
    margin-bottom: 0;
}

.muted-text {
    color: var(--muted);
}

.danger-button {
    border-color: var(--danger-line);
    background: var(--danger-soft);
    color: var(--danger);
}

@keyframes skeleton-shimmer {
    from {
        background-position: 220% 0;
    }

    to {
        background-position: -220% 0;
    }
}

@media (prefers-reduced-motion: no-preference) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation-duration: 180ms;
    }

    @keyframes cart-pulse {
        0%,
        100% {
            transform: scale(1);
        }

        45% {
            transform: scale(1.04);
            box-shadow: 0 0 0 4px var(--accent-soft);
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .skeleton-block,
    .product-media.is-image-loading::before,
    .spotlight-image.is-image-loading::before,
    .detail-image-wrap.is-image-loading::before,
    .thumbs button.is-image-loading::before {
        animation: none;
    }
}

@media (max-width: 980px) {
    .site-nav {
        display: none;
    }

    .company-bar-inner {
        justify-content: center;
    }

    .company-bar-inner span:nth-child(2) {
        display: none;
    }
}

@media (max-width: 840px) {
    .store-intro,
    .services-shortcut,
    .company-operations,
    .company-cta-strip,
    .kit-launch-section,
    .kit-page-hero,
    .kit-builder-layout,
    .product-detail,
    .spotlight-grid,
    .project-grid,
    .kit-grid,
    .confidence-section {
        grid-template-columns: 1fr;
    }

    .catalog-stats {
        min-width: 0;
    }

    .brand-hero {
        grid-template-columns: 1fr;
        padding-top: 34px;
    }

    .brand-panel {
        align-self: auto;
    }

    .store-tools {
        grid-template-columns: minmax(0, 1fr) minmax(126px, 160px);
    }

    .detail-gallery {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .product-detail {
        grid-template-rows: auto auto;
    }

    .detail-actions {
        grid-template-columns: 96px 1fr;
    }

    #dialog-whatsapp {
        grid-column: 1 / -1;
    }

    .quick-filters {
        grid-column: 1 / -1;
        flex-wrap: wrap;
        margin-top: 0;
    }

    .related-products {
        grid-template-columns: 1fr;
    }

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

    .confidence-grid,
    .project-route-grid,
    .report-stats,
    .report-tools,
    .kit-login,
    .kit-admin-layout,
    .product-admin-layout,
    .kit-builder {
        grid-template-columns: 1fr;
    }

    .services-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

    .company-cta-strip .primary-button {
        justify-self: start;
    }

    .kit-builder-summary {
        position: static;
    }

    .kit-builder-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 620px) {
    body {
        padding-bottom: calc(78px + env(safe-area-inset-bottom));
    }

    .topbar,
    main,
    .site-footer {
        width: min(100% - 20px, 1180px);
    }

    .topbar {
        min-height: 64px;
        gap: 8px;
    }

    .company-bar-inner {
        width: min(100% - 20px, 1180px);
        min-height: 30px;
        gap: 10px;
        justify-content: space-between;
        font-size: 0.72rem;
    }

    .company-bar-inner span:first-child {
        max-width: 62%;
    }

    .brand {
        flex: 1 1 auto;
        gap: 8px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }

    .brand strong {
        font-size: 0.96rem;
        max-width: 100%;
    }

    .header-actions {
        gap: 6px;
    }

    .brand small,
    .header-actions > .ghost-button:not(.whatsapp-button) {
        display: none;
    }

    .whatsapp-button {
        width: 46px;
        min-width: 46px;
        padding: 0;
    }

    .whatsapp-button img {
        width: 36px;
        height: 36px;
    }

    .cart-button {
        padding: 0 10px;
    }

    .store-tools {
        margin: 0 0 12px;
        padding: 0;
        border-bottom: 0;
        background: transparent;
    }

    .services-shortcut {
        gap: 10px;
        margin-bottom: 16px;
        padding: 16px 10px;
    }

    .services-card-grid,
    .purchase-assurance {
        grid-template-columns: 1fr;
    }

    .service-mini-card {
        padding: 9px 10px;
    }

    .services-main-button {
        width: 100%;
        white-space: normal;
    }

    .search-box input,
    .sort-box select {
        min-height: 44px;
    }

    .search-suggestions {
        flex-wrap: nowrap;
        min-height: 28px;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .suggestion-chip {
        flex: 0 0 auto;
        min-height: 26px;
        font-size: 0.72rem;
    }

    .mobile-action-bar {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        z-index: 29;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 12px 30px rgba(23, 32, 38, 0.18);
        padding: 6px;
        backdrop-filter: blur(12px);
    }

    body.has-open-panel .mobile-action-bar {
        display: none;
    }

    .mobile-action-button:hover,
    .mobile-action-button:focus-visible {
        border-color: var(--accent);
        background: var(--accent-soft);
        color: var(--accent-strong);
    }

    .mobile-action-whatsapp {
        color: var(--accent-strong);
    }

    .toast-stack {
        right: 10px;
        bottom: calc(88px + env(safe-area-inset-bottom));
        width: calc(100% - 20px);
    }

    .store-intro {
        padding-top: 28px;
    }

    .brand-hero {
        margin-bottom: 18px;
        padding: 30px 10px 24px;
    }

    h1 {
        font-size: 2.08rem;
    }

    .brand-hero h1 {
        font-size: 2.7rem;
    }

    .intro-lead {
        font-size: 1.05rem;
    }

    .intro-actions .primary-button,
    .intro-actions .secondary-button {
        width: 100%;
    }

    .brand-panel {
        border-radius: 8px;
    }

    .enterprise-panel-head,
    .enterprise-product-strip,
    .enterprise-workflow,
    .enterprise-panel .catalog-stats {
        padding: 12px;
    }

    .enterprise-panel-head {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 10px;
    }

    .enterprise-logo-lockup {
        width: 58px;
        height: 58px;
    }

    .enterprise-logo-lockup img {
        width: 46px;
        height: 46px;
    }

    .enterprise-panel-head strong {
        font-size: 1rem;
    }

    .enterprise-product-strip {
        gap: 7px;
    }

    .enterprise-product-strip img {
        padding: 5px;
    }

    .enterprise-workflow {
        grid-template-columns: 1fr;
        gap: 7px;
    }

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

    .operations-grid article {
        min-height: auto;
    }

    .company-cta-strip {
        padding: 16px;
    }

    .kit-launch-section {
        scroll-margin-top: 104px;
    }

    .kit-page-main {
        width: min(100% - 20px, 1180px);
        padding-top: 16px;
    }

    .kit-launch-section,
    .kit-page-hero > div:first-child,
    .kit-page-savings-card {
        padding: 16px;
    }

    .kit-launch-section h2 {
        font-size: 1.64rem;
    }

    .kit-page-hero h1 {
        font-size: 2.05rem;
    }

    .kit-page-savings-card strong {
        font-size: 3.2rem;
    }

    .kit-builder-page .mobile-action-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-cta-strip .primary-button {
        width: 100%;
        white-space: normal;
    }

    .brand-capabilities {
        grid-template-columns: 1fr;
    }

    .detail-info h2 {
        font-size: 1.42rem;
    }

    .catalog-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .trust-strip {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .kit-builder-section {
        padding: 12px;
    }

    .kit-builder-steps {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: thin;
    }

    .kit-builder-steps li {
        flex: 0 0 132px;
    }

    .kit-builder-stage-head {
        align-items: stretch;
        flex-direction: column;
        padding: 12px;
    }

    .kit-builder-step-meta {
        align-self: start;
    }

    .kit-builder-options {
        grid-template-columns: 1fr;
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }

    .kit-builder-option {
        min-height: 74px;
    }

    .kit-builder-controls {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kit-builder-summary {
        padding: 12px;
    }

    .kit-builder-actions {
        grid-template-columns: 1fr;
    }

    .kit-builder-actions .primary-button {
        grid-column: auto;
    }

    .spotlight-card {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .spotlight-image {
        min-height: 160px;
    }

    .catalog-stats div {
        padding: 10px;
    }

    .catalog-stats strong {
        font-size: 1.1rem;
    }

    .catalog-stats span {
        font-size: 0.72rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .product-card {
        min-height: 286px;
        display: flex;
        flex-direction: column;
    }

    .product-media {
        aspect-ratio: 1.08 / 1;
        padding: 9px;
    }

    .product-media::before {
        inset: 7px;
    }

    .product-quick-view {
        display: none;
    }

    .product-card.has-missing-image .product-media::after {
        top: 6px;
        bottom: auto;
        left: 6px;
        font-size: 0.66rem;
    }

    .product-body {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        gap: 7px;
        padding: 8px 8px 10px;
        text-align: left;
    }

    .product-tags {
        display: none;
    }

    .tag {
        min-height: 18px;
        padding: 0 5px;
        font-size: 0.58rem;
    }

    .product-card h3 {
        min-height: 44px;
        display: flex;
        align-items: flex-start;
    }

    .product-title-button {
        display: -webkit-box;
        font-size: 0.78rem;
        line-height: 1.18;
        text-align: left;
        overflow: hidden;
        -webkit-line-clamp: 3;
    }

    .product-card-meta {
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
        gap: 6px;
    }

    .product-price {
        font-size: 0.95rem;
    }

    .stock-label {
        min-height: 20px;
        max-width: 100%;
        padding: 0 5px;
        font-size: 0.58rem;
        text-align: center;
    }

    .product-card-note {
        font-size: 0.66rem;
        line-height: 1.22;
        -webkit-line-clamp: 2;
    }

    .card-actions {
        margin-top: auto;
        align-self: end;
        grid-template-columns: 1fr;
        gap: 6px;
        min-height: 35px;
        align-items: center;
    }

    .product-card-skeleton .skeleton-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-card-skeleton .skeleton-input {
        display: none;
    }

    .mini-quantity {
        display: none;
    }

    .add-button,
    .consult-button {
        min-height: 35px;
        padding: 0 8px;
        font-size: 0.68rem;
        line-height: 1.15;
        overflow: visible;
        text-overflow: clip;
    }

    .product-card:not(.is-out-of-stock) .consult-button {
        display: none;
    }

    .product-dialog {
        inset: 0;
        width: 100vw;
        max-width: 100vw;
        max-height: 100vh;
        max-height: 100dvh;
        margin: 0;
        border-radius: 0;
    }

    .dialog-close {
        position: fixed;
        top: calc(10px + env(safe-area-inset-top));
        right: 10px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 10px 24px rgba(23, 32, 38, 0.18);
    }

    .product-detail {
        grid-template-rows: auto auto;
    }

    .detail-gallery {
        max-height: min(48vh, 390px);
        max-height: min(48dvh, 390px);
        grid-template-rows: auto auto;
        padding: 12px;
    }

    .detail-image-wrap {
        min-height: 0;
        max-height: min(38vh, 330px);
        max-height: min(38dvh, 330px);
    }

    .detail-image-wrap img {
        padding: 12px;
    }

    .thumbs {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
        margin-top: 0;
    }

    .thumbs button {
        min-width: 0;
    }

    .detail-info {
        padding: 14px 14px 0;
    }

    .detail-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .detail-actions {
        grid-template-columns: 62px minmax(92px, 1fr) minmax(92px, 1fr);
        align-items: center;
        gap: 8px;
        min-height: 66px;
        border-top: 1px solid var(--line);
        background: #ffffff;
        margin: 14px -14px 0;
        padding: 10px 14px calc(12px + env(safe-area-inset-bottom));
    }

    .detail-actions .quantity-field {
        gap: 3px;
    }

    .detail-actions .quantity-field span {
        font-size: 0.68rem;
    }

    .detail-actions .quantity-field input {
        min-height: 38px;
        padding: 0 6px;
    }

    .detail-actions .primary-button,
    .detail-actions .secondary-button {
        min-height: 42px;
        height: 42px;
        min-width: 0;
        padding: 0 8px;
        font-size: 0.82rem;
        line-height: 1;
        white-space: nowrap;
    }

    #dialog-whatsapp {
        grid-column: auto;
    }

    #dialog-add::before {
        content: "Agregar";
    }

    #dialog-whatsapp::before {
        content: "WhatsApp";
    }

    #dialog-add,
    #dialog-whatsapp {
        font-size: 0;
    }

    #dialog-add::before,
    #dialog-whatsapp::before {
        font-size: 0.82rem;
    }

    .tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow-x: visible;
    }

    .tab {
        min-width: 0;
        padding: 0 6px;
        font-size: 0.78rem;
    }

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

    .detail-shortcuts .secondary-button {
        min-width: 0;
        padding: 0 8px;
        white-space: normal;
    }

    .description-list {
        grid-template-columns: 1fr;
        gap: 2px 0;
    }

    .description-list dd {
        padding-bottom: 8px;
    }

    .cart-header {
        padding: 12px 14px;
    }

    .cart-items {
        padding: 4px 12px;
    }

    .cart-footer {
        padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
    }

    .customer-details {
        margin-bottom: 8px;
    }

    .customer-details summary {
        min-height: 32px;
        font-size: 0.78rem;
    }

    .cart-footer-actions {
        gap: 6px;
    }

    .cart-footer .full-button {
        min-height: 38px;
        padding: 0 8px;
        font-size: 0.84rem;
    }

    .cart-line {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 8px;
        padding: 7px 0;
    }

    .cart-line img {
        width: 44px;
        height: 44px;
    }

    .cart-line h3 {
        font-size: 0.82rem;
    }

    .cart-controls {
        gap: 8px;
    }

    .stepper button {
        width: 28px;
        height: 28px;
    }

    .stepper span {
        min-width: 28px;
    }

    .customer-form {
        gap: 6px;
    }

    .customer-form input,
    .customer-form textarea {
        padding: 7px 9px;
    }

    .customer-form textarea {
        min-height: 54px;
    }

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

    .product-editor-grid {
        grid-template-columns: 1fr;
    }

    .admin-quality-summary {
        grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    }

    .kit-list-card.has-image {
        grid-template-columns: 1fr;
    }

    .kit-list-card.has-image > img {
        width: 100%;
        height: auto;
        aspect-ratio: 1200 / 630;
    }
}

@media (max-width: 360px) {
    .products-grid {
        gap: 8px;
    }

    .product-card {
        min-height: 276px;
    }

    .product-media {
        padding: 6px;
    }

    .product-body {
        padding: 7px 7px 11px;
    }

    .tag {
        font-size: 0.58rem;
        padding: 0 5px;
    }

    .product-card h3 {
        min-height: 39px;
    }

    .product-title-button {
        font-size: 0.76rem;
    }

    .product-price {
        font-size: 0.92rem;
    }

    .stock-label {
        font-size: 0.64rem;
        padding: 0 6px;
    }

    .add-button,
    .consult-button {
        min-height: 34px;
        padding: 0 6px;
        font-size: 0.65rem;
    }
}
