/* GPT0000000132 · Destacar los informes de IVA, ventas y la emisión fiscal en el TPV SUNMI.
   GPT0000000130 · Guía de elección y uso en tienda del SUNMI D3 MINI.
   GPT0000000129 · Terminales SUNMI en portada y ficha de la gama. */
.sunmi-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    background: #e9edf2;
}

.sunmi-home-copy .sunmi-status,
.sunmi-hero-copy .sunmi-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #b8f9ec;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.sunmi-status::before {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #63e4c2;
}

.sunmi-home-copy .sunmi-status {
    margin-top: 22px;
}

.sunmi-home-gallery {
    min-width: 0;
}

.sunmi-home-gallery > .sunmi-photo {
    outline: 1px solid #ffffff26;
    outline-offset: -1px;
}

.sunmi-page figure {
    margin: 0;
}

.sunmi-home-copy .sunmi-models {
    margin: 16px 0 0;
    color: #dbe3ff;
    font-size: 16px;
    line-height: 1.65;
}

.sunmi-feature-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 0;
    margin: 14px 0 0;
    list-style: none;
}

.sunmi-feature-links a {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #7986b5;
    border-radius: 20px;
    color: #eef4ff;
    font-size: 14px;
    line-height: 1.4;
}

.sunmi-feature-links a:hover,
.sunmi-feature-links a:focus-visible {
    color: #fff;
    border-color: #7ee7e3;
    text-decoration: underline;
}

.sunmi-home-copy .actions {
    align-items: stretch;
}

.sunmi-home-copy .btn,
.sunmi-hero-copy .btn {
    max-width: 100%;
    line-height: 1.45;
    text-align: left;
}

.sunmi-hero {
    padding: clamp(38px, 5vw, 78px) 0;
    background: linear-gradient(118deg, #172149, #232c73 62%, #24396e);
    color: #fff;
}

.sunmi-hero-grid,
.sunmi-print-grid,
.sunmi-specs-grid {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(28px, 5vw, 76px);
}

.sunmi-hero-copy h1 {
    margin: 16px 0 20px;
    color: #fff;
    font-size: clamp(38px, 4.25vw, 64px);
    line-height: 1.08;
    overflow-wrap: break-word;
}

.sunmi-hero-copy .lead {
    margin: 0;
    color: #e3e8ff;
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.7;
}

.sunmi-hero-copy .sunmi-sale-note {
    margin: 22px 0 16px;
    color: #cbd5f4;
    font-size: 15px;
}

.sunmi-hero-media .sunmi-photo {
    border-radius: 16px;
    box-shadow: 0 14px 34px #0f172936;
}

.sunmi-gallery,
.sunmi-print,
.sunmi-specs {
    padding: clamp(42px, 5.7vw, 84px) 0;
}

.sunmi-page h2 {
    font-size: clamp(30px, 3.1vw, 44px);
}

.sunmi-scenes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.35vw, 32px);
    margin-top: clamp(22px, 2.5vw, 36px);
}

.sunmi-scene .sunmi-photo {
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--line);
}

.sunmi-scene figcaption {
    margin-top: 18px;
}

.sunmi-scene h3 {
    color: var(--ink);
    font-size: clamp(20px, 1.65vw, 24px);
    line-height: 1.25;
}

.sunmi-scene p,
.sunmi-print p,
.sunmi-specs p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.sunmi-print {
    background: #f3f7fc;
}

.sunmi-print p {
    margin-top: 16px;
}

.sunmi-specs {
    border-top: 1px solid var(--line);
}

.sunmi-specs-grid {
    align-items: start;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.sunmi-specs p {
    max-width: 430px;
    margin-top: 16px;
}

.sunmi-specs .text-link {
    margin-top: 18px;
}

.sunmi-specs-list {
    margin: 0;
    border-top: 1px solid #c7d4e5;
    font-size: 15px;
    line-height: 1.6;
}

.sunmi-specs-list > div {
    display: grid;
    grid-template-columns: minmax(130px, 0.85fr) minmax(0, 1.65fr);
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid #c7d4e5;
}

.sunmi-specs-list dt {
    color: var(--ink);
    font-weight: 600;
}

.sunmi-specs-list dd {
    margin: 0;
    color: var(--muted);
}

.sunmi-workday {
    padding: 0 0 clamp(42px, 5.7vw, 84px);
}

.sunmi-benefits,
.sunmi-questions {
    padding: clamp(42px, 5.7vw, 84px) 0;
}

.sunmi-reports {
    background: var(--wash);
    border-block: 1px solid var(--line);
}

.sunmi-workday-grid,
.sunmi-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2.8vw, 40px);
    margin-top: 28px;
}

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

.sunmi-workday-grid > div {
    padding-top: 16px;
    border-top: 2px solid var(--aqua);
}

.sunmi-benefits-grid > div {
    padding: clamp(20px, 2.3vw, 32px);
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.sunmi-benefits-grid > .sunmi-benefit-primary {
    background: #e9faf6;
    border-color: #afd9d3;
    border-inline-start: 4px solid #158478;
}

.sunmi-workday h3,
.sunmi-benefits h3 {
    color: var(--ink);
    font-size: clamp(20px, 1.7vw, 26px);
    line-height: 1.3;
}

.sunmi-workday p,
.sunmi-benefits p,
.sunmi-questions-list p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.sunmi-guide-links {
    flex-wrap: wrap;
    margin-top: 24px;
}

.sunmi-guide-links a {
    max-width: 100%;
    white-space: normal;
}

.sunmi-questions-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(24px, 5vw, 76px);
}

.sunmi-questions-list details {
    border-top: 1px solid #c7d4e5;
}

.sunmi-questions-list details:last-child {
    border-bottom: 1px solid #c7d4e5;
}

.sunmi-questions-list summary {
    color: var(--ink);
    font-weight: 600;
    line-height: 1.5;
    padding: 16px 4px;
    cursor: pointer;
}

.sunmi-questions-list summary::marker {
    color: var(--blue);
}

.sunmi-questions-list summary:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.sunmi-questions-list p {
    margin: 0 4px 18px;
}

@media (max-width: 760px) {
    .sunmi-hero-grid,
    .sunmi-print-grid,
    .sunmi-specs-grid,
    .sunmi-scenes,
    .sunmi-workday-grid,
    .sunmi-benefits-grid,
    .sunmi-questions-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sunmi-scenes {
        gap: 32px;
    }

    .sunmi-scene figcaption {
        margin-top: 13px;
    }

    .sunmi-home-copy .btn {
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .sunmi-specs-list > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 3px;
    }
}
